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

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

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

## Request

- Base URL: `https://networkservices.googleapis.com`
- URL: `https://networkservices.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/serviceBindings`
- 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`

Lists ServiceBinding in a given project and location.

## Path parameters

- `projectsId` string, required
- `locationsId` 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
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- ListServiceBindingsResponse: Response returned by the ListServiceBindings method.
  - `nextPageToken` string: If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.
  - `serviceBindings` ServiceBinding[]: List of ServiceBinding resources.
    - `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.
  - `unreachable` string[]: Unreachable resources. Populated when the request attempts to list all resources across all supported locations, while some locations are temporarily unavailable.

---

[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)
