public sealed class UpdateLogMetricRequest : IMessage<UpdateLogMetricRequest>, IEquatable<UpdateLogMetricRequest>, IDeepCloneable<UpdateLogMetricRequest>, IBufferMessage, IMessage
Required. The resource name of the metric to update:
"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
The updated metric must be provided in the request and it's
name field must be the same as [METRIC_ID] If the metric
does not exist in [PROJECT_ID], then a new metric is created.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["This webpage provides documentation for the `UpdateLogMetricRequest` class within the `Google.Cloud.Logging.V2` namespace, detailing its structure and functionality."],["The `UpdateLogMetricRequest` class is part of the Google Cloud Logging V2 library, specifically version 4.0.0, with links available for other versions ranging from 3.3.0 to 4.4.0."],["The `UpdateLogMetricRequest` class is used to update a log metric, and it implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["Key properties of the `UpdateLogMetricRequest` class include `Metric` (the updated metric), `MetricName` (the resource name of the metric), and `MetricNameAsLogMetricName` (a typed view of the resource name)."],["The `UpdateLogMetricRequest` class features two constructors: a default one and one that allows to pass another `UpdateLogMetricRequest` class as a parameter."]]],[]]