[[["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-09-04 UTC."],[],[],null,["# Google Cloud Shell V1 Client - Class AuthorizeEnvironmentRequest (2.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.5 (latest)](/php/docs/reference/cloud-shell/latest/V1.AuthorizeEnvironmentRequest)\n- [2.0.4](/php/docs/reference/cloud-shell/2.0.4/V1.AuthorizeEnvironmentRequest)\n- [1.3.5](/php/docs/reference/cloud-shell/1.3.5/V1.AuthorizeEnvironmentRequest)\n- [1.2.2](/php/docs/reference/cloud-shell/1.2.2/V1.AuthorizeEnvironmentRequest)\n- [1.1.1](/php/docs/reference/cloud-shell/1.1.1/V1.AuthorizeEnvironmentRequest)\n- [1.0.4](/php/docs/reference/cloud-shell/1.0.4/V1.AuthorizeEnvironmentRequest) \nReference documentation and code samples for the Google Cloud Shell V1 Client class AuthorizeEnvironmentRequest.\n\nRequest message for\n[AuthorizeEnvironment](/php/docs/reference/cloud-shell/latest/V1.Client.CloudShellServiceClient#_Google_Cloud_Shell_V1_Client_CloudShellServiceClient__authorizeEnvironment__).\n\nGenerated from protobuf message `google.cloud.shell.v1.AuthorizeEnvironmentRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Shell \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nName of the resource that should receive the credentials, for example\n`users/me/environments/default` or\n`users/someone@example.com/environments/default`.\n\n### setName\n\nName of the resource that should receive the credentials, for example\n`users/me/environments/default` or\n`users/someone@example.com/environments/default`.\n\n### getAccessToken\n\nThe OAuth access token that should be sent to the environment.\n\n### setAccessToken\n\nThe OAuth access token that should be sent to the environment.\n\n### getIdToken\n\nThe OAuth ID token that should be sent to the environment.\n\n### setIdToken\n\nThe OAuth ID token that should be sent to the environment.\n\n### getExpireTime\n\nThe time when the credentials expire. If not set, defaults to one hour from\nwhen the server received the request.\n\n### hasExpireTime\n\n### clearExpireTime\n\n### setExpireTime\n\nThe time when the credentials expire. If not set, defaults to one hour from\nwhen the server received the request."]]