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 documentation is for the \u003ccode\u003eCreateLogMetricRequest\u003c/code\u003e class within the Google Cloud Logging v2 API, specifically version 4.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateLogMetricRequest\u003c/code\u003e class is used to define the parameters for creating a new logs-based metric within a project.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several 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\u003eKey properties of the \u003ccode\u003eCreateLogMetricRequest\u003c/code\u003e class include \u003ccode\u003eMetric\u003c/code\u003e, which is a \u003ccode\u003eLogMetric\u003c/code\u003e object representing the new metric, and \u003ccode\u003eParent\u003c/code\u003e, a string representing the project resource name where the metric will be created.\u003c/p\u003e\n"],["\u003cp\u003eThere are different versions of the API available and listed, ranging from 3.3.0 up to the latest 4.4.0 version.\u003c/p\u003e\n"]]],[],null,[]]