class ProjectsLocationsViews extends Resource (View source)

The "views" collection of methods.

Typical usage is:

 $contactcenterinsightsService = new Google\Service\Contactcenterinsights(...);
 $views = $contactcenterinsightsService->projects_locations_views;

Methods

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

Creates a view. (views.create)

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

Deletes a view. (views.delete)

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

Gets a view. (views.get)

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

Lists views. (views.listProjectsLocationsViews)

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

Updates a view. (views.patch)

Details

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

Creates a view. (views.create)

Parameters

string $parent

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

GoogleCloudContactcenterinsightsV1View $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1View

Exceptions

Exception

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

Deletes a view. (views.delete)

Parameters

string $name

Required. The name of the view to delete.

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

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

Gets a view. (views.get)

Parameters

string $name

Required. The name of the view to get.

array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1View

Exceptions

Exception

GoogleCloudContactcenterinsightsV1ListViewsResponse listProjectsLocationsViews(string $parent, array $optParams = [])

Lists views. (views.listProjectsLocationsViews)

Parameters

string $parent

Required. The parent resource of the views.

array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1ListViewsResponse

Exceptions

Exception

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

Updates a view. (views.patch)

Parameters

string $name

Immutable. The resource name of the view. Format: projects/{project}/locations/{location}/views/{view}

GoogleCloudContactcenterinsightsV1View $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudContactcenterinsightsV1View

Exceptions

Exception