Cloud Shell V1 API - Class Google::Cloud::Shell::V1::StartEnvironmentRequest (v0.5.1)

Reference documentation and code samples for the Cloud Shell V1 API class Google::Cloud::Shell::V1::StartEnvironmentRequest.

Request message for StartEnvironment.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#access_token

def access_token() -> ::String
Returns
  • (::String) — 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.

#access_token=

def access_token=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#name

def name() -> ::String
Returns
  • (::String) — Name of the resource that should be started, for example users/me/environments/default or users/someone@example.com/environments/default.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of the resource that should be started, for example users/me/environments/default or users/someone@example.com/environments/default.
Returns
  • (::String) — Name of the resource that should be started, for example users/me/environments/default or users/someone@example.com/environments/default.

#public_keys

def public_keys() -> ::Array<::String>
Returns
  • (::Array<::String>) — Public keys that should be added to the environment before it is started.

#public_keys=

def public_keys=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Public keys that should be added to the environment before it is started.
Returns
  • (::Array<::String>) — Public keys that should be added to the environment before it is started.