google-api-client 0.41.0 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +149 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admob_v1/service.rb +1 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +1481 -107
- data/generated/google/apis/apigee_v1/representations.rb +559 -0
- data/generated/google/apis/apigee_v1/service.rb +1162 -117
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +36 -6
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +6 -6
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
- data/generated/google/apis/civicinfo_v2/service.rb +28 -63
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/classroom_v1/service.rb +4 -3
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +178 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +271 -11
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +20 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +99 -61
- data/generated/google/apis/compute_alpha/representations.rb +3 -0
- data/generated/google/apis/compute_alpha/service.rb +32 -33
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +317 -60
- data/generated/google/apis/compute_beta/representations.rb +72 -0
- data/generated/google/apis/compute_beta/service.rb +308 -33
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +676 -58
- data/generated/google/apis/compute_v1/representations.rb +199 -0
- data/generated/google/apis/compute_v1/service.rb +522 -33
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +123 -5
- data/generated/google/apis/container_v1/representations.rb +50 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +121 -17
- data/generated/google/apis/container_v1beta1/representations.rb +37 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +172 -0
- data/generated/google/apis/content_v2_1/representations.rb +71 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +1606 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +608 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +6 -5
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -5
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +268 -28
- data/generated/google/apis/dialogflow_v2/representations.rb +93 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +272 -30
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +50 -44
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +117 -10
- data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
- data/generated/google/apis/displayvideo_v1/service.rb +78 -5
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/drive_v2/classes.rb +9 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +212 -1154
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/{groupsmigration_v1.rb → gameservices_v1.rb} +10 -11
- data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/{androidpublisher_v1_1.rb → gmailpostmastertools_v1beta1.rb} +11 -12
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +14 -6
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +12 -4
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +8 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +28 -30
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/recommender_v1/classes.rb +211 -0
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +123 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +1 -3
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +4 -5
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +90 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +25 -20
- data/generated/google/apis/spanner_v1/service.rb +7 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +17 -6
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/{androidpublisher_v1/representations.rb → vectortile_v1.rb} +11 -6
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_v3/classes.rb +554 -0
- data/generated/google/apis/youtube_v3/representations.rb +281 -0
- data/generated/google/apis/youtube_v3/service.rb +259 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -19
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
|
@@ -190,6 +190,13 @@ module Google
|
|
|
190
190
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess]
|
|
191
191
|
attr_accessor :conversation_success
|
|
192
192
|
|
|
193
|
+
# Indicates that interaction with the Dialogflow agent has ended.
|
|
194
|
+
# This message is generated by Dialogflow only and not supposed to be
|
|
195
|
+
# defined by the user.
|
|
196
|
+
# Corresponds to the JSON property `endInteraction`
|
|
197
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction]
|
|
198
|
+
attr_accessor :end_interaction
|
|
199
|
+
|
|
193
200
|
# Indicates that the conversation should be handed off to a human agent.
|
|
194
201
|
# Dialogflow only uses this to determine which conversations were handed off
|
|
195
202
|
# to a human agent for measurement purposes. What else to do with this signal
|
|
@@ -204,11 +211,47 @@ module Google
|
|
|
204
211
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff]
|
|
205
212
|
attr_accessor :human_agent_handoff
|
|
206
213
|
|
|
214
|
+
# Indicates that the conversation should be handed off to a live agent.
|
|
215
|
+
# Dialogflow only uses this to determine which conversations were handed off
|
|
216
|
+
# to a human agent for measurement purposes. What else to do with this signal
|
|
217
|
+
# is up to you and your handoff procedures.
|
|
218
|
+
# You may set this, for example:
|
|
219
|
+
# * In the entry_fulfillment of a Page if
|
|
220
|
+
# entering the page indicates something went extremely wrong in the
|
|
221
|
+
# conversation.
|
|
222
|
+
# * In a webhook response when you determine that the customer issue can only
|
|
223
|
+
# be handled by a human.
|
|
224
|
+
# Corresponds to the JSON property `liveAgentHandoff`
|
|
225
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff]
|
|
226
|
+
attr_accessor :live_agent_handoff
|
|
227
|
+
|
|
228
|
+
# Represents an audio message that is composed of both segments
|
|
229
|
+
# synthesized from the Dialogflow agent prompts and ones hosted externally
|
|
230
|
+
# at the specified URIs.
|
|
231
|
+
# The external URIs are specified via
|
|
232
|
+
# play_audio.
|
|
233
|
+
# This message is generated by Dialogflow only and not supposed to be
|
|
234
|
+
# defined by the user.
|
|
235
|
+
# Corresponds to the JSON property `mixedAudio`
|
|
236
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio]
|
|
237
|
+
attr_accessor :mixed_audio
|
|
238
|
+
|
|
239
|
+
# A text or ssml response that is preferentially used for TTS output audio
|
|
240
|
+
# synthesis, as described in the comment on the ResponseMessage message.
|
|
241
|
+
# Corresponds to the JSON property `outputAudioText`
|
|
242
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText]
|
|
243
|
+
attr_accessor :output_audio_text
|
|
244
|
+
|
|
207
245
|
# Returns a response containing a custom, platform-specific payload.
|
|
208
246
|
# Corresponds to the JSON property `payload`
|
|
209
247
|
# @return [Hash<String,Object>]
|
|
210
248
|
attr_accessor :payload
|
|
211
249
|
|
|
250
|
+
# Specifies an audio clip to be played by the client as part of the response.
|
|
251
|
+
# Corresponds to the JSON property `playAudio`
|
|
252
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio]
|
|
253
|
+
attr_accessor :play_audio
|
|
254
|
+
|
|
212
255
|
# The text response message.
|
|
213
256
|
# Corresponds to the JSON property `text`
|
|
214
257
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
|
|
@@ -221,8 +264,13 @@ module Google
|
|
|
221
264
|
# Update properties of this object
|
|
222
265
|
def update!(**args)
|
|
223
266
|
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
|
267
|
+
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
|
224
268
|
@human_agent_handoff = args[:human_agent_handoff] if args.key?(:human_agent_handoff)
|
|
269
|
+
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
|
270
|
+
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
|
271
|
+
@output_audio_text = args[:output_audio_text] if args.key?(:output_audio_text)
|
|
225
272
|
@payload = args[:payload] if args.key?(:payload)
|
|
273
|
+
@play_audio = args[:play_audio] if args.key?(:play_audio)
|
|
226
274
|
@text = args[:text] if args.key?(:text)
|
|
227
275
|
end
|
|
228
276
|
end
|
|
@@ -257,6 +305,21 @@ module Google
|
|
|
257
305
|
end
|
|
258
306
|
end
|
|
259
307
|
|
|
308
|
+
# Indicates that interaction with the Dialogflow agent has ended.
|
|
309
|
+
# This message is generated by Dialogflow only and not supposed to be
|
|
310
|
+
# defined by the user.
|
|
311
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction
|
|
312
|
+
include Google::Apis::Core::Hashable
|
|
313
|
+
|
|
314
|
+
def initialize(**args)
|
|
315
|
+
update!(**args)
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
# Update properties of this object
|
|
319
|
+
def update!(**args)
|
|
320
|
+
end
|
|
321
|
+
end
|
|
322
|
+
|
|
260
323
|
# Indicates that the conversation should be handed off to a human agent.
|
|
261
324
|
# Dialogflow only uses this to determine which conversations were handed off
|
|
262
325
|
# to a human agent for measurement purposes. What else to do with this signal
|
|
@@ -286,11 +349,167 @@ module Google
|
|
|
286
349
|
end
|
|
287
350
|
end
|
|
288
351
|
|
|
352
|
+
# Indicates that the conversation should be handed off to a live agent.
|
|
353
|
+
# Dialogflow only uses this to determine which conversations were handed off
|
|
354
|
+
# to a human agent for measurement purposes. What else to do with this signal
|
|
355
|
+
# is up to you and your handoff procedures.
|
|
356
|
+
# You may set this, for example:
|
|
357
|
+
# * In the entry_fulfillment of a Page if
|
|
358
|
+
# entering the page indicates something went extremely wrong in the
|
|
359
|
+
# conversation.
|
|
360
|
+
# * In a webhook response when you determine that the customer issue can only
|
|
361
|
+
# be handled by a human.
|
|
362
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
|
363
|
+
include Google::Apis::Core::Hashable
|
|
364
|
+
|
|
365
|
+
# Custom metadata for your handoff procedure. Dialogflow doesn't impose
|
|
366
|
+
# any structure on this.
|
|
367
|
+
# Corresponds to the JSON property `metadata`
|
|
368
|
+
# @return [Hash<String,Object>]
|
|
369
|
+
attr_accessor :metadata
|
|
370
|
+
|
|
371
|
+
def initialize(**args)
|
|
372
|
+
update!(**args)
|
|
373
|
+
end
|
|
374
|
+
|
|
375
|
+
# Update properties of this object
|
|
376
|
+
def update!(**args)
|
|
377
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
378
|
+
end
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
# Represents an audio message that is composed of both segments
|
|
382
|
+
# synthesized from the Dialogflow agent prompts and ones hosted externally
|
|
383
|
+
# at the specified URIs.
|
|
384
|
+
# The external URIs are specified via
|
|
385
|
+
# play_audio.
|
|
386
|
+
# This message is generated by Dialogflow only and not supposed to be
|
|
387
|
+
# defined by the user.
|
|
388
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio
|
|
389
|
+
include Google::Apis::Core::Hashable
|
|
390
|
+
|
|
391
|
+
# Segments this audio response is composed of.
|
|
392
|
+
# Corresponds to the JSON property `segments`
|
|
393
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment>]
|
|
394
|
+
attr_accessor :segments
|
|
395
|
+
|
|
396
|
+
def initialize(**args)
|
|
397
|
+
update!(**args)
|
|
398
|
+
end
|
|
399
|
+
|
|
400
|
+
# Update properties of this object
|
|
401
|
+
def update!(**args)
|
|
402
|
+
@segments = args[:segments] if args.key?(:segments)
|
|
403
|
+
end
|
|
404
|
+
end
|
|
405
|
+
|
|
406
|
+
# Represents one segment of audio.
|
|
407
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment
|
|
408
|
+
include Google::Apis::Core::Hashable
|
|
409
|
+
|
|
410
|
+
# Whether the playback of this segment can be interrupted by the end
|
|
411
|
+
# user's speech and the client should then start the next Dialogflow
|
|
412
|
+
# request.
|
|
413
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
|
414
|
+
# @return [Boolean]
|
|
415
|
+
attr_accessor :allow_playback_interruption
|
|
416
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
|
417
|
+
|
|
418
|
+
# Raw audio synthesized from the Dialogflow agent's response using
|
|
419
|
+
# the output config specified in the request.
|
|
420
|
+
# Corresponds to the JSON property `audio`
|
|
421
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
422
|
+
# @return [String]
|
|
423
|
+
attr_accessor :audio
|
|
424
|
+
|
|
425
|
+
# Client-specific URI that points to an audio clip accessible to the
|
|
426
|
+
# client. Dialogflow does not impose any validation on it.
|
|
427
|
+
# Corresponds to the JSON property `uri`
|
|
428
|
+
# @return [String]
|
|
429
|
+
attr_accessor :uri
|
|
430
|
+
|
|
431
|
+
def initialize(**args)
|
|
432
|
+
update!(**args)
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
# Update properties of this object
|
|
436
|
+
def update!(**args)
|
|
437
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
|
438
|
+
@audio = args[:audio] if args.key?(:audio)
|
|
439
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
440
|
+
end
|
|
441
|
+
end
|
|
442
|
+
|
|
443
|
+
# A text or ssml response that is preferentially used for TTS output audio
|
|
444
|
+
# synthesis, as described in the comment on the ResponseMessage message.
|
|
445
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
|
|
446
|
+
include Google::Apis::Core::Hashable
|
|
447
|
+
|
|
448
|
+
# The SSML text to be synthesized. For more information, see
|
|
449
|
+
# [SSML](/speech/text-to-speech/docs/ssml).
|
|
450
|
+
# Corresponds to the JSON property `ssml`
|
|
451
|
+
# @return [String]
|
|
452
|
+
attr_accessor :ssml
|
|
453
|
+
|
|
454
|
+
# The raw text to be synthesized.
|
|
455
|
+
# Corresponds to the JSON property `text`
|
|
456
|
+
# @return [String]
|
|
457
|
+
attr_accessor :text
|
|
458
|
+
|
|
459
|
+
def initialize(**args)
|
|
460
|
+
update!(**args)
|
|
461
|
+
end
|
|
462
|
+
|
|
463
|
+
# Update properties of this object
|
|
464
|
+
def update!(**args)
|
|
465
|
+
@ssml = args[:ssml] if args.key?(:ssml)
|
|
466
|
+
@text = args[:text] if args.key?(:text)
|
|
467
|
+
end
|
|
468
|
+
end
|
|
469
|
+
|
|
470
|
+
# Specifies an audio clip to be played by the client as part of the response.
|
|
471
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
|
|
472
|
+
include Google::Apis::Core::Hashable
|
|
473
|
+
|
|
474
|
+
# Whether the playback of this message can be interrupted by the end
|
|
475
|
+
# user's speech and the client can then starts the next Dialogflow
|
|
476
|
+
# request.
|
|
477
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
|
478
|
+
# @return [Boolean]
|
|
479
|
+
attr_accessor :allow_playback_interruption
|
|
480
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
|
481
|
+
|
|
482
|
+
# Required. URI of the audio clip. Dialogflow does not impose any validation on
|
|
483
|
+
# this
|
|
484
|
+
# value. It is specific to the client that reads it.
|
|
485
|
+
# Corresponds to the JSON property `audioUri`
|
|
486
|
+
# @return [String]
|
|
487
|
+
attr_accessor :audio_uri
|
|
488
|
+
|
|
489
|
+
def initialize(**args)
|
|
490
|
+
update!(**args)
|
|
491
|
+
end
|
|
492
|
+
|
|
493
|
+
# Update properties of this object
|
|
494
|
+
def update!(**args)
|
|
495
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
|
496
|
+
@audio_uri = args[:audio_uri] if args.key?(:audio_uri)
|
|
497
|
+
end
|
|
498
|
+
end
|
|
499
|
+
|
|
289
500
|
# The text response message.
|
|
290
501
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
|
291
502
|
include Google::Apis::Core::Hashable
|
|
292
503
|
|
|
293
|
-
#
|
|
504
|
+
# Whether the playback of this message can be interrupted by the end
|
|
505
|
+
# user's speech and the client can then starts the next Dialogflow
|
|
506
|
+
# request.
|
|
507
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
|
508
|
+
# @return [Boolean]
|
|
509
|
+
attr_accessor :allow_playback_interruption
|
|
510
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
|
511
|
+
|
|
512
|
+
# Required. A collection of text responses.
|
|
294
513
|
# Corresponds to the JSON property `text`
|
|
295
514
|
# @return [Array<String>]
|
|
296
515
|
attr_accessor :text
|
|
@@ -301,6 +520,7 @@ module Google
|
|
|
301
520
|
|
|
302
521
|
# Update properties of this object
|
|
303
522
|
def update!(**args)
|
|
523
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
|
304
524
|
@text = args[:text] if args.key?(:text)
|
|
305
525
|
end
|
|
306
526
|
end
|
|
@@ -2398,8 +2618,16 @@ module Google
|
|
|
2398
2618
|
# @return [String]
|
|
2399
2619
|
attr_accessor :query_text
|
|
2400
2620
|
|
|
2401
|
-
# The result of sentiment analysis
|
|
2402
|
-
#
|
|
2621
|
+
# The result of sentiment analysis. Sentiment analysis inspects user input
|
|
2622
|
+
# and identifies the prevailing subjective opinion, especially to determine a
|
|
2623
|
+
# user's attitude as positive, negative, or neutral.
|
|
2624
|
+
# For Participants.AnalyzeContent, it needs to be configured in
|
|
2625
|
+
# DetectIntentRequest.query_params. For
|
|
2626
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
2627
|
+
# StreamingDetectIntentRequest.query_params.
|
|
2628
|
+
# And for Participants.AnalyzeContent and
|
|
2629
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
2630
|
+
# ConversationProfile.human_agent_assistant_config
|
|
2403
2631
|
# Corresponds to the JSON property `sentimentAnalysisResult`
|
|
2404
2632
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
|
|
2405
2633
|
attr_accessor :sentiment_analysis_result
|
|
@@ -2480,8 +2708,16 @@ module Google
|
|
|
2480
2708
|
end
|
|
2481
2709
|
end
|
|
2482
2710
|
|
|
2483
|
-
# The result of sentiment analysis
|
|
2484
|
-
#
|
|
2711
|
+
# The result of sentiment analysis. Sentiment analysis inspects user input
|
|
2712
|
+
# and identifies the prevailing subjective opinion, especially to determine a
|
|
2713
|
+
# user's attitude as positive, negative, or neutral.
|
|
2714
|
+
# For Participants.AnalyzeContent, it needs to be configured in
|
|
2715
|
+
# DetectIntentRequest.query_params. For
|
|
2716
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
2717
|
+
# StreamingDetectIntentRequest.query_params.
|
|
2718
|
+
# And for Participants.AnalyzeContent and
|
|
2719
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
2720
|
+
# ConversationProfile.human_agent_assistant_config
|
|
2485
2721
|
class GoogleCloudDialogflowV2SentimentAnalysisResult
|
|
2486
2722
|
include Google::Apis::Core::Hashable
|
|
2487
2723
|
|
|
@@ -3573,8 +3809,10 @@ module Google
|
|
|
3573
3809
|
attr_accessor :description
|
|
3574
3810
|
|
|
3575
3811
|
# Output only. The unique identifier of this agent environment.
|
|
3576
|
-
# Format:
|
|
3577
|
-
#
|
|
3812
|
+
# Format:
|
|
3813
|
+
# - `projects/<Project Number / ID>/agent/environments/<Environment ID>`
|
|
3814
|
+
# - `projects/<Project Number / ID>/locations/<Location
|
|
3815
|
+
# ID>/agent/environments/<Environment ID>`
|
|
3578
3816
|
# Corresponds to the JSON property `name`
|
|
3579
3817
|
# @return [String]
|
|
3580
3818
|
attr_accessor :name
|
|
@@ -4287,9 +4525,6 @@ module Google
|
|
|
4287
4525
|
# Carousel Rich Business Messaging (RBM) rich card.
|
|
4288
4526
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
4289
4527
|
# with media and suggestions.
|
|
4290
|
-
# For more details about RBM rich cards, please see:
|
|
4291
|
-
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
4292
|
-
# guides/build/messages/send#rich-cards
|
|
4293
4528
|
# If you want to show a single card with more control over the layout,
|
|
4294
4529
|
# please use RbmStandaloneCard instead.
|
|
4295
4530
|
# Corresponds to the JSON property `rbmCarouselRichCard`
|
|
@@ -4299,9 +4534,6 @@ module Google
|
|
|
4299
4534
|
# Standalone Rich Business Messaging (RBM) rich card.
|
|
4300
4535
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
4301
4536
|
# with media and suggestions.
|
|
4302
|
-
# For more details about RBM rich cards, please see:
|
|
4303
|
-
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
4304
|
-
# guides/build/messages/send#rich-cards
|
|
4305
4537
|
# You can group multiple rich cards into one using RbmCarouselCard but
|
|
4306
4538
|
# carousel cards will give you less control over the card layout.
|
|
4307
4539
|
# Corresponds to the JSON property `rbmStandaloneRichCard`
|
|
@@ -5009,7 +5241,7 @@ module Google
|
|
|
5009
5241
|
attr_accessor :file_uri
|
|
5010
5242
|
|
|
5011
5243
|
# Required for cards with vertical orientation. The height of the media
|
|
5012
|
-
# within a rich card with a vertical layout.
|
|
5244
|
+
# within a rich card with a vertical layout.
|
|
5013
5245
|
# For a standalone card with horizontal layout, height is not
|
|
5014
5246
|
# customizable, and this field is ignored.
|
|
5015
5247
|
# Corresponds to the JSON property `height`
|
|
@@ -5040,9 +5272,6 @@ module Google
|
|
|
5040
5272
|
# Carousel Rich Business Messaging (RBM) rich card.
|
|
5041
5273
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
5042
5274
|
# with media and suggestions.
|
|
5043
|
-
# For more details about RBM rich cards, please see:
|
|
5044
|
-
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
5045
|
-
# guides/build/messages/send#rich-cards
|
|
5046
5275
|
# If you want to show a single card with more control over the layout,
|
|
5047
5276
|
# please use RbmStandaloneCard instead.
|
|
5048
5277
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
|
|
@@ -5073,9 +5302,6 @@ module Google
|
|
|
5073
5302
|
# Standalone Rich Business Messaging (RBM) rich card.
|
|
5074
5303
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
5075
5304
|
# with media and suggestions.
|
|
5076
|
-
# For more details about RBM rich cards, please see:
|
|
5077
|
-
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
5078
|
-
# guides/build/messages/send#rich-cards
|
|
5079
5305
|
# You can group multiple rich cards into one using RbmCarouselCard but
|
|
5080
5306
|
# carousel cards will give you less control over the card layout.
|
|
5081
5307
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
|
|
@@ -5115,13 +5341,13 @@ module Google
|
|
|
5115
5341
|
include Google::Apis::Core::Hashable
|
|
5116
5342
|
|
|
5117
5343
|
# Opens the user's default dialer app with the specified phone number
|
|
5118
|
-
# but does not dial automatically
|
|
5344
|
+
# but does not dial automatically.
|
|
5119
5345
|
# Corresponds to the JSON property `dial`
|
|
5120
5346
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial]
|
|
5121
5347
|
attr_accessor :dial
|
|
5122
5348
|
|
|
5123
5349
|
# Opens the user's default web browser app to the specified uri
|
|
5124
|
-
#
|
|
5350
|
+
# If the user has an app installed that is
|
|
5125
5351
|
# registered as the default handler for the URL, then this app will be
|
|
5126
5352
|
# opened instead, and its icon will be used in the suggested action UI.
|
|
5127
5353
|
# Corresponds to the JSON property `openUrl`
|
|
@@ -5136,7 +5362,7 @@ module Google
|
|
|
5136
5362
|
attr_accessor :postback_data
|
|
5137
5363
|
|
|
5138
5364
|
# Opens the device's location chooser so the user can pick a location
|
|
5139
|
-
# to send back to the agent
|
|
5365
|
+
# to send back to the agent.
|
|
5140
5366
|
# Corresponds to the JSON property `shareLocation`
|
|
5141
5367
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation]
|
|
5142
5368
|
attr_accessor :share_location
|
|
@@ -5161,7 +5387,7 @@ module Google
|
|
|
5161
5387
|
end
|
|
5162
5388
|
|
|
5163
5389
|
# Opens the user's default dialer app with the specified phone number
|
|
5164
|
-
# but does not dial automatically
|
|
5390
|
+
# but does not dial automatically.
|
|
5165
5391
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
|
|
5166
5392
|
include Google::Apis::Core::Hashable
|
|
5167
5393
|
|
|
@@ -5184,7 +5410,7 @@ module Google
|
|
|
5184
5410
|
end
|
|
5185
5411
|
|
|
5186
5412
|
# Opens the user's default web browser app to the specified uri
|
|
5187
|
-
#
|
|
5413
|
+
# If the user has an app installed that is
|
|
5188
5414
|
# registered as the default handler for the URL, then this app will be
|
|
5189
5415
|
# opened instead, and its icon will be used in the suggested action UI.
|
|
5190
5416
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
|
|
@@ -5206,7 +5432,7 @@ module Google
|
|
|
5206
5432
|
end
|
|
5207
5433
|
|
|
5208
5434
|
# Opens the device's location chooser so the user can pick a location
|
|
5209
|
-
# to send back to the agent
|
|
5435
|
+
# to send back to the agent.
|
|
5210
5436
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation
|
|
5211
5437
|
include Google::Apis::Core::Hashable
|
|
5212
5438
|
|
|
@@ -6467,8 +6693,16 @@ module Google
|
|
|
6467
6693
|
# @return [String]
|
|
6468
6694
|
attr_accessor :query_text
|
|
6469
6695
|
|
|
6470
|
-
# The result of sentiment analysis
|
|
6471
|
-
#
|
|
6696
|
+
# The result of sentiment analysis. Sentiment analysis inspects user input
|
|
6697
|
+
# and identifies the prevailing subjective opinion, especially to determine a
|
|
6698
|
+
# user's attitude as positive, negative, or neutral.
|
|
6699
|
+
# For Participants.AnalyzeContent, it needs to be configured in
|
|
6700
|
+
# DetectIntentRequest.query_params. For
|
|
6701
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
6702
|
+
# StreamingDetectIntentRequest.query_params.
|
|
6703
|
+
# And for Participants.AnalyzeContent and
|
|
6704
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
6705
|
+
# ConversationProfile.human_agent_assistant_config
|
|
6472
6706
|
# Corresponds to the JSON property `sentimentAnalysisResult`
|
|
6473
6707
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SentimentAnalysisResult]
|
|
6474
6708
|
attr_accessor :sentiment_analysis_result
|
|
@@ -6645,8 +6879,16 @@ module Google
|
|
|
6645
6879
|
end
|
|
6646
6880
|
end
|
|
6647
6881
|
|
|
6648
|
-
# The result of sentiment analysis
|
|
6649
|
-
#
|
|
6882
|
+
# The result of sentiment analysis. Sentiment analysis inspects user input
|
|
6883
|
+
# and identifies the prevailing subjective opinion, especially to determine a
|
|
6884
|
+
# user's attitude as positive, negative, or neutral.
|
|
6885
|
+
# For Participants.AnalyzeContent, it needs to be configured in
|
|
6886
|
+
# DetectIntentRequest.query_params. For
|
|
6887
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
6888
|
+
# StreamingDetectIntentRequest.query_params.
|
|
6889
|
+
# And for Participants.AnalyzeContent and
|
|
6890
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
6891
|
+
# ConversationProfile.human_agent_assistant_config
|
|
6650
6892
|
class GoogleCloudDialogflowV2beta1SentimentAnalysisResult
|
|
6651
6893
|
include Google::Apis::Core::Hashable
|
|
6652
6894
|
|
|
@@ -58,12 +58,48 @@ module Google
|
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
61
67
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
|
|
62
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
69
|
|
|
64
70
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
71
|
end
|
|
66
72
|
|
|
73
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
67
103
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
|
68
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
105
|
|
|
@@ -1161,9 +1197,19 @@ module Google
|
|
|
1161
1197
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1162
1198
|
property :conversation_success, as: 'conversationSuccess', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess::Representation
|
|
1163
1199
|
|
|
1200
|
+
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation
|
|
1201
|
+
|
|
1164
1202
|
property :human_agent_handoff, as: 'humanAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff::Representation
|
|
1165
1203
|
|
|
1204
|
+
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff::Representation
|
|
1205
|
+
|
|
1206
|
+
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation
|
|
1207
|
+
|
|
1208
|
+
property :output_audio_text, as: 'outputAudioText', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText::Representation
|
|
1209
|
+
|
|
1166
1210
|
hash :payload, as: 'payload'
|
|
1211
|
+
property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
|
|
1212
|
+
|
|
1167
1213
|
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
|
|
1168
1214
|
|
|
1169
1215
|
end
|
|
@@ -1176,6 +1222,12 @@ module Google
|
|
|
1176
1222
|
end
|
|
1177
1223
|
end
|
|
1178
1224
|
|
|
1225
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction
|
|
1226
|
+
# @private
|
|
1227
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1228
|
+
end
|
|
1229
|
+
end
|
|
1230
|
+
|
|
1179
1231
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
|
|
1180
1232
|
# @private
|
|
1181
1233
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1183,9 +1235,50 @@ module Google
|
|
|
1183
1235
|
end
|
|
1184
1236
|
end
|
|
1185
1237
|
|
|
1238
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
|
1239
|
+
# @private
|
|
1240
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1241
|
+
hash :metadata, as: 'metadata'
|
|
1242
|
+
end
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1245
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio
|
|
1246
|
+
# @private
|
|
1247
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1248
|
+
collection :segments, as: 'segments', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment::Representation
|
|
1249
|
+
|
|
1250
|
+
end
|
|
1251
|
+
end
|
|
1252
|
+
|
|
1253
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment
|
|
1254
|
+
# @private
|
|
1255
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1256
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
|
1257
|
+
property :audio, :base64 => true, as: 'audio'
|
|
1258
|
+
property :uri, as: 'uri'
|
|
1259
|
+
end
|
|
1260
|
+
end
|
|
1261
|
+
|
|
1262
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
|
|
1263
|
+
# @private
|
|
1264
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1265
|
+
property :ssml, as: 'ssml'
|
|
1266
|
+
property :text, as: 'text'
|
|
1267
|
+
end
|
|
1268
|
+
end
|
|
1269
|
+
|
|
1270
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
|
|
1271
|
+
# @private
|
|
1272
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1273
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
|
1274
|
+
property :audio_uri, as: 'audioUri'
|
|
1275
|
+
end
|
|
1276
|
+
end
|
|
1277
|
+
|
|
1186
1278
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
|
1187
1279
|
# @private
|
|
1188
1280
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1281
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
|
1189
1282
|
collection :text, as: 'text'
|
|
1190
1283
|
end
|
|
1191
1284
|
end
|