class ProjectsLocationsIssueModels extends Resource (View source)

The "issueModels" collection of methods.

Typical usage is:

 $contactcenterinsightsService = new Google\Service\Contactcenterinsights(...);
 $issueModels = $contactcenterinsightsService->projects_locations_issueModels;

Methods

calculateIssueModelStats(string $issueModel, array $optParams = [])

Gets an issue model's statistics. (issueModels.calculateIssueModelStats)

create(string $parent, GoogleCloudContactcenterinsightsV1IssueModel $postBody, array $optParams = [])

Creates an issue model. (issueModels.create)

delete(string $name, array $optParams = [])

Deletes an issue model. (issueModels.delete)

deploy(string $name, GoogleCloudContactcenterinsightsV1DeployIssueModelRequest $postBody, array $optParams = [])

Deploys an issue model. Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.

export(string $name, GoogleCloudContactcenterinsightsV1ExportIssueModelRequest $postBody, array $optParams = [])

Exports an issue model to the provided destination. (issueModels.export)

get(string $name, array $optParams = [])

Gets an issue model. (issueModels.get)

import(string $parent, GoogleCloudContactcenterinsightsV1ImportIssueModelRequest $postBody, array $optParams = [])

Imports an issue model from a Cloud Storage bucket. (issueModels.import)

listProjectsLocationsIssueModels(string $parent, array $optParams = [])

Lists issue models. (issueModels.listProjectsLocationsIssueModels)

patch(string $name, GoogleCloudContactcenterinsightsV1IssueModel $postBody, array $optParams = [])

Updates an issue model. (issueModels.patch)

undeploy(string $name, GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest $postBody, array $optParams = [])

Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed. (issueModels.undeploy)

Details

GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse calculateIssueModelStats(string $issueModel, array $optParams = [])

Gets an issue model's statistics. (issueModels.calculateIssueModelStats)

Parameters

string $issueModel

Required. The resource name of the issue model to query against.

array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1CalculateIssueModelStatsResponse

Exceptions

Exception

GoogleLongrunningOperation create(string $parent, GoogleCloudContactcenterinsightsV1IssueModel $postBody, array $optParams = [])

Creates an issue model. (issueModels.create)

Parameters

string $parent

Required. The parent resource of the issue model.

GoogleCloudContactcenterinsightsV1IssueModel $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleLongrunningOperation delete(string $name, array $optParams = [])

Deletes an issue model. (issueModels.delete)

Parameters

string $name

Required. The name of the issue model to delete.

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleLongrunningOperation deploy(string $name, GoogleCloudContactcenterinsightsV1DeployIssueModelRequest $postBody, array $optParams = [])

Deploys an issue model. Returns an error if a model is already deployed. An issue model can only be used in analysis after it has been deployed.

(issueModels.deploy)

Parameters

string $name

Required. The issue model to deploy.

GoogleCloudContactcenterinsightsV1DeployIssueModelRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleLongrunningOperation export(string $name, GoogleCloudContactcenterinsightsV1ExportIssueModelRequest $postBody, array $optParams = [])

Exports an issue model to the provided destination. (issueModels.export)

Parameters

string $name

Required. The issue model to export.

GoogleCloudContactcenterinsightsV1ExportIssueModelRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudContactcenterinsightsV1IssueModel get(string $name, array $optParams = [])

Gets an issue model. (issueModels.get)

Parameters

string $name

Required. The name of the issue model to get.

array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1IssueModel

Exceptions

Exception

GoogleLongrunningOperation import(string $parent, GoogleCloudContactcenterinsightsV1ImportIssueModelRequest $postBody, array $optParams = [])

Imports an issue model from a Cloud Storage bucket. (issueModels.import)

Parameters

string $parent

Required. The parent resource of the issue model.

GoogleCloudContactcenterinsightsV1ImportIssueModelRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudContactcenterinsightsV1ListIssueModelsResponse listProjectsLocationsIssueModels(string $parent, array $optParams = [])

Lists issue models. (issueModels.listProjectsLocationsIssueModels)

Parameters

string $parent

Required. The parent resource of the issue model.

array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1ListIssueModelsResponse

Exceptions

Exception

GoogleCloudContactcenterinsightsV1IssueModel patch(string $name, GoogleCloudContactcenterinsightsV1IssueModel $postBody, array $optParams = [])

Updates an issue model. (issueModels.patch)

Parameters

string $name

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

GoogleCloudContactcenterinsightsV1IssueModel $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1IssueModel

Exceptions

Exception

GoogleLongrunningOperation undeploy(string $name, GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest $postBody, array $optParams = [])

Undeploys an issue model. An issue model can not be used in analysis after it has been undeployed. (issueModels.undeploy)

Parameters

string $name

Required. The issue model to undeploy.

GoogleCloudContactcenterinsightsV1UndeployIssueModelRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception