Google Cloud Contact Center Insights V1 Client - Class IssueModel (2.2.1)

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

The issue model resource.

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

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Immutable. The resource name of the issue model. Format: projects/{project}/locations/{location}/issueModels/{issue_model}

↳ display_name string

The representative name for the issue model.

↳ create_time Google\Protobuf\Timestamp

Output only. The time at which this issue model was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The most recent time at which the issue model was updated.

↳ issue_count int|string

Output only. Number of issues in this issue model.

↳ state int

Output only. State of the model.

↳ input_data_config IssueModel\InputDataConfig

Configs for the input data that used to create the issue model.

↳ training_stats IssueModelLabelStats

Output only. Immutable. The issue model's label statistics on its training data.

↳ model_type int

Type of the model.

↳ language_code string

Language of the model.

getName

Immutable. The resource name of the issue model.

Format: projects/{project}/locations/{location}/issueModels/{issue_model}

Returns
Type Description
string

setName

Immutable. The resource name of the issue model.

Format: projects/{project}/locations/{location}/issueModels/{issue_model}

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

The representative name for the issue model.

Returns
Type Description
string

setDisplayName

The representative name for the issue model.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The time at which this issue model was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time at which this issue model was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. The most recent time at which the issue model was updated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The most recent time at which the issue model was updated.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getIssueCount

Output only. Number of issues in this issue model.

Returns
Type Description
int|string

setIssueCount

Output only. Number of issues in this issue model.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getState

Output only. State of the model.

Returns
Type Description
int

setState

Output only. State of the model.

Parameter
Name Description
var int
Returns
Type Description
$this

getInputDataConfig

Configs for the input data that used to create the issue model.

Returns
Type Description
IssueModel\InputDataConfig|null

hasInputDataConfig

clearInputDataConfig

setInputDataConfig

Configs for the input data that used to create the issue model.

Parameter
Name Description
var IssueModel\InputDataConfig
Returns
Type Description
$this

getTrainingStats

Output only. Immutable. The issue model's label statistics on its training data.

Returns
Type Description
IssueModelLabelStats|null

hasTrainingStats

clearTrainingStats

setTrainingStats

Output only. Immutable. The issue model's label statistics on its training data.

Parameter
Name Description
var IssueModelLabelStats
Returns
Type Description
$this

getModelType

Type of the model.

Returns
Type Description
int

setModelType

Type of the model.

Parameter
Name Description
var int
Returns
Type Description
$this

getLanguageCode

Language of the model.

Returns
Type Description
string

setLanguageCode

Language of the model.

Parameter
Name Description
var string
Returns
Type Description
$this