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."],[[["This page provides documentation for the `UpdateLogMetricRequest` class within the Google.Cloud.Logging.V2 namespace, specifically for version 3.6.0 of the library."],["`UpdateLogMetricRequest` is used to update a log metric, utilizing parameters like `Metric` and `MetricName` which is a resource name that identifies the metric to be updated, with a requirement that if the metric does not exist it will be created."],["The class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, ensuring functionalities for message handling, equality comparison, deep cloning, and buffer management."],["The `UpdateLogMetricRequest` class also includes inherited members from the `Object` class, such as `GetHashCode()`, `GetType()`, `MemberwiseClone()`, and `ToString()`, and offers two constructors, a parameterless constructor, and one that clones another `UpdateLogMetricRequest` instance."],["Multiple versions of the library are available on the page, including the latest version `4.4.0`, and older versions such as `4.3.0`, `4.2.0`, `4.1.0`, `4.0.0`, `3.6.0`, `3.5.0`, `3.4.0` and `3.3.0`, each with their corresponding documentation links."]]],[]]