Skip to content

Commit 62c1610

Browse files
feat(run): update the API
#### run:v2 The following keys were added: - schemas.GoogleCloudRunV2SubmitBuildResponse.properties.baseImageWarning.description - schemas.GoogleCloudRunV2SubmitBuildResponse.properties.baseImageWarning.type The following keys were changed: - schemas.GoogleCloudRunV2RevisionScaling.properties.maxInstanceCount.description
1 parent 1c2f666 commit 62c1610

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

discovery/run-v2.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,7 @@
15261526
}
15271527
}
15281528
},
1529-
"revision": "20240823",
1529+
"revision": "20240831",
15301530
"rootUrl": "https://run.googleapis.com/",
15311531
"schemas": {
15321532
"GoogleCloudRunV2BinaryAuthorization": {
@@ -2984,7 +2984,7 @@
29842984
"id": "GoogleCloudRunV2RevisionScaling",
29852985
"properties": {
29862986
"maxInstanceCount": {
2987-
"description": "Optional. Maximum number of serving instances that this resource should have.",
2987+
"description": "Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of 100. For more information see https://cloud.google.com/run/docs/configuring/max-instances",
29882988
"format": "int32",
29892989
"type": "integer"
29902990
},
@@ -3468,6 +3468,10 @@
34683468
"description": "URI of the base builder image in Artifact Registry being used in the build. Used to opt into automatic base image updates.",
34693469
"type": "string"
34703470
},
3471+
"baseImageWarning": {
3472+
"description": "Warning message for the base image.",
3473+
"type": "string"
3474+
},
34713475
"buildOperation": {
34723476
"$ref": "GoogleLongrunningOperation",
34733477
"description": "Cloud Build operation to be polled via CloudBuild API."

src/apis/run/v2.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ export namespace run_v2 {
10651065
*/
10661066
export interface Schema$GoogleCloudRunV2RevisionScaling {
10671067
/**
1068-
* Optional. Maximum number of serving instances that this resource should have.
1068+
* Optional. Maximum number of serving instances that this resource should have. When unspecified, the field is set to the server default value of 100. For more information see https://cloud.google.com/run/docs/configuring/max-instances
10691069
*/
10701070
maxInstanceCount?: number | null;
10711071
/**
@@ -1411,6 +1411,10 @@ export namespace run_v2 {
14111411
* URI of the base builder image in Artifact Registry being used in the build. Used to opt into automatic base image updates.
14121412
*/
14131413
baseImageUri?: string | null;
1414+
/**
1415+
* Warning message for the base image.
1416+
*/
1417+
baseImageWarning?: string | null;
14141418
/**
14151419
* Cloud Build operation to be polled via CloudBuild API.
14161420
*/

0 commit comments

Comments
 (0)