Compute V1 Client - Class SnapshotSettingsStorageLocationSettingsStorageLocationPreference (1.20.0)

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

A structure for specifying storage locations.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Name of the location. It should be one of the Cloud Storage buckets. Only one location can be specified.

getName

Name of the location. It should be one of the Cloud Storage buckets. Only one location can be specified.

Returns
TypeDescription
string

hasName

clearName

setName

Name of the location. It should be one of the Cloud Storage buckets. Only one location can be specified.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this