View Source GoogleApi.Compute.V1.Model.LocationPolicyLocation (google_api_compute v0.70.0)

Attributes

  • constraints (type: GoogleApi.Compute.V1.Model.LocationPolicyLocationConstraints.t, default: nil) - Constraints that the caller requires on the result distribution in this zone.
  • preference (type: String.t, default: nil) - Preference for a given location. Set to either ALLOW or DENY.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Compute.V1.Model.LocationPolicyLocation{
  constraints:
    GoogleApi.Compute.V1.Model.LocationPolicyLocationConstraints.t() | nil,
  preference: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.