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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
hasChainName
clearChainName
setChainName
Chain name that the snapshot is created in.
Generated from protobuf field optional string chain_name = 68644169;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getGuestFlush
Indication to perform a 'guest aware' snapshot.
Generated from protobuf field optional bool guest_flush = 385550813;
Returns | |
---|---|
Type | Description |
bool |
hasGuestFlush
clearGuestFlush
setGuestFlush
Indication to perform a 'guest aware' snapshot.
Generated from protobuf field optional bool guest_flush = 385550813;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |