Cloud Workstations v1 API - Class GenerateAccessTokenRequest (1.1.0)

public sealed class GenerateAccessTokenRequest : IMessage<GenerateAccessTokenRequest>, IEquatable<GenerateAccessTokenRequest>, IDeepCloneable<GenerateAccessTokenRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Workstations v1 API class GenerateAccessTokenRequest.

Request message for GenerateAccessToken.

Inheritance

object > GenerateAccessTokenRequest

Namespace

Google.Cloud.Workstations.V1

Assembly

Google.Cloud.Workstations.V1.dll

Constructors

GenerateAccessTokenRequest()

public GenerateAccessTokenRequest()

GenerateAccessTokenRequest(GenerateAccessTokenRequest)

public GenerateAccessTokenRequest(GenerateAccessTokenRequest other)
Parameter
NameDescription
otherGenerateAccessTokenRequest

Properties

ExpirationCase

public GenerateAccessTokenRequest.ExpirationOneofCase ExpirationCase { get; }
Property Value
TypeDescription
GenerateAccessTokenRequestExpirationOneofCase

ExpireTime

public Timestamp ExpireTime { get; set; }

Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future.

Property Value
TypeDescription
Timestamp

Ttl

public Duration Ttl { get; set; }

Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour.

Property Value
TypeDescription
Duration

Workstation

public string Workstation { get; set; }

Required. Name of the workstation for which the access token should be generated.

Property Value
TypeDescription
string

WorkstationAsWorkstationName

public WorkstationName WorkstationAsWorkstationName { get; set; }

WorkstationName-typed view over the Workstation resource name property.

Property Value
TypeDescription
WorkstationName