GoogleApi.DNS.V1.Model.RRSetRoutingPolicy (google_api_dns v0.32.0)

View Source

A RRSetRoutingPolicy represents ResourceRecordSet data that is returned dynamically with the response varying based on configured properties such as geolocation or by weighted random selection.

Attributes

  • geo (type: GoogleApi.DNS.V1.Model.RRSetRoutingPolicyGeoPolicy.t, default: nil) -
  • healthCheck (type: String.t, default: nil) - The fully qualified URL of the HealthCheck to use for this RRSetRoutingPolicy. Format this URL like https://www.googleapis.com/compute/v1/projects/{project}/global/healthChecks/{healthCheck}. https://cloud.google.com/compute/docs/reference/rest/v1/healthChecks
  • kind (type: String.t, default: dns#rRSetRoutingPolicy) -
  • primaryBackup (type: GoogleApi.DNS.V1.Model.RRSetRoutingPolicyPrimaryBackupPolicy.t, default: nil) -
  • wrr (type: GoogleApi.DNS.V1.Model.RRSetRoutingPolicyWrrPolicy.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DNS.V1.Model.RRSetRoutingPolicy{
  geo: GoogleApi.DNS.V1.Model.RRSetRoutingPolicyGeoPolicy.t() | nil,
  healthCheck: String.t() | nil,
  kind: String.t() | nil,
  primaryBackup:
    GoogleApi.DNS.V1.Model.RRSetRoutingPolicyPrimaryBackupPolicy.t() | nil,
  wrr: GoogleApi.DNS.V1.Model.RRSetRoutingPolicyWrrPolicy.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.