Skip to content

Commit 73eb667

Browse files
feat(run)!: update the API
BREAKING CHANGE: This release has breaking changes. #### run:v1 The following keys were changed: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description #### run:v2 The following keys were deleted: - schemas.GoogleCloudRunV2Container.properties.source.description - schemas.GoogleCloudRunV2Container.properties.source.type
1 parent 6cd8e30 commit 73eb667

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

discovery/run-v1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,7 +1742,7 @@
17421742
],
17431743
"parameters": {
17441744
"extraLocationTypes": {
1745-
"description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.",
1745+
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
17461746
"location": "query",
17471747
"repeated": true,
17481748
"type": "string"
@@ -2907,7 +2907,7 @@
29072907
}
29082908
}
29092909
},
2910-
"revision": "20251003",
2910+
"revision": "20251024",
29112911
"rootUrl": "https://run.googleapis.com/",
29122912
"schemas": {
29132913
"Addressable": {

discovery/run-v2.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1942,7 +1942,7 @@
19421942
}
19431943
}
19441944
},
1945-
"revision": "20251019",
1945+
"revision": "20251024",
19461946
"rootUrl": "https://run.googleapis.com/",
19471947
"schemas": {
19481948
"GoogleCloudRunV2BinaryAuthorization": {
@@ -2311,10 +2311,6 @@
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-
},
23182314
"startupProbe": {
23192315
"$ref": "GoogleCloudRunV2Probe",
23202316
"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/v1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9217,7 +9217,7 @@ export namespace run_v1 {
92179217
*
92189218
* // Do the magic
92199219
* const res = await run.projects.locations.list({
9220-
* // Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
9220+
* // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
92219221
* extraLocationTypes: 'placeholder-value',
92229222
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
92239223
* filter: 'placeholder-value',
@@ -9338,7 +9338,7 @@ export namespace run_v1 {
93389338
export interface Params$Resource$Projects$Locations$List
93399339
extends StandardParameters {
93409340
/**
9341-
* Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
9341+
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
93429342
*/
93439343
extraLocationTypes?: string[];
93449344
/**

src/apis/run/v2.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,6 @@ 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;
342338
/**
343339
* 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.
344340
*/

0 commit comments

Comments
 (0)