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-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eUpdateLogMetricRequest\u003c/code\u003e class within the Google Cloud Logging v2 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateLogMetricRequest\u003c/code\u003e class is used to update log metrics, inheriting from \u003ccode\u003eobject\u003c/code\u003e and 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\u003eIt supports various versions, with the latest being 4.4.0, and also offering access to versions ranging from 3.3.0 to 4.3.0.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eUpdateLogMetricRequest\u003c/code\u003e class include \u003ccode\u003eMetric\u003c/code\u003e (the updated metric), \u003ccode\u003eMetricName\u003c/code\u003e (the resource name of the metric), and \u003ccode\u003eMetricNameAsLogMetricName\u003c/code\u003e (a typed view of the resource name).\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default one, and another one that takes an \u003ccode\u003eUpdateLogMetricRequest\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]