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.
Response message for GenerateAccessToken.
Implements
IMessageGenerateAccessTokenResponse, IEquatableGenerateAccessTokenResponse, IDeepCloneableGenerateAccessTokenResponse, IBufferMessage, IMessageNamespace
Google.Cloud.Workstations.V1Assembly
Google.Cloud.Workstations.V1.dll
Constructors
GenerateAccessTokenResponse()
public GenerateAccessTokenResponse()
GenerateAccessTokenResponse(GenerateAccessTokenResponse)
public GenerateAccessTokenResponse(GenerateAccessTokenResponse other)
Parameter | |
---|---|
Name | Description |
other | GenerateAccessTokenResponse |
Properties
AccessToken
public string AccessToken { get; set; }
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>
.
Property Value | |
---|---|
Type | Description |
string |
ExpireTime
public Timestamp ExpireTime { get; set; }
Time at which the generated token will expire.
Property Value | |
---|---|
Type | Description |
Timestamp |