Compute V1 Client - Class SnapshotSettings (1.19.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 Google\Cloud\Compute\V1\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
Google\Cloud\Compute\V1\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 Google\Cloud\Compute\V1\SnapshotSettingsStorageLocationSettings
Returns
Type Description
$this