Class: Google::Apis::ComposerV1beta1::SaveSnapshotResponse

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

Response to SaveSnapshotRequest.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SaveSnapshotResponse

Returns a new instance of SaveSnapshotResponse.



1867
1868
1869
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 1867

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)


1865
1866
1867
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 1865

def snapshot_path
  @snapshot_path
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1872
1873
1874
# File 'lib/google/apis/composer_v1beta1/classes.rb', line 1872

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