google-api-client 0.41.0 → 0.41.1
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 +72 -0
- data/generated/google/apis/admin_directory_v1.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/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +132 -42
- data/generated/google/apis/apigee_v1/representations.rb +16 -0
- data/generated/google/apis/apigee_v1/service.rb +23 -24
- data/generated/google/apis/bigquery_v2.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/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
- data/generated/google/apis/civicinfo_v2/service.rb +27 -62
- data/generated/google/apis/cloudasset_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/cloudbilling_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/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -42
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -3
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/composer_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/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +45 -31
- data/generated/google/apis/compute_alpha/service.rb +9 -4
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +262 -31
- data/generated/google/apis/compute_beta/representations.rb +70 -0
- data/generated/google/apis/compute_beta/service.rb +233 -4
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +592 -29
- data/generated/google/apis/compute_v1/representations.rb +182 -0
- data/generated/google/apis/compute_v1/service.rb +501 -4
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +29 -3
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2_1.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/datacatalog_v1beta1.rb +1 -1
- 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/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +194 -20
- data/generated/google/apis/dialogflow_v2/representations.rb +77 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +194 -20
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +77 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +105 -2
- data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
- data/generated/google/apis/displayvideo_v1/service.rb +78 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- 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.rb +4 -4
- 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/fcm_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +2 -2
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/playablelocations_v3.rb +31 -0
- 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/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +4 -2
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- 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/redis_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_v1beta1.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/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +4 -1
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +4 -5
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
- data/generated/google/apis/servicecontrol_v1.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/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +90 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +25 -20
- data/generated/google/apis/spanner_v1/service.rb +2 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/vectortile_v1.rb +31 -0
- 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/webfonts_v1.rb +5 -5
- 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/lib/google/apis/version.rb +1 -1
- metadata +15 -3
|
@@ -58,12 +58,42 @@ 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 GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
|
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
+
|
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
+
end
|
|
96
|
+
|
|
67
97
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
|
68
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
99
|
|
|
@@ -1113,9 +1143,17 @@ module Google
|
|
|
1113
1143
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1114
1144
|
property :conversation_success, as: 'conversationSuccess', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess::Representation
|
|
1115
1145
|
|
|
1146
|
+
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation
|
|
1147
|
+
|
|
1116
1148
|
property :human_agent_handoff, as: 'humanAgentHandoff', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff::Representation
|
|
1117
1149
|
|
|
1150
|
+
property :live_agent_handoff, as: 'liveAgentHandoff', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff::Representation
|
|
1151
|
+
|
|
1152
|
+
property :mixed_audio, as: 'mixedAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio::Representation
|
|
1153
|
+
|
|
1118
1154
|
hash :payload, as: 'payload'
|
|
1155
|
+
property :play_audio, as: 'playAudio', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio::Representation
|
|
1156
|
+
|
|
1119
1157
|
property :text, as: 'text', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
|
|
1120
1158
|
|
|
1121
1159
|
end
|
|
@@ -1128,6 +1166,12 @@ module Google
|
|
|
1128
1166
|
end
|
|
1129
1167
|
end
|
|
1130
1168
|
|
|
1169
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction
|
|
1170
|
+
# @private
|
|
1171
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1172
|
+
end
|
|
1173
|
+
end
|
|
1174
|
+
|
|
1131
1175
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
|
|
1132
1176
|
# @private
|
|
1133
1177
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1135,9 +1179,42 @@ module Google
|
|
|
1135
1179
|
end
|
|
1136
1180
|
end
|
|
1137
1181
|
|
|
1182
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
|
1183
|
+
# @private
|
|
1184
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1185
|
+
hash :metadata, as: 'metadata'
|
|
1186
|
+
end
|
|
1187
|
+
end
|
|
1188
|
+
|
|
1189
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio
|
|
1190
|
+
# @private
|
|
1191
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1192
|
+
collection :segments, as: 'segments', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment::Representation
|
|
1193
|
+
|
|
1194
|
+
end
|
|
1195
|
+
end
|
|
1196
|
+
|
|
1197
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment
|
|
1198
|
+
# @private
|
|
1199
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1200
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
|
1201
|
+
property :audio, :base64 => true, as: 'audio'
|
|
1202
|
+
property :uri, as: 'uri'
|
|
1203
|
+
end
|
|
1204
|
+
end
|
|
1205
|
+
|
|
1206
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
|
|
1207
|
+
# @private
|
|
1208
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1209
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
|
1210
|
+
property :audio_uri, as: 'audioUri'
|
|
1211
|
+
end
|
|
1212
|
+
end
|
|
1213
|
+
|
|
1138
1214
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
|
1139
1215
|
# @private
|
|
1140
1216
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1217
|
+
property :allow_playback_interruption, as: 'allowPlaybackInterruption'
|
|
1141
1218
|
collection :text, as: 'text'
|
|
1142
1219
|
end
|
|
1143
1220
|
end
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
|
27
27
|
module DialogflowV2beta1
|
|
28
28
|
VERSION = 'V2beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200622'
|
|
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'
|
|
@@ -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,41 @@ 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
|
+
|
|
207
239
|
# Returns a response containing a custom, platform-specific payload.
|
|
208
240
|
# Corresponds to the JSON property `payload`
|
|
209
241
|
# @return [Hash<String,Object>]
|
|
210
242
|
attr_accessor :payload
|
|
211
243
|
|
|
244
|
+
# Specifies an audio clip to be played by the client as part of the response.
|
|
245
|
+
# Corresponds to the JSON property `playAudio`
|
|
246
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio]
|
|
247
|
+
attr_accessor :play_audio
|
|
248
|
+
|
|
212
249
|
# The text response message.
|
|
213
250
|
# Corresponds to the JSON property `text`
|
|
214
251
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
|
|
@@ -221,8 +258,12 @@ module Google
|
|
|
221
258
|
# Update properties of this object
|
|
222
259
|
def update!(**args)
|
|
223
260
|
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
|
261
|
+
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
|
224
262
|
@human_agent_handoff = args[:human_agent_handoff] if args.key?(:human_agent_handoff)
|
|
263
|
+
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
|
264
|
+
@mixed_audio = args[:mixed_audio] if args.key?(:mixed_audio)
|
|
225
265
|
@payload = args[:payload] if args.key?(:payload)
|
|
266
|
+
@play_audio = args[:play_audio] if args.key?(:play_audio)
|
|
226
267
|
@text = args[:text] if args.key?(:text)
|
|
227
268
|
end
|
|
228
269
|
end
|
|
@@ -257,6 +298,21 @@ module Google
|
|
|
257
298
|
end
|
|
258
299
|
end
|
|
259
300
|
|
|
301
|
+
# Indicates that interaction with the Dialogflow agent has ended.
|
|
302
|
+
# This message is generated by Dialogflow only and not supposed to be
|
|
303
|
+
# defined by the user.
|
|
304
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction
|
|
305
|
+
include Google::Apis::Core::Hashable
|
|
306
|
+
|
|
307
|
+
def initialize(**args)
|
|
308
|
+
update!(**args)
|
|
309
|
+
end
|
|
310
|
+
|
|
311
|
+
# Update properties of this object
|
|
312
|
+
def update!(**args)
|
|
313
|
+
end
|
|
314
|
+
end
|
|
315
|
+
|
|
260
316
|
# Indicates that the conversation should be handed off to a human agent.
|
|
261
317
|
# Dialogflow only uses this to determine which conversations were handed off
|
|
262
318
|
# to a human agent for measurement purposes. What else to do with this signal
|
|
@@ -286,11 +342,140 @@ module Google
|
|
|
286
342
|
end
|
|
287
343
|
end
|
|
288
344
|
|
|
345
|
+
# Indicates that the conversation should be handed off to a live agent.
|
|
346
|
+
# Dialogflow only uses this to determine which conversations were handed off
|
|
347
|
+
# to a human agent for measurement purposes. What else to do with this signal
|
|
348
|
+
# is up to you and your handoff procedures.
|
|
349
|
+
# You may set this, for example:
|
|
350
|
+
# * In the entry_fulfillment of a Page if
|
|
351
|
+
# entering the page indicates something went extremely wrong in the
|
|
352
|
+
# conversation.
|
|
353
|
+
# * In a webhook response when you determine that the customer issue can only
|
|
354
|
+
# be handled by a human.
|
|
355
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff
|
|
356
|
+
include Google::Apis::Core::Hashable
|
|
357
|
+
|
|
358
|
+
# Custom metadata for your handoff procedure. Dialogflow doesn't impose
|
|
359
|
+
# any structure on this.
|
|
360
|
+
# Corresponds to the JSON property `metadata`
|
|
361
|
+
# @return [Hash<String,Object>]
|
|
362
|
+
attr_accessor :metadata
|
|
363
|
+
|
|
364
|
+
def initialize(**args)
|
|
365
|
+
update!(**args)
|
|
366
|
+
end
|
|
367
|
+
|
|
368
|
+
# Update properties of this object
|
|
369
|
+
def update!(**args)
|
|
370
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
|
371
|
+
end
|
|
372
|
+
end
|
|
373
|
+
|
|
374
|
+
# Represents an audio message that is composed of both segments
|
|
375
|
+
# synthesized from the Dialogflow agent prompts and ones hosted externally
|
|
376
|
+
# at the specified URIs.
|
|
377
|
+
# The external URIs are specified via
|
|
378
|
+
# play_audio.
|
|
379
|
+
# This message is generated by Dialogflow only and not supposed to be
|
|
380
|
+
# defined by the user.
|
|
381
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio
|
|
382
|
+
include Google::Apis::Core::Hashable
|
|
383
|
+
|
|
384
|
+
# Segments this audio response is composed of.
|
|
385
|
+
# Corresponds to the JSON property `segments`
|
|
386
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment>]
|
|
387
|
+
attr_accessor :segments
|
|
388
|
+
|
|
389
|
+
def initialize(**args)
|
|
390
|
+
update!(**args)
|
|
391
|
+
end
|
|
392
|
+
|
|
393
|
+
# Update properties of this object
|
|
394
|
+
def update!(**args)
|
|
395
|
+
@segments = args[:segments] if args.key?(:segments)
|
|
396
|
+
end
|
|
397
|
+
end
|
|
398
|
+
|
|
399
|
+
# Represents one segment of audio.
|
|
400
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment
|
|
401
|
+
include Google::Apis::Core::Hashable
|
|
402
|
+
|
|
403
|
+
# Whether the playback of this segment can be interrupted by the end
|
|
404
|
+
# user's speech and the client should then start the next Dialogflow
|
|
405
|
+
# request.
|
|
406
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
|
407
|
+
# @return [Boolean]
|
|
408
|
+
attr_accessor :allow_playback_interruption
|
|
409
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
|
410
|
+
|
|
411
|
+
# Raw audio synthesized from the Dialogflow agent's response using
|
|
412
|
+
# the output config specified in the request.
|
|
413
|
+
# Corresponds to the JSON property `audio`
|
|
414
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
415
|
+
# @return [String]
|
|
416
|
+
attr_accessor :audio
|
|
417
|
+
|
|
418
|
+
# Client-specific URI that points to an audio clip accessible to the
|
|
419
|
+
# client. Dialogflow does not impose any validation on it.
|
|
420
|
+
# Corresponds to the JSON property `uri`
|
|
421
|
+
# @return [String]
|
|
422
|
+
attr_accessor :uri
|
|
423
|
+
|
|
424
|
+
def initialize(**args)
|
|
425
|
+
update!(**args)
|
|
426
|
+
end
|
|
427
|
+
|
|
428
|
+
# Update properties of this object
|
|
429
|
+
def update!(**args)
|
|
430
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
|
431
|
+
@audio = args[:audio] if args.key?(:audio)
|
|
432
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
433
|
+
end
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
# Specifies an audio clip to be played by the client as part of the response.
|
|
437
|
+
class GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio
|
|
438
|
+
include Google::Apis::Core::Hashable
|
|
439
|
+
|
|
440
|
+
# Whether the playback of this message can be interrupted by the end
|
|
441
|
+
# user's speech and the client can then starts the next Dialogflow
|
|
442
|
+
# request.
|
|
443
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
|
444
|
+
# @return [Boolean]
|
|
445
|
+
attr_accessor :allow_playback_interruption
|
|
446
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
|
447
|
+
|
|
448
|
+
# Required. URI of the audio clip. Dialogflow does not impose any validation on
|
|
449
|
+
# this
|
|
450
|
+
# value. It is specific to the client that reads it.
|
|
451
|
+
# Corresponds to the JSON property `audioUri`
|
|
452
|
+
# @return [String]
|
|
453
|
+
attr_accessor :audio_uri
|
|
454
|
+
|
|
455
|
+
def initialize(**args)
|
|
456
|
+
update!(**args)
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
# Update properties of this object
|
|
460
|
+
def update!(**args)
|
|
461
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
|
462
|
+
@audio_uri = args[:audio_uri] if args.key?(:audio_uri)
|
|
463
|
+
end
|
|
464
|
+
end
|
|
465
|
+
|
|
289
466
|
# The text response message.
|
|
290
467
|
class GoogleCloudDialogflowCxV3beta1ResponseMessageText
|
|
291
468
|
include Google::Apis::Core::Hashable
|
|
292
469
|
|
|
293
|
-
#
|
|
470
|
+
# Whether the playback of this message can be interrupted by the end
|
|
471
|
+
# user's speech and the client can then starts the next Dialogflow
|
|
472
|
+
# request.
|
|
473
|
+
# Corresponds to the JSON property `allowPlaybackInterruption`
|
|
474
|
+
# @return [Boolean]
|
|
475
|
+
attr_accessor :allow_playback_interruption
|
|
476
|
+
alias_method :allow_playback_interruption?, :allow_playback_interruption
|
|
477
|
+
|
|
478
|
+
# Required. A collection of text responses.
|
|
294
479
|
# Corresponds to the JSON property `text`
|
|
295
480
|
# @return [Array<String>]
|
|
296
481
|
attr_accessor :text
|
|
@@ -301,6 +486,7 @@ module Google
|
|
|
301
486
|
|
|
302
487
|
# Update properties of this object
|
|
303
488
|
def update!(**args)
|
|
489
|
+
@allow_playback_interruption = args[:allow_playback_interruption] if args.key?(:allow_playback_interruption)
|
|
304
490
|
@text = args[:text] if args.key?(:text)
|
|
305
491
|
end
|
|
306
492
|
end
|
|
@@ -4287,9 +4473,6 @@ module Google
|
|
|
4287
4473
|
# Carousel Rich Business Messaging (RBM) rich card.
|
|
4288
4474
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
4289
4475
|
# 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
4476
|
# If you want to show a single card with more control over the layout,
|
|
4294
4477
|
# please use RbmStandaloneCard instead.
|
|
4295
4478
|
# Corresponds to the JSON property `rbmCarouselRichCard`
|
|
@@ -4299,9 +4482,6 @@ module Google
|
|
|
4299
4482
|
# Standalone Rich Business Messaging (RBM) rich card.
|
|
4300
4483
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
4301
4484
|
# 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
4485
|
# You can group multiple rich cards into one using RbmCarouselCard but
|
|
4306
4486
|
# carousel cards will give you less control over the card layout.
|
|
4307
4487
|
# Corresponds to the JSON property `rbmStandaloneRichCard`
|
|
@@ -5009,7 +5189,7 @@ module Google
|
|
|
5009
5189
|
attr_accessor :file_uri
|
|
5010
5190
|
|
|
5011
5191
|
# Required for cards with vertical orientation. The height of the media
|
|
5012
|
-
# within a rich card with a vertical layout.
|
|
5192
|
+
# within a rich card with a vertical layout.
|
|
5013
5193
|
# For a standalone card with horizontal layout, height is not
|
|
5014
5194
|
# customizable, and this field is ignored.
|
|
5015
5195
|
# Corresponds to the JSON property `height`
|
|
@@ -5040,9 +5220,6 @@ module Google
|
|
|
5040
5220
|
# Carousel Rich Business Messaging (RBM) rich card.
|
|
5041
5221
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
5042
5222
|
# 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
5223
|
# If you want to show a single card with more control over the layout,
|
|
5047
5224
|
# please use RbmStandaloneCard instead.
|
|
5048
5225
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
|
|
@@ -5073,9 +5250,6 @@ module Google
|
|
|
5073
5250
|
# Standalone Rich Business Messaging (RBM) rich card.
|
|
5074
5251
|
# Rich cards allow you to respond to users with more vivid content, e.g.
|
|
5075
5252
|
# 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
5253
|
# You can group multiple rich cards into one using RbmCarouselCard but
|
|
5080
5254
|
# carousel cards will give you less control over the card layout.
|
|
5081
5255
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard
|
|
@@ -5115,13 +5289,13 @@ module Google
|
|
|
5115
5289
|
include Google::Apis::Core::Hashable
|
|
5116
5290
|
|
|
5117
5291
|
# Opens the user's default dialer app with the specified phone number
|
|
5118
|
-
# but does not dial automatically
|
|
5292
|
+
# but does not dial automatically.
|
|
5119
5293
|
# Corresponds to the JSON property `dial`
|
|
5120
5294
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial]
|
|
5121
5295
|
attr_accessor :dial
|
|
5122
5296
|
|
|
5123
5297
|
# Opens the user's default web browser app to the specified uri
|
|
5124
|
-
#
|
|
5298
|
+
# If the user has an app installed that is
|
|
5125
5299
|
# registered as the default handler for the URL, then this app will be
|
|
5126
5300
|
# opened instead, and its icon will be used in the suggested action UI.
|
|
5127
5301
|
# Corresponds to the JSON property `openUrl`
|
|
@@ -5136,7 +5310,7 @@ module Google
|
|
|
5136
5310
|
attr_accessor :postback_data
|
|
5137
5311
|
|
|
5138
5312
|
# Opens the device's location chooser so the user can pick a location
|
|
5139
|
-
# to send back to the agent
|
|
5313
|
+
# to send back to the agent.
|
|
5140
5314
|
# Corresponds to the JSON property `shareLocation`
|
|
5141
5315
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation]
|
|
5142
5316
|
attr_accessor :share_location
|
|
@@ -5161,7 +5335,7 @@ module Google
|
|
|
5161
5335
|
end
|
|
5162
5336
|
|
|
5163
5337
|
# Opens the user's default dialer app with the specified phone number
|
|
5164
|
-
# but does not dial automatically
|
|
5338
|
+
# but does not dial automatically.
|
|
5165
5339
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionDial
|
|
5166
5340
|
include Google::Apis::Core::Hashable
|
|
5167
5341
|
|
|
@@ -5184,7 +5358,7 @@ module Google
|
|
|
5184
5358
|
end
|
|
5185
5359
|
|
|
5186
5360
|
# Opens the user's default web browser app to the specified uri
|
|
5187
|
-
#
|
|
5361
|
+
# If the user has an app installed that is
|
|
5188
5362
|
# registered as the default handler for the URL, then this app will be
|
|
5189
5363
|
# opened instead, and its icon will be used in the suggested action UI.
|
|
5190
5364
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionOpenUri
|
|
@@ -5206,7 +5380,7 @@ module Google
|
|
|
5206
5380
|
end
|
|
5207
5381
|
|
|
5208
5382
|
# Opens the device's location chooser so the user can pick a location
|
|
5209
|
-
# to send back to the agent
|
|
5383
|
+
# to send back to the agent.
|
|
5210
5384
|
class GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestedActionRbmSuggestedActionShareLocation
|
|
5211
5385
|
include Google::Apis::Core::Hashable
|
|
5212
5386
|
|