Method: savedQueries.patch

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

Updates a saved query.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
savedQuery.name

string

The resource name of the saved query. The format must be:

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

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of SavedQuery.

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.