class ProjectsLocationsPhraseMatchers extends Resource (View source)

The "phraseMatchers" collection of methods.

Typical usage is:

 $contactcenterinsightsService = new Google\Service\Contactcenterinsights(...);
 $phraseMatchers = $contactcenterinsightsService->projects_locations_phraseMatchers;

Methods

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

Creates a phrase matcher. (phraseMatchers.create)

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

Deletes a phrase matcher. (phraseMatchers.delete)

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

Gets a phrase matcher. (phraseMatchers.get)

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

Lists phrase matchers. (phraseMatchers.listProjectsLocationsPhraseMatchers)

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

Updates a phrase matcher. (phraseMatchers.patch)

Details

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

Creates a phrase matcher. (phraseMatchers.create)

Parameters

string $parent

Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: projects//locations/ or projects//locations/

GoogleCloudContactcenterinsightsV1PhraseMatcher $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1PhraseMatcher

Exceptions

Exception

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

Deletes a phrase matcher. (phraseMatchers.delete)

Parameters

string $name

Required. The name of the phrase matcher to delete.

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

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

Gets a phrase matcher. (phraseMatchers.get)

Parameters

string $name

Required. The name of the phrase matcher to get.

array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1PhraseMatcher

Exceptions

Exception

GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse listProjectsLocationsPhraseMatchers(string $parent, array $optParams = [])

Lists phrase matchers. (phraseMatchers.listProjectsLocationsPhraseMatchers)

Parameters

string $parent

Required. The parent resource of the phrase matcher.

array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1ListPhraseMatchersResponse

Exceptions

Exception

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

Updates a phrase matcher. (phraseMatchers.patch)

Parameters

string $name

The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}

GoogleCloudContactcenterinsightsV1PhraseMatcher $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1PhraseMatcher

Exceptions

Exception