google-api-client 0.39.5 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -22,6 +22,96 @@ module Google
22
22
  module Apis
23
23
  module DialogflowV2beta1
24
24
 
25
+ class GoogleCloudDialogflowCxV3beta1ExportAgentResponse
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudDialogflowCxV3beta1PageInfo
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudDialogflowCxV3beta1PageInfoFormInfo
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudDialogflowCxV3beta1ResponseMessage
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageText
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleCloudDialogflowCxV3beta1SessionInfo
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudDialogflowCxV3beta1WebhookRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudDialogflowCxV3beta1WebhookResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
25
115
  class GoogleCloudDialogflowV2AnnotatedMessagePart
26
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
117
 
@@ -1030,6 +1120,154 @@ module Google
1030
1120
  include Google::Apis::Core::JsonObjectSupport
1031
1121
  end
1032
1122
 
1123
+ class GoogleCloudDialogflowCxV3beta1ExportAgentResponse
1124
+ # @private
1125
+ class Representation < Google::Apis::Core::JsonRepresentation
1126
+ property :agent_content, :base64 => true, as: 'agentContent'
1127
+ property :agent_uri, as: 'agentUri'
1128
+ end
1129
+ end
1130
+
1131
+ class GoogleCloudDialogflowCxV3beta1PageInfo
1132
+ # @private
1133
+ class Representation < Google::Apis::Core::JsonRepresentation
1134
+ property :current_page, as: 'currentPage'
1135
+ property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo::Representation
1136
+
1137
+ property :next_page, as: 'nextPage'
1138
+ end
1139
+ end
1140
+
1141
+ class GoogleCloudDialogflowCxV3beta1PageInfoFormInfo
1142
+ # @private
1143
+ class Representation < Google::Apis::Core::JsonRepresentation
1144
+ collection :parameter_info, as: 'parameterInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo::Representation
1145
+
1146
+ property :state, as: 'state'
1147
+ end
1148
+ end
1149
+
1150
+ class GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo
1151
+ # @private
1152
+ class Representation < Google::Apis::Core::JsonRepresentation
1153
+ property :display_name, as: 'displayName'
1154
+ property :just_collected, as: 'justCollected'
1155
+ collection :prompt, as: 'prompt', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
1156
+
1157
+ property :required, as: 'required'
1158
+ property :state, as: 'state'
1159
+ property :value, as: 'value'
1160
+ end
1161
+ end
1162
+
1163
+ class GoogleCloudDialogflowCxV3beta1ResponseMessage
1164
+ # @private
1165
+ class Representation < Google::Apis::Core::JsonRepresentation
1166
+ property :conversation_success, as: 'conversationSuccess', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess::Representation
1167
+
1168
+ property :human_agent_handoff, as: 'humanAgentHandoff', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff::Representation
1169
+
1170
+ hash :payload, as: 'payload'
1171
+ property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
1172
+
1173
+ end
1174
+ end
1175
+
1176
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess
1177
+ # @private
1178
+ class Representation < Google::Apis::Core::JsonRepresentation
1179
+ hash :metadata, as: 'metadata'
1180
+ end
1181
+ end
1182
+
1183
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageHumanAgentHandoff
1184
+ # @private
1185
+ class Representation < Google::Apis::Core::JsonRepresentation
1186
+ hash :metadata, as: 'metadata'
1187
+ end
1188
+ end
1189
+
1190
+ class GoogleCloudDialogflowCxV3beta1ResponseMessageText
1191
+ # @private
1192
+ class Representation < Google::Apis::Core::JsonRepresentation
1193
+ collection :text, as: 'text'
1194
+ end
1195
+ end
1196
+
1197
+ class GoogleCloudDialogflowCxV3beta1SessionInfo
1198
+ # @private
1199
+ class Representation < Google::Apis::Core::JsonRepresentation
1200
+ hash :parameters, as: 'parameters'
1201
+ property :session, as: 'session'
1202
+ end
1203
+ end
1204
+
1205
+ class GoogleCloudDialogflowCxV3beta1WebhookRequest
1206
+ # @private
1207
+ class Representation < Google::Apis::Core::JsonRepresentation
1208
+ property :detect_intent_response_id, as: 'detectIntentResponseId'
1209
+ property :fulfillment_info, as: 'fulfillmentInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo::Representation
1210
+
1211
+ property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo::Representation
1212
+
1213
+ collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
1214
+
1215
+ property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
1216
+
1217
+ hash :payload, as: 'payload'
1218
+ property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo::Representation
1219
+
1220
+ end
1221
+ end
1222
+
1223
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo
1224
+ # @private
1225
+ class Representation < Google::Apis::Core::JsonRepresentation
1226
+ property :tag, as: 'tag'
1227
+ end
1228
+ end
1229
+
1230
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo
1231
+ # @private
1232
+ class Representation < Google::Apis::Core::JsonRepresentation
1233
+ property :last_matched_intent, as: 'lastMatchedIntent'
1234
+ hash :parameters, as: 'parameters', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue::Representation
1235
+
1236
+ end
1237
+ end
1238
+
1239
+ class GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue
1240
+ # @private
1241
+ class Representation < Google::Apis::Core::JsonRepresentation
1242
+ property :original_value, as: 'originalValue'
1243
+ property :resolved_value, as: 'resolvedValue'
1244
+ end
1245
+ end
1246
+
1247
+ class GoogleCloudDialogflowCxV3beta1WebhookResponse
1248
+ # @private
1249
+ class Representation < Google::Apis::Core::JsonRepresentation
1250
+ property :fulfillment_response, as: 'fulfillmentResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse::Representation
1251
+
1252
+ property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
1253
+
1254
+ hash :payload, as: 'payload'
1255
+ property :session_info, as: 'sessionInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1SessionInfo::Representation
1256
+
1257
+ property :target_flow, as: 'targetFlow'
1258
+ property :target_page, as: 'targetPage'
1259
+ end
1260
+ end
1261
+
1262
+ class GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse
1263
+ # @private
1264
+ class Representation < Google::Apis::Core::JsonRepresentation
1265
+ property :merge_behavior, as: 'mergeBehavior'
1266
+ collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
1267
+
1268
+ end
1269
+ end
1270
+
1033
1271
  class GoogleCloudDialogflowV2AnnotatedMessagePart
1034
1272
  # @private
1035
1273
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3237,6 +3237,50 @@ module Google
3237
3237
  execute_or_queue_command(command, &block)
3238
3238
  end
3239
3239
 
3240
+ # Returns the list of agents.
3241
+ # Since there is at most one conversational agent per project, this method is
3242
+ # useful primarily for listing all agents across projects the caller has
3243
+ # access to. One can achieve that with a wildcard project collection id "-".
3244
+ # Refer to [List
3245
+ # Sub-Collections](https://cloud.google.com/apis/design/design_patterns#list_sub-
3246
+ # collections).
3247
+ # @param [String] parent
3248
+ # Required. The project to list agents from.
3249
+ # Format: `projects/<Project ID or '-'>`.
3250
+ # @param [Fixnum] page_size
3251
+ # Optional. The maximum number of items to return in a single page. By
3252
+ # default 100 and at most 1000.
3253
+ # @param [String] page_token
3254
+ # Optional. The next_page_token value returned from a previous list request.
3255
+ # @param [String] fields
3256
+ # Selector specifying which fields to include in a partial response.
3257
+ # @param [String] quota_user
3258
+ # Available to use for quota purposes for server-side applications. Can be any
3259
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3260
+ # @param [Google::Apis::RequestOptions] options
3261
+ # Request-specific options
3262
+ #
3263
+ # @yield [result, err] Result & error if block supplied
3264
+ # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchAgentsResponse] parsed result object
3265
+ # @yieldparam err [StandardError] error object if request failed
3266
+ #
3267
+ # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchAgentsResponse]
3268
+ #
3269
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3270
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3271
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3272
+ def search_project_location_agents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3273
+ command = make_simple_command(:get, 'v2beta1/{+parent}/agent:search', options)
3274
+ command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchAgentsResponse::Representation
3275
+ command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchAgentsResponse
3276
+ command.params['parent'] = parent unless parent.nil?
3277
+ command.query['pageSize'] = page_size unless page_size.nil?
3278
+ command.query['pageToken'] = page_token unless page_token.nil?
3279
+ command.query['fields'] = fields unless fields.nil?
3280
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3281
+ execute_or_queue_command(command, &block)
3282
+ end
3283
+
3240
3284
  # Trains the specified agent.
3241
3285
  # Operation <response: google.protobuf.Empty>
3242
3286
  # @param [String] parent
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/dialogflow/
27
27
  module DialogflowV3alpha1
28
28
  VERSION = 'V3alpha1'
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 DialogflowV3alpha1
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::DialogflowV3alpha1::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::DialogflowV3alpha1::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::DialogflowV3alpha1::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::DialogflowV3alpha1::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::DialogflowV3alpha1::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::DialogflowV3alpha1::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::DialogflowV3alpha1::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::DialogflowV3alpha1::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::DialogflowV3alpha1::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::DialogflowV3alpha1::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::DialogflowV3alpha1::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::DialogflowV3alpha1::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::DialogflowV3alpha1::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::DialogflowV3alpha1::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::DialogflowV3alpha1::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::DialogflowV3alpha1::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 part of a message possibly annotated with an entity. The part
26
583
  # can be an entity or purely a part of the message between two entities or
27
584
  # message start/end.
@@ -2766,8 +3323,8 @@ module Google
2766
3323
  # Rich cards allow you to respond to users with more vivid content, e.g.
2767
3324
  # with media and suggestions.
2768
3325
  # For more details about RBM rich cards, please see:
2769
- # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
2770
- # messages#rich-cards.
3326
+ # https://developers.google.com/business-communications/rcs-business-messaging/
3327
+ # guides/build/messages/send#rich-cards
2771
3328
  # If you want to show a single card with more control over the layout,
2772
3329
  # please use RbmStandaloneCard instead.
2773
3330
  # Corresponds to the JSON property `rbmCarouselRichCard`
@@ -2778,8 +3335,8 @@ module Google
2778
3335
  # Rich cards allow you to respond to users with more vivid content, e.g.
2779
3336
  # with media and suggestions.
2780
3337
  # For more details about RBM rich cards, please see:
2781
- # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
2782
- # messages#rich-cards.
3338
+ # https://developers.google.com/business-communications/rcs-business-messaging/
3339
+ # guides/build/messages/send#rich-cards
2783
3340
  # You can group multiple rich cards into one using RbmCarouselCard but
2784
3341
  # carousel cards will give you less control over the card layout.
2785
3342
  # Corresponds to the JSON property `rbmStandaloneRichCard`
@@ -3519,8 +4076,8 @@ module Google
3519
4076
  # Rich cards allow you to respond to users with more vivid content, e.g.
3520
4077
  # with media and suggestions.
3521
4078
  # For more details about RBM rich cards, please see:
3522
- # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
3523
- # messages#rich-cards.
4079
+ # https://developers.google.com/business-communications/rcs-business-messaging/
4080
+ # guides/build/messages/send#rich-cards
3524
4081
  # If you want to show a single card with more control over the layout,
3525
4082
  # please use RbmStandaloneCard instead.
3526
4083
  class GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCard
@@ -3552,8 +4109,8 @@ module Google
3552
4109
  # Rich cards allow you to respond to users with more vivid content, e.g.
3553
4110
  # with media and suggestions.
3554
4111
  # For more details about RBM rich cards, please see:
3555
- # https://developers.google.com/rcs-business-messaging/rbm/guides/build/send-
3556
- # messages#rich-cards.
4112
+ # https://developers.google.com/business-communications/rcs-business-messaging/
4113
+ # guides/build/messages/send#rich-cards
3557
4114
  # You can group multiple rich cards into one using RbmCarouselCard but
3558
4115
  # carousel cards will give you less control over the card layout.
3559
4116
  class GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCard