Enum QueryMetricsRequest.TimeGranularity (2.54.0)

public enum QueryMetricsRequest.TimeGranularity extends Enum<QueryMetricsRequest.TimeGranularity> implements ProtocolMessageEnum

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 enum google.cloud.contactcenterinsights.v1.QueryMetricsRequest.TimeGranularity

Implements

ProtocolMessageEnum

Static Fields

Name Description
DAILY

Data points in the time series will aggregate at a daily granularity. 1 day means [midnight to midnight).

DAILY = 2;

DAILY_VALUE

Data points in the time series will aggregate at a daily granularity. 1 day means [midnight to midnight).

DAILY = 2;

HOURLY

Data points in the time series will aggregate at a daily granularity. 1 HOUR means [01:00 to 02:00).

HOURLY = 3;

HOURLY_VALUE

Data points in the time series will aggregate at a daily granularity. 1 HOUR means [01:00 to 02:00).

HOURLY = 3;

MONTHLY

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).

MONTHLY = 6;

MONTHLY_VALUE

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).

MONTHLY = 6;

NONE

No time granularity. The response won't contain a time series. This is the default value if no time granularity is specified.

NONE = 1;

NONE_VALUE

No time granularity. The response won't contain a time series. This is the default value if no time granularity is specified.

NONE = 1;

PER_5_MINUTES

Data points in the time series will aggregate at a 1 minute granularity. PER_5_MINUTES means [01:00 to 01:05).

PER_5_MINUTES = 5;

PER_5_MINUTES_VALUE

Data points in the time series will aggregate at a 1 minute granularity. PER_5_MINUTES means [01:00 to 01:05).

PER_5_MINUTES = 5;

PER_MINUTE

Data points in the time series will aggregate at a daily granularity. PER_MINUTE means [01:00 to 01:01).

PER_MINUTE = 4;

PER_MINUTE_VALUE

Data points in the time series will aggregate at a daily granularity. PER_MINUTE means [01:00 to 01:01).

PER_MINUTE = 4;

TIME_GRANULARITY_UNSPECIFIED

The time granularity is unspecified and will default to NONE.

TIME_GRANULARITY_UNSPECIFIED = 0;

TIME_GRANULARITY_UNSPECIFIED_VALUE

The time granularity is unspecified and will default to NONE.

TIME_GRANULARITY_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()