Cloud DNS API, gRPC: DnsZoneService.GetRecordSet
Returns the specified record set.
gRPC request
rpc GetRecordSet (GetDnsZoneRecordSetRequest) returns (RecordSet)
GetDnsZoneRecordSetRequest
{
"dns_zone_id": "string",
"name": "string",
"type": "string"
}
|
Field |
Description |
|
dns_zone_id |
string ID of the DNS zone to get record set from. The maximum string length in characters is 255. |
|
name |
string Required field. Name of the record set. The maximum string length in characters is 255. |
|
type |
string Required field. Type of the record set. The maximum string length in characters is 10. |
RecordSet
{
"name": "string",
"type": "string",
"ttl": "int64",
"data": [
"string"
],
"description": "string"
}
A record set. For details about the concept, see Resource record.
|
Field |
Description |
|
name |
string Domain name. The string length in characters must be 1-254. |
|
type |
string Record type. The string length in characters must be 1-20. |
|
ttl |
int64 Time to live in seconds. Acceptable values are 0 to 2147483647, inclusive. |
|
data[] |
string Data of the record set. The string length in characters for each value must be 1-1024. The number of elements must be in the range 1-100. |
|
description |
string Description of the record set. |