Yoshi Automation Bot | b6971b0 | 2020-11-26 17:16:03 -0800 | [diff] [blame] | 1 | { |
| 2 | "description": "Deploy and manage user provided container images that scale automatically based on HTTP traffic.", |
| 3 | "auth": { |
| 4 | "oauth2": { |
| 5 | "scopes": { |
| 6 | "https://www.googleapis.com/auth/cloud-platform": { |
| 7 | "description": "View and manage your data across Google Cloud Platform services" |
| 8 | } |
| 9 | } |
| 10 | } |
| 11 | }, |
| 12 | "id": "run:v1beta1", |
| 13 | "mtlsRootUrl": "https://run.mtls.googleapis.com/", |
| 14 | "version": "v1beta1", |
| 15 | "basePath": "", |
| 16 | "protocol": "rest", |
| 17 | "name": "run", |
| 18 | "canonicalName": "Cloud Run", |
| 19 | "servicePath": "", |
| 20 | "resources": { |
| 21 | "namespaces": { |
| 22 | "resources": { |
| 23 | "customresourcedefinitions": { |
| 24 | "methods": { |
| 25 | "get": { |
| 26 | "description": "Rpc to get information about a CustomResourceDefinition.", |
| 27 | "httpMethod": "GET", |
| 28 | "id": "run.namespaces.customresourcedefinitions.get", |
| 29 | "path": "apis/apiextensions.k8s.io/v1beta1/{+name}", |
| 30 | "flatPath": "apis/apiextensions.k8s.io/v1beta1/namespaces/{namespacesId}/customresourcedefinitions/{customresourcedefinitionsId}", |
| 31 | "parameters": { |
| 32 | "name": { |
| 33 | "location": "path", |
| 34 | "required": true, |
| 35 | "type": "string", |
| 36 | "pattern": "^namespaces/[^/]+/customresourcedefinitions/[^/]+$", |
| 37 | "description": "The name of the CustomResourceDefinition being retrieved. If needed, replace {namespace_id} with the project ID." |
| 38 | } |
| 39 | }, |
| 40 | "parameterOrder": [ |
| 41 | "name" |
| 42 | ], |
| 43 | "scopes": [ |
| 44 | "https://www.googleapis.com/auth/cloud-platform" |
| 45 | ], |
| 46 | "response": { |
| 47 | "$ref": "CustomResourceDefinition" |
| 48 | } |
| 49 | } |
| 50 | } |
| 51 | } |
| 52 | } |
| 53 | }, |
| 54 | "customresourcedefinitions": { |
| 55 | "methods": { |
| 56 | "list": { |
| 57 | "parameterOrder": [], |
| 58 | "path": "apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions", |
| 59 | "description": "Rpc to list custom resource definitions.", |
| 60 | "id": "run.customresourcedefinitions.list", |
| 61 | "httpMethod": "GET", |
| 62 | "parameters": { |
| 63 | "limit": { |
| 64 | "type": "integer", |
| 65 | "format": "int32", |
| 66 | "location": "query" |
| 67 | }, |
| 68 | "labelSelector": { |
| 69 | "description": "Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.", |
| 70 | "type": "string", |
| 71 | "location": "query" |
| 72 | }, |
| 73 | "watch": { |
| 74 | "description": "Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.", |
| 75 | "type": "boolean", |
| 76 | "location": "query" |
| 77 | }, |
| 78 | "continue": { |
| 79 | "location": "query", |
| 80 | "type": "string", |
| 81 | "description": "Optional encoded string to continue paging." |
| 82 | }, |
| 83 | "parent": { |
| 84 | "type": "string", |
| 85 | "description": "The project ID or project number from which the storages should be listed.", |
| 86 | "location": "query" |
| 87 | }, |
| 88 | "fieldSelector": { |
| 89 | "location": "query", |
| 90 | "type": "string", |
| 91 | "description": "Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run." |
| 92 | }, |
| 93 | "includeUninitialized": { |
| 94 | "type": "boolean", |
| 95 | "description": "Not currently used by Cloud Run.", |
| 96 | "location": "query" |
| 97 | }, |
| 98 | "resourceVersion": { |
| 99 | "description": "The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.", |
| 100 | "type": "string", |
| 101 | "location": "query" |
| 102 | } |
| 103 | }, |
| 104 | "scopes": [ |
| 105 | "https://www.googleapis.com/auth/cloud-platform" |
| 106 | ], |
| 107 | "response": { |
| 108 | "$ref": "ListCustomResourceDefinitionsResponse" |
| 109 | }, |
| 110 | "flatPath": "apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions" |
| 111 | } |
| 112 | } |
| 113 | }, |
| 114 | "projects": { |
| 115 | "resources": { |
| 116 | "locations": { |
| 117 | "resources": { |
| 118 | "customresourcedefinitions": { |
| 119 | "methods": { |
| 120 | "list": { |
| 121 | "path": "v1beta1/{+parent}/customresourcedefinitions", |
| 122 | "parameterOrder": [ |
| 123 | "parent" |
| 124 | ], |
| 125 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/customresourcedefinitions", |
| 126 | "id": "run.projects.locations.customresourcedefinitions.list", |
| 127 | "description": "Rpc to list custom resource definitions.", |
| 128 | "scopes": [ |
| 129 | "https://www.googleapis.com/auth/cloud-platform" |
| 130 | ], |
| 131 | "httpMethod": "GET", |
| 132 | "response": { |
| 133 | "$ref": "ListCustomResourceDefinitionsResponse" |
| 134 | }, |
| 135 | "parameters": { |
| 136 | "continue": { |
| 137 | "description": "Optional encoded string to continue paging.", |
| 138 | "location": "query", |
| 139 | "type": "string" |
| 140 | }, |
| 141 | "parent": { |
| 142 | "description": "The project ID or project number from which the storages should be listed.", |
| 143 | "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 144 | "required": true, |
| 145 | "type": "string", |
| 146 | "location": "path" |
| 147 | }, |
| 148 | "limit": { |
| 149 | "format": "int32", |
| 150 | "type": "integer", |
| 151 | "location": "query" |
| 152 | }, |
| 153 | "includeUninitialized": { |
| 154 | "type": "boolean", |
| 155 | "description": "Not currently used by Cloud Run.", |
| 156 | "location": "query" |
| 157 | }, |
| 158 | "resourceVersion": { |
| 159 | "description": "The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.", |
| 160 | "location": "query", |
| 161 | "type": "string" |
| 162 | }, |
| 163 | "labelSelector": { |
| 164 | "type": "string", |
| 165 | "location": "query", |
| 166 | "description": "Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn." |
| 167 | }, |
| 168 | "fieldSelector": { |
| 169 | "type": "string", |
| 170 | "description": "Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.", |
| 171 | "location": "query" |
| 172 | }, |
| 173 | "watch": { |
| 174 | "description": "Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.", |
| 175 | "location": "query", |
| 176 | "type": "boolean" |
| 177 | } |
| 178 | } |
| 179 | }, |
| 180 | "get": { |
| 181 | "parameters": { |
| 182 | "name": { |
| 183 | "location": "path", |
| 184 | "description": "The name of the CustomResourceDefinition being retrieved. If needed, replace {namespace_id} with the project ID.", |
| 185 | "type": "string", |
| 186 | "required": true, |
| 187 | "pattern": "^projects/[^/]+/locations/[^/]+/customresourcedefinitions/[^/]+$" |
| 188 | } |
| 189 | }, |
| 190 | "path": "v1beta1/{+name}", |
| 191 | "parameterOrder": [ |
| 192 | "name" |
| 193 | ], |
| 194 | "description": "Rpc to get information about a CustomResourceDefinition.", |
| 195 | "scopes": [ |
| 196 | "https://www.googleapis.com/auth/cloud-platform" |
| 197 | ], |
| 198 | "response": { |
| 199 | "$ref": "CustomResourceDefinition" |
| 200 | }, |
| 201 | "flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/customresourcedefinitions/{customresourcedefinitionsId}", |
| 202 | "id": "run.projects.locations.customresourcedefinitions.get", |
| 203 | "httpMethod": "GET" |
| 204 | } |
| 205 | } |
| 206 | } |
| 207 | } |
| 208 | } |
| 209 | } |
| 210 | } |
| 211 | }, |
| 212 | "ownerName": "Google", |
| 213 | "ownerDomain": "google.com", |
| 214 | "fullyEncodeReservedExpansion": true, |
| 215 | "title": "Cloud Run Admin API", |
| 216 | "parameters": { |
| 217 | "quotaUser": { |
| 218 | "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
| 219 | "location": "query", |
| 220 | "type": "string" |
| 221 | }, |
| 222 | "uploadType": { |
| 223 | "type": "string", |
| 224 | "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| 225 | "location": "query" |
| 226 | }, |
| 227 | "callback": { |
| 228 | "description": "JSONP", |
| 229 | "type": "string", |
| 230 | "location": "query" |
| 231 | }, |
| 232 | "prettyPrint": { |
| 233 | "description": "Returns response with indentations and line breaks.", |
| 234 | "type": "boolean", |
| 235 | "default": "true", |
| 236 | "location": "query" |
| 237 | }, |
| 238 | "$.xgafv": { |
| 239 | "description": "V1 error format.", |
| 240 | "enum": [ |
| 241 | "1", |
| 242 | "2" |
| 243 | ], |
| 244 | "enumDescriptions": [ |
| 245 | "v1 error format", |
| 246 | "v2 error format" |
| 247 | ], |
| 248 | "location": "query", |
| 249 | "type": "string" |
| 250 | }, |
| 251 | "fields": { |
| 252 | "type": "string", |
| 253 | "location": "query", |
| 254 | "description": "Selector specifying which fields to include in a partial response." |
| 255 | }, |
| 256 | "key": { |
| 257 | "location": "query", |
| 258 | "type": "string", |
| 259 | "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token." |
| 260 | }, |
| 261 | "alt": { |
| 262 | "default": "json", |
| 263 | "location": "query", |
| 264 | "enum": [ |
| 265 | "json", |
| 266 | "media", |
| 267 | "proto" |
| 268 | ], |
| 269 | "description": "Data format for response.", |
| 270 | "enumDescriptions": [ |
| 271 | "Responses with Content-Type of application/json", |
| 272 | "Media download with context-dependent Content-Type", |
| 273 | "Responses with Content-Type of application/x-protobuf" |
| 274 | ], |
| 275 | "type": "string" |
| 276 | }, |
| 277 | "upload_protocol": { |
| 278 | "location": "query", |
| 279 | "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
| 280 | "type": "string" |
| 281 | }, |
| 282 | "oauth_token": { |
| 283 | "description": "OAuth 2.0 token for the current user.", |
| 284 | "location": "query", |
| 285 | "type": "string" |
| 286 | }, |
| 287 | "access_token": { |
| 288 | "type": "string", |
| 289 | "location": "query", |
| 290 | "description": "OAuth access token." |
| 291 | } |
| 292 | }, |
| 293 | "icons": { |
| 294 | "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 295 | "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 296 | }, |
| 297 | "baseUrl": "https://run.googleapis.com/", |
| 298 | "rootUrl": "https://run.googleapis.com/", |
| 299 | "schemas": { |
| 300 | "CustomResourceDefinitionSpec": { |
| 301 | "properties": { |
| 302 | "subresources": { |
| 303 | "$ref": "CustomResourceSubresources", |
| 304 | "description": "Subresources describes the subresources for CustomResources +optional" |
| 305 | }, |
| 306 | "version": { |
| 307 | "description": "Version is the version this resource belongs in Should be always first item in Versions field if provided. Optional, but at least one of Version or Versions must be set. Deprecated: Please use `Versions`. +optional", |
| 308 | "type": "string" |
| 309 | }, |
| 310 | "scope": { |
| 311 | "type": "string", |
| 312 | "description": "Scope indicates whether this resource is cluster or namespace scoped. Default is namespaced" |
| 313 | }, |
| 314 | "validation": { |
| 315 | "description": "Validation describes the validation methods for CustomResources +optional", |
| 316 | "$ref": "CustomResourceValidation" |
| 317 | }, |
| 318 | "names": { |
| 319 | "$ref": "CustomResourceDefinitionNames", |
| 320 | "description": "Names are the names used to describe this custom resource" |
| 321 | }, |
| 322 | "versions": { |
| 323 | "type": "array", |
| 324 | "items": { |
| 325 | "$ref": "CustomResourceDefinitionVersion" |
| 326 | }, |
| 327 | "description": "Versions is the list of all supported versions for this resource. If Version field is provided, this field is optional. Validation: All versions must use the same validation schema for now. i.e., top level Validation field is applied to all of these versions. Order: The version name will be used to compute the order. If the version string is \"kube-like\", it will sort above non \"kube-like\" version strings, which are ordered lexicographically. \"Kube-like\" versions start with a \"v\", then are followed by a number (the major version), then optionally the string \"alpha\" or \"beta\" and another number (the minor version). These are sorted first by GA \u003e beta \u003e alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing major version, then minor version. An example sorted list of versions: v10, v2, v1, v11beta2, v10beta3, v3beta1, v12alpha1, v11alpha2, foo1, foo10. +optional" |
| 328 | }, |
| 329 | "additionalPrinterColumns": { |
| 330 | "type": "array", |
| 331 | "items": { |
| 332 | "$ref": "CustomResourceColumnDefinition" |
| 333 | }, |
| 334 | "description": "AdditionalPrinterColumns are additional columns shown e.g. in kubectl next to the name. Defaults to a created-at column. +optional" |
| 335 | }, |
| 336 | "group": { |
| 337 | "type": "string", |
| 338 | "description": "Group is the group this resource belongs in" |
| 339 | } |
| 340 | }, |
| 341 | "type": "object", |
| 342 | "id": "CustomResourceDefinitionSpec", |
| 343 | "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear" |
| 344 | }, |
| 345 | "JSON": { |
| 346 | "properties": { |
| 347 | "raw": { |
| 348 | "format": "byte", |
| 349 | "type": "string" |
| 350 | } |
| 351 | }, |
| 352 | "id": "JSON", |
| 353 | "type": "object", |
| 354 | "description": "JSON represents any valid JSON value. These types are supported: bool, int64, float64, string, []interface{}, map[string]interface{} and nil." |
| 355 | }, |
| 356 | "JSONSchemaProps": { |
| 357 | "id": "JSONSchemaProps", |
| 358 | "description": "JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).", |
| 359 | "type": "object", |
| 360 | "properties": { |
| 361 | "minProperties": { |
| 362 | "format": "int64", |
| 363 | "type": "string" |
| 364 | }, |
| 365 | "dependencies": { |
| 366 | "additionalProperties": { |
| 367 | "$ref": "JSONSchemaPropsOrStringArray" |
| 368 | }, |
| 369 | "type": "object" |
| 370 | }, |
| 371 | "minItems": { |
| 372 | "format": "int64", |
| 373 | "type": "string" |
| 374 | }, |
| 375 | "default": { |
| 376 | "$ref": "JSON" |
| 377 | }, |
| 378 | "required": { |
| 379 | "items": { |
| 380 | "type": "string" |
| 381 | }, |
| 382 | "type": "array" |
| 383 | }, |
| 384 | "maximum": { |
| 385 | "format": "double", |
| 386 | "type": "number" |
| 387 | }, |
| 388 | "additionalItems": { |
| 389 | "$ref": "JSONSchemaPropsOrBool" |
| 390 | }, |
| 391 | "ref": { |
| 392 | "type": "string" |
| 393 | }, |
| 394 | "description": { |
| 395 | "type": "string" |
| 396 | }, |
| 397 | "minimum": { |
| 398 | "format": "double", |
| 399 | "type": "number" |
| 400 | }, |
| 401 | "schema": { |
| 402 | "type": "string" |
| 403 | }, |
| 404 | "maxProperties": { |
| 405 | "format": "int64", |
| 406 | "type": "string" |
| 407 | }, |
| 408 | "items": { |
| 409 | "$ref": "JSONSchemaPropsOrArray" |
| 410 | }, |
| 411 | "additionalProperties": { |
| 412 | "$ref": "JSONSchemaPropsOrBool" |
| 413 | }, |
| 414 | "id": { |
| 415 | "type": "string" |
| 416 | }, |
| 417 | "pattern": { |
| 418 | "type": "string" |
| 419 | }, |
| 420 | "multipleOf": { |
| 421 | "type": "number", |
| 422 | "format": "double" |
| 423 | }, |
| 424 | "patternProperties": { |
| 425 | "additionalProperties": { |
| 426 | "$ref": "JSONSchemaProps" |
| 427 | }, |
| 428 | "type": "object" |
| 429 | }, |
| 430 | "enum": { |
| 431 | "type": "array", |
| 432 | "items": { |
| 433 | "type": "string" |
| 434 | } |
| 435 | }, |
| 436 | "maxItems": { |
| 437 | "format": "int64", |
| 438 | "type": "string" |
| 439 | }, |
| 440 | "not": { |
| 441 | "$ref": "JSONSchemaProps" |
| 442 | }, |
| 443 | "oneOf": { |
| 444 | "items": { |
| 445 | "$ref": "JSONSchemaProps" |
| 446 | }, |
| 447 | "type": "array" |
| 448 | }, |
| 449 | "title": { |
| 450 | "type": "string" |
| 451 | }, |
| 452 | "uniqueItems": { |
| 453 | "type": "boolean" |
| 454 | }, |
| 455 | "definitions": { |
| 456 | "additionalProperties": { |
| 457 | "$ref": "JSONSchemaProps" |
| 458 | }, |
| 459 | "type": "object" |
| 460 | }, |
| 461 | "properties": { |
| 462 | "type": "object", |
| 463 | "additionalProperties": { |
| 464 | "$ref": "JSONSchemaProps" |
| 465 | } |
| 466 | }, |
| 467 | "minLength": { |
| 468 | "type": "string", |
| 469 | "format": "int64" |
| 470 | }, |
| 471 | "type": { |
| 472 | "type": "string" |
| 473 | }, |
| 474 | "externalDocs": { |
| 475 | "$ref": "ExternalDocumentation" |
| 476 | }, |
| 477 | "example": { |
| 478 | "$ref": "JSON" |
| 479 | }, |
| 480 | "anyOf": { |
| 481 | "items": { |
| 482 | "$ref": "JSONSchemaProps" |
| 483 | }, |
| 484 | "type": "array" |
| 485 | }, |
| 486 | "exclusiveMinimum": { |
| 487 | "type": "boolean" |
| 488 | }, |
| 489 | "maxLength": { |
| 490 | "type": "string", |
| 491 | "format": "int64" |
| 492 | }, |
| 493 | "format": { |
| 494 | "type": "string" |
| 495 | }, |
| 496 | "exclusiveMaximum": { |
| 497 | "type": "boolean" |
| 498 | }, |
| 499 | "allOf": { |
| 500 | "type": "array", |
| 501 | "items": { |
| 502 | "$ref": "JSONSchemaProps" |
| 503 | } |
| 504 | } |
| 505 | } |
| 506 | }, |
| 507 | "CustomResourceColumnDefinition": { |
| 508 | "type": "object", |
| 509 | "id": "CustomResourceColumnDefinition", |
| 510 | "description": "CustomResourceColumnDefinition specifies a column for server side printing.", |
| 511 | "properties": { |
| 512 | "priority": { |
| 513 | "description": "priority is an integer defining the relative importance of this column compared to others. Lower numbers are considered higher priority. Columns that may be omitted in limited space scenarios should be given a higher priority. +optional", |
| 514 | "format": "int32", |
| 515 | "type": "integer" |
| 516 | }, |
| 517 | "jsonPath": { |
| 518 | "description": "JSONPath is a simple JSON path, i.e. with array notation.", |
| 519 | "type": "string" |
| 520 | }, |
| 521 | "name": { |
| 522 | "type": "string", |
| 523 | "description": "name is a human readable name for the column." |
| 524 | }, |
| 525 | "format": { |
| 526 | "type": "string", |
| 527 | "description": "format is an optional OpenAPI type definition for this column. The 'name' format is applied to the primary identifier column to assist in clients identifying column is the resource name. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more. +optional" |
| 528 | }, |
| 529 | "type": { |
| 530 | "description": "type is an OpenAPI type definition for this column. See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types for more.", |
| 531 | "type": "string" |
| 532 | }, |
| 533 | "description": { |
| 534 | "description": "description is a human readable description of this column. +optional", |
| 535 | "type": "string" |
| 536 | } |
| 537 | } |
| 538 | }, |
| 539 | "ListMeta": { |
| 540 | "type": "object", |
| 541 | "id": "ListMeta", |
| 542 | "properties": { |
| 543 | "selfLink": { |
| 544 | "type": "string", |
| 545 | "description": "SelfLink is a URL representing this object. Populated by the system. Read-only. +optional" |
| 546 | }, |
| 547 | "resourceVersion": { |
| 548 | "type": "string", |
| 549 | "description": "String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency +optional" |
| 550 | }, |
| 551 | "continue": { |
| 552 | "description": "continue may be set if the user set a limit on the number of items returned, and indicates that the server has more data available. The value is opaque and may be used to issue another request to the endpoint that served this list to retrieve the next set of available objects. Continuing a list may not be possible if the server configuration has changed or more than a few minutes have passed. The resourceVersion field returned when using this continue value will be identical to the value in the first response.", |
| 553 | "type": "string" |
| 554 | } |
| 555 | }, |
| 556 | "description": "ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}." |
| 557 | }, |
| 558 | "CustomResourceDefinitionVersion": { |
| 559 | "type": "object", |
| 560 | "id": "CustomResourceDefinitionVersion", |
| 561 | "properties": { |
| 562 | "served": { |
| 563 | "type": "boolean", |
| 564 | "description": "Served is a flag enabling/disabling this version from being served via REST APIs" |
| 565 | }, |
| 566 | "storage": { |
| 567 | "type": "boolean", |
| 568 | "description": "Storage flags the version as storage version. There must be exactly one flagged as storage version." |
| 569 | }, |
| 570 | "name": { |
| 571 | "type": "string", |
| 572 | "description": "Name is the version name, e.g. “v1”, “v2beta1”, etc." |
| 573 | } |
| 574 | } |
| 575 | }, |
| 576 | "JSONSchemaPropsOrStringArray": { |
| 577 | "properties": { |
| 578 | "schema": { |
| 579 | "$ref": "JSONSchemaProps" |
| 580 | }, |
| 581 | "property": { |
| 582 | "items": { |
| 583 | "type": "string" |
| 584 | }, |
| 585 | "type": "array" |
| 586 | } |
| 587 | }, |
| 588 | "type": "object", |
| 589 | "description": "JSONSchemaPropsOrStringArray represents a JSONSchemaProps or a string array.", |
| 590 | "id": "JSONSchemaPropsOrStringArray" |
| 591 | }, |
| 592 | "CustomResourceSubresourceStatus": { |
| 593 | "properties": {}, |
| 594 | "type": "object", |
| 595 | "description": "CustomResourceSubresourceStatus defines how to serve the status subresource for CustomResources. Status is represented by the `.status` JSON path inside of a CustomResource. When set, * exposes a /status subresource for the custom resource * PUT requests to the /status subresource take a custom resource object, and ignore changes to anything except the status stanza * PUT/POST/PATCH requests to the custom resource ignore changes to the status stanza", |
| 596 | "id": "CustomResourceSubresourceStatus" |
| 597 | }, |
| 598 | "CustomResourceSubresources": { |
| 599 | "description": "CustomResourceSubresources defines the status and scale subresources for CustomResources.", |
| 600 | "properties": { |
| 601 | "status": { |
| 602 | "description": "Status denotes the status subresource for CustomResources +optional", |
| 603 | "$ref": "CustomResourceSubresourceStatus" |
| 604 | }, |
| 605 | "scale": { |
| 606 | "$ref": "CustomResourceSubresourceScale", |
| 607 | "description": "Scale denotes the scale subresource for CustomResources +optional" |
| 608 | } |
| 609 | }, |
| 610 | "type": "object", |
| 611 | "id": "CustomResourceSubresources" |
| 612 | }, |
| 613 | "CustomResourceSubresourceScale": { |
| 614 | "description": "CustomResourceSubresourceScale defines how to serve the scale subresource for CustomResources.", |
| 615 | "type": "object", |
| 616 | "id": "CustomResourceSubresourceScale", |
| 617 | "properties": { |
| 618 | "statusReplicasPath": { |
| 619 | "type": "string", |
| 620 | "description": "StatusReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. If there is no value under the given path in the CustomResource, the status replica value in the /scale subresource will default to 0." |
| 621 | }, |
| 622 | "specReplicasPath": { |
| 623 | "type": "string", |
| 624 | "description": "SpecReplicasPath defines the JSON path inside of a CustomResource that corresponds to Scale.Spec.Replicas. Only JSON paths without the array notation are allowed. Must be a JSON Path under .spec. If there is no value under the given path in the CustomResource, the /scale subresource will return an error on GET." |
| 625 | }, |
| 626 | "labelSelectorPath": { |
| 627 | "description": "LabelSelectorPath defines the JSON path inside of a CustomResource that corresponds to Scale.Status.Selector. Only JSON paths without the array notation are allowed. Must be a JSON Path under .status. Must be set to work with HPA. If there is no value under the given path in the CustomResource, the status label selector value in the /scale subresource will default to the empty string. +optional", |
| 628 | "type": "string" |
| 629 | } |
| 630 | } |
| 631 | }, |
| 632 | "CustomResourceDefinition": { |
| 633 | "description": "CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format \u003c.spec.name\u003e.\u003c.spec.group\u003e.", |
| 634 | "properties": { |
| 635 | "metadata": { |
| 636 | "description": "Metadata associated with this CustomResourceDefinition.", |
| 637 | "$ref": "ObjectMeta" |
| 638 | }, |
| 639 | "spec": { |
| 640 | "description": "Spec describes how the user wants the resources to appear", |
| 641 | "$ref": "CustomResourceDefinitionSpec" |
| 642 | }, |
| 643 | "apiVersion": { |
| 644 | "description": "The API version for this call such as \"k8s.apiextensions.io/v1beta1\".", |
| 645 | "type": "string" |
| 646 | }, |
| 647 | "kind": { |
| 648 | "description": "The kind of resource, in this case always \"CustomResourceDefinition\".", |
| 649 | "type": "string" |
| 650 | } |
| 651 | }, |
| 652 | "type": "object", |
| 653 | "id": "CustomResourceDefinition" |
| 654 | }, |
| 655 | "CustomResourceDefinitionNames": { |
| 656 | "type": "object", |
| 657 | "id": "CustomResourceDefinitionNames", |
| 658 | "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", |
| 659 | "properties": { |
| 660 | "listKind": { |
| 661 | "type": "string", |
| 662 | "description": "ListKind is the serialized kind of the list for this resource. Defaults to List. +optional" |
| 663 | }, |
| 664 | "categories": { |
| 665 | "type": "array", |
| 666 | "description": "Categories is a list of grouped resources custom resources belong to (e.g. 'all') +optional", |
| 667 | "items": { |
| 668 | "type": "string" |
| 669 | } |
| 670 | }, |
| 671 | "plural": { |
| 672 | "type": "string", |
| 673 | "description": "Plural is the plural name of the resource to serve. It must match the name of the CustomResourceDefinition-registration too: plural.group and it must be all lowercase." |
| 674 | }, |
| 675 | "shortNames": { |
| 676 | "type": "array", |
| 677 | "items": { |
| 678 | "type": "string" |
| 679 | }, |
| 680 | "description": "ShortNames are short names for the resource. It must be all lowercase. +optional" |
| 681 | }, |
| 682 | "kind": { |
| 683 | "description": "Kind is the serialized kind of the resource. It is normally CamelCase and singular.", |
| 684 | "type": "string" |
| 685 | }, |
| 686 | "singular": { |
| 687 | "description": "Singular is the singular name of the resource. It must be all lowercase Defaults to lowercased +optional", |
| 688 | "type": "string" |
| 689 | } |
| 690 | } |
| 691 | }, |
| 692 | "OwnerReference": { |
| 693 | "id": "OwnerReference", |
| 694 | "type": "object", |
| 695 | "properties": { |
| 696 | "blockOwnerDeletion": { |
| 697 | "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned. +optional", |
| 698 | "type": "boolean" |
| 699 | }, |
| 700 | "uid": { |
| 701 | "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", |
| 702 | "type": "string" |
| 703 | }, |
| 704 | "kind": { |
| 705 | "type": "string", |
| 706 | "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds" |
| 707 | }, |
| 708 | "apiVersion": { |
| 709 | "type": "string", |
| 710 | "description": "API version of the referent." |
| 711 | }, |
| 712 | "controller": { |
| 713 | "type": "boolean", |
| 714 | "description": "If true, this reference points to the managing controller. +optional" |
| 715 | }, |
| 716 | "name": { |
| 717 | "type": "string", |
| 718 | "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names" |
| 719 | } |
| 720 | }, |
| 721 | "description": "OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field." |
| 722 | }, |
| 723 | "ObjectMeta": { |
| 724 | "properties": { |
| 725 | "generation": { |
| 726 | "description": "(Optional) A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", |
| 727 | "type": "integer", |
| 728 | "format": "int32" |
| 729 | }, |
| 730 | "deletionTimestamp": { |
| 731 | "type": "string", |
| 732 | "format": "google-datetime", |
| 733 | "description": "(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested. Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" |
| 734 | }, |
| 735 | "uid": { |
| 736 | "description": "(Optional) UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations. Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", |
| 737 | "type": "string" |
| 738 | }, |
| 739 | "resourceVersion": { |
| 740 | "description": "(Optional) An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources. Populated by the system. Read-only. Value must be treated as opaque by clients. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", |
| 741 | "type": "string" |
| 742 | }, |
| 743 | "name": { |
| 744 | "type": "string", |
| 745 | "description": "Name must be unique within a namespace, within a Cloud Run region. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names +optional" |
| 746 | }, |
| 747 | "generateName": { |
| 748 | "type": "string", |
| 749 | "description": "(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server. If this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header). Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency string generateName = 2;" |
| 750 | }, |
| 751 | "clusterName": { |
| 752 | "type": "string", |
| 753 | "description": "(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request." |
| 754 | }, |
| 755 | "annotations": { |
| 756 | "description": "(Optional) Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", |
| 757 | "type": "object", |
| 758 | "additionalProperties": { |
| 759 | "type": "string" |
| 760 | } |
| 761 | }, |
| 762 | "namespace": { |
| 763 | "type": "string", |
| 764 | "description": "Namespace defines the space within each name must be unique, within a Cloud Run region. In Cloud Run the namespace must be equal to either the project ID or project number." |
| 765 | }, |
| 766 | "labels": { |
| 767 | "additionalProperties": { |
| 768 | "type": "string" |
| 769 | }, |
| 770 | "description": "(Optional) Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and routes. More info: http://kubernetes.io/docs/user-guide/labels", |
| 771 | "type": "object" |
| 772 | }, |
| 773 | "selfLink": { |
| 774 | "description": "(Optional) SelfLink is a URL representing this object. Populated by the system. Read-only. string selfLink = 4;", |
| 775 | "type": "string" |
| 776 | }, |
| 777 | "deletionGracePeriodSeconds": { |
| 778 | "type": "integer", |
| 779 | "format": "int32", |
| 780 | "description": "(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only." |
| 781 | }, |
| 782 | "finalizers": { |
| 783 | "items": { |
| 784 | "type": "string" |
| 785 | }, |
| 786 | "type": "array", |
| 787 | "description": "(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. +patchStrategy=merge" |
| 788 | }, |
| 789 | "ownerReferences": { |
| 790 | "type": "array", |
| 791 | "description": "(Optional) Cloud Run fully managed: not supported Cloud Run for Anthos: supported List of objects that own this object. If ALL objects in the list have been deleted, this object will be garbage collected.", |
| 792 | "items": { |
| 793 | "$ref": "OwnerReference" |
| 794 | } |
| 795 | }, |
| 796 | "creationTimestamp": { |
| 797 | "description": "(Optional) CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC. Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata", |
| 798 | "format": "google-datetime", |
| 799 | "type": "string" |
| 800 | } |
| 801 | }, |
| 802 | "type": "object", |
| 803 | "id": "ObjectMeta", |
| 804 | "description": "k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create." |
| 805 | }, |
| 806 | "CustomResourceValidation": { |
| 807 | "properties": { |
| 808 | "openAPIV3Schema": { |
| 809 | "$ref": "JSONSchemaProps", |
| 810 | "description": "OpenAPIV3Schema is the OpenAPI v3 schema to be validated against. +optional" |
| 811 | } |
| 812 | }, |
| 813 | "description": "CustomResourceValidation is a list of validation methods for CustomResources.", |
| 814 | "type": "object", |
| 815 | "id": "CustomResourceValidation" |
| 816 | }, |
| 817 | "JSONSchemaPropsOrBool": { |
| 818 | "type": "object", |
| 819 | "id": "JSONSchemaPropsOrBool", |
| 820 | "properties": { |
| 821 | "schema": { |
| 822 | "$ref": "JSONSchemaProps" |
| 823 | }, |
| 824 | "allows": { |
| 825 | "type": "boolean" |
| 826 | } |
| 827 | }, |
| 828 | "description": "JSONSchemaPropsOrBool represents JSONSchemaProps or a boolean value. Defaults to true for the boolean property." |
| 829 | }, |
| 830 | "ListCustomResourceDefinitionsResponse": { |
| 831 | "properties": { |
| 832 | "items": { |
| 833 | "items": { |
| 834 | "$ref": "CustomResourceDefinition" |
| 835 | }, |
| 836 | "description": "List of CustomResourceDefinitions.", |
| 837 | "type": "array" |
| 838 | }, |
| 839 | "unreachable": { |
| 840 | "description": "Locations that could not be reached.", |
| 841 | "type": "array", |
| 842 | "items": { |
| 843 | "type": "string" |
| 844 | } |
| 845 | }, |
| 846 | "apiVersion": { |
| 847 | "type": "string", |
| 848 | "description": "The API version for this call such as \"k8s.apiextensions.io/v1beta1\"." |
| 849 | }, |
| 850 | "metadata": { |
| 851 | "$ref": "ListMeta", |
| 852 | "description": "Metadata associated with this CustomResourceDefinition list." |
| 853 | }, |
| 854 | "kind": { |
| 855 | "type": "string", |
| 856 | "description": "The kind of this resource, in this case \"CustomResourceDefinitionList\"." |
| 857 | } |
| 858 | }, |
| 859 | "id": "ListCustomResourceDefinitionsResponse", |
| 860 | "type": "object" |
| 861 | }, |
| 862 | "ExternalDocumentation": { |
| 863 | "properties": { |
| 864 | "description": { |
| 865 | "type": "string" |
| 866 | }, |
| 867 | "url": { |
| 868 | "type": "string" |
| 869 | } |
| 870 | }, |
| 871 | "type": "object", |
| 872 | "id": "ExternalDocumentation", |
| 873 | "description": "ExternalDocumentation allows referencing an external resource for extended documentation." |
| 874 | }, |
| 875 | "JSONSchemaPropsOrArray": { |
| 876 | "type": "object", |
| 877 | "id": "JSONSchemaPropsOrArray", |
| 878 | "properties": { |
| 879 | "schema": { |
| 880 | "$ref": "JSONSchemaProps" |
| 881 | }, |
| 882 | "jsonSchemas": { |
| 883 | "type": "array", |
| 884 | "items": { |
| 885 | "$ref": "JSONSchemaProps" |
| 886 | } |
| 887 | } |
| 888 | }, |
| 889 | "description": "JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes." |
| 890 | } |
| 891 | }, |
| 892 | "kind": "discovery#restDescription", |
| 893 | "batchPath": "batch", |
| 894 | "version_module": true, |
| 895 | "discoveryVersion": "v1", |
| 896 | "documentationLink": "https://cloud.google.com/run/", |
| 897 | "revision": "20200814" |
| 898 | } |