class Google::Apis::CloudshellV1::StartEnvironmentRequest

Request message for StartEnvironment.

Attributes

access_token[RW]

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. Corresponds to the JSON property `accessToken` @return [String]

public_keys[RW]

Public keys that should be added to the environment before it is started. Corresponds to the JSON property `publicKeys` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudshell_v1/classes.rb, line 451
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudshell_v1/classes.rb, line 456
def update!(**args)
  @access_token = args[:access_token] if args.key?(:access_token)
  @public_keys = args[:public_keys] if args.key?(:public_keys)
end