Method: projects.locations.services.queryMetadata

Stay organized with collections Save and categorize content based on your preferences.

Query DPMS metadata.

HTTP request

POST https://metastore.googleapis.com/v1beta/{service}:queryMetadata

Path parameters

Parameters
service

string

Required. The relative resource name of the metastore service to query metadata, in the following format:

projects/{projectId}/locations/{locationId}/services/{serviceId}.

Authorization requires the following IAM permission on the specified resource service:

  • metastore.services.queryMetadata

Request body

The request body contains data with the following structure:

JSON representation
{
  "query": string
}
Fields
query

string

Required. A read-only SQL query to execute against the metadata database. The query cannot change or mutate the data.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.