v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1348107211.1 KB
projects

CheckConsumerConfig validates the consumer network and project for potential PSC connection creation. This method performs several checks, including: - Validating the existence and permissions of the service class. - Ensuring the consumer network exists and is accessible. - Verifying XPN relationships if applicable. - Checking for compatible IP versions between the consumer network and the requested version. This method performs a dynamic IAM check for the networkconnectivity.serviceClasses.use permission on the service class resource in the Prepare phase.

post/v1/{+location}:checkConsumerConfig

Path parameters

locationstring required

Required. The location resource path. Example: - projects/{project}/locations/{location}

Request body

serviceClassstring

Required. The service class identifier of the producer.

requestedIpVersion'IP_VERSION_UNSPECIFIED' | 'IPV4' | 'IPV6'

The requested IP Version

endpointProjectstring

The project number or ID where the PSC endpoint is to be created.

consumerNetworkstring

Required. Full resource name of the consumer network. Example: - projects/{project}/global/networks/{network}.

Response

Successful response