v1

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

Creates a new ServiceConnectionToken in a given project and location.

post/v1/{+parent}/serviceConnectionTokens

Path parameters

parentstring required

Required. The parent resource's name of the ServiceConnectionToken. 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).

serviceConnectionTokenIdstring

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

Request body

tokenstring

Output only. The token generated by Automation.

createTimestring google-datetime

Output only. Time when the ServiceConnectionToken was created.

descriptionstring

A description of this resource.

updateTimestring google-datetime

Output only. Time when the ServiceConnectionToken was updated.

namestring

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

networkstring

The resource path of the network associated with this token. Example: projects/{projectNumOrId}/global/networks/{resourceId}.

labelsobject

User-defined labels.

expireTimestring google-datetime

Output only. The time to which this token is valid.

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.

Response

Successful response