Skip to content

Commit

Permalink
fix(accessapproval): update the API
Browse files Browse the repository at this point in the history
#### accessapproval:v1
The following keys were changed:
- resources.folders.resources.approvalRequests.methods.list.parameters.filter.description
- resources.organizations.resources.approvalRequests.methods.list.parameters.filter.description
- resources.projects.resources.approvalRequests.methods.list.parameters.filter.description

#### accessapproval:v1beta1
The following keys were changed:
- resources.folders.resources.approvalRequests.methods.list.parameters.filter.description
- resources.organizations.resources.approvalRequests.methods.list.parameters.filter.description
- resources.projects.resources.approvalRequests.methods.list.parameters.filter.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 10, 2020
1 parent 5a473d3 commit cd856eb
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 20 deletions.
8 changes: 4 additions & 4 deletions discovery/accessapproval-v1.json
Expand Up @@ -286,7 +286,7 @@
],
"parameters": {
"filter": {
"description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n<ol>\n <li>[not set]: Requests that are pending or have active approvals.</li>\n <li>ALL: All requests.</li>\n <li>PENDING: Only pending requests.</li>\n <li>ACTIVE: Only active (i.e. currently approved) requests.</li>\n <li>DISMISSED: Only dismissed (including expired) requests.</li>\n</ol>",
"description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n<ol>\n <li>[not set]: Requests that are pending or have active approvals.</li>\n <li>ALL: All requests.</li>\n <li>PENDING: Only pending requests.</li>\n <li>ACTIVE: Only active (i.e. currently approved) requests.</li>\n <li>DISMISSED: Only dismissed (including expired) requests.</li>\n <li>HISTORY: Active and dismissed (including expired) requests.</li>\n</ol>",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -502,7 +502,7 @@
],
"parameters": {
"filter": {
"description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n<ol>\n <li>[not set]: Requests that are pending or have active approvals.</li>\n <li>ALL: All requests.</li>\n <li>PENDING: Only pending requests.</li>\n <li>ACTIVE: Only active (i.e. currently approved) requests.</li>\n <li>DISMISSED: Only dismissed (including expired) requests.</li>\n</ol>",
"description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n<ol>\n <li>[not set]: Requests that are pending or have active approvals.</li>\n <li>ALL: All requests.</li>\n <li>PENDING: Only pending requests.</li>\n <li>ACTIVE: Only active (i.e. currently approved) requests.</li>\n <li>DISMISSED: Only dismissed (including expired) requests.</li>\n <li>HISTORY: Active and dismissed (including expired) requests.</li>\n</ol>",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -718,7 +718,7 @@
],
"parameters": {
"filter": {
"description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n<ol>\n <li>[not set]: Requests that are pending or have active approvals.</li>\n <li>ALL: All requests.</li>\n <li>PENDING: Only pending requests.</li>\n <li>ACTIVE: Only active (i.e. currently approved) requests.</li>\n <li>DISMISSED: Only dismissed (including expired) requests.</li>\n</ol>",
"description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n<ol>\n <li>[not set]: Requests that are pending or have active approvals.</li>\n <li>ALL: All requests.</li>\n <li>PENDING: Only pending requests.</li>\n <li>ACTIVE: Only active (i.e. currently approved) requests.</li>\n <li>DISMISSED: Only dismissed (including expired) requests.</li>\n <li>HISTORY: Active and dismissed (including expired) requests.</li>\n</ol>",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -754,7 +754,7 @@
}
}
},
"revision": "20200501",
"revision": "20200708",
"rootUrl": "https://accessapproval.googleapis.com/",
"schemas": {
"AccessApprovalSettings": {
Expand Down
8 changes: 4 additions & 4 deletions discovery/accessapproval-v1beta1.json
Expand Up @@ -286,7 +286,7 @@
],
"parameters": {
"filter": {
"description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n<ol>\n <li>[not set]: Requests that are pending or have active approvals.</li>\n <li>ALL: All requests.</li>\n <li>PENDING: Only pending requests.</li>\n <li>ACTIVE: Only active (i.e. currently approved) requests.</li>\n <li>DISMISSED: Only dismissed (including expired) requests.</li>\n</ol>",
"description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n<ol>\n <li>[not set]: Requests that are pending or have active approvals.</li>\n <li>ALL: All requests.</li>\n <li>PENDING: Only pending requests.</li>\n <li>ACTIVE: Only active (i.e. currently approved) requests.</li>\n <li>DISMISSED: Only dismissed (including expired) requests.</li>\n <li>HISTORY: Active and dismissed (including expired) requests.</li>\n</ol>",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -502,7 +502,7 @@
],
"parameters": {
"filter": {
"description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n<ol>\n <li>[not set]: Requests that are pending or have active approvals.</li>\n <li>ALL: All requests.</li>\n <li>PENDING: Only pending requests.</li>\n <li>ACTIVE: Only active (i.e. currently approved) requests.</li>\n <li>DISMISSED: Only dismissed (including expired) requests.</li>\n</ol>",
"description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n<ol>\n <li>[not set]: Requests that are pending or have active approvals.</li>\n <li>ALL: All requests.</li>\n <li>PENDING: Only pending requests.</li>\n <li>ACTIVE: Only active (i.e. currently approved) requests.</li>\n <li>DISMISSED: Only dismissed (including expired) requests.</li>\n <li>HISTORY: Active and dismissed (including expired) requests.</li>\n</ol>",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -718,7 +718,7 @@
],
"parameters": {
"filter": {
"description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n<ol>\n <li>[not set]: Requests that are pending or have active approvals.</li>\n <li>ALL: All requests.</li>\n <li>PENDING: Only pending requests.</li>\n <li>ACTIVE: Only active (i.e. currently approved) requests.</li>\n <li>DISMISSED: Only dismissed (including expired) requests.</li>\n</ol>",
"description": "A filter on the type of approval requests to retrieve. Must be one of the\nfollowing values:\n<ol>\n <li>[not set]: Requests that are pending or have active approvals.</li>\n <li>ALL: All requests.</li>\n <li>PENDING: Only pending requests.</li>\n <li>ACTIVE: Only active (i.e. currently approved) requests.</li>\n <li>DISMISSED: Only dismissed (including expired) requests.</li>\n <li>HISTORY: Active and dismissed (including expired) requests.</li>\n</ol>",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -754,7 +754,7 @@
}
}
},
"revision": "20200501",
"revision": "20200708",
"rootUrl": "https://accessapproval.googleapis.com/",
"schemas": {
"AccessApprovalSettings": {
Expand Down
15 changes: 9 additions & 6 deletions src/apis/accessapproval/v1.ts
Expand Up @@ -1243,6 +1243,7 @@ export namespace accessapproval_v1 {
* // <li>PENDING: Only pending requests.</li>
* // <li>ACTIVE: Only active (i.e. currently approved) requests.</li>
* // <li>DISMISSED: Only dismissed (including expired) requests.</li>
* // <li>HISTORY: Active and dismissed (including expired) requests.</li>
* // </ol>
* filter: 'placeholder-value',
* // Requested page size.
Expand Down Expand Up @@ -1271,7 +1272,7 @@ export namespace accessapproval_v1 {
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.filter A filter on the type of approval requests to retrieve. Must be one of the following values: <ol> <li>[not set]: Requests that are pending or have active approvals.</li> <li>ALL: All requests.</li> <li>PENDING: Only pending requests.</li> <li>ACTIVE: Only active (i.e. currently approved) requests.</li> <li>DISMISSED: Only dismissed (including expired) requests.</li> </ol>
* @param {string=} params.filter A filter on the type of approval requests to retrieve. Must be one of the following values: <ol> <li>[not set]: Requests that are pending or have active approvals.</li> <li>ALL: All requests.</li> <li>PENDING: Only pending requests.</li> <li>ACTIVE: Only active (i.e. currently approved) requests.</li> <li>DISMISSED: Only dismissed (including expired) requests.</li> <li>HISTORY: Active and dismissed (including expired) requests.</li> </ol>
* @param {integer=} params.pageSize Requested page size.
* @param {string=} params.pageToken A token identifying the page of results to return.
* @param {string} params.parent The parent resource. This may be "projects/{project_id}", "folders/{folder_id}", or "organizations/{organization_id}".
Expand Down Expand Up @@ -1403,7 +1404,7 @@ export namespace accessapproval_v1 {
export interface Params$Resource$Folders$Approvalrequests$List
extends StandardParameters {
/**
* A filter on the type of approval requests to retrieve. Must be one of the following values: <ol> <li>[not set]: Requests that are pending or have active approvals.</li> <li>ALL: All requests.</li> <li>PENDING: Only pending requests.</li> <li>ACTIVE: Only active (i.e. currently approved) requests.</li> <li>DISMISSED: Only dismissed (including expired) requests.</li> </ol>
* A filter on the type of approval requests to retrieve. Must be one of the following values: <ol> <li>[not set]: Requests that are pending or have active approvals.</li> <li>ALL: All requests.</li> <li>PENDING: Only pending requests.</li> <li>ACTIVE: Only active (i.e. currently approved) requests.</li> <li>DISMISSED: Only dismissed (including expired) requests.</li> <li>HISTORY: Active and dismissed (including expired) requests.</li> </ol>
*/
filter?: string;
/**
Expand Down Expand Up @@ -2372,6 +2373,7 @@ export namespace accessapproval_v1 {
* // <li>PENDING: Only pending requests.</li>
* // <li>ACTIVE: Only active (i.e. currently approved) requests.</li>
* // <li>DISMISSED: Only dismissed (including expired) requests.</li>
* // <li>HISTORY: Active and dismissed (including expired) requests.</li>
* // </ol>
* filter: 'placeholder-value',
* // Requested page size.
Expand Down Expand Up @@ -2400,7 +2402,7 @@ export namespace accessapproval_v1 {
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.filter A filter on the type of approval requests to retrieve. Must be one of the following values: <ol> <li>[not set]: Requests that are pending or have active approvals.</li> <li>ALL: All requests.</li> <li>PENDING: Only pending requests.</li> <li>ACTIVE: Only active (i.e. currently approved) requests.</li> <li>DISMISSED: Only dismissed (including expired) requests.</li> </ol>
* @param {string=} params.filter A filter on the type of approval requests to retrieve. Must be one of the following values: <ol> <li>[not set]: Requests that are pending or have active approvals.</li> <li>ALL: All requests.</li> <li>PENDING: Only pending requests.</li> <li>ACTIVE: Only active (i.e. currently approved) requests.</li> <li>DISMISSED: Only dismissed (including expired) requests.</li> <li>HISTORY: Active and dismissed (including expired) requests.</li> </ol>
* @param {integer=} params.pageSize Requested page size.
* @param {string=} params.pageToken A token identifying the page of results to return.
* @param {string} params.parent The parent resource. This may be "projects/{project_id}", "folders/{folder_id}", or "organizations/{organization_id}".
Expand Down Expand Up @@ -2532,7 +2534,7 @@ export namespace accessapproval_v1 {
export interface Params$Resource$Organizations$Approvalrequests$List
extends StandardParameters {
/**
* A filter on the type of approval requests to retrieve. Must be one of the following values: <ol> <li>[not set]: Requests that are pending or have active approvals.</li> <li>ALL: All requests.</li> <li>PENDING: Only pending requests.</li> <li>ACTIVE: Only active (i.e. currently approved) requests.</li> <li>DISMISSED: Only dismissed (including expired) requests.</li> </ol>
* A filter on the type of approval requests to retrieve. Must be one of the following values: <ol> <li>[not set]: Requests that are pending or have active approvals.</li> <li>ALL: All requests.</li> <li>PENDING: Only pending requests.</li> <li>ACTIVE: Only active (i.e. currently approved) requests.</li> <li>DISMISSED: Only dismissed (including expired) requests.</li> <li>HISTORY: Active and dismissed (including expired) requests.</li> </ol>
*/
filter?: string;
/**
Expand Down Expand Up @@ -3501,6 +3503,7 @@ export namespace accessapproval_v1 {
* // <li>PENDING: Only pending requests.</li>
* // <li>ACTIVE: Only active (i.e. currently approved) requests.</li>
* // <li>DISMISSED: Only dismissed (including expired) requests.</li>
* // <li>HISTORY: Active and dismissed (including expired) requests.</li>
* // </ol>
* filter: 'placeholder-value',
* // Requested page size.
Expand Down Expand Up @@ -3529,7 +3532,7 @@ export namespace accessapproval_v1 {
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string=} params.filter A filter on the type of approval requests to retrieve. Must be one of the following values: <ol> <li>[not set]: Requests that are pending or have active approvals.</li> <li>ALL: All requests.</li> <li>PENDING: Only pending requests.</li> <li>ACTIVE: Only active (i.e. currently approved) requests.</li> <li>DISMISSED: Only dismissed (including expired) requests.</li> </ol>
* @param {string=} params.filter A filter on the type of approval requests to retrieve. Must be one of the following values: <ol> <li>[not set]: Requests that are pending or have active approvals.</li> <li>ALL: All requests.</li> <li>PENDING: Only pending requests.</li> <li>ACTIVE: Only active (i.e. currently approved) requests.</li> <li>DISMISSED: Only dismissed (including expired) requests.</li> <li>HISTORY: Active and dismissed (including expired) requests.</li> </ol>
* @param {integer=} params.pageSize Requested page size.
* @param {string=} params.pageToken A token identifying the page of results to return.
* @param {string} params.parent The parent resource. This may be "projects/{project_id}", "folders/{folder_id}", or "organizations/{organization_id}".
Expand Down Expand Up @@ -3661,7 +3664,7 @@ export namespace accessapproval_v1 {
export interface Params$Resource$Projects$Approvalrequests$List
extends StandardParameters {
/**
* A filter on the type of approval requests to retrieve. Must be one of the following values: <ol> <li>[not set]: Requests that are pending or have active approvals.</li> <li>ALL: All requests.</li> <li>PENDING: Only pending requests.</li> <li>ACTIVE: Only active (i.e. currently approved) requests.</li> <li>DISMISSED: Only dismissed (including expired) requests.</li> </ol>
* A filter on the type of approval requests to retrieve. Must be one of the following values: <ol> <li>[not set]: Requests that are pending or have active approvals.</li> <li>ALL: All requests.</li> <li>PENDING: Only pending requests.</li> <li>ACTIVE: Only active (i.e. currently approved) requests.</li> <li>DISMISSED: Only dismissed (including expired) requests.</li> <li>HISTORY: Active and dismissed (including expired) requests.</li> </ol>
*/
filter?: string;
/**
Expand Down

0 comments on commit cd856eb

Please sign in to comment.