public sealed class CreateLogMetricRequest : IMessage<CreateLogMetricRequest>, IEquatable<CreateLogMetricRequest>, IDeepCloneable<CreateLogMetricRequest>, IBufferMessage, IMessage
[[["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 documents the \u003ccode\u003eCreateLogMetricRequest\u003c/code\u003e class, which is used to define the parameters for creating a new logs-based metric within Google Cloud Logging, specifically within version 3.4.0 of the Google.Cloud.Logging.V2 library.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateLogMetricRequest\u003c/code\u003e implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in protocol buffer messages, object comparison, deep cloning, and efficient message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties \u003ccode\u003eMetric\u003c/code\u003e of type \u003ccode\u003eLogMetric\u003c/code\u003e to specify the details of the new log metric, and \u003ccode\u003eParent\u003c/code\u003e of type \u003ccode\u003estring\u003c/code\u003e to define the project under which the metric should be created, with an additional \u003ccode\u003eParentAsProjectName\u003c/code\u003e of type \u003ccode\u003eProjectName\u003c/code\u003e provided for a typed view of the \u003ccode\u003eParent\u003c/code\u003e resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 4.4.0, while the documentation provided focuses on the 3.4.0 version.\u003c/p\u003e\n"],["\u003cp\u003eTwo Constructors are available to instantiate the class; either a parameterless one, or one which takes in another instance of \u003ccode\u003eCreateLogMetricRequest\u003c/code\u003e to be used for the construction.\u003c/p\u003e\n"]]],[],null,[]]