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.



6744
6745
6746
# File 'lib/google/apis/compute_alpha/classes.rb', line 6744

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



6728
6729
6730
# File 'lib/google/apis/compute_alpha/classes.rb', line 6728

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



6733
6734
6735
# File 'lib/google/apis/compute_alpha/classes.rb', line 6733

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)


6742
6743
6744
# File 'lib/google/apis/compute_alpha/classes.rb', line 6742

def source_consistency_group_policy
  @source_consistency_group_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6749
6750
6751
6752
6753
# File 'lib/google/apis/compute_alpha/classes.rb', line 6749

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