Compute V1 Client - Class ResourcePolicySnapshotSchedulePolicySnapshotProperties (1.7.1)

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

Specified snapshot properties for scheduled snapshots created by this policy.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ chain_name string

Chain name that the snapshot is created in.

↳ guest_flush bool

Indication to perform a 'guest aware' snapshot.

↳ labels array|Google\Protobuf\Internal\MapField

Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.

↳ storage_locations array

Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).

getChainName

Chain name that the snapshot is created in.

Returns
TypeDescription
string

hasChainName

clearChainName

setChainName

Chain name that the snapshot is created in.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGuestFlush

Indication to perform a 'guest aware' snapshot.

Returns
TypeDescription
bool

hasGuestFlush

clearGuestFlush

setGuestFlush

Indication to perform a 'guest aware' snapshot.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getLabels

Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getStorageLocations

Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setStorageLocations

Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional).

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this