Class: Google::Cloud::Shell::V1::StartEnvironmentRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/shell/v1/cloudshell.rb

Overview

Request message for StartEnvironment.

Instance Attribute Summary collapse

Instance Attribute Details

#access_token::String

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



137
138
139
140
# File 'proto_docs/google/cloud/shell/v1/cloudshell.rb', line 137

class StartEnvironmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns Name of the resource that should be started, for example users/me/environments/default or users/[email protected]/environments/default.

Returns:

  • (::String)

    Name of the resource that should be started, for example users/me/environments/default or users/[email protected]/environments/default.



137
138
139
140
# File 'proto_docs/google/cloud/shell/v1/cloudshell.rb', line 137

class StartEnvironmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#public_keys::Array<::String>

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



137
138
139
140
# File 'proto_docs/google/cloud/shell/v1/cloudshell.rb', line 137

class StartEnvironmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end