Google Cloud Contact Center Insights V1 Client - Class CalculateStatsRequest (2.1.1)

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

The request for calculating conversation statistics.

Generated from protobuf message google.cloud.contactcenterinsights.v1.CalculateStatsRequest

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ location string

Required. The location of the conversations.

↳ filter string

A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.

getLocation

Required. The location of the conversations.

Returns
Type Description
string

setLocation

Required. The location of the conversations.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.

Returns
Type Description
string

setFilter

A filter to reduce results to a specific subset. This field is useful for getting statistics about conversations with specific properties.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
location string

Required. The location of the conversations. Please see Google\Cloud\ContactCenterInsights\V1\ContactCenterInsightsClient::locationName() for help formatting this field.

Returns
Type Description
Google\Cloud\ContactCenterInsights\V1\CalculateStatsRequest