Reference documentation and code samples for the Cloud Logging V2 API class Google::Api::Distribution::BucketOptions::Exponential.
Specifies an exponential sequence of buckets that have a width that is
proportional to the value of the lower bound. Each bucket represents a
constant relative uncertainty on a specific value in the bucket.
There are num_finite_buckets + 2 (= N) buckets. Bucket i has the
following boundaries:
[[["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 - Class Google::Api::Distribution::BucketOptions::Exponential (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-logging-v2/latest/Google-Api-Distribution-BucketOptions-Exponential)\n- [1.2.1](/ruby/docs/reference/google-cloud-logging-v2/1.2.1/Google-Api-Distribution-BucketOptions-Exponential)\n- [1.1.0](/ruby/docs/reference/google-cloud-logging-v2/1.1.0/Google-Api-Distribution-BucketOptions-Exponential)\n- [1.0.1](/ruby/docs/reference/google-cloud-logging-v2/1.0.1/Google-Api-Distribution-BucketOptions-Exponential)\n- [0.13.0](/ruby/docs/reference/google-cloud-logging-v2/0.13.0/Google-Api-Distribution-BucketOptions-Exponential)\n- [0.12.2](/ruby/docs/reference/google-cloud-logging-v2/0.12.2/Google-Api-Distribution-BucketOptions-Exponential)\n- [0.11.0](/ruby/docs/reference/google-cloud-logging-v2/0.11.0/Google-Api-Distribution-BucketOptions-Exponential)\n- [0.10.1](/ruby/docs/reference/google-cloud-logging-v2/0.10.1/Google-Api-Distribution-BucketOptions-Exponential)\n- [0.9.0](/ruby/docs/reference/google-cloud-logging-v2/0.9.0/Google-Api-Distribution-BucketOptions-Exponential)\n- [0.8.1](/ruby/docs/reference/google-cloud-logging-v2/0.8.1/Google-Api-Distribution-BucketOptions-Exponential)\n- [0.7.0](/ruby/docs/reference/google-cloud-logging-v2/0.7.0/Google-Api-Distribution-BucketOptions-Exponential)\n- [0.6.0](/ruby/docs/reference/google-cloud-logging-v2/0.6.0/Google-Api-Distribution-BucketOptions-Exponential)\n- [0.5.6](/ruby/docs/reference/google-cloud-logging-v2/0.5.6/Google-Api-Distribution-BucketOptions-Exponential) \nReference documentation and code samples for the Cloud Logging V2 API class Google::Api::Distribution::BucketOptions::Exponential.\n\nSpecifies an exponential sequence of buckets that have a width that is\nproportional to the value of the lower bound. Each bucket represents a\nconstant relative uncertainty on a specific value in the bucket.\n\n\nThere are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the\nfollowing boundaries:\n\nUpper bound (0 \\\u003c= i \\\u003c N-1): scale \\* (growth_factor \\^ i).\n\n\u003cbr /\u003e\n\nLower bound (1 \\\u003c= i \\\u003c N): scale \\* (growth_factor \\^ (i - 1)). \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #growth_factor\n\n def growth_factor() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- Must be greater than 1.\n\n### #growth_factor=\n\n def growth_factor=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- Must be greater than 1. \n**Returns**\n\n- (::Float) --- Must be greater than 1.\n\n### #num_finite_buckets\n\n def num_finite_buckets() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Must be greater than 0.\n\n### #num_finite_buckets=\n\n def num_finite_buckets=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Must be greater than 0. \n**Returns**\n\n- (::Integer) --- Must be greater than 0.\n\n### #scale\n\n def scale() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- Must be greater than 0.\n\n### #scale=\n\n def scale=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- Must be greater than 0. \n**Returns**\n\n- (::Float) --- Must be greater than 0."]]