Google Cloud Contact Center Insights V1 Client - Class IssueModel (1.7.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
NameDescription
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 Google\Cloud\ContactCenterInsights\V1\IssueModel\InputDataConfig

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

↳ training_stats Google\Cloud\ContactCenterInsights\V1\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
TypeDescription
string

setName

Immutable. The resource name of the issue model.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

The representative name for the issue model.

Returns
TypeDescription
string

setDisplayName

The representative name for the issue model.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

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

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getIssueCount

Output only. Number of issues in this issue model.

Returns
TypeDescription
int|string

setIssueCount

Output only. Number of issues in this issue model.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getState

Output only. State of the model.

Returns
TypeDescription
int

setState

Output only. State of the model.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getInputDataConfig

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

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\IssueModel\InputDataConfig|null

hasInputDataConfig

clearInputDataConfig

setInputDataConfig

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

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\IssueModel\InputDataConfig
Returns
TypeDescription
$this

getTrainingStats

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

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\IssueModelLabelStats|null

hasTrainingStats

clearTrainingStats

setTrainingStats

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

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\IssueModelLabelStats
Returns
TypeDescription
$this

getModelType

Type of the model.

Returns
TypeDescription
int

setModelType

Type of the model.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getLanguageCode

Language of the model.

Returns
TypeDescription
string

setLanguageCode

Language of the model.

Parameter
NameDescription
var string
Returns
TypeDescription
$this