View Source GoogleApi.Redis.V1.Model.Location (google_api_redis v0.50.0)

A resource that represents a Google Cloud location.

Attributes

  • displayName (type: String.t, default: nil) - The friendly name for this location, typically a nearby city name. For example, "Tokyo".
  • labels (type: map(), default: nil) - Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
  • locationId (type: String.t, default: nil) - Resource ID for the region. For example: "us-east1".
  • metadata (type: map(), default: nil) - Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by Compute Engine. These keys can be specified in location_id or alternative_location_id fields when creating a Redis instance.
  • name (type: String.t, default: nil) - Full resource name for the region. For example: "projects/example-project/locations/us-east1".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Redis.V1.Model.Location{
  displayName: String.t() | nil,
  labels: map() | nil,
  locationId: String.t() | nil,
  metadata: map() | nil,
  name: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.