Genehmigt eine Anfrage und gibt die aktualisierte ApprovalRequest zurück.
Gibt NOT_FOUND zurück, wenn die Anforderung nicht existiert. Gibt FAILED_PRECONDITION zurück, wenn die Anfrage vorhanden ist, sich aber nicht im Status „ausstehend“ befindet.
HTTP-Anfrage
POST https://accessapproval.googleapis.com/v1/{name=organizations/*/approvalRequests/*}:approve
Ein Zeitstempel im Format RFC3339 UTC "Zulu" mit einer Auflösung im Nanosekundenbereich und bis zu neun Nachkommastellen. Beispiele: "2014-10-02T15:01:23Z" und "2014-10-02T15:01:23.045123456Z".
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von ApprovalRequest.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-05-16 (UTC)."],[[["This API endpoint approves an existing approval request, updating its status and returning the modified request, or a failure if the request is not found or is not in the pending state."],["The HTTP request method is a `POST` to a specific URL that includes the request's unique identifier (`name`) as a path parameter using gRPC Transcoding syntax."],["To make this API request, one must use the `accessapproval.requests.approve` IAM permission and the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."],["The request body requires a JSON object with an `expireTime` field, which is a string representing the approval's expiration timestamp in RFC3339 UTC \"Zulu\" format."],["A successful response returns an `ApprovalRequest` instance, while a failure will return `NOT_FOUND` if the request does not exist, or `FAILED_PRECONDITION` if the request is not pending."]]],[]]