Skip to content

Commit e9e3931

Browse files
feat(run): update the API
#### run:v2 The following keys were added: - schemas.GoogleCloudRunV2Container.properties.source.description - schemas.GoogleCloudRunV2Container.properties.source.type
1 parent a41cf00 commit e9e3931

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

discovery/run-v2.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1942,7 +1942,7 @@
19421942
}
19431943
}
19441944
},
1945-
"revision": "20251003",
1945+
"revision": "20251019",
19461946
"rootUrl": "https://run.googleapis.com/",
19471947
"schemas": {
19481948
"GoogleCloudRunV2BinaryAuthorization": {
@@ -2311,6 +2311,10 @@
23112311
"$ref": "GoogleCloudRunV2ResourceRequirements",
23122312
"description": "Compute Resource requirements by this container."
23132313
},
2314+
"source": {
2315+
"description": "Optional. Location of the source .tar.gz file in Cloud Storage. examples: - gs://bucket/object.tar.gz. - gs://bucket/object.tar.gz#1234567890 (with object generation)",
2316+
"type": "string"
2317+
},
23142318
"startupProbe": {
23152319
"$ref": "GoogleCloudRunV2Probe",
23162320
"description": "Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails."

src/apis/run/v2.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,10 @@ export namespace run_v2 {
335335
* Compute Resource requirements by this container.
336336
*/
337337
resources?: Schema$GoogleCloudRunV2ResourceRequirements;
338+
/**
339+
* Optional. Location of the source .tar.gz file in Cloud Storage. examples: - gs://bucket/object.tar.gz. - gs://bucket/object.tar.gz#1234567890 (with object generation)
340+
*/
341+
source?: string | null;
338342
/**
339343
* Startup probe of application within the container. All other probes are disabled if a startup probe is provided, until it succeeds. Container will not be added to service endpoints if the probe fails.
340344
*/

0 commit comments

Comments
 (0)