|
301 | 301 | "https://www.googleapis.com/auth/cloud-platform" |
302 | 302 | ] |
303 | 303 | }, |
| 304 | + "invalidate": { |
| 305 | + "description": "Invalidates an existing ApprovalRequest. Returns the updated ApprovalRequest. NOTE: This does not deny access to the resource if another request has been made and approved. It only invalidates a single approval. Returns FAILED_PRECONDITION if the request exists but is not in an approved state.", |
| 306 | + "flatPath": "v1/folders/{foldersId}/approvalRequests/{approvalRequestsId}:invalidate", |
| 307 | + "httpMethod": "POST", |
| 308 | + "id": "accessapproval.folders.approvalRequests.invalidate", |
| 309 | + "parameterOrder": [ |
| 310 | + "name" |
| 311 | + ], |
| 312 | + "parameters": { |
| 313 | + "name": { |
| 314 | + "description": "Name of the ApprovalRequest to invalidate.", |
| 315 | + "location": "path", |
| 316 | + "pattern": "^folders/[^/]+/approvalRequests/[^/]+$", |
| 317 | + "required": true, |
| 318 | + "type": "string" |
| 319 | + } |
| 320 | + }, |
| 321 | + "path": "v1/{+name}:invalidate", |
| 322 | + "request": { |
| 323 | + "$ref": "InvalidateApprovalRequestMessage" |
| 324 | + }, |
| 325 | + "response": { |
| 326 | + "$ref": "ApprovalRequest" |
| 327 | + }, |
| 328 | + "scopes": [ |
| 329 | + "https://www.googleapis.com/auth/cloud-platform" |
| 330 | + ] |
| 331 | + }, |
304 | 332 | "list": { |
305 | 333 | "description": "Lists approval requests associated with a project, folder, or organization. Approval requests can be filtered by state (pending, active, dismissed). The order is reverse chronological.", |
306 | 334 | "flatPath": "v1/folders/{foldersId}/approvalRequests", |
|
542 | 570 | "https://www.googleapis.com/auth/cloud-platform" |
543 | 571 | ] |
544 | 572 | }, |
| 573 | + "invalidate": { |
| 574 | + "description": "Invalidates an existing ApprovalRequest. Returns the updated ApprovalRequest. NOTE: This does not deny access to the resource if another request has been made and approved. It only invalidates a single approval. Returns FAILED_PRECONDITION if the request exists but is not in an approved state.", |
| 575 | + "flatPath": "v1/organizations/{organizationsId}/approvalRequests/{approvalRequestsId}:invalidate", |
| 576 | + "httpMethod": "POST", |
| 577 | + "id": "accessapproval.organizations.approvalRequests.invalidate", |
| 578 | + "parameterOrder": [ |
| 579 | + "name" |
| 580 | + ], |
| 581 | + "parameters": { |
| 582 | + "name": { |
| 583 | + "description": "Name of the ApprovalRequest to invalidate.", |
| 584 | + "location": "path", |
| 585 | + "pattern": "^organizations/[^/]+/approvalRequests/[^/]+$", |
| 586 | + "required": true, |
| 587 | + "type": "string" |
| 588 | + } |
| 589 | + }, |
| 590 | + "path": "v1/{+name}:invalidate", |
| 591 | + "request": { |
| 592 | + "$ref": "InvalidateApprovalRequestMessage" |
| 593 | + }, |
| 594 | + "response": { |
| 595 | + "$ref": "ApprovalRequest" |
| 596 | + }, |
| 597 | + "scopes": [ |
| 598 | + "https://www.googleapis.com/auth/cloud-platform" |
| 599 | + ] |
| 600 | + }, |
545 | 601 | "list": { |
546 | 602 | "description": "Lists approval requests associated with a project, folder, or organization. Approval requests can be filtered by state (pending, active, dismissed). The order is reverse chronological.", |
547 | 603 | "flatPath": "v1/organizations/{organizationsId}/approvalRequests", |
|
783 | 839 | "https://www.googleapis.com/auth/cloud-platform" |
784 | 840 | ] |
785 | 841 | }, |
| 842 | + "invalidate": { |
| 843 | + "description": "Invalidates an existing ApprovalRequest. Returns the updated ApprovalRequest. NOTE: This does not deny access to the resource if another request has been made and approved. It only invalidates a single approval. Returns FAILED_PRECONDITION if the request exists but is not in an approved state.", |
| 844 | + "flatPath": "v1/projects/{projectsId}/approvalRequests/{approvalRequestsId}:invalidate", |
| 845 | + "httpMethod": "POST", |
| 846 | + "id": "accessapproval.projects.approvalRequests.invalidate", |
| 847 | + "parameterOrder": [ |
| 848 | + "name" |
| 849 | + ], |
| 850 | + "parameters": { |
| 851 | + "name": { |
| 852 | + "description": "Name of the ApprovalRequest to invalidate.", |
| 853 | + "location": "path", |
| 854 | + "pattern": "^projects/[^/]+/approvalRequests/[^/]+$", |
| 855 | + "required": true, |
| 856 | + "type": "string" |
| 857 | + } |
| 858 | + }, |
| 859 | + "path": "v1/{+name}:invalidate", |
| 860 | + "request": { |
| 861 | + "$ref": "InvalidateApprovalRequestMessage" |
| 862 | + }, |
| 863 | + "response": { |
| 864 | + "$ref": "ApprovalRequest" |
| 865 | + }, |
| 866 | + "scopes": [ |
| 867 | + "https://www.googleapis.com/auth/cloud-platform" |
| 868 | + ] |
| 869 | + }, |
786 | 870 | "list": { |
787 | 871 | "description": "Lists approval requests associated with a project, folder, or organization. Approval requests can be filtered by state (pending, active, dismissed). The order is reverse chronological.", |
788 | 872 | "flatPath": "v1/projects/{projectsId}/approvalRequests", |
|
829 | 913 | } |
830 | 914 | } |
831 | 915 | }, |
832 | | - "revision": "20220317", |
| 916 | + "revision": "20220519", |
833 | 917 | "rootUrl": "https://accessapproval.googleapis.com/", |
834 | 918 | "schemas": { |
835 | 919 | "AccessApprovalServiceAccount": { |
|
1011 | 1095 | "format": "google-datetime", |
1012 | 1096 | "type": "string" |
1013 | 1097 | }, |
| 1098 | + "invalidateTime": { |
| 1099 | + "description": "If set, denotes the timestamp at which the approval is invalidated.", |
| 1100 | + "format": "google-datetime", |
| 1101 | + "type": "string" |
| 1102 | + }, |
1014 | 1103 | "signatureInfo": { |
1015 | 1104 | "$ref": "SignatureInfo", |
1016 | 1105 | "description": "The signature for the ApprovalRequest and details on how it was signed." |
|
1069 | 1158 | }, |
1070 | 1159 | "type": "object" |
1071 | 1160 | }, |
| 1161 | + "InvalidateApprovalRequestMessage": { |
| 1162 | + "description": "Request to invalidate an existing approval.", |
| 1163 | + "id": "InvalidateApprovalRequestMessage", |
| 1164 | + "properties": {}, |
| 1165 | + "type": "object" |
| 1166 | + }, |
1072 | 1167 | "ListApprovalRequestsResponse": { |
1073 | 1168 | "description": "Response to listing of ApprovalRequest objects.", |
1074 | 1169 | "id": "ListApprovalRequestsResponse", |
|
0 commit comments