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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eUpdateLogMetricRequest\u003c/code\u003e class within the Google Cloud Logging v2 API, specifically version 4.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateLogMetricRequest\u003c/code\u003e class is used to update a log metric and is part of the \u003ccode\u003eGoogle.Cloud.Logging.V2\u003c/code\u003e namespace in the Google.Cloud.Logging.V2.dll assembly.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<UpdateLogMetricRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<UpdateLogMetricRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring support for various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eMetric\u003c/code\u003e (the updated metric), \u003ccode\u003eMetricName\u003c/code\u003e (the resource name of the metric to update), and \u003ccode\u003eMetricNameAsLogMetricName\u003c/code\u003e, which provides a typed view of the metric name.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"]]],[],null,[]]