Full name: projects.locations.instances.metricDefinitions.patch
Updates a MetricDefinition. For now, only the state can be updated.
HTTP request
PATCH https://{endpoint}/v1alpha/{metricDefinition.name}
Where {endpoint} is one of the supported service endpoints.
Path parameters
| Parameters | |
|---|---|
metricDefinition.name |
Identifier. The unique resource name of the MetricDefinition. Format: |
Query parameters
| Parameters | |
|---|---|
updateMask |
Optional. The list of fields to update. For now, only the state can be updated. If any other fields (or *) are specified, an error will be returned and the resource won't be updated. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of MetricDefinition.
Response body
If successful, the response body contains an instance of MetricDefinition.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
For more information, see the Authentication Overview.