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

Commit 5b0fa8e

Browse files
feat: display_name is the display name for the assigned issue (#32)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 393354400 Source-Link: googleapis/googleapis@8488545 Source-Link: https://github.com/googleapis/googleapis-gen/commit/2bdf59acc0488d80b6e2ca689959baa457900d26
1 parent 2ddb054 commit 5b0fa8e

File tree

4 files changed

+20
-18
lines changed

4 files changed

+20
-18
lines changed

google/cloud/contact_center_insights_v1/services/contact_center_insights/async_client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2260,9 +2260,7 @@ async def update_settings(
22602260
The request object. The request to update project-level
22612261
settings.
22622262
settings (:class:`google.cloud.contact_center_insights_v1.types.Settings`):
2263-
Required. The new values for the
2264-
conversation.
2265-
2263+
Required. The new settings values.
22662264
This corresponds to the ``settings`` field
22672265
on the ``request`` instance; if ``request`` is provided, this
22682266
should not be set.

google/cloud/contact_center_insights_v1/services/contact_center_insights/client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2532,9 +2532,7 @@ def update_settings(
25322532
The request object. The request to update project-level
25332533
settings.
25342534
settings (google.cloud.contact_center_insights_v1.types.Settings):
2535-
Required. The new values for the
2536-
conversation.
2537-
2535+
Required. The new settings values.
25382536
This corresponds to the ``settings`` field
25392537
on the ``request`` instance; if ``request`` is provided, this
25402538
should not be set.

google/cloud/contact_center_insights_v1/types/contact_center_insights.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -231,11 +231,12 @@ class ListConversationsRequest(proto.Message):
231231
Required. The parent resource of the
232232
conversation.
233233
page_size (int):
234-
The maximum number of conversations to return in the
235-
response. If this value is zero, the service will select a
236-
default size. A call might return fewer objects than
237-
requested. A non-empty ``next_page_token`` in the response
238-
indicates that more data is available.
234+
The maximum number of conversations to return
235+
in the response. A valid page size ranges from 0
236+
to 1,000 inclusive. If the page size is zero or
237+
unspecified, a default page size of 100 will be
238+
chosen. Note that a call might return fewer
239+
results than the requested page size.
239240
page_token (str):
240241
The value returned by the last
241242
``ListConversationsResponse``. This value indicates that
@@ -264,9 +265,10 @@ class ListConversationsResponse(proto.Message):
264265
conversations (Sequence[google.cloud.contact_center_insights_v1.types.Conversation]):
265266
The conversations that match the request.
266267
next_page_token (str):
267-
A token, which can be sent as ``page_token`` to retrieve the
268-
next page. If this field is omitted, there are no subsequent
269-
pages.
268+
A token which can be sent as ``page_token`` to retrieve the
269+
next page. If this field is set, it means there is another
270+
page available. If it is not set, it means no other pages
271+
are available.
270272
"""
271273

272274
@property
@@ -871,8 +873,7 @@ class UpdateSettingsRequest(proto.Message):
871873
872874
Attributes:
873875
settings (google.cloud.contact_center_insights_v1.types.Settings):
874-
Required. The new values for the
875-
conversation.
876+
Required. The new settings values.
876877
update_mask (google.protobuf.field_mask_pb2.FieldMask):
877878
Required. The list of fields to be updated.
878879
"""

google/cloud/contact_center_insights_v1/types/resources.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -437,10 +437,15 @@ class IssueAssignment(proto.Message):
437437
score (float):
438438
Score indicating the likelihood of the issue assignment.
439439
currently bounded on [0,1].
440+
display_name (str):
441+
Immutable. Display name of the assigned
442+
issue. This field is set at time of analyis and
443+
immutable since then.
440444
"""
441445

442446
issue = proto.Field(proto.STRING, number=1,)
443447
score = proto.Field(proto.DOUBLE, number=2,)
448+
display_name = proto.Field(proto.STRING, number=3,)
444449

445450

446451
class CallAnnotation(proto.Message):
@@ -1256,8 +1261,8 @@ class ConversationParticipant(proto.Message):
12561261
A user-specified ID representing the
12571262
participant.
12581263
dialogflow_participant (str):
1259-
The name of the Dialogflow participant.
1260-
Format:
1264+
Deprecated. Use ``dialogflow_participant_name`` instead. The
1265+
name of the Dialogflow participant. Format:
12611266
projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
12621267
role (google.cloud.contact_center_insights_v1.types.ConversationParticipant.Role):
12631268
The role of the participant.

0 commit comments

Comments
 (0)