View Source GoogleApi.DataMigration.V1beta1.Model.Location (google_api_data_migration v0.19.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) - The canonical id for this location. For example: "us-east1".
  • metadata (type: map(), default: nil) - Service-specific metadata. For example the available capacity at the given location.
  • name (type: String.t, default: nil) - Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1"

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.