Class: Google::Apis::NetappV1::OntapSource
- Inherits:
-
Object
- Object
- Google::Apis::NetappV1::OntapSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/netapp_v1/classes.rb,
lib/google/apis/netapp_v1/representations.rb,
lib/google/apis/netapp_v1/representations.rb
Overview
Represents ONTAP source details.
Instance Attribute Summary collapse
-
#snapshot_uuid ⇒ String
Optional.
-
#storage_pool ⇒ String
Required.
-
#volume_uuid ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OntapSource
constructor
A new instance of OntapSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OntapSource
Returns a new instance of OntapSource.
2155 2156 2157 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2155 def initialize(**args) update!(**args) end |
Instance Attribute Details
#snapshot_uuid ⇒ String
Optional. The UUID of the ONTAP source snapshot.
Corresponds to the JSON property snapshotUuid
2141 2142 2143 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2141 def snapshot_uuid @snapshot_uuid end |
#storage_pool ⇒ String
Required. Name of the storage pool. This must be specified for creating
backups for ONTAP mode volumes. Format: projects/projects_id/locations/
location/storagePools/storage_pool_id`
Corresponds to the JSON propertystoragePool`
2148 2149 2150 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2148 def storage_pool @storage_pool end |
#volume_uuid ⇒ String
Required. The UUID of the ONTAP source volume.
Corresponds to the JSON property volumeUuid
2153 2154 2155 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2153 def volume_uuid @volume_uuid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2160 2161 2162 2163 2164 |
# File 'lib/google/apis/netapp_v1/classes.rb', line 2160 def update!(**args) @snapshot_uuid = args[:snapshot_uuid] if args.key?(:snapshot_uuid) @storage_pool = args[:storage_pool] if args.key?(:storage_pool) @volume_uuid = args[:volume_uuid] if args.key?(:volume_uuid) end |