Interface StartEnvironmentRequestOrBuilder (2.54.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the publicKeys.