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, specifically for version 4.1.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateLogMetricRequest\u003c/code\u003e is a class used to define the parameters for creating a new logs-based metric, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing multiple interfaces including \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 class contains two constructors: a default constructor and one that accepts another \u003ccode\u003eCreateLogMetricRequest\u003c/code\u003e instance for initialization, and it has properties that include \u003ccode\u003eMetric\u003c/code\u003e of type \u003ccode\u003eLogMetric\u003c/code\u003e and \u003ccode\u003eParent\u003c/code\u003e of type string, or \u003ccode\u003eParentAsProjectName\u003c/code\u003e as \u003ccode\u003eProjectName\u003c/code\u003e which represents the project identifier.\u003c/p\u003e\n"],["\u003cp\u003eThe document also provides a list of older versions of the \u003ccode\u003eCreateLogMetricRequest\u003c/code\u003e, along with its latest version 4.4.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateLogMetricRequest\u003c/code\u003e class is within the namespace \u003ccode\u003eGoogle.Cloud.Logging.V2\u003c/code\u003e and is a part of the \u003ccode\u003eGoogle.Cloud.Logging.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]