blob: 4c3bc58c8e3f648d3aff55d04a5f99ef106979ab [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="run_v1alpha1.html">Cloud Run API</a> . <a href="run_v1alpha1.namespaces.html">namespaces</a> . <a href="run_v1alpha1.namespaces.cloudauditlogssources.html">cloudauditlogssources</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Creates a new cloudauditlogssource.</p>
80<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070081 <code><a href="#delete">delete(name, apiVersion=None, propagationPolicy=None, kind=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070082<p class="firstline">Rpc to delete a cloudauditlogssource.</p>
83<p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85<p class="firstline">Rpc to get information about a cloudauditlogssource.</p>
86<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070087 <code><a href="#list">list(parent, labelSelector=None, fieldSelector=None, includeUninitialized=None, resourceVersion=None, continue=None, limit=None, watch=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070088<p class="firstline">Rpc to list cloudauditlogssources.</p>
89<h3>Method Details</h3>
90<div class="method">
91 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
92 <pre>Creates a new cloudauditlogssource.
93
94Args:
95 parent: string, The project ID or project number in which this cloudauditlogssource should
96be created. (required)
97 body: object, The request body.
98 The object takes the form of:
99
100{
101 &quot;status&quot;: { # CloudAuditLogsSourceStatus represents the current state of a # Status represents the current state of the CloudAuditLogsSource. This data
102 # may be out of date. +optional
103 # CloudAuditLogsSource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700104 &quot;conditions&quot;: [ # Array of observed CloudAuditLogsSourceConditions, indicating the current
105 # state of the CloudAuditLogsSource.
106 { # Condition defines a generic condition for a Resource
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700107 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
108 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
109 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
Bu Sun Kim65020912020-05-20 12:08:20 -0700110 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
111 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
112 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
113 # See also:
114 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
115 # Types common to all resources include:
116 # * &quot;Ready&quot;: True when the Resource is ready.
Bu Sun Kim65020912020-05-20 12:08:20 -0700117 },
118 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700119 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the CloudAuditLogsSource that
120 # was last processed by the controller.
121 &quot;sinkUri&quot;: &quot;A String&quot;, # SinkURI is the current active sink URI that has been configured for the
122 # Source.
123 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700124 },
125 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;events.cloud.google.com/v1alpha1&quot;.
126 &quot;spec&quot;: { # The desired state of the CloudAuditLogsSource. # Spec defines the desired state of the CloudAuditLogsSource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700127 &quot;methodName&quot;: &quot;A String&quot;, # Required. The method name at the service API. This must match &quot;methodName&quot; in Cloud
128 # Audit Logs. Regex or Wildcards (*) are not supported.
129 # Example: &quot;google.cloud.bigquery.job.create&quot;.
130 &quot;sink&quot;: { # Sink is a reference to an object that will resolve to a domain name or a
131 # URI directly to use as the sink.
132 &quot;uri&quot;: &quot;A String&quot;, # URI is for direct URI Designations or used with the resulting URL from
133 # Addressable ObjectReference. If used with an ObjectReference, will be
134 # appended to the path of the resulting URL from the Addressable.
135 # + optional
136 &quot;ref&quot;: { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable.
137 # + optional
138 # referred object.
139 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
140 # +optional
141 &quot;resourceVersion&quot;: &quot;A String&quot;, # Specific resourceVersion to which this reference is made, if any.
142 # More info:
143 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
144 # +optional
145 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
146 # More info:
147 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
148 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700149 &quot;fieldPath&quot;: &quot;A String&quot;, # If referring to a piece of an object instead of an entire object, this
150 # string should contain a valid JSON/Go field access statement, such as
151 # desiredState.manifest.containers[2]. For example, if the object reference
152 # is to a container within a pod, this would take on a value like:
153 # &quot;spec.containers{name}&quot; (where &quot;name&quot; refers to the name of the container
154 # that triggered the event) or if no container name is specified
155 # &quot;spec.containers[2]&quot; (container with index 2 in this pod). This syntax is
156 # chosen only to have some well-defined way of referencing a part of an
157 # object.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700158 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
159 # More info:
160 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
161 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700162 &quot;namespace&quot;: &quot;A String&quot;, # Namespace of the referent.
163 # More info:
164 # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
165 # +optional
166 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
167 # More info:
168 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
169 # +optional
170 },
171 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700172 &quot;resourceName&quot;: &quot;A String&quot;, # Optional. The resource specification. This must match &quot;methodName&quot;
173 # in Cloud Audit Logs. Regex or Wildcards (*) are not supported.
174 # Example: &quot;projects/my-project/jobs/foo&quot;.
175 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Optional. Email address of the IAM service account associated with the source. The
176 # service account represents the identity of the source, and determines what
177 # permissions the source has. If not provided, the source will use the
178 # project&#x27;s default service account.
179 &quot;ceOverrides&quot;: { # CloudEventOverrides defines arguments for a Source that control the output # CloudEventOverrides defines overrides to control the output format and
180 # modifications of the event sent to the sink.
181 # +optional
182 # format of the CloudEvents produced by the Source.
183 &quot;extensions&quot;: { # Extensions specify what attribute are added or overridden on the outbound
184 # event. Each `Extensions` key-value pair are set on the event as an
185 # attribute extension independently.
186 # +optional
187 &quot;a_key&quot;: &quot;A String&quot;,
188 },
189 },
190 &quot;serviceName&quot;: &quot;A String&quot;, # Required. The GCP service name. This must match &quot;serviceName&quot; in Cloud Audit Logs.
191 # Regex or Wildcards (*) are not supported.
192 # Example: &quot;bigquery.googleapis.com&quot;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700193 },
194 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;CloudAuditLogsSource&quot;.
195 &quot;metadata&quot;: { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this CloudAuditLogsSource.
196 # all objects users must create.
Bu Sun Kim65020912020-05-20 12:08:20 -0700197 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
198 #
199 # GenerateName is an optional prefix, used by the server, to generate a
200 # unique name ONLY IF the Name field has not been provided. If this field is
201 # used, the name returned to the client will be different than the name
202 # passed. This value will also be combined with a unique suffix. The provided
203 # value has the same validation rules as the Name field, and may be truncated
204 # by the length of the suffix required to make the value unique on the
205 # server.
206 #
207 # If this field is specified and the generated name exists, the server will
208 # NOT return a 409 - instead, it will either return 201 Created or 500 with
209 # Reason ServerTimeout indicating a unique name could not be found in the
210 # time allotted, and the client should retry (optionally after the time
211 # indicated in the Retry-After header).
212 #
213 # Applied only if Name is not specified.
214 # More info:
215 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
216 # +optional
217 # string generateName = 2;
218 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
219 # Is required when creating
220 # resources, although some resources may allow a client to request the
221 # generation of an appropriate name automatically. Name is primarily intended
222 # for creation idempotence and configuration definition. Cannot be updated.
223 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
224 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700225 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
226 #
227 # Number of seconds allowed for this object to gracefully terminate before
228 # it will be removed from the system. Only set when deletionTimestamp is also
229 # set. May only be shortened. Read-only. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700230 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
231 #
232 # The name of the cluster which the object belongs to.
233 # This is used to distinguish resources with same name and namespace in
234 # different clusters. This field is not set anywhere right now and apiserver
235 # is going to ignore it if set in create or update request. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700236 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
237 #
238 # Must be empty before the object is deleted from the registry. Each entry
239 # is an identifier for the responsible component that will remove the entry
240 # from the list. If the deletionTimestamp of the object is non-nil, entries
241 # in this list can only be removed.
242 # +optional
243 # +patchStrategy=merge
244 &quot;A String&quot;,
245 ],
246 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
247 # deleted. This field is set by the server when a graceful deletion is
248 # requested by the user, and is not directly settable by a client. The
249 # resource is expected to be deleted (no longer visible from resource lists,
250 # and not reachable by name) after the time in this field, once the
251 # finalizers list is empty. As long as the finalizers list contains items,
252 # deletion is blocked. Once the deletionTimestamp is set, this value may not
253 # be unset or be set further into the future, although it may be shortened or
254 # the resource may be deleted prior to this time. For example, a user may
255 # request that a pod is deleted in 30 seconds. The Kubelet will react by
256 # sending a graceful termination signal to the containers in the pod. After
257 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
258 # to the container and after cleanup, remove the pod from the API. In the
259 # presence of network partitions, this object may still exist after this
260 # timestamp, until an administrator or automated process can determine the
261 # resource is fully terminated.
262 # If not set, graceful deletion of the object has not been requested.
263 #
264 # Populated by the system when a graceful deletion is requested.
265 # Read-only.
266 # More info:
267 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
268 # +optional
269 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
270 # been deleted, this object will be garbage collected.
271 # +optional
272 { # OwnerReference contains enough information to let you identify an owning
273 # object. Currently, an owning object must be in the same namespace, so there
274 # is no namespace field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700275 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
276 # +optional
277 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
278 # More info:
279 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
280 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
281 # the owner cannot be deleted from the key-value store until this
282 # reference is removed.
283 # Defaults to false.
284 # To set this field, a user needs &quot;delete&quot; permission of the owner,
285 # otherwise 422 (Unprocessable Entity) will be returned.
286 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700287 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
288 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
289 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
290 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
291 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
Bu Sun Kim65020912020-05-20 12:08:20 -0700292 },
293 ],
294 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
295 # object was created. It is not guaranteed to be set in happens-before order
296 # across separate operations. Clients may not set this value. It is
297 # represented in RFC3339 form and is in UTC.
298 #
299 # Populated by the system.
300 # Read-only.
301 # Null for lists.
302 # More info:
303 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
304 # +optional
305 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
306 # (scope and select) objects. May match selectors of replication controllers
307 # and routes.
308 # More info: http://kubernetes.io/docs/user-guide/labels
309 # +optional
310 &quot;a_key&quot;: &quot;A String&quot;,
311 },
312 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
313 # Populated by the system. Read-only.
314 # +optional
315 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
316 # can be used by clients to determine when objects have changed. May be used
317 # for optimistic concurrency, change detection, and the watch operation on a
318 # resource or set of resources. Clients must treat these values as opaque and
319 # passed unmodified back to the server. They may only be valid for a
320 # particular resource or set of resources.
321 #
322 # Populated by the system.
323 # Read-only.
324 # Value must be treated as opaque by clients and .
325 # More info:
326 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
327 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700328 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
329 # Populated by the system.
330 # Read-only.
331 # +optional
332 # string selfLink = 4;
Bu Sun Kim65020912020-05-20 12:08:20 -0700333 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
334 # generated by the server on successful creation of a resource and is not
335 # allowed to change on PUT operations.
336 #
337 # Populated by the system.
338 # Read-only.
339 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
340 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700341 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
342 # Cloud Run region. In Cloud Run the namespace must be equal to either the
343 # project ID or project number.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700344 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
345 # may be set by external tools to store and retrieve arbitrary metadata. They
346 # are not queryable and should be preserved when modifying objects. More
347 # info: http://kubernetes.io/docs/user-guide/annotations +optional
348 &quot;a_key&quot;: &quot;A String&quot;,
349 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700350 },
351}
352
353 x__xgafv: string, V1 error format.
354 Allowed values
355 1 - v1 error format
356 2 - v2 error format
357
358Returns:
359 An object of the form:
360
361 {
362 &quot;status&quot;: { # CloudAuditLogsSourceStatus represents the current state of a # Status represents the current state of the CloudAuditLogsSource. This data
363 # may be out of date. +optional
364 # CloudAuditLogsSource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700365 &quot;conditions&quot;: [ # Array of observed CloudAuditLogsSourceConditions, indicating the current
366 # state of the CloudAuditLogsSource.
367 { # Condition defines a generic condition for a Resource
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700368 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
369 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
370 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
Bu Sun Kim65020912020-05-20 12:08:20 -0700371 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
372 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
373 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
374 # See also:
375 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
376 # Types common to all resources include:
377 # * &quot;Ready&quot;: True when the Resource is ready.
Bu Sun Kim65020912020-05-20 12:08:20 -0700378 },
379 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700380 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the CloudAuditLogsSource that
381 # was last processed by the controller.
382 &quot;sinkUri&quot;: &quot;A String&quot;, # SinkURI is the current active sink URI that has been configured for the
383 # Source.
384 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700385 },
386 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;events.cloud.google.com/v1alpha1&quot;.
387 &quot;spec&quot;: { # The desired state of the CloudAuditLogsSource. # Spec defines the desired state of the CloudAuditLogsSource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700388 &quot;methodName&quot;: &quot;A String&quot;, # Required. The method name at the service API. This must match &quot;methodName&quot; in Cloud
389 # Audit Logs. Regex or Wildcards (*) are not supported.
390 # Example: &quot;google.cloud.bigquery.job.create&quot;.
391 &quot;sink&quot;: { # Sink is a reference to an object that will resolve to a domain name or a
392 # URI directly to use as the sink.
393 &quot;uri&quot;: &quot;A String&quot;, # URI is for direct URI Designations or used with the resulting URL from
394 # Addressable ObjectReference. If used with an ObjectReference, will be
395 # appended to the path of the resulting URL from the Addressable.
396 # + optional
397 &quot;ref&quot;: { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable.
398 # + optional
399 # referred object.
400 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
401 # +optional
402 &quot;resourceVersion&quot;: &quot;A String&quot;, # Specific resourceVersion to which this reference is made, if any.
403 # More info:
404 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
405 # +optional
406 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
407 # More info:
408 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
409 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700410 &quot;fieldPath&quot;: &quot;A String&quot;, # If referring to a piece of an object instead of an entire object, this
411 # string should contain a valid JSON/Go field access statement, such as
412 # desiredState.manifest.containers[2]. For example, if the object reference
413 # is to a container within a pod, this would take on a value like:
414 # &quot;spec.containers{name}&quot; (where &quot;name&quot; refers to the name of the container
415 # that triggered the event) or if no container name is specified
416 # &quot;spec.containers[2]&quot; (container with index 2 in this pod). This syntax is
417 # chosen only to have some well-defined way of referencing a part of an
418 # object.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700419 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
420 # More info:
421 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
422 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700423 &quot;namespace&quot;: &quot;A String&quot;, # Namespace of the referent.
424 # More info:
425 # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
426 # +optional
427 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
428 # More info:
429 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
430 # +optional
431 },
432 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700433 &quot;resourceName&quot;: &quot;A String&quot;, # Optional. The resource specification. This must match &quot;methodName&quot;
434 # in Cloud Audit Logs. Regex or Wildcards (*) are not supported.
435 # Example: &quot;projects/my-project/jobs/foo&quot;.
436 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Optional. Email address of the IAM service account associated with the source. The
437 # service account represents the identity of the source, and determines what
438 # permissions the source has. If not provided, the source will use the
439 # project&#x27;s default service account.
440 &quot;ceOverrides&quot;: { # CloudEventOverrides defines arguments for a Source that control the output # CloudEventOverrides defines overrides to control the output format and
441 # modifications of the event sent to the sink.
442 # +optional
443 # format of the CloudEvents produced by the Source.
444 &quot;extensions&quot;: { # Extensions specify what attribute are added or overridden on the outbound
445 # event. Each `Extensions` key-value pair are set on the event as an
446 # attribute extension independently.
447 # +optional
448 &quot;a_key&quot;: &quot;A String&quot;,
449 },
450 },
451 &quot;serviceName&quot;: &quot;A String&quot;, # Required. The GCP service name. This must match &quot;serviceName&quot; in Cloud Audit Logs.
452 # Regex or Wildcards (*) are not supported.
453 # Example: &quot;bigquery.googleapis.com&quot;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700454 },
455 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;CloudAuditLogsSource&quot;.
456 &quot;metadata&quot;: { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this CloudAuditLogsSource.
457 # all objects users must create.
Bu Sun Kim65020912020-05-20 12:08:20 -0700458 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
459 #
460 # GenerateName is an optional prefix, used by the server, to generate a
461 # unique name ONLY IF the Name field has not been provided. If this field is
462 # used, the name returned to the client will be different than the name
463 # passed. This value will also be combined with a unique suffix. The provided
464 # value has the same validation rules as the Name field, and may be truncated
465 # by the length of the suffix required to make the value unique on the
466 # server.
467 #
468 # If this field is specified and the generated name exists, the server will
469 # NOT return a 409 - instead, it will either return 201 Created or 500 with
470 # Reason ServerTimeout indicating a unique name could not be found in the
471 # time allotted, and the client should retry (optionally after the time
472 # indicated in the Retry-After header).
473 #
474 # Applied only if Name is not specified.
475 # More info:
476 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
477 # +optional
478 # string generateName = 2;
479 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
480 # Is required when creating
481 # resources, although some resources may allow a client to request the
482 # generation of an appropriate name automatically. Name is primarily intended
483 # for creation idempotence and configuration definition. Cannot be updated.
484 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
485 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700486 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
487 #
488 # Number of seconds allowed for this object to gracefully terminate before
489 # it will be removed from the system. Only set when deletionTimestamp is also
490 # set. May only be shortened. Read-only. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700491 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
492 #
493 # The name of the cluster which the object belongs to.
494 # This is used to distinguish resources with same name and namespace in
495 # different clusters. This field is not set anywhere right now and apiserver
496 # is going to ignore it if set in create or update request. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700497 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
498 #
499 # Must be empty before the object is deleted from the registry. Each entry
500 # is an identifier for the responsible component that will remove the entry
501 # from the list. If the deletionTimestamp of the object is non-nil, entries
502 # in this list can only be removed.
503 # +optional
504 # +patchStrategy=merge
505 &quot;A String&quot;,
506 ],
507 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
508 # deleted. This field is set by the server when a graceful deletion is
509 # requested by the user, and is not directly settable by a client. The
510 # resource is expected to be deleted (no longer visible from resource lists,
511 # and not reachable by name) after the time in this field, once the
512 # finalizers list is empty. As long as the finalizers list contains items,
513 # deletion is blocked. Once the deletionTimestamp is set, this value may not
514 # be unset or be set further into the future, although it may be shortened or
515 # the resource may be deleted prior to this time. For example, a user may
516 # request that a pod is deleted in 30 seconds. The Kubelet will react by
517 # sending a graceful termination signal to the containers in the pod. After
518 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
519 # to the container and after cleanup, remove the pod from the API. In the
520 # presence of network partitions, this object may still exist after this
521 # timestamp, until an administrator or automated process can determine the
522 # resource is fully terminated.
523 # If not set, graceful deletion of the object has not been requested.
524 #
525 # Populated by the system when a graceful deletion is requested.
526 # Read-only.
527 # More info:
528 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
529 # +optional
530 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
531 # been deleted, this object will be garbage collected.
532 # +optional
533 { # OwnerReference contains enough information to let you identify an owning
534 # object. Currently, an owning object must be in the same namespace, so there
535 # is no namespace field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700536 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
537 # +optional
538 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
539 # More info:
540 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
541 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
542 # the owner cannot be deleted from the key-value store until this
543 # reference is removed.
544 # Defaults to false.
545 # To set this field, a user needs &quot;delete&quot; permission of the owner,
546 # otherwise 422 (Unprocessable Entity) will be returned.
547 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700548 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
549 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
550 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
551 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
552 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
Bu Sun Kim65020912020-05-20 12:08:20 -0700553 },
554 ],
555 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
556 # object was created. It is not guaranteed to be set in happens-before order
557 # across separate operations. Clients may not set this value. It is
558 # represented in RFC3339 form and is in UTC.
559 #
560 # Populated by the system.
561 # Read-only.
562 # Null for lists.
563 # More info:
564 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
565 # +optional
566 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
567 # (scope and select) objects. May match selectors of replication controllers
568 # and routes.
569 # More info: http://kubernetes.io/docs/user-guide/labels
570 # +optional
571 &quot;a_key&quot;: &quot;A String&quot;,
572 },
573 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
574 # Populated by the system. Read-only.
575 # +optional
576 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
577 # can be used by clients to determine when objects have changed. May be used
578 # for optimistic concurrency, change detection, and the watch operation on a
579 # resource or set of resources. Clients must treat these values as opaque and
580 # passed unmodified back to the server. They may only be valid for a
581 # particular resource or set of resources.
582 #
583 # Populated by the system.
584 # Read-only.
585 # Value must be treated as opaque by clients and .
586 # More info:
587 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
588 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700589 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
590 # Populated by the system.
591 # Read-only.
592 # +optional
593 # string selfLink = 4;
Bu Sun Kim65020912020-05-20 12:08:20 -0700594 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
595 # generated by the server on successful creation of a resource and is not
596 # allowed to change on PUT operations.
597 #
598 # Populated by the system.
599 # Read-only.
600 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
601 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700602 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
603 # Cloud Run region. In Cloud Run the namespace must be equal to either the
604 # project ID or project number.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700605 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
606 # may be set by external tools to store and retrieve arbitrary metadata. They
607 # are not queryable and should be preserved when modifying objects. More
608 # info: http://kubernetes.io/docs/user-guide/annotations +optional
609 &quot;a_key&quot;: &quot;A String&quot;,
610 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700611 },
612 }</pre>
613</div>
614
615<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700616 <code class="details" id="delete">delete(name, apiVersion=None, propagationPolicy=None, kind=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700617 <pre>Rpc to delete a cloudauditlogssource.
618
619Args:
620 name: string, The name of the cloudauditlogssource being deleted. If needed, replace
621{namespace_id} with the project ID. (required)
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700622 apiVersion: string, Cloud Run currently ignores this parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700623 propagationPolicy: string, Specifies the propagation policy of delete. Cloud Run currently ignores
624this setting, and deletes in the background. Please see
625kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
626more information.
627 kind: string, Cloud Run currently ignores this parameter.
Bu Sun Kim65020912020-05-20 12:08:20 -0700628 x__xgafv: string, V1 error format.
629 Allowed values
630 1 - v1 error format
631 2 - v2 error format
632
633Returns:
634 An object of the form:
635
636 { # A generic empty message that you can re-use to avoid defining duplicated
637 # empty messages in your APIs. A typical example is to use it as the request
638 # or the response type of an API method. For instance:
639 #
640 # service Foo {
641 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
642 # }
643 #
644 # The JSON representation for `Empty` is empty JSON object `{}`.
645 }</pre>
646</div>
647
648<div class="method">
649 <code class="details" id="get">get(name, x__xgafv=None)</code>
650 <pre>Rpc to get information about a cloudauditlogssource.
651
652Args:
653 name: string, The name of the cloudauditlogssource being retrieved. If needed, replace
654{namespace_id} with the project ID. (required)
655 x__xgafv: string, V1 error format.
656 Allowed values
657 1 - v1 error format
658 2 - v2 error format
659
660Returns:
661 An object of the form:
662
663 {
664 &quot;status&quot;: { # CloudAuditLogsSourceStatus represents the current state of a # Status represents the current state of the CloudAuditLogsSource. This data
665 # may be out of date. +optional
666 # CloudAuditLogsSource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700667 &quot;conditions&quot;: [ # Array of observed CloudAuditLogsSourceConditions, indicating the current
668 # state of the CloudAuditLogsSource.
669 { # Condition defines a generic condition for a Resource
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700670 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
671 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
672 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
Bu Sun Kim65020912020-05-20 12:08:20 -0700673 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
674 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
675 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
676 # See also:
677 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
678 # Types common to all resources include:
679 # * &quot;Ready&quot;: True when the Resource is ready.
Bu Sun Kim65020912020-05-20 12:08:20 -0700680 },
681 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700682 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the CloudAuditLogsSource that
683 # was last processed by the controller.
684 &quot;sinkUri&quot;: &quot;A String&quot;, # SinkURI is the current active sink URI that has been configured for the
685 # Source.
686 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700687 },
688 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;events.cloud.google.com/v1alpha1&quot;.
689 &quot;spec&quot;: { # The desired state of the CloudAuditLogsSource. # Spec defines the desired state of the CloudAuditLogsSource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700690 &quot;methodName&quot;: &quot;A String&quot;, # Required. The method name at the service API. This must match &quot;methodName&quot; in Cloud
691 # Audit Logs. Regex or Wildcards (*) are not supported.
692 # Example: &quot;google.cloud.bigquery.job.create&quot;.
693 &quot;sink&quot;: { # Sink is a reference to an object that will resolve to a domain name or a
694 # URI directly to use as the sink.
695 &quot;uri&quot;: &quot;A String&quot;, # URI is for direct URI Designations or used with the resulting URL from
696 # Addressable ObjectReference. If used with an ObjectReference, will be
697 # appended to the path of the resulting URL from the Addressable.
698 # + optional
699 &quot;ref&quot;: { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable.
700 # + optional
701 # referred object.
702 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
703 # +optional
704 &quot;resourceVersion&quot;: &quot;A String&quot;, # Specific resourceVersion to which this reference is made, if any.
705 # More info:
706 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
707 # +optional
708 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
709 # More info:
710 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
711 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700712 &quot;fieldPath&quot;: &quot;A String&quot;, # If referring to a piece of an object instead of an entire object, this
713 # string should contain a valid JSON/Go field access statement, such as
714 # desiredState.manifest.containers[2]. For example, if the object reference
715 # is to a container within a pod, this would take on a value like:
716 # &quot;spec.containers{name}&quot; (where &quot;name&quot; refers to the name of the container
717 # that triggered the event) or if no container name is specified
718 # &quot;spec.containers[2]&quot; (container with index 2 in this pod). This syntax is
719 # chosen only to have some well-defined way of referencing a part of an
720 # object.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700721 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
722 # More info:
723 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
724 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700725 &quot;namespace&quot;: &quot;A String&quot;, # Namespace of the referent.
726 # More info:
727 # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
728 # +optional
729 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
730 # More info:
731 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
732 # +optional
733 },
734 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700735 &quot;resourceName&quot;: &quot;A String&quot;, # Optional. The resource specification. This must match &quot;methodName&quot;
736 # in Cloud Audit Logs. Regex or Wildcards (*) are not supported.
737 # Example: &quot;projects/my-project/jobs/foo&quot;.
738 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Optional. Email address of the IAM service account associated with the source. The
739 # service account represents the identity of the source, and determines what
740 # permissions the source has. If not provided, the source will use the
741 # project&#x27;s default service account.
742 &quot;ceOverrides&quot;: { # CloudEventOverrides defines arguments for a Source that control the output # CloudEventOverrides defines overrides to control the output format and
743 # modifications of the event sent to the sink.
744 # +optional
745 # format of the CloudEvents produced by the Source.
746 &quot;extensions&quot;: { # Extensions specify what attribute are added or overridden on the outbound
747 # event. Each `Extensions` key-value pair are set on the event as an
748 # attribute extension independently.
749 # +optional
750 &quot;a_key&quot;: &quot;A String&quot;,
751 },
752 },
753 &quot;serviceName&quot;: &quot;A String&quot;, # Required. The GCP service name. This must match &quot;serviceName&quot; in Cloud Audit Logs.
754 # Regex or Wildcards (*) are not supported.
755 # Example: &quot;bigquery.googleapis.com&quot;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700756 },
757 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;CloudAuditLogsSource&quot;.
758 &quot;metadata&quot;: { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this CloudAuditLogsSource.
759 # all objects users must create.
Bu Sun Kim65020912020-05-20 12:08:20 -0700760 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
761 #
762 # GenerateName is an optional prefix, used by the server, to generate a
763 # unique name ONLY IF the Name field has not been provided. If this field is
764 # used, the name returned to the client will be different than the name
765 # passed. This value will also be combined with a unique suffix. The provided
766 # value has the same validation rules as the Name field, and may be truncated
767 # by the length of the suffix required to make the value unique on the
768 # server.
769 #
770 # If this field is specified and the generated name exists, the server will
771 # NOT return a 409 - instead, it will either return 201 Created or 500 with
772 # Reason ServerTimeout indicating a unique name could not be found in the
773 # time allotted, and the client should retry (optionally after the time
774 # indicated in the Retry-After header).
775 #
776 # Applied only if Name is not specified.
777 # More info:
778 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
779 # +optional
780 # string generateName = 2;
781 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
782 # Is required when creating
783 # resources, although some resources may allow a client to request the
784 # generation of an appropriate name automatically. Name is primarily intended
785 # for creation idempotence and configuration definition. Cannot be updated.
786 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
787 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700788 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
789 #
790 # Number of seconds allowed for this object to gracefully terminate before
791 # it will be removed from the system. Only set when deletionTimestamp is also
792 # set. May only be shortened. Read-only. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700793 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
794 #
795 # The name of the cluster which the object belongs to.
796 # This is used to distinguish resources with same name and namespace in
797 # different clusters. This field is not set anywhere right now and apiserver
798 # is going to ignore it if set in create or update request. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700799 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
800 #
801 # Must be empty before the object is deleted from the registry. Each entry
802 # is an identifier for the responsible component that will remove the entry
803 # from the list. If the deletionTimestamp of the object is non-nil, entries
804 # in this list can only be removed.
805 # +optional
806 # +patchStrategy=merge
807 &quot;A String&quot;,
808 ],
809 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
810 # deleted. This field is set by the server when a graceful deletion is
811 # requested by the user, and is not directly settable by a client. The
812 # resource is expected to be deleted (no longer visible from resource lists,
813 # and not reachable by name) after the time in this field, once the
814 # finalizers list is empty. As long as the finalizers list contains items,
815 # deletion is blocked. Once the deletionTimestamp is set, this value may not
816 # be unset or be set further into the future, although it may be shortened or
817 # the resource may be deleted prior to this time. For example, a user may
818 # request that a pod is deleted in 30 seconds. The Kubelet will react by
819 # sending a graceful termination signal to the containers in the pod. After
820 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
821 # to the container and after cleanup, remove the pod from the API. In the
822 # presence of network partitions, this object may still exist after this
823 # timestamp, until an administrator or automated process can determine the
824 # resource is fully terminated.
825 # If not set, graceful deletion of the object has not been requested.
826 #
827 # Populated by the system when a graceful deletion is requested.
828 # Read-only.
829 # More info:
830 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
831 # +optional
832 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
833 # been deleted, this object will be garbage collected.
834 # +optional
835 { # OwnerReference contains enough information to let you identify an owning
836 # object. Currently, an owning object must be in the same namespace, so there
837 # is no namespace field.
Bu Sun Kim65020912020-05-20 12:08:20 -0700838 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
839 # +optional
840 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
841 # More info:
842 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
843 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
844 # the owner cannot be deleted from the key-value store until this
845 # reference is removed.
846 # Defaults to false.
847 # To set this field, a user needs &quot;delete&quot; permission of the owner,
848 # otherwise 422 (Unprocessable Entity) will be returned.
849 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700850 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
851 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
852 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
853 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
854 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
Bu Sun Kim65020912020-05-20 12:08:20 -0700855 },
856 ],
857 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
858 # object was created. It is not guaranteed to be set in happens-before order
859 # across separate operations. Clients may not set this value. It is
860 # represented in RFC3339 form and is in UTC.
861 #
862 # Populated by the system.
863 # Read-only.
864 # Null for lists.
865 # More info:
866 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
867 # +optional
868 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
869 # (scope and select) objects. May match selectors of replication controllers
870 # and routes.
871 # More info: http://kubernetes.io/docs/user-guide/labels
872 # +optional
873 &quot;a_key&quot;: &quot;A String&quot;,
874 },
875 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
876 # Populated by the system. Read-only.
877 # +optional
878 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
879 # can be used by clients to determine when objects have changed. May be used
880 # for optimistic concurrency, change detection, and the watch operation on a
881 # resource or set of resources. Clients must treat these values as opaque and
882 # passed unmodified back to the server. They may only be valid for a
883 # particular resource or set of resources.
884 #
885 # Populated by the system.
886 # Read-only.
887 # Value must be treated as opaque by clients and .
888 # More info:
889 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
890 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700891 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
892 # Populated by the system.
893 # Read-only.
894 # +optional
895 # string selfLink = 4;
Bu Sun Kim65020912020-05-20 12:08:20 -0700896 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
897 # generated by the server on successful creation of a resource and is not
898 # allowed to change on PUT operations.
899 #
900 # Populated by the system.
901 # Read-only.
902 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
903 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -0700904 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
905 # Cloud Run region. In Cloud Run the namespace must be equal to either the
906 # project ID or project number.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700907 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
908 # may be set by external tools to store and retrieve arbitrary metadata. They
909 # are not queryable and should be preserved when modifying objects. More
910 # info: http://kubernetes.io/docs/user-guide/annotations +optional
911 &quot;a_key&quot;: &quot;A String&quot;,
912 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700913 },
914 }</pre>
915</div>
916
917<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700918 <code class="details" id="list">list(parent, labelSelector=None, fieldSelector=None, includeUninitialized=None, resourceVersion=None, continue=None, limit=None, watch=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700919 <pre>Rpc to list cloudauditlogssources.
920
921Args:
922 parent: string, The project ID or project number from which the cloudauditlogssources
923should be listed. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700924 labelSelector: string, Allows to filter resources based on a label. Supported operations are
925=, !=, exists, in, and notIn.
Bu Sun Kim65020912020-05-20 12:08:20 -0700926 fieldSelector: string, Allows to filter resources based on a specific value for a field name.
927Send this in a query string format. i.e. &#x27;metadata.name%3Dlorem&#x27;.
928Not currently used by Cloud Run.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700929 includeUninitialized: boolean, Not currently used by Cloud Run.
930 resourceVersion: string, The baseline resource version from which the list or watch operation should
931start. Not currently used by Cloud Run.
Bu Sun Kim65020912020-05-20 12:08:20 -0700932 continue: string, Optional encoded string to continue paging.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700933 limit: integer, The maximum number of records that should be returned.
934 watch: boolean, Flag that indicates that the client expects to watch this resource as well.
935Not currently used by Cloud Run.
Bu Sun Kim65020912020-05-20 12:08:20 -0700936 x__xgafv: string, V1 error format.
937 Allowed values
938 1 - v1 error format
939 2 - v2 error format
940
941Returns:
942 An object of the form:
943
944 { # ListCloudAuditLogsSourcesResponse is a list of CloudAuditLogsSource
945 # resources.
946 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;events.cloud.google.com/v1alpha1&quot;.
947 &quot;kind&quot;: &quot;A String&quot;, # The kind of this resource, in this case &quot;CloudAuditLogsSourceList&quot;.
948 &quot;unreachable&quot;: [ # Locations that could not be reached.
949 &quot;A String&quot;,
950 ],
951 &quot;metadata&quot;: { # ListMeta describes metadata that synthetic resources must have, including # Metadata associated with this CloudAuditLogsSource list.
952 # lists and various status objects. A resource may have only one of
953 # {ObjectMeta, ListMeta}.
954 &quot;resourceVersion&quot;: &quot;A String&quot;, # String that identifies the server&#x27;s internal version of this object that
955 # can be used by clients to determine when objects have changed. Value must
956 # be treated as opaque by clients and passed unmodified back to the server.
957 # Populated by the system.
958 # Read-only.
959 # More info:
960 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
961 # +optional
962 &quot;continue&quot;: &quot;A String&quot;, # continue may be set if the user set a limit on the number of items
963 # returned, and indicates that the server has more data available. The value
964 # is opaque and may be used to issue another request to the endpoint that
965 # served this list to retrieve the next set of available objects. Continuing
966 # a list may not be possible if the server configuration has changed or more
967 # than a few minutes have passed. The resourceVersion field returned when
968 # using this continue value will be identical to the value in the first
969 # response.
970 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
971 # Populated by the system.
972 # Read-only.
973 # +optional
974 },
975 &quot;items&quot;: [ # List of CloudAuditLogsSources.
976 {
977 &quot;status&quot;: { # CloudAuditLogsSourceStatus represents the current state of a # Status represents the current state of the CloudAuditLogsSource. This data
978 # may be out of date. +optional
979 # CloudAuditLogsSource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700980 &quot;conditions&quot;: [ # Array of observed CloudAuditLogsSourceConditions, indicating the current
981 # state of the CloudAuditLogsSource.
982 { # Condition defines a generic condition for a Resource
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700983 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
984 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
985 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
Bu Sun Kim65020912020-05-20 12:08:20 -0700986 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
987 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
988 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
989 # See also:
990 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
991 # Types common to all resources include:
992 # * &quot;Ready&quot;: True when the Resource is ready.
Bu Sun Kim65020912020-05-20 12:08:20 -0700993 },
994 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700995 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the CloudAuditLogsSource that
996 # was last processed by the controller.
997 &quot;sinkUri&quot;: &quot;A String&quot;, # SinkURI is the current active sink URI that has been configured for the
998 # Source.
999 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -07001000 },
1001 &quot;apiVersion&quot;: &quot;A String&quot;, # The API version for this call such as &quot;events.cloud.google.com/v1alpha1&quot;.
1002 &quot;spec&quot;: { # The desired state of the CloudAuditLogsSource. # Spec defines the desired state of the CloudAuditLogsSource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001003 &quot;methodName&quot;: &quot;A String&quot;, # Required. The method name at the service API. This must match &quot;methodName&quot; in Cloud
1004 # Audit Logs. Regex or Wildcards (*) are not supported.
1005 # Example: &quot;google.cloud.bigquery.job.create&quot;.
1006 &quot;sink&quot;: { # Sink is a reference to an object that will resolve to a domain name or a
1007 # URI directly to use as the sink.
1008 &quot;uri&quot;: &quot;A String&quot;, # URI is for direct URI Designations or used with the resulting URL from
1009 # Addressable ObjectReference. If used with an ObjectReference, will be
1010 # appended to the path of the resulting URL from the Addressable.
1011 # + optional
1012 &quot;ref&quot;: { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable.
1013 # + optional
1014 # referred object.
1015 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
1016 # +optional
1017 &quot;resourceVersion&quot;: &quot;A String&quot;, # Specific resourceVersion to which this reference is made, if any.
1018 # More info:
1019 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
1020 # +optional
1021 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
1022 # More info:
1023 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1024 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -07001025 &quot;fieldPath&quot;: &quot;A String&quot;, # If referring to a piece of an object instead of an entire object, this
1026 # string should contain a valid JSON/Go field access statement, such as
1027 # desiredState.manifest.containers[2]. For example, if the object reference
1028 # is to a container within a pod, this would take on a value like:
1029 # &quot;spec.containers{name}&quot; (where &quot;name&quot; refers to the name of the container
1030 # that triggered the event) or if no container name is specified
1031 # &quot;spec.containers[2]&quot; (container with index 2 in this pod). This syntax is
1032 # chosen only to have some well-defined way of referencing a part of an
1033 # object.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001034 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
1035 # More info:
1036 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
1037 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -07001038 &quot;namespace&quot;: &quot;A String&quot;, # Namespace of the referent.
1039 # More info:
1040 # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
1041 # +optional
1042 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
1043 # More info:
1044 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
1045 # +optional
1046 },
1047 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001048 &quot;resourceName&quot;: &quot;A String&quot;, # Optional. The resource specification. This must match &quot;methodName&quot;
1049 # in Cloud Audit Logs. Regex or Wildcards (*) are not supported.
1050 # Example: &quot;projects/my-project/jobs/foo&quot;.
1051 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Optional. Email address of the IAM service account associated with the source. The
1052 # service account represents the identity of the source, and determines what
1053 # permissions the source has. If not provided, the source will use the
1054 # project&#x27;s default service account.
1055 &quot;ceOverrides&quot;: { # CloudEventOverrides defines arguments for a Source that control the output # CloudEventOverrides defines overrides to control the output format and
1056 # modifications of the event sent to the sink.
1057 # +optional
1058 # format of the CloudEvents produced by the Source.
1059 &quot;extensions&quot;: { # Extensions specify what attribute are added or overridden on the outbound
1060 # event. Each `Extensions` key-value pair are set on the event as an
1061 # attribute extension independently.
1062 # +optional
1063 &quot;a_key&quot;: &quot;A String&quot;,
1064 },
1065 },
1066 &quot;serviceName&quot;: &quot;A String&quot;, # Required. The GCP service name. This must match &quot;serviceName&quot; in Cloud Audit Logs.
1067 # Regex or Wildcards (*) are not supported.
1068 # Example: &quot;bigquery.googleapis.com&quot;.
Bu Sun Kim65020912020-05-20 12:08:20 -07001069 },
1070 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource, in this case &quot;CloudAuditLogsSource&quot;.
1071 &quot;metadata&quot;: { # ObjectMeta is metadata that all persisted resources must have, which includes # Metadata associated with this CloudAuditLogsSource.
1072 # all objects users must create.
Bu Sun Kim65020912020-05-20 12:08:20 -07001073 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
1074 #
1075 # GenerateName is an optional prefix, used by the server, to generate a
1076 # unique name ONLY IF the Name field has not been provided. If this field is
1077 # used, the name returned to the client will be different than the name
1078 # passed. This value will also be combined with a unique suffix. The provided
1079 # value has the same validation rules as the Name field, and may be truncated
1080 # by the length of the suffix required to make the value unique on the
1081 # server.
1082 #
1083 # If this field is specified and the generated name exists, the server will
1084 # NOT return a 409 - instead, it will either return 201 Created or 500 with
1085 # Reason ServerTimeout indicating a unique name could not be found in the
1086 # time allotted, and the client should retry (optionally after the time
1087 # indicated in the Retry-After header).
1088 #
1089 # Applied only if Name is not specified.
1090 # More info:
1091 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
1092 # +optional
1093 # string generateName = 2;
1094 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
1095 # Is required when creating
1096 # resources, although some resources may allow a client to request the
1097 # generation of an appropriate name automatically. Name is primarily intended
1098 # for creation idempotence and configuration definition. Cannot be updated.
1099 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1100 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001101 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
1102 #
1103 # Number of seconds allowed for this object to gracefully terminate before
1104 # it will be removed from the system. Only set when deletionTimestamp is also
1105 # set. May only be shortened. Read-only. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -07001106 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
1107 #
1108 # The name of the cluster which the object belongs to.
1109 # This is used to distinguish resources with same name and namespace in
1110 # different clusters. This field is not set anywhere right now and apiserver
1111 # is going to ignore it if set in create or update request. +optional
Bu Sun Kim65020912020-05-20 12:08:20 -07001112 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
1113 #
1114 # Must be empty before the object is deleted from the registry. Each entry
1115 # is an identifier for the responsible component that will remove the entry
1116 # from the list. If the deletionTimestamp of the object is non-nil, entries
1117 # in this list can only be removed.
1118 # +optional
1119 # +patchStrategy=merge
1120 &quot;A String&quot;,
1121 ],
1122 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
1123 # deleted. This field is set by the server when a graceful deletion is
1124 # requested by the user, and is not directly settable by a client. The
1125 # resource is expected to be deleted (no longer visible from resource lists,
1126 # and not reachable by name) after the time in this field, once the
1127 # finalizers list is empty. As long as the finalizers list contains items,
1128 # deletion is blocked. Once the deletionTimestamp is set, this value may not
1129 # be unset or be set further into the future, although it may be shortened or
1130 # the resource may be deleted prior to this time. For example, a user may
1131 # request that a pod is deleted in 30 seconds. The Kubelet will react by
1132 # sending a graceful termination signal to the containers in the pod. After
1133 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
1134 # to the container and after cleanup, remove the pod from the API. In the
1135 # presence of network partitions, this object may still exist after this
1136 # timestamp, until an administrator or automated process can determine the
1137 # resource is fully terminated.
1138 # If not set, graceful deletion of the object has not been requested.
1139 #
1140 # Populated by the system when a graceful deletion is requested.
1141 # Read-only.
1142 # More info:
1143 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1144 # +optional
1145 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
1146 # been deleted, this object will be garbage collected.
1147 # +optional
1148 { # OwnerReference contains enough information to let you identify an owning
1149 # object. Currently, an owning object must be in the same namespace, so there
1150 # is no namespace field.
Bu Sun Kim65020912020-05-20 12:08:20 -07001151 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
1152 # +optional
1153 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
1154 # More info:
1155 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
1156 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
1157 # the owner cannot be deleted from the key-value store until this
1158 # reference is removed.
1159 # Defaults to false.
1160 # To set this field, a user needs &quot;delete&quot; permission of the owner,
1161 # otherwise 422 (Unprocessable Entity) will be returned.
1162 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001163 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
1164 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
1165 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1166 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
1167 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
Bu Sun Kim65020912020-05-20 12:08:20 -07001168 },
1169 ],
1170 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
1171 # object was created. It is not guaranteed to be set in happens-before order
1172 # across separate operations. Clients may not set this value. It is
1173 # represented in RFC3339 form and is in UTC.
1174 #
1175 # Populated by the system.
1176 # Read-only.
1177 # Null for lists.
1178 # More info:
1179 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1180 # +optional
1181 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
1182 # (scope and select) objects. May match selectors of replication controllers
1183 # and routes.
1184 # More info: http://kubernetes.io/docs/user-guide/labels
1185 # +optional
1186 &quot;a_key&quot;: &quot;A String&quot;,
1187 },
1188 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
1189 # Populated by the system. Read-only.
1190 # +optional
1191 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
1192 # can be used by clients to determine when objects have changed. May be used
1193 # for optimistic concurrency, change detection, and the watch operation on a
1194 # resource or set of resources. Clients must treat these values as opaque and
1195 # passed unmodified back to the server. They may only be valid for a
1196 # particular resource or set of resources.
1197 #
1198 # Populated by the system.
1199 # Read-only.
1200 # Value must be treated as opaque by clients and .
1201 # More info:
1202 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
1203 # +optional
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001204 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
1205 # Populated by the system.
1206 # Read-only.
1207 # +optional
1208 # string selfLink = 4;
Bu Sun Kim65020912020-05-20 12:08:20 -07001209 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
1210 # generated by the server on successful creation of a resource and is not
1211 # allowed to change on PUT operations.
1212 #
1213 # Populated by the system.
1214 # Read-only.
1215 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1216 # +optional
Bu Sun Kim65020912020-05-20 12:08:20 -07001217 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
1218 # Cloud Run region. In Cloud Run the namespace must be equal to either the
1219 # project ID or project number.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001220 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
1221 # may be set by external tools to store and retrieve arbitrary metadata. They
1222 # are not queryable and should be preserved when modifying objects. More
1223 # info: http://kubernetes.io/docs/user-guide/annotations +optional
1224 &quot;a_key&quot;: &quot;A String&quot;,
1225 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001226 },
1227 },
1228 ],
1229 }</pre>
1230</div>
1231
1232</body></html>