Cloud Workstations v1 API - Class GenerateAccessTokenResponse (1.1.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
NameDescription
otherGenerateAccessTokenResponse

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
TypeDescription
string

ExpireTime

public Timestamp ExpireTime { get; set; }

Time at which the generated token will expire.

Property Value
TypeDescription
Timestamp