Class: Google::Apis::CloudshellV1::StartEnvironmentMetadata

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

Overview

Message included in the metadata field of operations returned from StartEnvironment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StartEnvironmentMetadata

Returns a new instance of StartEnvironmentMetadata.



424
425
426
# File 'lib/google/apis/cloudshell_v1/classes.rb', line 424

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)


422
423
424
# File 'lib/google/apis/cloudshell_v1/classes.rb', line 422

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



429
430
431
# File 'lib/google/apis/cloudshell_v1/classes.rb', line 429

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