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 in the \u003ccode\u003eGoogle.Cloud.Workstations.V1\u003c/code\u003e namespace and is used as a response message for the \u003ccode\u003eGenerateAccessToken\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for various operations such as message handling, equality checks, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors, a default one and another that accepts a \u003ccode\u003eGenerateAccessTokenResponse\u003c/code\u003e object as a parameter for creating a copy.\u003c/p\u003e\n"],["\u003cp\u003eIt has two key properties: \u003ccode\u003eAccessToken\u003c/code\u003e, which contains the generated bearer access token for authorization headers, and \u003ccode\u003eExpireTime\u003c/code\u003e, which indicates the token's expiration time, represented by a \u003ccode\u003eTimestamp\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version is 1.3.0, and there are previous versions available including 1.2.0, 1.1.0, and 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]