Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class Granularity.
Granularity enum for the datetime bucket.
Protobuf type google.cloud.visionai.v1.FacetProperty.DateTimeBucketSpec.Granularity
Namespace
Google \ Cloud \ VisionAI \ V1 \ FacetProperty \ DateTimeBucketSpecMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
GRANULARITY_UNSPECIFIED
Value: 0Unspecified granularity.
Generated from protobuf enum GRANULARITY_UNSPECIFIED = 0;
YEAR
Value: 1Granularity is year.
Generated from protobuf enum YEAR = 1;
MONTH
Value: 2Granularity is month.
Generated from protobuf enum MONTH = 2;
DAY
Value: 3Granularity is day.
Generated from protobuf enum DAY = 3;