Class: Google::Apis::ComposerV1::SaveSnapshotResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1::SaveSnapshotResponse
- 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
-
#snapshot_path ⇒ String
The fully-resolved Cloud Storage path of the created snapshot, e.g.: "gs://my- bucket/snapshots/project_location_environment_timestamp".
Instance Method Summary collapse
-
#initialize(**args) ⇒ SaveSnapshotResponse
constructor
A new instance of SaveSnapshotResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SaveSnapshotResponse
Returns a new instance of SaveSnapshotResponse.
1112 1113 1114 |
# File 'lib/google/apis/composer_v1/classes.rb', line 1112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#snapshot_path ⇒ String
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
1110 1111 1112 |
# File 'lib/google/apis/composer_v1/classes.rb', line 1110 def snapshot_path @snapshot_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1117 1118 1119 |
# File 'lib/google/apis/composer_v1/classes.rb', line 1117 def update!(**args) @snapshot_path = args[:snapshot_path] if args.key?(:snapshot_path) end |