Interface StartEnvironmentRequestOrBuilder (2.11.0)

public interface StartEnvironmentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessToken()

public abstract 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
TypeDescription
String

The accessToken.

getAccessTokenBytes()

public abstract 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
TypeDescription
ByteString

The bytes for accessToken.

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getPublicKeys(int index)

public abstract String getPublicKeys(int index)

Public keys that should be added to the environment before it is started.

repeated string public_keys = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The publicKeys at the given index.

getPublicKeysBytes(int index)

public abstract ByteString getPublicKeysBytes(int index)

Public keys that should be added to the environment before it is started.

repeated string public_keys = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the publicKeys at the given index.

getPublicKeysCount()

public abstract int getPublicKeysCount()

Public keys that should be added to the environment before it is started.

repeated string public_keys = 3;

Returns
TypeDescription
int

The count of publicKeys.

getPublicKeysList()

public abstract List<String> getPublicKeysList()

Public keys that should be added to the environment before it is started.

repeated string public_keys = 3;

Returns
TypeDescription
List<String>

A list containing the publicKeys.