Interface GenerateAccessTokenRequestOrBuilder (0.24.0)

public interface GenerateAccessTokenRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExpirationCase()

public abstract GenerateAccessTokenRequest.ExpirationCase getExpirationCase()
Returns
TypeDescription
GenerateAccessTokenRequest.ExpirationCase

getExpireTime()

public abstract Timestamp getExpireTime()

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.

.google.protobuf.Timestamp expire_time = 2;

Returns
TypeDescription
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public abstract TimestampOrBuilder getExpireTimeOrBuilder()

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.

.google.protobuf.Timestamp expire_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getTtl()

public abstract Duration getTtl()

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.

.google.protobuf.Duration ttl = 3;

Returns
TypeDescription
Duration

The ttl.

getTtlOrBuilder()

public abstract DurationOrBuilder getTtlOrBuilder()

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.

.google.protobuf.Duration ttl = 3;

Returns
TypeDescription
DurationOrBuilder

getWorkstation()

public abstract String getWorkstation()

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

string workstation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The workstation.

getWorkstationBytes()

public abstract ByteString getWorkstationBytes()

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

string workstation = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for workstation.

hasExpireTime()

public abstract boolean hasExpireTime()

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.

.google.protobuf.Timestamp expire_time = 2;

Returns
TypeDescription
boolean

Whether the expireTime field is set.

hasTtl()

public abstract boolean hasTtl()

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.

.google.protobuf.Duration ttl = 3;

Returns
TypeDescription
boolean

Whether the ttl field is set.