---
title: "POST /v1/{+parent}/serviceBindings"
method: POST
path: "/v1/{+parent}/serviceBindings"
tags: ["projects"]
---

# POST /v1/{+parent}/serviceBindings

`POST /v1/{+parent}/serviceBindings`

Creates a new ServiceBinding in a given project and location.

## Path parameters

- `parent` string, required

## Query parameters

- `serviceBindingId` string

## Request body

- ServiceBinding — ServiceBinding can be used to: - Bind a Service Directory Service to be used in a BackendService resource. This feature will be deprecated soon. - Bind a Private Service Connect producer service to be used in consumer Cloud Service Mesh or Application Load Balancers. - Bind a Cloud Run service to be used in consumer Cloud Service Mesh or Application Load Balancers.
  - `name` string — Identifier. Name of the ServiceBinding resource. It matches pattern `projects/*/locations/*/serviceBindings/`.
  - `description` string — Optional. A free-text description of the resource. Max length 1024 characters.
  - `createTime` string, google-datetime — Output only. The timestamp when the resource was created.
  - `updateTime` string, google-datetime — Output only. The timestamp when the resource was updated.
  - `service` string — 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.
  - `serviceId` string — 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.
  - `labels` object — Optional. Set of label tags associated with the ServiceBinding resource.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/networkservices.md) · [All operations](https://skmtc.net/google/apis/networkservices/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/networkservices/versions/ff841dec54e1/schema)
