Service producers use this method to update the configuration of their connection including the import/export of custom routes and subnetwork routes with public IP.
HTTP request
PATCH https://servicenetworking.googleapis.com/v1/{parent=services/*/projects/*/global/networks/*}:updateConsumerConfig
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Parent resource identifying the connection for which the consumer config is being updated in the format: |
Request body
The request body contains data with the following structure:
JSON representation | |
---|---|
{
"consumerConfig": {
object ( |
Fields | |
---|---|
consumerConfig |
Required. The updated peering config. |
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.