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

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

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

## Request

- Base URL: `https://run.googleapis.com`
- URL: `https://run.googleapis.com/v2/projects/{projectsId}/locations/{locationsId}:exportProjectMetadata`
- 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/run`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/run`

Export generated customer metadata for 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

## Response `200`

Successful response

- GoogleCloudRunV2Metadata: Metadata represents the JSON encoded generated customer metadata.
  - `metadata` string: JSON encoded Google-generated Customer Metadata for a given resource/project.

## Changes

- **2026-12-04** `e2518ceb4284`: 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/run` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/run` was removed from the endpoint's security scheme `Oauth2c`
- **2026-11-10** `fc67acec61c0`: 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/run` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/run` was removed from the endpoint's security scheme `Oauth2c`
- …earlier changes not shown

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

---

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