public sealed class GenerateAccessTokenResponse : IMessage<GenerateAccessTokenResponse>, IEquatable<GenerateAccessTokenResponse>, IDeepCloneable<GenerateAccessTokenResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Workstations v1 API class GenerateAccessTokenResponse.
The generated bearer access token. To use this token, include it in an
Authorization header of an HTTP request sent to the associated
workstation's hostname—for example, Authorization: Bearer
<access_token>.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGenerateAccessTokenResponse\u003c/code\u003e class is part of the Cloud Workstations v1 API, specifically within the \u003ccode\u003eGoogle.Cloud.Workstations.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class serves as the response message for the \u003ccode\u003eGenerateAccessToken\u003c/code\u003e function, providing a generated bearer access token for a workstation.\u003c/p\u003e\n"],["\u003cp\u003eThe response contains two key properties: \u003ccode\u003eAccessToken\u003c/code\u003e, which is the string representation of the generated token, and \u003ccode\u003eExpireTime\u003c/code\u003e, which indicates when the token will expire, represented as a \u003ccode\u003eTimestamp\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, comparison, deep cloning, and buffer manipulation, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of this class available in the API, with the latest version being 1.3.0 and other versions included being 1.2.0, 1.1.0 and 1.0.0, however the provided documentation covers the 1.0.0 version.\u003c/p\u003e\n"]]],[],null,[]]