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

Commit

Permalink
feat: new feature flag disable_issue_modeling (#103)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 411102531

Source-Link: googleapis/googleapis@68b0c8a

Source-Link: googleapis/googleapis-gen@fcd3d9a
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZmNkM2Q5YWZhMzMyM2MxZjRjYWEyNjUzYWNkODBlMDkzNmM4NjBhMiJ9

docs: fixed formatting issues in the reference documentation
  • Loading branch information
gcf-owl-bot[bot] authored Nov 19, 2021
1 parent a879f7e commit c656ea7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
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

0 comments on commit c656ea7

Please sign in to comment.