Google Cloud Redis V1 Client - Class LocationMetadata (2.1.6)

Reference documentation and code samples for the Google Cloud Redis V1 Client class LocationMetadata.

This ___location metadata represents additional configuration options for a given ___location where a Redis instance may be created. All fields are output only. It is returned as content of the google.cloud.___location.Location.metadata field.

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

Namespace

Google \ Cloud \ Redis \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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 location_id or alternative_location_id fields when creating a Redis 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 location_id or alternative_location_id fields when creating a Redis instance.

Returns
Type Description
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 location_id or alternative_location_id fields when creating a Redis instance.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this