Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, 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 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, 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_v1beta1.html">Cloud Run API</a> . <a href="run_v1beta1.customresourcedefinitions.html">customresourcedefinitions</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 78 | <code><a href="#list">list(watch=None, parent=None, labelSelector=None, resourceVersion=None, includeUninitialized=None, fieldSelector=None, continue=None, limit=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 79 | <p class="firstline">Rpc to list custom resource definitions.</p> |
| 80 | <h3>Method Details</h3> |
| 81 | <div class="method"> |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 82 | <code class="details" id="list">list(watch=None, parent=None, labelSelector=None, resourceVersion=None, includeUninitialized=None, fieldSelector=None, continue=None, limit=None, x__xgafv=None)</code> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 83 | <pre>Rpc to list custom resource definitions. |
| 84 | |
| 85 | Args: |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 86 | watch: boolean, Flag that indicates that the client expects to watch this resource as well. |
| 87 | Not currently used by Cloud Run. |
| 88 | parent: string, The project ID or project number from which the storages should |
| 89 | be listed. |
| 90 | labelSelector: string, Allows to filter resources based on a label. Supported operations are |
| 91 | =, !=, exists, in, and notIn. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 92 | resourceVersion: string, The baseline resource version from which the list or watch operation should |
| 93 | start. Not currently used by Cloud Run. |
| 94 | includeUninitialized: boolean, Not currently used by Cloud Run. |
| 95 | fieldSelector: string, Allows to filter resources based on a specific value for a field name. |
| 96 | Send this in a query string format. i.e. 'metadata.name%3Dlorem'. |
| 97 | Not currently used by Cloud Run. |
| 98 | continue: string, Optional encoded string to continue paging. |
| 99 | limit: integer, A parameter |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 100 | x__xgafv: string, V1 error format. |
| 101 | Allowed values |
| 102 | 1 - v1 error format |
| 103 | 2 - v2 error format |
| 104 | |
| 105 | Returns: |
| 106 | An object of the form: |
| 107 | |
| 108 | { |
| 109 | "apiVersion": "A String", # The API version for this call such as "k8s.apiextensions.io/v1beta1". |
| 110 | "kind": "A String", # The kind of this resource, in this case "CustomResourceDefinitionList". |
| 111 | "unreachable": [ # Locations that could not be reached. |
| 112 | "A String", |
| 113 | ], |
| 114 | "metadata": { # ListMeta describes metadata that synthetic resources must have, including # Metadata associated with this CustomResourceDefinition list. |
| 115 | # lists and various status objects. A resource may have only one of |
| 116 | # {ObjectMeta, ListMeta}. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 117 | "resourceVersion": "A String", # String that identifies the server's internal version of this object that |
| 118 | # can be used by clients to determine when objects have changed. Value must |
| 119 | # be treated as opaque by clients and passed unmodified back to the server. |
| 120 | # Populated by the system. |
| 121 | # Read-only. |
| 122 | # More info: |
| 123 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency |
| 124 | # +optional |
| 125 | "continue": "A String", # continue may be set if the user set a limit on the number of items |
| 126 | # returned, and indicates that the server has more data available. The value |
| 127 | # is opaque and may be used to issue another request to the endpoint that |
| 128 | # served this list to retrieve the next set of available objects. Continuing |
| 129 | # a list may not be possible if the server configuration has changed or more |
| 130 | # than a few minutes have passed. The resourceVersion field returned when |
| 131 | # using this continue value will be identical to the value in the first |
| 132 | # response. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 133 | "selfLink": "A String", # SelfLink is a URL representing this object. |
| 134 | # Populated by the system. |
| 135 | # Read-only. |
| 136 | # +optional |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 137 | }, |
| 138 | "items": [ # List of CustomResourceDefinitions. |
| 139 | { # CustomResourceDefinition represents a resource that should be exposed on the |
| 140 | # API server. Its name MUST be in the format |
| 141 | # <.spec.name>.<.spec.group>. |
| 142 | "apiVersion": "A String", # The API version for this call such as "k8s.apiextensions.io/v1beta1". |
| 143 | "spec": { # CustomResourceDefinitionSpec describes how a user wants their resource to # Spec describes how the user wants the resources to appear |
| 144 | # appear |
| 145 | "validation": { # CustomResourceValidation is a list of validation methods for CustomResources. # Validation describes the validation methods for CustomResources |
| 146 | # +optional |
| 147 | "openAPIV3Schema": { # JSONSchemaProps is a JSON-Schema following Specification Draft 4 # OpenAPIV3Schema is the OpenAPI v3 schema to be validated against. |
| 148 | # +optional |
| 149 | # (http://json-schema.org/). |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 150 | "description": "A String", |
| 151 | "example": { # JSON represents any valid JSON value. |
| 152 | # These types are supported: bool, int64, float64, string, []interface{}, |
| 153 | # map[string]interface{} and nil. |
| 154 | "raw": "A String", |
| 155 | }, |
| 156 | "default": { # JSON represents any valid JSON value. |
| 157 | # These types are supported: bool, int64, float64, string, []interface{}, |
| 158 | # map[string]interface{} and nil. |
| 159 | "raw": "A String", |
| 160 | }, |
| 161 | "allOf": [ |
| 162 | # Object with schema name: JSONSchemaProps |
| 163 | ], |
| 164 | "maxLength": "A String", |
| 165 | "maxProperties": "A String", |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 166 | "multipleOf": 3.14, |
| 167 | "maximum": 3.14, |
| 168 | "items": { # JSONSchemaPropsOrArray represents a value that can either be a |
| 169 | # JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization |
| 170 | # purposes. |
| 171 | "jsonSchemas": [ |
| 172 | # Object with schema name: JSONSchemaProps |
| 173 | ], |
| 174 | "schema": # Object with schema name: JSONSchemaProps |
| 175 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 176 | "externalDocs": { # ExternalDocumentation allows referencing an external resource for extended |
| 177 | # documentation. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 178 | "description": "A String", |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 179 | "url": "A String", |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 180 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 181 | "schema": "A String", |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 182 | "id": "A String", |
| 183 | "minimum": 3.14, |
| 184 | "properties": { |
| 185 | "a_key": # Object with schema name: JSONSchemaProps |
| 186 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 187 | "pattern": "A String", |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 188 | "ref": "A String", |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 189 | "format": "A String", |
| 190 | "minLength": "A String", |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 191 | "type": "A String", |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 192 | "dependencies": { |
| 193 | "a_key": { # JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 194 | "schema": # Object with schema name: JSONSchemaProps |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 195 | "property": [ |
| 196 | "A String", |
| 197 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 198 | }, |
| 199 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 200 | "not": # Object with schema name: JSONSchemaProps |
| 201 | "minProperties": "A String", |
| 202 | "exclusiveMaximum": True or False, |
| 203 | "patternProperties": { |
| 204 | "a_key": # Object with schema name: JSONSchemaProps |
| 205 | }, |
| 206 | "additionalProperties": { # JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. |
| 207 | # Defaults to true for the boolean property. |
| 208 | "allows": True or False, |
| 209 | "schema": # Object with schema name: JSONSchemaProps |
| 210 | }, |
| 211 | "maxItems": "A String", |
| 212 | "exclusiveMinimum": True or False, |
| 213 | "additionalItems": { # JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. |
| 214 | # Defaults to true for the boolean property. |
| 215 | "allows": True or False, |
| 216 | "schema": # Object with schema name: JSONSchemaProps |
| 217 | }, |
| 218 | "oneOf": [ |
| 219 | # Object with schema name: JSONSchemaProps |
| 220 | ], |
| 221 | "required": [ |
| 222 | "A String", |
| 223 | ], |
| 224 | "minItems": "A String", |
| 225 | "title": "A String", |
| 226 | "definitions": { |
| 227 | "a_key": # Object with schema name: JSONSchemaProps |
| 228 | }, |
| 229 | "enum": [ |
| 230 | "A String", |
| 231 | ], |
| 232 | "uniqueItems": True or False, |
| 233 | "anyOf": [ |
| 234 | # Object with schema name: JSONSchemaProps |
| 235 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 236 | }, |
| 237 | }, |
| 238 | "group": "A String", # Group is the group this resource belongs in |
| 239 | "version": "A String", # Version is the version this resource belongs in |
| 240 | # Should be always first item in Versions field if provided. |
| 241 | # Optional, but at least one of Version or Versions must be set. |
| 242 | # Deprecated: Please use `Versions`. |
| 243 | # +optional |
| 244 | "names": { # CustomResourceDefinitionNames indicates the names to serve this # Names are the names used to describe this custom resource |
| 245 | # CustomResourceDefinition |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 246 | "kind": "A String", # Kind is the serialized kind of the resource. It is normally CamelCase and |
| 247 | # singular. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 248 | "listKind": "A String", # ListKind is the serialized kind of the list for this resource. Defaults to |
| 249 | # <kind>List. +optional |
| 250 | "shortNames": [ # ShortNames are short names for the resource. It must be all lowercase. |
| 251 | # +optional |
| 252 | "A String", |
| 253 | ], |
| 254 | "singular": "A String", # Singular is the singular name of the resource. It must be all lowercase |
| 255 | # Defaults to lowercased <kind> +optional |
| 256 | "plural": "A String", # Plural is the plural name of the resource to serve. It must match the name |
| 257 | # of the CustomResourceDefinition-registration too: plural.group and it must |
| 258 | # be all lowercase. |
| 259 | "categories": [ # Categories is a list of grouped resources custom resources belong to (e.g. |
| 260 | # 'all') +optional |
| 261 | "A String", |
| 262 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 263 | }, |
| 264 | "subresources": { # CustomResourceSubresources defines the status and scale subresources for # Subresources describes the subresources for CustomResources |
| 265 | # +optional |
| 266 | # CustomResources. |
| 267 | "status": { # CustomResourceSubresourceStatus defines how to serve the status subresource # Status denotes the status subresource for CustomResources |
| 268 | # +optional |
| 269 | # for CustomResources. Status is represented by the `.status` JSON path inside |
| 270 | # of a CustomResource. When set, |
| 271 | # * exposes a /status subresource for the custom resource |
| 272 | # * PUT requests to the /status subresource take a custom resource object, and |
| 273 | # ignore changes to anything except the status stanza |
| 274 | # * PUT/POST/PATCH requests to the custom resource ignore changes to the status |
| 275 | # stanza |
| 276 | }, |
| 277 | "scale": { # CustomResourceSubresourceScale defines how to serve the scale subresource for # Scale denotes the scale subresource for CustomResources |
| 278 | # +optional |
| 279 | # CustomResources. |
| 280 | "statusReplicasPath": "A String", # StatusReplicasPath defines the JSON path inside of a CustomResource that |
| 281 | # corresponds to Scale.Status.Replicas. Only JSON paths without the array |
| 282 | # notation are allowed. Must be a JSON Path under .status. If there is no |
| 283 | # value under the given path in the CustomResource, the status replica value |
| 284 | # in the /scale subresource will default to 0. |
| 285 | "labelSelectorPath": "A String", # LabelSelectorPath defines the JSON path inside of a CustomResource that |
| 286 | # corresponds to Scale.Status.Selector. Only JSON paths without the array |
| 287 | # notation are allowed. Must be a JSON Path under .status. Must be set to |
| 288 | # work with HPA. If there is no value under the given path in the |
| 289 | # CustomResource, the status label selector value in the /scale subresource |
| 290 | # will default to the empty string. +optional |
| 291 | "specReplicasPath": "A String", # SpecReplicasPath defines the JSON path inside of a CustomResource that |
| 292 | # corresponds to Scale.Spec.Replicas. Only JSON paths without the array |
| 293 | # notation are allowed. Must be a JSON Path under .spec. If there is no value |
| 294 | # under the given path in the CustomResource, the /scale subresource will |
| 295 | # return an error on GET. |
| 296 | }, |
| 297 | }, |
| 298 | "scope": "A String", # Scope indicates whether this resource is cluster or namespace scoped. |
| 299 | # Default is namespaced |
| 300 | "versions": [ # Versions is the list of all supported versions for this resource. |
| 301 | # If Version field is provided, this field is optional. |
| 302 | # Validation: All versions must use the same validation schema for now. i.e., |
| 303 | # top level Validation field is applied to all of these versions. Order: The |
| 304 | # version name will be used to compute the order. If the version string is |
| 305 | # "kube-like", it will sort above non "kube-like" version strings, which are |
| 306 | # ordered lexicographically. "Kube-like" versions start with a "v", then are |
| 307 | # followed by a number (the major version), then optionally the string |
| 308 | # "alpha" or "beta" and another number (the minor version). These are sorted |
| 309 | # first by GA > beta > alpha (where GA is a version with no suffix such as |
| 310 | # beta or alpha), and then by comparing major version, then minor version. An |
| 311 | # example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, |
| 312 | # v12alpha1, v11alpha2, foo1, foo10. +optional |
| 313 | { |
| 314 | "name": "A String", # Name is the version name, e.g. “v1”, “v2beta1”, etc. |
| 315 | "served": True or False, # Served is a flag enabling/disabling this version from being served via REST |
| 316 | # APIs |
| 317 | "storage": True or False, # Storage flags the version as storage version. There must be exactly one |
| 318 | # flagged as storage version. |
| 319 | }, |
| 320 | ], |
| 321 | "additionalPrinterColumns": [ # AdditionalPrinterColumns are additional columns shown e.g. in kubectl next |
| 322 | # to the name. Defaults to a created-at column. +optional |
| 323 | { # CustomResourceColumnDefinition specifies a column for server side printing. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 324 | "jsonPath": "A String", # JSONPath is a simple JSON path, i.e. with array notation. |
| 325 | "priority": 42, # priority is an integer defining the relative importance of this column |
| 326 | # compared to others. Lower numbers are considered higher priority. Columns |
| 327 | # that may be omitted in limited space scenarios should be given a higher |
| 328 | # priority. +optional |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 329 | "description": "A String", # description is a human readable description of this column. |
| 330 | # +optional |
| 331 | "name": "A String", # name is a human readable name for the column. |
| 332 | "format": "A String", # format is an optional OpenAPI type definition for this column. The 'name' |
| 333 | # format is applied to the primary identifier column to assist in clients |
| 334 | # identifying column is the resource name. See |
| 335 | # https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types |
| 336 | # for more. +optional |
| 337 | "type": "A String", # type is an OpenAPI type definition for this column. |
| 338 | # See |
| 339 | # https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types |
| 340 | # for more. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 341 | }, |
| 342 | ], |
| 343 | }, |
| 344 | "kind": "A String", # The kind of resource, in this case always "CustomResourceDefinition". |
| 345 | "metadata": { # k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all # Metadata associated with this CustomResourceDefinition. |
| 346 | # persisted resources must have, which includes all objects users must create. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 347 | "generateName": "A String", # (Optional) |
| 348 | # |
| 349 | # Cloud Run fully managed: not supported |
| 350 | # |
| 351 | # Cloud Run for Anthos: supported |
| 352 | # |
| 353 | # GenerateName is an optional prefix, used by the server, to generate a |
| 354 | # unique name ONLY IF the Name field has not been provided. If this field is |
| 355 | # used, the name returned to the client will be different than the name |
| 356 | # passed. This value will also be combined with a unique suffix. The provided |
| 357 | # value has the same validation rules as the Name field, and may be truncated |
| 358 | # by the length of the suffix required to make the value unique on the |
| 359 | # server. |
| 360 | # |
| 361 | # If this field is specified and the generated name exists, the server will |
| 362 | # NOT return a 409 - instead, it will either return 201 Created or 500 with |
| 363 | # Reason ServerTimeout indicating a unique name could not be found in the |
| 364 | # time allotted, and the client should retry (optionally after the time |
| 365 | # indicated in the Retry-After header). |
| 366 | # |
| 367 | # Applied only if Name is not specified. |
| 368 | # More info: |
| 369 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency |
| 370 | # string generateName = 2; |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 371 | "name": "A String", # Name must be unique within a namespace, within a Cloud Run region. |
| 372 | # Is required when creating |
| 373 | # resources, although some resources may allow a client to request the |
| 374 | # generation of an appropriate name automatically. Name is primarily intended |
| 375 | # for creation idempotence and configuration definition. Cannot be updated. |
| 376 | # More info: http://kubernetes.io/docs/user-guide/identifiers#names |
| 377 | # +optional |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 378 | "deletionGracePeriodSeconds": 42, # (Optional) |
| 379 | # |
| 380 | # Cloud Run fully managed: not supported |
| 381 | # |
| 382 | # Cloud Run for Anthos: supported |
| 383 | # |
| 384 | # Number of seconds allowed for this object to gracefully terminate before |
| 385 | # it will be removed from the system. Only set when deletionTimestamp is also |
| 386 | # set. May only be shortened. Read-only. |
| 387 | "clusterName": "A String", # (Optional) |
| 388 | # |
| 389 | # Cloud Run fully managed: not supported |
| 390 | # |
| 391 | # Cloud Run for Anthos: supported |
| 392 | # |
| 393 | # The name of the cluster which the object belongs to. |
| 394 | # This is used to distinguish resources with same name and namespace in |
| 395 | # different clusters. This field is not set anywhere right now and apiserver |
| 396 | # is going to ignore it if set in create or update request. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 397 | "finalizers": [ # (Optional) |
| 398 | # |
| 399 | # Cloud Run fully managed: not supported |
| 400 | # |
| 401 | # Cloud Run for Anthos: supported |
| 402 | # |
| 403 | # Must be empty before the object is deleted from the registry. Each entry |
| 404 | # is an identifier for the responsible component that will remove the entry |
| 405 | # from the list. If the deletionTimestamp of the object is non-nil, entries |
| 406 | # in this list can only be removed. |
| 407 | # +patchStrategy=merge |
| 408 | "A String", |
| 409 | ], |
| 410 | "deletionTimestamp": "A String", # (Optional) |
| 411 | # |
| 412 | # Cloud Run fully managed: not supported |
| 413 | # |
| 414 | # Cloud Run for Anthos: supported |
| 415 | # |
| 416 | # DeletionTimestamp is RFC 3339 date and time at which this resource will be |
| 417 | # deleted. This field is set by the server when a graceful deletion is |
| 418 | # requested by the user, and is not directly settable by a client. The |
| 419 | # resource is expected to be deleted (no longer visible from resource lists, |
| 420 | # and not reachable by name) after the time in this field, once the |
| 421 | # finalizers list is empty. As long as the finalizers list contains items, |
| 422 | # deletion is blocked. Once the deletionTimestamp is set, this value may not |
| 423 | # be unset or be set further into the future, although it may be shortened or |
| 424 | # the resource may be deleted prior to this time. For example, a user may |
| 425 | # request that a pod is deleted in 30 seconds. The Kubelet will react by |
| 426 | # sending a graceful termination signal to the containers in the pod. After |
| 427 | # that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) |
| 428 | # to the container and after cleanup, remove the pod from the API. In the |
| 429 | # presence of network partitions, this object may still exist after this |
| 430 | # timestamp, until an administrator or automated process can determine the |
| 431 | # resource is fully terminated. |
| 432 | # If not set, graceful deletion of the object has not been requested. |
| 433 | # |
| 434 | # Populated by the system when a graceful deletion is requested. |
| 435 | # Read-only. |
| 436 | # More info: |
| 437 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 438 | "ownerReferences": [ # (Optional) |
| 439 | # |
| 440 | # Cloud Run fully managed: not supported |
| 441 | # |
| 442 | # Cloud Run for Anthos: supported |
| 443 | # |
| 444 | # List of objects that own this object. If ALL objects in the list have |
| 445 | # been deleted, this object will be garbage collected. |
| 446 | { # OwnerReference contains enough information to let you identify an owning |
| 447 | # object. Currently, an owning object must be in the same namespace, so there |
| 448 | # is no namespace field. |
| 449 | "apiVersion": "A String", # API version of the referent. |
| 450 | "name": "A String", # Name of the referent. |
| 451 | # More info: http://kubernetes.io/docs/user-guide/identifiers#names |
| 452 | "uid": "A String", # UID of the referent. |
| 453 | # More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
| 454 | "controller": True or False, # If true, this reference points to the managing controller. |
| 455 | # +optional |
| 456 | "kind": "A String", # Kind of the referent. |
| 457 | # More info: |
| 458 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds |
| 459 | "blockOwnerDeletion": True or False, # If true, AND if the owner has the "foregroundDeletion" finalizer, then |
| 460 | # the owner cannot be deleted from the key-value store until this |
| 461 | # reference is removed. |
| 462 | # Defaults to false. |
| 463 | # To set this field, a user needs "delete" permission of the owner, |
| 464 | # otherwise 422 (Unprocessable Entity) will be returned. |
| 465 | # +optional |
| 466 | }, |
| 467 | ], |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 468 | "creationTimestamp": "A String", # (Optional) |
| 469 | # |
| 470 | # CreationTimestamp is a timestamp representing the server time when this |
| 471 | # object was created. It is not guaranteed to be set in happens-before order |
| 472 | # across separate operations. Clients may not set this value. It is |
| 473 | # represented in RFC3339 form and is in UTC. |
| 474 | # |
| 475 | # Populated by the system. |
| 476 | # Read-only. |
| 477 | # Null for lists. |
| 478 | # More info: |
| 479 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata |
| 480 | "labels": { # (Optional) |
| 481 | # |
| 482 | # Map of string keys and values that can be used to organize and categorize |
| 483 | # (scope and select) objects. May match selectors of replication controllers |
| 484 | # and routes. |
| 485 | # More info: http://kubernetes.io/docs/user-guide/labels |
| 486 | "a_key": "A String", |
| 487 | }, |
| 488 | "generation": 42, # (Optional) |
| 489 | # |
| 490 | # A sequence number representing a specific generation of the desired state. |
| 491 | # Populated by the system. Read-only. |
| 492 | "resourceVersion": "A String", # (Optional) |
| 493 | # |
| 494 | # An opaque value that represents the internal version of this object that |
| 495 | # can be used by clients to determine when objects have changed. May be used |
| 496 | # for optimistic concurrency, change detection, and the watch operation on a |
| 497 | # resource or set of resources. Clients must treat these values as opaque and |
| 498 | # passed unmodified back to the server. They may only be valid for a |
| 499 | # particular resource or set of resources. |
| 500 | # |
| 501 | # Populated by the system. |
| 502 | # Read-only. |
| 503 | # Value must be treated as opaque by clients and . |
| 504 | # More info: |
| 505 | # https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency |
| 506 | "uid": "A String", # (Optional) |
| 507 | # |
| 508 | # UID is the unique in time and space value for this object. It is typically |
| 509 | # generated by the server on successful creation of a resource and is not |
| 510 | # allowed to change on PUT operations. |
| 511 | # |
| 512 | # Populated by the system. |
| 513 | # Read-only. |
| 514 | # More info: http://kubernetes.io/docs/user-guide/identifiers#uids |
| 515 | "selfLink": "A String", # (Optional) |
| 516 | # |
| 517 | # SelfLink is a URL representing this object. |
| 518 | # Populated by the system. |
| 519 | # Read-only. |
| 520 | # string selfLink = 4; |
| 521 | "namespace": "A String", # Namespace defines the space within each name must be unique, within a |
| 522 | # Cloud Run region. In Cloud Run the namespace must be equal to either the |
| 523 | # project ID or project number. |
| 524 | "annotations": { # (Optional) |
| 525 | # |
| 526 | # Annotations is an unstructured key value map stored with a resource that |
| 527 | # may be set by external tools to store and retrieve arbitrary metadata. They |
| 528 | # are not queryable and should be preserved when modifying objects. More |
| 529 | # info: http://kubernetes.io/docs/user-guide/annotations |
| 530 | "a_key": "A String", |
| 531 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 532 | }, |
| 533 | }, |
| 534 | ], |
| 535 | }</pre> |
| 536 | </div> |
| 537 | |
| 538 | </body></html> |