- HTTP request
 - Path parameters
 - Query parameters
 - Request body
 - Response body
 - Authorization scopes
 - Try it!
 
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 | 
                
                   
 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  
  | 
              
Query parameters
| Parameters | |
|---|---|
consumerNetwork | 
                
                   
 Required. The consumer network containing the record set. Must be in the form of projects/{project}/global/networks/{network}  | 
              
zone | 
                
                   
 Required. The name of the zone containing the record set.  | 
              
domain | 
                
                   
 Required. The domain name of the zone containing the recordset.  | 
              
type | 
                
                   
 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.managementhttps://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.