Class ContactCenterInsightsAsyncClient (0.1.1)

ContactCenterInsightsAsyncClient(*, credentials: google.auth.credentials.Credentials = None, transport: Union[str, google.cloud.contact_center_insights_v1.services.contact_center_insights.transports.base.ContactCenterInsightsTransport] = 'grpc_asyncio', client_options: <module 'google.api_core.client_options' from '/workspace/python-contact-center-insights/.nox/docfx/lib/python3.9/site-packages/google/api_core/client_options.py'> = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = <google.api_core.gapic_v1.client_info.ClientInfo object>)

An API that lets users analyze and explore their business conversation data.

Properties

transport

Returns the transport used by the client instance.

Returns
TypeDescription
ContactCenterInsightsTransportThe transport used by the client instance.

Methods

ContactCenterInsightsAsyncClient

ContactCenterInsightsAsyncClient(*, credentials: google.auth.credentials.Credentials = None, transport: Union[str, google.cloud.contact_center_insights_v1.services.contact_center_insights.transports.base.ContactCenterInsightsTransport] = 'grpc_asyncio', client_options: <module 'google.api_core.client_options' from '/workspace/python-contact-center-insights/.nox/docfx/lib/python3.9/site-packages/google/api_core/client_options.py'> = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = <google.api_core.gapic_v1.client_info.ClientInfo object>)

Instantiates the contact center insights client.

Parameters
NameDescription
credentials Optional[google.auth.credentials.Credentials]

The authorization credentials to attach to requests. These credentials identify the application to the service; if none are specified, the client will attempt to ascertain the credentials from the environment.

transport Union[str, .ContactCenterInsightsTransport]

The transport to use. If set to None, a transport is chosen automatically.

client_options ClientOptions

Custom options for the client. It won't take effect if a transport instance is provided. (1) The api_endpoint property can be used to override the default endpoint provided by the client. GOOGLE_API_USE_MTLS_ENDPOINT environment variable can also be used to override the endpoint: "always" (always use the default mTLS endpoint), "never" (always use the default regular endpoint) and "auto" (auto switch to the default mTLS endpoint if client certificate is present, this is the default value). However, the api_endpoint property takes precedence if provided. (2) If GOOGLE_API_USE_CLIENT_CERTIFICATE environment variable is "true", then the client_cert_source property can be used to provide client certificate for mutual TLS transport. If not provided, the default SSL client certificate will be used if present. If GOOGLE_API_USE_CLIENT_CERTIFICATE is "false" or not set, no client certificate will be used.

Exceptions
TypeDescription
google.auth.exceptions.MutualTlsChannelErrorIf mutual TLS transport creation failed for any reason.

analysis_path

analysis_path(project: str, location: str, conversation: str, analysis: str)

Returns a fully-qualified analysis string.

calculate_issue_model_stats

calculate_issue_model_stats(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.CalculateIssueModelStatsRequest] = None, *, issue_model: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Gets an issue model's statistics.

Parameters
NameDescription
request CalculateIssueModelStatsRequest

The request object. Request to get statistics of an issue model.

issue_model str

Required. The resource name of the issue model to query against. This corresponds to the issue_model field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.types.CalculateIssueModelStatsResponseResponse of querying an issue model's statistics.

calculate_stats

calculate_stats(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.CalculateStatsRequest] = None, *, location: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Gets conversation statistics.

Parameters
NameDescription
request CalculateStatsRequest

The request object. The request for calculating conversation statistics.

location str

Required. The location of the conversations. This corresponds to the location field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.types.CalculateStatsResponseThe response for calculating conversation statistics.

common_billing_account_path

common_billing_account_path(billing_account: str)

Returns a fully-qualified billing_account string.

common_folder_path

common_folder_path(folder: str)

Returns a fully-qualified folder string.

common_location_path

common_location_path(project: str, location: str)

Returns a fully-qualified location string.

common_organization_path

common_organization_path(organization: str)

Returns a fully-qualified organization string.

common_project_path

common_project_path(project: str)

Returns a fully-qualified project string.

conversation_path

conversation_path(project: str, location: str, conversation: str)

Returns a fully-qualified conversation string.

create_analysis

create_analysis(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.CreateAnalysisRequest] = None, *, parent: Optional[str] = None, analysis: Optional[google.cloud.contact_center_insights_v1.types.resources.Analysis] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Creates an analysis. The long running operation is done when the analysis has completed.

Parameters
NameDescription
request CreateAnalysisRequest

The request object. The request to create an analysis.

parent str

Required. The parent resource of the analysis. This corresponds to the parent field on the request instance; if request is provided, this should not be set.

analysis Analysis

Required. The analysis to create. This corresponds to the analysis field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.api_core.operation_async.AsyncOperationAn object representing a long-running operation. The result type for the operation will be Analysis The analysis resource.

create_conversation

create_conversation(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.CreateConversationRequest] = None, *, parent: Optional[str] = None, conversation: Optional[google.cloud.contact_center_insights_v1.types.resources.Conversation] = None, conversation_id: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Creates a conversation.

Parameters
NameDescription
request CreateConversationRequest

The request object. Request to create a conversation.

parent str

Required. The parent resource of the conversation. This corresponds to the parent field on the request instance; if request is provided, this should not be set.

conversation Conversation

Required. The conversation resource to create. This corresponds to the conversation field on the request instance; if request is provided, this should not be set.

conversation_id str

A unique ID for the new conversation. This ID will become the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-32 characters and must match the regular expression /^[a-z0-9-]{4,32}$/. Valid characters are /a-z][0-9]-/ This corresponds to the conversation_id field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.types.ConversationThe conversation resource.

create_phrase_matcher

create_phrase_matcher(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.CreatePhraseMatcherRequest] = None, *, parent: Optional[str] = None, phrase_matcher: Optional[google.cloud.contact_center_insights_v1.types.resources.PhraseMatcher] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Creates a phrase matcher.

Parameters
NameDescription
request CreatePhraseMatcherRequest

The request object. Request to create a phrase matcher.

parent str

Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: projects/ or projects/ This corresponds to the parent field on the request instance; if request is provided, this should not be set.

phrase_matcher PhraseMatcher

Required. The phrase matcher resource to create. This corresponds to the phrase_matcher field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.types.PhraseMatcherThe phrase matcher resource.

delete_analysis

delete_analysis(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.DeleteAnalysisRequest] = None, *, name: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Deletes an analysis.

Parameters
NameDescription
request DeleteAnalysisRequest

The request object. The request to delete an analysis.

name str

Required. The name of the analysis to delete. This corresponds to the name field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

delete_conversation

delete_conversation(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.DeleteConversationRequest] = None, *, name: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Deletes a conversation.

Parameters
NameDescription
request DeleteConversationRequest

The request object. The request to delete a conversation.

name str

Required. The name of the conversation to delete. This corresponds to the name field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

delete_phrase_matcher

delete_phrase_matcher(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.DeletePhraseMatcherRequest] = None, *, name: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Deletes a phrase matcher.

Parameters
NameDescription
request DeletePhraseMatcherRequest

The request object. The request to delete a phrase matcher.

name str

Required. The name of the phrase matcher to delete. This corresponds to the name field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

export_insights_data

export_insights_data(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.ExportInsightsDataRequest] = None, *, parent: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Export insights data to a destination defined in the request body.

Parameters
NameDescription
request ExportInsightsDataRequest

The request object. The request to export insights.

parent str

Required. The parent resource to export data from. This corresponds to the parent field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.api_core.operation_async.AsyncOperationAn object representing a long-running operation. The result type for the operation will be ExportInsightsDataResponse Response for an export insights operation.

from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

Parameter
NameDescription
filename str

The path to the service account private key json file.

Returns
TypeDescription
ContactCenterInsightsAsyncClientThe constructed client.

from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

Parameter
NameDescription
info dict

The service account private key info.

Returns
TypeDescription
ContactCenterInsightsAsyncClientThe constructed client.

from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

Parameter
NameDescription
filename str

The path to the service account private key json file.

Returns
TypeDescription
ContactCenterInsightsAsyncClientThe constructed client.

get_analysis

get_analysis(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.GetAnalysisRequest] = None, *, name: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Gets an analysis.

Parameters
NameDescription
request GetAnalysisRequest

The request object. The request to get an analysis.

name str

Required. The name of the analysis to get. This corresponds to the name field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.types.AnalysisThe analysis resource.

get_conversation

get_conversation(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.GetConversationRequest] = None, *, name: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Gets a conversation.

Parameters
NameDescription
request GetConversationRequest

The request object. The request to get a conversation.

name str

Required. The name of the conversation to get. This corresponds to the name field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.types.ConversationThe conversation resource.

get_issue

get_issue(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.GetIssueRequest] = None, *, name: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Gets an issue.

Parameters
NameDescription
request GetIssueRequest

The request object. The request to get an issue.

name str

Required. The name of the issue to get. This corresponds to the name field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.types.IssueThe issue resource.

get_issue_model

get_issue_model(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.GetIssueModelRequest] = None, *, name: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Gets an issue model.

Parameters
NameDescription
request GetIssueModelRequest

The request object. The request to get an issue model.

name str

Required. The name of the issue model to get. This corresponds to the name field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.types.IssueModelThe issue model resource.

get_phrase_matcher

get_phrase_matcher(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.GetPhraseMatcherRequest] = None, *, name: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Gets a phrase matcher.

Parameters
NameDescription
request GetPhraseMatcherRequest

The request object. The request to get a a phrase matcher.

name str

Required. The name of the phrase matcher to get. This corresponds to the name field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.types.PhraseMatcherThe phrase matcher resource.

get_settings

get_settings(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.GetSettingsRequest] = None, *, name: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Gets project-level settings.

Parameters
NameDescription
request GetSettingsRequest

The request object. The request to get project-level settings.

name str

Required. The name of the settings resource to get. This corresponds to the name field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.types.SettingsThe settings resource.

get_transport_class

get_transport_class()

Returns an appropriate transport class.

issue_model_path

issue_model_path(project: str, location: str, issue_model: str)

Returns a fully-qualified issue_model string.

issue_path

issue_path(project: str, location: str, issue_model: str, issue: str)

Returns a fully-qualified issue string.

list_analyses

list_analyses(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.ListAnalysesRequest] = None, *, parent: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Lists analyses.

Parameters
NameDescription
request ListAnalysesRequest

The request object. The request to list analyses.

parent str

Required. The parent resource of the analyses. This corresponds to the parent field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.services.contact_center_insights.pagers.ListAnalysesAsyncPagerThe response to list analyses. Iterating over this object will yield results and resolve additional pages automatically.

list_conversations

list_conversations(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.ListConversationsRequest] = None, *, parent: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Lists conversations.

Parameters
NameDescription
request ListConversationsRequest

The request object. Request to list conversations.

parent str

Required. The parent resource of the conversation. This corresponds to the parent field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.services.contact_center_insights.pagers.ListConversationsAsyncPagerThe response of listing conversations. Iterating over this object will yield results and resolve additional pages automatically.

list_issue_models

list_issue_models(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.ListIssueModelsRequest] = None, *, parent: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Lists issue models.

Parameters
NameDescription
request ListIssueModelsRequest

The request object. Request to list issue models.

parent str

Required. The parent resource of the issue model. This corresponds to the parent field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.types.ListIssueModelsResponseThe response of listing issue models.

list_issues

list_issues(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.ListIssuesRequest] = None, *, parent: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Lists issues.

Parameters
NameDescription
request ListIssuesRequest

The request object. Request to list issues.

parent str

Required. The parent resource of the issue. This corresponds to the parent field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.types.ListIssuesResponseThe response of listing issues.

list_phrase_matchers

list_phrase_matchers(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.ListPhraseMatchersRequest] = None, *, parent: Optional[str] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Lists phrase matchers.

Parameters
NameDescription
request ListPhraseMatchersRequest

The request object. Request to list phrase matchers.

parent str

Required. The parent resource of the phrase matcher. This corresponds to the parent field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.services.contact_center_insights.pagers.ListPhraseMatchersAsyncPagerThe response of listing phrase matchers. Iterating over this object will yield results and resolve additional pages automatically.

parse_analysis_path

parse_analysis_path(path: str)

Parses a analysis path into its component segments.

parse_common_billing_account_path

parse_common_billing_account_path(path: str)

Parse a billing_account path into its component segments.

parse_common_folder_path

parse_common_folder_path(path: str)

Parse a folder path into its component segments.

parse_common_location_path

parse_common_location_path(path: str)

Parse a location path into its component segments.

parse_common_organization_path

parse_common_organization_path(path: str)

Parse a organization path into its component segments.

parse_common_project_path

parse_common_project_path(path: str)

Parse a project path into its component segments.

parse_conversation_path

parse_conversation_path(path: str)

Parses a conversation path into its component segments.

parse_issue_model_path

parse_issue_model_path(path: str)

Parses a issue_model path into its component segments.

parse_issue_path

parse_issue_path(path: str)

Parses a issue path into its component segments.

parse_phrase_matcher_path

parse_phrase_matcher_path(path: str)

Parses a phrase_matcher path into its component segments.

parse_settings_path

parse_settings_path(path: str)

Parses a settings path into its component segments.

phrase_matcher_path

phrase_matcher_path(project: str, location: str, phrase_matcher: str)

Returns a fully-qualified phrase_matcher string.

settings_path

settings_path(project: str, location: str)

Returns a fully-qualified settings string.

update_conversation

update_conversation(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.UpdateConversationRequest] = None, *, conversation: Optional[google.cloud.contact_center_insights_v1.types.resources.Conversation] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Updates a conversation.

Parameters
NameDescription
request UpdateConversationRequest

The request object. The request to update a conversation.

conversation Conversation

Required. The new values for the conversation. This corresponds to the conversation field on the request instance; if request is provided, this should not be set.

update_mask google.protobuf.field_mask_pb2.FieldMask

The list of fields to be updated. This corresponds to the update_mask field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.types.ConversationThe conversation resource.

update_settings

update_settings(request: Optional[google.cloud.contact_center_insights_v1.types.contact_center_insights.UpdateSettingsRequest] = None, *, settings: Optional[google.cloud.contact_center_insights_v1.types.resources.Settings] = None, update_mask: Optional[google.protobuf.field_mask_pb2.FieldMask] = None, retry: google.api_core.retry.Retry = <_MethodDefault._DEFAULT_VALUE: <object object>>, timeout: Optional[float] = None, metadata: Sequence[Tuple[str, str]] = ())

Updates project-level settings.

Parameters
NameDescription
request UpdateSettingsRequest

The request object. The request to update project-level settings.

settings Settings

Required. The new values for the conversation. This corresponds to the settings field on the request instance; if request is provided, this should not be set.

update_mask google.protobuf.field_mask_pb2.FieldMask

Required. The list of fields to be updated. This corresponds to the update_mask field on the request instance; if request is provided, this should not be set.

retry google.api_core.retry.Retry

Designation of what errors, if any, should be retried.

timeout float

The timeout for this request.

metadata Sequence[Tuple[str, str]]

Strings which should be sent along with the request as metadata.

Returns
TypeDescription
google.cloud.contact_center_insights_v1.types.SettingsThe settings resource.