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

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

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

## Request

- Base URL: `https://oracledatabase.googleapis.com`
- URL: `https://oracledatabase.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/entitlements`
- 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 the entitlements in a given project.

## 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

- ListEntitlementsResponse: The response for `Entitlement.List`.
  - `entitlements` Entitlement[]: The list of Entitlements
    - `cloudAccountDetails` CloudAccountDetails: Details of the OCI Cloud Account.
      - `accountCreationUri` string: Output only. URL to create a new account and link.
      - `cloudAccount` string: Output only. OCI account name.
      - `cloudAccountHomeRegion` string: Output only. OCI account home region.
      - `linkExistingAccountUri` string: Output only. URL to link an existing account.
    - `entitlementId` string: Output only. Google Cloud Marketplace order ID (aka entitlement ID)
    - `name` string: Identifier. The name of the Entitlement resource with the format: projects/{project}/locations/{region}/entitlements/{entitlement}
    - `state` 'STATE_UNSPECIFIED' | 'ACCOUNT_NOT_LINKED' | 'ACCOUNT_NOT_ACTIVE' | 'ACTIVE' | 'ACCOUNT_SUSPENDED' | 'NOT_APPROVED_IN_PRIVATE_MARKETPLACE': Output only. Entitlement State.
  - `nextPageToken` string: A token identifying a page of results the server should return.

---

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