Service Networking API . services . projects . global_ . networks . zones . dnsRecordSet

Instance Methods

close()

Close httplib2 connections.

lIST(parent, consumerNetwork=None, x__xgafv=None, zone=None)

Producers can use this method to retrieve a list of available DNS RecordSets available inside the private zone on the tenant host project accessible from their network.

Method Details

close()
Close httplib2 connections.
lIST(parent, consumerNetwork=None, x__xgafv=None, zone=None)
Producers can use this method to retrieve a list of available DNS RecordSets available inside the private zone on the tenant host project accessible from their network.

Args:
  parent: string, Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is `services/servicenetworking.googleapis.com`. (required)
  consumerNetwork: string, Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is the project number, as in '12345' {network} is the network name.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format
  zone: string, Required. The name of the private DNS zone in the shared producer host project from which the record set will be removed.

Returns:
  An object of the form:

    { # Represents all DNS RecordSets associated with the producer network
  "dnsRecordSets": [ # DNS record Set Resource
    { # 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.
    },
  ],
}