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 information for the `UpdateLogMetricRequest` class within the Google Cloud Logging v2 API, specifically for version 4.1.0."],["`UpdateLogMetricRequest` is a class used to update or create a log metric, implementing interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class offers two constructors: a default constructor and one that takes another `UpdateLogMetricRequest` object as a parameter for copying."],["The `UpdateLogMetricRequest` class includes properties such as `Metric`, `MetricName`, and `MetricNameAsLogMetricName` to manage the details of the metric being updated or created."],["The latest version of this documentation is 4.4.0 and this page displays the documentation for version 4.1.0, as well as other previous versions available for viewing."]]],[]]