v1

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

Creates a new private connection in a given project and location.

post/v1/{+parent}/privateConnections

Path parameters

parentstring required

Required. The parent that owns the collection of PrivateConnections.

Query parameters

privateConnectionIdstring

Required. The private connection identifier.

requestIdstring

Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

skipValidationboolean

Optional. If set to true, will skip validations.

validateOnlyboolean

Optional. For PSC Interface only - get the tenant project before creating the resource.

Request body

satisfiesPziboolean

Output only. Reserved for future use.

createTimestring google-datetime

Output only. The create time of the resource.

labelsobject

The resource labels for private connections to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

displayNamestring

The private connection display name.

namestring

The name of the resource.

state'STATE_UNSPECIFIED' | 'CREATING' | 'CREATED' | 'FAILED' | 'DELETING' | 'FAILED_TO_DELETE' | 'DELETED'

Output only. The state of the private connection.

updateTimestring google-datetime

Output only. The last update time of the resource.

satisfiesPzsboolean

Output only. Reserved for future use.

Response

Successful response