[[["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,["# Cloud Logging V2 API - Module Google::Api::MetricDescriptor::ValueType (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Api-MetricDescriptor-ValueType)\n- [1.2.1](/ruby/docs/reference/google-cloud-logging-v2/1.2.1/Google-Api-MetricDescriptor-ValueType)\n- [1.1.0](/ruby/docs/reference/google-cloud-logging-v2/1.1.0/Google-Api-MetricDescriptor-ValueType)\n- [1.0.1](/ruby/docs/reference/google-cloud-logging-v2/1.0.1/Google-Api-MetricDescriptor-ValueType)\n- [0.13.0](/ruby/docs/reference/google-cloud-logging-v2/0.13.0/Google-Api-MetricDescriptor-ValueType)\n- [0.12.2](/ruby/docs/reference/google-cloud-logging-v2/0.12.2/Google-Api-MetricDescriptor-ValueType)\n- [0.11.0](/ruby/docs/reference/google-cloud-logging-v2/0.11.0/Google-Api-MetricDescriptor-ValueType)\n- [0.10.1](/ruby/docs/reference/google-cloud-logging-v2/0.10.1/Google-Api-MetricDescriptor-ValueType)\n- [0.9.0](/ruby/docs/reference/google-cloud-logging-v2/0.9.0/Google-Api-MetricDescriptor-ValueType)\n- [0.8.1](/ruby/docs/reference/google-cloud-logging-v2/0.8.1/Google-Api-MetricDescriptor-ValueType)\n- [0.7.0](/ruby/docs/reference/google-cloud-logging-v2/0.7.0/Google-Api-MetricDescriptor-ValueType)\n- [0.6.0](/ruby/docs/reference/google-cloud-logging-v2/0.6.0/Google-Api-MetricDescriptor-ValueType)\n- [0.5.6](/ruby/docs/reference/google-cloud-logging-v2/0.5.6/Google-Api-MetricDescriptor-ValueType) \nReference documentation and code samples for the Cloud Logging V2 API module Google::Api::MetricDescriptor::ValueType.\n\nThe value type of a metric.\n\nConstants\n---------\n\n### VALUE_TYPE_UNSPECIFIED\n\n**value:** 0 \nDo not use this default value.\n\n### BOOL\n\n**value:** 1 \nThe value is a boolean.\nThis value type can be used only if the metric kind is `GAUGE`.\n\n### INT64\n\n**value:** 2 \nThe value is a signed 64-bit integer.\n\n### DOUBLE\n\n**value:** 3 \nThe value is a double precision floating point number.\n\n### STRING\n\n**value:** 4 \nThe value is a text string.\nThis value type can be used only if the metric kind is `GAUGE`.\n\n### DISTRIBUTION\n\n**value:** 5 \nThe value is a [`Distribution`](/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Api-Distribution \"Google::Api::Distribution (class)\").\n\n### MONEY\n\n**value:** 6 \nThe value is money."]]