View Source GoogleApi.FirebaseHosting.V1.Model.DnsRecord (google_api_firebase_hosting v0.17.1)

DNS records are resource records that define how systems and services should behave when handling requests for a domain name. For example, when you add A records to your domain name's DNS records, you're informing other systems (such as your users' web browsers) to contact those IPv4 addresses to retrieve resources relevant to your domain name (such as your Hosting site files).

Attributes

  • domainName (type: String.t, default: nil) - Output only. The domain name the record pertains to, e.g. foo.bar.com..
  • rdata (type: String.t, default: nil) - Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP addresses for the domain name. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings associated with the domain name. Hosting uses TXT records to determine which Firebase projects have permission to act on the domain name's behalf. - CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog".
  • requiredAction (type: String.t, default: nil) - Output only. An enum that indicates the a required action for this record.
  • type (type: String.t, default: nil) - Output only. The record's type, which determines what data the record contains.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.FirebaseHosting.V1.Model.DnsRecord{
  domainName: String.t() | nil,
  rdata: String.t() | nil,
  requiredAction: String.t() | nil,
  type: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.