The resource record sets collection holds the current state of the DNS records that make up a managed zone. You can read this collection but you do not modify it directly. Rather, you edit the resource record sets in a managed zone by creating a change request.
For a list of methods for this resource, see the end of this page.
Resource representations
A unit of data that will be returned by the DNS servers.
{
"kind": "dns#resourceRecordSet",
"name": string,
"type": string,
"ttl": integer,
"rrdatas": [
string
]
}
| Property name | Value | Description | Notes |
|---|---|---|---|
kind
|
string
|
[Output only]
Identifies what kind of resource this is. Value: the fixed string
"dns#resourceRecordSet"
.
|
|
name
|
string
|
For example,
www.example.com.
, which includes the trailing period (
.
).
|
|
rrdatas[]
|
list
|
As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1). | |
ttl
|
integer
|
Number of seconds that this resource record set can be cached by DNS resolvers. | |
type
|
string
|
The type of resource record. See the full list of supported record types . |
Methods
The following are valid
Resourcerecordsets
methods:
- list
-
Enumerates
ResourceRecordSetsthat have been created but not yet deleted.