Service producers use this method to get the configuration of their connection including the import/export of custom routes and subnetwork routes with public IP.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. Name of the consumer config to retrieve in the format: services/{service}/projects/{project}/global/networks/{network}. {service} is the peering service that is managing connectivity for the service producer's organization. For Google services that support this functionality, this value is {project} is a project number e.g. 12345 that contains the service consumer's VPC network. {network} is the name of the service consumer's VPC network.

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.