Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1556)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed May 24, 2022
1 parent 97794a9 commit c40fe28
Show file tree
Hide file tree
Showing 46 changed files with 3,147 additions and 3,366 deletions.
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

0 comments on commit c40fe28

Please sign in to comment.