Reference documentation and code samples for the Google Cloud Redis V1beta1 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.v1beta1.LocationMetadata
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 |
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 |