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
@Generated
public interface AuthorizeEnvironmentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe OAuth access token that should be sent to the environment.com.google.protobuf.ByteStringThe OAuth access token that should be sent to the environment.com.google.protobuf.TimestampThe time when the credentials expire.com.google.protobuf.TimestampOrBuilderThe time when the credentials expire.The OAuth ID token that should be sent to the environment.com.google.protobuf.ByteStringThe OAuth ID token that should be sent to the environment.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.ByteStringName of the resource that should receive the credentials, for example `users/me/environments/default` or `users/someone@example.com/environments/default`.booleanThe time when the credentials expire.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;
-