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 thegoogle.cloud.location.Location.metadatafield.
Generated from protobuf messagegoogle.cloud.redis.v1.LocationMetadata
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 inlocation_idoralternative_location_idfields 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 inlocation_idoralternative_location_idfields when
creating a Redis instance.
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 inlocation_idoralternative_location_idfields when
creating a Redis instance.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Redis V1 Client - Class LocationMetadata (2.1.6)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.6 (latest)](/php/docs/reference/cloud-redis/latest/V1.LocationMetadata)\n- [2.1.5](/php/docs/reference/cloud-redis/2.1.5/V1.LocationMetadata)\n- [2.0.0](/php/docs/reference/cloud-redis/2.0.0/V1.LocationMetadata)\n- [1.9.5](/php/docs/reference/cloud-redis/1.9.5/V1.LocationMetadata)\n- [1.8.4](/php/docs/reference/cloud-redis/1.8.4/V1.LocationMetadata)\n- [1.7.0](/php/docs/reference/cloud-redis/1.7.0/V1.LocationMetadata)\n- [1.6.12](/php/docs/reference/cloud-redis/1.6.12/V1.LocationMetadata) \nReference documentation and code samples for the Google Cloud Redis V1 Client class LocationMetadata.\n\nThis location metadata represents additional configuration options for a\ngiven location where a Redis instance may be created. All fields are output\nonly. It is returned as content of the\n`google.cloud.location.Location.metadata` field.\n\nGenerated from protobuf message `google.cloud.redis.v1.LocationMetadata`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Redis \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAvailableZones\n\nOutput only. The set of available zones in the location. The map is keyed\nby the lowercase ID of each zone, as defined by GCE. These keys can be\nspecified in `location_id` or `alternative_location_id` fields when\ncreating a Redis instance.\n\n### setAvailableZones\n\nOutput only. The set of available zones in the location. The map is keyed\nby the lowercase ID of each zone, as defined by GCE. These keys can be\nspecified in `location_id` or `alternative_location_id` fields when\ncreating a Redis instance."]]