blob: fd657e237435e80f9298feaa9eccd2c15861ff09 [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">
81 <code><a href="#delete">delete(name, propagationPolicy=None, kind=None, apiVersion=None, x__xgafv=None)</a></code></p>
82<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">
87 <code><a href="#list">list(parent, limit=None, watch=None, labelSelector=None, resourceVersion=None, includeUninitialized=None, fieldSelector=None, continue=None, x__xgafv=None)</a></code></p>
88<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.
104 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the CloudAuditLogsSource that
105 # was last processed by the controller.
106 &quot;sinkUri&quot;: &quot;A String&quot;, # SinkURI is the current active sink URI that has been configured for the
107 # Source.
108 # +optional
109 &quot;conditions&quot;: [ # Array of observed CloudAuditLogsSourceConditions, indicating the current
110 # state of the CloudAuditLogsSource.
111 { # Condition defines a generic condition for a Resource
112 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
113 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
114 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
115 # See also:
116 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
117 # Types common to all resources include:
118 # * &quot;Ready&quot;: True when the Resource is ready.
119 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
120 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
121 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
122 },
123 ],
124 },
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.
127 &quot;resourceName&quot;: &quot;A String&quot;, # Optional. The resource specification. This must match &quot;methodName&quot;
128 # in Cloud Audit Logs. Regex or Wildcards (*) are not supported.
129 # Example: &quot;projects/my-project/jobs/foo&quot;.
130 &quot;ceOverrides&quot;: { # CloudEventOverrides defines arguments for a Source that control the output # CloudEventOverrides defines overrides to control the output format and
131 # modifications of the event sent to the sink.
132 # +optional
133 # format of the CloudEvents produced by the Source.
134 &quot;extensions&quot;: { # Extensions specify what attribute are added or overridden on the outbound
135 # event. Each `Extensions` key-value pair are set on the event as an
136 # attribute extension independently.
137 # +optional
138 &quot;a_key&quot;: &quot;A String&quot;,
139 },
140 },
141 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Optional. Email address of the IAM service account associated with the source. The
142 # service account represents the identity of the source, and determines what
143 # permissions the source has. If not provided, the source will use the
144 # project&#x27;s default service account.
145 &quot;serviceName&quot;: &quot;A String&quot;, # Required. The GCP service name. This must match &quot;serviceName&quot; in Cloud Audit Logs.
146 # Regex or Wildcards (*) are not supported.
147 # Example: &quot;bigquery.googleapis.com&quot;.
148 &quot;methodName&quot;: &quot;A String&quot;, # Required. The method name at the service API. This must match &quot;methodName&quot; in Cloud
149 # Audit Logs. Regex or Wildcards (*) are not supported.
150 # Example: &quot;google.cloud.bigquery.job.create&quot;.
151 &quot;sink&quot;: { # Sink is a reference to an object that will resolve to a domain name or a
152 # URI directly to use as the sink.
153 &quot;uri&quot;: &quot;A String&quot;, # URI is for direct URI Designations or used with the resulting URL from
154 # Addressable ObjectReference. If used with an ObjectReference, will be
155 # appended to the path of the resulting URL from the Addressable.
156 # + optional
157 &quot;ref&quot;: { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable.
158 # + optional
159 # referred object.
160 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
161 # +optional
162 &quot;resourceVersion&quot;: &quot;A String&quot;, # Specific resourceVersion to which this reference is made, if any.
163 # More info:
164 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
165 # +optional
166 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
167 # More info:
168 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
169 # +optional
170 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
171 # More info:
172 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
173 # +optional
174 &quot;fieldPath&quot;: &quot;A String&quot;, # If referring to a piece of an object instead of an entire object, this
175 # string should contain a valid JSON/Go field access statement, such as
176 # desiredState.manifest.containers[2]. For example, if the object reference
177 # is to a container within a pod, this would take on a value like:
178 # &quot;spec.containers{name}&quot; (where &quot;name&quot; refers to the name of the container
179 # that triggered the event) or if no container name is specified
180 # &quot;spec.containers[2]&quot; (container with index 2 in this pod). This syntax is
181 # chosen only to have some well-defined way of referencing a part of an
182 # object.
183 &quot;namespace&quot;: &quot;A String&quot;, # Namespace of the referent.
184 # More info:
185 # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
186 # +optional
187 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
188 # More info:
189 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
190 # +optional
191 },
192 },
193 },
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.
197 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
198 # may be set by external tools to store and retrieve arbitrary metadata. They
199 # are not queryable and should be preserved when modifying objects. More
200 # info: http://kubernetes.io/docs/user-guide/annotations +optional
201 &quot;a_key&quot;: &quot;A String&quot;,
202 },
203 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
204 #
205 # GenerateName is an optional prefix, used by the server, to generate a
206 # unique name ONLY IF the Name field has not been provided. If this field is
207 # used, the name returned to the client will be different than the name
208 # passed. This value will also be combined with a unique suffix. The provided
209 # value has the same validation rules as the Name field, and may be truncated
210 # by the length of the suffix required to make the value unique on the
211 # server.
212 #
213 # If this field is specified and the generated name exists, the server will
214 # NOT return a 409 - instead, it will either return 201 Created or 500 with
215 # Reason ServerTimeout indicating a unique name could not be found in the
216 # time allotted, and the client should retry (optionally after the time
217 # indicated in the Retry-After header).
218 #
219 # Applied only if Name is not specified.
220 # More info:
221 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
222 # +optional
223 # string generateName = 2;
224 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
225 # Is required when creating
226 # resources, although some resources may allow a client to request the
227 # generation of an appropriate name automatically. Name is primarily intended
228 # for creation idempotence and configuration definition. Cannot be updated.
229 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
230 # +optional
231 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
232 #
233 # The name of the cluster which the object belongs to.
234 # This is used to distinguish resources with same name and namespace in
235 # different clusters. This field is not set anywhere right now and apiserver
236 # is going to ignore it if set in create or update request. +optional
237 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
238 #
239 # Number of seconds allowed for this object to gracefully terminate before
240 # it will be removed from the system. Only set when deletionTimestamp is also
241 # set. May only be shortened. Read-only. +optional
242 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
243 #
244 # Must be empty before the object is deleted from the registry. Each entry
245 # is an identifier for the responsible component that will remove the entry
246 # from the list. If the deletionTimestamp of the object is non-nil, entries
247 # in this list can only be removed.
248 # +optional
249 # +patchStrategy=merge
250 &quot;A String&quot;,
251 ],
252 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
253 # deleted. This field is set by the server when a graceful deletion is
254 # requested by the user, and is not directly settable by a client. The
255 # resource is expected to be deleted (no longer visible from resource lists,
256 # and not reachable by name) after the time in this field, once the
257 # finalizers list is empty. As long as the finalizers list contains items,
258 # deletion is blocked. Once the deletionTimestamp is set, this value may not
259 # be unset or be set further into the future, although it may be shortened or
260 # the resource may be deleted prior to this time. For example, a user may
261 # request that a pod is deleted in 30 seconds. The Kubelet will react by
262 # sending a graceful termination signal to the containers in the pod. After
263 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
264 # to the container and after cleanup, remove the pod from the API. In the
265 # presence of network partitions, this object may still exist after this
266 # timestamp, until an administrator or automated process can determine the
267 # resource is fully terminated.
268 # If not set, graceful deletion of the object has not been requested.
269 #
270 # Populated by the system when a graceful deletion is requested.
271 # Read-only.
272 # More info:
273 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
274 # +optional
275 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
276 # been deleted, this object will be garbage collected.
277 # +optional
278 { # OwnerReference contains enough information to let you identify an owning
279 # object. Currently, an owning object must be in the same namespace, so there
280 # is no namespace field.
281 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
282 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
283 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
284 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
285 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
286 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
287 # +optional
288 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
289 # More info:
290 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
291 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
292 # the owner cannot be deleted from the key-value store until this
293 # reference is removed.
294 # Defaults to false.
295 # To set this field, a user needs &quot;delete&quot; permission of the owner,
296 # otherwise 422 (Unprocessable Entity) will be returned.
297 # +optional
298 },
299 ],
300 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
301 # object was created. It is not guaranteed to be set in happens-before order
302 # across separate operations. Clients may not set this value. It is
303 # represented in RFC3339 form and is in UTC.
304 #
305 # Populated by the system.
306 # Read-only.
307 # Null for lists.
308 # More info:
309 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
310 # +optional
311 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
312 # (scope and select) objects. May match selectors of replication controllers
313 # and routes.
314 # More info: http://kubernetes.io/docs/user-guide/labels
315 # +optional
316 &quot;a_key&quot;: &quot;A String&quot;,
317 },
318 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
319 # Populated by the system. Read-only.
320 # +optional
321 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
322 # can be used by clients to determine when objects have changed. May be used
323 # for optimistic concurrency, change detection, and the watch operation on a
324 # resource or set of resources. Clients must treat these values as opaque and
325 # passed unmodified back to the server. They may only be valid for a
326 # particular resource or set of resources.
327 #
328 # Populated by the system.
329 # Read-only.
330 # Value must be treated as opaque by clients and .
331 # More info:
332 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
333 # +optional
334 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
335 # generated by the server on successful creation of a resource and is not
336 # allowed to change on PUT operations.
337 #
338 # Populated by the system.
339 # Read-only.
340 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
341 # +optional
342 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
343 # Populated by the system.
344 # Read-only.
345 # +optional
346 # string selfLink = 4;
347 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
348 # Cloud Run region. In Cloud Run the namespace must be equal to either the
349 # project ID or project number.
350 },
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.
365 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the CloudAuditLogsSource that
366 # was last processed by the controller.
367 &quot;sinkUri&quot;: &quot;A String&quot;, # SinkURI is the current active sink URI that has been configured for the
368 # Source.
369 # +optional
370 &quot;conditions&quot;: [ # Array of observed CloudAuditLogsSourceConditions, indicating the current
371 # state of the CloudAuditLogsSource.
372 { # Condition defines a generic condition for a Resource
373 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
374 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
375 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
376 # See also:
377 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
378 # Types common to all resources include:
379 # * &quot;Ready&quot;: True when the Resource is ready.
380 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
381 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
382 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
383 },
384 ],
385 },
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.
388 &quot;resourceName&quot;: &quot;A String&quot;, # Optional. The resource specification. This must match &quot;methodName&quot;
389 # in Cloud Audit Logs. Regex or Wildcards (*) are not supported.
390 # Example: &quot;projects/my-project/jobs/foo&quot;.
391 &quot;ceOverrides&quot;: { # CloudEventOverrides defines arguments for a Source that control the output # CloudEventOverrides defines overrides to control the output format and
392 # modifications of the event sent to the sink.
393 # +optional
394 # format of the CloudEvents produced by the Source.
395 &quot;extensions&quot;: { # Extensions specify what attribute are added or overridden on the outbound
396 # event. Each `Extensions` key-value pair are set on the event as an
397 # attribute extension independently.
398 # +optional
399 &quot;a_key&quot;: &quot;A String&quot;,
400 },
401 },
402 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Optional. Email address of the IAM service account associated with the source. The
403 # service account represents the identity of the source, and determines what
404 # permissions the source has. If not provided, the source will use the
405 # project&#x27;s default service account.
406 &quot;serviceName&quot;: &quot;A String&quot;, # Required. The GCP service name. This must match &quot;serviceName&quot; in Cloud Audit Logs.
407 # Regex or Wildcards (*) are not supported.
408 # Example: &quot;bigquery.googleapis.com&quot;.
409 &quot;methodName&quot;: &quot;A String&quot;, # Required. The method name at the service API. This must match &quot;methodName&quot; in Cloud
410 # Audit Logs. Regex or Wildcards (*) are not supported.
411 # Example: &quot;google.cloud.bigquery.job.create&quot;.
412 &quot;sink&quot;: { # Sink is a reference to an object that will resolve to a domain name or a
413 # URI directly to use as the sink.
414 &quot;uri&quot;: &quot;A String&quot;, # URI is for direct URI Designations or used with the resulting URL from
415 # Addressable ObjectReference. If used with an ObjectReference, will be
416 # appended to the path of the resulting URL from the Addressable.
417 # + optional
418 &quot;ref&quot;: { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable.
419 # + optional
420 # referred object.
421 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
422 # +optional
423 &quot;resourceVersion&quot;: &quot;A String&quot;, # Specific resourceVersion to which this reference is made, if any.
424 # More info:
425 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
426 # +optional
427 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
428 # More info:
429 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
430 # +optional
431 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
432 # More info:
433 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
434 # +optional
435 &quot;fieldPath&quot;: &quot;A String&quot;, # If referring to a piece of an object instead of an entire object, this
436 # string should contain a valid JSON/Go field access statement, such as
437 # desiredState.manifest.containers[2]. For example, if the object reference
438 # is to a container within a pod, this would take on a value like:
439 # &quot;spec.containers{name}&quot; (where &quot;name&quot; refers to the name of the container
440 # that triggered the event) or if no container name is specified
441 # &quot;spec.containers[2]&quot; (container with index 2 in this pod). This syntax is
442 # chosen only to have some well-defined way of referencing a part of an
443 # object.
444 &quot;namespace&quot;: &quot;A String&quot;, # Namespace of the referent.
445 # More info:
446 # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
447 # +optional
448 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
449 # More info:
450 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
451 # +optional
452 },
453 },
454 },
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.
458 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
459 # may be set by external tools to store and retrieve arbitrary metadata. They
460 # are not queryable and should be preserved when modifying objects. More
461 # info: http://kubernetes.io/docs/user-guide/annotations +optional
462 &quot;a_key&quot;: &quot;A String&quot;,
463 },
464 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
465 #
466 # GenerateName is an optional prefix, used by the server, to generate a
467 # unique name ONLY IF the Name field has not been provided. If this field is
468 # used, the name returned to the client will be different than the name
469 # passed. This value will also be combined with a unique suffix. The provided
470 # value has the same validation rules as the Name field, and may be truncated
471 # by the length of the suffix required to make the value unique on the
472 # server.
473 #
474 # If this field is specified and the generated name exists, the server will
475 # NOT return a 409 - instead, it will either return 201 Created or 500 with
476 # Reason ServerTimeout indicating a unique name could not be found in the
477 # time allotted, and the client should retry (optionally after the time
478 # indicated in the Retry-After header).
479 #
480 # Applied only if Name is not specified.
481 # More info:
482 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
483 # +optional
484 # string generateName = 2;
485 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
486 # Is required when creating
487 # resources, although some resources may allow a client to request the
488 # generation of an appropriate name automatically. Name is primarily intended
489 # for creation idempotence and configuration definition. Cannot be updated.
490 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
491 # +optional
492 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
493 #
494 # The name of the cluster which the object belongs to.
495 # This is used to distinguish resources with same name and namespace in
496 # different clusters. This field is not set anywhere right now and apiserver
497 # is going to ignore it if set in create or update request. +optional
498 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
499 #
500 # Number of seconds allowed for this object to gracefully terminate before
501 # it will be removed from the system. Only set when deletionTimestamp is also
502 # set. May only be shortened. Read-only. +optional
503 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
504 #
505 # Must be empty before the object is deleted from the registry. Each entry
506 # is an identifier for the responsible component that will remove the entry
507 # from the list. If the deletionTimestamp of the object is non-nil, entries
508 # in this list can only be removed.
509 # +optional
510 # +patchStrategy=merge
511 &quot;A String&quot;,
512 ],
513 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
514 # deleted. This field is set by the server when a graceful deletion is
515 # requested by the user, and is not directly settable by a client. The
516 # resource is expected to be deleted (no longer visible from resource lists,
517 # and not reachable by name) after the time in this field, once the
518 # finalizers list is empty. As long as the finalizers list contains items,
519 # deletion is blocked. Once the deletionTimestamp is set, this value may not
520 # be unset or be set further into the future, although it may be shortened or
521 # the resource may be deleted prior to this time. For example, a user may
522 # request that a pod is deleted in 30 seconds. The Kubelet will react by
523 # sending a graceful termination signal to the containers in the pod. After
524 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
525 # to the container and after cleanup, remove the pod from the API. In the
526 # presence of network partitions, this object may still exist after this
527 # timestamp, until an administrator or automated process can determine the
528 # resource is fully terminated.
529 # If not set, graceful deletion of the object has not been requested.
530 #
531 # Populated by the system when a graceful deletion is requested.
532 # Read-only.
533 # More info:
534 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
535 # +optional
536 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
537 # been deleted, this object will be garbage collected.
538 # +optional
539 { # OwnerReference contains enough information to let you identify an owning
540 # object. Currently, an owning object must be in the same namespace, so there
541 # is no namespace field.
542 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
543 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
544 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
545 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
546 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
547 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
548 # +optional
549 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
550 # More info:
551 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
552 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
553 # the owner cannot be deleted from the key-value store until this
554 # reference is removed.
555 # Defaults to false.
556 # To set this field, a user needs &quot;delete&quot; permission of the owner,
557 # otherwise 422 (Unprocessable Entity) will be returned.
558 # +optional
559 },
560 ],
561 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
562 # object was created. It is not guaranteed to be set in happens-before order
563 # across separate operations. Clients may not set this value. It is
564 # represented in RFC3339 form and is in UTC.
565 #
566 # Populated by the system.
567 # Read-only.
568 # Null for lists.
569 # More info:
570 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
571 # +optional
572 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
573 # (scope and select) objects. May match selectors of replication controllers
574 # and routes.
575 # More info: http://kubernetes.io/docs/user-guide/labels
576 # +optional
577 &quot;a_key&quot;: &quot;A String&quot;,
578 },
579 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
580 # Populated by the system. Read-only.
581 # +optional
582 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
583 # can be used by clients to determine when objects have changed. May be used
584 # for optimistic concurrency, change detection, and the watch operation on a
585 # resource or set of resources. Clients must treat these values as opaque and
586 # passed unmodified back to the server. They may only be valid for a
587 # particular resource or set of resources.
588 #
589 # Populated by the system.
590 # Read-only.
591 # Value must be treated as opaque by clients and .
592 # More info:
593 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
594 # +optional
595 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
596 # generated by the server on successful creation of a resource and is not
597 # allowed to change on PUT operations.
598 #
599 # Populated by the system.
600 # Read-only.
601 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
602 # +optional
603 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
604 # Populated by the system.
605 # Read-only.
606 # +optional
607 # string selfLink = 4;
608 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
609 # Cloud Run region. In Cloud Run the namespace must be equal to either the
610 # project ID or project number.
611 },
612 }</pre>
613</div>
614
615<div class="method">
616 <code class="details" id="delete">delete(name, propagationPolicy=None, kind=None, apiVersion=None, x__xgafv=None)</code>
617 <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)
622 propagationPolicy: string, Specifies the propagation policy of delete. Cloud Run currently ignores
623this setting, and deletes in the background. Please see
624kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
625more information.
626 kind: string, Cloud Run currently ignores this parameter.
627 apiVersion: string, Cloud Run currently ignores this parameter.
628 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.
667 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the CloudAuditLogsSource that
668 # was last processed by the controller.
669 &quot;sinkUri&quot;: &quot;A String&quot;, # SinkURI is the current active sink URI that has been configured for the
670 # Source.
671 # +optional
672 &quot;conditions&quot;: [ # Array of observed CloudAuditLogsSourceConditions, indicating the current
673 # state of the CloudAuditLogsSource.
674 { # Condition defines a generic condition for a Resource
675 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
676 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
677 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
678 # See also:
679 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
680 # Types common to all resources include:
681 # * &quot;Ready&quot;: True when the Resource is ready.
682 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
683 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
684 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
685 },
686 ],
687 },
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.
690 &quot;resourceName&quot;: &quot;A String&quot;, # Optional. The resource specification. This must match &quot;methodName&quot;
691 # in Cloud Audit Logs. Regex or Wildcards (*) are not supported.
692 # Example: &quot;projects/my-project/jobs/foo&quot;.
693 &quot;ceOverrides&quot;: { # CloudEventOverrides defines arguments for a Source that control the output # CloudEventOverrides defines overrides to control the output format and
694 # modifications of the event sent to the sink.
695 # +optional
696 # format of the CloudEvents produced by the Source.
697 &quot;extensions&quot;: { # Extensions specify what attribute are added or overridden on the outbound
698 # event. Each `Extensions` key-value pair are set on the event as an
699 # attribute extension independently.
700 # +optional
701 &quot;a_key&quot;: &quot;A String&quot;,
702 },
703 },
704 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Optional. Email address of the IAM service account associated with the source. The
705 # service account represents the identity of the source, and determines what
706 # permissions the source has. If not provided, the source will use the
707 # project&#x27;s default service account.
708 &quot;serviceName&quot;: &quot;A String&quot;, # Required. The GCP service name. This must match &quot;serviceName&quot; in Cloud Audit Logs.
709 # Regex or Wildcards (*) are not supported.
710 # Example: &quot;bigquery.googleapis.com&quot;.
711 &quot;methodName&quot;: &quot;A String&quot;, # Required. The method name at the service API. This must match &quot;methodName&quot; in Cloud
712 # Audit Logs. Regex or Wildcards (*) are not supported.
713 # Example: &quot;google.cloud.bigquery.job.create&quot;.
714 &quot;sink&quot;: { # Sink is a reference to an object that will resolve to a domain name or a
715 # URI directly to use as the sink.
716 &quot;uri&quot;: &quot;A String&quot;, # URI is for direct URI Designations or used with the resulting URL from
717 # Addressable ObjectReference. If used with an ObjectReference, will be
718 # appended to the path of the resulting URL from the Addressable.
719 # + optional
720 &quot;ref&quot;: { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable.
721 # + optional
722 # referred object.
723 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
724 # +optional
725 &quot;resourceVersion&quot;: &quot;A String&quot;, # Specific resourceVersion to which this reference is made, if any.
726 # More info:
727 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
728 # +optional
729 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
730 # More info:
731 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
732 # +optional
733 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
734 # More info:
735 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
736 # +optional
737 &quot;fieldPath&quot;: &quot;A String&quot;, # If referring to a piece of an object instead of an entire object, this
738 # string should contain a valid JSON/Go field access statement, such as
739 # desiredState.manifest.containers[2]. For example, if the object reference
740 # is to a container within a pod, this would take on a value like:
741 # &quot;spec.containers{name}&quot; (where &quot;name&quot; refers to the name of the container
742 # that triggered the event) or if no container name is specified
743 # &quot;spec.containers[2]&quot; (container with index 2 in this pod). This syntax is
744 # chosen only to have some well-defined way of referencing a part of an
745 # object.
746 &quot;namespace&quot;: &quot;A String&quot;, # Namespace of the referent.
747 # More info:
748 # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
749 # +optional
750 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
751 # More info:
752 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
753 # +optional
754 },
755 },
756 },
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.
760 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
761 # may be set by external tools to store and retrieve arbitrary metadata. They
762 # are not queryable and should be preserved when modifying objects. More
763 # info: http://kubernetes.io/docs/user-guide/annotations +optional
764 &quot;a_key&quot;: &quot;A String&quot;,
765 },
766 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
767 #
768 # GenerateName is an optional prefix, used by the server, to generate a
769 # unique name ONLY IF the Name field has not been provided. If this field is
770 # used, the name returned to the client will be different than the name
771 # passed. This value will also be combined with a unique suffix. The provided
772 # value has the same validation rules as the Name field, and may be truncated
773 # by the length of the suffix required to make the value unique on the
774 # server.
775 #
776 # If this field is specified and the generated name exists, the server will
777 # NOT return a 409 - instead, it will either return 201 Created or 500 with
778 # Reason ServerTimeout indicating a unique name could not be found in the
779 # time allotted, and the client should retry (optionally after the time
780 # indicated in the Retry-After header).
781 #
782 # Applied only if Name is not specified.
783 # More info:
784 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
785 # +optional
786 # string generateName = 2;
787 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
788 # Is required when creating
789 # resources, although some resources may allow a client to request the
790 # generation of an appropriate name automatically. Name is primarily intended
791 # for creation idempotence and configuration definition. Cannot be updated.
792 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
793 # +optional
794 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
795 #
796 # The name of the cluster which the object belongs to.
797 # This is used to distinguish resources with same name and namespace in
798 # different clusters. This field is not set anywhere right now and apiserver
799 # is going to ignore it if set in create or update request. +optional
800 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
801 #
802 # Number of seconds allowed for this object to gracefully terminate before
803 # it will be removed from the system. Only set when deletionTimestamp is also
804 # set. May only be shortened. Read-only. +optional
805 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
806 #
807 # Must be empty before the object is deleted from the registry. Each entry
808 # is an identifier for the responsible component that will remove the entry
809 # from the list. If the deletionTimestamp of the object is non-nil, entries
810 # in this list can only be removed.
811 # +optional
812 # +patchStrategy=merge
813 &quot;A String&quot;,
814 ],
815 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
816 # deleted. This field is set by the server when a graceful deletion is
817 # requested by the user, and is not directly settable by a client. The
818 # resource is expected to be deleted (no longer visible from resource lists,
819 # and not reachable by name) after the time in this field, once the
820 # finalizers list is empty. As long as the finalizers list contains items,
821 # deletion is blocked. Once the deletionTimestamp is set, this value may not
822 # be unset or be set further into the future, although it may be shortened or
823 # the resource may be deleted prior to this time. For example, a user may
824 # request that a pod is deleted in 30 seconds. The Kubelet will react by
825 # sending a graceful termination signal to the containers in the pod. After
826 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
827 # to the container and after cleanup, remove the pod from the API. In the
828 # presence of network partitions, this object may still exist after this
829 # timestamp, until an administrator or automated process can determine the
830 # resource is fully terminated.
831 # If not set, graceful deletion of the object has not been requested.
832 #
833 # Populated by the system when a graceful deletion is requested.
834 # Read-only.
835 # More info:
836 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
837 # +optional
838 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
839 # been deleted, this object will be garbage collected.
840 # +optional
841 { # OwnerReference contains enough information to let you identify an owning
842 # object. Currently, an owning object must be in the same namespace, so there
843 # is no namespace field.
844 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
845 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
846 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
847 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
848 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
849 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
850 # +optional
851 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
852 # More info:
853 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
854 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
855 # the owner cannot be deleted from the key-value store until this
856 # reference is removed.
857 # Defaults to false.
858 # To set this field, a user needs &quot;delete&quot; permission of the owner,
859 # otherwise 422 (Unprocessable Entity) will be returned.
860 # +optional
861 },
862 ],
863 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
864 # object was created. It is not guaranteed to be set in happens-before order
865 # across separate operations. Clients may not set this value. It is
866 # represented in RFC3339 form and is in UTC.
867 #
868 # Populated by the system.
869 # Read-only.
870 # Null for lists.
871 # More info:
872 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
873 # +optional
874 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
875 # (scope and select) objects. May match selectors of replication controllers
876 # and routes.
877 # More info: http://kubernetes.io/docs/user-guide/labels
878 # +optional
879 &quot;a_key&quot;: &quot;A String&quot;,
880 },
881 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
882 # Populated by the system. Read-only.
883 # +optional
884 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
885 # can be used by clients to determine when objects have changed. May be used
886 # for optimistic concurrency, change detection, and the watch operation on a
887 # resource or set of resources. Clients must treat these values as opaque and
888 # passed unmodified back to the server. They may only be valid for a
889 # particular resource or set of resources.
890 #
891 # Populated by the system.
892 # Read-only.
893 # Value must be treated as opaque by clients and .
894 # More info:
895 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
896 # +optional
897 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
898 # generated by the server on successful creation of a resource and is not
899 # allowed to change on PUT operations.
900 #
901 # Populated by the system.
902 # Read-only.
903 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
904 # +optional
905 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
906 # Populated by the system.
907 # Read-only.
908 # +optional
909 # string selfLink = 4;
910 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
911 # Cloud Run region. In Cloud Run the namespace must be equal to either the
912 # project ID or project number.
913 },
914 }</pre>
915</div>
916
917<div class="method">
918 <code class="details" id="list">list(parent, limit=None, watch=None, labelSelector=None, resourceVersion=None, includeUninitialized=None, fieldSelector=None, continue=None, x__xgafv=None)</code>
919 <pre>Rpc to list cloudauditlogssources.
920
921Args:
922 parent: string, The project ID or project number from which the cloudauditlogssources
923should be listed. (required)
924 limit: integer, The maximum number of records that should be returned.
925 watch: boolean, Flag that indicates that the client expects to watch this resource as well.
926Not currently used by Cloud Run.
927 labelSelector: string, Allows to filter resources based on a label. Supported operations are
928=, !=, exists, in, and notIn.
929 resourceVersion: string, The baseline resource version from which the list or watch operation should
930start. Not currently used by Cloud Run.
931 includeUninitialized: boolean, Not currently used by Cloud Run.
932 fieldSelector: string, Allows to filter resources based on a specific value for a field name.
933Send this in a query string format. i.e. &#x27;metadata.name%3Dlorem&#x27;.
934Not currently used by Cloud Run.
935 continue: string, Optional encoded string to continue paging.
936 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.
980 &quot;observedGeneration&quot;: 42, # ObservedGeneration is the &#x27;Generation&#x27; of the CloudAuditLogsSource that
981 # was last processed by the controller.
982 &quot;sinkUri&quot;: &quot;A String&quot;, # SinkURI is the current active sink URI that has been configured for the
983 # Source.
984 # +optional
985 &quot;conditions&quot;: [ # Array of observed CloudAuditLogsSourceConditions, indicating the current
986 # state of the CloudAuditLogsSource.
987 { # Condition defines a generic condition for a Resource
988 &quot;severity&quot;: &quot;A String&quot;, # Optional. How to interpret failures of this condition, one of Error, Warning, Info
989 &quot;reason&quot;: &quot;A String&quot;, # Optional. One-word CamelCase reason for the condition&#x27;s last transition.
990 &quot;type&quot;: &quot;A String&quot;, # type is used to communicate the status of the reconciliation process.
991 # See also:
992 # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-conditions-and-reporting
993 # Types common to all resources include:
994 # * &quot;Ready&quot;: True when the Resource is ready.
995 &quot;message&quot;: &quot;A String&quot;, # Optional. Human readable message indicating details about the current status.
996 &quot;lastTransitionTime&quot;: &quot;A String&quot;, # Optional. Last time the condition transitioned from one status to another.
997 &quot;status&quot;: &quot;A String&quot;, # Status of the condition, one of True, False, Unknown.
998 },
999 ],
1000 },
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.
1003 &quot;resourceName&quot;: &quot;A String&quot;, # Optional. The resource specification. This must match &quot;methodName&quot;
1004 # in Cloud Audit Logs. Regex or Wildcards (*) are not supported.
1005 # Example: &quot;projects/my-project/jobs/foo&quot;.
1006 &quot;ceOverrides&quot;: { # CloudEventOverrides defines arguments for a Source that control the output # CloudEventOverrides defines overrides to control the output format and
1007 # modifications of the event sent to the sink.
1008 # +optional
1009 # format of the CloudEvents produced by the Source.
1010 &quot;extensions&quot;: { # Extensions specify what attribute are added or overridden on the outbound
1011 # event. Each `Extensions` key-value pair are set on the event as an
1012 # attribute extension independently.
1013 # +optional
1014 &quot;a_key&quot;: &quot;A String&quot;,
1015 },
1016 },
1017 &quot;serviceAccountName&quot;: &quot;A String&quot;, # Optional. Email address of the IAM service account associated with the source. The
1018 # service account represents the identity of the source, and determines what
1019 # permissions the source has. If not provided, the source will use the
1020 # project&#x27;s default service account.
1021 &quot;serviceName&quot;: &quot;A String&quot;, # Required. The GCP service name. This must match &quot;serviceName&quot; in Cloud Audit Logs.
1022 # Regex or Wildcards (*) are not supported.
1023 # Example: &quot;bigquery.googleapis.com&quot;.
1024 &quot;methodName&quot;: &quot;A String&quot;, # Required. The method name at the service API. This must match &quot;methodName&quot; in Cloud
1025 # Audit Logs. Regex or Wildcards (*) are not supported.
1026 # Example: &quot;google.cloud.bigquery.job.create&quot;.
1027 &quot;sink&quot;: { # Sink is a reference to an object that will resolve to a domain name or a
1028 # URI directly to use as the sink.
1029 &quot;uri&quot;: &quot;A String&quot;, # URI is for direct URI Designations or used with the resulting URL from
1030 # Addressable ObjectReference. If used with an ObjectReference, will be
1031 # appended to the path of the resulting URL from the Addressable.
1032 # + optional
1033 &quot;ref&quot;: { # ObjectReference contains enough information to let you inspect or modify the # ObjectReference points to an Addressable.
1034 # + optional
1035 # referred object.
1036 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
1037 # +optional
1038 &quot;resourceVersion&quot;: &quot;A String&quot;, # Specific resourceVersion to which this reference is made, if any.
1039 # More info:
1040 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
1041 # +optional
1042 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
1043 # More info:
1044 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
1045 # +optional
1046 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
1047 # More info:
1048 # https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
1049 # +optional
1050 &quot;fieldPath&quot;: &quot;A String&quot;, # If referring to a piece of an object instead of an entire object, this
1051 # string should contain a valid JSON/Go field access statement, such as
1052 # desiredState.manifest.containers[2]. For example, if the object reference
1053 # is to a container within a pod, this would take on a value like:
1054 # &quot;spec.containers{name}&quot; (where &quot;name&quot; refers to the name of the container
1055 # that triggered the event) or if no container name is specified
1056 # &quot;spec.containers[2]&quot; (container with index 2 in this pod). This syntax is
1057 # chosen only to have some well-defined way of referencing a part of an
1058 # object.
1059 &quot;namespace&quot;: &quot;A String&quot;, # Namespace of the referent.
1060 # More info:
1061 # https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
1062 # +optional
1063 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
1064 # More info:
1065 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
1066 # +optional
1067 },
1068 },
1069 },
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.
1073 &quot;annotations&quot;: { # Annotations is an unstructured key value map stored with a resource that
1074 # may be set by external tools to store and retrieve arbitrary metadata. They
1075 # are not queryable and should be preserved when modifying objects. More
1076 # info: http://kubernetes.io/docs/user-guide/annotations +optional
1077 &quot;a_key&quot;: &quot;A String&quot;,
1078 },
1079 &quot;generateName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
1080 #
1081 # GenerateName is an optional prefix, used by the server, to generate a
1082 # unique name ONLY IF the Name field has not been provided. If this field is
1083 # used, the name returned to the client will be different than the name
1084 # passed. This value will also be combined with a unique suffix. The provided
1085 # value has the same validation rules as the Name field, and may be truncated
1086 # by the length of the suffix required to make the value unique on the
1087 # server.
1088 #
1089 # If this field is specified and the generated name exists, the server will
1090 # NOT return a 409 - instead, it will either return 201 Created or 500 with
1091 # Reason ServerTimeout indicating a unique name could not be found in the
1092 # time allotted, and the client should retry (optionally after the time
1093 # indicated in the Retry-After header).
1094 #
1095 # Applied only if Name is not specified.
1096 # More info:
1097 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
1098 # +optional
1099 # string generateName = 2;
1100 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
1101 # Is required when creating
1102 # resources, although some resources may allow a client to request the
1103 # generation of an appropriate name automatically. Name is primarily intended
1104 # for creation idempotence and configuration definition. Cannot be updated.
1105 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1106 # +optional
1107 &quot;clusterName&quot;: &quot;A String&quot;, # Not currently supported by Cloud Run.
1108 #
1109 # The name of the cluster which the object belongs to.
1110 # This is used to distinguish resources with same name and namespace in
1111 # different clusters. This field is not set anywhere right now and apiserver
1112 # is going to ignore it if set in create or update request. +optional
1113 &quot;deletionGracePeriodSeconds&quot;: 42, # Not currently supported by Cloud Run.
1114 #
1115 # Number of seconds allowed for this object to gracefully terminate before
1116 # it will be removed from the system. Only set when deletionTimestamp is also
1117 # set. May only be shortened. Read-only. +optional
1118 &quot;finalizers&quot;: [ # Not currently supported by Cloud Run.
1119 #
1120 # Must be empty before the object is deleted from the registry. Each entry
1121 # is an identifier for the responsible component that will remove the entry
1122 # from the list. If the deletionTimestamp of the object is non-nil, entries
1123 # in this list can only be removed.
1124 # +optional
1125 # +patchStrategy=merge
1126 &quot;A String&quot;,
1127 ],
1128 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # DeletionTimestamp is RFC 3339 date and time at which this resource will be
1129 # deleted. This field is set by the server when a graceful deletion is
1130 # requested by the user, and is not directly settable by a client. The
1131 # resource is expected to be deleted (no longer visible from resource lists,
1132 # and not reachable by name) after the time in this field, once the
1133 # finalizers list is empty. As long as the finalizers list contains items,
1134 # deletion is blocked. Once the deletionTimestamp is set, this value may not
1135 # be unset or be set further into the future, although it may be shortened or
1136 # the resource may be deleted prior to this time. For example, a user may
1137 # request that a pod is deleted in 30 seconds. The Kubelet will react by
1138 # sending a graceful termination signal to the containers in the pod. After
1139 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
1140 # to the container and after cleanup, remove the pod from the API. In the
1141 # presence of network partitions, this object may still exist after this
1142 # timestamp, until an administrator or automated process can determine the
1143 # resource is fully terminated.
1144 # If not set, graceful deletion of the object has not been requested.
1145 #
1146 # Populated by the system when a graceful deletion is requested.
1147 # Read-only.
1148 # More info:
1149 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1150 # +optional
1151 &quot;ownerReferences&quot;: [ # List of objects that own this object. If ALL objects in the list have
1152 # been deleted, this object will be garbage collected.
1153 # +optional
1154 { # OwnerReference contains enough information to let you identify an owning
1155 # object. Currently, an owning object must be in the same namespace, so there
1156 # is no namespace field.
1157 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
1158 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
1159 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1160 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
1161 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1162 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
1163 # +optional
1164 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
1165 # More info:
1166 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
1167 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
1168 # the owner cannot be deleted from the key-value store until this
1169 # reference is removed.
1170 # Defaults to false.
1171 # To set this field, a user needs &quot;delete&quot; permission of the owner,
1172 # otherwise 422 (Unprocessable Entity) will be returned.
1173 # +optional
1174 },
1175 ],
1176 &quot;creationTimestamp&quot;: &quot;A String&quot;, # CreationTimestamp is a timestamp representing the server time when this
1177 # object was created. It is not guaranteed to be set in happens-before order
1178 # across separate operations. Clients may not set this value. It is
1179 # represented in RFC3339 form and is in UTC.
1180 #
1181 # Populated by the system.
1182 # Read-only.
1183 # Null for lists.
1184 # More info:
1185 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1186 # +optional
1187 &quot;labels&quot;: { # Map of string keys and values that can be used to organize and categorize
1188 # (scope and select) objects. May match selectors of replication controllers
1189 # and routes.
1190 # More info: http://kubernetes.io/docs/user-guide/labels
1191 # +optional
1192 &quot;a_key&quot;: &quot;A String&quot;,
1193 },
1194 &quot;generation&quot;: 42, # A sequence number representing a specific generation of the desired state.
1195 # Populated by the system. Read-only.
1196 # +optional
1197 &quot;resourceVersion&quot;: &quot;A String&quot;, # An opaque value that represents the internal version of this object that
1198 # can be used by clients to determine when objects have changed. May be used
1199 # for optimistic concurrency, change detection, and the watch operation on a
1200 # resource or set of resources. Clients must treat these values as opaque and
1201 # passed unmodified back to the server. They may only be valid for a
1202 # particular resource or set of resources.
1203 #
1204 # Populated by the system.
1205 # Read-only.
1206 # Value must be treated as opaque by clients and .
1207 # More info:
1208 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
1209 # +optional
1210 &quot;uid&quot;: &quot;A String&quot;, # UID is the unique in time and space value for this object. It is typically
1211 # generated by the server on successful creation of a resource and is not
1212 # allowed to change on PUT operations.
1213 #
1214 # Populated by the system.
1215 # Read-only.
1216 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1217 # +optional
1218 &quot;selfLink&quot;: &quot;A String&quot;, # SelfLink is a URL representing this object.
1219 # Populated by the system.
1220 # Read-only.
1221 # +optional
1222 # string selfLink = 4;
1223 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
1224 # Cloud Run region. In Cloud Run the namespace must be equal to either the
1225 # project ID or project number.
1226 },
1227 },
1228 ],
1229 }</pre>
1230</div>
1231
1232</body></html>