Google Cloud Contact Center Insights V1 Client - Class TimeGranularity (2.2.0)

Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class TimeGranularity.

A time granularity divides the time line into discrete time periods.

This is useful for defining buckets over which filtering and aggregation should be performed.

Protobuf type google.cloud.contactcenterinsights.v1.QueryMetricsRequest.TimeGranularity

Namespace

Google \ Cloud \ ContactCenterInsights \ V1 \ QueryMetricsRequest

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

TIME_GRANULARITY_UNSPECIFIED

Value: 0

The time granularity is unspecified and will default to NONE.

Generated from protobuf enum TIME_GRANULARITY_UNSPECIFIED = 0;

NONE

Value: 1

No time granularity. The response won't contain a time series.

This is the default value if no time granularity is specified.

Generated from protobuf enum NONE = 1;

DAILY

Value: 2

Data points in the time series will aggregate at a daily granularity.

1 day means [midnight to midnight).

Generated from protobuf enum DAILY = 2;

HOURLY

Value: 3

Data points in the time series will aggregate at a daily granularity.

1 HOUR means [01:00 to 02:00).

Generated from protobuf enum HOURLY = 3;

PER_MINUTE

Value: 4

Data points in the time series will aggregate at a daily granularity.

PER_MINUTE means [01:00 to 01:01).

Generated from protobuf enum PER_MINUTE = 4;

PER_5_MINUTES

Value: 5

Data points in the time series will aggregate at a 1 minute granularity.

PER_5_MINUTES means [01:00 to 01:05).

Generated from protobuf enum PER_5_MINUTES = 5;

MONTHLY

Value: 6

Data points in the time series will aggregate at a monthly granularity.

1 MONTH means [01st of the month to 1st of the next month).

Generated from protobuf enum MONTHLY = 6;