v1

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

Creates a new ServiceBinding in a given project and location.

post/v1/{+parent}/serviceBindings

Path parameters

parentstring required

Required. The parent resource of the ServiceBinding. Must be in the format projects/*/locations/*.

Query parameters

serviceBindingIdstring

Required. Short name of the ServiceBinding resource to be created.

Request body

namestring

Identifier. Name of the ServiceBinding resource. It matches pattern projects/*/locations/*/serviceBindings/.

descriptionstring

Optional. A free-text description of the resource. Max length 1024 characters.

createTimestring google-datetime

Output only. The timestamp when the resource was created.

updateTimestring google-datetime

Output only. The timestamp when the resource was updated.

servicestring

Optional. The full Service Directory Service name of the format projects/*/locations/*/namespaces/*/services/*. This field is for Service Directory integration which will be deprecated soon.

serviceIdstring

Output only. The unique identifier of the Service Directory Service against which the ServiceBinding resource is validated. This is populated when the Service Binding resource is used in another resource (like Backend Service). This is of the UUID4 format. This field is for Service Directory integration which will be deprecated soon.

labelsobject

Optional. Set of label tags associated with the ServiceBinding resource.

Response

Successful response