google-cloud-dialogflow-cx-v3 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +169 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +139 -0
  6. data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +32 -0
  7. data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +122 -0
  8. data/lib/google/cloud/dialogflow/cx/v3/agent_services_pb.rb +82 -0
  9. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +1051 -0
  10. data/lib/google/cloud/dialogflow/cx/v3/agents/credentials.rb +54 -0
  11. data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +666 -0
  12. data/lib/google/cloud/dialogflow/cx/v3/agents/paths.rb +151 -0
  13. data/lib/google/cloud/dialogflow/cx/v3/agents.rb +52 -0
  14. data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +94 -0
  15. data/lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb +92 -0
  16. data/lib/google/cloud/dialogflow/cx/v3/entity_type_services_pb.rb +67 -0
  17. data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +766 -0
  18. data/lib/google/cloud/dialogflow/cx/v3/entity_types/credentials.rb +54 -0
  19. data/lib/google/cloud/dialogflow/cx/v3/entity_types/paths.rb +75 -0
  20. data/lib/google/cloud/dialogflow/cx/v3/entity_types.rb +51 -0
  21. data/lib/google/cloud/dialogflow/cx/v3/environment_pb.rb +117 -0
  22. data/lib/google/cloud/dialogflow/cx/v3/environment_services_pb.rb +61 -0
  23. data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +950 -0
  24. data/lib/google/cloud/dialogflow/cx/v3/environments/credentials.rb +54 -0
  25. data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +666 -0
  26. data/lib/google/cloud/dialogflow/cx/v3/environments/paths.rb +98 -0
  27. data/lib/google/cloud/dialogflow/cx/v3/environments.rb +52 -0
  28. data/lib/google/cloud/dialogflow/cx/v3/experiment_pb.rb +177 -0
  29. data/lib/google/cloud/dialogflow/cx/v3/experiment_services_pb.rb +61 -0
  30. data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +851 -0
  31. data/lib/google/cloud/dialogflow/cx/v3/experiments/credentials.rb +54 -0
  32. data/lib/google/cloud/dialogflow/cx/v3/experiments/paths.rb +102 -0
  33. data/lib/google/cloud/dialogflow/cx/v3/experiments.rb +51 -0
  34. data/lib/google/cloud/dialogflow/cx/v3/flow_pb.rb +145 -0
  35. data/lib/google/cloud/dialogflow/cx/v3/flow_services_pb.rb +88 -0
  36. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +1200 -0
  37. data/lib/google/cloud/dialogflow/cx/v3/flows/credentials.rb +54 -0
  38. data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +666 -0
  39. data/lib/google/cloud/dialogflow/cx/v3/flows/paths.rb +184 -0
  40. data/lib/google/cloud/dialogflow/cx/v3/flows.rb +52 -0
  41. data/lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb +55 -0
  42. data/lib/google/cloud/dialogflow/cx/v3/intent_pb.rb +97 -0
  43. data/lib/google/cloud/dialogflow/cx/v3/intent_services_pb.rb +67 -0
  44. data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +750 -0
  45. data/lib/google/cloud/dialogflow/cx/v3/intents/credentials.rb +54 -0
  46. data/lib/google/cloud/dialogflow/cx/v3/intents/paths.rb +96 -0
  47. data/lib/google/cloud/dialogflow/cx/v3/intents.rb +51 -0
  48. data/lib/google/cloud/dialogflow/cx/v3/page_pb.rb +113 -0
  49. data/lib/google/cloud/dialogflow/cx/v3/page_services_pb.rb +67 -0
  50. data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +805 -0
  51. data/lib/google/cloud/dialogflow/cx/v3/pages/credentials.rb +54 -0
  52. data/lib/google/cloud/dialogflow/cx/v3/pages/paths.rb +165 -0
  53. data/lib/google/cloud/dialogflow/cx/v3/pages.rb +51 -0
  54. data/lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb +77 -0
  55. data/lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb +89 -0
  56. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +696 -0
  57. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/credentials.rb +54 -0
  58. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/paths.rb +157 -0
  59. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service.rb +51 -0
  60. data/lib/google/cloud/dialogflow/cx/v3/security_settings_services_pb.rb +56 -0
  61. data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_pb.rb +68 -0
  62. data/lib/google/cloud/dialogflow/cx/v3/session_entity_type_services_pb.rb +55 -0
  63. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +715 -0
  64. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/credentials.rb +54 -0
  65. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/paths.rb +137 -0
  66. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types.rb +51 -0
  67. data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +209 -0
  68. data/lib/google/cloud/dialogflow/cx/v3/session_services_pb.rb +71 -0
  69. data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +654 -0
  70. data/lib/google/cloud/dialogflow/cx/v3/sessions/credentials.rb +54 -0
  71. data/lib/google/cloud/dialogflow/cx/v3/sessions/paths.rb +225 -0
  72. data/lib/google/cloud/dialogflow/cx/v3/sessions.rb +53 -0
  73. data/lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb +302 -0
  74. data/lib/google/cloud/dialogflow/cx/v3/test_case_services_pb.rb +73 -0
  75. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +1324 -0
  76. data/lib/google/cloud/dialogflow/cx/v3/test_cases/credentials.rb +54 -0
  77. data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +666 -0
  78. data/lib/google/cloud/dialogflow/cx/v3/test_cases/paths.rb +249 -0
  79. data/lib/google/cloud/dialogflow/cx/v3/test_cases.rb +53 -0
  80. data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_pb.rb +67 -0
  81. data/lib/google/cloud/dialogflow/cx/v3/transition_route_group_services_pb.rb +67 -0
  82. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +766 -0
  83. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/credentials.rb +54 -0
  84. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/paths.rb +144 -0
  85. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups.rb +51 -0
  86. data/lib/google/cloud/dialogflow/cx/v3/validation_message_pb.rb +59 -0
  87. data/lib/google/cloud/dialogflow/cx/v3/version.rb +30 -0
  88. data/lib/google/cloud/dialogflow/cx/v3/version_pb.rb +88 -0
  89. data/lib/google/cloud/dialogflow/cx/v3/version_services_pb.rb +57 -0
  90. data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +792 -0
  91. data/lib/google/cloud/dialogflow/cx/v3/versions/credentials.rb +54 -0
  92. data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +666 -0
  93. data/lib/google/cloud/dialogflow/cx/v3/versions/paths.rb +79 -0
  94. data/lib/google/cloud/dialogflow/cx/v3/versions.rb +52 -0
  95. data/lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb +172 -0
  96. data/lib/google/cloud/dialogflow/cx/v3/webhook_services_pb.rb +55 -0
  97. data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +704 -0
  98. data/lib/google/cloud/dialogflow/cx/v3/webhooks/credentials.rb +54 -0
  99. data/lib/google/cloud/dialogflow/cx/v3/webhooks/paths.rb +96 -0
  100. data/lib/google/cloud/dialogflow/cx/v3/webhooks.rb +51 -0
  101. data/lib/google/cloud/dialogflow/cx/v3.rb +53 -0
  102. data/lib/google-cloud-dialogflow-cx-v3.rb +21 -0
  103. data/proto_docs/README.md +4 -0
  104. data/proto_docs/google/api/field_behavior.rb +71 -0
  105. data/proto_docs/google/api/resource.rb +283 -0
  106. data/proto_docs/google/cloud/dialogflow/cx/v3/advanced_settings.rb +57 -0
  107. data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +301 -0
  108. data/proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb +322 -0
  109. data/proto_docs/google/cloud/dialogflow/cx/v3/entity_type.rb +306 -0
  110. data/proto_docs/google/cloud/dialogflow/cx/v3/environment.rb +279 -0
  111. data/proto_docs/google/cloud/dialogflow/cx/v3/experiment.rb +438 -0
  112. data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +438 -0
  113. data/proto_docs/google/cloud/dialogflow/cx/v3/fulfillment.rb +126 -0
  114. data/proto_docs/google/cloud/dialogflow/cx/v3/intent.rb +318 -0
  115. data/proto_docs/google/cloud/dialogflow/cx/v3/page.rb +478 -0
  116. data/proto_docs/google/cloud/dialogflow/cx/v3/response_message.rb +220 -0
  117. data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +222 -0
  118. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +798 -0
  119. data/proto_docs/google/cloud/dialogflow/cx/v3/session_entity_type.rb +184 -0
  120. data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +757 -0
  121. data/proto_docs/google/cloud/dialogflow/cx/v3/transition_route_group.rb +195 -0
  122. data/proto_docs/google/cloud/dialogflow/cx/v3/validation_message.rb +121 -0
  123. data/proto_docs/google/cloud/dialogflow/cx/v3/version.rb +182 -0
  124. data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +496 -0
  125. data/proto_docs/google/longrunning/operations.rb +164 -0
  126. data/proto_docs/google/protobuf/any.rb +141 -0
  127. data/proto_docs/google/protobuf/duration.rb +98 -0
  128. data/proto_docs/google/protobuf/empty.rb +36 -0
  129. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  130. data/proto_docs/google/protobuf/struct.rb +96 -0
  131. data/proto_docs/google/protobuf/timestamp.rb +129 -0
  132. data/proto_docs/google/rpc/status.rb +46 -0
  133. data/proto_docs/google/type/latlng.rb +38 -0
  134. metadata +326 -0
@@ -0,0 +1,220 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dialogflow
23
+ module CX
24
+ module V3
25
+ # Represents a response message that can be returned by a conversational agent.
26
+ #
27
+ # Response messages are also used for output audio synthesis. The approach is
28
+ # as follows:
29
+ #
30
+ # * If at least one OutputAudioText response is present, then all
31
+ # OutputAudioText responses are linearly concatenated, and the result is used
32
+ # for output audio synthesis.
33
+ # * If the OutputAudioText responses are a mixture of text and SSML, then the
34
+ # concatenated result is treated as SSML; otherwise, the result is treated as
35
+ # either text or SSML as appropriate. The agent designer should ideally use
36
+ # either text or SSML consistently throughout the bot design.
37
+ # * Otherwise, all Text responses are linearly concatenated, and the result is
38
+ # used for output audio synthesis.
39
+ #
40
+ # This approach allows for more sophisticated user experience scenarios, where
41
+ # the text displayed to the user may differ from what is heard.
42
+ # @!attribute [rw] text
43
+ # @return [::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::Text]
44
+ # Returns a text response.
45
+ # @!attribute [rw] payload
46
+ # @return [::Google::Protobuf::Struct]
47
+ # Returns a response containing a custom, platform-specific payload.
48
+ # @!attribute [rw] conversation_success
49
+ # @return [::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::ConversationSuccess]
50
+ # Indicates that the conversation succeeded.
51
+ # @!attribute [rw] output_audio_text
52
+ # @return [::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::OutputAudioText]
53
+ # A text or ssml response that is preferentially used for TTS output audio
54
+ # synthesis, as described in the comment on the ResponseMessage message.
55
+ # @!attribute [rw] live_agent_handoff
56
+ # @return [::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::LiveAgentHandoff]
57
+ # Hands off conversation to a human agent.
58
+ # @!attribute [r] end_interaction
59
+ # @return [::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::EndInteraction]
60
+ # Output only. A signal that indicates the interaction with the Dialogflow agent has
61
+ # ended.
62
+ # This message is generated by Dialogflow only when the conversation
63
+ # reaches `END_SESSION` page. It is not supposed to be defined by the user.
64
+ #
65
+ # It's guaranteed that there is at most one such message in each response.
66
+ # @!attribute [rw] play_audio
67
+ # @return [::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::PlayAudio]
68
+ # Signal that the client should play an audio clip hosted at a
69
+ # client-specific URI. Dialogflow uses this to construct
70
+ # {::Google::Cloud::Dialogflow::CX::V3::ResponseMessage#mixed_audio mixed_audio}. However, Dialogflow itself
71
+ # does not try to read or process the URI in any way.
72
+ # @!attribute [r] mixed_audio
73
+ # @return [::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::MixedAudio]
74
+ # Output only. An audio response message composed of both the synthesized Dialogflow
75
+ # agent responses and responses defined via
76
+ # {::Google::Cloud::Dialogflow::CX::V3::ResponseMessage#play_audio play_audio}.
77
+ # This message is generated by Dialogflow only and not supposed to be
78
+ # defined by the user.
79
+ class ResponseMessage
80
+ include ::Google::Protobuf::MessageExts
81
+ extend ::Google::Protobuf::MessageExts::ClassMethods
82
+
83
+ # The text response message.
84
+ # @!attribute [rw] text
85
+ # @return [::Array<::String>]
86
+ # Required. A collection of text responses.
87
+ # @!attribute [r] allow_playback_interruption
88
+ # @return [::Boolean]
89
+ # Output only. Whether the playback of this message can be interrupted by the end
90
+ # user's speech and the client can then starts the next Dialogflow
91
+ # request.
92
+ class Text
93
+ include ::Google::Protobuf::MessageExts
94
+ extend ::Google::Protobuf::MessageExts::ClassMethods
95
+ end
96
+
97
+ # Indicates that the conversation should be handed off to a live agent.
98
+ #
99
+ # Dialogflow only uses this to determine which conversations were handed off
100
+ # to a human agent for measurement purposes. What else to do with this signal
101
+ # is up to you and your handoff procedures.
102
+ #
103
+ # You may set this, for example:
104
+ # * In the {::Google::Cloud::Dialogflow::CX::V3::Page#entry_fulfillment entry_fulfillment} of a {::Google::Cloud::Dialogflow::CX::V3::Page Page} if
105
+ # entering the page indicates something went extremely wrong in the
106
+ # conversation.
107
+ # * In a webhook response when you determine that the customer issue can only
108
+ # be handled by a human.
109
+ # @!attribute [rw] metadata
110
+ # @return [::Google::Protobuf::Struct]
111
+ # Custom metadata for your handoff procedure. Dialogflow doesn't impose
112
+ # any structure on this.
113
+ class LiveAgentHandoff
114
+ include ::Google::Protobuf::MessageExts
115
+ extend ::Google::Protobuf::MessageExts::ClassMethods
116
+ end
117
+
118
+ # Indicates that the conversation succeeded, i.e., the bot handled the issue
119
+ # that the customer talked to it about.
120
+ #
121
+ # Dialogflow only uses this to determine which conversations should be
122
+ # counted as successful and doesn't process the metadata in this message in
123
+ # any way. Note that Dialogflow also considers conversations that get to the
124
+ # conversation end page as successful even if they don't return
125
+ # {::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::ConversationSuccess ConversationSuccess}.
126
+ #
127
+ # You may set this, for example:
128
+ # * In the {::Google::Cloud::Dialogflow::CX::V3::Page#entry_fulfillment entry_fulfillment} of a {::Google::Cloud::Dialogflow::CX::V3::Page Page} if
129
+ # entering the page indicates that the conversation succeeded.
130
+ # * In a webhook response when you determine that you handled the customer
131
+ # issue.
132
+ # @!attribute [rw] metadata
133
+ # @return [::Google::Protobuf::Struct]
134
+ # Custom metadata. Dialogflow doesn't impose any structure on this.
135
+ class ConversationSuccess
136
+ include ::Google::Protobuf::MessageExts
137
+ extend ::Google::Protobuf::MessageExts::ClassMethods
138
+ end
139
+
140
+ # A text or ssml response that is preferentially used for TTS output audio
141
+ # synthesis, as described in the comment on the ResponseMessage message.
142
+ # @!attribute [rw] text
143
+ # @return [::String]
144
+ # The raw text to be synthesized.
145
+ # @!attribute [rw] ssml
146
+ # @return [::String]
147
+ # The SSML text to be synthesized. For more information, see
148
+ # [SSML](/speech/text-to-speech/docs/ssml).
149
+ # @!attribute [r] allow_playback_interruption
150
+ # @return [::Boolean]
151
+ # Output only. Whether the playback of this message can be interrupted by the end
152
+ # user's speech and the client can then starts the next Dialogflow
153
+ # request.
154
+ class OutputAudioText
155
+ include ::Google::Protobuf::MessageExts
156
+ extend ::Google::Protobuf::MessageExts::ClassMethods
157
+ end
158
+
159
+ # Indicates that interaction with the Dialogflow agent has ended.
160
+ # This message is generated by Dialogflow only and not supposed to be
161
+ # defined by the user.
162
+ class EndInteraction
163
+ include ::Google::Protobuf::MessageExts
164
+ extend ::Google::Protobuf::MessageExts::ClassMethods
165
+ end
166
+
167
+ # Specifies an audio clip to be played by the client as part of the response.
168
+ # @!attribute [rw] audio_uri
169
+ # @return [::String]
170
+ # Required. URI of the audio clip. Dialogflow does not impose any validation on this
171
+ # value. It is specific to the client that reads it.
172
+ # @!attribute [r] allow_playback_interruption
173
+ # @return [::Boolean]
174
+ # Output only. Whether the playback of this message can be interrupted by the end
175
+ # user's speech and the client can then starts the next Dialogflow
176
+ # request.
177
+ class PlayAudio
178
+ include ::Google::Protobuf::MessageExts
179
+ extend ::Google::Protobuf::MessageExts::ClassMethods
180
+ end
181
+
182
+ # Represents an audio message that is composed of both segments
183
+ # synthesized from the Dialogflow agent prompts and ones hosted externally
184
+ # at the specified URIs.
185
+ # The external URIs are specified via
186
+ # {::Google::Cloud::Dialogflow::CX::V3::ResponseMessage#play_audio play_audio}.
187
+ # This message is generated by Dialogflow only and not supposed to be
188
+ # defined by the user.
189
+ # @!attribute [rw] segments
190
+ # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::ResponseMessage::MixedAudio::Segment>]
191
+ # Segments this audio response is composed of.
192
+ class MixedAudio
193
+ include ::Google::Protobuf::MessageExts
194
+ extend ::Google::Protobuf::MessageExts::ClassMethods
195
+
196
+ # Represents one segment of audio.
197
+ # @!attribute [rw] audio
198
+ # @return [::String]
199
+ # Raw audio synthesized from the Dialogflow agent's response using
200
+ # the output config specified in the request.
201
+ # @!attribute [rw] uri
202
+ # @return [::String]
203
+ # Client-specific URI that points to an audio clip accessible to the
204
+ # client. Dialogflow does not impose any validation on it.
205
+ # @!attribute [r] allow_playback_interruption
206
+ # @return [::Boolean]
207
+ # Output only. Whether the playback of this segment can be interrupted by the end
208
+ # user's speech and the client should then start the next Dialogflow
209
+ # request.
210
+ class Segment
211
+ include ::Google::Protobuf::MessageExts
212
+ extend ::Google::Protobuf::MessageExts::ClassMethods
213
+ end
214
+ end
215
+ end
216
+ end
217
+ end
218
+ end
219
+ end
220
+ end
@@ -0,0 +1,222 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dialogflow
23
+ module CX
24
+ module V3
25
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::SecuritySettingsService::Client#get_security_settings SecuritySettingsService.GetSecuritySettings}.
26
+ # @!attribute [rw] name
27
+ # @return [::String]
28
+ # Required. Resource name of the settings.
29
+ # Format: `projects/<Project ID>/locations/<Location
30
+ # ID>/securitySettings/<security settings ID>`.
31
+ class GetSecuritySettingsRequest
32
+ include ::Google::Protobuf::MessageExts
33
+ extend ::Google::Protobuf::MessageExts::ClassMethods
34
+ end
35
+
36
+ # The request message for {::Google::Cloud::Dialogflow::CX::V3::SecuritySettingsService::Client#update_security_settings SecuritySettingsService.UpdateSecuritySettings}.
37
+ # @!attribute [rw] security_settings
38
+ # @return [::Google::Cloud::Dialogflow::CX::V3::SecuritySettings]
39
+ # Required. [SecuritySettings] object that contains values for each of the
40
+ # fields to update.
41
+ # @!attribute [rw] update_mask
42
+ # @return [::Google::Protobuf::FieldMask]
43
+ # Required. The mask to control which fields get updated. If the mask is not present,
44
+ # all fields will be updated.
45
+ class UpdateSecuritySettingsRequest
46
+ include ::Google::Protobuf::MessageExts
47
+ extend ::Google::Protobuf::MessageExts::ClassMethods
48
+ end
49
+
50
+ # The request message for [SecuritySettings.ListSecuritySettings][].
51
+ # @!attribute [rw] parent
52
+ # @return [::String]
53
+ # Required. The location to list all security settings for.
54
+ # Format: `projects/<Project ID>/locations/<Location ID>`.
55
+ # @!attribute [rw] page_size
56
+ # @return [::Integer]
57
+ # The maximum number of items to return in a single page. By default 20 and
58
+ # at most 100.
59
+ # @!attribute [rw] page_token
60
+ # @return [::String]
61
+ # The next_page_token value returned from a previous list request.
62
+ class ListSecuritySettingsRequest
63
+ include ::Google::Protobuf::MessageExts
64
+ extend ::Google::Protobuf::MessageExts::ClassMethods
65
+ end
66
+
67
+ # The response message for [SecuritySettings.ListSecuritySettings][].
68
+ # @!attribute [rw] security_settings
69
+ # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::SecuritySettings>]
70
+ # The list of security settings.
71
+ # @!attribute [rw] next_page_token
72
+ # @return [::String]
73
+ # Token to retrieve the next page of results, or empty if there are no more
74
+ # results in the list.
75
+ class ListSecuritySettingsResponse
76
+ include ::Google::Protobuf::MessageExts
77
+ extend ::Google::Protobuf::MessageExts::ClassMethods
78
+ end
79
+
80
+ # The request message for [SecuritySettings.CreateSecuritySettings][].
81
+ # @!attribute [rw] parent
82
+ # @return [::String]
83
+ # Required. The location to create an {::Google::Cloud::Dialogflow::CX::V3::SecuritySettings SecuritySettings} for.
84
+ # Format: `projects/<Project ID>/locations/<Location ID>`.
85
+ # @!attribute [rw] security_settings
86
+ # @return [::Google::Cloud::Dialogflow::CX::V3::SecuritySettings]
87
+ # Required. The security settings to create.
88
+ class CreateSecuritySettingsRequest
89
+ include ::Google::Protobuf::MessageExts
90
+ extend ::Google::Protobuf::MessageExts::ClassMethods
91
+ end
92
+
93
+ # The request message for [SecuritySettings.DeleteSecuritySettings][].
94
+ # @!attribute [rw] name
95
+ # @return [::String]
96
+ # Required. The name of the {::Google::Cloud::Dialogflow::CX::V3::SecuritySettings SecuritySettings} to delete.
97
+ # Format: `projects/<Project ID>/locations/<Location
98
+ # ID>/securitySettings/<Security Settings ID>`.
99
+ class DeleteSecuritySettingsRequest
100
+ include ::Google::Protobuf::MessageExts
101
+ extend ::Google::Protobuf::MessageExts::ClassMethods
102
+ end
103
+
104
+ # Represents the settings related to security issues, such as data redaction
105
+ # and data retention. It may take hours for updates on the settings to
106
+ # propagate to all the related components and take effect.
107
+ # @!attribute [rw] name
108
+ # @return [::String]
109
+ # Required. Resource name of the settings.
110
+ # Format: `projects/<Project ID>/locations/<Location
111
+ # ID>/securitySettings/<Security Settings ID>`.
112
+ # @!attribute [rw] display_name
113
+ # @return [::String]
114
+ # Required. The human-readable name of the security settings, unique within the
115
+ # location.
116
+ # @!attribute [rw] redaction_strategy
117
+ # @return [::Google::Cloud::Dialogflow::CX::V3::SecuritySettings::RedactionStrategy]
118
+ # Strategy that defines how we do redaction.
119
+ # @!attribute [rw] redaction_scope
120
+ # @return [::Google::Cloud::Dialogflow::CX::V3::SecuritySettings::RedactionScope]
121
+ # Defines the data for which Dialogflow applies redaction. Dialogflow does
122
+ # not redact data that it does not have access to – for example, Cloud
123
+ # logging.
124
+ # @!attribute [rw] inspect_template
125
+ # @return [::String]
126
+ # [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
127
+ # template to define inspect base settings.
128
+ #
129
+ # If empty, we use the default DLP inspect config.
130
+ #
131
+ # The template name will have one of the following formats:
132
+ # `projects/<Project ID>/locations/<Location ID>/inspectTemplates/<Template
133
+ # ID>` OR `organizations/<Organization ID>/locations/<Location
134
+ # ID>/inspectTemplates/<Template ID>`
135
+ #
136
+ # Note: `inspect_template` must be located in the same region as the
137
+ # `SecuritySettings`.
138
+ # @!attribute [rw] deidentify_template
139
+ # @return [::String]
140
+ # [DLP](https://cloud.google.com/dlp/docs) deidentify template name. Use this
141
+ # template to define de-identification configuration for the content.
142
+ #
143
+ # If empty, Dialogflow replaces sensitive info with `[redacted]` text.
144
+ #
145
+ # The template name will have one of the following formats:
146
+ # `projects/<Project ID>/locations/<Location
147
+ # ID>/deidentifyTemplates/<Template ID>` OR `organizations/<Organization
148
+ # ID>/locations/<Location ID>/deidentifyTemplates/<Template ID>`
149
+ #
150
+ # Note: `deidentify_template` must be located in the same region as the
151
+ # `SecuritySettings`.
152
+ # @!attribute [rw] retention_window_days
153
+ # @return [::Integer]
154
+ # Retains data in interaction logging for the specified number of days.
155
+ # This does not apply to Cloud logging, which is owned by the user - not
156
+ # Dialogflow.
157
+ # User must Set a value lower than Dialogflow's default 30d TTL. Setting a
158
+ # value higher than that has no effect.
159
+ # A missing value or setting to 0 also means we use Dialogflow's default
160
+ # TTL.
161
+ # Note: Interaction logging is a limited access feature. Talk to your
162
+ # Google representative to check availability for you.
163
+ # @!attribute [rw] purge_data_types
164
+ # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::SecuritySettings::PurgeDataType>]
165
+ # List of types of data to remove when retention settings triggers purge.
166
+ # @!attribute [rw] insights_export_settings
167
+ # @return [::Google::Cloud::Dialogflow::CX::V3::SecuritySettings::InsightsExportSettings]
168
+ # Controls conversation exporting settings to Insights after conversation is
169
+ # completed.
170
+ #
171
+ # If [retention_strategy][google.cloud.dialogflow.cx.v3.SecuritySettings.retention_strategy] is set to REMOVE_AFTER_CONVERSATION,
172
+ # Insights export is disabled no matter what you configure here.
173
+ class SecuritySettings
174
+ include ::Google::Protobuf::MessageExts
175
+ extend ::Google::Protobuf::MessageExts::ClassMethods
176
+
177
+ # Settings for exporting conversations to
178
+ # [Insights](https://cloud.google.com/dialogflow/priv/docs/insights).
179
+ # @!attribute [rw] enable_insights_export
180
+ # @return [::Boolean]
181
+ # If enabled, we will automatically exports
182
+ # conversations to Insights and Insights runs its analyzers.
183
+ class InsightsExportSettings
184
+ include ::Google::Protobuf::MessageExts
185
+ extend ::Google::Protobuf::MessageExts::ClassMethods
186
+ end
187
+
188
+ # Defines how we redact data.
189
+ module RedactionStrategy
190
+ # Do not redact.
191
+ REDACTION_STRATEGY_UNSPECIFIED = 0
192
+
193
+ # Call redaction service to clean up the data to be persisted.
194
+ REDACT_WITH_SERVICE = 1
195
+ end
196
+
197
+ # Defines what types of data to redact.
198
+ module RedactionScope
199
+ # Don't redact any kind of data.
200
+ REDACTION_SCOPE_UNSPECIFIED = 0
201
+
202
+ # On data to be written to disk or similar devices that are capable of
203
+ # holding data even if power is disconnected. This includes data that are
204
+ # temporarily saved on disk.
205
+ REDACT_DISK_STORAGE = 2
206
+ end
207
+
208
+ # Type of data we purge after retention settings triggers purge.
209
+ module PurgeDataType
210
+ # Unspecified. Do not use.
211
+ PURGE_DATA_TYPE_UNSPECIFIED = 0
212
+
213
+ # Dialogflow history. This does not include Cloud logging, which is
214
+ # owned by the user - not Dialogflow.
215
+ DIALOGFLOW_HISTORY = 1
216
+ end
217
+ end
218
+ end
219
+ end
220
+ end
221
+ end
222
+ end
@@ -0,0 +1,798 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2021 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Dialogflow
23
+ module CX
24
+ module V3
25
+ # The request to detect user's intent.
26
+ # @!attribute [rw] session
27
+ # @return [::String]
28
+ # Required. The name of the session this query is sent to.
29
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
30
+ # ID>/sessions/<Session ID>` or `projects/<Project ID>/locations/<Location
31
+ # ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>`.
32
+ # If `Environment ID` is not specified, we assume default 'draft'
33
+ # environment.
34
+ # It's up to the API caller to choose an appropriate `Session ID`. It can be
35
+ # a random number or some type of session identifiers (preferably hashed).
36
+ # The length of the `Session ID` must not exceed 36 characters.
37
+ #
38
+ # For more information, see the [sessions
39
+ # guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
40
+ #
41
+ # Note: Always use agent versions for production traffic.
42
+ # See [Versions and
43
+ # environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
44
+ # @!attribute [rw] query_params
45
+ # @return [::Google::Cloud::Dialogflow::CX::V3::QueryParameters]
46
+ # The parameters of this query.
47
+ # @!attribute [rw] query_input
48
+ # @return [::Google::Cloud::Dialogflow::CX::V3::QueryInput]
49
+ # Required. The input specification.
50
+ # @!attribute [rw] output_audio_config
51
+ # @return [::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig]
52
+ # Instructs the speech synthesizer how to generate the output audio.
53
+ class DetectIntentRequest
54
+ include ::Google::Protobuf::MessageExts
55
+ extend ::Google::Protobuf::MessageExts::ClassMethods
56
+ end
57
+
58
+ # The message returned from the DetectIntent method.
59
+ # @!attribute [rw] response_id
60
+ # @return [::String]
61
+ # Output only. The unique identifier of the response. It can be used to
62
+ # locate a response in the training example set or for reporting issues.
63
+ # @!attribute [rw] query_result
64
+ # @return [::Google::Cloud::Dialogflow::CX::V3::QueryResult]
65
+ # The result of the conversational query.
66
+ # @!attribute [rw] output_audio
67
+ # @return [::String]
68
+ # The audio data bytes encoded as specified in the request.
69
+ # Note: The output audio is generated based on the values of default platform
70
+ # text responses found in the
71
+ # {::Google::Cloud::Dialogflow::CX::V3::QueryResult#response_messages `query_result.response_messages`} field. If
72
+ # multiple default text responses exist, they will be concatenated when
73
+ # generating audio. If no default platform text responses exist, the
74
+ # generated audio content will be empty.
75
+ #
76
+ # In some scenarios, multiple output audio fields may be present in the
77
+ # response structure. In these cases, only the top-most-level audio output
78
+ # has content.
79
+ # @!attribute [rw] output_audio_config
80
+ # @return [::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig]
81
+ # The config used by the speech synthesizer to generate the output audio.
82
+ # @!attribute [rw] response_type
83
+ # @return [::Google::Cloud::Dialogflow::CX::V3::DetectIntentResponse::ResponseType]
84
+ # Response type.
85
+ # @!attribute [rw] allow_cancellation
86
+ # @return [::Boolean]
87
+ # Indicates whether the partial response can be cancelled when a later
88
+ # response arrives. e.g. if the agent specified some music as partial
89
+ # response, it can be cancelled.
90
+ class DetectIntentResponse
91
+ include ::Google::Protobuf::MessageExts
92
+ extend ::Google::Protobuf::MessageExts::ClassMethods
93
+
94
+ # Represents different DetectIntentResponse types.
95
+ module ResponseType
96
+ # Not specified. This should never happen.
97
+ RESPONSE_TYPE_UNSPECIFIED = 0
98
+
99
+ # Partial response. e.g. Aggregated responses in a Fulfillment that enables
100
+ # `return_partial_response` can be returned as partial response.
101
+ # WARNING: partial response is not eligible for barge-in.
102
+ PARTIAL = 1
103
+
104
+ # Final response.
105
+ FINAL = 2
106
+ end
107
+ end
108
+
109
+ # The top-level message sent by the client to the
110
+ # {::Google::Cloud::Dialogflow::CX::V3::Sessions::Client#streaming_detect_intent Sessions.StreamingDetectIntent} method.
111
+ #
112
+ # Multiple request messages should be sent in order:
113
+ #
114
+ # 1. The first message must contain
115
+ # {::Google::Cloud::Dialogflow::CX::V3::StreamingDetectIntentRequest#session session},
116
+ # {::Google::Cloud::Dialogflow::CX::V3::StreamingDetectIntentRequest#query_input query_input} plus optionally
117
+ # {::Google::Cloud::Dialogflow::CX::V3::StreamingDetectIntentRequest#query_params query_params}. If the client
118
+ # wants to receive an audio response, it should also contain
119
+ # {::Google::Cloud::Dialogflow::CX::V3::StreamingDetectIntentRequest#output_audio_config output_audio_config}.
120
+ #
121
+ # 2. If {::Google::Cloud::Dialogflow::CX::V3::StreamingDetectIntentRequest#query_input query_input} was set to
122
+ # {::Google::Cloud::Dialogflow::CX::V3::AudioInput#config query_input.audio.config}, all subsequent messages
123
+ # must contain {::Google::Cloud::Dialogflow::CX::V3::AudioInput#audio query_input.audio.audio} to continue with
124
+ # Speech recognition.
125
+ # If you decide to rather detect an intent from text
126
+ # input after you already started Speech recognition, please send a message
127
+ # with {::Google::Cloud::Dialogflow::CX::V3::QueryInput#text query_input.text}.
128
+ #
129
+ # However, note that:
130
+ #
131
+ # * Dialogflow will bill you for the audio duration so far.
132
+ # * Dialogflow discards all Speech recognition results in favor of the
133
+ # input text.
134
+ # * Dialogflow will use the language code from the first message.
135
+ #
136
+ # After you sent all input, you must half-close or abort the request stream.
137
+ # @!attribute [rw] session
138
+ # @return [::String]
139
+ # The name of the session this query is sent to.
140
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
141
+ # ID>/sessions/<Session ID>` or `projects/<Project ID>/locations/<Location
142
+ # ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>`.
143
+ # If `Environment ID` is not specified, we assume default 'draft'
144
+ # environment.
145
+ # It's up to the API caller to choose an appropriate `Session ID`. It can be
146
+ # a random number or some type of session identifiers (preferably hashed).
147
+ # The length of the `Session ID` must not exceed 36 characters.
148
+ # Note: session must be set in the first request.
149
+ #
150
+ # For more information, see the [sessions
151
+ # guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
152
+ #
153
+ # Note: Always use agent versions for production traffic.
154
+ # See [Versions and
155
+ # environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).
156
+ # @!attribute [rw] query_params
157
+ # @return [::Google::Cloud::Dialogflow::CX::V3::QueryParameters]
158
+ # The parameters of this query.
159
+ # @!attribute [rw] query_input
160
+ # @return [::Google::Cloud::Dialogflow::CX::V3::QueryInput]
161
+ # Required. The input specification.
162
+ # @!attribute [rw] output_audio_config
163
+ # @return [::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig]
164
+ # Instructs the speech synthesizer how to generate the output audio.
165
+ # @!attribute [rw] enable_partial_response
166
+ # @return [::Boolean]
167
+ # Enable partial detect intent response. If this flag is not enabled,
168
+ # response stream still contains only one final `DetectIntentResponse` even
169
+ # if some `Fulfillment`s in the agent have been configured to return partial
170
+ # responses.
171
+ class StreamingDetectIntentRequest
172
+ include ::Google::Protobuf::MessageExts
173
+ extend ::Google::Protobuf::MessageExts::ClassMethods
174
+ end
175
+
176
+ # The top-level message returned from the `StreamingDetectIntent` method.
177
+ #
178
+ # Multiple response messages can be returned in order:
179
+ #
180
+ # 1. If the input was set to streaming audio, the first one or more messages
181
+ # contain `recognition_result`. Each `recognition_result` represents a more
182
+ # complete transcript of what the user said. The last `recognition_result`
183
+ # has `is_final` set to `true`.
184
+ #
185
+ # 2. If `enable_partial_response` is true, the following N messages
186
+ # (currently 1 <= N <= 4) contain `detect_intent_response`. The first (N-1)
187
+ # `detect_intent_response`s will have `response_type` set to `PARTIAL`.
188
+ # The last `detect_intent_response` has `response_type` set to `FINAL`.
189
+ # If `response_type` is false, response stream only contains
190
+ # the final `detect_intent_response`.
191
+ # @!attribute [rw] recognition_result
192
+ # @return [::Google::Cloud::Dialogflow::CX::V3::StreamingRecognitionResult]
193
+ # The result of speech recognition.
194
+ # @!attribute [rw] detect_intent_response
195
+ # @return [::Google::Cloud::Dialogflow::CX::V3::DetectIntentResponse]
196
+ # The response from detect intent.
197
+ class StreamingDetectIntentResponse
198
+ include ::Google::Protobuf::MessageExts
199
+ extend ::Google::Protobuf::MessageExts::ClassMethods
200
+ end
201
+
202
+ # Contains a speech recognition result corresponding to a portion of the audio
203
+ # that is currently being processed or an indication that this is the end
204
+ # of the single requested utterance.
205
+ #
206
+ # Example:
207
+ #
208
+ # 1. transcript: "tube"
209
+ #
210
+ # 2. transcript: "to be a"
211
+ #
212
+ # 3. transcript: "to be"
213
+ #
214
+ # 4. transcript: "to be or not to be"
215
+ # is_final: true
216
+ #
217
+ # 5. transcript: " that's"
218
+ #
219
+ # 6. transcript: " that is"
220
+ #
221
+ # 7. message_type: `END_OF_SINGLE_UTTERANCE`
222
+ #
223
+ # 8. transcript: " that is the question"
224
+ # is_final: true
225
+ #
226
+ # Only two of the responses contain final results (#4 and #8 indicated by
227
+ # `is_final: true`). Concatenating these generates the full transcript: "to be
228
+ # or not to be that is the question".
229
+ #
230
+ # In each response we populate:
231
+ #
232
+ # * for `TRANSCRIPT`: `transcript` and possibly `is_final`.
233
+ #
234
+ # * for `END_OF_SINGLE_UTTERANCE`: only `message_type`.
235
+ # @!attribute [rw] message_type
236
+ # @return [::Google::Cloud::Dialogflow::CX::V3::StreamingRecognitionResult::MessageType]
237
+ # Type of the result message.
238
+ # @!attribute [rw] transcript
239
+ # @return [::String]
240
+ # Transcript text representing the words that the user spoke.
241
+ # Populated if and only if `message_type` = `TRANSCRIPT`.
242
+ # @!attribute [rw] is_final
243
+ # @return [::Boolean]
244
+ # If `false`, the `StreamingRecognitionResult` represents an
245
+ # interim result that may change. If `true`, the recognizer will not return
246
+ # any further hypotheses about this piece of the audio. May only be populated
247
+ # for `message_type` = `TRANSCRIPT`.
248
+ # @!attribute [rw] confidence
249
+ # @return [::Float]
250
+ # The Speech confidence between 0.0 and 1.0 for the current portion of audio.
251
+ # A higher number indicates an estimated greater likelihood that the
252
+ # recognized words are correct. The default of 0.0 is a sentinel value
253
+ # indicating that confidence was not set.
254
+ #
255
+ # This field is typically only provided if `is_final` is true and you should
256
+ # not rely on it being accurate or even set.
257
+ # @!attribute [rw] stability
258
+ # @return [::Float]
259
+ # An estimate of the likelihood that the speech recognizer will
260
+ # not change its guess about this interim recognition result:
261
+ # * If the value is unspecified or 0.0, Dialogflow didn't compute the
262
+ # stability. In particular, Dialogflow will only provide stability for
263
+ # `TRANSCRIPT` results with `is_final = false`.
264
+ # * Otherwise, the value is in (0.0, 1.0] where 0.0 means completely
265
+ # unstable and 1.0 means completely stable.
266
+ # @!attribute [rw] speech_word_info
267
+ # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::SpeechWordInfo>]
268
+ # Word-specific information for the words recognized by Speech in
269
+ # {::Google::Cloud::Dialogflow::CX::V3::StreamingRecognitionResult#transcript transcript}. Populated if and only if `message_type` = `TRANSCRIPT` and
270
+ # [InputAudioConfig.enable_word_info] is set.
271
+ # @!attribute [rw] speech_end_offset
272
+ # @return [::Google::Protobuf::Duration]
273
+ # Time offset of the end of this Speech recognition result relative to the
274
+ # beginning of the audio. Only populated for `message_type` =
275
+ # `TRANSCRIPT`.
276
+ # @!attribute [rw] language_code
277
+ # @return [::String]
278
+ # Detected language code for the transcript.
279
+ class StreamingRecognitionResult
280
+ include ::Google::Protobuf::MessageExts
281
+ extend ::Google::Protobuf::MessageExts::ClassMethods
282
+
283
+ # Type of the response message.
284
+ module MessageType
285
+ # Not specified. Should never be used.
286
+ MESSAGE_TYPE_UNSPECIFIED = 0
287
+
288
+ # Message contains a (possibly partial) transcript.
289
+ TRANSCRIPT = 1
290
+
291
+ # Event indicates that the server has detected the end of the user's speech
292
+ # utterance and expects no additional speech. Therefore, the server will
293
+ # not process additional audio (although it may subsequently return
294
+ # additional results). The client should stop sending additional audio
295
+ # data, half-close the gRPC connection, and wait for any additional results
296
+ # until the server closes the gRPC connection. This message is only sent if
297
+ # {::Google::Cloud::Dialogflow::CX::V3::InputAudioConfig#single_utterance `single_utterance`} was set to
298
+ # `true`, and is not used otherwise.
299
+ END_OF_SINGLE_UTTERANCE = 2
300
+ end
301
+ end
302
+
303
+ # Represents the parameters of a conversational query.
304
+ # @!attribute [rw] time_zone
305
+ # @return [::String]
306
+ # The time zone of this conversational query from the [time zone
307
+ # database](https://www.iana.org/time-zones), e.g., America/New_York,
308
+ # Europe/Paris. If not provided, the time zone specified in the agent is
309
+ # used.
310
+ # @!attribute [rw] geo_location
311
+ # @return [::Google::Type::LatLng]
312
+ # The geo location of this conversational query.
313
+ # @!attribute [rw] session_entity_types
314
+ # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::SessionEntityType>]
315
+ # Additional session entity types to replace or extend developer entity types
316
+ # with. The entity synonyms apply to all languages and persist for the
317
+ # session of this query.
318
+ # @!attribute [rw] payload
319
+ # @return [::Google::Protobuf::Struct]
320
+ # This field can be used to pass custom data into the webhook associated with
321
+ # the agent. Arbitrary JSON objects are supported.
322
+ # Some integrations that query a Dialogflow agent may provide additional
323
+ # information in the payload.
324
+ # In particular, for the Dialogflow Phone Gateway integration, this field has
325
+ # the form:
326
+ # ```
327
+ # {
328
+ # "telephony": {
329
+ # "caller_id": "+18558363987"
330
+ # }
331
+ # }
332
+ # ```
333
+ # @!attribute [rw] parameters
334
+ # @return [::Google::Protobuf::Struct]
335
+ # Additional parameters to be put into [session
336
+ # parameters][SessionInfo.parameters]. To remove a
337
+ # parameter from the session, clients should explicitly set the parameter
338
+ # value to null.
339
+ #
340
+ # You can reference the session parameters in the agent with the following
341
+ # format: $session.params.parameter-id.
342
+ #
343
+ # Depending on your protocol or client library language, this is a
344
+ # map, associative array, symbol table, dictionary, or JSON object
345
+ # composed of a collection of (MapKey, MapValue) pairs:
346
+ #
347
+ # - MapKey type: string
348
+ # - MapKey value: parameter name
349
+ # - MapValue type:
350
+ # - If parameter's entity type is a composite entity: map
351
+ # - Else: depending on parameter value type, could be one of string,
352
+ # number, boolean, null, list or map
353
+ # - MapValue value:
354
+ # - If parameter's entity type is a composite entity:
355
+ # map from composite entity property names to property values
356
+ # - Else: parameter value
357
+ # @!attribute [rw] current_page
358
+ # @return [::String]
359
+ # The unique identifier of the {::Google::Cloud::Dialogflow::CX::V3::Page page} to override the [current
360
+ # page][QueryResult.current_page] in the session.
361
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
362
+ # ID>/flows/<Flow ID>/pages/<Page ID>`.
363
+ #
364
+ # If `current_page` is specified, the previous state of the session will be
365
+ # ignored by Dialogflow, including the [previous
366
+ # page][QueryResult.current_page] and the [previous session
367
+ # parameters][QueryResult.parameters].
368
+ # In most cases, {::Google::Cloud::Dialogflow::CX::V3::QueryParameters#current_page current_page} and
369
+ # {::Google::Cloud::Dialogflow::CX::V3::QueryParameters#parameters parameters} should be configured together to
370
+ # direct a session to a specific state.
371
+ # @!attribute [rw] disable_webhook
372
+ # @return [::Boolean]
373
+ # Whether to disable webhook calls for this request.
374
+ # @!attribute [rw] analyze_query_text_sentiment
375
+ # @return [::Boolean]
376
+ # Configures whether sentiment analysis should be performed. If not
377
+ # provided, sentiment analysis is not performed.
378
+ # @!attribute [rw] webhook_headers
379
+ # @return [::Google::Protobuf::Map{::String => ::String}]
380
+ # This field can be used to pass HTTP headers for a webhook
381
+ # call. These headers will be sent to webhook along with the headers that
382
+ # have been configured through Dialogflow web console. The headers defined
383
+ # within this field will overwrite the headers configured through Dialogflow
384
+ # console if there is a conflict. Header names are case-insensitive.
385
+ # Google's specified headers are not allowed. Including: "Host",
386
+ # "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding",
387
+ # "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc.
388
+ # @!attribute [rw] flow_versions
389
+ # @return [::Array<::String>]
390
+ # A list of flow versions to override for the request.
391
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
392
+ # ID>/flows/<Flow ID>/versions/<Version ID>`.
393
+ #
394
+ # If version 1 of flow X is included in this list, the traffic of
395
+ # flow X will go through version 1 regardless of the version configuration in
396
+ # the environment. Each flow can have at most one version specified in this
397
+ # list.
398
+ class QueryParameters
399
+ include ::Google::Protobuf::MessageExts
400
+ extend ::Google::Protobuf::MessageExts::ClassMethods
401
+
402
+ # @!attribute [rw] key
403
+ # @return [::String]
404
+ # @!attribute [rw] value
405
+ # @return [::String]
406
+ class WebhookHeadersEntry
407
+ include ::Google::Protobuf::MessageExts
408
+ extend ::Google::Protobuf::MessageExts::ClassMethods
409
+ end
410
+ end
411
+
412
+ # Represents the query input. It can contain one of:
413
+ #
414
+ # 1. A conversational query in the form of text.
415
+ #
416
+ # 2. An intent query that specifies which intent to trigger.
417
+ #
418
+ # 3. Natural language speech audio to be processed.
419
+ #
420
+ # 4. An event to be triggered.
421
+ # @!attribute [rw] text
422
+ # @return [::Google::Cloud::Dialogflow::CX::V3::TextInput]
423
+ # The natural language text to be processed.
424
+ # @!attribute [rw] intent
425
+ # @return [::Google::Cloud::Dialogflow::CX::V3::IntentInput]
426
+ # The intent to be triggered.
427
+ # @!attribute [rw] audio
428
+ # @return [::Google::Cloud::Dialogflow::CX::V3::AudioInput]
429
+ # The natural language speech audio to be processed.
430
+ # @!attribute [rw] event
431
+ # @return [::Google::Cloud::Dialogflow::CX::V3::EventInput]
432
+ # The event to be triggered.
433
+ # @!attribute [rw] dtmf
434
+ # @return [::Google::Cloud::Dialogflow::CX::V3::DtmfInput]
435
+ # The DTMF event to be handled.
436
+ # @!attribute [rw] language_code
437
+ # @return [::String]
438
+ # Required. The language of the input. See [Language
439
+ # Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
440
+ # for a list of the currently supported language codes. Note that queries in
441
+ # the same session do not necessarily need to specify the same language.
442
+ class QueryInput
443
+ include ::Google::Protobuf::MessageExts
444
+ extend ::Google::Protobuf::MessageExts::ClassMethods
445
+ end
446
+
447
+ # Represents the result of a conversational query.
448
+ # @!attribute [rw] text
449
+ # @return [::String]
450
+ # If {::Google::Cloud::Dialogflow::CX::V3::TextInput natural language text} was provided as input, this field
451
+ # will contain a copy of the text.
452
+ # @!attribute [rw] trigger_intent
453
+ # @return [::String]
454
+ # If an {::Google::Cloud::Dialogflow::CX::V3::IntentInput intent} was provided as input, this field will
455
+ # contain a copy of the intent identifier.
456
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
457
+ # ID>/intents/<Intent ID>`.
458
+ # @!attribute [rw] transcript
459
+ # @return [::String]
460
+ # If {::Google::Cloud::Dialogflow::CX::V3::AudioInput natural language speech audio} was provided as input,
461
+ # this field will contain the transcript for the audio.
462
+ # @!attribute [rw] trigger_event
463
+ # @return [::String]
464
+ # If an {::Google::Cloud::Dialogflow::CX::V3::EventInput event} was provided as input, this field will contain
465
+ # the name of the event.
466
+ # @!attribute [rw] language_code
467
+ # @return [::String]
468
+ # The language that was triggered during intent detection.
469
+ # See [Language
470
+ # Support](https://cloud.google.com/dialogflow/cx/docs/reference/language)
471
+ # for a list of the currently supported language codes.
472
+ # @!attribute [rw] parameters
473
+ # @return [::Google::Protobuf::Struct]
474
+ # The collected {::Google::Cloud::Dialogflow::CX::V3::SessionInfo#parameters session parameters}.
475
+ #
476
+ # Depending on your protocol or client library language, this is a
477
+ # map, associative array, symbol table, dictionary, or JSON object
478
+ # composed of a collection of (MapKey, MapValue) pairs:
479
+ #
480
+ # - MapKey type: string
481
+ # - MapKey value: parameter name
482
+ # - MapValue type:
483
+ # - If parameter's entity type is a composite entity: map
484
+ # - Else: depending on parameter value type, could be one of string,
485
+ # number, boolean, null, list or map
486
+ # - MapValue value:
487
+ # - If parameter's entity type is a composite entity:
488
+ # map from composite entity property names to property values
489
+ # - Else: parameter value
490
+ # @!attribute [rw] response_messages
491
+ # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::ResponseMessage>]
492
+ # The list of rich messages returned to the client. Responses vary from
493
+ # simple text messages to more sophisticated, structured payloads used
494
+ # to drive complex logic.
495
+ # @!attribute [rw] webhook_statuses
496
+ # @return [::Array<::Google::Rpc::Status>]
497
+ # The list of webhook call status in the order of call sequence.
498
+ # @!attribute [rw] webhook_payloads
499
+ # @return [::Array<::Google::Protobuf::Struct>]
500
+ # The list of webhook payload in {::Google::Cloud::Dialogflow::CX::V3::WebhookResponse#payload WebhookResponse.payload}, in
501
+ # the order of call sequence. If some webhook call fails or doesn't return
502
+ # any payload, an empty `Struct` would be used instead.
503
+ # @!attribute [rw] current_page
504
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Page]
505
+ # The current {::Google::Cloud::Dialogflow::CX::V3::Page Page}. Some, not all fields are filled in this message,
506
+ # including but not limited to `name` and `display_name`.
507
+ # @!attribute [rw] intent
508
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Intent]
509
+ # The {::Google::Cloud::Dialogflow::CX::V3::Intent Intent} that matched the conversational query. Some, not all fields
510
+ # are filled in this message, including but not limited to: `name` and
511
+ # `display_name`.
512
+ # This field is deprecated, please use {::Google::Cloud::Dialogflow::CX::V3::QueryResult#match QueryResult.match} instead.
513
+ # @!attribute [rw] intent_detection_confidence
514
+ # @return [::Float]
515
+ # The intent detection confidence. Values range from 0.0 (completely
516
+ # uncertain) to 1.0 (completely certain).
517
+ # This value is for informational purpose only and is only used to
518
+ # help match the best intent within the classification threshold.
519
+ # This value may change for the same end-user expression at any time due to a
520
+ # model retraining or change in implementation.
521
+ # This field is deprecated, please use {::Google::Cloud::Dialogflow::CX::V3::QueryResult#match QueryResult.match} instead.
522
+ # @!attribute [rw] match
523
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Match]
524
+ # Intent match result, could be an intent or an event.
525
+ # @!attribute [rw] diagnostic_info
526
+ # @return [::Google::Protobuf::Struct]
527
+ # The free-form diagnostic info. For example, this field could contain
528
+ # webhook call latency. The string keys of the Struct's fields map can change
529
+ # without notice.
530
+ # @!attribute [rw] sentiment_analysis_result
531
+ # @return [::Google::Cloud::Dialogflow::CX::V3::SentimentAnalysisResult]
532
+ # The sentiment analyss result, which depends on
533
+ # [`analyze_query_text_sentiment`]
534
+ # [google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment], specified in the request.
535
+ class QueryResult
536
+ include ::Google::Protobuf::MessageExts
537
+ extend ::Google::Protobuf::MessageExts::ClassMethods
538
+ end
539
+
540
+ # Represents the natural language text to be processed.
541
+ # @!attribute [rw] text
542
+ # @return [::String]
543
+ # Required. The UTF-8 encoded natural language text to be processed. Text length must
544
+ # not exceed 256 characters.
545
+ class TextInput
546
+ include ::Google::Protobuf::MessageExts
547
+ extend ::Google::Protobuf::MessageExts::ClassMethods
548
+ end
549
+
550
+ # Represents the intent to trigger programmatically rather than as a result of
551
+ # natural language processing.
552
+ # @!attribute [rw] intent
553
+ # @return [::String]
554
+ # Required. The unique identifier of the intent.
555
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
556
+ # ID>/intents/<Intent ID>`.
557
+ class IntentInput
558
+ include ::Google::Protobuf::MessageExts
559
+ extend ::Google::Protobuf::MessageExts::ClassMethods
560
+ end
561
+
562
+ # Represents the natural speech audio to be processed.
563
+ # @!attribute [rw] config
564
+ # @return [::Google::Cloud::Dialogflow::CX::V3::InputAudioConfig]
565
+ # Required. Instructs the speech recognizer how to process the speech audio.
566
+ # @!attribute [rw] audio
567
+ # @return [::String]
568
+ # The natural language speech audio to be processed.
569
+ # A single request can contain up to 1 minute of speech audio data.
570
+ # The {::Google::Cloud::Dialogflow::CX::V3::QueryResult#transcript transcribed text} cannot contain more than 256
571
+ # bytes.
572
+ #
573
+ # For non-streaming audio detect intent, both `config` and `audio` must be
574
+ # provided.
575
+ # For streaming audio detect intent, `config` must be provided in
576
+ # the first request and `audio` must be provided in all following requests.
577
+ class AudioInput
578
+ include ::Google::Protobuf::MessageExts
579
+ extend ::Google::Protobuf::MessageExts::ClassMethods
580
+ end
581
+
582
+ # Represents the event to trigger.
583
+ # @!attribute [rw] event
584
+ # @return [::String]
585
+ # Name of the event.
586
+ class EventInput
587
+ include ::Google::Protobuf::MessageExts
588
+ extend ::Google::Protobuf::MessageExts::ClassMethods
589
+ end
590
+
591
+ # Represents the input for dtmf event.
592
+ # @!attribute [rw] digits
593
+ # @return [::String]
594
+ # The dtmf digits.
595
+ # @!attribute [rw] finish_digit
596
+ # @return [::String]
597
+ # The finish digit (if any).
598
+ class DtmfInput
599
+ include ::Google::Protobuf::MessageExts
600
+ extend ::Google::Protobuf::MessageExts::ClassMethods
601
+ end
602
+
603
+ # Represents one match result of [MatchIntent][].
604
+ # @!attribute [rw] intent
605
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Intent]
606
+ # The {::Google::Cloud::Dialogflow::CX::V3::Intent Intent} that matched the query. Some, not all fields are filled in
607
+ # this message, including but not limited to: `name` and `display_name`. Only
608
+ # filled for {::Google::Cloud::Dialogflow::CX::V3::Match::MatchType `INTENT`} match type.
609
+ # @!attribute [rw] event
610
+ # @return [::String]
611
+ # The event that matched the query. Only filled for
612
+ # {::Google::Cloud::Dialogflow::CX::V3::Match::MatchType `EVENT`} match type.
613
+ # @!attribute [rw] parameters
614
+ # @return [::Google::Protobuf::Struct]
615
+ # The collection of parameters extracted from the query.
616
+ #
617
+ # Depending on your protocol or client library language, this is a
618
+ # map, associative array, symbol table, dictionary, or JSON object
619
+ # composed of a collection of (MapKey, MapValue) pairs:
620
+ #
621
+ # - MapKey type: string
622
+ # - MapKey value: parameter name
623
+ # - MapValue type:
624
+ # - If parameter's entity type is a composite entity: map
625
+ # - Else: depending on parameter value type, could be one of string,
626
+ # number, boolean, null, list or map
627
+ # - MapValue value:
628
+ # - If parameter's entity type is a composite entity:
629
+ # map from composite entity property names to property values
630
+ # - Else: parameter value
631
+ # @!attribute [rw] resolved_input
632
+ # @return [::String]
633
+ # Final text input which was matched during MatchIntent. This value can be
634
+ # different from original input sent in request because of spelling
635
+ # correction or other processing.
636
+ # @!attribute [rw] match_type
637
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Match::MatchType]
638
+ # Type of this {::Google::Cloud::Dialogflow::CX::V3::Match Match}.
639
+ # @!attribute [rw] confidence
640
+ # @return [::Float]
641
+ # The confidence of this match. Values range from 0.0 (completely uncertain)
642
+ # to 1.0 (completely certain).
643
+ # This value is for informational purpose only and is only used to help match
644
+ # the best intent within the classification threshold. This value may change
645
+ # for the same end-user expression at any time due to a model retraining or
646
+ # change in implementation.
647
+ class Match
648
+ include ::Google::Protobuf::MessageExts
649
+ extend ::Google::Protobuf::MessageExts::ClassMethods
650
+
651
+ # Type of a Match.
652
+ module MatchType
653
+ # Not specified. Should never be used.
654
+ MATCH_TYPE_UNSPECIFIED = 0
655
+
656
+ # The query was matched to an intent.
657
+ INTENT = 1
658
+
659
+ # The query directly triggered an intent.
660
+ DIRECT_INTENT = 2
661
+
662
+ # The query was used for parameter filling.
663
+ PARAMETER_FILLING = 3
664
+
665
+ # No match was found for the query.
666
+ NO_MATCH = 4
667
+
668
+ # Indicates an empty query.
669
+ NO_INPUT = 5
670
+
671
+ # The query directly triggered an event.
672
+ EVENT = 6
673
+ end
674
+ end
675
+
676
+ # Request of [MatchIntent][].
677
+ # @!attribute [rw] session
678
+ # @return [::String]
679
+ # Required. The name of the session this query is sent to.
680
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
681
+ # ID>/sessions/<Session ID>` or `projects/<Project ID>/locations/<Location
682
+ # ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>`.
683
+ # If `Environment ID` is not specified, we assume default 'draft'
684
+ # environment.
685
+ # It's up to the API caller to choose an appropriate `Session ID`. It can be
686
+ # a random number or some type of session identifiers (preferably hashed).
687
+ # The length of the `Session ID` must not exceed 36 characters.
688
+ #
689
+ # For more information, see the [sessions
690
+ # guide](https://cloud.google.com/dialogflow/cx/docs/concept/session).
691
+ # @!attribute [rw] query_params
692
+ # @return [::Google::Cloud::Dialogflow::CX::V3::QueryParameters]
693
+ # The parameters of this query.
694
+ # @!attribute [rw] query_input
695
+ # @return [::Google::Cloud::Dialogflow::CX::V3::QueryInput]
696
+ # Required. The input specification.
697
+ class MatchIntentRequest
698
+ include ::Google::Protobuf::MessageExts
699
+ extend ::Google::Protobuf::MessageExts::ClassMethods
700
+ end
701
+
702
+ # Response of [MatchIntent][].
703
+ # @!attribute [rw] text
704
+ # @return [::String]
705
+ # If {::Google::Cloud::Dialogflow::CX::V3::TextInput natural language text} was provided as input, this field
706
+ # will contain a copy of the text.
707
+ # @!attribute [rw] trigger_intent
708
+ # @return [::String]
709
+ # If an {::Google::Cloud::Dialogflow::CX::V3::IntentInput intent} was provided as input, this field will
710
+ # contain a copy of the intent identifier.
711
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
712
+ # ID>/intents/<Intent ID>`.
713
+ # @!attribute [rw] transcript
714
+ # @return [::String]
715
+ # If {::Google::Cloud::Dialogflow::CX::V3::AudioInput natural language speech audio} was provided as input,
716
+ # this field will contain the transcript for the audio.
717
+ # @!attribute [rw] trigger_event
718
+ # @return [::String]
719
+ # If an {::Google::Cloud::Dialogflow::CX::V3::EventInput event} was provided as input, this field will
720
+ # contain a copy of the event name.
721
+ # @!attribute [rw] matches
722
+ # @return [::Array<::Google::Cloud::Dialogflow::CX::V3::Match>]
723
+ # Match results, if more than one, ordered descendingly by the confidence
724
+ # we have that the particular intent matches the query.
725
+ # @!attribute [rw] current_page
726
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Page]
727
+ # The current {::Google::Cloud::Dialogflow::CX::V3::Page Page}. Some, not all fields are filled in this message,
728
+ # including but not limited to `name` and `display_name`.
729
+ class MatchIntentResponse
730
+ include ::Google::Protobuf::MessageExts
731
+ extend ::Google::Protobuf::MessageExts::ClassMethods
732
+ end
733
+
734
+ # Request of [FulfillIntent][]
735
+ # @!attribute [rw] match_intent_request
736
+ # @return [::Google::Cloud::Dialogflow::CX::V3::MatchIntentRequest]
737
+ # Must be same as the corresponding MatchIntent request, otherwise the
738
+ # behavior is undefined.
739
+ # @!attribute [rw] match
740
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Match]
741
+ # The matched intent/event to fulfill.
742
+ # @!attribute [rw] output_audio_config
743
+ # @return [::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig]
744
+ # Instructs the speech synthesizer how to generate output audio.
745
+ class FulfillIntentRequest
746
+ include ::Google::Protobuf::MessageExts
747
+ extend ::Google::Protobuf::MessageExts::ClassMethods
748
+ end
749
+
750
+ # Response of [FulfillIntent][]
751
+ # @!attribute [rw] response_id
752
+ # @return [::String]
753
+ # Output only. The unique identifier of the response. It can be used to
754
+ # locate a response in the training example set or for reporting issues.
755
+ # @!attribute [rw] query_result
756
+ # @return [::Google::Cloud::Dialogflow::CX::V3::QueryResult]
757
+ # The result of the conversational query.
758
+ # @!attribute [rw] output_audio
759
+ # @return [::String]
760
+ # The audio data bytes encoded as specified in the request.
761
+ # Note: The output audio is generated based on the values of default platform
762
+ # text responses found in the
763
+ # {::Google::Cloud::Dialogflow::CX::V3::QueryResult#response_messages `query_result.response_messages`} field. If
764
+ # multiple default text responses exist, they will be concatenated when
765
+ # generating audio. If no default platform text responses exist, the
766
+ # generated audio content will be empty.
767
+ #
768
+ # In some scenarios, multiple output audio fields may be present in the
769
+ # response structure. In these cases, only the top-most-level audio output
770
+ # has content.
771
+ # @!attribute [rw] output_audio_config
772
+ # @return [::Google::Cloud::Dialogflow::CX::V3::OutputAudioConfig]
773
+ # The config used by the speech synthesizer to generate the output audio.
774
+ class FulfillIntentResponse
775
+ include ::Google::Protobuf::MessageExts
776
+ extend ::Google::Protobuf::MessageExts::ClassMethods
777
+ end
778
+
779
+ # The result of sentiment analysis. Sentiment analysis inspects user input
780
+ # and identifies the prevailing subjective opinion, especially to determine a
781
+ # user's attitude as positive, negative, or neutral.
782
+ # @!attribute [rw] score
783
+ # @return [::Float]
784
+ # Sentiment score between -1.0 (negative sentiment) and 1.0 (positive
785
+ # sentiment).
786
+ # @!attribute [rw] magnitude
787
+ # @return [::Float]
788
+ # A non-negative number in the [0, +inf) range, which represents the absolute
789
+ # magnitude of sentiment, regardless of score (positive or negative).
790
+ class SentimentAnalysisResult
791
+ include ::Google::Protobuf::MessageExts
792
+ extend ::Google::Protobuf::MessageExts::ClassMethods
793
+ end
794
+ end
795
+ end
796
+ end
797
+ end
798
+ end