Expiration timestamp. Can be empty if unknown or non-expiring.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-17 UTC."],[[["\u003cp\u003eThis webpage details how to fetch a read/write token for a specified repository using a POST request.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is directed to a specific repository using the gRPC Transcoding syntax, requiring the repository's resource name as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and the successful response contains a JSON object with the token and its expiration time.\u003c/p\u003e\n"],["\u003cp\u003eTo access this endpoint, users need the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e and the IAM permission \u003ccode\u003ecloudbuild.repositories.accessReadWriteToken\u003c/code\u003e on the repository resource.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.connections.repositories.accessReadWriteToken\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.FetchReadWriteTokenResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n- [Try it!](#try-it)\n\nFetches read/write token of a given repository.\n\n### HTTP request\n\n`POST https://cloudbuild.googleapis.com/v2/{repository=projects/*/locations/*/connections/*/repositories/*}:accessReadWriteToken`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nMessage for responding to get read/write token.\n\nIf successful, the response body contains data with the following structure:\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/).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `repository` resource:\n\n- `cloudbuild.repositories.accessReadWriteToken`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]