|
416 | 416 | }
|
417 | 417 | },
|
418 | 418 | "resources": {
|
| 419 | + "builds": { |
| 420 | + "methods": { |
| 421 | + "submit": { |
| 422 | + "description": "Submits a build in a given project.", |
| 423 | + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/builds:submit", |
| 424 | + "httpMethod": "POST", |
| 425 | + "id": "run.projects.locations.builds.submit", |
| 426 | + "parameterOrder": [ |
| 427 | + "parent" |
| 428 | + ], |
| 429 | + "parameters": { |
| 430 | + "parent": { |
| 431 | + "description": "Required. The project and location to build in. Location must be a region, e.g., 'us-central1' or 'global' if the global builder is to be used. Format: projects/{project}/locations/{location}", |
| 432 | + "location": "path", |
| 433 | + "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 434 | + "required": true, |
| 435 | + "type": "string" |
| 436 | + } |
| 437 | + }, |
| 438 | + "path": "v2/{+parent}/builds:submit", |
| 439 | + "request": { |
| 440 | + "$ref": "GoogleCloudRunV2SubmitBuildRequest" |
| 441 | + }, |
| 442 | + "response": { |
| 443 | + "$ref": "GoogleCloudRunV2SubmitBuildResponse" |
| 444 | + }, |
| 445 | + "scopes": [ |
| 446 | + "https://www.googleapis.com/auth/cloud-platform" |
| 447 | + ] |
| 448 | + } |
| 449 | + } |
| 450 | + }, |
419 | 451 | "jobs": {
|
420 | 452 | "methods": {
|
421 | 453 | "create": {
|
|
1494 | 1526 | }
|
1495 | 1527 | }
|
1496 | 1528 | },
|
1497 |
| - "revision": "20240802", |
| 1529 | + "revision": "20240816", |
1498 | 1530 | "rootUrl": "https://run.googleapis.com/",
|
1499 | 1531 | "schemas": {
|
1500 | 1532 | "GoogleCloudRunV2BinaryAuthorization": {
|
|
1516 | 1548 | },
|
1517 | 1549 | "type": "object"
|
1518 | 1550 | },
|
| 1551 | + "GoogleCloudRunV2BuildpacksBuild": { |
| 1552 | + "description": "Build the source using Buildpacks.", |
| 1553 | + "id": "GoogleCloudRunV2BuildpacksBuild", |
| 1554 | + "properties": { |
| 1555 | + "baseImage": { |
| 1556 | + "description": "Optional. The base image used to opt into automatic base image updates.", |
| 1557 | + "type": "string" |
| 1558 | + }, |
| 1559 | + "cacheImageUri": { |
| 1560 | + "description": "Optional. cache_image_uri is the GCR/AR URL where the cache image will be stored. cache_image_uri is optional and omitting it will disable caching. This URL must be stable across builds. It is used to derive a build-specific temporary URL by substituting the tag with the build ID. The build will clean up the temporary image on a best-effort basis.", |
| 1561 | + "type": "string" |
| 1562 | + }, |
| 1563 | + "enableAutomaticUpdates": { |
| 1564 | + "description": "Optional. Whether or not the application container will be enrolled in automatic base image updates. When true, the application will be built on a scratch base image, so the base layers can be appended at run time.", |
| 1565 | + "type": "boolean" |
| 1566 | + }, |
| 1567 | + "environmentVariables": { |
| 1568 | + "additionalProperties": { |
| 1569 | + "type": "string" |
| 1570 | + }, |
| 1571 | + "description": "Optional. User-provided build-time environment variables.", |
| 1572 | + "type": "object" |
| 1573 | + }, |
| 1574 | + "functionTarget": { |
| 1575 | + "description": "Optional. Name of the function target if the source is a function source. Required for function builds.", |
| 1576 | + "type": "string" |
| 1577 | + }, |
| 1578 | + "runtime": { |
| 1579 | + "deprecated": true, |
| 1580 | + "description": "The runtime name, e.g. 'go113'. Leave blank for generic builds.", |
| 1581 | + "type": "string" |
| 1582 | + } |
| 1583 | + }, |
| 1584 | + "type": "object" |
| 1585 | + }, |
1519 | 1586 | "GoogleCloudRunV2CancelExecutionRequest": {
|
1520 | 1587 | "description": "Request message for deleting an Execution.",
|
1521 | 1588 | "id": "GoogleCloudRunV2CancelExecutionRequest",
|
|
1812 | 1879 | },
|
1813 | 1880 | "type": "object"
|
1814 | 1881 | },
|
| 1882 | + "GoogleCloudRunV2DockerBuild": { |
| 1883 | + "description": "Build the source using Docker. This means the source has a Dockerfile.", |
| 1884 | + "id": "GoogleCloudRunV2DockerBuild", |
| 1885 | + "properties": {}, |
| 1886 | + "type": "object" |
| 1887 | + }, |
1815 | 1888 | "GoogleCloudRunV2EmptyDirVolumeSource": {
|
1816 | 1889 | "description": "In memory (tmpfs) ephemeral storage. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).",
|
1817 | 1890 | "id": "GoogleCloudRunV2EmptyDirVolumeSource",
|
|
1844 | 1917 | "type": "string"
|
1845 | 1918 | },
|
1846 | 1919 | "value": {
|
1847 |
| - "description": "Variable references $(VAR_NAME) are expanded using the previous defined environment variables in the container and any route environment variables. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to \"\", and the maximum length is 32768 bytes.", |
| 1920 | + "description": "Literal value of the environment variable. Defaults to \"\", and the maximum length is 32768 bytes. Variable references are not supported in Cloud Run.", |
1848 | 1921 | "type": "string"
|
1849 | 1922 | },
|
1850 | 1923 | "valueSource": {
|
|
3294 | 3367 | "description": "Output only. The main URI in which this Service is serving traffic.",
|
3295 | 3368 | "readOnly": true,
|
3296 | 3369 | "type": "string"
|
| 3370 | + }, |
| 3371 | + "urls": { |
| 3372 | + "description": "Output only. All URLs serving traffic for this Service.", |
| 3373 | + "items": { |
| 3374 | + "type": "string" |
| 3375 | + }, |
| 3376 | + "readOnly": true, |
| 3377 | + "type": "array" |
3297 | 3378 | }
|
3298 | 3379 | },
|
3299 | 3380 | "type": "object"
|
|
3321 | 3402 | },
|
3322 | 3403 | "type": "object"
|
3323 | 3404 | },
|
| 3405 | + "GoogleCloudRunV2StorageSource": { |
| 3406 | + "description": "Location of the source in an archive file in Google Cloud Storage.", |
| 3407 | + "id": "GoogleCloudRunV2StorageSource", |
| 3408 | + "properties": { |
| 3409 | + "bucket": { |
| 3410 | + "description": "Required. Google Cloud Storage bucket containing the source (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).", |
| 3411 | + "type": "string" |
| 3412 | + }, |
| 3413 | + "generation": { |
| 3414 | + "description": "Optional. Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.", |
| 3415 | + "format": "int64", |
| 3416 | + "type": "string" |
| 3417 | + }, |
| 3418 | + "object": { |
| 3419 | + "description": "Required. Google Cloud Storage object containing the source. This object must be a gzipped archive file (`.tar.gz`) containing source to build.", |
| 3420 | + "type": "string" |
| 3421 | + } |
| 3422 | + }, |
| 3423 | + "type": "object" |
| 3424 | + }, |
| 3425 | + "GoogleCloudRunV2SubmitBuildRequest": { |
| 3426 | + "description": "Request message for submitting a Build.", |
| 3427 | + "id": "GoogleCloudRunV2SubmitBuildRequest", |
| 3428 | + "properties": { |
| 3429 | + "buildpackBuild": { |
| 3430 | + "$ref": "GoogleCloudRunV2BuildpacksBuild", |
| 3431 | + "description": "Build the source using Buildpacks." |
| 3432 | + }, |
| 3433 | + "dockerBuild": { |
| 3434 | + "$ref": "GoogleCloudRunV2DockerBuild", |
| 3435 | + "description": "Build the source using Docker. This means the source has a Dockerfile." |
| 3436 | + }, |
| 3437 | + "imageUri": { |
| 3438 | + "description": "Required. Artifact Registry URI to store the built image.", |
| 3439 | + "type": "string" |
| 3440 | + }, |
| 3441 | + "serviceAccount": { |
| 3442 | + "description": "Optional. The service account to use for the build. If not set, the default Cloud Build service account for the project will be used.", |
| 3443 | + "type": "string" |
| 3444 | + }, |
| 3445 | + "storageSource": { |
| 3446 | + "$ref": "GoogleCloudRunV2StorageSource", |
| 3447 | + "description": "Required. Source for the build." |
| 3448 | + }, |
| 3449 | + "tags": { |
| 3450 | + "description": "Optional. Additional tags to annotate the build.", |
| 3451 | + "items": { |
| 3452 | + "type": "string" |
| 3453 | + }, |
| 3454 | + "type": "array" |
| 3455 | + }, |
| 3456 | + "workerPool": { |
| 3457 | + "description": "Optional. Name of the Cloud Build Custom Worker Pool that should be used to build the function. The format of this field is `projects/{project}/locations/{region}/workerPools/{workerPool}` where {project} and {region} are the project id and region respectively where the worker pool is defined and {workerPool} is the short name of the worker pool.", |
| 3458 | + "type": "string" |
| 3459 | + } |
| 3460 | + }, |
| 3461 | + "type": "object" |
| 3462 | + }, |
| 3463 | + "GoogleCloudRunV2SubmitBuildResponse": { |
| 3464 | + "description": "Response message for submitting a Build.", |
| 3465 | + "id": "GoogleCloudRunV2SubmitBuildResponse", |
| 3466 | + "properties": { |
| 3467 | + "baseImageUri": { |
| 3468 | + "description": "URI of the base builder image in Artifact Registry being used in the build. Used to opt into automatic base image updates.", |
| 3469 | + "type": "string" |
| 3470 | + }, |
| 3471 | + "buildOperation": { |
| 3472 | + "$ref": "GoogleLongrunningOperation", |
| 3473 | + "description": "Cloud Build operation to be polled via CloudBuild API." |
| 3474 | + } |
| 3475 | + }, |
| 3476 | + "type": "object" |
| 3477 | + }, |
3324 | 3478 | "GoogleCloudRunV2TCPSocketAction": {
|
3325 | 3479 | "description": "TCPSocketAction describes an action based on opening a socket",
|
3326 | 3480 | "id": "GoogleCloudRunV2TCPSocketAction",
|
|
0 commit comments