If bucket type is CUSTOM_RANGE, specify how values are bucketized.
Use integer bucket value as an example, when the endpoints are 0,
10, 100, and 1000, we will generate the following facets: [-inf, 0),
[0, 10), [10, 100), [100, 1000), [1000, inf). Notably:
endpoints must be listed in ascending order. Otherwise, the
SearchConfig API will reject the facet config.
[[["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,["# Class CustomRangeBucketSpec (0.1.10)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.10 (latest)](/python/docs/reference/google-cloud-visionai/latest/google.cloud.visionai_v1.types.FacetProperty.CustomRangeBucketSpec)\n- [0.1.8](/python/docs/reference/google-cloud-visionai/0.1.8/google.cloud.visionai_v1.types.FacetProperty.CustomRangeBucketSpec) \n\n CustomRangeBucketSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nIf bucket type is CUSTOM_RANGE, specify how values are bucketized.\nUse integer bucket value as an example, when the endpoints are 0,\n10, 100, and 1000, we will generate the following facets: \\[-inf, 0),\n\\[0, 10), \\[10, 100), \\[100, 1000), \\[1000, inf). Notably:\n\n- endpoints must be listed in ascending order. Otherwise, the SearchConfig API will reject the facet config.\n- \\\u003c 1 endpoints is an invalid spec."]]