Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::SnapshotGroupParameters (v3.6.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::SnapshotGroupParameters.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#replica_zones

def replica_zones() -> ::Array<::String>
Returns
  • (::Array<::String>) — URLs of the zones where disks should be replicated to. Only applicable for regional resources.

#replica_zones=

def replica_zones=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — URLs of the zones where disks should be replicated to. Only applicable for regional resources.
Returns
  • (::Array<::String>) — URLs of the zones where disks should be replicated to. Only applicable for regional resources.

#source_snapshot_group

def source_snapshot_group() -> ::String
Returns
  • (::String) —

    The source snapshot group used to create disks. You can provide this as a partial or full URL to the resource. For example, the following are valid values:

     - https://www.googleapis.com/compute/v1/projects/project/global/snapshotGroups/snapshotGroup
    
    • projects/project/global/snapshotGroups/snapshotGroup
      • global/snapshotGroups/snapshotGroup

#source_snapshot_group=

def source_snapshot_group=(value) -> ::String
Parameter
  • value (::String) —

    The source snapshot group used to create disks. You can provide this as a partial or full URL to the resource. For example, the following are valid values:

     - https://www.googleapis.com/compute/v1/projects/project/global/snapshotGroups/snapshotGroup
    
    • projects/project/global/snapshotGroups/snapshotGroup
      • global/snapshotGroups/snapshotGroup
Returns
  • (::String) —

    The source snapshot group used to create disks. You can provide this as a partial or full URL to the resource. For example, the following are valid values:

     - https://www.googleapis.com/compute/v1/projects/project/global/snapshotGroups/snapshotGroup
    
    • projects/project/global/snapshotGroups/snapshotGroup
      • global/snapshotGroups/snapshotGroup

#type

def type() -> ::String
Returns
  • (::String) — URL of the disk type resource describing which disk type to use to create disks. Provide this when creating the disk. For example:projects/project/zones/zone/diskTypes/pd-ssd. See Persistent disk types.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — URL of the disk type resource describing which disk type to use to create disks. Provide this when creating the disk. For example:projects/project/zones/zone/diskTypes/pd-ssd. See Persistent disk types.
Returns
  • (::String) — URL of the disk type resource describing which disk type to use to create disks. Provide this when creating the disk. For example:projects/project/zones/zone/diskTypes/pd-ssd. See Persistent disk types.