Class: Google::Apis::ComputeV1::BulkInsertDiskResource

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulkInsertDiskResource

Returns a new instance of BulkInsertDiskResource.



5135
5136
5137
# File 'lib/google/apis/compute_v1/classes.rb', line 5135

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#source_consistency_group_policyString

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

Returns:

  • (String)


5133
5134
5135
# File 'lib/google/apis/compute_v1/classes.rb', line 5133

def source_consistency_group_policy
  @source_consistency_group_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5140
5141
5142
# File 'lib/google/apis/compute_v1/classes.rb', line 5140

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