Class: Google::Apis::CloudshellV1alpha1::StartEnvironmentMetadata

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 metadata field of operations returned from StartEnvironment.

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) ⇒ StartEnvironmentMetadata

Returns a new instance of StartEnvironmentMetadata.



312
313
314
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 312

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

Instance Attribute Details

#stateString

Current state of the environment being started. Corresponds to the JSON property state

Returns:

  • (String)


310
311
312
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 310

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



317
318
319
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 317

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