- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Updates a analysis rule.
HTTP request
PATCH https://{endpoint}/v1alpha1/{analysisRule.name=projects/*/locations/*/analysisRules/*}
Where {endpoint} is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| analysisRule.name | 
 Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysisRule} | 
Query parameters
| Parameters | |
|---|---|
| updateMask | 
 Optional. The list of fields to be updated. If the updateMask is not provided, the update will be applied to all fields. This is a comma-separated list of fully qualified names of fields. Example:  | 
Request body
The request body contains an instance of AnalysisRule.
Response body
If successful, the response body contains an instance of AnalysisRule.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name resource:
- contactcenterinsights.analysisRules.update
For more information, see the IAM documentation.