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
public interface StartEnvironmentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAccessToken()
The initial access token passed to the environment.com.google.protobuf.ByteString
getAccessTokenBytes()
The initial access token passed to the environment.String
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.ByteString
getNameBytes()
Name of the resource that should be started, for example `users/me/environments/default` or `users/someone@example.com/environments/default`.String
getPublicKeys(int index)
Public keys that should be added to the environment before it is started.com.google.protobuf.ByteString
getPublicKeysBytes(int index)
Public keys that should be added to the environment before it is started.int
getPublicKeysCount()
Public keys that should be added to the environment before it is started.List<String>
getPublicKeysList()
Public keys that should be added to the environment before it is started.-
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 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
List<String> 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
String getPublicKeys(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 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.
-
-