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 page provides documentation for the \u003ccode\u003eUpdateLogMetricRequest\u003c/code\u003e class within the Google.Cloud.Logging.V2 namespace, specifically for version 3.6.0 of the library.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateLogMetricRequest\u003c/code\u003e is used to update a log metric, utilizing parameters like \u003ccode\u003eMetric\u003c/code\u003e and \u003ccode\u003eMetricName\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring functionalities for message handling, equality comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateLogMetricRequest\u003c/code\u003e class also includes inherited members from the \u003ccode\u003eObject\u003c/code\u003e class, such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e, and offers two constructors, a parameterless constructor, and one that clones another \u003ccode\u003eUpdateLogMetricRequest\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the library are available on the page, including the latest version \u003ccode\u003e4.4.0\u003c/code\u003e, and older versions such as \u003ccode\u003e4.3.0\u003c/code\u003e, \u003ccode\u003e4.2.0\u003c/code\u003e, \u003ccode\u003e4.1.0\u003c/code\u003e, \u003ccode\u003e4.0.0\u003c/code\u003e, \u003ccode\u003e3.6.0\u003c/code\u003e, \u003ccode\u003e3.5.0\u003c/code\u003e, \u003ccode\u003e3.4.0\u003c/code\u003e and \u003ccode\u003e3.3.0\u003c/code\u003e, each with their corresponding documentation links.\u003c/p\u003e\n"]]],[],null,[]]