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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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
|
|
@@ -3516,8 +3736,16 @@ module Google
|
|
|
3516
3736
|
# @return [String]
|
|
3517
3737
|
attr_accessor :query_text
|
|
3518
3738
|
|
|
3519
|
-
# The result of sentiment analysis
|
|
3520
|
-
#
|
|
3739
|
+
# The result of sentiment analysis. Sentiment analysis inspects user input
|
|
3740
|
+
# and identifies the prevailing subjective opinion, especially to determine a
|
|
3741
|
+
# user's attitude as positive, negative, or neutral.
|
|
3742
|
+
# For Participants.AnalyzeContent, it needs to be configured in
|
|
3743
|
+
# DetectIntentRequest.query_params. For
|
|
3744
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
3745
|
+
# StreamingDetectIntentRequest.query_params.
|
|
3746
|
+
# And for Participants.AnalyzeContent and
|
|
3747
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
3748
|
+
# ConversationProfile.human_agent_assistant_config
|
|
3521
3749
|
# Corresponds to the JSON property `sentimentAnalysisResult`
|
|
3522
3750
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SentimentAnalysisResult]
|
|
3523
3751
|
attr_accessor :sentiment_analysis_result
|
|
@@ -3674,8 +3902,16 @@ module Google
|
|
|
3674
3902
|
end
|
|
3675
3903
|
end
|
|
3676
3904
|
|
|
3677
|
-
# The result of sentiment analysis
|
|
3678
|
-
#
|
|
3905
|
+
# The result of sentiment analysis. Sentiment analysis inspects user input
|
|
3906
|
+
# and identifies the prevailing subjective opinion, especially to determine a
|
|
3907
|
+
# user's attitude as positive, negative, or neutral.
|
|
3908
|
+
# For Participants.AnalyzeContent, it needs to be configured in
|
|
3909
|
+
# DetectIntentRequest.query_params. For
|
|
3910
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
3911
|
+
# StreamingDetectIntentRequest.query_params.
|
|
3912
|
+
# And for Participants.AnalyzeContent and
|
|
3913
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
3914
|
+
# ConversationProfile.human_agent_assistant_config
|
|
3679
3915
|
class GoogleCloudDialogflowV2SentimentAnalysisResult
|
|
3680
3916
|
include Google::Apis::Core::Hashable
|
|
3681
3917
|
|
|
@@ -4721,9 +4957,6 @@ module Google
|
|
|
4721
4957
|
# Carousel Rich Business Messaging (RBM) rich card.
|
|
4722
4958
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
4723
4959
|
# with media and suggestions.
|
|
4724
|
-
# For more details about RBM rich cards, please see:
|
|
4725
|
-
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
4726
|
-
# guides/build/messages/send#rich-cards
|
|
4727
4960
|
# If you want to show a single card with more control over the layout,
|
|
4728
4961
|
# please use RbmStandaloneCard instead.
|
|
4729
4962
|
# Corresponds to the JSON property `rbmCarouselRichCard`
|
|
@@ -4733,9 +4966,6 @@ module Google
|
|
|
4733
4966
|
# Standalone Rich Business Messaging (RBM) rich card.
|
|
4734
4967
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
4735
4968
|
# with media and suggestions.
|
|
4736
|
-
# For more details about RBM rich cards, please see:
|
|
4737
|
-
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
4738
|
-
# guides/build/messages/send#rich-cards
|
|
4739
4969
|
# You can group multiple rich cards into one using RbmCarouselCard but
|
|
4740
4970
|
# carousel cards will give you less control over the card layout.
|
|
4741
4971
|
# Corresponds to the JSON property `rbmStandaloneRichCard`
|
|
@@ -5443,7 +5673,7 @@ module Google
|
|
|
5443
5673
|
attr_accessor :file_uri
|
|
5444
5674
|
|
|
5445
5675
|
# Required for cards with vertical orientation. The height of the media
|
|
5446
|
-
# within a rich card with a vertical layout.
|
|
5676
|
+
# within a rich card with a vertical layout.
|
|
5447
5677
|
# For a standalone card with horizontal layout, height is not
|
|
5448
5678
|
# customizable, and this field is ignored.
|
|
5449
5679
|
# Corresponds to the JSON property `height`
|
|
@@ -5474,9 +5704,6 @@ module Google
|
|
|
5474
5704
|
# Carousel Rich Business Messaging (RBM) rich card.
|
|
5475
5705
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
5476
5706
|
# with media and suggestions.
|
|
5477
|
-
# For more details about RBM rich cards, please see:
|
|
5478
|
-
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
5479
|
-
# guides/build/messages/send#rich-cards
|
|
5480
5707
|
# If you want to show a single card with more control over the layout,
|
|
5481
5708
|
# please use RbmStandaloneCard instead.
|
|
5482
5709
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
|
|
@@ -5507,9 +5734,6 @@ module Google
|
|
|
5507
5734
|
# Standalone Rich Business Messaging (RBM) rich card.
|
|
5508
5735
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
5509
5736
|
# with media and suggestions.
|
|
5510
|
-
# For more details about RBM rich cards, please see:
|
|
5511
|
-
# https://developers.google.com/business-communications/rcs-business-messaging/
|
|
5512
|
-
# guides/build/messages/send#rich-cards
|
|
5513
5737
|
# You can group multiple rich cards into one using RbmCarouselCard but
|
|
5514
5738
|
# carousel cards will give you less control over the card layout.
|
|
5515
5739
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
|
|
@@ -5549,13 +5773,13 @@ module Google
|
|
|
5549
5773
|
include Google::Apis::Core::Hashable
|
|
5550
5774
|
|
|
5551
5775
|
# Opens the user's default dialer app with the specified phone number
|
|
5552
|
-
# but does not dial automatically
|
|
5776
|
+
# but does not dial automatically.
|
|
5553
5777
|
# Corresponds to the JSON property `dial`
|
|
5554
5778
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial]
|
|
5555
5779
|
attr_accessor :dial
|
|
5556
5780
|
|
|
5557
5781
|
# Opens the user's default web browser app to the specified uri
|
|
5558
|
-
#
|
|
5782
|
+
# If the user has an app installed that is
|
|
5559
5783
|
# registered as the default handler for the URL, then this app will be
|
|
5560
5784
|
# opened instead, and its icon will be used in the suggested action UI.
|
|
5561
5785
|
# Corresponds to the JSON property `openUrl`
|
|
@@ -5570,7 +5794,7 @@ module Google
|
|
|
5570
5794
|
attr_accessor :postback_data
|
|
5571
5795
|
|
|
5572
5796
|
# Opens the device's location chooser so the user can pick a location
|
|
5573
|
-
# to send back to the agent
|
|
5797
|
+
# to send back to the agent.
|
|
5574
5798
|
# Corresponds to the JSON property `shareLocation`
|
|
5575
5799
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation]
|
|
5576
5800
|
attr_accessor :share_location
|
|
@@ -5595,7 +5819,7 @@ module Google
|
|
|
5595
5819
|
end
|
|
5596
5820
|
|
|
5597
5821
|
# Opens the user's default dialer app with the specified phone number
|
|
5598
|
-
# but does not dial automatically
|
|
5822
|
+
# but does not dial automatically.
|
|
5599
5823
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
|
|
5600
5824
|
include Google::Apis::Core::Hashable
|
|
5601
5825
|
|
|
@@ -5618,7 +5842,7 @@ module Google
|
|
|
5618
5842
|
end
|
|
5619
5843
|
|
|
5620
5844
|
# Opens the user's default web browser app to the specified uri
|
|
5621
|
-
#
|
|
5845
|
+
# If the user has an app installed that is
|
|
5622
5846
|
# registered as the default handler for the URL, then this app will be
|
|
5623
5847
|
# opened instead, and its icon will be used in the suggested action UI.
|
|
5624
5848
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
|
|
@@ -5640,7 +5864,7 @@ module Google
|
|
|
5640
5864
|
end
|
|
5641
5865
|
|
|
5642
5866
|
# Opens the device's location chooser so the user can pick a location
|
|
5643
|
-
# to send back to the agent
|
|
5867
|
+
# to send back to the agent.
|
|
5644
5868
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation
|
|
5645
5869
|
include Google::Apis::Core::Hashable
|
|
5646
5870
|
|
|
@@ -6499,8 +6723,16 @@ module Google
|
|
|
6499
6723
|
# @return [String]
|
|
6500
6724
|
attr_accessor :query_text
|
|
6501
6725
|
|
|
6502
|
-
# The result of sentiment analysis
|
|
6503
|
-
#
|
|
6726
|
+
# The result of sentiment analysis. Sentiment analysis inspects user input
|
|
6727
|
+
# and identifies the prevailing subjective opinion, especially to determine a
|
|
6728
|
+
# user's attitude as positive, negative, or neutral.
|
|
6729
|
+
# For Participants.AnalyzeContent, it needs to be configured in
|
|
6730
|
+
# DetectIntentRequest.query_params. For
|
|
6731
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
6732
|
+
# StreamingDetectIntentRequest.query_params.
|
|
6733
|
+
# And for Participants.AnalyzeContent and
|
|
6734
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
6735
|
+
# ConversationProfile.human_agent_assistant_config
|
|
6504
6736
|
# Corresponds to the JSON property `sentimentAnalysisResult`
|
|
6505
6737
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SentimentAnalysisResult]
|
|
6506
6738
|
attr_accessor :sentiment_analysis_result
|
|
@@ -6582,8 +6814,16 @@ module Google
|
|
|
6582
6814
|
end
|
|
6583
6815
|
end
|
|
6584
6816
|
|
|
6585
|
-
# The result of sentiment analysis
|
|
6586
|
-
#
|
|
6817
|
+
# The result of sentiment analysis. Sentiment analysis inspects user input
|
|
6818
|
+
# and identifies the prevailing subjective opinion, especially to determine a
|
|
6819
|
+
# user's attitude as positive, negative, or neutral.
|
|
6820
|
+
# For Participants.AnalyzeContent, it needs to be configured in
|
|
6821
|
+
# DetectIntentRequest.query_params. For
|
|
6822
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
6823
|
+
# StreamingDetectIntentRequest.query_params.
|
|
6824
|
+
# And for Participants.AnalyzeContent and
|
|
6825
|
+
# Participants.StreamingAnalyzeContent, it needs to be configured in
|
|
6826
|
+
# ConversationProfile.human_agent_assistant_config
|
|
6587
6827
|
class GoogleCloudDialogflowV2beta1SentimentAnalysisResult
|
|
6588
6828
|
include Google::Apis::Core::Hashable
|
|
6589
6829
|
|
|
@@ -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
|
|
|
@@ -1113,9 +1149,19 @@ module Google
|
|
|
1113
1149
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1114
1150
|
property :conversation_success, as: 'conversationSuccess', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess::Representation
|
|
1115
1151
|
|
|
1152
|
+
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation
|
|
1153
|
+
|
|
1116
1154
|
property :human_agent_handoff, as: 'humanAgentHandoff', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff::Representation
|
|
1117
1155
|
|
|
1156
|
+
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff::Representation
|
|
1157
|
+
|
|
1158
|
+
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation
|
|
1159
|
+
|
|
1160
|
+
property :output_audio_text, as: 'outputAudioText', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText::Representation
|
|
1161
|
+
|
|
1118
1162
|
hash :payload, as: 'payload'
|
|
1163
|
+
property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
|
|
1164
|
+
|
|
1119
1165
|
property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
|
|
1120
1166
|
|
|
1121
1167
|
end
|
|
@@ -1128,6 +1174,12 @@ module Google
|
|
|
1128
1174
|
end
|
|
1129
1175
|
end
|
|
1130
1176
|
|
|
1177
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction
|
|
1178
|
+
# @private
|
|
1179
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1180
|
+
end
|
|
1181
|
+
end
|
|
1182
|
+
|
|
1131
1183
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
|
|
1132
1184
|
# @private
|
|
1133
1185
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1135,9 +1187,50 @@ module Google
|
|
|
1135
1187
|
end
|
|
1136
1188
|
end
|
|
1137
1189
|
|
|
1190
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
|
1191
|
+
# @private
|
|
1192
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1193
|
+
hash :metadata, as: 'metadata'
|
|
1194
|
+
end
|
|
1195
|
+
end
|
|
1196
|
+
|
|
1197
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio
|
|
1198
|
+
# @private
|
|
1199
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1200
|
+
collection :segments, as: 'segments', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment::Representation
|
|
1201
|
+
|
|
1202
|
+
end
|
|
1203
|
+
end
|
|
1204
|
+
|
|
1205
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment
|
|
1206
|
+
# @private
|
|
1207
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1208
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
|
1209
|
+
property :audio, :base64 => true, as: 'audio'
|
|
1210
|
+
property :uri, as: 'uri'
|
|
1211
|
+
end
|
|
1212
|
+
end
|
|
1213
|
+
|
|
1214
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText
|
|
1215
|
+
# @private
|
|
1216
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1217
|
+
property :ssml, as: 'ssml'
|
|
1218
|
+
property :text, as: 'text'
|
|
1219
|
+
end
|
|
1220
|
+
end
|
|
1221
|
+
|
|
1222
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
|
|
1223
|
+
# @private
|
|
1224
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1225
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
|
1226
|
+
property :audio_uri, as: 'audioUri'
|
|
1227
|
+
end
|
|
1228
|
+
end
|
|
1229
|
+
|
|
1138
1230
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
|
1139
1231
|
# @private
|
|
1140
1232
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1233
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
|
1141
1234
|
collection :text, as: 'text'
|
|
1142
1235
|
end
|
|
1143
1236
|
end
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
|
27
27
|
module DialogflowV2
|
|
28
28
|
VERSION = 'V2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200627'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|