Google Cloud Contact Center Insights V1 Client - Class ImportIssueModelRequest (2.1.0)

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

Request to import an issue model.

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

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ gcs_source Google\Cloud\ContactCenterInsights\V1\ImportIssueModelRequest\GcsSource

Google Cloud Storage source message.

↳ parent string

Required. The parent resource of the issue model.

↳ create_new_model bool

Optional. If set to true, will create an issue model from the imported file with randomly generated IDs for the issue model and corresponding issues. Otherwise, replaces an existing model with the same ID as the file.

getGcsSource

Google Cloud Storage source message.

Returns
Type Description
Google\Cloud\ContactCenterInsights\V1\ImportIssueModelRequest\GcsSource|null

hasGcsSource

setGcsSource

Google Cloud Storage source message.

Parameter
Name Description
var Google\Cloud\ContactCenterInsights\V1\ImportIssueModelRequest\GcsSource
Returns
Type Description
$this

getParent

Required. The parent resource of the issue model.

Returns
Type Description
string

setParent

Required. The parent resource of the issue model.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateNewModel

Optional. If set to true, will create an issue model from the imported file with randomly generated IDs for the issue model and corresponding issues.

Otherwise, replaces an existing model with the same ID as the file.

Returns
Type Description
bool

setCreateNewModel

Optional. If set to true, will create an issue model from the imported file with randomly generated IDs for the issue model and corresponding issues.

Otherwise, replaces an existing model with the same ID as the file.

Parameter
Name Description
var bool
Returns
Type Description
$this

getSource

Returns
Type Description
string

static::build

Parameter
Name Description
parent string

Required. The parent resource of the issue model. Please see Google\Cloud\ContactCenterInsights\V1\ContactCenterInsightsClient::locationName() for help formatting this field.

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