Output only. Timestamp at which the token will expire.
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-11 UTC."],[[["\u003cp\u003eThis API call generates an access token for a specified cluster using a \u003ccode\u003eGET\u003c/code\u003e HTTP request to the \u003ccode\u003ehttps://edgecontainer.googleapis.com/v1/{cluster=projects/*/locations/*/clusters/*}:generateAccessToken\u003c/code\u003e endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003ecluster\u003c/code\u003e path parameter, which is the resource name of the target cluster, and authorization requires the \u003ccode\u003eedgecontainer.clusters.get\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty to generate an access token, meaning no additional information is needed.\u003c/p\u003e\n"],["\u003cp\u003eThe successful response provides a JSON body containing the \u003ccode\u003eaccessToken\u003c/code\u003e string for Kubernetes API server authentication, and an \u003ccode\u003eexpireTime\u003c/code\u003e string indicating the token's expiration timestamp.\u003c/p\u003e\n"],["\u003cp\u003eThis request also requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authentication.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.clusters.generateAccessToken\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.GenerateAccessTokenResponse.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGenerates an access token for a Cluster.\n\n### HTTP request\n\n`GET https://edgecontainer.googleapis.com/v1/{cluster=projects/*/locations/*/clusters/*}:generateAccessToken`\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\nIf successful, the response body contains data with the following structure:\nAn access token for a cluster.\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/)."]]