[[["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-09-04 UTC."],[],[],null,["# Google API Common Protos Client - Class ValueType (4.12.3)\n\nVersion latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest/Api.MetricDescriptor.ValueType)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2/Api.MetricDescriptor.ValueType)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0/Api.MetricDescriptor.ValueType)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0/Api.MetricDescriptor.ValueType)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0/Api.MetricDescriptor.ValueType)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3/Api.MetricDescriptor.ValueType) \nReference documentation and code samples for the Google API Common Protos Client class ValueType.\n\nThe value type of a metric.\n\nProtobuf type `google.api.MetricDescriptor.ValueType`\n\nNamespace\n---------\n\nGoogle \\\\ Api \\\\ MetricDescriptor\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### VALUE_TYPE_UNSPECIFIED\n\n Value: 0\n\nDo not use this default value.\n\nGenerated from protobuf enum `VALUE_TYPE_UNSPECIFIED = 0;`\n\n### BOOL\n\n Value: 1\n\nThe value is a boolean.\n\nThis value type can be used only if the metric kind is `GAUGE`.\n\nGenerated from protobuf enum `BOOL = 1;`\n\n### INT64\n\n Value: 2\n\nThe value is a signed 64-bit integer.\n\nGenerated from protobuf enum `INT64 = 2;`\n\n### DOUBLE\n\n Value: 3\n\nThe value is a double precision floating point number.\n\nGenerated from protobuf enum `DOUBLE = 3;`\n\n### STRING\n\n Value: 4\n\nThe value is a text string.\n\nThis value type can be used only if the metric kind is `GAUGE`.\n\nGenerated from protobuf enum `STRING = 4;`\n\n### DISTRIBUTION\n\n Value: 5\n\nThe value is a [`Distribution`](/php/docs/reference/common-protos/latest/Api.Distribution).\n\nGenerated from protobuf enum `DISTRIBUTION = 5;`\n\n### MONEY\n\n Value: 6\n\nThe value is money.\n\nGenerated from protobuf enum `MONEY = 6;`"]]