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

Commit e5aabc8

Browse files
feat(v2): Added SuggestConversationSummary RPC (#607)
* feat: Added SuggestConversationSummary RPC docs: updated go library package PiperOrigin-RevId: 501862436 Source-Link: googleapis/googleapis@155e0f4 Source-Link: https://github.com/googleapis/googleapis-gen/commit/3051f617a991c274c88d27064e803095e4ef9d39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzA1MWY2MTdhOTkxYzI3NGM4OGQyNzA2NGU4MDMwOTVlNGVmOWQzOSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent f1ff2fb commit e5aabc8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1199
-172
lines changed

google/cloud/dialogflow/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@
152152
ListConversationsResponse,
153153
ListMessagesRequest,
154154
ListMessagesResponse,
155+
SuggestConversationSummaryRequest,
156+
SuggestConversationSummaryResponse,
155157
)
156158
from google.cloud.dialogflow_v2.types.conversation_dataset import (
157159
ConversationDataset,
@@ -446,6 +448,8 @@
446448
"ListConversationsResponse",
447449
"ListMessagesRequest",
448450
"ListMessagesResponse",
451+
"SuggestConversationSummaryRequest",
452+
"SuggestConversationSummaryResponse",
449453
"ConversationDataset",
450454
"ConversationInfo",
451455
"CreateConversationDatasetOperationMetadata",

google/cloud/dialogflow_v2/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@
105105
ListConversationsResponse,
106106
ListMessagesRequest,
107107
ListMessagesResponse,
108+
SuggestConversationSummaryRequest,
109+
SuggestConversationSummaryResponse,
108110
)
109111
from .types.conversation_dataset import (
110112
ConversationDataset,
@@ -534,6 +536,8 @@
534536
"StreamingRecognitionResult",
535537
"SuggestArticlesRequest",
536538
"SuggestArticlesResponse",
539+
"SuggestConversationSummaryRequest",
540+
"SuggestConversationSummaryResponse",
537541
"SuggestFaqAnswersRequest",
538542
"SuggestFaqAnswersResponse",
539543
"SuggestSmartRepliesRequest",

google/cloud/dialogflow_v2/gapic_metadata.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,11 @@
498498
"methods": [
499499
"list_messages"
500500
]
501+
},
502+
"SuggestConversationSummary": {
503+
"methods": [
504+
"suggest_conversation_summary"
505+
]
501506
}
502507
}
503508
},
@@ -528,6 +533,11 @@
528533
"methods": [
529534
"list_messages"
530535
]
536+
},
537+
"SuggestConversationSummary": {
538+
"methods": [
539+
"suggest_conversation_summary"
540+
]
531541
}
532542
}
533543
}

google/cloud/dialogflow_v2/services/agents/async_client.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ async def sample_search_agents():
599599
Returns:
600600
google.cloud.dialogflow_v2.services.agents.pagers.SearchAgentsAsyncPager:
601601
The response message for
602-
[Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents].
602+
[Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents].
603603
604604
Iterating over this object will yield results and
605605
resolve additional pages automatically.
@@ -867,10 +867,8 @@ async def sample_export_agent():
867867
google.api_core.operation_async.AsyncOperation:
868868
An object representing a long-running operation.
869869
870-
The result type for the operation will be
871-
:class:`google.cloud.dialogflow_v2.types.ExportAgentResponse`
872-
The response message for
873-
[Agents.ExportAgent][google.cloud.dialogflow.v2.Agents.ExportAgent].
870+
The result type for the operation will be :class:`google.cloud.dialogflow_v2.types.ExportAgentResponse` The response message for
871+
[Agents.ExportAgent][google.cloud.dialogflow.v2.Agents.ExportAgent].
874872
875873
"""
876874
# Create or coerce a protobuf request object.

google/cloud/dialogflow_v2/services/agents/client.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ def sample_search_agents():
827827
Returns:
828828
google.cloud.dialogflow_v2.services.agents.pagers.SearchAgentsPager:
829829
The response message for
830-
[Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents].
830+
[Agents.SearchAgents][google.cloud.dialogflow.v2.Agents.SearchAgents].
831831
832832
Iterating over this object will yield results and
833833
resolve additional pages automatically.
@@ -1095,10 +1095,8 @@ def sample_export_agent():
10951095
google.api_core.operation.Operation:
10961096
An object representing a long-running operation.
10971097
1098-
The result type for the operation will be
1099-
:class:`google.cloud.dialogflow_v2.types.ExportAgentResponse`
1100-
The response message for
1101-
[Agents.ExportAgent][google.cloud.dialogflow.v2.Agents.ExportAgent].
1098+
The result type for the operation will be :class:`google.cloud.dialogflow_v2.types.ExportAgentResponse` The response message for
1099+
[Agents.ExportAgent][google.cloud.dialogflow.v2.Agents.ExportAgent].
11021100
11031101
"""
11041102
# Create or coerce a protobuf request object.

google/cloud/dialogflow_v2/services/answer_records/async_client.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ async def sample_list_answer_records():
283283
Returns:
284284
google.cloud.dialogflow_v2.services.answer_records.pagers.ListAnswerRecordsAsyncPager:
285285
Response message for
286-
[AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2.AnswerRecords.ListAnswerRecords].
286+
[AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2.AnswerRecords.ListAnswerRecords].
287287
288288
Iterating over this object will yield results and
289289
resolve additional pages automatically.
@@ -431,11 +431,12 @@ async def sample_update_answer_record():
431431
the answers,
432432
[AnswerRecord.name][google.cloud.dialogflow.v2.AnswerRecord.name]
433433
are returned to the customers.
434+
434435
2. The customer uses the
435-
[AnswerRecord.name][google.cloud.dialogflow.v2.AnswerRecord.name]
436-
to call the [UpdateAnswerRecord][] method to send
437-
feedback about a specific answer that they believe
438-
is wrong.
436+
[AnswerRecord.name][google.cloud.dialogflow.v2.AnswerRecord.name]
437+
to call the [UpdateAnswerRecord][] method to send
438+
feedback about a specific answer that they believe is
439+
wrong.
439440
440441
"""
441442
# Create or coerce a protobuf request object.

google/cloud/dialogflow_v2/services/answer_records/client.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ def sample_list_answer_records():
503503
Returns:
504504
google.cloud.dialogflow_v2.services.answer_records.pagers.ListAnswerRecordsPager:
505505
Response message for
506-
[AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2.AnswerRecords.ListAnswerRecords].
506+
[AnswerRecords.ListAnswerRecords][google.cloud.dialogflow.v2.AnswerRecords.ListAnswerRecords].
507507
508508
Iterating over this object will yield results and
509509
resolve additional pages automatically.
@@ -651,11 +651,12 @@ def sample_update_answer_record():
651651
the answers,
652652
[AnswerRecord.name][google.cloud.dialogflow.v2.AnswerRecord.name]
653653
are returned to the customers.
654+
654655
2. The customer uses the
655-
[AnswerRecord.name][google.cloud.dialogflow.v2.AnswerRecord.name]
656-
to call the [UpdateAnswerRecord][] method to send
657-
feedback about a specific answer that they believe
658-
is wrong.
656+
[AnswerRecord.name][google.cloud.dialogflow.v2.AnswerRecord.name]
657+
to call the [UpdateAnswerRecord][] method to send
658+
feedback about a specific answer that they believe is
659+
wrong.
659660
660661
"""
661662
# Create or coerce a protobuf request object.

google/cloud/dialogflow_v2/services/contexts/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ async def sample_list_contexts():
275275
Returns:
276276
google.cloud.dialogflow_v2.services.contexts.pagers.ListContextsAsyncPager:
277277
The response message for
278-
[Contexts.ListContexts][google.cloud.dialogflow.v2.Contexts.ListContexts].
278+
[Contexts.ListContexts][google.cloud.dialogflow.v2.Contexts.ListContexts].
279279
280280
Iterating over this object will yield results and
281281
resolve additional pages automatically.

google/cloud/dialogflow_v2/services/contexts/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ def sample_list_contexts():
508508
Returns:
509509
google.cloud.dialogflow_v2.services.contexts.pagers.ListContextsPager:
510510
The response message for
511-
[Contexts.ListContexts][google.cloud.dialogflow.v2.Contexts.ListContexts].
511+
[Contexts.ListContexts][google.cloud.dialogflow.v2.Contexts.ListContexts].
512512
513513
Iterating over this object will yield results and
514514
resolve additional pages automatically.

google/cloud/dialogflow_v2/services/conversation_datasets/async_client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,8 +816,9 @@ async def sample_import_conversation_data():
816816
google.api_core.operation_async.AsyncOperation:
817817
An object representing a long-running operation.
818818
819-
The result type for the operation will be :class:`google.cloud.dialogflow_v2.types.ImportConversationDataOperationResponse` Response used for [ConversationDatasets.ImportConversationData][google.cloud.dialogflow.v2.ConversationDatasets.ImportConversationData] long
820-
running operation.
819+
The result type for the operation will be :class:`google.cloud.dialogflow_v2.types.ImportConversationDataOperationResponse` Response used for
820+
[ConversationDatasets.ImportConversationData][google.cloud.dialogflow.v2.ConversationDatasets.ImportConversationData]
821+
long running operation.
821822
822823
"""
823824
# Create or coerce a protobuf request object.

0 commit comments

Comments
 (0)