Package com.google.cloud.shell.v1
Interface AuthorizeEnvironmentRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthorizeEnvironmentRequest
,AuthorizeEnvironmentRequest.Builder
public interface AuthorizeEnvironmentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAccessToken()
The OAuth access token that should be sent to the environment.com.google.protobuf.ByteString
getAccessTokenBytes()
The OAuth access token that should be sent to the environment.com.google.protobuf.Timestamp
getExpireTime()
The time when the credentials expire.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
The time when the credentials expire.String
getIdToken()
The OAuth ID token that should be sent to the environment.com.google.protobuf.ByteString
getIdTokenBytes()
The OAuth ID token that should be sent to the environment.String
getName()
Name of the resource that should receive the credentials, for example `users/me/environments/default` or `users/someone@example.com/environments/default`.com.google.protobuf.ByteString
getNameBytes()
Name of the resource that should receive the credentials, for example `users/me/environments/default` or `users/someone@example.com/environments/default`.boolean
hasExpireTime()
The time when the credentials expire.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Name of the resource that should receive the credentials, for example `users/me/environments/default` or `users/someone@example.com/environments/default`.
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of the resource that should receive the credentials, for example `users/me/environments/default` or `users/someone@example.com/environments/default`.
string name = 1;
- Returns:
- The bytes for name.
-
getAccessToken
String getAccessToken()
The OAuth access token that should be sent to the environment.
string access_token = 2;
- Returns:
- The accessToken.
-
getAccessTokenBytes
com.google.protobuf.ByteString getAccessTokenBytes()
The OAuth access token that should be sent to the environment.
string access_token = 2;
- Returns:
- The bytes for accessToken.
-
getIdToken
String getIdToken()
The OAuth ID token that should be sent to the environment.
string id_token = 4;
- Returns:
- The idToken.
-
getIdTokenBytes
com.google.protobuf.ByteString getIdTokenBytes()
The OAuth ID token that should be sent to the environment.
string id_token = 4;
- Returns:
- The bytes for idToken.
-
hasExpireTime
boolean hasExpireTime()
The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
.google.protobuf.Timestamp expire_time = 3;
- Returns:
- Whether the expireTime field is set.
-
getExpireTime
com.google.protobuf.Timestamp getExpireTime()
The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
.google.protobuf.Timestamp expire_time = 3;
- Returns:
- The expireTime.
-
getExpireTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
.google.protobuf.Timestamp expire_time = 3;
-
-