Class: Google::Apis::ComputeV1::BulkInsertDiskResource
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::BulkInsertDiskResource
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/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
-
#instant_snapshot_group_parameters ⇒ Google::Apis::ComputeV1::InstantSnapshotGroupParameters
The parameters for the instant snapshot group.
-
#snapshot_group_parameters ⇒ Google::Apis::ComputeV1::SnapshotGroupParameters
The parameters for the snapshot group.
-
#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.
6999 7000 7001 |
# File 'lib/google/apis/compute_v1/classes.rb', line 6999 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instant_snapshot_group_parameters ⇒ Google::Apis::ComputeV1::InstantSnapshotGroupParameters
The parameters for the instant snapshot group.
Corresponds to the JSON property instantSnapshotGroupParameters
6974 6975 6976 |
# File 'lib/google/apis/compute_v1/classes.rb', line 6974 def instant_snapshot_group_parameters @instant_snapshot_group_parameters end |
#snapshot_group_parameters ⇒ Google::Apis::ComputeV1::SnapshotGroupParameters
The parameters for the snapshot group. The usage of snapshot group feature
is restricted.
Corresponds to the JSON property snapshotGroupParameters
6980 6981 6982 |
# File 'lib/google/apis/compute_v1/classes.rb', line 6980 def snapshot_group_parameters @snapshot_group_parameters end |
#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
6997 6998 6999 |
# File 'lib/google/apis/compute_v1/classes.rb', line 6997 def source_consistency_group_policy @source_consistency_group_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7004 7005 7006 7007 7008 |
# File 'lib/google/apis/compute_v1/classes.rb', line 7004 def update!(**args) @instant_snapshot_group_parameters = args[:instant_snapshot_group_parameters] if args.key?(:instant_snapshot_group_parameters) @snapshot_group_parameters = args[:snapshot_group_parameters] if args.key?(:snapshot_group_parameters) @source_consistency_group_policy = args[:source_consistency_group_policy] if args.key?(:source_consistency_group_policy) end |