Um carimbo de data/hora no formato RFC3339 UTC "Zulu", com resolução de nanossegundos e até nove dígitos fracionários. Exemplos: "2014-10-02T15:01:23Z" e "2014-10-02T15:01:23.045123456Z".
Corpo da resposta
Se a solicitação for bem-sucedida, o corpo da resposta conterá uma instância de ApprovalRequest.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2024-05-16 UTC."],[[["\u003cp\u003eThis API endpoint approves an existing approval request, updating its status and returning the modified request, or errors if it does not exist or is not pending.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made using a \u003ccode\u003ePOST\u003c/code\u003e HTTP method to a specific URL with a dynamic \u003ccode\u003ename\u003c/code\u003e path parameter, representing the ID of the approval request to be updated, which requires \u003ccode\u003eaccessapproval.requests.approve\u003c/code\u003e IAM permission on the target resource.\u003c/p\u003e\n"],["\u003cp\u003eThe request body includes a \u003ccode\u003eexpireTime\u003c/code\u003e field, using RFC3339 UTC "Zulu" timestamp format, specifying when the approval should expire, if successful.\u003c/p\u003e\n"],["\u003cp\u003eA successful response returns an instance of \u003ccode\u003eApprovalRequest\u003c/code\u003e, while a \u003ccode\u003eNOT_FOUND\u003c/code\u003e or \u003ccode\u003eFAILED_PRECONDITION\u003c/code\u003e error can be returned if an issue occurs.\u003c/p\u003e\n"],["\u003cp\u003eThe endpoint requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: projects.approvalRequests.approve\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nApproves a request and returns the updated ApprovalRequest.\n\nReturns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the request exists but is not in a pending state.\n\n### HTTP request\n\n`POST https://accessapproval.googleapis.com/v1/{name=projects/*/approvalRequests/*}:approve`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [ApprovalRequest](/assured-workloads/access-approval/docs/reference/rest/v1/folders.approvalRequests#ApprovalRequest).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]