Method: savedQueries.get

Gets details about a saved query.

HTTP request

GET https://cloudasset.googleapis.com/v1/{name=*/*/savedQueries/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the saved query and it must be in the format of:

  • projects/project_number/savedQueries/savedQueryId
  • folders/folder_number/savedQueries/savedQueryId
  • organizations/organization_number/savedQueries/savedQueryId

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.