Compute V1 Client - Class ResourcePolicySnapshotSchedulePolicySnapshotProperties (1.5.0)

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.

Generated from protobuf field optional string chain_name = 68644169;

Returns
TypeDescription
string

hasChainName

clearChainName

setChainName

Chain name that the snapshot is created in.

Generated from protobuf field optional string chain_name = 68644169;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGuestFlush

Indication to perform a 'guest aware' snapshot.

Generated from protobuf field optional bool guest_flush = 385550813;

Returns
TypeDescription
bool

hasGuestFlush

clearGuestFlush

setGuestFlush

Indication to perform a 'guest aware' snapshot.

Generated from protobuf field optional bool guest_flush = 385550813;

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.

Generated from protobuf field map<string, string> labels = 500195327;

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.

Generated from protobuf field map<string, string> labels = 500195327;

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).

Generated from protobuf field repeated string storage_locations = 328005274;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setStorageLocations

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

Generated from protobuf field repeated string storage_locations = 328005274;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this