Send feedback
Class ExplicitBuckets (1.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
ExplicitBuckets ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
Describing buckets with arbitrary user-provided width.
Attribute
Name
Description
bounds
MutableSequence[float]
'bound' is a list of strictly increasing boundaries between
buckets. Note that a list of length N-1 defines N buckets
because of fenceposting. See comments on bucket_options
for details.
The i'th finite bucket covers the interval [bound[i-1],
bound[i]) where i ranges from 1 to bound_size() - 1. Note
that there are no finite buckets at all if 'bound' only
contains a single element; in that special case the single
bound defines the boundary between the underflow and
overflow buckets.
bucket number lower bound upper bound i == 0 (underflow)
-inf bound[i] 0 < i="">< bound_size()="" bound[i-1]="" bound[i]="" i="=" bound_size()="" (overflow)="" bound[i-1]="" +inf="">
Send feedback
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-09-09 UTC.
Need to tell us more?
[[["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-09 UTC."],[],[],null,["# Class ExplicitBuckets (1.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.16.0 (latest)](/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.15.0](/python/docs/reference/servicecontrol/1.15.0/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.14.0](/python/docs/reference/servicecontrol/1.14.0/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.13.1](/python/docs/reference/servicecontrol/1.13.1/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.12.3](/python/docs/reference/servicecontrol/1.12.3/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.11.1](/python/docs/reference/servicecontrol/1.11.1/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.10.0](/python/docs/reference/servicecontrol/1.10.0/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.9.1](/python/docs/reference/servicecontrol/1.9.1/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.8.1](/python/docs/reference/servicecontrol/1.8.1/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.7.1](/python/docs/reference/servicecontrol/1.7.1/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.6.0](/python/docs/reference/servicecontrol/1.6.0/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.5.3](/python/docs/reference/servicecontrol/1.5.3/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.4.2](/python/docs/reference/servicecontrol/1.4.2/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.3.1](/python/docs/reference/servicecontrol/1.3.1/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.2.1](/python/docs/reference/servicecontrol/1.2.1/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.1.0](/python/docs/reference/servicecontrol/1.1.0/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [1.0.3](/python/docs/reference/servicecontrol/1.0.3/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [0.3.0](/python/docs/reference/servicecontrol/0.3.0/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [0.2.0](/python/docs/reference/servicecontrol/0.2.0/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets)\n- [0.1.0](/python/docs/reference/servicecontrol/0.1.0/google.cloud.servicecontrol_v1.types.Distribution.ExplicitBuckets) \n\n ExplicitBuckets(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nDescribing buckets with arbitrary user-provided width."]]