Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #1556

Merged
merged 1 commit into from May 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
97 changes: 96 additions & 1 deletion accessapproval/v1/accessapproval-api.json
Expand Up @@ -301,6 +301,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"invalidate": {
"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.",
"flatPath": "v1/folders/{foldersId}/approvalRequests/{approvalRequestsId}:invalidate",
"httpMethod": "POST",
"id": "accessapproval.folders.approvalRequests.invalidate",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Name of the ApprovalRequest to invalidate.",
"location": "path",
"pattern": "^folders/[^/]+/approvalRequests/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:invalidate",
"request": {
"$ref": "InvalidateApprovalRequestMessage"
},
"response": {
"$ref": "ApprovalRequest"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"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.",
"flatPath": "v1/folders/{foldersId}/approvalRequests",
Expand Down Expand Up @@ -542,6 +570,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"invalidate": {
"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.",
"flatPath": "v1/organizations/{organizationsId}/approvalRequests/{approvalRequestsId}:invalidate",
"httpMethod": "POST",
"id": "accessapproval.organizations.approvalRequests.invalidate",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Name of the ApprovalRequest to invalidate.",
"location": "path",
"pattern": "^organizations/[^/]+/approvalRequests/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:invalidate",
"request": {
"$ref": "InvalidateApprovalRequestMessage"
},
"response": {
"$ref": "ApprovalRequest"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"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.",
"flatPath": "v1/organizations/{organizationsId}/approvalRequests",
Expand Down Expand Up @@ -783,6 +839,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"invalidate": {
"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.",
"flatPath": "v1/projects/{projectsId}/approvalRequests/{approvalRequestsId}:invalidate",
"httpMethod": "POST",
"id": "accessapproval.projects.approvalRequests.invalidate",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Name of the ApprovalRequest to invalidate.",
"location": "path",
"pattern": "^projects/[^/]+/approvalRequests/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:invalidate",
"request": {
"$ref": "InvalidateApprovalRequestMessage"
},
"response": {
"$ref": "ApprovalRequest"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"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.",
"flatPath": "v1/projects/{projectsId}/approvalRequests",
Expand Down Expand Up @@ -829,7 +913,7 @@
}
}
},
"revision": "20220317",
"revision": "20220519",
"rootUrl": "https://accessapproval.googleapis.com/",
"schemas": {
"AccessApprovalServiceAccount": {
Expand Down Expand Up @@ -1011,6 +1095,11 @@
"format": "google-datetime",
"type": "string"
},
"invalidateTime": {
"description": "If set, denotes the timestamp at which the approval is invalidated.",
"format": "google-datetime",
"type": "string"
},
"signatureInfo": {
"$ref": "SignatureInfo",
"description": "The signature for the ApprovalRequest and details on how it was signed."
Expand Down Expand Up @@ -1069,6 +1158,12 @@
},
"type": "object"
},
"InvalidateApprovalRequestMessage": {
"description": "Request to invalidate an existing approval.",
"id": "InvalidateApprovalRequestMessage",
"properties": {},
"type": "object"
},
"ListApprovalRequestsResponse": {
"description": "Response to listing of ApprovalRequest objects.",
"id": "ListApprovalRequestsResponse",
Expand Down