# Google Cloud Memorystore for Redis v1 API - Class LocationMetadata (3.6.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [3.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.LocationMetadata)
- [3.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/3.5.0/Google.Cloud.Redis.V1.LocationMetadata)
- [3.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/3.4.0/Google.Cloud.Redis.V1.LocationMetadata)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/3.3.0/Google.Cloud.Redis.V1.LocationMetadata)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/3.2.0/Google.Cloud.Redis.V1.LocationMetadata)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/3.1.0/Google.Cloud.Redis.V1.LocationMetadata)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/3.0.0/Google.Cloud.Redis.V1.LocationMetadata)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/2.5.0/Google.Cloud.Redis.V1.LocationMetadata)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/2.4.0/Google.Cloud.Redis.V1.LocationMetadata)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/2.3.0/Google.Cloud.Redis.V1.LocationMetadata)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/2.2.0/Google.Cloud.Redis.V1.LocationMetadata)

    public sealed class LocationMetadata : IMessage<LocationMetadata>, IEquatable<LocationMetadata>, IDeepCloneable<LocationMetadata>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Memorystore for Redis v1 API 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.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> LocationMetadata

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[LocationMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.LocationMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LocationMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.LocationMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[LocationMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.LocationMetadata), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Redis.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1)

## Assembly

Google.Cloud.Redis.V1.dll

## Constructors

### LocationMetadata()

    public LocationMetadata()

### LocationMetadata(LocationMetadata)

    public LocationMetadata(LocationMetadata other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.LocationMetadata` |

## Properties

### AvailableZones

    public MapField<string, ZoneMetadata> AvailableZones { get; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.ZoneMetadata` |   |