Package com.google.cloud.workstations.v1
Interface GenerateAccessTokenResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerateAccessTokenResponse
,GenerateAccessTokenResponse.Builder
public interface GenerateAccessTokenResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAccessToken()
The generated bearer access token.com.google.protobuf.ByteString
getAccessTokenBytes()
The generated bearer access token.com.google.protobuf.Timestamp
getExpireTime()
Time at which the generated token will expire.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
Time at which the generated token will expire.boolean
hasExpireTime()
Time at which the generated token will expire.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAccessToken
String getAccessToken()
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>`.
string access_token = 1;
- Returns:
- The accessToken.
-
getAccessTokenBytes
com.google.protobuf.ByteString getAccessTokenBytes()
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>`.
string access_token = 1;
- Returns:
- The bytes for accessToken.
-
hasExpireTime
boolean hasExpireTime()
Time at which the generated token will expire.
.google.protobuf.Timestamp expire_time = 2;
- Returns:
- Whether the expireTime field is set.
-
getExpireTime
com.google.protobuf.Timestamp getExpireTime()
Time at which the generated token will expire.
.google.protobuf.Timestamp expire_time = 2;
- Returns:
- The expireTime.
-
getExpireTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Time at which the generated token will expire.
.google.protobuf.Timestamp expire_time = 2;
-
-