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