public sealed class CreateLogMetricRequest : IMessage<CreateLogMetricRequest>, IEquatable<CreateLogMetricRequest>, IDeepCloneable<CreateLogMetricRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Logging v2 API class CreateLogMetricRequest.
[[["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\u003eCreateLogMetricRequest\u003c/code\u003e class within the Google Cloud Logging v2 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateLogMetricRequest\u003c/code\u003e class is used to define the parameters required to create a new logs-based metric, and it is an implementation of the \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this documentation is for version 4.4.0, with several older versions also accessible, ranging back to version 3.3.0.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCreateLogMetricRequest\u003c/code\u003e class include \u003ccode\u003eMetric\u003c/code\u003e, which represents the new logs-based metric, and \u003ccode\u003eParent\u003c/code\u003e, which defines the project where the metric will be created.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes constructors for creating a new \u003ccode\u003eCreateLogMetricRequest\u003c/code\u003e object, either empty or by copying an existing one.\u003c/p\u003e\n"]]],[],null,[]]