Class: Google::Cloud::VisionAI::V1::FacetProperty::DateTimeBucketSpec
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::FacetProperty::DateTimeBucketSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/warehouse.rb
Overview
If bucket type is DATE, specify how date values are bucketized.
Defined Under Namespace
Modules: Granularity
Instance Attribute Summary collapse
-
#granularity ⇒ ::Google::Cloud::VisionAI::V1::FacetProperty::DateTimeBucketSpec::Granularity
Granularity of date type facet.
Instance Attribute Details
#granularity ⇒ ::Google::Cloud::VisionAI::V1::FacetProperty::DateTimeBucketSpec::Granularity
Returns Granularity of date type facet.
2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2267 class DateTimeBucketSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Granularity enum for the datetime bucket. module Granularity # Unspecified granularity. GRANULARITY_UNSPECIFIED = 0 # Granularity is year. YEAR = 1 # Granularity is month. MONTH = 2 # Granularity is day. DAY = 3 end end |