Package com.google.cloud.shell.v1
Interface StartEnvironmentRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StartEnvironmentRequest,StartEnvironmentRequest.Builder
@Generated
public interface StartEnvironmentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe initial access token passed to the environment.com.google.protobuf.ByteStringThe initial access token passed to the environment.getName()Name of the resource that should be started, for example `users/me/environments/default` or `users/someone@example.com/environments/default`.com.google.protobuf.ByteStringName of the resource that should be started, for example `users/me/environments/default` or `users/someone@example.com/environments/default`.getPublicKeys(int index) Public keys that should be added to the environment before it is started.com.google.protobuf.ByteStringgetPublicKeysBytes(int index) Public keys that should be added to the environment before it is started.intPublic keys that should be added to the environment before it is started.Public keys that should be added to the environment before it is started.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 be started, 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 be started, 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 initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment.
string access_token = 2;- Returns:
- The accessToken.
-
getAccessTokenBytes
com.google.protobuf.ByteString getAccessTokenBytes()The initial access token passed to the environment. If this is present and valid, the environment will be pre-authenticated with gcloud so that the user can run gcloud commands in Cloud Shell without having to log in. This code can be updated later by calling AuthorizeEnvironment.
string access_token = 2;- Returns:
- The bytes for accessToken.
-
getPublicKeysList
Public keys that should be added to the environment before it is started.
repeated string public_keys = 3;- Returns:
- A list containing the publicKeys.
-
getPublicKeysCount
int getPublicKeysCount()Public keys that should be added to the environment before it is started.
repeated string public_keys = 3;- Returns:
- The count of publicKeys.
-
getPublicKeys
Public keys that should be added to the environment before it is started.
repeated string public_keys = 3;- Parameters:
index- The index of the element to return.- Returns:
- The publicKeys at the given index.
-
getPublicKeysBytes
com.google.protobuf.ByteString getPublicKeysBytes(int index) Public keys that should be added to the environment before it is started.
repeated string public_keys = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the publicKeys at the given index.
-