Interface protos.google.logging.v2.ILogMetric (11.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Properties of a LogMetric.
Package
@google-cloud/logging
Properties
bucketName
bucketName?: (string|null);
bucketOptions
bucketOptions?: (google.api.Distribution.IBucketOptions|null);
createTime
createTime?: (google.protobuf.ITimestamp|null);
description
description?: (string|null);
disabled
disabled?: (boolean|null);
filter
labelExtractors?: ({ [k: string]: string }|null);
LogMetric labelExtractors
metricDescriptor
metricDescriptor?: (google.api.IMetricDescriptor|null);
LogMetric metricDescriptor
name
updateTime
updateTime?: (google.protobuf.ITimestamp|null);
valueExtractor?: (string|null);
version
version?: (google.logging.v2.LogMetric.ApiVersion|keyof typeof google.logging.v2.LogMetric.ApiVersion|null);
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["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-28 UTC."],[],[],null,["# Interface protos.google.logging.v2.ILogMetric (11.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [11.2.0 (latest)](/nodejs/docs/reference/logging/latest/logging/protos.google.logging.v2.ilogmetric)\n- [11.0.0](/nodejs/docs/reference/logging/11.0.0/logging/protos.google.logging.v2.ilogmetric)\n- [10.5.0](/nodejs/docs/reference/logging/10.5.0/logging/protos.google.logging.v2.ilogmetric)\n- [10.3.1](/nodejs/docs/reference/logging/10.3.1/logging/protos.google.logging.v2.ilogmetric)\n- [10.2.3](/nodejs/docs/reference/logging/10.2.3/logging/protos.google.logging.v2.ilogmetric)\n- [10.1.11](/nodejs/docs/reference/logging/10.1.11/logging/protos.google.logging.v2.ilogmetric)\n- [9.8.2](/nodejs/docs/reference/logging/9.8.2/logging/protos.google.logging.v2.ilogmetric)\n- [9.7.0](/nodejs/docs/reference/logging/9.7.0/logging/protos.google.logging.v2.ilogmetric)\n- [9.6.9](/nodejs/docs/reference/logging/9.6.9/logging/protos.google.logging.v2.ilogmetric)\n- [9.5.7](/nodejs/docs/reference/logging/9.5.7/logging/protos.google.logging.v2.ilogmetric)\n- [9.3.1](/nodejs/docs/reference/logging/9.3.1/logging/protos.google.logging.v2.ilogmetric) \nProperties of a LogMetric.\n\nPackage\n-------\n\n[@google-cloud/logging](../overview.html)\n\nProperties\n----------\n\n### bucketName\n\n bucketName?: (string|null);\n\nLogMetric bucketName\n\n### bucketOptions\n\n bucketOptions?: (google.api.Distribution.IBucketOptions|null);\n\nLogMetric bucketOptions\n\n### createTime\n\n createTime?: (google.protobuf.ITimestamp|null);\n\nLogMetric createTime\n\n### description\n\n description?: (string|null);\n\nLogMetric description\n\n### disabled\n\n disabled?: (boolean|null);\n\nLogMetric disabled\n\n### filter\n\n filter?: (string|null);\n\nLogMetric filter\n\n### labelExtractors\n\n labelExtractors?: ({ [k: string]: string }|null);\n\nLogMetric labelExtractors\n\n### metricDescriptor\n\n metricDescriptor?: (google.api.IMetricDescriptor|null);\n\nLogMetric metricDescriptor\n\n### name\n\n name?: (string|null);\n\nLogMetric name\n\n### updateTime\n\n updateTime?: (google.protobuf.ITimestamp|null);\n\nLogMetric updateTime\n\n### valueExtractor\n\n valueExtractor?: (string|null);\n\nLogMetric valueExtractor\n\n### version\n\n version?: (google.logging.v2.LogMetric.ApiVersion|keyof typeof google.logging.v2.LogMetric.ApiVersion|null);\n\nLogMetric version"]]