public sealed class UpdateLogMetricRequest : IMessage<UpdateLogMetricRequest>, IEquatable<UpdateLogMetricRequest>, IDeepCloneable<UpdateLogMetricRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Logging v2 API class UpdateLogMetricRequest.
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 document provides reference documentation for the `UpdateLogMetricRequest` class within the Google Cloud Logging v2 API, specifically version 4.2.0."],["The `UpdateLogMetricRequest` class is used to update a log metric and is part of the `Google.Cloud.Logging.V2` namespace in the Google.Cloud.Logging.V2.dll assembly."],["This class implements interfaces such as `IMessage`, `IEquatable\u003cUpdateLogMetricRequest\u003e`, `IDeepCloneable\u003cUpdateLogMetricRequest\u003e`, and `IBufferMessage`, ensuring support for various functionalities."],["The class includes properties like `Metric` (the updated metric), `MetricName` (the resource name of the metric to update), and `MetricNameAsLogMetricName`, which provides a typed view of the metric name."],["The webpage also showcases a history of prior versions of the updateLogMetric request going as far back as version 3.3.0 and as recently as version 4.4.0."]]],[]]