Class: Google::Apis::ComputeBeta::BulkInsertDiskResource

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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.



7206
7207
7208
# File 'lib/google/apis/compute_beta/classes.rb', line 7206

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

Instance Attribute Details

#instant_snapshot_group_parametersGoogle::Apis::ComputeBeta::InstantSnapshotGroupParameters

The parameters for the instant snapshot group. Corresponds to the JSON property instantSnapshotGroupParameters



7182
7183
7184
# File 'lib/google/apis/compute_beta/classes.rb', line 7182

def instant_snapshot_group_parameters
  @instant_snapshot_group_parameters
end

#snapshot_group_parametersGoogle::Apis::ComputeBeta::SnapshotGroupParameters

The parameters for the snapshot group. Corresponds to the JSON property snapshotGroupParameters



7187
7188
7189
# File 'lib/google/apis/compute_beta/classes.rb', line 7187

def snapshot_group_parameters
  @snapshot_group_parameters
end

#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)


7204
7205
7206
# File 'lib/google/apis/compute_beta/classes.rb', line 7204

def source_consistency_group_policy
  @source_consistency_group_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7211
7212
7213
7214
7215
# File 'lib/google/apis/compute_beta/classes.rb', line 7211

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