Cloud Workstations v1 API - Class GenerateAccessTokenResponse (1.3.0)

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.

Inheritance

object > GenerateAccessTokenResponse

Namespace

Google.Cloud.Workstations.V1

Assembly

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