Compute V1 Client - Class SnapshotGroupParameters (2.10.0)

Reference documentation and code samples for the Compute V1 Client class SnapshotGroupParameters.

Generated from protobuf message google.cloud.compute.v1.SnapshotGroupParameters

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ replica_zones
string[]

URLs of the zones where disks should be replicated to. Only applicable for regional resources.

↳ source_snapshot_group
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
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.

getReplicaZones

URLs of the zones where disks should be replicated to. Only applicable for regional resources.

Returns
Type
Description

setReplicaZones

URLs of the zones where disks should be replicated to. Only applicable for regional resources.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this

getSourceSnapshotGroup

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:

Returns
Type
Description
string

hasSourceSnapshotGroup

clearSourceSnapshotGroup

setSourceSnapshotGroup

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:

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getType

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
Type
Description
string

hasType

clearType

setType

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.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: