Interface StartEnvironmentRequestOrBuilder (2.79.0)

publicinterface StartEnvironmentRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessToken()

publicabstractStringgetAccessToken()

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()

publicabstractByteStringgetAccessTokenBytes()

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()

publicabstractStringgetName()

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()

publicabstractByteStringgetNameBytes()

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)

publicabstractStringgetPublicKeys(intindex)

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)

publicabstractByteStringgetPublicKeysBytes(intindex)

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()

publicabstractintgetPublicKeysCount()

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()

publicabstractList<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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.