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 \ V1Methods
__construct
Constructor.
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.
setReplicaZones
URLs of the zones where disks should be replicated to. Only applicable for regional resources.
var
string[]
$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:
- https://www.googleapis.com/compute/v1/projects/project/global/snapshotGroups/snapshotGroup
- projects/project/global/snapshotGroups/snapshotGroup
- global/snapshotGroups/snapshotGroup
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:
- https://www.googleapis.com/compute/v1/projects/project/global/snapshotGroups/snapshotGroup
- projects/project/global/snapshotGroups/snapshotGroup
- global/snapshotGroups/snapshotGroup
var
string
$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.
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.
var
string
$this

