Compute V1 Client - Class SnapshotSettings (1.27.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
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ storage_locationSnapshotSettingsStorageLocationSettings

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
TypeDescription
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
NameDescription
varSnapshotSettingsStorageLocationSettings
Returns
TypeDescription
$this