Class: Google::Apis::ComposerV1::SaveSnapshotResponse

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

Overview

Response to SaveSnapshotRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SaveSnapshotResponse

Returns a new instance of SaveSnapshotResponse.



1836
1837
1838
# File 'lib/google/apis/composer_v1/classes.rb', line 1836

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

Instance Attribute Details

#snapshot_pathString

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

Returns:

  • (String)


1834
1835
1836
# File 'lib/google/apis/composer_v1/classes.rb', line 1834

def snapshot_path
  @snapshot_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1841
1842
1843
# File 'lib/google/apis/composer_v1/classes.rb', line 1841

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