v1

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

Creates a new ServiceConnectionMap in a given project and location.

post/v1/{+parent}/serviceConnectionMaps

Path parameters

parentstring required

Required. The parent resource's name of the ServiceConnectionMap. ex. projects/123/locations/us-east1

Query parameters

requestIdstring

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

serviceConnectionMapIdstring

Optional. Resource ID (i.e. 'foo' in '[...]/projects/p/locations/l/serviceConnectionMaps/foo') See https://google.aip.dev/122#resource-id-segments Unique per location. If one is not provided, one will be generated.

Request body

labelsobject

User-defined labels.

createTimestring google-datetime

Output only. Time when the ServiceConnectionMap was created.

descriptionstring

A description of this resource.

infrastructure'INFRASTRUCTURE_UNSPECIFIED' | 'PSC'

Output only. The infrastructure used for connections between consumers/producers.

etagstring

Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

serviceClassUristring

Output only. The service class uri this ServiceConnectionMap is for.

namestring

Immutable. The name of a ServiceConnectionMap. Format: projects/{project}/locations/{location}/serviceConnectionMaps/{service_connection_map} See: https://google.aip.dev/122#fields-representing-resource-names

updateTimestring google-datetime

Output only. Time when the ServiceConnectionMap was updated.

serviceClassstring

The service class identifier this ServiceConnectionMap is for. The user of ServiceConnectionMap create API needs to have networkconnectivity.serviceClasses.use IAM permission for the service class.

tokenstring

The token provided by the consumer. This token authenticates that the consumer can create a connection within the specified project and network.

Response

Successful response