ContactCenterInsightsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.contact_center_insights_v1.services.contact_center_insights.transports.base.ContactCenterInsightsTransport, typing.Callable[[...], google.cloud.contact_center_insights_v1.services.contact_center_insights.transports.base.ContactCenterInsightsTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = 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
api_endpoint
Return the API endpoint used by the client instance.
Returns | |
---|---|
Type | Description |
str |
The API endpoint used by the client instance. |
transport
Returns the transport used by the client instance.
Returns | |
---|---|
Type | Description |
ContactCenterInsightsTransport |
The transport used by the client instance. |
universe_domain
Return the universe domain used by the client instance.
Returns | |
---|---|
Type | Description |
str |
The universe domain used by the client instance. |
Methods
ContactCenterInsightsClient
ContactCenterInsightsClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.contact_center_insights_v1.services.contact_center_insights.transports.base.ContactCenterInsightsTransport, typing.Callable[[...], google.cloud.contact_center_insights_v1.services.contact_center_insights.transports.base.ContactCenterInsightsTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = 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 | |
---|---|
Name | Description |
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 |
Optional[Union[str,ContactCenterInsightsTransport,Callable[..., ContactCenterInsightsTransport]]]
The transport to use, or a Callable that constructs and returns a new transport. If a Callable is given, it will be called with the same set of initialization arguments as used in the ContactCenterInsightsTransport constructor. If set to None, a transport is chosen automatically. |
client_options |
Optional[Union[google.api_core.client_options.ClientOptions, dict]]
Custom options for the client. 1. The |
client_info |
google.api_core.gapic_v1.client_info.ClientInfo
The client info used to send a user-agent string along with API requests. If |
Exceptions | |
---|---|
Type | Description |
google.auth.exceptions.MutualTLSChannelError |
If mutual TLS transport creation failed for any reason. |
__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
analysis_path
analysis_path(project: str, location: str, conversation: str, analysis: str) -> str
Returns a fully-qualified analysis string.
analysis_rule_path
analysis_rule_path(project: str, location: str, analysis_rule: str) -> str
Returns a fully-qualified analysis_rule string.
bulk_analyze_conversations
bulk_analyze_conversations(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.BulkAnalyzeConversationsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
filter: typing.Optional[str] = None,
analysis_percentage: typing.Optional[float] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Analyzes multiple conversations in a single request.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_bulk_analyze_conversations():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.BulkAnalyzeConversationsRequest(
parent="parent_value",
filter="filter_value",
analysis_percentage=0.20170000000000002,
)
# Make the request
operation = client.bulk_analyze_conversations(request=request)
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.BulkAnalyzeConversationsRequest, dict]
The request object. The request to analyze conversations in bulk. |
parent |
str
Required. The parent resource to create analyses in. This corresponds to the |
filter |
str
Required. Filter used to select the subset of conversations to analyze. This corresponds to the |
analysis_percentage |
float
Required. Percentage of selected conversation to analyze, between [0, 100]. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.api_core.operation.Operation |
An object representing a long-running operation. The result type for the operation will be BulkAnalyzeConversationsResponse The response for a bulk analyze conversations operation. |
bulk_delete_conversations
bulk_delete_conversations(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.BulkDeleteConversationsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
filter: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Deletes multiple conversations in a single request.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_bulk_delete_conversations():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.BulkDeleteConversationsRequest(
parent="parent_value",
)
# Make the request
operation = client.bulk_delete_conversations(request=request)
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.BulkDeleteConversationsRequest, dict]
The request object. The request to delete conversations in bulk. |
parent |
str
Required. The parent resource to delete conversations from. Format: projects/{project}/locations/{location} This corresponds to the |
filter |
str
Filter used to select the subset of conversations to delete. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.api_core.operation.Operation |
An object representing a long-running operation. The result type for the operation will be BulkDeleteConversationsResponse The response for a bulk delete conversations operation. |
bulk_download_feedback_labels
bulk_download_feedback_labels(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.BulkDownloadFeedbackLabelsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Download feedback labels in bulk.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_bulk_download_feedback_labels():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
gcs_destination = contact_center_insights_v1.GcsDestination()
gcs_destination.format_ = "JSON"
gcs_destination.object_uri = "object_uri_value"
request = contact_center_insights_v1.BulkDownloadFeedbackLabelsRequest(
gcs_destination=gcs_destination,
parent="parent_value",
)
# Make the request
operation = client.bulk_download_feedback_labels(request=request)
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.BulkDownloadFeedbackLabelsRequest, dict]
The request object. Request for the BulkDownloadFeedbackLabel endpoint. |
parent |
str
Required. The parent resource for new feedback labels. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.api_core.operation.Operation |
An object representing a long-running operation. The result type for the operation will be BulkDownloadFeedbackLabelsResponse Response for the BulkDownloadFeedbackLabel endpoint. |
bulk_upload_feedback_labels
bulk_upload_feedback_labels(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.BulkUploadFeedbackLabelsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Upload feedback labels in bulk.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_bulk_upload_feedback_labels():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
gcs_source = contact_center_insights_v1.GcsSource()
gcs_source.format_ = "JSON"
gcs_source.object_uri = "object_uri_value"
request = contact_center_insights_v1.BulkUploadFeedbackLabelsRequest(
gcs_source=gcs_source,
parent="parent_value",
)
# Make the request
operation = client.bulk_upload_feedback_labels(request=request)
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.BulkUploadFeedbackLabelsRequest, dict]
The request object. The request for bulk uploading feedback labels. |
parent |
str
Required. The parent resource for new feedback labels. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.api_core.operation.Operation |
An object representing a long-running operation. The result type for the operation will be BulkUploadFeedbackLabelsResponse Response for the Bulk Upload Feedback Labels API. |
calculate_issue_model_stats
calculate_issue_model_stats(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.CalculateIssueModelStatsRequest,
dict,
]
] = None,
*,
issue_model: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.contact_center_insights_v1.types.contact_center_insights.CalculateIssueModelStatsResponse
)
Gets an issue model's statistics.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_calculate_issue_model_stats():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.CalculateIssueModelStatsRequest(
issue_model="issue_model_value",
)
# Make the request
response = client.calculate_issue_model_stats(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.CalculateIssueModelStatsRequest, dict]
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 |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.CalculateIssueModelStatsResponse |
Response of querying an issue model's statistics. |
calculate_stats
calculate_stats(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.CalculateStatsRequest,
dict,
]
] = None,
*,
location: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.contact_center_insights_v1.types.contact_center_insights.CalculateStatsResponse
)
Gets conversation statistics.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_calculate_stats():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.CalculateStatsRequest(
location="location_value",
)
# Make the request
response = client.calculate_stats(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.CalculateStatsRequest, dict]
The request object. The request for calculating conversation statistics. |
location |
str
Required. The location of the conversations. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.CalculateStatsResponse |
The response for calculating conversation statistics. |
cancel_operation
cancel_operation(
request: typing.Optional[
google.longrunning.operations_pb2.CancelOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Starts asynchronous cancellation on a long-running operation.
The server makes a best effort to cancel the operation, but success
is not guaranteed. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
Parameters | |
---|---|
Name | Description |
request |
The request object. Request message for |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
conversation_path
conversation_path(project: str, location: str, conversation: str) -> str
Returns a fully-qualified conversation string.
conversation_profile_path
conversation_profile_path(
project: str, location: str, conversation_profile: str
) -> str
Returns a fully-qualified conversation_profile string.
create_analysis
create_analysis(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.CreateAnalysisRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
analysis: typing.Optional[
google.cloud.contact_center_insights_v1.types.resources.Analysis
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Creates an analysis. The long running operation is done when the analysis has completed.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_create_analysis():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.CreateAnalysisRequest(
parent="parent_value",
)
# Make the request
operation = client.create_analysis(request=request)
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.CreateAnalysisRequest, dict]
The request object. The request to create an analysis. |
parent |
str
Required. The parent resource of the analysis. This corresponds to the |
analysis |
google.cloud.contact_center_insights_v1.types.Analysis
Required. The analysis to create. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.api_core.operation.Operation |
An object representing a long-running operation. The result type for the operation will be Analysis The analysis resource. |
create_analysis_rule
create_analysis_rule(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.CreateAnalysisRuleRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
analysis_rule: typing.Optional[
google.cloud.contact_center_insights_v1.types.resources.AnalysisRule
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.AnalysisRule
Creates a analysis rule.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_create_analysis_rule():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.CreateAnalysisRuleRequest(
parent="parent_value",
)
# Make the request
response = client.create_analysis_rule(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.CreateAnalysisRuleRequest, dict]
The request object. The request to create a analysis rule. analysis_rule_id will be generated by the server. |
parent |
str
Required. The parent resource of the analysis rule. Required. The location to create a analysis rule for. Format: |
analysis_rule |
google.cloud.contact_center_insights_v1.types.AnalysisRule
Required. The analysis rule resource to create. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.AnalysisRule |
The CCAI Insights project wide analysis rule. This rule will be applied to all conversations that match the filter defined in the rule. For a conversation matches the filter, the annotators specified in the rule will be run. If a conversation matches multiple rules, a union of all the annotators will be run. One project can have multiple analysis rules. |
create_conversation
create_conversation(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.CreateConversationRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
conversation: typing.Optional[
google.cloud.contact_center_insights_v1.types.resources.Conversation
] = None,
conversation_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.Conversation
Creates a conversation. Note that this method does not support
audio transcription or redaction. Use conversations.upload
instead.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_create_conversation():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.CreateConversationRequest(
parent="parent_value",
)
# Make the request
response = client.create_conversation(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.CreateConversationRequest, dict]
The request object. Request to create a conversation. |
parent |
str
Required. The parent resource of the conversation. This corresponds to the |
conversation |
google.cloud.contact_center_insights_v1.types.Conversation
Required. The conversation resource to create. This corresponds to the |
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-64 characters and must match the regular expression |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.Conversation |
The conversation resource. |
create_feedback_label
create_feedback_label(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.CreateFeedbackLabelRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
feedback_label: typing.Optional[
google.cloud.contact_center_insights_v1.types.resources.FeedbackLabel
] = None,
feedback_label_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.FeedbackLabel
Create feedback label.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_create_feedback_label():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
feedback_label = contact_center_insights_v1.FeedbackLabel()
feedback_label.label = "label_value"
request = contact_center_insights_v1.CreateFeedbackLabelRequest(
parent="parent_value",
feedback_label=feedback_label,
)
# Make the request
response = client.create_feedback_label(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.CreateFeedbackLabelRequest, dict]
The request object. The request for creating a feedback label. |
parent |
str
Required. The parent resource of the feedback label. This corresponds to the |
feedback_label |
google.cloud.contact_center_insights_v1.types.FeedbackLabel
Required. The feedback label to create. This corresponds to the |
feedback_label_id |
str
Optional. The ID of the feedback label to create. If one is not specified it will be generated by the server. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.FeedbackLabel |
Represents a conversation, resource, and label provided by the user. |
create_issue_model
create_issue_model(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.CreateIssueModelRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
issue_model: typing.Optional[
google.cloud.contact_center_insights_v1.types.resources.IssueModel
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Creates an issue model.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_create_issue_model():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.CreateIssueModelRequest(
parent="parent_value",
)
# Make the request
operation = client.create_issue_model(request=request)
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.CreateIssueModelRequest, dict]
The request object. The request to create an issue model. |
parent |
str
Required. The parent resource of the issue model. This corresponds to the |
issue_model |
google.cloud.contact_center_insights_v1.types.IssueModel
Required. The issue model to create. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.api_core.operation.Operation |
An object representing a long-running operation. The result type for the operation will be IssueModel The issue model resource. |
create_phrase_matcher
create_phrase_matcher(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.CreatePhraseMatcherRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
phrase_matcher: typing.Optional[
google.cloud.contact_center_insights_v1.types.resources.PhraseMatcher
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.PhraseMatcher
Creates a phrase matcher.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_create_phrase_matcher():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
phrase_matcher = contact_center_insights_v1.PhraseMatcher()
phrase_matcher.type_ = "ANY_OF"
request = contact_center_insights_v1.CreatePhraseMatcherRequest(
parent="parent_value",
phrase_matcher=phrase_matcher,
)
# Make the request
response = client.create_phrase_matcher(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.CreatePhraseMatcherRequest, dict]
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: |
phrase_matcher |
google.cloud.contact_center_insights_v1.types.PhraseMatcher
Required. The phrase matcher resource to create. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.PhraseMatcher |
The phrase matcher resource. |
create_qa_question
create_qa_question(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.CreateQaQuestionRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
qa_question: typing.Optional[
google.cloud.contact_center_insights_v1.types.resources.QaQuestion
] = None,
qa_question_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.QaQuestion
Create a QaQuestion.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_create_qa_question():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.CreateQaQuestionRequest(
parent="parent_value",
)
# Make the request
response = client.create_qa_question(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.CreateQaQuestionRequest, dict]
The request object. The request for creating a QaQuestion. |
parent |
str
Required. The parent resource of the QaQuestion. This corresponds to the |
qa_question |
google.cloud.contact_center_insights_v1.types.QaQuestion
Required. The QaQuestion to create. This corresponds to the |
qa_question_id |
str
Optional. A unique ID for the new question. This ID will become the final component of the question's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.QaQuestion |
A single question to be scored by the Insights QA feature. |
create_qa_scorecard
create_qa_scorecard(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.CreateQaScorecardRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
qa_scorecard: typing.Optional[
google.cloud.contact_center_insights_v1.types.resources.QaScorecard
] = None,
qa_scorecard_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.QaScorecard
Create a QaScorecard.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_create_qa_scorecard():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.CreateQaScorecardRequest(
parent="parent_value",
)
# Make the request
response = client.create_qa_scorecard(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.CreateQaScorecardRequest, dict]
The request object. The request for creating a QaScorecard. |
parent |
str
Required. The parent resource of the QaScorecard. This corresponds to the |
qa_scorecard |
google.cloud.contact_center_insights_v1.types.QaScorecard
Required. The QaScorecard to create. This corresponds to the |
qa_scorecard_id |
str
Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.QaScorecard |
A QaScorecard represents a collection of questions to be scored during analysis. |
create_qa_scorecard_revision
create_qa_scorecard_revision(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.CreateQaScorecardRevisionRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
qa_scorecard_revision: typing.Optional[
google.cloud.contact_center_insights_v1.types.resources.QaScorecardRevision
] = None,
qa_scorecard_revision_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.QaScorecardRevision
Creates a QaScorecardRevision.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_create_qa_scorecard_revision():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.CreateQaScorecardRevisionRequest(
parent="parent_value",
)
# Make the request
response = client.create_qa_scorecard_revision(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.CreateQaScorecardRevisionRequest, dict]
The request object. The request for creating a QaScorecardRevision. |
parent |
str
Required. The parent resource of the QaScorecardRevision. This corresponds to the |
qa_scorecard_revision |
google.cloud.contact_center_insights_v1.types.QaScorecardRevision
Required. The QaScorecardRevision to create. This corresponds to the |
qa_scorecard_revision_id |
str
Optional. A unique ID for the new QaScorecardRevision. This ID will become the final component of the QaScorecardRevision's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.QaScorecardRevision |
A revision of a QaScorecard. Modifying published scorecard fields would invalidate existing scorecard results — the questions may have changed, or the score weighting will make existing scores impossible to understand. So changes must create a new revision, rather than modifying the existing resource. |
create_view
create_view(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.CreateViewRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
view: typing.Optional[
google.cloud.contact_center_insights_v1.types.resources.View
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.View
Creates a view.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_create_view():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.CreateViewRequest(
parent="parent_value",
)
# Make the request
response = client.create_view(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.CreateViewRequest, dict]
The request object. The request to create a view. |
parent |
str
Required. The parent resource of the view. Required. The location to create a view for. Format: |
view |
google.cloud.contact_center_insights_v1.types.View
Required. The view resource to create. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.View |
The View resource. |
delete_analysis
delete_analysis(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.DeleteAnalysisRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes an analysis.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_delete_analysis():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.DeleteAnalysisRequest(
name="name_value",
)
# Make the request
client.delete_analysis(request=request)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.DeleteAnalysisRequest, dict]
The request object. The request to delete an analysis. |
name |
str
Required. The name of the analysis to delete. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
delete_analysis_rule
delete_analysis_rule(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.DeleteAnalysisRuleRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a analysis rule.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_delete_analysis_rule():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.DeleteAnalysisRuleRequest(
name="name_value",
)
# Make the request
client.delete_analysis_rule(request=request)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.DeleteAnalysisRuleRequest, dict]
The request object. The request to delete a analysis rule. |
name |
str
Required. The name of the analysis rule to delete. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
delete_conversation
delete_conversation(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.DeleteConversationRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a conversation.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_delete_conversation():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.DeleteConversationRequest(
name="name_value",
)
# Make the request
client.delete_conversation(request=request)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.DeleteConversationRequest, dict]
The request object. The request to delete a conversation. |
name |
str
Required. The name of the conversation to delete. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
delete_feedback_label
delete_feedback_label(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.DeleteFeedbackLabelRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Delete feedback label.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_delete_feedback_label():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.DeleteFeedbackLabelRequest(
name="name_value",
)
# Make the request
client.delete_feedback_label(request=request)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.DeleteFeedbackLabelRequest, dict]
The request object. The request for deleting a feedback label. |
name |
str
Required. The name of the feedback label to delete. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
delete_issue
delete_issue(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.DeleteIssueRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes an issue.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_delete_issue():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.DeleteIssueRequest(
name="name_value",
)
# Make the request
client.delete_issue(request=request)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.DeleteIssueRequest, dict]
The request object. The request to delete an issue. |
name |
str
Required. The name of the issue to delete. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
delete_issue_model
delete_issue_model(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.DeleteIssueModelRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Deletes an issue model.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_delete_issue_model():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.DeleteIssueModelRequest(
name="name_value",
)
# Make the request
operation = client.delete_issue_model(request=request)
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.DeleteIssueModelRequest, dict]
The request object. The request to delete an issue model. |
name |
str
Required. The name of the issue model to delete. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.api_core.operation.Operation |
An object representing a long-running operation. The result type for the operation will be google.protobuf.empty_pb2.Empty A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } |
delete_phrase_matcher
delete_phrase_matcher(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.DeletePhraseMatcherRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a phrase matcher.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_delete_phrase_matcher():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.DeletePhraseMatcherRequest(
name="name_value",
)
# Make the request
client.delete_phrase_matcher(request=request)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.DeletePhraseMatcherRequest, dict]
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 |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
delete_qa_question
delete_qa_question(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.DeleteQaQuestionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a QaQuestion.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_delete_qa_question():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.DeleteQaQuestionRequest(
name="name_value",
)
# Make the request
client.delete_qa_question(request=request)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.DeleteQaQuestionRequest, dict]
The request object. The request for deleting a QaQuestion. |
name |
str
Required. The name of the QaQuestion to delete. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
delete_qa_scorecard
delete_qa_scorecard(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.DeleteQaScorecardRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a QaScorecard.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_delete_qa_scorecard():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.DeleteQaScorecardRequest(
name="name_value",
)
# Make the request
client.delete_qa_scorecard(request=request)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.DeleteQaScorecardRequest, dict]
The request object. The request for deleting a QaScorecard. |
name |
str
Required. The name of the QaScorecard to delete. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
delete_qa_scorecard_revision
delete_qa_scorecard_revision(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.DeleteQaScorecardRevisionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a QaScorecardRevision.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_delete_qa_scorecard_revision():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.DeleteQaScorecardRevisionRequest(
name="name_value",
)
# Make the request
client.delete_qa_scorecard_revision(request=request)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.DeleteQaScorecardRevisionRequest, dict]
The request object. The request to delete a QaScorecardRevision. |
name |
str
Required. The name of the QaScorecardRevision to delete. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
delete_view
delete_view(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.DeleteViewRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> None
Deletes a view.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_delete_view():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.DeleteViewRequest(
name="name_value",
)
# Make the request
client.delete_view(request=request)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.DeleteViewRequest, dict]
The request object. The request to delete a view. |
name |
str
Required. The name of the view to delete. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
deploy_issue_model
deploy_issue_model(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.DeployIssueModelRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
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.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_deploy_issue_model():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.DeployIssueModelRequest(
name="name_value",
)
# Make the request
operation = client.deploy_issue_model(request=request)
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.DeployIssueModelRequest, dict]
The request object. The request to deploy an issue model. |
name |
str
Required. The issue model to deploy. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.api_core.operation.Operation |
An object representing a long-running operation. The result type for the operation will be DeployIssueModelResponse The response to deploy an issue model. |
deploy_qa_scorecard_revision
deploy_qa_scorecard_revision(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.DeployQaScorecardRevisionRequest,
dict,
]
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.QaScorecardRevision
Deploy a QaScorecardRevision.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_deploy_qa_scorecard_revision():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.DeployQaScorecardRevisionRequest(
name="name_value",
)
# Make the request
response = client.deploy_qa_scorecard_revision(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.DeployQaScorecardRevisionRequest, dict]
The request object. The request to deploy a QaScorecardRevision |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.QaScorecardRevision |
A revision of a QaScorecard. Modifying published scorecard fields would invalidate existing scorecard results — the questions may have changed, or the score weighting will make existing scores impossible to understand. So changes must create a new revision, rather than modifying the existing resource. |
encryption_spec_path
encryption_spec_path(project: str, location: str) -> str
Returns a fully-qualified encryption_spec string.
export_insights_data
export_insights_data(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.ExportInsightsDataRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Export insights data to a destination defined in the request body.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_export_insights_data():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
big_query_destination = contact_center_insights_v1.BigQueryDestination()
big_query_destination.dataset = "dataset_value"
request = contact_center_insights_v1.ExportInsightsDataRequest(
big_query_destination=big_query_destination,
parent="parent_value",
)
# Make the request
operation = client.export_insights_data(request=request)
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.ExportInsightsDataRequest, dict]
The request object. The request to export insights. |
parent |
str
Required. The parent resource to export data from. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.api_core.operation.Operation |
An object representing a long-running operation. The result type for the operation will be ExportInsightsDataResponse Response for an export insights operation. |
export_issue_model
export_issue_model(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.ExportIssueModelRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Exports an issue model to the provided destination.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_export_issue_model():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
gcs_destination = contact_center_insights_v1.GcsDestination()
gcs_destination.object_uri = "object_uri_value"
request = contact_center_insights_v1.ExportIssueModelRequest(
gcs_destination=gcs_destination,
name="name_value",
)
# Make the request
operation = client.export_issue_model(request=request)
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.ExportIssueModelRequest, dict]
The request object. Request to export an issue model. |
name |
str
Required. The issue model to export. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.api_core.operation.Operation |
An object representing a long-running operation. The result type for the operation will be ExportIssueModelResponse Response from export issue model |
feedback_label_path
feedback_label_path(
project: str, location: str, conversation: str, feedback_label: str
) -> str
Returns a fully-qualified feedback_label string.
from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
Parameter | |
---|---|
Name | Description |
filename |
str
The path to the service account private key json file. |
Returns | |
---|---|
Type | Description |
ContactCenterInsightsClient |
The 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 | |
---|---|
Name | Description |
info |
dict
The service account private key info. |
Returns | |
---|---|
Type | Description |
ContactCenterInsightsClient |
The 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 | |
---|---|
Name | Description |
filename |
str
The path to the service account private key json file. |
Returns | |
---|---|
Type | Description |
ContactCenterInsightsClient |
The constructed client. |
get_analysis
get_analysis(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.GetAnalysisRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.Analysis
Gets an analysis.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_get_analysis():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.GetAnalysisRequest(
name="name_value",
)
# Make the request
response = client.get_analysis(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.GetAnalysisRequest, dict]
The request object. The request to get an analysis. |
name |
str
Required. The name of the analysis to get. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.Analysis |
The analysis resource. |
get_analysis_rule
get_analysis_rule(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.GetAnalysisRuleRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.AnalysisRule
Get a analysis rule.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_get_analysis_rule():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.GetAnalysisRuleRequest(
name="name_value",
)
# Make the request
response = client.get_analysis_rule(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.GetAnalysisRuleRequest, dict]
The request object. The request for getting a analysis rule. |
name |
str
Required. The name of the AnalysisRule to get. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.AnalysisRule |
The CCAI Insights project wide analysis rule. This rule will be applied to all conversations that match the filter defined in the rule. For a conversation matches the filter, the annotators specified in the rule will be run. If a conversation matches multiple rules, a union of all the annotators will be run. One project can have multiple analysis rules. |
get_conversation
get_conversation(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.GetConversationRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.Conversation
Gets a conversation.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_get_conversation():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.GetConversationRequest(
name="name_value",
)
# Make the request
response = client.get_conversation(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.GetConversationRequest, dict]
The request object. The request to get a conversation. |
name |
str
Required. The name of the conversation to get. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.Conversation |
The conversation resource. |
get_encryption_spec
get_encryption_spec(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.GetEncryptionSpecRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.EncryptionSpec
Gets location-level encryption key specification.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_get_encryption_spec():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.GetEncryptionSpecRequest(
name="name_value",
)
# Make the request
response = client.get_encryption_spec(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.GetEncryptionSpecRequest, dict]
The request object. The request to get location-level encryption specification. |
name |
str
Required. The name of the encryption spec resource to get. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.EncryptionSpec |
A customer-managed encryption key specification that can be applied to all created resources (e.g. Conversation). |
get_feedback_label
get_feedback_label(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.GetFeedbackLabelRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.FeedbackLabel
Get feedback label.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_get_feedback_label():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.GetFeedbackLabelRequest(
name="name_value",
)
# Make the request
response = client.get_feedback_label(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.GetFeedbackLabelRequest, dict]
The request object. The request for getting a feedback label. |
name |
str
Required. The name of the feedback label to get. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.FeedbackLabel |
Represents a conversation, resource, and label provided by the user. |
get_issue
get_issue(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.GetIssueRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.Issue
Gets an issue.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_get_issue():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.GetIssueRequest(
name="name_value",
)
# Make the request
response = client.get_issue(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.GetIssueRequest, dict]
The request object. The request to get an issue. |
name |
str
Required. The name of the issue to get. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.Issue |
The issue resource. |
get_issue_model
get_issue_model(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.GetIssueModelRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.IssueModel
Gets an issue model.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_get_issue_model():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.GetIssueModelRequest(
name="name_value",
)
# Make the request
response = client.get_issue_model(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.GetIssueModelRequest, dict]
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 |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.IssueModel |
The issue model resource. |
get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated. Return the API endpoint and client cert source for mutual TLS.
The client cert source is determined in the following order:
(1) if GOOGLE_API_USE_CLIENT_CERTIFICATE
environment variable is not "true", the
client cert source is None.
(2) if client_options.client_cert_source
is provided, use the provided one; if the
default client cert source exists, use the default one; otherwise the client cert
source is None.
The API endpoint is determined in the following order:
(1) if client_options.api_endpoint
if provided, use the provided one.
(2) if GOOGLE_API_USE_CLIENT_CERTIFICATE
environment variable is "always", use the
default mTLS endpoint; if the environment variable is "never", use the default API
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
use the default API endpoint.
More details can be found at https://google.aip.dev/auth/4114.
Parameter | |
---|---|
Name | Description |
client_options |
google.api_core.client_options.ClientOptions
Custom options for the client. Only the |
Exceptions | |
---|---|
Type | Description |
google.auth.exceptions.MutualTLSChannelError |
If any errors happen. |
Returns | |
---|---|
Type | Description |
Tuple[str, Callable[[], Tuple[bytes, bytes]]] |
returns the API endpoint and the client cert source to use. |
get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
Parameters | |
---|---|
Name | Description |
request |
The request object. Request message for |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
|
An Operation object. |
get_phrase_matcher
get_phrase_matcher(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.GetPhraseMatcherRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.PhraseMatcher
Gets a phrase matcher.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_get_phrase_matcher():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.GetPhraseMatcherRequest(
name="name_value",
)
# Make the request
response = client.get_phrase_matcher(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.GetPhraseMatcherRequest, dict]
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 |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.PhraseMatcher |
The phrase matcher resource. |
get_qa_question
get_qa_question(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.GetQaQuestionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.QaQuestion
Gets a QaQuestion.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_get_qa_question():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.GetQaQuestionRequest(
name="name_value",
)
# Make the request
response = client.get_qa_question(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.GetQaQuestionRequest, dict]
The request object. The request for a QaQuestion. |
name |
str
Required. The name of the QaQuestion to get. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.QaQuestion |
A single question to be scored by the Insights QA feature. |
get_qa_scorecard
get_qa_scorecard(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.GetQaScorecardRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.QaScorecard
Gets a QaScorecard.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_get_qa_scorecard():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.GetQaScorecardRequest(
name="name_value",
)
# Make the request
response = client.get_qa_scorecard(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.GetQaScorecardRequest, dict]
The request object. The request for a QaScorecard. By default, returns the latest revision. |
name |
str
Required. The name of the QaScorecard to get. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.QaScorecard |
A QaScorecard represents a collection of questions to be scored during analysis. |
get_qa_scorecard_revision
get_qa_scorecard_revision(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.GetQaScorecardRevisionRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.QaScorecardRevision
Gets a QaScorecardRevision.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_get_qa_scorecard_revision():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.GetQaScorecardRevisionRequest(
name="name_value",
)
# Make the request
response = client.get_qa_scorecard_revision(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.GetQaScorecardRevisionRequest, dict]
The request object. The request for a QaScorecardRevision. |
name |
str
Required. The name of the QaScorecardRevision to get. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.QaScorecardRevision |
A revision of a QaScorecard. Modifying published scorecard fields would invalidate existing scorecard results — the questions may have changed, or the score weighting will make existing scores impossible to understand. So changes must create a new revision, rather than modifying the existing resource. |
get_settings
get_settings(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.GetSettingsRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.Settings
Gets project-level settings.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_get_settings():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.GetSettingsRequest(
name="name_value",
)
# Make the request
response = client.get_settings(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.GetSettingsRequest, dict]
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 |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.Settings |
The CCAI Insights project wide settings. Use these settings to configure the behavior of Insights. View these settings with [getsettings](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/getSettings) and change the settings with [updateSettings](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/updateSettings). |
get_view
get_view(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.GetViewRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.contact_center_insights_v1.types.resources.View
Gets a view.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_get_view():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.GetViewRequest(
name="name_value",
)
# Make the request
response = client.get_view(request=request)
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.GetViewRequest, dict]
The request object. The request to get a view. |
name |
str
Required. The name of the view to get. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.types.View |
The View resource. |
import_issue_model
import_issue_model(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.ImportIssueModelRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Imports an issue model from a Cloud Storage bucket.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_import_issue_model():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
gcs_source = contact_center_insights_v1.GcsSource()
gcs_source.object_uri = "object_uri_value"
request = contact_center_insights_v1.ImportIssueModelRequest(
gcs_source=gcs_source,
parent="parent_value",
)
# Make the request
operation = client.import_issue_model(request=request)
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.ImportIssueModelRequest, dict]
The request object. Request to import an issue model. |
parent |
str
Required. The parent resource of the issue model. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.api_core.operation.Operation |
An object representing a long-running operation. The result type for the operation will be ImportIssueModelResponse Response from import issue model |
ingest_conversations
ingest_conversations(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.IngestConversationsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Imports conversations and processes them according to the user's configuration.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_ingest_conversations():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
gcs_source = contact_center_insights_v1.GcsSource()
gcs_source.bucket_uri = "bucket_uri_value"
transcript_object_config = contact_center_insights_v1.TranscriptObjectConfig()
transcript_object_config.medium = "CHAT"
request = contact_center_insights_v1.IngestConversationsRequest(
gcs_source=gcs_source,
transcript_object_config=transcript_object_config,
parent="parent_value",
)
# Make the request
operation = client.ingest_conversations(request=request)
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.IngestConversationsRequest, dict]
The request object. The request to ingest conversations. |
parent |
str
Required. The parent resource for new conversations. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.api_core.operation.Operation |
An object representing a long-running operation. The result type for the operation will be IngestConversationsResponse The response to an IngestConversations operation. |
initialize_encryption_spec
initialize_encryption_spec(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.InitializeEncryptionSpecRequest,
dict,
]
] = None,
*,
encryption_spec: typing.Optional[
google.cloud.contact_center_insights_v1.types.resources.EncryptionSpec
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation
Initializes a location-level encryption key specification. An error will result if the location has resources already created before the initialization. After the encryption specification is initialized at a location, it is immutable and all newly created resources under the location will be encrypted with the existing specification.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_initialize_encryption_spec():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
encryption_spec = contact_center_insights_v1.EncryptionSpec()
encryption_spec.kms_key = "kms_key_value"
request = contact_center_insights_v1.InitializeEncryptionSpecRequest(
encryption_spec=encryption_spec,
)
# Make the request
operation = client.initialize_encryption_spec(request=request)
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.InitializeEncryptionSpecRequest, dict]
The request object. The request to initialize a location-level encryption specification. |
encryption_spec |
google.cloud.contact_center_insights_v1.types.EncryptionSpec
Required. The encryption spec used for CMEK encryption. It is required that the kms key is in the same region as the endpoint. The same key will be used for all provisioned resources, if encryption is available. If the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.api_core.operation.Operation |
An object representing a long-running operation. The result type for the operation will be InitializeEncryptionSpecResponse The response to initialize a location-level encryption specification. |
issue_model_path
issue_model_path(project: str, location: str, issue_model: str) -> str
Returns a fully-qualified issue_model string.
issue_path
issue_path(project: str, location: str, issue_model: str, issue: str) -> str
Returns a fully-qualified issue string.
list_all_feedback_labels
list_all_feedback_labels(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.ListAllFeedbackLabelsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.contact_center_insights_v1.services.contact_center_insights.pagers.ListAllFeedbackLabelsPager
)
List all feedback labels by project number.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_list_all_feedback_labels():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.ListAllFeedbackLabelsRequest(
parent="parent_value",
)
# Make the request
page_result = client.list_all_feedback_labels(request=request)
# Handle the response
for response in page_result:
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.ListAllFeedbackLabelsRequest, dict]
The request object. The request for listing all feedback labels. |
parent |
str
Required. The parent resource of all feedback labels per project. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.services.contact_center_insights.pagers.ListAllFeedbackLabelsPager |
The response for listing all feedback labels. Iterating over this object will yield results and resolve additional pages automatically. |
list_analyses
list_analyses(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.ListAnalysesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.contact_center_insights_v1.services.contact_center_insights.pagers.ListAnalysesPager
)
Lists analyses.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_list_analyses():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.ListAnalysesRequest(
parent="parent_value",
)
# Make the request
page_result = client.list_analyses(request=request)
# Handle the response
for response in page_result:
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.ListAnalysesRequest, dict]
The request object. The request to list analyses. |
parent |
str
Required. The parent resource of the analyses. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.services.contact_center_insights.pagers.ListAnalysesPager |
The response to list analyses. Iterating over this object will yield results and resolve additional pages automatically. |
list_analysis_rules
list_analysis_rules(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.ListAnalysisRulesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.contact_center_insights_v1.services.contact_center_insights.pagers.ListAnalysisRulesPager
)
Lists analysis rules.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_list_analysis_rules():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.ListAnalysisRulesRequest(
parent="parent_value",
)
# Make the request
page_result = client.list_analysis_rules(request=request)
# Handle the response
for response in page_result:
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.ListAnalysisRulesRequest, dict]
The request object. The request to list analysis rules. |
parent |
str
Required. The parent resource of the analysis rules. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.services.contact_center_insights.pagers.ListAnalysisRulesPager |
The response of listing views. Iterating over this object will yield results and resolve additional pages automatically. |
list_conversations
list_conversations(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.ListConversationsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.contact_center_insights_v1.services.contact_center_insights.pagers.ListConversationsPager
)
Lists conversations.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_list_conversations():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.ListConversationsRequest(
parent="parent_value",
)
# Make the request
page_result = client.list_conversations(request=request)
# Handle the response
for response in page_result:
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.ListConversationsRequest, dict]
The request object. Request to list conversations. |
parent |
str
Required. The parent resource of the conversation. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.services.contact_center_insights.pagers.ListConversationsPager |
The response of listing conversations. Iterating over this object will yield results and resolve additional pages automatically. |
list_feedback_labels
list_feedback_labels(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.ListFeedbackLabelsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.contact_center_insights_v1.services.contact_center_insights.pagers.ListFeedbackLabelsPager
)
List feedback labels.
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import contact_center_insights_v1
def sample_list_feedback_labels():
# Create a client
client = contact_center_insights_v1.ContactCenterInsightsClient()
# Initialize request argument(s)
request = contact_center_insights_v1.ListFeedbackLabelsRequest(
parent="parent_value",
)
# Make the request
page_result = client.list_feedback_labels(request=request)
# Handle the response
for response in page_result:
print(response)
Parameters | |
---|---|
Name | Description |
request |
Union[google.cloud.contact_center_insights_v1.types.ListFeedbackLabelsRequest, dict]
The request object. The request for listing feedback labels. |
parent |
str
Required. The parent resource of the feedback labels. This corresponds to the |
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, Union[str, bytes]]]
Key/value pairs which should be sent along with the request as metadata. Normally, each value must be of type |
Returns | |
---|---|
Type | Description |
google.cloud.contact_center_insights_v1.services.contact_center_insights.pagers.ListFeedbackLabelsPager |
The response for listing feedback labels. Iterating over this object will yield results and resolve additional pages automatically. |
list_issue_models
list_issue_models(
request: typing.Optional[
typing.Union[
google.cloud.contact_center_insights_v1.types.contact_center_insights.ListIssueModelsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> (
google.cloud.contact_center_insights_v1.types