google-api-client 0.39.5 → 0.40.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.
Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/generated/google/apis/apigee_v1.rb +1 -1
  4. data/generated/google/apis/apigee_v1/classes.rb +39 -4
  5. data/generated/google/apis/apigee_v1/representations.rb +5 -0
  6. data/generated/google/apis/apigee_v1/service.rb +15 -13
  7. data/generated/google/apis/bigquery_v2.rb +1 -1
  8. data/generated/google/apis/bigquery_v2/classes.rb +34 -0
  9. data/generated/google/apis/bigquery_v2/representations.rb +3 -0
  10. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  11. data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
  12. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  13. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +2 -0
  14. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  15. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  16. data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
  17. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  18. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  19. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  20. data/generated/google/apis/cloudiot_v1.rb +1 -1
  21. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  22. data/generated/google/apis/cloudkms_v1.rb +1 -1
  23. data/generated/google/apis/cloudkms_v1/classes.rb +281 -0
  24. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  25. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  26. data/generated/google/apis/cloudtasks_v2/classes.rb +2 -2
  27. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  28. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
  29. data/generated/google/apis/compute_alpha.rb +1 -1
  30. data/generated/google/apis/compute_alpha/classes.rb +23 -7
  31. data/generated/google/apis/compute_alpha/representations.rb +3 -1
  32. data/generated/google/apis/compute_alpha/service.rb +671 -671
  33. data/generated/google/apis/compute_beta.rb +1 -1
  34. data/generated/google/apis/compute_beta/classes.rb +1 -1
  35. data/generated/google/apis/compute_beta/service.rb +591 -591
  36. data/generated/google/apis/compute_v1.rb +1 -1
  37. data/generated/google/apis/compute_v1/classes.rb +37 -1
  38. data/generated/google/apis/compute_v1/representations.rb +5 -0
  39. data/generated/google/apis/container_v1.rb +1 -1
  40. data/generated/google/apis/container_v1/classes.rb +2 -4
  41. data/generated/google/apis/container_v1beta1.rb +1 -1
  42. data/generated/google/apis/container_v1beta1/classes.rb +27 -4
  43. data/generated/google/apis/container_v1beta1/representations.rb +16 -0
  44. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  45. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  46. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  47. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  48. data/generated/google/apis/dialogflow_v2.rb +1 -1
  49. data/generated/google/apis/dialogflow_v2/classes.rb +565 -8
  50. data/generated/google/apis/dialogflow_v2/representations.rb +238 -0
  51. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  52. data/generated/google/apis/dialogflow_v2beta1/classes.rb +565 -8
  53. data/generated/google/apis/dialogflow_v2beta1/representations.rb +238 -0
  54. data/generated/google/apis/dialogflow_v2beta1/service.rb +44 -0
  55. data/generated/google/apis/dialogflow_v3alpha1.rb +1 -1
  56. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +565 -8
  57. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +238 -0
  58. data/generated/google/apis/displayvideo_v1.rb +1 -1
  59. data/generated/google/apis/displayvideo_v1/classes.rb +149 -0
  60. data/generated/google/apis/displayvideo_v1/representations.rb +76 -0
  61. data/generated/google/apis/displayvideo_v1/service.rb +280 -0
  62. data/generated/google/apis/fitness_v1.rb +4 -4
  63. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  64. data/generated/google/apis/fitness_v1/service.rb +187 -215
  65. data/generated/google/apis/healthcare_v1.rb +1 -1
  66. data/generated/google/apis/healthcare_v1/classes.rb +36 -27
  67. data/generated/google/apis/healthcare_v1/service.rb +61 -29
  68. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  69. data/generated/google/apis/healthcare_v1beta1/classes.rb +38 -34
  70. data/generated/google/apis/healthcare_v1beta1/service.rb +162 -144
  71. data/generated/google/apis/homegraph_v1.rb +1 -1
  72. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  73. data/generated/google/apis/iam_v1.rb +1 -1
  74. data/generated/google/apis/iam_v1/classes.rb +24 -12
  75. data/generated/google/apis/iam_v1/service.rb +7 -0
  76. data/generated/google/apis/monitoring_v3.rb +1 -1
  77. data/generated/google/apis/monitoring_v3/classes.rb +7 -0
  78. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  79. data/generated/google/apis/spanner_v1.rb +1 -1
  80. data/generated/google/apis/spanner_v1/classes.rb +29 -10
  81. data/generated/google/apis/tpu_v1.rb +1 -1
  82. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  83. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  84. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  85. data/generated/google/apis/youtube_v3.rb +1 -1
  86. data/generated/google/apis/youtube_v3/classes.rb +26 -26
  87. data/generated/google/apis/youtube_v3/service.rb +1 -36
  88. data/lib/google/apis/version.rb +1 -1
  89. metadata +7 -11
  90. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  91. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  92. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  93. data/generated/google/apis/pagespeedonline_v4.rb +0 -32
  94. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  95. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  96. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV2
28
28
  VERSION = 'V2'
29
- REVISION = '20200518'
29
+ REVISION = '20200526'
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'
@@ -22,6 +22,563 @@ module Google
22
22
  module Apis
23
23
  module DialogflowV2
24
24
 
25
+ # The response message for Agents.ExportAgent.
26
+ class GoogleCloudDialogflowCxV3beta1ExportAgentResponse
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Uncompressed raw byte content for agent.
30
+ # Corresponds to the JSON property `agentContent`
31
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
32
+ # @return [String]
33
+ attr_accessor :agent_content
34
+
35
+ # The URI to a file containing the exported agent. This field is populated
36
+ # only if `agent_uri` is specified in ExportAgentRequest.
37
+ # Corresponds to the JSON property `agentUri`
38
+ # @return [String]
39
+ attr_accessor :agent_uri
40
+
41
+ def initialize(**args)
42
+ update!(**args)
43
+ end
44
+
45
+ # Update properties of this object
46
+ def update!(**args)
47
+ @agent_content = args[:agent_content] if args.key?(:agent_content)
48
+ @agent_uri = args[:agent_uri] if args.key?(:agent_uri)
49
+ end
50
+ end
51
+
52
+ # Represents page information communicated to and from the webhook.
53
+ class GoogleCloudDialogflowCxV3beta1PageInfo
54
+ include Google::Apis::Core::Hashable
55
+
56
+ # Always present for WebhookRequest. Ignored for WebhookResponse.
57
+ # The unique identifier of the current page.
58
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
59
+ # ID>/flows/<Flow ID>/pages/<Page ID>`.
60
+ # Corresponds to the JSON property `currentPage`
61
+ # @return [String]
62
+ attr_accessor :current_page
63
+
64
+ # Represents form information.
65
+ # Corresponds to the JSON property `formInfo`
66
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo]
67
+ attr_accessor :form_info
68
+
69
+ # Deprecated. Please use WebhookResponse.target_page or
70
+ # WebhookResponse.target_flow instead.
71
+ # Optional for WebhookResponse.
72
+ # The unique identifier of the next page. This field can be set by the
73
+ # webhook to immediately transition to a page different from `current_page`.
74
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
75
+ # ID>/flows/<Flow ID>/pages/<Page ID>`.
76
+ # Corresponds to the JSON property `nextPage`
77
+ # @return [String]
78
+ attr_accessor :next_page
79
+
80
+ def initialize(**args)
81
+ update!(**args)
82
+ end
83
+
84
+ # Update properties of this object
85
+ def update!(**args)
86
+ @current_page = args[:current_page] if args.key?(:current_page)
87
+ @form_info = args[:form_info] if args.key?(:form_info)
88
+ @next_page = args[:next_page] if args.key?(:next_page)
89
+ end
90
+ end
91
+
92
+ # Represents form information.
93
+ class GoogleCloudDialogflowCxV3beta1PageInfoFormInfo
94
+ include Google::Apis::Core::Hashable
95
+
96
+ # Optional for both WebhookRequest and WebhookResponse.
97
+ # The parameters contained in the form. Note that the webhook cannot add
98
+ # or remove any form parameter.
99
+ # Corresponds to the JSON property `parameterInfo`
100
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo>]
101
+ attr_accessor :parameter_info
102
+
103
+ # Always present for WebhookRequest. Ignored for WebhookResponse.
104
+ # The current state of the form.
105
+ # Corresponds to the JSON property `state`
106
+ # @return [String]
107
+ attr_accessor :state
108
+
109
+ def initialize(**args)
110
+ update!(**args)
111
+ end
112
+
113
+ # Update properties of this object
114
+ def update!(**args)
115
+ @parameter_info = args[:parameter_info] if args.key?(:parameter_info)
116
+ @state = args[:state] if args.key?(:state)
117
+ end
118
+ end
119
+
120
+ # Represents parameter information.
121
+ class GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo
122
+ include Google::Apis::Core::Hashable
123
+
124
+ # Always present for WebhookRequest. Required for
125
+ # WebhookResponse.
126
+ # The human-readable name of the parameter, unique within the form. This
127
+ # field cannot be modified by the webhook.
128
+ # Corresponds to the JSON property `displayName`
129
+ # @return [String]
130
+ attr_accessor :display_name
131
+
132
+ # Optional for WebhookRequest. Ignored for WebhookResponse.
133
+ # Indicates if the parameter value was just collected on the last
134
+ # conversation turn.
135
+ # Corresponds to the JSON property `justCollected`
136
+ # @return [Boolean]
137
+ attr_accessor :just_collected
138
+ alias_method :just_collected?, :just_collected
139
+
140
+ # Not set for WebhookRequest. Optional for WebhookResponse.
141
+ # The prompt to send to the user to fill a required form parameter. This
142
+ # field can be set by the webhook. If set, this field overrides the
143
+ # prompt defined for the form parameter.
144
+ # Corresponds to the JSON property `prompt`
145
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
146
+ attr_accessor :prompt
147
+
148
+ # Optional for both WebhookRequest and WebhookResponse.
149
+ # Indicates whether the parameter is required. Optional parameters will
150
+ # not trigger prompts; however, they are filled if the user specifies
151
+ # them. Required parameters must be filled before form filling concludes.
152
+ # Corresponds to the JSON property `required`
153
+ # @return [Boolean]
154
+ attr_accessor :required
155
+ alias_method :required?, :required
156
+
157
+ # Always present for WebhookRequest. Required for
158
+ # WebhookResponse. The state of the parameter. This field can be set
159
+ # to INVALID by
160
+ # the webhook to invalidate the parameter; other values set by the
161
+ # webhook will be ignored.
162
+ # Corresponds to the JSON property `state`
163
+ # @return [String]
164
+ attr_accessor :state
165
+
166
+ # Optional for both WebhookRequest and WebhookResponse.
167
+ # The value of the parameter. This field can be set by the webhook to
168
+ # change the parameter value.
169
+ # Corresponds to the JSON property `value`
170
+ # @return [Object]
171
+ attr_accessor :value
172
+
173
+ def initialize(**args)
174
+ update!(**args)
175
+ end
176
+
177
+ # Update properties of this object
178
+ def update!(**args)
179
+ @display_name = args[:display_name] if args.key?(:display_name)
180
+ @just_collected = args[:just_collected] if args.key?(:just_collected)
181
+ @prompt = args[:prompt] if args.key?(:prompt)
182
+ @required = args[:required] if args.key?(:required)
183
+ @state = args[:state] if args.key?(:state)
184
+ @value = args[:value] if args.key?(:value)
185
+ end
186
+ end
187
+
188
+ # Represents a response message that can be returned by a conversational agent.
189
+ # Response messages are also used for output audio synthesis. The approach is
190
+ # as follows:
191
+ # * If at least one OutputAudioText response is present, then all
192
+ # OutputAudioText responses are linearly concatenated, and the result is used
193
+ # for output audio synthesis.
194
+ # * If the OutputAudioText responses are a mixture of text and SSML, then the
195
+ # concatenated result is treated as SSML; otherwise, the result is treated as
196
+ # either text or SSML as appropriate. The agent designer should ideally use
197
+ # either text or SSML consistently throughout the bot design.
198
+ # * Otherwise, all Text responses are linearly concatenated, and the result is
199
+ # used for output audio synthesis.
200
+ # This approach allows for more sophisticated user experience scenarios, where
201
+ # the text displayed to the user may differ from what is heard.
202
+ class GoogleCloudDialogflowCxV3beta1ResponseMessage
203
+ include Google::Apis::Core::Hashable
204
+
205
+ # Indicates that the conversation succeeded, i.e., the bot handled the issue
206
+ # that the customer talked to it about.
207
+ # Dialogflow only uses this to determine which conversations should be
208
+ # counted as successful and doesn't process the metadata in this message in
209
+ # any way. Note that Dialogflow also considers conversations that get to the
210
+ # conversation end page as successful even if they don't return
211
+ # ConversationSuccess.
212
+ # You may set this, for example:
213
+ # * In the entry_fulfillment of a Page if
214
+ # entering the page indicates that the conversation succeeded.
215
+ # * In a webhook response when you determine that you handled the customer
216
+ # issue.
217
+ # Corresponds to the JSON property `conversationSuccess`
218
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess]
219
+ attr_accessor :conversation_success
220
+
221
+ # Indicates that the conversation should be handed off to a human agent.
222
+ # Dialogflow only uses this to determine which conversations were handed off
223
+ # to a human agent for measurement purposes. What else to do with this signal
224
+ # is up to you and your handoff procedures.
225
+ # You may set this, for example:
226
+ # * In the entry_fulfillment of a Page if
227
+ # entering the page indicates something went extremely wrong in the
228
+ # conversation.
229
+ # * In a webhook response when you determine that the customer issue can only
230
+ # be handled by a human.
231
+ # Corresponds to the JSON property `humanAgentHandoff`
232
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff]
233
+ attr_accessor :human_agent_handoff
234
+
235
+ # Returns a response containing a custom, platform-specific payload.
236
+ # Corresponds to the JSON property `payload`
237
+ # @return [Hash<String,Object>]
238
+ attr_accessor :payload
239
+
240
+ # The text response message.
241
+ # Corresponds to the JSON property `text`
242
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
243
+ attr_accessor :text
244
+
245
+ def initialize(**args)
246
+ update!(**args)
247
+ end
248
+
249
+ # Update properties of this object
250
+ def update!(**args)
251
+ @conversation_success = args[:conversation_success] if args.key?(:conversation_success)
252
+ @human_agent_handoff = args[:human_agent_handoff] if args.key?(:human_agent_handoff)
253
+ @payload = args[:payload] if args.key?(:payload)
254
+ @text = args[:text] if args.key?(:text)
255
+ end
256
+ end
257
+
258
+ # Indicates that the conversation succeeded, i.e., the bot handled the issue
259
+ # that the customer talked to it about.
260
+ # Dialogflow only uses this to determine which conversations should be
261
+ # counted as successful and doesn't process the metadata in this message in
262
+ # any way. Note that Dialogflow also considers conversations that get to the
263
+ # conversation end page as successful even if they don't return
264
+ # ConversationSuccess.
265
+ # You may set this, for example:
266
+ # * In the entry_fulfillment of a Page if
267
+ # entering the page indicates that the conversation succeeded.
268
+ # * In a webhook response when you determine that you handled the customer
269
+ # issue.
270
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess
271
+ include Google::Apis::Core::Hashable
272
+
273
+ # Custom metadata. Dialogflow doesn't impose any structure on this.
274
+ # Corresponds to the JSON property `metadata`
275
+ # @return [Hash<String,Object>]
276
+ attr_accessor :metadata
277
+
278
+ def initialize(**args)
279
+ update!(**args)
280
+ end
281
+
282
+ # Update properties of this object
283
+ def update!(**args)
284
+ @metadata = args[:metadata] if args.key?(:metadata)
285
+ end
286
+ end
287
+
288
+ # Indicates that the conversation should be handed off to a human agent.
289
+ # Dialogflow only uses this to determine which conversations were handed off
290
+ # to a human agent for measurement purposes. What else to do with this signal
291
+ # is up to you and your handoff procedures.
292
+ # You may set this, for example:
293
+ # * In the entry_fulfillment of a Page if
294
+ # entering the page indicates something went extremely wrong in the
295
+ # conversation.
296
+ # * In a webhook response when you determine that the customer issue can only
297
+ # be handled by a human.
298
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
299
+ include Google::Apis::Core::Hashable
300
+
301
+ # Custom metadata for your handoff procedure. Dialogflow doesn't impose
302
+ # any structure on this.
303
+ # Corresponds to the JSON property `metadata`
304
+ # @return [Hash<String,Object>]
305
+ attr_accessor :metadata
306
+
307
+ def initialize(**args)
308
+ update!(**args)
309
+ end
310
+
311
+ # Update properties of this object
312
+ def update!(**args)
313
+ @metadata = args[:metadata] if args.key?(:metadata)
314
+ end
315
+ end
316
+
317
+ # The text response message.
318
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageText
319
+ include Google::Apis::Core::Hashable
320
+
321
+ # A collection of text responses.
322
+ # Corresponds to the JSON property `text`
323
+ # @return [Array<String>]
324
+ attr_accessor :text
325
+
326
+ def initialize(**args)
327
+ update!(**args)
328
+ end
329
+
330
+ # Update properties of this object
331
+ def update!(**args)
332
+ @text = args[:text] if args.key?(:text)
333
+ end
334
+ end
335
+
336
+ # Represents session information communicated to and from the webhook.
337
+ class GoogleCloudDialogflowCxV3beta1SessionInfo
338
+ include Google::Apis::Core::Hashable
339
+
340
+ # Optional for WebhookRequest. Optional for WebhookResponse.
341
+ # All parameters collected from forms and intents during the session.
342
+ # Parameters can be created, updated, or removed by the webhook. To remove a
343
+ # parameter from the session, the webhook should explicitly set the parameter
344
+ # value to null in WebhookResponse. The map is keyed by parameters'
345
+ # display names.
346
+ # Corresponds to the JSON property `parameters`
347
+ # @return [Hash<String,Object>]
348
+ attr_accessor :parameters
349
+
350
+ # Always present for WebhookRequest. Ignored for WebhookResponse.
351
+ # The unique identifier of the session. This
352
+ # field can be used by the webhook to identify a user.
353
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
354
+ # ID>/sessions/<Session ID>`.
355
+ # Corresponds to the JSON property `session`
356
+ # @return [String]
357
+ attr_accessor :session
358
+
359
+ def initialize(**args)
360
+ update!(**args)
361
+ end
362
+
363
+ # Update properties of this object
364
+ def update!(**args)
365
+ @parameters = args[:parameters] if args.key?(:parameters)
366
+ @session = args[:session] if args.key?(:session)
367
+ end
368
+ end
369
+
370
+ # The request message for a webhook call.
371
+ class GoogleCloudDialogflowCxV3beta1WebhookRequest
372
+ include Google::Apis::Core::Hashable
373
+
374
+ # Always present. The unique identifier of the DetectIntentResponse that
375
+ # will be returned to the API caller.
376
+ # Corresponds to the JSON property `detectIntentResponseId`
377
+ # @return [String]
378
+ attr_accessor :detect_intent_response_id
379
+
380
+ # Represents fulfillment information communicated to the webhook.
381
+ # Corresponds to the JSON property `fulfillmentInfo`
382
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo]
383
+ attr_accessor :fulfillment_info
384
+
385
+ # Represents intent information communicated to the webhook.
386
+ # Corresponds to the JSON property `intentInfo`
387
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo]
388
+ attr_accessor :intent_info
389
+
390
+ # The list of rich message responses to present to the user. Webhook can
391
+ # choose to append or replace this list in
392
+ # WebhookResponse.fulfillment_response;
393
+ # Corresponds to the JSON property `messages`
394
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
395
+ attr_accessor :messages
396
+
397
+ # Represents page information communicated to and from the webhook.
398
+ # Corresponds to the JSON property `pageInfo`
399
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfo]
400
+ attr_accessor :page_info
401
+
402
+ # Custom data set in QueryParameters.payload.
403
+ # Corresponds to the JSON property `payload`
404
+ # @return [Hash<String,Object>]
405
+ attr_accessor :payload
406
+
407
+ # Represents session information communicated to and from the webhook.
408
+ # Corresponds to the JSON property `sessionInfo`
409
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1SessionInfo]
410
+ attr_accessor :session_info
411
+
412
+ def initialize(**args)
413
+ update!(**args)
414
+ end
415
+
416
+ # Update properties of this object
417
+ def update!(**args)
418
+ @detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
419
+ @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
420
+ @intent_info = args[:intent_info] if args.key?(:intent_info)
421
+ @messages = args[:messages] if args.key?(:messages)
422
+ @page_info = args[:page_info] if args.key?(:page_info)
423
+ @payload = args[:payload] if args.key?(:payload)
424
+ @session_info = args[:session_info] if args.key?(:session_info)
425
+ end
426
+ end
427
+
428
+ # Represents fulfillment information communicated to the webhook.
429
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo
430
+ include Google::Apis::Core::Hashable
431
+
432
+ # Always present. The tag used to identify which fulfillment is being
433
+ # called.
434
+ # Corresponds to the JSON property `tag`
435
+ # @return [String]
436
+ attr_accessor :tag
437
+
438
+ def initialize(**args)
439
+ update!(**args)
440
+ end
441
+
442
+ # Update properties of this object
443
+ def update!(**args)
444
+ @tag = args[:tag] if args.key?(:tag)
445
+ end
446
+ end
447
+
448
+ # Represents intent information communicated to the webhook.
449
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
450
+ include Google::Apis::Core::Hashable
451
+
452
+ # Always present. The unique identifier of the last matched
453
+ # intent. Format: `projects/<Project ID>/locations/<Location
454
+ # ID>/agents/<Agent ID>/intents/<Intent ID>`.
455
+ # Corresponds to the JSON property `lastMatchedIntent`
456
+ # @return [String]
457
+ attr_accessor :last_matched_intent
458
+
459
+ # Parameters identified as a result of intent matching. This is a map of
460
+ # the name of the identified parameter to the value of the parameter
461
+ # identified from the user's utterance. All parameters defined in the
462
+ # matched intent that are identified will be surfaced here.
463
+ # Corresponds to the JSON property `parameters`
464
+ # @return [Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue>]
465
+ attr_accessor :parameters
466
+
467
+ def initialize(**args)
468
+ update!(**args)
469
+ end
470
+
471
+ # Update properties of this object
472
+ def update!(**args)
473
+ @last_matched_intent = args[:last_matched_intent] if args.key?(:last_matched_intent)
474
+ @parameters = args[:parameters] if args.key?(:parameters)
475
+ end
476
+ end
477
+
478
+ # Represents a value for an intent parameter.
479
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue
480
+ include Google::Apis::Core::Hashable
481
+
482
+ # Always present. Original text value extracted from user utterance.
483
+ # Corresponds to the JSON property `originalValue`
484
+ # @return [String]
485
+ attr_accessor :original_value
486
+
487
+ # Always present. Structured value for the parameter extracted from user
488
+ # utterance.
489
+ # Corresponds to the JSON property `resolvedValue`
490
+ # @return [Object]
491
+ attr_accessor :resolved_value
492
+
493
+ def initialize(**args)
494
+ update!(**args)
495
+ end
496
+
497
+ # Update properties of this object
498
+ def update!(**args)
499
+ @original_value = args[:original_value] if args.key?(:original_value)
500
+ @resolved_value = args[:resolved_value] if args.key?(:resolved_value)
501
+ end
502
+ end
503
+
504
+ # The response message for a webhook call.
505
+ class GoogleCloudDialogflowCxV3beta1WebhookResponse
506
+ include Google::Apis::Core::Hashable
507
+
508
+ # Represents a fulfillment response to the user.
509
+ # Corresponds to the JSON property `fulfillmentResponse`
510
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse]
511
+ attr_accessor :fulfillment_response
512
+
513
+ # Represents page information communicated to and from the webhook.
514
+ # Corresponds to the JSON property `pageInfo`
515
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfo]
516
+ attr_accessor :page_info
517
+
518
+ # Value to append directly to QueryResult.webhook_payloads.
519
+ # Corresponds to the JSON property `payload`
520
+ # @return [Hash<String,Object>]
521
+ attr_accessor :payload
522
+
523
+ # Represents session information communicated to and from the webhook.
524
+ # Corresponds to the JSON property `sessionInfo`
525
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1SessionInfo]
526
+ attr_accessor :session_info
527
+
528
+ # The target flow to transition to.
529
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
530
+ # ID>/flows/<Flow ID>`.
531
+ # Corresponds to the JSON property `targetFlow`
532
+ # @return [String]
533
+ attr_accessor :target_flow
534
+
535
+ # The target page to transition to.
536
+ # Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
537
+ # ID>/flows/<Flow ID>/pages/<Page ID>`.
538
+ # Corresponds to the JSON property `targetPage`
539
+ # @return [String]
540
+ attr_accessor :target_page
541
+
542
+ def initialize(**args)
543
+ update!(**args)
544
+ end
545
+
546
+ # Update properties of this object
547
+ def update!(**args)
548
+ @fulfillment_response = args[:fulfillment_response] if args.key?(:fulfillment_response)
549
+ @page_info = args[:page_info] if args.key?(:page_info)
550
+ @payload = args[:payload] if args.key?(:payload)
551
+ @session_info = args[:session_info] if args.key?(:session_info)
552
+ @target_flow = args[:target_flow] if args.key?(:target_flow)
553
+ @target_page = args[:target_page] if args.key?(:target_page)
554
+ end
555
+ end
556
+
557
+ # Represents a fulfillment response to the user.
558
+ class GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse
559
+ include Google::Apis::Core::Hashable
560
+
561
+ # Merge behavior for `messages`.
562
+ # Corresponds to the JSON property `mergeBehavior`
563
+ # @return [String]
564
+ attr_accessor :merge_behavior
565
+
566
+ # The list of rich message responses to present to the user.
567
+ # Corresponds to the JSON property `messages`
568
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
569
+ attr_accessor :messages
570
+
571
+ def initialize(**args)
572
+ update!(**args)
573
+ end
574
+
575
+ # Update properties of this object
576
+ def update!(**args)
577
+ @merge_behavior = args[:merge_behavior] if args.key?(:merge_behavior)
578
+ @messages = args[:messages] if args.key?(:messages)
579
+ end
580
+ end
581
+
25
582
  # Represents a conversational agent.
26
583
  class GoogleCloudDialogflowV2Agent
27
584
  include Google::Apis::Core::Hashable
@@ -4185,8 +4742,8 @@ module Google
4185
4742
  # Rich cards allow you to respond to users with more vivid content, e.g.
4186
4743
  # with media and suggestions.
4187
4744
  # For more details about RBM rich cards, please see:
4188
- # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
4189
- # messages#rich-cards.
4745
+ # https://developers.google.com/business-communications/rcs-business-messaging/
4746
+ # guides/build/messages/send#rich-cards
4190
4747
  # If you want to show a single card with more control over the layout,
4191
4748
  # please use RbmStandaloneCard instead.
4192
4749
  # Corresponds to the JSON property `rbmCarouselRichCard`
@@ -4197,8 +4754,8 @@ module Google
4197
4754
  # Rich cards allow you to respond to users with more vivid content, e.g.
4198
4755
  # with media and suggestions.
4199
4756
  # For more details about RBM rich cards, please see:
4200
- # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
4201
- # messages#rich-cards.
4757
+ # https://developers.google.com/business-communications/rcs-business-messaging/
4758
+ # guides/build/messages/send#rich-cards
4202
4759
  # You can group multiple rich cards into one using RbmCarouselCard but
4203
4760
  # carousel cards will give you less control over the card layout.
4204
4761
  # Corresponds to the JSON property `rbmStandaloneRichCard`
@@ -4938,8 +5495,8 @@ module Google
4938
5495
  # Rich cards allow you to respond to users with more vivid content, e.g.
4939
5496
  # with media and suggestions.
4940
5497
  # For more details about RBM rich cards, please see:
4941
- # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
4942
- # messages#rich-cards.
5498
+ # https://developers.google.com/business-communications/rcs-business-messaging/
5499
+ # guides/build/messages/send#rich-cards
4943
5500
  # If you want to show a single card with more control over the layout,
4944
5501
  # please use RbmStandaloneCard instead.
4945
5502
  class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
@@ -4971,8 +5528,8 @@ module Google
4971
5528
  # Rich cards allow you to respond to users with more vivid content, e.g.
4972
5529
  # with media and suggestions.
4973
5530
  # For more details about RBM rich cards, please see:
4974
- # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
4975
- # messages#rich-cards.
5531
+ # https://developers.google.com/business-communications/rcs-business-messaging/
5532
+ # guides/build/messages/send#rich-cards
4976
5533
  # You can group multiple rich cards into one using RbmCarouselCard but
4977
5534
  # carousel cards will give you less control over the card layout.
4978
5535
  class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard