blob: 8d55dc202e1a99ed3ac470f7496995d28e86ec0b [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_v1.html">Cloud Run API</a> . <a href="run_v1.api.html">api</a> . <a href="run_v1.api.v1.html">v1</a> . <a href="run_v1.api.v1.namespaces.html">namespaces</a> . <a href="run_v1.api.v1.namespaces.secrets.html">secrets</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 secret.</p>
80<p class="toc_element">
81 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82<p class="firstline">Rpc to get information about a secret.</p>
83<p class="toc_element">
84 <code><a href="#replaceSecret">replaceSecret(name, body=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Rpc to replace a secret.</p>
86<h3>Method Details</h3>
87<div class="method">
88 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
89 <pre>Creates a new secret.
90
91Args:
92 parent: string, Required. The project ID or project number in which this secret should
93be created. (required)
94 body: object, The request body.
95 The object takes the form of:
96
97{ # Cloud Run fully managed: not supported
98 #
99 # Cloud Run on GKE: supported
100 #
101 # Secret holds secret data of a certain type. The total bytes of the values in
102 # the Data field must be less than MaxSecretSize bytes.
103 &quot;data&quot;: { # Data contains the secret data. Each key must consist of alphanumeric
104 # characters, &#x27;-&#x27;, &#x27;_&#x27; or &#x27;.&#x27;. The serialized form of the secret data is a
105 # base64 encoded string, representing the arbitrary (possibly non-string)
106 # data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
107 &quot;a_key&quot;: &quot;A String&quot;,
108 },
109 &quot;stringData&quot;: { # stringData allows specifying non-binary secret data in string form.
110 # It is provided as a write-only convenience method.
111 # All keys and values are merged into the data field on write, overwriting
112 # any existing values. It is never output when reading from the API.
113 # +k8s:conversion-gen=false
114 &quot;a_key&quot;: &quot;A String&quot;,
115 },
116 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Standard object&#x27;s metadata.
117 # More info:
118 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
119 # persisted resources must have, which includes all objects users must create.
120 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
121 #
122 # CreationTimestamp is a timestamp representing the server time when this
123 # object was created. It is not guaranteed to be set in happens-before order
124 # across separate operations. Clients may not set this value. It is
125 # represented in RFC3339 form and is in UTC.
126 #
127 # Populated by the system.
128 # Read-only.
129 # Null for lists.
130 # More info:
131 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
132 &quot;labels&quot;: { # (Optional)
133 #
134 # Map of string keys and values that can be used to organize and categorize
135 # (scope and select) objects. May match selectors of replication controllers
136 # and routes.
137 # More info: http://kubernetes.io/docs/user-guide/labels
138 &quot;a_key&quot;: &quot;A String&quot;,
139 },
140 &quot;generation&quot;: 42, # (Optional)
141 #
142 # A sequence number representing a specific generation of the desired state.
143 # Populated by the system. Read-only.
144 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
145 #
146 # An opaque value that represents the internal version of this object that
147 # can be used by clients to determine when objects have changed. May be used
148 # for optimistic concurrency, change detection, and the watch operation on a
149 # resource or set of resources. Clients must treat these values as opaque and
150 # passed unmodified back to the server. They may only be valid for a
151 # particular resource or set of resources.
152 #
153 # Populated by the system.
154 # Read-only.
155 # Value must be treated as opaque by clients and .
156 # More info:
157 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
158 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
159 #
160 # SelfLink is a URL representing this object.
161 # Populated by the system.
162 # Read-only.
163 # string selfLink = 4;
164 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
165 #
166 # UID is the unique in time and space value for this object. It is typically
167 # generated by the server on successful creation of a resource and is not
168 # allowed to change on PUT operations.
169 #
170 # Populated by the system.
171 # Read-only.
172 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
173 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
174 # Cloud Run region. In Cloud Run the namespace must be equal to either the
175 # project ID or project number.
176 &quot;annotations&quot;: { # (Optional)
177 #
178 # Annotations is an unstructured key value map stored with a resource that
179 # may be set by external tools to store and retrieve arbitrary metadata. They
180 # are not queryable and should be preserved when modifying objects. More
181 # info: http://kubernetes.io/docs/user-guide/annotations
182 &quot;a_key&quot;: &quot;A String&quot;,
183 },
184 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
185 #
186 # Cloud Run fully managed: not supported
187 #
188 # Cloud Run for Anthos: supported
189 #
190 # GenerateName is an optional prefix, used by the server, to generate a
191 # unique name ONLY IF the Name field has not been provided. If this field is
192 # used, the name returned to the client will be different than the name
193 # passed. This value will also be combined with a unique suffix. The provided
194 # value has the same validation rules as the Name field, and may be truncated
195 # by the length of the suffix required to make the value unique on the
196 # server.
197 #
198 # If this field is specified and the generated name exists, the server will
199 # NOT return a 409 - instead, it will either return 201 Created or 500 with
200 # Reason ServerTimeout indicating a unique name could not be found in the
201 # time allotted, and the client should retry (optionally after the time
202 # indicated in the Retry-After header).
203 #
204 # Applied only if Name is not specified.
205 # More info:
206 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
207 # string generateName = 2;
208 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
209 # Is required when creating
210 # resources, although some resources may allow a client to request the
211 # generation of an appropriate name automatically. Name is primarily intended
212 # for creation idempotence and configuration definition. Cannot be updated.
213 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
214 # +optional
215 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
216 #
217 # Cloud Run fully managed: not supported
218 #
219 # Cloud Run for Anthos: supported
220 #
221 # Number of seconds allowed for this object to gracefully terminate before
222 # it will be removed from the system. Only set when deletionTimestamp is also
223 # set. May only be shortened. Read-only.
224 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
225 #
226 # Cloud Run fully managed: not supported
227 #
228 # Cloud Run for Anthos: supported
229 #
230 # The name of the cluster which the object belongs to.
231 # This is used to distinguish resources with same name and namespace in
232 # different clusters. This field is not set anywhere right now and apiserver
233 # is going to ignore it if set in create or update request.
234 &quot;finalizers&quot;: [ # (Optional)
235 #
236 # Cloud Run fully managed: not supported
237 #
238 # Cloud Run for Anthos: supported
239 #
240 # Must be empty before the object is deleted from the registry. Each entry
241 # is an identifier for the responsible component that will remove the entry
242 # from the list. If the deletionTimestamp of the object is non-nil, entries
243 # in this list can only be removed.
244 # +patchStrategy=merge
245 &quot;A String&quot;,
246 ],
247 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
248 #
249 # Cloud Run fully managed: not supported
250 #
251 # Cloud Run for Anthos: supported
252 #
253 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
254 # deleted. This field is set by the server when a graceful deletion is
255 # requested by the user, and is not directly settable by a client. The
256 # resource is expected to be deleted (no longer visible from resource lists,
257 # and not reachable by name) after the time in this field, once the
258 # finalizers list is empty. As long as the finalizers list contains items,
259 # deletion is blocked. Once the deletionTimestamp is set, this value may not
260 # be unset or be set further into the future, although it may be shortened or
261 # the resource may be deleted prior to this time. For example, a user may
262 # request that a pod is deleted in 30 seconds. The Kubelet will react by
263 # sending a graceful termination signal to the containers in the pod. After
264 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
265 # to the container and after cleanup, remove the pod from the API. In the
266 # presence of network partitions, this object may still exist after this
267 # timestamp, until an administrator or automated process can determine the
268 # resource is fully terminated.
269 # If not set, graceful deletion of the object has not been requested.
270 #
271 # Populated by the system when a graceful deletion is requested.
272 # Read-only.
273 # More info:
274 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
275 &quot;ownerReferences&quot;: [ # (Optional)
276 #
277 # Cloud Run fully managed: not supported
278 #
279 # Cloud Run for Anthos: supported
280 #
281 # List of objects that own this object. If ALL objects in the list have
282 # been deleted, this object will be garbage collected.
283 { # OwnerReference contains enough information to let you identify an owning
284 # object. Currently, an owning object must be in the same namespace, so there
285 # is no namespace field.
286 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
287 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
288 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
289 # +optional
290 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
291 # More info:
292 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
293 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
294 # the owner cannot be deleted from the key-value store until this
295 # reference is removed.
296 # Defaults to false.
297 # To set this field, a user needs &quot;delete&quot; permission of the owner,
298 # otherwise 422 (Unprocessable Entity) will be returned.
299 # +optional
300 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
301 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
302 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
303 },
304 ],
305 },
306 &quot;type&quot;: &quot;A String&quot;, # Used to facilitate programmatic handling of secret data.
307 }
308
309 x__xgafv: string, V1 error format.
310 Allowed values
311 1 - v1 error format
312 2 - v2 error format
313
314Returns:
315 An object of the form:
316
317 { # Cloud Run fully managed: not supported
318 #
319 # Cloud Run on GKE: supported
320 #
321 # Secret holds secret data of a certain type. The total bytes of the values in
322 # the Data field must be less than MaxSecretSize bytes.
323 &quot;data&quot;: { # Data contains the secret data. Each key must consist of alphanumeric
324 # characters, &#x27;-&#x27;, &#x27;_&#x27; or &#x27;.&#x27;. The serialized form of the secret data is a
325 # base64 encoded string, representing the arbitrary (possibly non-string)
326 # data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
327 &quot;a_key&quot;: &quot;A String&quot;,
328 },
329 &quot;stringData&quot;: { # stringData allows specifying non-binary secret data in string form.
330 # It is provided as a write-only convenience method.
331 # All keys and values are merged into the data field on write, overwriting
332 # any existing values. It is never output when reading from the API.
333 # +k8s:conversion-gen=false
334 &quot;a_key&quot;: &quot;A String&quot;,
335 },
336 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Standard object&#x27;s metadata.
337 # More info:
338 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
339 # persisted resources must have, which includes all objects users must create.
340 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
341 #
342 # CreationTimestamp is a timestamp representing the server time when this
343 # object was created. It is not guaranteed to be set in happens-before order
344 # across separate operations. Clients may not set this value. It is
345 # represented in RFC3339 form and is in UTC.
346 #
347 # Populated by the system.
348 # Read-only.
349 # Null for lists.
350 # More info:
351 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
352 &quot;labels&quot;: { # (Optional)
353 #
354 # Map of string keys and values that can be used to organize and categorize
355 # (scope and select) objects. May match selectors of replication controllers
356 # and routes.
357 # More info: http://kubernetes.io/docs/user-guide/labels
358 &quot;a_key&quot;: &quot;A String&quot;,
359 },
360 &quot;generation&quot;: 42, # (Optional)
361 #
362 # A sequence number representing a specific generation of the desired state.
363 # Populated by the system. Read-only.
364 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
365 #
366 # An opaque value that represents the internal version of this object that
367 # can be used by clients to determine when objects have changed. May be used
368 # for optimistic concurrency, change detection, and the watch operation on a
369 # resource or set of resources. Clients must treat these values as opaque and
370 # passed unmodified back to the server. They may only be valid for a
371 # particular resource or set of resources.
372 #
373 # Populated by the system.
374 # Read-only.
375 # Value must be treated as opaque by clients and .
376 # More info:
377 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
378 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
379 #
380 # SelfLink is a URL representing this object.
381 # Populated by the system.
382 # Read-only.
383 # string selfLink = 4;
384 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
385 #
386 # UID is the unique in time and space value for this object. It is typically
387 # generated by the server on successful creation of a resource and is not
388 # allowed to change on PUT operations.
389 #
390 # Populated by the system.
391 # Read-only.
392 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
393 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
394 # Cloud Run region. In Cloud Run the namespace must be equal to either the
395 # project ID or project number.
396 &quot;annotations&quot;: { # (Optional)
397 #
398 # Annotations is an unstructured key value map stored with a resource that
399 # may be set by external tools to store and retrieve arbitrary metadata. They
400 # are not queryable and should be preserved when modifying objects. More
401 # info: http://kubernetes.io/docs/user-guide/annotations
402 &quot;a_key&quot;: &quot;A String&quot;,
403 },
404 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
405 #
406 # Cloud Run fully managed: not supported
407 #
408 # Cloud Run for Anthos: supported
409 #
410 # GenerateName is an optional prefix, used by the server, to generate a
411 # unique name ONLY IF the Name field has not been provided. If this field is
412 # used, the name returned to the client will be different than the name
413 # passed. This value will also be combined with a unique suffix. The provided
414 # value has the same validation rules as the Name field, and may be truncated
415 # by the length of the suffix required to make the value unique on the
416 # server.
417 #
418 # If this field is specified and the generated name exists, the server will
419 # NOT return a 409 - instead, it will either return 201 Created or 500 with
420 # Reason ServerTimeout indicating a unique name could not be found in the
421 # time allotted, and the client should retry (optionally after the time
422 # indicated in the Retry-After header).
423 #
424 # Applied only if Name is not specified.
425 # More info:
426 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
427 # string generateName = 2;
428 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
429 # Is required when creating
430 # resources, although some resources may allow a client to request the
431 # generation of an appropriate name automatically. Name is primarily intended
432 # for creation idempotence and configuration definition. Cannot be updated.
433 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
434 # +optional
435 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
436 #
437 # Cloud Run fully managed: not supported
438 #
439 # Cloud Run for Anthos: supported
440 #
441 # Number of seconds allowed for this object to gracefully terminate before
442 # it will be removed from the system. Only set when deletionTimestamp is also
443 # set. May only be shortened. Read-only.
444 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
445 #
446 # Cloud Run fully managed: not supported
447 #
448 # Cloud Run for Anthos: supported
449 #
450 # The name of the cluster which the object belongs to.
451 # This is used to distinguish resources with same name and namespace in
452 # different clusters. This field is not set anywhere right now and apiserver
453 # is going to ignore it if set in create or update request.
454 &quot;finalizers&quot;: [ # (Optional)
455 #
456 # Cloud Run fully managed: not supported
457 #
458 # Cloud Run for Anthos: supported
459 #
460 # Must be empty before the object is deleted from the registry. Each entry
461 # is an identifier for the responsible component that will remove the entry
462 # from the list. If the deletionTimestamp of the object is non-nil, entries
463 # in this list can only be removed.
464 # +patchStrategy=merge
465 &quot;A String&quot;,
466 ],
467 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
468 #
469 # Cloud Run fully managed: not supported
470 #
471 # Cloud Run for Anthos: supported
472 #
473 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
474 # deleted. This field is set by the server when a graceful deletion is
475 # requested by the user, and is not directly settable by a client. The
476 # resource is expected to be deleted (no longer visible from resource lists,
477 # and not reachable by name) after the time in this field, once the
478 # finalizers list is empty. As long as the finalizers list contains items,
479 # deletion is blocked. Once the deletionTimestamp is set, this value may not
480 # be unset or be set further into the future, although it may be shortened or
481 # the resource may be deleted prior to this time. For example, a user may
482 # request that a pod is deleted in 30 seconds. The Kubelet will react by
483 # sending a graceful termination signal to the containers in the pod. After
484 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
485 # to the container and after cleanup, remove the pod from the API. In the
486 # presence of network partitions, this object may still exist after this
487 # timestamp, until an administrator or automated process can determine the
488 # resource is fully terminated.
489 # If not set, graceful deletion of the object has not been requested.
490 #
491 # Populated by the system when a graceful deletion is requested.
492 # Read-only.
493 # More info:
494 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
495 &quot;ownerReferences&quot;: [ # (Optional)
496 #
497 # Cloud Run fully managed: not supported
498 #
499 # Cloud Run for Anthos: supported
500 #
501 # List of objects that own this object. If ALL objects in the list have
502 # been deleted, this object will be garbage collected.
503 { # OwnerReference contains enough information to let you identify an owning
504 # object. Currently, an owning object must be in the same namespace, so there
505 # is no namespace field.
506 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
507 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
508 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
509 # +optional
510 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
511 # More info:
512 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
513 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
514 # the owner cannot be deleted from the key-value store until this
515 # reference is removed.
516 # Defaults to false.
517 # To set this field, a user needs &quot;delete&quot; permission of the owner,
518 # otherwise 422 (Unprocessable Entity) will be returned.
519 # +optional
520 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
521 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
522 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
523 },
524 ],
525 },
526 &quot;type&quot;: &quot;A String&quot;, # Used to facilitate programmatic handling of secret data.
527 }</pre>
528</div>
529
530<div class="method">
531 <code class="details" id="get">get(name, x__xgafv=None)</code>
532 <pre>Rpc to get information about a secret.
533
534Args:
535 name: string, Required. The name of the secret being retrieved. If needed, replace
536{namespace_id} with the project ID. (required)
537 x__xgafv: string, V1 error format.
538 Allowed values
539 1 - v1 error format
540 2 - v2 error format
541
542Returns:
543 An object of the form:
544
545 { # Cloud Run fully managed: not supported
546 #
547 # Cloud Run on GKE: supported
548 #
549 # Secret holds secret data of a certain type. The total bytes of the values in
550 # the Data field must be less than MaxSecretSize bytes.
551 &quot;data&quot;: { # Data contains the secret data. Each key must consist of alphanumeric
552 # characters, &#x27;-&#x27;, &#x27;_&#x27; or &#x27;.&#x27;. The serialized form of the secret data is a
553 # base64 encoded string, representing the arbitrary (possibly non-string)
554 # data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
555 &quot;a_key&quot;: &quot;A String&quot;,
556 },
557 &quot;stringData&quot;: { # stringData allows specifying non-binary secret data in string form.
558 # It is provided as a write-only convenience method.
559 # All keys and values are merged into the data field on write, overwriting
560 # any existing values. It is never output when reading from the API.
561 # +k8s:conversion-gen=false
562 &quot;a_key&quot;: &quot;A String&quot;,
563 },
564 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Standard object&#x27;s metadata.
565 # More info:
566 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
567 # persisted resources must have, which includes all objects users must create.
568 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
569 #
570 # CreationTimestamp is a timestamp representing the server time when this
571 # object was created. It is not guaranteed to be set in happens-before order
572 # across separate operations. Clients may not set this value. It is
573 # represented in RFC3339 form and is in UTC.
574 #
575 # Populated by the system.
576 # Read-only.
577 # Null for lists.
578 # More info:
579 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
580 &quot;labels&quot;: { # (Optional)
581 #
582 # Map of string keys and values that can be used to organize and categorize
583 # (scope and select) objects. May match selectors of replication controllers
584 # and routes.
585 # More info: http://kubernetes.io/docs/user-guide/labels
586 &quot;a_key&quot;: &quot;A String&quot;,
587 },
588 &quot;generation&quot;: 42, # (Optional)
589 #
590 # A sequence number representing a specific generation of the desired state.
591 # Populated by the system. Read-only.
592 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
593 #
594 # An opaque value that represents the internal version of this object that
595 # can be used by clients to determine when objects have changed. May be used
596 # for optimistic concurrency, change detection, and the watch operation on a
597 # resource or set of resources. Clients must treat these values as opaque and
598 # passed unmodified back to the server. They may only be valid for a
599 # particular resource or set of resources.
600 #
601 # Populated by the system.
602 # Read-only.
603 # Value must be treated as opaque by clients and .
604 # More info:
605 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
606 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
607 #
608 # SelfLink is a URL representing this object.
609 # Populated by the system.
610 # Read-only.
611 # string selfLink = 4;
612 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
613 #
614 # UID is the unique in time and space value for this object. It is typically
615 # generated by the server on successful creation of a resource and is not
616 # allowed to change on PUT operations.
617 #
618 # Populated by the system.
619 # Read-only.
620 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
621 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
622 # Cloud Run region. In Cloud Run the namespace must be equal to either the
623 # project ID or project number.
624 &quot;annotations&quot;: { # (Optional)
625 #
626 # Annotations is an unstructured key value map stored with a resource that
627 # may be set by external tools to store and retrieve arbitrary metadata. They
628 # are not queryable and should be preserved when modifying objects. More
629 # info: http://kubernetes.io/docs/user-guide/annotations
630 &quot;a_key&quot;: &quot;A String&quot;,
631 },
632 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
633 #
634 # Cloud Run fully managed: not supported
635 #
636 # Cloud Run for Anthos: supported
637 #
638 # GenerateName is an optional prefix, used by the server, to generate a
639 # unique name ONLY IF the Name field has not been provided. If this field is
640 # used, the name returned to the client will be different than the name
641 # passed. This value will also be combined with a unique suffix. The provided
642 # value has the same validation rules as the Name field, and may be truncated
643 # by the length of the suffix required to make the value unique on the
644 # server.
645 #
646 # If this field is specified and the generated name exists, the server will
647 # NOT return a 409 - instead, it will either return 201 Created or 500 with
648 # Reason ServerTimeout indicating a unique name could not be found in the
649 # time allotted, and the client should retry (optionally after the time
650 # indicated in the Retry-After header).
651 #
652 # Applied only if Name is not specified.
653 # More info:
654 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
655 # string generateName = 2;
656 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
657 # Is required when creating
658 # resources, although some resources may allow a client to request the
659 # generation of an appropriate name automatically. Name is primarily intended
660 # for creation idempotence and configuration definition. Cannot be updated.
661 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
662 # +optional
663 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
664 #
665 # Cloud Run fully managed: not supported
666 #
667 # Cloud Run for Anthos: supported
668 #
669 # Number of seconds allowed for this object to gracefully terminate before
670 # it will be removed from the system. Only set when deletionTimestamp is also
671 # set. May only be shortened. Read-only.
672 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
673 #
674 # Cloud Run fully managed: not supported
675 #
676 # Cloud Run for Anthos: supported
677 #
678 # The name of the cluster which the object belongs to.
679 # This is used to distinguish resources with same name and namespace in
680 # different clusters. This field is not set anywhere right now and apiserver
681 # is going to ignore it if set in create or update request.
682 &quot;finalizers&quot;: [ # (Optional)
683 #
684 # Cloud Run fully managed: not supported
685 #
686 # Cloud Run for Anthos: supported
687 #
688 # Must be empty before the object is deleted from the registry. Each entry
689 # is an identifier for the responsible component that will remove the entry
690 # from the list. If the deletionTimestamp of the object is non-nil, entries
691 # in this list can only be removed.
692 # +patchStrategy=merge
693 &quot;A String&quot;,
694 ],
695 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
696 #
697 # Cloud Run fully managed: not supported
698 #
699 # Cloud Run for Anthos: supported
700 #
701 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
702 # deleted. This field is set by the server when a graceful deletion is
703 # requested by the user, and is not directly settable by a client. The
704 # resource is expected to be deleted (no longer visible from resource lists,
705 # and not reachable by name) after the time in this field, once the
706 # finalizers list is empty. As long as the finalizers list contains items,
707 # deletion is blocked. Once the deletionTimestamp is set, this value may not
708 # be unset or be set further into the future, although it may be shortened or
709 # the resource may be deleted prior to this time. For example, a user may
710 # request that a pod is deleted in 30 seconds. The Kubelet will react by
711 # sending a graceful termination signal to the containers in the pod. After
712 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
713 # to the container and after cleanup, remove the pod from the API. In the
714 # presence of network partitions, this object may still exist after this
715 # timestamp, until an administrator or automated process can determine the
716 # resource is fully terminated.
717 # If not set, graceful deletion of the object has not been requested.
718 #
719 # Populated by the system when a graceful deletion is requested.
720 # Read-only.
721 # More info:
722 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
723 &quot;ownerReferences&quot;: [ # (Optional)
724 #
725 # Cloud Run fully managed: not supported
726 #
727 # Cloud Run for Anthos: supported
728 #
729 # List of objects that own this object. If ALL objects in the list have
730 # been deleted, this object will be garbage collected.
731 { # OwnerReference contains enough information to let you identify an owning
732 # object. Currently, an owning object must be in the same namespace, so there
733 # is no namespace field.
734 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
735 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
736 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
737 # +optional
738 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
739 # More info:
740 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
741 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
742 # the owner cannot be deleted from the key-value store until this
743 # reference is removed.
744 # Defaults to false.
745 # To set this field, a user needs &quot;delete&quot; permission of the owner,
746 # otherwise 422 (Unprocessable Entity) will be returned.
747 # +optional
748 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
749 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
750 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
751 },
752 ],
753 },
754 &quot;type&quot;: &quot;A String&quot;, # Used to facilitate programmatic handling of secret data.
755 }</pre>
756</div>
757
758<div class="method">
759 <code class="details" id="replaceSecret">replaceSecret(name, body=None, x__xgafv=None)</code>
760 <pre>Rpc to replace a secret.
761
762Only the spec and metadata labels and annotations are modifiable. After
763the Update request, Cloud Run will work to make the &#x27;status&#x27;
764match the requested &#x27;spec&#x27;.
765
766May provide metadata.resourceVersion to enforce update from last read for
767optimistic concurrency control.
768
769Args:
770 name: string, Required. The name of the secret being retrieved. If needed, replace
771{namespace_id} with the project ID. (required)
772 body: object, The request body.
773 The object takes the form of:
774
775{ # Cloud Run fully managed: not supported
776 #
777 # Cloud Run on GKE: supported
778 #
779 # Secret holds secret data of a certain type. The total bytes of the values in
780 # the Data field must be less than MaxSecretSize bytes.
781 &quot;data&quot;: { # Data contains the secret data. Each key must consist of alphanumeric
782 # characters, &#x27;-&#x27;, &#x27;_&#x27; or &#x27;.&#x27;. The serialized form of the secret data is a
783 # base64 encoded string, representing the arbitrary (possibly non-string)
784 # data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
785 &quot;a_key&quot;: &quot;A String&quot;,
786 },
787 &quot;stringData&quot;: { # stringData allows specifying non-binary secret data in string form.
788 # It is provided as a write-only convenience method.
789 # All keys and values are merged into the data field on write, overwriting
790 # any existing values. It is never output when reading from the API.
791 # +k8s:conversion-gen=false
792 &quot;a_key&quot;: &quot;A String&quot;,
793 },
794 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Standard object&#x27;s metadata.
795 # More info:
796 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
797 # persisted resources must have, which includes all objects users must create.
798 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
799 #
800 # CreationTimestamp is a timestamp representing the server time when this
801 # object was created. It is not guaranteed to be set in happens-before order
802 # across separate operations. Clients may not set this value. It is
803 # represented in RFC3339 form and is in UTC.
804 #
805 # Populated by the system.
806 # Read-only.
807 # Null for lists.
808 # More info:
809 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
810 &quot;labels&quot;: { # (Optional)
811 #
812 # Map of string keys and values that can be used to organize and categorize
813 # (scope and select) objects. May match selectors of replication controllers
814 # and routes.
815 # More info: http://kubernetes.io/docs/user-guide/labels
816 &quot;a_key&quot;: &quot;A String&quot;,
817 },
818 &quot;generation&quot;: 42, # (Optional)
819 #
820 # A sequence number representing a specific generation of the desired state.
821 # Populated by the system. Read-only.
822 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
823 #
824 # An opaque value that represents the internal version of this object that
825 # can be used by clients to determine when objects have changed. May be used
826 # for optimistic concurrency, change detection, and the watch operation on a
827 # resource or set of resources. Clients must treat these values as opaque and
828 # passed unmodified back to the server. They may only be valid for a
829 # particular resource or set of resources.
830 #
831 # Populated by the system.
832 # Read-only.
833 # Value must be treated as opaque by clients and .
834 # More info:
835 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
836 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
837 #
838 # SelfLink is a URL representing this object.
839 # Populated by the system.
840 # Read-only.
841 # string selfLink = 4;
842 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
843 #
844 # UID is the unique in time and space value for this object. It is typically
845 # generated by the server on successful creation of a resource and is not
846 # allowed to change on PUT operations.
847 #
848 # Populated by the system.
849 # Read-only.
850 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
851 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
852 # Cloud Run region. In Cloud Run the namespace must be equal to either the
853 # project ID or project number.
854 &quot;annotations&quot;: { # (Optional)
855 #
856 # Annotations is an unstructured key value map stored with a resource that
857 # may be set by external tools to store and retrieve arbitrary metadata. They
858 # are not queryable and should be preserved when modifying objects. More
859 # info: http://kubernetes.io/docs/user-guide/annotations
860 &quot;a_key&quot;: &quot;A String&quot;,
861 },
862 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
863 #
864 # Cloud Run fully managed: not supported
865 #
866 # Cloud Run for Anthos: supported
867 #
868 # GenerateName is an optional prefix, used by the server, to generate a
869 # unique name ONLY IF the Name field has not been provided. If this field is
870 # used, the name returned to the client will be different than the name
871 # passed. This value will also be combined with a unique suffix. The provided
872 # value has the same validation rules as the Name field, and may be truncated
873 # by the length of the suffix required to make the value unique on the
874 # server.
875 #
876 # If this field is specified and the generated name exists, the server will
877 # NOT return a 409 - instead, it will either return 201 Created or 500 with
878 # Reason ServerTimeout indicating a unique name could not be found in the
879 # time allotted, and the client should retry (optionally after the time
880 # indicated in the Retry-After header).
881 #
882 # Applied only if Name is not specified.
883 # More info:
884 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
885 # string generateName = 2;
886 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
887 # Is required when creating
888 # resources, although some resources may allow a client to request the
889 # generation of an appropriate name automatically. Name is primarily intended
890 # for creation idempotence and configuration definition. Cannot be updated.
891 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
892 # +optional
893 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
894 #
895 # Cloud Run fully managed: not supported
896 #
897 # Cloud Run for Anthos: supported
898 #
899 # Number of seconds allowed for this object to gracefully terminate before
900 # it will be removed from the system. Only set when deletionTimestamp is also
901 # set. May only be shortened. Read-only.
902 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
903 #
904 # Cloud Run fully managed: not supported
905 #
906 # Cloud Run for Anthos: supported
907 #
908 # The name of the cluster which the object belongs to.
909 # This is used to distinguish resources with same name and namespace in
910 # different clusters. This field is not set anywhere right now and apiserver
911 # is going to ignore it if set in create or update request.
912 &quot;finalizers&quot;: [ # (Optional)
913 #
914 # Cloud Run fully managed: not supported
915 #
916 # Cloud Run for Anthos: supported
917 #
918 # Must be empty before the object is deleted from the registry. Each entry
919 # is an identifier for the responsible component that will remove the entry
920 # from the list. If the deletionTimestamp of the object is non-nil, entries
921 # in this list can only be removed.
922 # +patchStrategy=merge
923 &quot;A String&quot;,
924 ],
925 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
926 #
927 # Cloud Run fully managed: not supported
928 #
929 # Cloud Run for Anthos: supported
930 #
931 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
932 # deleted. This field is set by the server when a graceful deletion is
933 # requested by the user, and is not directly settable by a client. The
934 # resource is expected to be deleted (no longer visible from resource lists,
935 # and not reachable by name) after the time in this field, once the
936 # finalizers list is empty. As long as the finalizers list contains items,
937 # deletion is blocked. Once the deletionTimestamp is set, this value may not
938 # be unset or be set further into the future, although it may be shortened or
939 # the resource may be deleted prior to this time. For example, a user may
940 # request that a pod is deleted in 30 seconds. The Kubelet will react by
941 # sending a graceful termination signal to the containers in the pod. After
942 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
943 # to the container and after cleanup, remove the pod from the API. In the
944 # presence of network partitions, this object may still exist after this
945 # timestamp, until an administrator or automated process can determine the
946 # resource is fully terminated.
947 # If not set, graceful deletion of the object has not been requested.
948 #
949 # Populated by the system when a graceful deletion is requested.
950 # Read-only.
951 # More info:
952 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
953 &quot;ownerReferences&quot;: [ # (Optional)
954 #
955 # Cloud Run fully managed: not supported
956 #
957 # Cloud Run for Anthos: supported
958 #
959 # List of objects that own this object. If ALL objects in the list have
960 # been deleted, this object will be garbage collected.
961 { # OwnerReference contains enough information to let you identify an owning
962 # object. Currently, an owning object must be in the same namespace, so there
963 # is no namespace field.
964 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
965 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
966 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
967 # +optional
968 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
969 # More info:
970 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
971 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
972 # the owner cannot be deleted from the key-value store until this
973 # reference is removed.
974 # Defaults to false.
975 # To set this field, a user needs &quot;delete&quot; permission of the owner,
976 # otherwise 422 (Unprocessable Entity) will be returned.
977 # +optional
978 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
979 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
980 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
981 },
982 ],
983 },
984 &quot;type&quot;: &quot;A String&quot;, # Used to facilitate programmatic handling of secret data.
985 }
986
987 x__xgafv: string, V1 error format.
988 Allowed values
989 1 - v1 error format
990 2 - v2 error format
991
992Returns:
993 An object of the form:
994
995 { # Cloud Run fully managed: not supported
996 #
997 # Cloud Run on GKE: supported
998 #
999 # Secret holds secret data of a certain type. The total bytes of the values in
1000 # the Data field must be less than MaxSecretSize bytes.
1001 &quot;data&quot;: { # Data contains the secret data. Each key must consist of alphanumeric
1002 # characters, &#x27;-&#x27;, &#x27;_&#x27; or &#x27;.&#x27;. The serialized form of the secret data is a
1003 # base64 encoded string, representing the arbitrary (possibly non-string)
1004 # data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
1005 &quot;a_key&quot;: &quot;A String&quot;,
1006 },
1007 &quot;stringData&quot;: { # stringData allows specifying non-binary secret data in string form.
1008 # It is provided as a write-only convenience method.
1009 # All keys and values are merged into the data field on write, overwriting
1010 # any existing values. It is never output when reading from the API.
1011 # +k8s:conversion-gen=false
1012 &quot;a_key&quot;: &quot;A String&quot;,
1013 },
1014 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Standard object&#x27;s metadata.
1015 # More info:
1016 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1017 # persisted resources must have, which includes all objects users must create.
1018 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
1019 #
1020 # CreationTimestamp is a timestamp representing the server time when this
1021 # object was created. It is not guaranteed to be set in happens-before order
1022 # across separate operations. Clients may not set this value. It is
1023 # represented in RFC3339 form and is in UTC.
1024 #
1025 # Populated by the system.
1026 # Read-only.
1027 # Null for lists.
1028 # More info:
1029 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1030 &quot;labels&quot;: { # (Optional)
1031 #
1032 # Map of string keys and values that can be used to organize and categorize
1033 # (scope and select) objects. May match selectors of replication controllers
1034 # and routes.
1035 # More info: http://kubernetes.io/docs/user-guide/labels
1036 &quot;a_key&quot;: &quot;A String&quot;,
1037 },
1038 &quot;generation&quot;: 42, # (Optional)
1039 #
1040 # A sequence number representing a specific generation of the desired state.
1041 # Populated by the system. Read-only.
1042 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
1043 #
1044 # An opaque value that represents the internal version of this object that
1045 # can be used by clients to determine when objects have changed. May be used
1046 # for optimistic concurrency, change detection, and the watch operation on a
1047 # resource or set of resources. Clients must treat these values as opaque and
1048 # passed unmodified back to the server. They may only be valid for a
1049 # particular resource or set of resources.
1050 #
1051 # Populated by the system.
1052 # Read-only.
1053 # Value must be treated as opaque by clients and .
1054 # More info:
1055 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
1056 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
1057 #
1058 # SelfLink is a URL representing this object.
1059 # Populated by the system.
1060 # Read-only.
1061 # string selfLink = 4;
1062 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
1063 #
1064 # UID is the unique in time and space value for this object. It is typically
1065 # generated by the server on successful creation of a resource and is not
1066 # allowed to change on PUT operations.
1067 #
1068 # Populated by the system.
1069 # Read-only.
1070 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1071 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
1072 # Cloud Run region. In Cloud Run the namespace must be equal to either the
1073 # project ID or project number.
1074 &quot;annotations&quot;: { # (Optional)
1075 #
1076 # Annotations is an unstructured key value map stored with a resource that
1077 # may be set by external tools to store and retrieve arbitrary metadata. They
1078 # are not queryable and should be preserved when modifying objects. More
1079 # info: http://kubernetes.io/docs/user-guide/annotations
1080 &quot;a_key&quot;: &quot;A String&quot;,
1081 },
1082 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
1083 #
1084 # Cloud Run fully managed: not supported
1085 #
1086 # Cloud Run for Anthos: supported
1087 #
1088 # GenerateName is an optional prefix, used by the server, to generate a
1089 # unique name ONLY IF the Name field has not been provided. If this field is
1090 # used, the name returned to the client will be different than the name
1091 # passed. This value will also be combined with a unique suffix. The provided
1092 # value has the same validation rules as the Name field, and may be truncated
1093 # by the length of the suffix required to make the value unique on the
1094 # server.
1095 #
1096 # If this field is specified and the generated name exists, the server will
1097 # NOT return a 409 - instead, it will either return 201 Created or 500 with
1098 # Reason ServerTimeout indicating a unique name could not be found in the
1099 # time allotted, and the client should retry (optionally after the time
1100 # indicated in the Retry-After header).
1101 #
1102 # Applied only if Name is not specified.
1103 # More info:
1104 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
1105 # string generateName = 2;
1106 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
1107 # Is required when creating
1108 # resources, although some resources may allow a client to request the
1109 # generation of an appropriate name automatically. Name is primarily intended
1110 # for creation idempotence and configuration definition. Cannot be updated.
1111 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1112 # +optional
1113 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
1114 #
1115 # Cloud Run fully managed: not supported
1116 #
1117 # Cloud Run for Anthos: supported
1118 #
1119 # Number of seconds allowed for this object to gracefully terminate before
1120 # it will be removed from the system. Only set when deletionTimestamp is also
1121 # set. May only be shortened. Read-only.
1122 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
1123 #
1124 # Cloud Run fully managed: not supported
1125 #
1126 # Cloud Run for Anthos: supported
1127 #
1128 # The name of the cluster which the object belongs to.
1129 # This is used to distinguish resources with same name and namespace in
1130 # different clusters. This field is not set anywhere right now and apiserver
1131 # is going to ignore it if set in create or update request.
1132 &quot;finalizers&quot;: [ # (Optional)
1133 #
1134 # Cloud Run fully managed: not supported
1135 #
1136 # Cloud Run for Anthos: supported
1137 #
1138 # Must be empty before the object is deleted from the registry. Each entry
1139 # is an identifier for the responsible component that will remove the entry
1140 # from the list. If the deletionTimestamp of the object is non-nil, entries
1141 # in this list can only be removed.
1142 # +patchStrategy=merge
1143 &quot;A String&quot;,
1144 ],
1145 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
1146 #
1147 # Cloud Run fully managed: not supported
1148 #
1149 # Cloud Run for Anthos: supported
1150 #
1151 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
1152 # deleted. This field is set by the server when a graceful deletion is
1153 # requested by the user, and is not directly settable by a client. The
1154 # resource is expected to be deleted (no longer visible from resource lists,
1155 # and not reachable by name) after the time in this field, once the
1156 # finalizers list is empty. As long as the finalizers list contains items,
1157 # deletion is blocked. Once the deletionTimestamp is set, this value may not
1158 # be unset or be set further into the future, although it may be shortened or
1159 # the resource may be deleted prior to this time. For example, a user may
1160 # request that a pod is deleted in 30 seconds. The Kubelet will react by
1161 # sending a graceful termination signal to the containers in the pod. After
1162 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
1163 # to the container and after cleanup, remove the pod from the API. In the
1164 # presence of network partitions, this object may still exist after this
1165 # timestamp, until an administrator or automated process can determine the
1166 # resource is fully terminated.
1167 # If not set, graceful deletion of the object has not been requested.
1168 #
1169 # Populated by the system when a graceful deletion is requested.
1170 # Read-only.
1171 # More info:
1172 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
1173 &quot;ownerReferences&quot;: [ # (Optional)
1174 #
1175 # Cloud Run fully managed: not supported
1176 #
1177 # Cloud Run for Anthos: supported
1178 #
1179 # List of objects that own this object. If ALL objects in the list have
1180 # been deleted, this object will be garbage collected.
1181 { # OwnerReference contains enough information to let you identify an owning
1182 # object. Currently, an owning object must be in the same namespace, so there
1183 # is no namespace field.
1184 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
1185 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
1186 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
1187 # +optional
1188 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
1189 # More info:
1190 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
1191 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
1192 # the owner cannot be deleted from the key-value store until this
1193 # reference is removed.
1194 # Defaults to false.
1195 # To set this field, a user needs &quot;delete&quot; permission of the owner,
1196 # otherwise 422 (Unprocessable Entity) will be returned.
1197 # +optional
1198 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
1199 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
1200 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
1201 },
1202 ],
1203 },
1204 &quot;type&quot;: &quot;A String&quot;, # Used to facilitate programmatic handling of secret data.
1205 }</pre>
1206</div>
1207
1208</body></html>