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 usage and structure."],["`UpdateLogMetricRequest` is a class designed for updating log metrics, implementing interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The latest version documented is 4.4.0, but multiple versions of the API, from 3.3.0 to 4.4.0, are accessible in the side bar, and the current version is 3.5.0."],["The class includes properties like `Metric`, `MetricName`, and `MetricNameAsLogMetricName`, which are essential for defining and identifying the log metric to be updated."],["The `UpdateLogMetricRequest` class contains two constructors: a default constructor and a constructor that accepts another `UpdateLogMetricRequest` object as a parameter."]]],[]]