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"]],[["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 webpage provides documentation for the \u003ccode\u003eUpdateLogMetricRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Logging.V2\u003c/code\u003e namespace, detailing its usage and structure.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateLogMetricRequest\u003c/code\u003e is a class designed for updating log metrics, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eMetric\u003c/code\u003e, \u003ccode\u003eMetricName\u003c/code\u003e, and \u003ccode\u003eMetricNameAsLogMetricName\u003c/code\u003e, which are essential for defining and identifying the log metric to be updated.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateLogMetricRequest\u003c/code\u003e class contains two constructors: a default constructor and a constructor that accepts another \u003ccode\u003eUpdateLogMetricRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]