Class DnsRecord
A representation of a DNS records for a domain. DNS records are resource records that define how systems and
services should behave when handling requests for a domain. For example, when you add A
records to your
domain'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 (such as your App Hosting files).
Implements
Inherited Members
Namespace: Google.Apis.FirebaseAppHosting.v1.Data
Assembly: Google.Apis.FirebaseAppHosting.v1.dll
Syntax
public class DnsRecord : IDirectResponseSchema
Properties
DomainName
Output only. The domain the record pertains to, e.g. foo.bar.com.
.
Declaration
[JsonProperty("domainName")]
public virtual string DomainName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Rdata
Output only. The data of the record. The meaning of the value depends on record type: - A and AAAA: IP
addresses for the domain. - CNAME: Another domain to check for records. - TXT: Arbitrary text strings
associated with the domain. App Hosting uses TXT records to determine which Firebase projects have
permission to act on the domain's behalf. - CAA: The record's flags, tag, and value, e.g. 0 issue "pki.goog"
.
Declaration
[JsonProperty("rdata")]
public virtual string Rdata { get; set; }
Property Value
Type | Description |
---|---|
string |
RelevantState
Output only. An enum that indicates which state(s) this DNS record applies to. Populated for all records
with an ADD
or REMOVE
required action.
Declaration
[JsonProperty("relevantState")]
public virtual IList<string> RelevantState { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
RequiredAction
Output only. An enum that indicates the a required action for this record. Populated when the record is part
of a required change in a DnsUpdates
discovered
or desired
record set.
Declaration
[JsonProperty("requiredAction")]
public virtual string RequiredAction { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Output only. The record's type, which determines what data the record contains.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |