Skip to content

Commit c40fe28

Browse files
feat(all): auto-regenerate discovery clients (#1556)
1 parent 97794a9 commit c40fe28

46 files changed

Lines changed: 3147 additions & 3366 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

accessapproval/v1/accessapproval-api.json

Lines changed: 96 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,34 @@
301301
"https://www.googleapis.com/auth/cloud-platform"
302302
]
303303
},
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+
},
304332
"list": {
305333
"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.",
306334
"flatPath": "v1/folders/{foldersId}/approvalRequests",
@@ -542,6 +570,34 @@
542570
"https://www.googleapis.com/auth/cloud-platform"
543571
]
544572
},
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+
},
545601
"list": {
546602
"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.",
547603
"flatPath": "v1/organizations/{organizationsId}/approvalRequests",
@@ -783,6 +839,34 @@
783839
"https://www.googleapis.com/auth/cloud-platform"
784840
]
785841
},
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+
},
786870
"list": {
787871
"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.",
788872
"flatPath": "v1/projects/{projectsId}/approvalRequests",
@@ -829,7 +913,7 @@
829913
}
830914
}
831915
},
832-
"revision": "20220317",
916+
"revision": "20220519",
833917
"rootUrl": "https://accessapproval.googleapis.com/",
834918
"schemas": {
835919
"AccessApprovalServiceAccount": {
@@ -1011,6 +1095,11 @@
10111095
"format": "google-datetime",
10121096
"type": "string"
10131097
},
1098+
"invalidateTime": {
1099+
"description": "If set, denotes the timestamp at which the approval is invalidated.",
1100+
"format": "google-datetime",
1101+
"type": "string"
1102+
},
10141103
"signatureInfo": {
10151104
"$ref": "SignatureInfo",
10161105
"description": "The signature for the ApprovalRequest and details on how it was signed."
@@ -1069,6 +1158,12 @@
10691158
},
10701159
"type": "object"
10711160
},
1161+
"InvalidateApprovalRequestMessage": {
1162+
"description": "Request to invalidate an existing approval.",
1163+
"id": "InvalidateApprovalRequestMessage",
1164+
"properties": {},
1165+
"type": "object"
1166+
},
10721167
"ListApprovalRequestsResponse": {
10731168
"description": "Response to listing of ApprovalRequest objects.",
10741169
"id": "ListApprovalRequestsResponse",

0 commit comments

Comments
 (0)