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-03-21 UTC."],[[["The latest version of the `UpdateLogMetricRequest` documentation is 4.4.0, and the current page covers version 3.3.0, with other versions available from 3.4.0 to 4.3.0."],["`UpdateLogMetricRequest` is a class used to define parameters for updating a log metric, inheriting from `Object` and implementing multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has two constructors, one default and one that accepts another `UpdateLogMetricRequest` object as a parameter."],["The `UpdateLogMetricRequest` class contains properties `Metric`, which represents the updated metric, `MetricName`, which represents the resource name of the metric to be updated, and `MetricNameAsLogMetricName`, which provides a typed view of the `MetricName` property."],["This object is within the `Google.Cloud.Logging.V2` namespace, and is contained within the `Google.Cloud.Logging.V2.dll` assembly."]]],[]]