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 and is used to handle the response message for the GenerateAccessToken operation.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eIt includes two constructors: a default constructor and one that accepts another \u003ccode\u003eGenerateAccessTokenResponse\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccessToken\u003c/code\u003e property returns the generated bearer access token, which can be used in the authorization header when sending HTTP requests.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExpireTime\u003c/code\u003e property is of type \u003ccode\u003eTimestamp\u003c/code\u003e and indicates when the generated access token will expire.\u003c/p\u003e\n"]]],[],null,[]]