Method: services.dnsRecordSets.get

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.

HTTP request

GET https://servicenetworking.googleapis.com/v1/{parent=services/*}/dnsRecordSets:get

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Parent resource identifying the connection which owns this collection of DNS zones in the format services/{service}.

Authorization requires the following IAM permission on the specified resource parent:

  • servicenetworking.services.getDnsRecordSet

Query parameters

Parameters
consumerNetwork

string

Required. The consumer network containing the record set. Must be in the form of projects/{project}/global/networks/{network}

zone

string

Required. The name of the zone containing the record set.

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.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of DnsRecordSet.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/service.management
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.