Class: Google::Apis::CloudshellV1alpha1::StartEnvironmentResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudshell_v1alpha1/classes.rb,
generated/google/apis/cloudshell_v1alpha1/representations.rb,
generated/google/apis/cloudshell_v1alpha1/representations.rb

Overview

Message included in the response field of operations returned from StartEnvironment once the operation is complete.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ StartEnvironmentResponse

Returns a new instance of StartEnvironmentResponse.



364
365
366
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 364

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#environmentGoogle::Apis::CloudshellV1alpha1::Environment

A Cloud Shell environment, which is defined as the combination of a Docker image specifying what is installed on the environment and a home directory containing the user's data that will remain across sessions. Each user has a single environment with the ID "default". Corresponds to the JSON property environment



362
363
364
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 362

def environment
  @environment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



369
370
371
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 369

def update!(**args)
  @environment = args[:environment] if args.key?(:environment)
end