google-cloud-dialogflow-v2 1.3.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/v2/agents/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/agents/rest/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/conversation_datasets/rest/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/conversation_models/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/conversation_models/rest/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/conversation_pb.rb +13 -1
- data/lib/google/cloud/dialogflow/v2/conversation_profile_services_pb.rb +6 -2
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/client.rb +6 -2
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/client.rb +6 -2
- data/lib/google/cloud/dialogflow/v2/conversation_profiles/rest/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/conversations/client.rb +27 -3
- data/lib/google/cloud/dialogflow/v2/conversations/paths.rb +45 -0
- data/lib/google/cloud/dialogflow/v2/conversations/rest/client.rb +27 -3
- data/lib/google/cloud/dialogflow/v2/documents/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/documents/rest/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/encryption_spec_service/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/encryption_spec_service/rest/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/entity_types/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/entity_types/rest/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/intent_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/v2/intents/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/intents/rest/operations.rb +3 -10
- data/lib/google/cloud/dialogflow/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +19 -0
- data/proto_docs/google/cloud/dialogflow/v2/answer_record.rb +3 -2
- data/proto_docs/google/cloud/dialogflow/v2/audio_config.rb +2 -2
- data/proto_docs/google/cloud/dialogflow/v2/conversation.rb +229 -8
- data/proto_docs/google/cloud/dialogflow/v2/conversation_dataset.rb +2 -2
- data/proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb +7 -4
- data/proto_docs/google/cloud/dialogflow/v2/generator.rb +0 -1
- data/proto_docs/google/cloud/dialogflow/v2/intent.rb +1 -1
- data/proto_docs/google/cloud/dialogflow/v2/participant.rb +10 -8
- data/proto_docs/google/cloud/dialogflow/v2/session.rb +12 -10
- data/proto_docs/google/longrunning/operations.rb +19 -14
- metadata +3 -3
@@ -207,7 +207,7 @@ module Google
|
|
207
207
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
208
208
|
end
|
209
209
|
|
210
|
-
# Metadata for [
|
210
|
+
# Metadata for [CreateConversationDataset][].
|
211
211
|
# @!attribute [rw] conversation_dataset
|
212
212
|
# @return [::String]
|
213
213
|
# The resource name of the conversation dataset that will be created. Format:
|
@@ -218,7 +218,7 @@ module Google
|
|
218
218
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
219
219
|
end
|
220
220
|
|
221
|
-
# Metadata for [
|
221
|
+
# Metadata for [DeleteConversationDataset][].
|
222
222
|
class DeleteConversationDatasetOperationMetadata
|
223
223
|
include ::Google::Protobuf::MessageExts
|
224
224
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -705,7 +705,7 @@ module Google
|
|
705
705
|
end
|
706
706
|
|
707
707
|
# The request message for
|
708
|
-
#
|
708
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationProfiles::Client#set_suggestion_feature_config ConversationProfiles.SetSuggestionFeatureConfig}.
|
709
709
|
# @!attribute [rw] conversation_profile
|
710
710
|
# @return [::String]
|
711
711
|
# Required. The Conversation Profile to add or update the suggestion feature
|
@@ -723,7 +723,8 @@ module Google
|
|
723
723
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
724
724
|
end
|
725
725
|
|
726
|
-
# The request message for
|
726
|
+
# The request message for
|
727
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationProfiles::Client#clear_suggestion_feature_config ConversationProfiles.ClearSuggestionFeatureConfig}.
|
727
728
|
# @!attribute [rw] conversation_profile
|
728
729
|
# @return [::String]
|
729
730
|
# Required. The Conversation Profile to add or update the suggestion feature
|
@@ -741,7 +742,8 @@ module Google
|
|
741
742
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
742
743
|
end
|
743
744
|
|
744
|
-
# Metadata for a
|
745
|
+
# Metadata for a
|
746
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationProfiles::Client#set_suggestion_feature_config ConversationProfiles.SetSuggestionFeatureConfig}
|
745
747
|
# operation.
|
746
748
|
# @!attribute [rw] conversation_profile
|
747
749
|
# @return [::String]
|
@@ -763,7 +765,8 @@ module Google
|
|
763
765
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
764
766
|
end
|
765
767
|
|
766
|
-
# Metadata for a
|
768
|
+
# Metadata for a
|
769
|
+
# {::Google::Cloud::Dialogflow::V2::ConversationProfiles::Client#clear_suggestion_feature_config ConversationProfiles.ClearSuggestionFeatureConfig}
|
767
770
|
# operation.
|
768
771
|
# @!attribute [rw] conversation_profile
|
769
772
|
# @return [::String]
|
@@ -165,7 +165,6 @@ module Google
|
|
165
165
|
|
166
166
|
# Providing examples in the generator (i.e. building a few-shot generator)
|
167
167
|
# helps convey the desired format of the LLM response.
|
168
|
-
# NEXT_ID: 10
|
169
168
|
# @!attribute [rw] conversation_context
|
170
169
|
# @return [::Google::Cloud::Dialogflow::V2::ConversationContext]
|
171
170
|
# Optional. Conversation transcripts.
|
@@ -144,7 +144,7 @@ module Google
|
|
144
144
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
145
145
|
|
146
146
|
# Represents an example that the agent is trained on.
|
147
|
-
# @!attribute [
|
147
|
+
# @!attribute [r] name
|
148
148
|
# @return [::String]
|
149
149
|
# Output only. The unique identifier of this training phrase.
|
150
150
|
# @!attribute [rw] type
|
@@ -50,9 +50,9 @@ module Google
|
|
50
50
|
# Dialogflow adds the obfuscated user id with the participant.
|
51
51
|
#
|
52
52
|
# 2. If you set this field in
|
53
|
-
#
|
53
|
+
# {::Google::Cloud::Dialogflow::V2::AnalyzeContentRequest#participant AnalyzeContent}
|
54
54
|
# or
|
55
|
-
#
|
55
|
+
# {::Google::Cloud::Dialogflow::V2::StreamingAnalyzeContentRequest#participant StreamingAnalyzeContent},
|
56
56
|
# Dialogflow will update
|
57
57
|
# {::Google::Cloud::Dialogflow::V2::Participant#obfuscated_external_user_id Participant.obfuscated_external_user_id}.
|
58
58
|
#
|
@@ -310,8 +310,9 @@ module Google
|
|
310
310
|
# @!attribute [rw] automated_agent_reply
|
311
311
|
# @return [::Google::Cloud::Dialogflow::V2::AutomatedAgentReply]
|
312
312
|
# Only set if a Dialogflow automated agent has responded.
|
313
|
-
# Note that
|
314
|
-
#
|
313
|
+
# Note that in [AutomatedAgentReply.DetectIntentResponse][],
|
314
|
+
# [Sessions.DetectIntentResponse.output_audio][]
|
315
|
+
# and [Sessions.DetectIntentResponse.output_audio_config][]
|
315
316
|
# are always empty, use
|
316
317
|
# {::Google::Cloud::Dialogflow::V2::AnalyzeContentResponse#reply_audio reply_audio}
|
317
318
|
# instead.
|
@@ -450,7 +451,8 @@ module Google
|
|
450
451
|
# and
|
451
452
|
# {::Google::Cloud::Dialogflow::V2::AudioEncoding::AUDIO_ENCODING_MULAW AudioEncoding.AUDIO_ENCODING_MULAW}
|
452
453
|
# - Lifecycle: conversation should be in `Assist Stage`, go to
|
453
|
-
#
|
454
|
+
# {::Google::Cloud::Dialogflow::V2::Conversations::Client#create_conversation Conversations.CreateConversation}
|
455
|
+
# for more information.
|
454
456
|
#
|
455
457
|
# InvalidArgument Error will be returned if the one of restriction checks
|
456
458
|
# failed.
|
@@ -516,9 +518,9 @@ module Google
|
|
516
518
|
# has content.
|
517
519
|
# @!attribute [rw] automated_agent_reply
|
518
520
|
# @return [::Google::Cloud::Dialogflow::V2::AutomatedAgentReply]
|
519
|
-
#
|
520
|
-
#
|
521
|
-
# and [
|
521
|
+
# Note that in [AutomatedAgentReply.DetectIntentResponse][],
|
522
|
+
# [Sessions.DetectIntentResponse.output_audio][]
|
523
|
+
# and [Sessions.DetectIntentResponse.output_audio_config][]
|
522
524
|
# are always empty, use
|
523
525
|
# {::Google::Cloud::Dialogflow::V2::StreamingAnalyzeContentResponse#reply_audio reply_audio}
|
524
526
|
# instead.
|
@@ -79,7 +79,7 @@ module Google
|
|
79
79
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
80
80
|
end
|
81
81
|
|
82
|
-
# The message returned from the DetectIntent method.
|
82
|
+
# The message returned from the [DetectIntent][] method.
|
83
83
|
# @!attribute [rw] response_id
|
84
84
|
# @return [::String]
|
85
85
|
# The unique identifier of the response. It can be used to
|
@@ -226,8 +226,8 @@ module Google
|
|
226
226
|
# was not set.
|
227
227
|
#
|
228
228
|
# This field is not guaranteed to be accurate or set. In particular this
|
229
|
-
# field isn't set for StreamingDetectIntent since the streaming endpoint
|
230
|
-
# separate confidence estimates per portion of the audio in
|
229
|
+
# field isn't set for [StreamingDetectIntent][] since the streaming endpoint
|
230
|
+
# has separate confidence estimates per portion of the audio in
|
231
231
|
# StreamingRecognitionResult.
|
232
232
|
# @!attribute [rw] action
|
233
233
|
# @return [::String]
|
@@ -316,8 +316,7 @@ module Google
|
|
316
316
|
end
|
317
317
|
|
318
318
|
# The top-level message sent by the client to the
|
319
|
-
#
|
320
|
-
# method.
|
319
|
+
# [StreamingDetectIntent][] method.
|
321
320
|
#
|
322
321
|
# Multiple request messages should be sent in order:
|
323
322
|
#
|
@@ -493,11 +492,13 @@ module Google
|
|
493
492
|
end
|
494
493
|
|
495
494
|
# The top-level message returned from the
|
496
|
-
#
|
495
|
+
# [StreamingDetectIntent][] method.
|
497
496
|
#
|
498
497
|
# Multiple response messages can be returned in order:
|
499
498
|
#
|
500
|
-
# 1. If the
|
499
|
+
# 1. If the
|
500
|
+
# {::Google::Cloud::Dialogflow::V2::StreamingDetectIntentRequest#input_audio StreamingDetectIntentRequest.input_audio}
|
501
|
+
# field was
|
501
502
|
# set, the `recognition_result` field is populated for one
|
502
503
|
# or more messages.
|
503
504
|
# See the
|
@@ -537,7 +538,8 @@ module Google
|
|
537
538
|
# @!attribute [rw] debugging_info
|
538
539
|
# @return [::Google::Cloud::Dialogflow::V2::CloudConversationDebuggingInfo]
|
539
540
|
# Debugging info that would get populated when
|
540
|
-
#
|
541
|
+
# {::Google::Cloud::Dialogflow::V2::StreamingDetectIntentRequest#enable_debugging_info StreamingDetectIntentRequest.enable_debugging_info}
|
542
|
+
# is set to true.
|
541
543
|
class StreamingDetectIntentResponse
|
542
544
|
include ::Google::Protobuf::MessageExts
|
543
545
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -711,9 +713,9 @@ module Google
|
|
711
713
|
# The result of sentiment analysis. Sentiment analysis inspects user input
|
712
714
|
# and identifies the prevailing subjective opinion, especially to determine a
|
713
715
|
# user's attitude as positive, negative, or neutral.
|
714
|
-
# For [
|
716
|
+
# For [DetectIntent][], it needs to be configured in
|
715
717
|
# {::Google::Cloud::Dialogflow::V2::DetectIntentRequest#query_params DetectIntentRequest.query_params}.
|
716
|
-
# For [
|
718
|
+
# For [StreamingDetectIntent][], it needs to be configured in
|
717
719
|
# {::Google::Cloud::Dialogflow::V2::StreamingDetectIntentRequest#query_params StreamingDetectIntentRequest.query_params}.
|
718
720
|
# And for
|
719
721
|
# {::Google::Cloud::Dialogflow::V2::Participants::Client#analyze_content Participants.AnalyzeContent}
|
@@ -42,7 +42,7 @@ module Google
|
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
43
|
# @!attribute [rw] response
|
44
44
|
# @return [::Google::Protobuf::Any]
|
45
|
-
# The normal response of the operation
|
45
|
+
# The normal, successful response of the operation. If the original
|
46
46
|
# method returns no data on success, such as `Delete`, the response is
|
47
47
|
# `google.protobuf.Empty`. If the original method is standard
|
48
48
|
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
@@ -55,7 +55,8 @@ module Google
|
|
55
55
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
56
|
end
|
57
57
|
|
58
|
-
# The request message for
|
58
|
+
# The request message for
|
59
|
+
# Operations.GetOperation.
|
59
60
|
# @!attribute [rw] name
|
60
61
|
# @return [::String]
|
61
62
|
# The name of the operation resource.
|
@@ -64,7 +65,8 @@ module Google
|
|
64
65
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
66
|
end
|
66
67
|
|
67
|
-
# The request message for
|
68
|
+
# The request message for
|
69
|
+
# Operations.ListOperations.
|
68
70
|
# @!attribute [rw] name
|
69
71
|
# @return [::String]
|
70
72
|
# The name of the operation's parent resource.
|
@@ -82,7 +84,8 @@ module Google
|
|
82
84
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
85
|
end
|
84
86
|
|
85
|
-
# The response message for
|
87
|
+
# The response message for
|
88
|
+
# Operations.ListOperations.
|
86
89
|
# @!attribute [rw] operations
|
87
90
|
# @return [::Array<::Google::Longrunning::Operation>]
|
88
91
|
# A list of operations that matches the specified filter in the request.
|
@@ -94,7 +97,8 @@ module Google
|
|
94
97
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
98
|
end
|
96
99
|
|
97
|
-
# The request message for
|
100
|
+
# The request message for
|
101
|
+
# Operations.CancelOperation.
|
98
102
|
# @!attribute [rw] name
|
99
103
|
# @return [::String]
|
100
104
|
# The name of the operation resource to be cancelled.
|
@@ -103,7 +107,8 @@ module Google
|
|
103
107
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
108
|
end
|
105
109
|
|
106
|
-
# The request message for
|
110
|
+
# The request message for
|
111
|
+
# Operations.DeleteOperation.
|
107
112
|
# @!attribute [rw] name
|
108
113
|
# @return [::String]
|
109
114
|
# The name of the operation resource to be deleted.
|
@@ -112,7 +117,8 @@ module Google
|
|
112
117
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
118
|
end
|
114
119
|
|
115
|
-
# The request message for
|
120
|
+
# The request message for
|
121
|
+
# Operations.WaitOperation.
|
116
122
|
# @!attribute [rw] name
|
117
123
|
# @return [::String]
|
118
124
|
# The name of the operation resource to wait on.
|
@@ -130,13 +136,12 @@ module Google
|
|
130
136
|
#
|
131
137
|
# Example:
|
132
138
|
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# }
|
139
|
-
# }
|
139
|
+
# rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
140
|
+
# option (google.longrunning.operation_info) = {
|
141
|
+
# response_type: "ExportResponse"
|
142
|
+
# metadata_type: "ExportMetadata"
|
143
|
+
# };
|
144
|
+
# }
|
140
145
|
# @!attribute [rw] response_type
|
141
146
|
# @return [::String]
|
142
147
|
# Required. The message name of the primary return type for this
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -337,7 +337,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
337
337
|
- !ruby/object:Gem::Version
|
338
338
|
version: '0'
|
339
339
|
requirements: []
|
340
|
-
rubygems_version: 3.5.
|
340
|
+
rubygems_version: 3.5.23
|
341
341
|
signing_key:
|
342
342
|
specification_version: 4
|
343
343
|
summary: Builds conversational interfaces (for example, chatbots, and voice-powered
|