Method: savedQueries.patch

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/projectNumber/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.