Class: Google::Apis::CloudshellV1alpha1::StartEnvironmentMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudshellV1alpha1::StartEnvironmentMetadata
- 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
-
#state ⇒ String
Current state of the environment being started.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StartEnvironmentMetadata
constructor
A new instance of StartEnvironmentMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ StartEnvironmentMetadata
Returns a new instance of StartEnvironmentMetadata
283 284 285 |
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#state ⇒ String
Current state of the environment being started.
Corresponds to the JSON property state
281 282 283 |
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 281 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
288 289 290 |
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 288 def update!(**args) @state = args[:state] if args.key?(:state) end |