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

# GET /v2/projects/{projectsId}/locations/{locationsId}

`GET /v2/projects/{projectsId}/locations/{locationsId}`

## Request

- Base URL: `https://notebooks.googleapis.com`
- URL: `https://notebooks.googleapis.com/v2/projects/{projectsId}/locations/{locationsId}`
- Auth: one of:
  - 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`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/notebooks`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/notebooks`

Gets information about a 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

## Response `200`

Successful response

- Location: A resource that represents a Google Cloud location.
  - `displayName` string: The friendly name for this location, typically a nearby city name. For example, "Tokyo".
  - `labels` object: Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
  - `locationId` string: The canonical id for this location. For example: `"us-east1"`.
  - `metadata` object: Service-specific metadata. For example the available capacity at the given location.
  - `name` string: Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"`

## Changes

- **2026-12-05** `4dfb67434032`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/notebooks` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/notebooks` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/notebooks/changes/v2/projects/:projectsId/locations/:locationsId/get.md)

---

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