Skip to content

Commit

Permalink
feat(run): update the API
Browse files Browse the repository at this point in the history
#### run:v1alpha1
The following keys were changed:
- title

#### run:v1
The following keys were added:
- schemas.RevisionSpec.properties.timeoutSeconds.description

The following keys were changed:
- title

#### run:v1beta1
The following keys were changed:
- title
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 15, 2020
1 parent feb2917 commit 128f5e2
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
5 changes: 3 additions & 2 deletions discovery/run-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1942,7 +1942,7 @@
}
}
},
"revision": "20200622",
"revision": "20200706",
"rootUrl": "https://run.googleapis.com/",
"schemas": {
"Addressable": {
Expand Down Expand Up @@ -3150,6 +3150,7 @@
"type": "string"
},
"timeoutSeconds": {
"description": "TimeoutSeconds holds the max duration the instance is allowed for\nresponding to a request.\n\nCloud Run fully managed: defaults to 300 seconds (5 minutes). Maximum\nallowed value is 900 seconds (15 minutes).\n\nCloud Run for Anthos: defaults to 300 seconds (5 minutes). Maximum allowed\nvalue is configurable by the cluster operator.",
"format": "int32",
"type": "integer"
},
Expand Down Expand Up @@ -3703,7 +3704,7 @@
}
},
"servicePath": "",
"title": "Cloud Run API",
"title": "Cloud Run Admin API",
"version": "v1",
"version_module": true
}
4 changes: 2 additions & 2 deletions discovery/run-v1alpha1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3358,7 +3358,7 @@
}
}
},
"revision": "20200622",
"revision": "20200706",
"rootUrl": "https://run.googleapis.com/",
"schemas": {
"Addressable": {
Expand Down Expand Up @@ -6165,7 +6165,7 @@
}
},
"servicePath": "",
"title": "Cloud Run API",
"title": "Cloud Run Admin API",
"version": "v1alpha1",
"version_module": true
}
4 changes: 2 additions & 2 deletions discovery/run-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
}
}
},
"revision": "20200622",
"revision": "20200706",
"rootUrl": "https://run.googleapis.com/",
"schemas": {
"CustomResourceColumnDefinition": {
Expand Down Expand Up @@ -892,7 +892,7 @@
}
},
"servicePath": "",
"title": "Cloud Run API",
"title": "Cloud Run Admin API",
"version": "v1beta1",
"version_module": true
}
5 changes: 4 additions & 1 deletion src/apis/run/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export namespace run_v1 {
}

/**
* Cloud Run API
* Cloud Run Admin API
*
* Deploy and manage user provided container images that scale automatically based on HTTP traffic.
*
Expand Down Expand Up @@ -1074,6 +1074,9 @@ export namespace run_v1 {
* Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has. If not provided, the revision will use the project's default service account.
*/
serviceAccountName?: string | null;
/**
* TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run fully managed: defaults to 300 seconds (5 minutes). Maximum allowed value is 900 seconds (15 minutes). Cloud Run for Anthos: defaults to 300 seconds (5 minutes). Maximum allowed value is configurable by the cluster operator.
*/
timeoutSeconds?: number | null;
volumes?: Schema$Volume[];
}
Expand Down
2 changes: 1 addition & 1 deletion src/apis/run/v1alpha1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export namespace run_v1alpha1 {
}

/**
* Cloud Run API
* Cloud Run Admin API
*
* Deploy and manage user provided container images that scale automatically based on HTTP traffic.
*
Expand Down
2 changes: 1 addition & 1 deletion src/apis/run/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export namespace run_v1beta1 {
}

/**
* Cloud Run API
* Cloud Run Admin API
*
* Deploy and manage user provided container images that scale automatically based on HTTP traffic.
*
Expand Down

0 comments on commit 128f5e2

Please # to comment.