Memorystore for Memcached V1 Client - Class LocationMetadata (1.2.2)

Reference documentation and code samples for the Memorystore for Memcached V1 Client class LocationMetadata.

Metadata for the given google.cloud.location.Location.

Generated from protobuf message google.cloud.memcache.v1.LocationMetadata

Namespace

Google \ Cloud \ Memcache \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ available_zones array|Google\Protobuf\Internal\MapField

Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by GCE. These keys can be specified in the zones field when creating a Memcached instance.

getAvailableZones

Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by GCE. These keys can be specified in the zones field when creating a Memcached instance.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setAvailableZones

Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by GCE. These keys can be specified in the zones field when creating a Memcached instance.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this