View Source GoogleApi.Domains.V1beta1.Model.ResourceRecordSet (google_api_domains v0.12.2)

A unit of data that is returned by the DNS servers.

Attributes

  • name (type: String.t, default: nil) - For example, www.example.com.
  • routingPolicy (type: GoogleApi.Domains.V1beta1.Model.RRSetRoutingPolicy.t, default: nil) - Configures dynamic query responses based on either the geo location of the querying user or a weighted round robin based routing policy. A valid ResourceRecordSet contains only rrdata (for static resolution) or a routing_policy (for dynamic resolution).
  • rrdata (type: list(String.t), default: nil) - As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see examples.
  • signatureRrdata (type: list(String.t), default: nil) - As defined in RFC 4034 (section 3.2).
  • ttl (type: integer(), default: nil) - Number of seconds that this ResourceRecordSet can be cached by resolvers.
  • type (type: String.t, default: nil) - The identifier of a supported record type. See the list of Supported DNS record types.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Domains.V1beta1.Model.ResourceRecordSet{
  name: String.t() | nil,
  routingPolicy: GoogleApi.Domains.V1beta1.Model.RRSetRoutingPolicy.t() | nil,
  rrdata: [String.t()] | nil,
  signatureRrdata: [String.t()] | nil,
  ttl: integer() | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.