Class: Google::Apis::ComputeAlpha::BulkInsertDiskResource
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::BulkInsertDiskResource
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
A transient resource used in compute.disks.bulkInsert and compute.regionDisks. bulkInsert. It is only used to process requests and is not persisted.
Instance Attribute Summary collapse
-
#source_consistency_group_policy ⇒ String
The URL of the DiskConsistencyGroupPolicy for the group of disks to clone.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BulkInsertDiskResource
constructor
A new instance of BulkInsertDiskResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BulkInsertDiskResource
Returns a new instance of BulkInsertDiskResource.
5215 5216 5217 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5215 def initialize(**args) update!(**args) end |
Instance Attribute Details
#source_consistency_group_policy ⇒ String
The URL of the DiskConsistencyGroupPolicy for the group of disks to clone.
This may be a full or partial URL, such as: - https://www.googleapis.com/
compute/v1/projects/project/regions/region /resourcePolicies/resourcePolicy -
projects/project/regions/region/resourcePolicies/resourcePolicy - regions/
region/resourcePolicies/resourcePolicy
Corresponds to the JSON property sourceConsistencyGroupPolicy
5213 5214 5215 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5213 def source_consistency_group_policy @source_consistency_group_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5220 5221 5222 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 5220 def update!(**args) @source_consistency_group_policy = args[:source_consistency_group_policy] if args.key?(:source_consistency_group_policy) end |