public interface GenerateAccessTokenRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getExpirationCase()
public abstract GenerateAccessTokenRequest.ExpirationCase getExpirationCase()| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the ttl field is set. |