Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

feat: new feature flag disable_issue_modeling #103

Merged
merged 2 commits into from
Nov 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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/<Project ID>/locations/<Location ID>/issueModels/<Issue Model ID>/issues/<Issue ID>``
``projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>``
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/<ProjectID>/locations/<LocationID>/issueModels/<IssueModelID>/issues/<IssueID>``
``projects/<Project-ID>/locations/<Location-ID>/issueModels/<Issue-Model-ID>/issues/<Issue-ID>``
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
Expand Down Expand Up @@ -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,)
Expand Down
6 changes: 6 additions & 0 deletions google/cloud/contact_center_insights_v1/types/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,)
Expand Down