Class: Google::Apis::ComposerV1beta1::StoreEnvironmentStateResponse

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

Overview

Store environment state response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StoreEnvironmentStateResponse

Returns a new instance of StoreEnvironmentStateResponse.



1316
1317
1318
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 1316

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

Instance Attribute Details

#snapshot_locationString

The fully-resolved Cloud Storage location of the created snapshot, e.g.: "gs:// my-bucket/snapshots/project_id/location/environment_uuid/timestamp". This field is populated only if the snapshot creation was successful. Corresponds to the JSON property snapshotLocation

Returns:

  • (String)


1314
1315
1316
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 1314

def snapshot_location
  @snapshot_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1321
1322
1323
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 1321

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