Method: customers.analysisQueries.patch
Updates an existing analysis query. Partial updates are supported. Please review the AnalysisQuery resource to see which fields can be updated.
HTTP request
PATCH https://adsdatahub.googleapis.com/v1/{query.name=customers/*/analysisQueries/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
query.name |
string
Output only. Immutable. Name that uniquely identifies a query. It has the form customers/[customerId]/analysisQueries/[resource_id], e.g. 'customers/123/analysisQueries/abcd1234'. The resource ID is generated by the server.
|
Query parameters
Parameters |
updateMask |
string (FieldMask format)
Field mask used to support partial updates. 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 AnalysisQuery
.
Response body
If successful, the response body contains an instance of AnalysisQuery
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adsdatahub
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["This operation updates an existing analysis query, allowing for partial modifications using a field mask."],["The request is sent as a PATCH request to the specified URL, which includes the query name as a path parameter."],["The request body should contain the updated AnalysisQuery object, and a successful response will also return an AnalysisQuery object."],["Authentication requires the `https://www.googleapis.com/auth/adsdatahub` OAuth scope."]]],["This describes how to update an existing analysis query using a PATCH request to the specified URL. The `query.name` path parameter uniquely identifies the query. The `updateMask` query parameter specifies which fields to update. The request body contains the updated `AnalysisQuery` data. A successful update returns an `AnalysisQuery` instance in the response body. This process requires the `https://www.googleapis.com/auth/adsdatahub` OAuth scope. It also uses gRPC Transcoding syntax.\n"]]