Service producers can use this method to update DNS record sets from private DNS zones in the shared producer host project.
HTTP request
POST https://servicenetworking.googleapis.com/v1/{parent=services/*}/dnsRecordSets:update
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The service that is managing peering connectivity for a service producer's organization. For Google services that support this functionality, this value is Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation | |
---|---|
{ "consumerNetwork": string, "zone": string, "existingDnsRecordSet": { object ( |
Fields | |
---|---|
consumerNetwork |
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. |
zone |
Required. The name of the private DNS zone in the shared producer host project from which the record set will be removed. |
existingDnsRecordSet |
Required. The existing DNS record set to update. |
newDnsRecordSet |
Required. The new values that the DNS record set should be updated to hold. |
Response body
If successful, the response body contains an instance of Operation
.
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.