Compute V1 Client - Class SnapshotSettings (1.22.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ storage_location SnapshotSettingsStorageLocationSettings

Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.

getStorageLocation

Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.

Returns
Type Description
SnapshotSettingsStorageLocationSettings|null

hasStorageLocation

clearStorageLocation

setStorageLocation

Policy of which storage location is going to be resolved, and additional data that particularizes how the policy is going to be carried out.

Parameter
Name Description
var SnapshotSettingsStorageLocationSettings
Returns
Type Description
$this