Service Networking API . services . dnsRecordSet

Instance Methods

close()

Close httplib2 connections.

get(parent, consumerNetwork=None, domain=None, type=None, x__xgafv=None, zone=None)

Producers can use this method to retrieve information about the DNS record set added to the private zone inside the shared tenant host project associated with a consumer network.

Method Details

close()
Close httplib2 connections.
get(parent, consumerNetwork=None, domain=None, type=None, x__xgafv=None, zone=None)
Producers can use this method to retrieve information about the DNS record set added to the private zone inside the shared tenant host project associated with a consumer network.

Args:
  parent: string, Required. Parent resource identifying the connection which owns this collection of DNS zones in the format services/{service}. (required)
  consumerNetwork: string, Required. The consumer network containing the record set. Must be in the form of projects/{project}/global/networks/{network}
  domain: string, Required. The domain name of the zone containing the recordset.
  type: string, Required. RecordSet Type eg. type='A'. See the list of [Supported DNS Types](https://dns.corp.google.com/docs/overview).
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format
  zone: string, Required. The name of the zone containing the record set.

Returns:
  An object of the form:

    { # Represents a DNS record set resource.
  "data": [ # Required. As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) for examples see https://cloud.google.com/dns/records/json-record.
    "A String",
  ],
  "domain": "A String", # Required. The DNS or domain name of the record set, e.g. `test.example.com`. Cloud DNS requires that a DNS suffix ends with a trailing dot.
  "ttl": "A String", # Required. The period of time for which this RecordSet can be cached by resolvers.
  "type": "A String", # Required. The identifier of a supported record type.
}