---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}

`GET /v1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}`

## Request

- Base URL: `https://networkservices.googleapis.com`
- URL: `https://networkservices.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/serviceBindings/{serviceBindingsId}`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Gets details of a single ServiceBinding.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `serviceBindingsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Response `200`

Successful response

- 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.
  - `createTime` string, google-datetime: Output only. The timestamp when the resource was created.
  - `description` string: Optional. A free-text description of the resource. Max length 1024 characters.
  - `labels` object: Optional. Set of label tags associated with the ServiceBinding resource.
  - `name` string: Identifier. Name of the ServiceBinding resource. It matches pattern `projects/*/locations/*/serviceBindings/`.
  - `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.
  - `updateTime` string, google-datetime: Output only. The timestamp when the resource was updated.

---

[API](https://skmtc.dev/google/apis/networkservices.md) - [All operations](https://skmtc.dev/google/apis/networkservices/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/networkservices/revisions/f0e603cd2d5d?raw)
