From c656ea78a3d8244a291e0a7e7de023c5b78ac27b Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 19 Nov 2021 23:32:20 +0000 Subject: [PATCH] feat: new feature flag disable_issue_modeling (#103) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 411102531 Source-Link: https://github.com/googleapis/googleapis/commit/68b0c8a8914b725cea0f61d0b671ddd707b8f6d6 Source-Link: https://github.com/googleapis/googleapis-gen/commit/fcd3d9afa3323c1f4caa2653acd80e0936c860a2 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZmNkM2Q5YWZhMzMyM2MxZjRjYWEyNjUzYWNkODBlMDkzNmM4NjBhMiJ9 docs: fixed formatting issues in the reference documentation --- .../services/contact_center_insights/async_client.py | 6 +++--- .../services/contact_center_insights/client.py | 6 +++--- .../types/contact_center_insights.py | 10 +++++----- .../contact_center_insights_v1/types/resources.py | 6 ++++++ 4 files changed, 17 insertions(+), 11 deletions(-) diff --git a/google/cloud/contact_center_insights_v1/services/contact_center_insights/async_client.py b/google/cloud/contact_center_insights_v1/services/contact_center_insights/async_client.py index 9dad8fa..c536ce6 100644 --- a/google/cloud/contact_center_insights_v1/services/contact_center_insights/async_client.py +++ b/google/cloud/contact_center_insights_v1/services/contact_center_insights/async_client.py @@ -236,9 +236,9 @@ async def create_conversation( resource name. If no ID is specified, a server-generated ID will be used. - This value should be 4-32 characters and must match the - regular expression /^[a-z0-9-]{4,32}$/. Valid characters - are /[a-z][0-9]-/ + This value should be 4-64 characters and must match the + regular expression ``^[a-z0-9-]{4,64}$``. Valid + characters are ``[a-z][0-9]-`` This corresponds to the ``conversation_id`` field on the ``request`` instance; if ``request`` is provided, this diff --git a/google/cloud/contact_center_insights_v1/services/contact_center_insights/client.py b/google/cloud/contact_center_insights_v1/services/contact_center_insights/client.py index 1e0b998..2d7d645 100644 --- a/google/cloud/contact_center_insights_v1/services/contact_center_insights/client.py +++ b/google/cloud/contact_center_insights_v1/services/contact_center_insights/client.py @@ -507,9 +507,9 @@ def create_conversation( resource name. If no ID is specified, a server-generated ID will be used. - This value should be 4-32 characters and must match the - regular expression /^[a-z0-9-]{4,32}$/. Valid characters - are /[a-z][0-9]-/ + This value should be 4-64 characters and must match the + regular expression ``^[a-z0-9-]{4,64}$``. Valid + characters are ``[a-z][0-9]-`` This corresponds to the ``conversation_id`` field on the ``request`` instance; if ``request`` is provided, this diff --git a/google/cloud/contact_center_insights_v1/types/contact_center_insights.py b/google/cloud/contact_center_insights_v1/types/contact_center_insights.py index 4b5f46d..5f944bc 100644 --- a/google/cloud/contact_center_insights_v1/types/contact_center_insights.py +++ b/google/cloud/contact_center_insights_v1/types/contact_center_insights.py @@ -123,13 +123,13 @@ class CalculateStatsResponse(proto.Message): A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: - ``projects//locations//issueModels//issues/`` + ``projects//locations//issueModels//issues/`` Deprecated, use ``issue_matches_stats`` field instead. issue_matches_stats (Sequence[google.cloud.contact_center_insights_v1.types.CalculateStatsResponse.IssueMatchesStatsEntry]): A map associating each issue resource name with its respective number of matches in the set of conversations. Key has the format: - ``projects//locations//issueModels//issues/`` + ``projects//locations//issueModels//issues/`` conversation_count_time_series (google.cloud.contact_center_insights_v1.types.CalculateStatsResponse.TimeSeries): A time series representing the count of conversations created over time that match that @@ -228,9 +228,9 @@ class CreateConversationRequest(proto.Message): the final component of the conversation's resource name. If no ID is specified, a server-generated ID will be used. - This value should be 4-32 characters and must match the - regular expression /^[a-z0-9-]{4,32}$/. Valid characters are - /[a-z][0-9]-/ + This value should be 4-64 characters and must match the + regular expression ``^[a-z0-9-]{4,64}$``. Valid characters + are ``[a-z][0-9]-`` """ parent = proto.Field(proto.STRING, number=1,) diff --git a/google/cloud/contact_center_insights_v1/types/resources.py b/google/cloud/contact_center_insights_v1/types/resources.py index ee6b3c3..5e11dc3 100644 --- a/google/cloud/contact_center_insights_v1/types/resources.py +++ b/google/cloud/contact_center_insights_v1/types/resources.py @@ -1131,9 +1131,15 @@ class AnalysisConfig(proto.Message): runtime_integration_analysis_percentage (float): Percentage of conversations created using Dialogflow runtime integration to analyze automatically, between [0, 100]. + disable_issue_modeling (bool): + Whether to disable issue model inference + during analysis. By default issue modeling will + be included in analysis if there is an active + issue model for the project. """ runtime_integration_analysis_percentage = proto.Field(proto.DOUBLE, number=1,) + disable_issue_modeling = proto.Field(proto.BOOL, number=3,) name = proto.Field(proto.STRING, number=1,) create_time = proto.Field(proto.MESSAGE, number=2, message=timestamp_pb2.Timestamp,)