Class: Google::Apis::ComputeAlpha::BulkInsertDiskResource

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BulkInsertDiskResource

Returns a new instance of BulkInsertDiskResource.



7551
7552
7553
# File 'lib/google/apis/compute_alpha/classes.rb', line 7551

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

Instance Attribute Details

#instant_snapshot_group_parametersGoogle::Apis::ComputeAlpha::InstantSnapshotGroupParameters

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



7527
7528
7529
# File 'lib/google/apis/compute_alpha/classes.rb', line 7527

def instant_snapshot_group_parameters
  @instant_snapshot_group_parameters
end

#snapshot_group_parametersGoogle::Apis::ComputeAlpha::SnapshotGroupParameters

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



7532
7533
7534
# File 'lib/google/apis/compute_alpha/classes.rb', line 7532

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)


7549
7550
7551
# File 'lib/google/apis/compute_alpha/classes.rb', line 7549

def source_consistency_group_policy
  @source_consistency_group_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7556
7557
7558
7559
7560
# File 'lib/google/apis/compute_alpha/classes.rb', line 7556

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