Skip to content

Commit

Permalink
fix(cloudbuild): update the API
Browse files Browse the repository at this point in the history
#### cloudbuild:v1
The following keys were changed:
- resources.projects.resources.builds.methods.list.parameters.pageToken.description
- resources.projects.resources.locations.resources.builds.methods.list.parameters.pageToken.description
- schemas.ListBuildsResponse.properties.nextPageToken.description
  • Loading branch information
yoshi-automation authored and bcoe committed Oct 28, 2020
1 parent 4771835 commit 711370d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions discovery/cloudbuild-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
"type": "integer"
},
"pageToken": {
"description": "Token to provide to skip to a particular spot in the list.",
"description": "The page token for the next page of Builds. If unspecified, the first page of results is returned. If the token is rejected for any reason, INVALID_ARGUMENT will be thrown. In this case, the token should be discarded, and pagination should be restarted from the first page of results. See https://google.aip.dev/158 for more.",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -470,7 +470,7 @@
"type": "integer"
},
"pageToken": {
"description": "Token to provide to skip to a particular spot in the list.",
"description": "The page token for the next page of Builds. If unspecified, the first page of results is returned. If the token is rejected for any reason, INVALID_ARGUMENT will be thrown. In this case, the token should be discarded, and pagination should be restarted from the first page of results. See https://google.aip.dev/158 for more.",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -783,7 +783,7 @@
}
}
},
"revision": "20201009",
"revision": "20201022",
"rootUrl": "https://cloudbuild.googleapis.com/",
"schemas": {
"ArtifactObjects": {
Expand Down Expand Up @@ -1485,7 +1485,7 @@
"type": "array"
},
"nextPageToken": {
"description": "Token to receive the next page of results.",
"description": "Token to receive the next page of results. This will be absent if the end of the response list has been reached.",
"type": "string"
}
},
Expand Down
14 changes: 7 additions & 7 deletions src/apis/cloudbuild/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ export namespace cloudbuild_v1 {
*/
builds?: Schema$Build[];
/**
* Token to receive the next page of results.
* Token to receive the next page of results. This will be absent if the end of the response list has been reached.
*/
nextPageToken?: string | null;
}
Expand Down Expand Up @@ -1795,7 +1795,7 @@ export namespace cloudbuild_v1 {
* filter: 'placeholder-value',
* // Number of results to return in the list.
* pageSize: 'placeholder-value',
* // Token to provide to skip to a particular spot in the list.
* // The page token for the next page of Builds. If unspecified, the first page of results is returned. If the token is rejected for any reason, INVALID_ARGUMENT will be thrown. In this case, the token should be discarded, and pagination should be restarted from the first page of results. See https://google.aip.dev/158 for more.
* pageToken: 'placeholder-value',
* // The parent of the collection of `Builds`. Format: `projects/{project}/locations/location`
* parent: 'placeholder-value',
Expand All @@ -1822,7 +1822,7 @@ export namespace cloudbuild_v1 {
* @param {object} params Parameters for request
* @param {string=} params.filter The raw filter text to constrain the results.
* @param {integer=} params.pageSize Number of results to return in the list.
* @param {string=} params.pageToken Token to provide to skip to a particular spot in the list.
* @param {string=} params.pageToken The page token for the next page of Builds. If unspecified, the first page of results is returned. If the token is rejected for any reason, INVALID_ARGUMENT will be thrown. In this case, the token should be discarded, and pagination should be restarted from the first page of results. See https://google.aip.dev/158 for more.
* @param {string=} params.parent The parent of the collection of `Builds`. Format: `projects/{project}/locations/location`
* @param {string} params.projectId Required. ID of the project.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
Expand Down Expand Up @@ -2118,7 +2118,7 @@ export namespace cloudbuild_v1 {
*/
pageSize?: number;
/**
* Token to provide to skip to a particular spot in the list.
* The page token for the next page of Builds. If unspecified, the first page of results is returned. If the token is rejected for any reason, INVALID_ARGUMENT will be thrown. In this case, the token should be discarded, and pagination should be restarted from the first page of results. See https://google.aip.dev/158 for more.
*/
pageToken?: string;
/**
Expand Down Expand Up @@ -2689,7 +2689,7 @@ export namespace cloudbuild_v1 {
* filter: 'placeholder-value',
* // Number of results to return in the list.
* pageSize: 'placeholder-value',
* // Token to provide to skip to a particular spot in the list.
* // The page token for the next page of Builds. If unspecified, the first page of results is returned. If the token is rejected for any reason, INVALID_ARGUMENT will be thrown. In this case, the token should be discarded, and pagination should be restarted from the first page of results. See https://google.aip.dev/158 for more.
* pageToken: 'placeholder-value',
* // The parent of the collection of `Builds`. Format: `projects/{project}/locations/location`
* parent: 'projects/my-project/locations/my-location',
Expand All @@ -2716,7 +2716,7 @@ export namespace cloudbuild_v1 {
* @param {object} params Parameters for request
* @param {string=} params.filter The raw filter text to constrain the results.
* @param {integer=} params.pageSize Number of results to return in the list.
* @param {string=} params.pageToken Token to provide to skip to a particular spot in the list.
* @param {string=} params.pageToken The page token for the next page of Builds. If unspecified, the first page of results is returned. If the token is rejected for any reason, INVALID_ARGUMENT will be thrown. In this case, the token should be discarded, and pagination should be restarted from the first page of results. See https://google.aip.dev/158 for more.
* @param {string} params.parent The parent of the collection of `Builds`. Format: `projects/{project}/locations/location`
* @param {string=} params.projectId Required. ID of the project.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
Expand Down Expand Up @@ -3003,7 +3003,7 @@ export namespace cloudbuild_v1 {
*/
pageSize?: number;
/**
* Token to provide to skip to a particular spot in the list.
* The page token for the next page of Builds. If unspecified, the first page of results is returned. If the token is rejected for any reason, INVALID_ARGUMENT will be thrown. In this case, the token should be discarded, and pagination should be restarted from the first page of results. See https://google.aip.dev/158 for more.
*/
pageToken?: string;
/**
Expand Down

0 comments on commit 711370d

Please sign in to comment.