blob: 402000873a37f1382168c0e8c431a657e582dd78 [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></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="run_v1.api.v1.namespaces.secrets.html">secrets()</a></code>
79</p>
80<p class="firstline">Returns the secrets Resource.</p>
81
82<p class="toc_element">
83 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
84<p class="firstline">Rpc to get information about a namespace.</p>
85<p class="toc_element">
86 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
87<p class="firstline">Rpc to update a namespace.</p>
88<h3>Method Details</h3>
89<div class="method">
90 <code class="details" id="get">get(name, x__xgafv=None)</code>
91 <pre>Rpc to get information about a namespace.
92
93Args:
94 name: string, Required. The name of the namespace being retrieved. If needed, replace
95{namespace_id} with the project ID. (required)
96 x__xgafv: string, V1 error format.
97 Allowed values
98 1 - v1 error format
99 2 - v2 error format
100
101Returns:
102 An object of the form:
103
104 { # Cloud Run fully managed: not supported
105 #
106 # Cloud Run on GKE: supported
107 #
108 # Namespace provides a scope for Names.
109 # Use of multiple namespaces is optional.
110 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Standard object&#x27;s metadata.
111 # More info:
112 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
113 # persisted resources must have, which includes all objects users must create.
114 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
115 #
116 # CreationTimestamp is a timestamp representing the server time when this
117 # object was created. It is not guaranteed to be set in happens-before order
118 # across separate operations. Clients may not set this value. It is
119 # represented in RFC3339 form and is in UTC.
120 #
121 # Populated by the system.
122 # Read-only.
123 # Null for lists.
124 # More info:
125 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
126 &quot;labels&quot;: { # (Optional)
127 #
128 # Map of string keys and values that can be used to organize and categorize
129 # (scope and select) objects. May match selectors of replication controllers
130 # and routes.
131 # More info: http://kubernetes.io/docs/user-guide/labels
132 &quot;a_key&quot;: &quot;A String&quot;,
133 },
134 &quot;generation&quot;: 42, # (Optional)
135 #
136 # A sequence number representing a specific generation of the desired state.
137 # Populated by the system. Read-only.
138 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
139 #
140 # An opaque value that represents the internal version of this object that
141 # can be used by clients to determine when objects have changed. May be used
142 # for optimistic concurrency, change detection, and the watch operation on a
143 # resource or set of resources. Clients must treat these values as opaque and
144 # passed unmodified back to the server. They may only be valid for a
145 # particular resource or set of resources.
146 #
147 # Populated by the system.
148 # Read-only.
149 # Value must be treated as opaque by clients and .
150 # More info:
151 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
152 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
153 #
154 # SelfLink is a URL representing this object.
155 # Populated by the system.
156 # Read-only.
157 # string selfLink = 4;
158 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
159 #
160 # UID is the unique in time and space value for this object. It is typically
161 # generated by the server on successful creation of a resource and is not
162 # allowed to change on PUT operations.
163 #
164 # Populated by the system.
165 # Read-only.
166 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
167 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
168 # Cloud Run region. In Cloud Run the namespace must be equal to either the
169 # project ID or project number.
170 &quot;annotations&quot;: { # (Optional)
171 #
172 # Annotations is an unstructured key value map stored with a resource that
173 # may be set by external tools to store and retrieve arbitrary metadata. They
174 # are not queryable and should be preserved when modifying objects. More
175 # info: http://kubernetes.io/docs/user-guide/annotations
176 &quot;a_key&quot;: &quot;A String&quot;,
177 },
178 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
179 #
180 # Cloud Run fully managed: not supported
181 #
182 # Cloud Run for Anthos: supported
183 #
184 # GenerateName is an optional prefix, used by the server, to generate a
185 # unique name ONLY IF the Name field has not been provided. If this field is
186 # used, the name returned to the client will be different than the name
187 # passed. This value will also be combined with a unique suffix. The provided
188 # value has the same validation rules as the Name field, and may be truncated
189 # by the length of the suffix required to make the value unique on the
190 # server.
191 #
192 # If this field is specified and the generated name exists, the server will
193 # NOT return a 409 - instead, it will either return 201 Created or 500 with
194 # Reason ServerTimeout indicating a unique name could not be found in the
195 # time allotted, and the client should retry (optionally after the time
196 # indicated in the Retry-After header).
197 #
198 # Applied only if Name is not specified.
199 # More info:
200 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
201 # string generateName = 2;
202 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
203 # Is required when creating
204 # resources, although some resources may allow a client to request the
205 # generation of an appropriate name automatically. Name is primarily intended
206 # for creation idempotence and configuration definition. Cannot be updated.
207 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
208 # +optional
209 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
210 #
211 # Cloud Run fully managed: not supported
212 #
213 # Cloud Run for Anthos: supported
214 #
215 # Number of seconds allowed for this object to gracefully terminate before
216 # it will be removed from the system. Only set when deletionTimestamp is also
217 # set. May only be shortened. Read-only.
218 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
219 #
220 # Cloud Run fully managed: not supported
221 #
222 # Cloud Run for Anthos: supported
223 #
224 # The name of the cluster which the object belongs to.
225 # This is used to distinguish resources with same name and namespace in
226 # different clusters. This field is not set anywhere right now and apiserver
227 # is going to ignore it if set in create or update request.
228 &quot;finalizers&quot;: [ # (Optional)
229 #
230 # Cloud Run fully managed: not supported
231 #
232 # Cloud Run for Anthos: supported
233 #
234 # Must be empty before the object is deleted from the registry. Each entry
235 # is an identifier for the responsible component that will remove the entry
236 # from the list. If the deletionTimestamp of the object is non-nil, entries
237 # in this list can only be removed.
238 # +patchStrategy=merge
239 &quot;A String&quot;,
240 ],
241 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
242 #
243 # Cloud Run fully managed: not supported
244 #
245 # Cloud Run for Anthos: supported
246 #
247 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
248 # deleted. This field is set by the server when a graceful deletion is
249 # requested by the user, and is not directly settable by a client. The
250 # resource is expected to be deleted (no longer visible from resource lists,
251 # and not reachable by name) after the time in this field, once the
252 # finalizers list is empty. As long as the finalizers list contains items,
253 # deletion is blocked. Once the deletionTimestamp is set, this value may not
254 # be unset or be set further into the future, although it may be shortened or
255 # the resource may be deleted prior to this time. For example, a user may
256 # request that a pod is deleted in 30 seconds. The Kubelet will react by
257 # sending a graceful termination signal to the containers in the pod. After
258 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
259 # to the container and after cleanup, remove the pod from the API. In the
260 # presence of network partitions, this object may still exist after this
261 # timestamp, until an administrator or automated process can determine the
262 # resource is fully terminated.
263 # If not set, graceful deletion of the object has not been requested.
264 #
265 # Populated by the system when a graceful deletion is requested.
266 # Read-only.
267 # More info:
268 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
269 &quot;ownerReferences&quot;: [ # (Optional)
270 #
271 # Cloud Run fully managed: not supported
272 #
273 # Cloud Run for Anthos: supported
274 #
275 # List of objects that own this object. If ALL objects in the list have
276 # been deleted, this object will be garbage collected.
277 { # OwnerReference contains enough information to let you identify an owning
278 # object. Currently, an owning object must be in the same namespace, so there
279 # is no namespace field.
280 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
281 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
282 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
283 # +optional
284 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
285 # More info:
286 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
287 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
288 # the owner cannot be deleted from the key-value store until this
289 # reference is removed.
290 # Defaults to false.
291 # To set this field, a user needs &quot;delete&quot; permission of the owner,
292 # otherwise 422 (Unprocessable Entity) will be returned.
293 # +optional
294 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
295 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
296 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
297 },
298 ],
299 },
300 &quot;status&quot;: { # Cloud Run fully managed: not supported # Status describes the current status of a Namespace.
301 # More info:
302 # https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
303 #
304 # Cloud Run on GKE: supported
305 #
306 # NamespaceStatus is information about the current status of a Namespace.
307 &quot;phase&quot;: &quot;A String&quot;, # Phase is the current lifecycle phase of the namespace.
308 # More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
309 },
310 &quot;spec&quot;: { # Cloud Run fully managed: not supported # Spec defines the behavior of the Namespace.
311 # More info:
312 # https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
313 #
314 # Cloud Run on GKE: supported
315 #
316 # NamespaceSpec describes the attributes on a Namespace.
317 &quot;finalizers&quot;: [ # Finalizers is an opaque list of values that must be empty to permanently
318 # remove object from storage. More info:
319 # https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
320 &quot;A String&quot;,
321 ],
322 },
323 }</pre>
324</div>
325
326<div class="method">
327 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
328 <pre>Rpc to update a namespace.
329
330Args:
331 name: string, Required. The name of the namespace being retrieved. If needed, replace
332{namespace_id} with the project ID. (required)
333 body: object, The request body.
334 The object takes the form of:
335
336{ # Cloud Run fully managed: not supported
337 #
338 # Cloud Run on GKE: supported
339 #
340 # Namespace provides a scope for Names.
341 # Use of multiple namespaces is optional.
342 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Standard object&#x27;s metadata.
343 # More info:
344 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
345 # persisted resources must have, which includes all objects users must create.
346 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
347 #
348 # CreationTimestamp is a timestamp representing the server time when this
349 # object was created. It is not guaranteed to be set in happens-before order
350 # across separate operations. Clients may not set this value. It is
351 # represented in RFC3339 form and is in UTC.
352 #
353 # Populated by the system.
354 # Read-only.
355 # Null for lists.
356 # More info:
357 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
358 &quot;labels&quot;: { # (Optional)
359 #
360 # Map of string keys and values that can be used to organize and categorize
361 # (scope and select) objects. May match selectors of replication controllers
362 # and routes.
363 # More info: http://kubernetes.io/docs/user-guide/labels
364 &quot;a_key&quot;: &quot;A String&quot;,
365 },
366 &quot;generation&quot;: 42, # (Optional)
367 #
368 # A sequence number representing a specific generation of the desired state.
369 # Populated by the system. Read-only.
370 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
371 #
372 # An opaque value that represents the internal version of this object that
373 # can be used by clients to determine when objects have changed. May be used
374 # for optimistic concurrency, change detection, and the watch operation on a
375 # resource or set of resources. Clients must treat these values as opaque and
376 # passed unmodified back to the server. They may only be valid for a
377 # particular resource or set of resources.
378 #
379 # Populated by the system.
380 # Read-only.
381 # Value must be treated as opaque by clients and .
382 # More info:
383 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
384 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
385 #
386 # SelfLink is a URL representing this object.
387 # Populated by the system.
388 # Read-only.
389 # string selfLink = 4;
390 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
391 #
392 # UID is the unique in time and space value for this object. It is typically
393 # generated by the server on successful creation of a resource and is not
394 # allowed to change on PUT operations.
395 #
396 # Populated by the system.
397 # Read-only.
398 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
399 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
400 # Cloud Run region. In Cloud Run the namespace must be equal to either the
401 # project ID or project number.
402 &quot;annotations&quot;: { # (Optional)
403 #
404 # Annotations is an unstructured key value map stored with a resource that
405 # may be set by external tools to store and retrieve arbitrary metadata. They
406 # are not queryable and should be preserved when modifying objects. More
407 # info: http://kubernetes.io/docs/user-guide/annotations
408 &quot;a_key&quot;: &quot;A String&quot;,
409 },
410 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
411 #
412 # Cloud Run fully managed: not supported
413 #
414 # Cloud Run for Anthos: supported
415 #
416 # GenerateName is an optional prefix, used by the server, to generate a
417 # unique name ONLY IF the Name field has not been provided. If this field is
418 # used, the name returned to the client will be different than the name
419 # passed. This value will also be combined with a unique suffix. The provided
420 # value has the same validation rules as the Name field, and may be truncated
421 # by the length of the suffix required to make the value unique on the
422 # server.
423 #
424 # If this field is specified and the generated name exists, the server will
425 # NOT return a 409 - instead, it will either return 201 Created or 500 with
426 # Reason ServerTimeout indicating a unique name could not be found in the
427 # time allotted, and the client should retry (optionally after the time
428 # indicated in the Retry-After header).
429 #
430 # Applied only if Name is not specified.
431 # More info:
432 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
433 # string generateName = 2;
434 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
435 # Is required when creating
436 # resources, although some resources may allow a client to request the
437 # generation of an appropriate name automatically. Name is primarily intended
438 # for creation idempotence and configuration definition. Cannot be updated.
439 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
440 # +optional
441 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
442 #
443 # Cloud Run fully managed: not supported
444 #
445 # Cloud Run for Anthos: supported
446 #
447 # Number of seconds allowed for this object to gracefully terminate before
448 # it will be removed from the system. Only set when deletionTimestamp is also
449 # set. May only be shortened. Read-only.
450 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
451 #
452 # Cloud Run fully managed: not supported
453 #
454 # Cloud Run for Anthos: supported
455 #
456 # The name of the cluster which the object belongs to.
457 # This is used to distinguish resources with same name and namespace in
458 # different clusters. This field is not set anywhere right now and apiserver
459 # is going to ignore it if set in create or update request.
460 &quot;finalizers&quot;: [ # (Optional)
461 #
462 # Cloud Run fully managed: not supported
463 #
464 # Cloud Run for Anthos: supported
465 #
466 # Must be empty before the object is deleted from the registry. Each entry
467 # is an identifier for the responsible component that will remove the entry
468 # from the list. If the deletionTimestamp of the object is non-nil, entries
469 # in this list can only be removed.
470 # +patchStrategy=merge
471 &quot;A String&quot;,
472 ],
473 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
474 #
475 # Cloud Run fully managed: not supported
476 #
477 # Cloud Run for Anthos: supported
478 #
479 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
480 # deleted. This field is set by the server when a graceful deletion is
481 # requested by the user, and is not directly settable by a client. The
482 # resource is expected to be deleted (no longer visible from resource lists,
483 # and not reachable by name) after the time in this field, once the
484 # finalizers list is empty. As long as the finalizers list contains items,
485 # deletion is blocked. Once the deletionTimestamp is set, this value may not
486 # be unset or be set further into the future, although it may be shortened or
487 # the resource may be deleted prior to this time. For example, a user may
488 # request that a pod is deleted in 30 seconds. The Kubelet will react by
489 # sending a graceful termination signal to the containers in the pod. After
490 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
491 # to the container and after cleanup, remove the pod from the API. In the
492 # presence of network partitions, this object may still exist after this
493 # timestamp, until an administrator or automated process can determine the
494 # resource is fully terminated.
495 # If not set, graceful deletion of the object has not been requested.
496 #
497 # Populated by the system when a graceful deletion is requested.
498 # Read-only.
499 # More info:
500 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
501 &quot;ownerReferences&quot;: [ # (Optional)
502 #
503 # Cloud Run fully managed: not supported
504 #
505 # Cloud Run for Anthos: supported
506 #
507 # List of objects that own this object. If ALL objects in the list have
508 # been deleted, this object will be garbage collected.
509 { # OwnerReference contains enough information to let you identify an owning
510 # object. Currently, an owning object must be in the same namespace, so there
511 # is no namespace field.
512 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
513 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
514 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
515 # +optional
516 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
517 # More info:
518 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
519 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
520 # the owner cannot be deleted from the key-value store until this
521 # reference is removed.
522 # Defaults to false.
523 # To set this field, a user needs &quot;delete&quot; permission of the owner,
524 # otherwise 422 (Unprocessable Entity) will be returned.
525 # +optional
526 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
527 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
528 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
529 },
530 ],
531 },
532 &quot;status&quot;: { # Cloud Run fully managed: not supported # Status describes the current status of a Namespace.
533 # More info:
534 # https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
535 #
536 # Cloud Run on GKE: supported
537 #
538 # NamespaceStatus is information about the current status of a Namespace.
539 &quot;phase&quot;: &quot;A String&quot;, # Phase is the current lifecycle phase of the namespace.
540 # More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
541 },
542 &quot;spec&quot;: { # Cloud Run fully managed: not supported # Spec defines the behavior of the Namespace.
543 # More info:
544 # https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
545 #
546 # Cloud Run on GKE: supported
547 #
548 # NamespaceSpec describes the attributes on a Namespace.
549 &quot;finalizers&quot;: [ # Finalizers is an opaque list of values that must be empty to permanently
550 # remove object from storage. More info:
551 # https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
552 &quot;A String&quot;,
553 ],
554 },
555}
556
557 updateMask: string, Required. Indicates which fields in the provided namespace to update.
558This field is currently unused.
559 x__xgafv: string, V1 error format.
560 Allowed values
561 1 - v1 error format
562 2 - v2 error format
563
564Returns:
565 An object of the form:
566
567 { # Cloud Run fully managed: not supported
568 #
569 # Cloud Run on GKE: supported
570 #
571 # Namespace provides a scope for Names.
572 # Use of multiple namespaces is optional.
573 &quot;metadata&quot;: { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Standard object&#x27;s metadata.
574 # More info:
575 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
576 # persisted resources must have, which includes all objects users must create.
577 &quot;creationTimestamp&quot;: &quot;A String&quot;, # (Optional)
578 #
579 # CreationTimestamp is a timestamp representing the server time when this
580 # object was created. It is not guaranteed to be set in happens-before order
581 # across separate operations. Clients may not set this value. It is
582 # represented in RFC3339 form and is in UTC.
583 #
584 # Populated by the system.
585 # Read-only.
586 # Null for lists.
587 # More info:
588 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
589 &quot;labels&quot;: { # (Optional)
590 #
591 # Map of string keys and values that can be used to organize and categorize
592 # (scope and select) objects. May match selectors of replication controllers
593 # and routes.
594 # More info: http://kubernetes.io/docs/user-guide/labels
595 &quot;a_key&quot;: &quot;A String&quot;,
596 },
597 &quot;generation&quot;: 42, # (Optional)
598 #
599 # A sequence number representing a specific generation of the desired state.
600 # Populated by the system. Read-only.
601 &quot;resourceVersion&quot;: &quot;A String&quot;, # (Optional)
602 #
603 # An opaque value that represents the internal version of this object that
604 # can be used by clients to determine when objects have changed. May be used
605 # for optimistic concurrency, change detection, and the watch operation on a
606 # resource or set of resources. Clients must treat these values as opaque and
607 # passed unmodified back to the server. They may only be valid for a
608 # particular resource or set of resources.
609 #
610 # Populated by the system.
611 # Read-only.
612 # Value must be treated as opaque by clients and .
613 # More info:
614 # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
615 &quot;selfLink&quot;: &quot;A String&quot;, # (Optional)
616 #
617 # SelfLink is a URL representing this object.
618 # Populated by the system.
619 # Read-only.
620 # string selfLink = 4;
621 &quot;uid&quot;: &quot;A String&quot;, # (Optional)
622 #
623 # UID is the unique in time and space value for this object. It is typically
624 # generated by the server on successful creation of a resource and is not
625 # allowed to change on PUT operations.
626 #
627 # Populated by the system.
628 # Read-only.
629 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
630 &quot;namespace&quot;: &quot;A String&quot;, # Namespace defines the space within each name must be unique, within a
631 # Cloud Run region. In Cloud Run the namespace must be equal to either the
632 # project ID or project number.
633 &quot;annotations&quot;: { # (Optional)
634 #
635 # Annotations is an unstructured key value map stored with a resource that
636 # may be set by external tools to store and retrieve arbitrary metadata. They
637 # are not queryable and should be preserved when modifying objects. More
638 # info: http://kubernetes.io/docs/user-guide/annotations
639 &quot;a_key&quot;: &quot;A String&quot;,
640 },
641 &quot;generateName&quot;: &quot;A String&quot;, # (Optional)
642 #
643 # Cloud Run fully managed: not supported
644 #
645 # Cloud Run for Anthos: supported
646 #
647 # GenerateName is an optional prefix, used by the server, to generate a
648 # unique name ONLY IF the Name field has not been provided. If this field is
649 # used, the name returned to the client will be different than the name
650 # passed. This value will also be combined with a unique suffix. The provided
651 # value has the same validation rules as the Name field, and may be truncated
652 # by the length of the suffix required to make the value unique on the
653 # server.
654 #
655 # If this field is specified and the generated name exists, the server will
656 # NOT return a 409 - instead, it will either return 201 Created or 500 with
657 # Reason ServerTimeout indicating a unique name could not be found in the
658 # time allotted, and the client should retry (optionally after the time
659 # indicated in the Retry-After header).
660 #
661 # Applied only if Name is not specified.
662 # More info:
663 # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
664 # string generateName = 2;
665 &quot;name&quot;: &quot;A String&quot;, # Name must be unique within a namespace, within a Cloud Run region.
666 # Is required when creating
667 # resources, although some resources may allow a client to request the
668 # generation of an appropriate name automatically. Name is primarily intended
669 # for creation idempotence and configuration definition. Cannot be updated.
670 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
671 # +optional
672 &quot;deletionGracePeriodSeconds&quot;: 42, # (Optional)
673 #
674 # Cloud Run fully managed: not supported
675 #
676 # Cloud Run for Anthos: supported
677 #
678 # Number of seconds allowed for this object to gracefully terminate before
679 # it will be removed from the system. Only set when deletionTimestamp is also
680 # set. May only be shortened. Read-only.
681 &quot;clusterName&quot;: &quot;A String&quot;, # (Optional)
682 #
683 # Cloud Run fully managed: not supported
684 #
685 # Cloud Run for Anthos: supported
686 #
687 # The name of the cluster which the object belongs to.
688 # This is used to distinguish resources with same name and namespace in
689 # different clusters. This field is not set anywhere right now and apiserver
690 # is going to ignore it if set in create or update request.
691 &quot;finalizers&quot;: [ # (Optional)
692 #
693 # Cloud Run fully managed: not supported
694 #
695 # Cloud Run for Anthos: supported
696 #
697 # Must be empty before the object is deleted from the registry. Each entry
698 # is an identifier for the responsible component that will remove the entry
699 # from the list. If the deletionTimestamp of the object is non-nil, entries
700 # in this list can only be removed.
701 # +patchStrategy=merge
702 &quot;A String&quot;,
703 ],
704 &quot;deletionTimestamp&quot;: &quot;A String&quot;, # (Optional)
705 #
706 # Cloud Run fully managed: not supported
707 #
708 # Cloud Run for Anthos: supported
709 #
710 # DeletionTimestamp is RFC 3339 date and time at which this resource will be
711 # deleted. This field is set by the server when a graceful deletion is
712 # requested by the user, and is not directly settable by a client. The
713 # resource is expected to be deleted (no longer visible from resource lists,
714 # and not reachable by name) after the time in this field, once the
715 # finalizers list is empty. As long as the finalizers list contains items,
716 # deletion is blocked. Once the deletionTimestamp is set, this value may not
717 # be unset or be set further into the future, although it may be shortened or
718 # the resource may be deleted prior to this time. For example, a user may
719 # request that a pod is deleted in 30 seconds. The Kubelet will react by
720 # sending a graceful termination signal to the containers in the pod. After
721 # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL)
722 # to the container and after cleanup, remove the pod from the API. In the
723 # presence of network partitions, this object may still exist after this
724 # timestamp, until an administrator or automated process can determine the
725 # resource is fully terminated.
726 # If not set, graceful deletion of the object has not been requested.
727 #
728 # Populated by the system when a graceful deletion is requested.
729 # Read-only.
730 # More info:
731 # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
732 &quot;ownerReferences&quot;: [ # (Optional)
733 #
734 # Cloud Run fully managed: not supported
735 #
736 # Cloud Run for Anthos: supported
737 #
738 # List of objects that own this object. If ALL objects in the list have
739 # been deleted, this object will be garbage collected.
740 { # OwnerReference contains enough information to let you identify an owning
741 # object. Currently, an owning object must be in the same namespace, so there
742 # is no namespace field.
743 &quot;uid&quot;: &quot;A String&quot;, # UID of the referent.
744 # More info: http://kubernetes.io/docs/user-guide/identifiers#uids
745 &quot;controller&quot;: True or False, # If true, this reference points to the managing controller.
746 # +optional
747 &quot;kind&quot;: &quot;A String&quot;, # Kind of the referent.
748 # More info:
749 # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
750 &quot;blockOwnerDeletion&quot;: True or False, # If true, AND if the owner has the &quot;foregroundDeletion&quot; finalizer, then
751 # the owner cannot be deleted from the key-value store until this
752 # reference is removed.
753 # Defaults to false.
754 # To set this field, a user needs &quot;delete&quot; permission of the owner,
755 # otherwise 422 (Unprocessable Entity) will be returned.
756 # +optional
757 &quot;apiVersion&quot;: &quot;A String&quot;, # API version of the referent.
758 &quot;name&quot;: &quot;A String&quot;, # Name of the referent.
759 # More info: http://kubernetes.io/docs/user-guide/identifiers#names
760 },
761 ],
762 },
763 &quot;status&quot;: { # Cloud Run fully managed: not supported # Status describes the current status of a Namespace.
764 # More info:
765 # https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
766 #
767 # Cloud Run on GKE: supported
768 #
769 # NamespaceStatus is information about the current status of a Namespace.
770 &quot;phase&quot;: &quot;A String&quot;, # Phase is the current lifecycle phase of the namespace.
771 # More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
772 },
773 &quot;spec&quot;: { # Cloud Run fully managed: not supported # Spec defines the behavior of the Namespace.
774 # More info:
775 # https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
776 #
777 # Cloud Run on GKE: supported
778 #
779 # NamespaceSpec describes the attributes on a Namespace.
780 &quot;finalizers&quot;: [ # Finalizers is an opaque list of values that must be empty to permanently
781 # remove object from storage. More info:
782 # https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
783 &quot;A String&quot;,
784 ],
785 },
786 }</pre>
787</div>
788
789</body></html>