google-cloud-dialogflow-cx-v3 0.13.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/client.rb +1032 -0
  4. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/operations.rb +815 -0
  5. data/lib/google/cloud/dialogflow/cx/v3/agents/rest/service_stub.rb +586 -0
  6. data/lib/google/cloud/dialogflow/cx/v3/agents/rest.rb +56 -0
  7. data/lib/google/cloud/dialogflow/cx/v3/agents.rb +6 -0
  8. data/lib/google/cloud/dialogflow/cx/v3/bindings_override.rb +104 -0
  9. data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/client.rb +472 -0
  10. data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/service_stub.rb +168 -0
  11. data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest.rb +55 -0
  12. data/lib/google/cloud/dialogflow/cx/v3/changelogs.rb +6 -0
  13. data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/client.rb +456 -0
  14. data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/service_stub.rb +168 -0
  15. data/lib/google/cloud/dialogflow/cx/v3/deployments/rest.rb +55 -0
  16. data/lib/google/cloud/dialogflow/cx/v3/deployments.rb +6 -0
  17. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb +740 -0
  18. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/service_stub.rb +347 -0
  19. data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest.rb +55 -0
  20. data/lib/google/cloud/dialogflow/cx/v3/entity_types.rb +6 -0
  21. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/client.rb +1028 -0
  22. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/operations.rb +815 -0
  23. data/lib/google/cloud/dialogflow/cx/v3/environments/rest/service_stub.rb +585 -0
  24. data/lib/google/cloud/dialogflow/cx/v3/environments/rest.rb +57 -0
  25. data/lib/google/cloud/dialogflow/cx/v3/environments.rb +6 -0
  26. data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/client.rb +821 -0
  27. data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/service_stub.rb +467 -0
  28. data/lib/google/cloud/dialogflow/cx/v3/experiments/rest.rb +55 -0
  29. data/lib/google/cloud/dialogflow/cx/v3/experiments.rb +6 -0
  30. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/client.rb +1182 -0
  31. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/operations.rb +815 -0
  32. data/lib/google/cloud/dialogflow/cx/v3/flows/rest/service_stub.rb +646 -0
  33. data/lib/google/cloud/dialogflow/cx/v3/flows/rest.rb +56 -0
  34. data/lib/google/cloud/dialogflow/cx/v3/flows.rb +6 -0
  35. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/client.rb +722 -0
  36. data/lib/google/cloud/dialogflow/cx/v3/intents/rest/service_stub.rb +347 -0
  37. data/lib/google/cloud/dialogflow/cx/v3/intents/rest.rb +55 -0
  38. data/lib/google/cloud/dialogflow/cx/v3/intents.rb +6 -0
  39. data/lib/google/cloud/dialogflow/cx/v3/pages/rest/client.rb +777 -0
  40. data/lib/google/cloud/dialogflow/cx/v3/pages/rest/service_stub.rb +347 -0
  41. data/lib/google/cloud/dialogflow/cx/v3/pages/rest.rb +55 -0
  42. data/lib/google/cloud/dialogflow/cx/v3/pages.rb +6 -0
  43. data/lib/google/cloud/dialogflow/cx/v3/rest.rb +55 -0
  44. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/client.rb +673 -0
  45. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/service_stub.rb +347 -0
  46. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest.rb +55 -0
  47. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service.rb +6 -0
  48. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/client.rb +688 -0
  49. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/service_stub.rb +384 -0
  50. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest.rb +56 -0
  51. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types.rb +6 -0
  52. data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +1 -0
  53. data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +3 -1
  54. data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +576 -0
  55. data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/service_stub.rb +254 -0
  56. data/lib/google/cloud/dialogflow/cx/v3/sessions/rest.rb +58 -0
  57. data/lib/google/cloud/dialogflow/cx/v3/sessions.rb +6 -0
  58. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/client.rb +1304 -0
  59. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/operations.rb +815 -0
  60. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/service_stub.rb +765 -0
  61. data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest.rb +57 -0
  62. data/lib/google/cloud/dialogflow/cx/v3/test_cases.rb +6 -0
  63. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/client.rb +748 -0
  64. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/service_stub.rb +347 -0
  65. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest.rb +56 -0
  66. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups.rb +6 -0
  67. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  68. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/client.rb +865 -0
  69. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/operations.rb +815 -0
  70. data/lib/google/cloud/dialogflow/cx/v3/versions/rest/service_stub.rb +467 -0
  71. data/lib/google/cloud/dialogflow/cx/v3/versions/rest.rb +56 -0
  72. data/lib/google/cloud/dialogflow/cx/v3/versions.rb +6 -0
  73. data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/client.rb +677 -0
  74. data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/service_stub.rb +347 -0
  75. data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest.rb +55 -0
  76. data/lib/google/cloud/dialogflow/cx/v3/webhooks.rb +6 -0
  77. data/lib/google/cloud/dialogflow/cx/v3.rb +5 -0
  78. data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +3 -0
  79. metadata +61 -5
@@ -0,0 +1,347 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/dialogflow/cx/v3/webhook_pb"
20
+
21
+ module Google
22
+ module Cloud
23
+ module Dialogflow
24
+ module CX
25
+ module V3
26
+ module Webhooks
27
+ module Rest
28
+ ##
29
+ # REST service stub for the Webhooks service.
30
+ # Service stub contains baseline method implementations
31
+ # including transcoding, making the REST call, and deserialing the response.
32
+ #
33
+ class ServiceStub
34
+ def initialize endpoint:, credentials:
35
+ # These require statements are intentionally placed here to initialize
36
+ # the REST modules only when it's required.
37
+ require "gapic/rest"
38
+
39
+ @client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint, credentials: credentials,
40
+ numeric_enums: true,
41
+ raise_faraday_errors: false
42
+ end
43
+
44
+ ##
45
+ # Baseline implementation for the list_webhooks REST call
46
+ #
47
+ # @param request_pb [::Google::Cloud::Dialogflow::CX::V3::ListWebhooksRequest]
48
+ # A request object representing the call parameters. Required.
49
+ # @param options [::Gapic::CallOptions]
50
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
51
+ #
52
+ # @yield [result, operation] Access the result along with the TransportOperation object
53
+ # @yieldparam result [::Google::Cloud::Dialogflow::CX::V3::ListWebhooksResponse]
54
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
55
+ #
56
+ # @return [::Google::Cloud::Dialogflow::CX::V3::ListWebhooksResponse]
57
+ # A result object deserialized from the server's reply
58
+ def list_webhooks request_pb, options = nil
59
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
60
+
61
+ verb, uri, query_string_params, body = ServiceStub.transcode_list_webhooks_request request_pb
62
+ query_string_params = if query_string_params.any?
63
+ query_string_params.to_h { |p| p.split("=", 2) }
64
+ else
65
+ {}
66
+ end
67
+
68
+ response = @client_stub.make_http_request(
69
+ verb,
70
+ uri: uri,
71
+ body: body || "",
72
+ params: query_string_params,
73
+ options: options
74
+ )
75
+ operation = ::Gapic::Rest::TransportOperation.new response
76
+ result = ::Google::Cloud::Dialogflow::CX::V3::ListWebhooksResponse.decode_json response.body, ignore_unknown_fields: true
77
+
78
+ yield result, operation if block_given?
79
+ result
80
+ end
81
+
82
+ ##
83
+ # Baseline implementation for the get_webhook REST call
84
+ #
85
+ # @param request_pb [::Google::Cloud::Dialogflow::CX::V3::GetWebhookRequest]
86
+ # A request object representing the call parameters. Required.
87
+ # @param options [::Gapic::CallOptions]
88
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
89
+ #
90
+ # @yield [result, operation] Access the result along with the TransportOperation object
91
+ # @yieldparam result [::Google::Cloud::Dialogflow::CX::V3::Webhook]
92
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
93
+ #
94
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Webhook]
95
+ # A result object deserialized from the server's reply
96
+ def get_webhook request_pb, options = nil
97
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
98
+
99
+ verb, uri, query_string_params, body = ServiceStub.transcode_get_webhook_request request_pb
100
+ query_string_params = if query_string_params.any?
101
+ query_string_params.to_h { |p| p.split("=", 2) }
102
+ else
103
+ {}
104
+ end
105
+
106
+ response = @client_stub.make_http_request(
107
+ verb,
108
+ uri: uri,
109
+ body: body || "",
110
+ params: query_string_params,
111
+ options: options
112
+ )
113
+ operation = ::Gapic::Rest::TransportOperation.new response
114
+ result = ::Google::Cloud::Dialogflow::CX::V3::Webhook.decode_json response.body, ignore_unknown_fields: true
115
+
116
+ yield result, operation if block_given?
117
+ result
118
+ end
119
+
120
+ ##
121
+ # Baseline implementation for the create_webhook REST call
122
+ #
123
+ # @param request_pb [::Google::Cloud::Dialogflow::CX::V3::CreateWebhookRequest]
124
+ # A request object representing the call parameters. Required.
125
+ # @param options [::Gapic::CallOptions]
126
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
127
+ #
128
+ # @yield [result, operation] Access the result along with the TransportOperation object
129
+ # @yieldparam result [::Google::Cloud::Dialogflow::CX::V3::Webhook]
130
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
131
+ #
132
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Webhook]
133
+ # A result object deserialized from the server's reply
134
+ def create_webhook request_pb, options = nil
135
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
136
+
137
+ verb, uri, query_string_params, body = ServiceStub.transcode_create_webhook_request request_pb
138
+ query_string_params = if query_string_params.any?
139
+ query_string_params.to_h { |p| p.split("=", 2) }
140
+ else
141
+ {}
142
+ end
143
+
144
+ response = @client_stub.make_http_request(
145
+ verb,
146
+ uri: uri,
147
+ body: body || "",
148
+ params: query_string_params,
149
+ options: options
150
+ )
151
+ operation = ::Gapic::Rest::TransportOperation.new response
152
+ result = ::Google::Cloud::Dialogflow::CX::V3::Webhook.decode_json response.body, ignore_unknown_fields: true
153
+
154
+ yield result, operation if block_given?
155
+ result
156
+ end
157
+
158
+ ##
159
+ # Baseline implementation for the update_webhook REST call
160
+ #
161
+ # @param request_pb [::Google::Cloud::Dialogflow::CX::V3::UpdateWebhookRequest]
162
+ # A request object representing the call parameters. Required.
163
+ # @param options [::Gapic::CallOptions]
164
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
165
+ #
166
+ # @yield [result, operation] Access the result along with the TransportOperation object
167
+ # @yieldparam result [::Google::Cloud::Dialogflow::CX::V3::Webhook]
168
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
169
+ #
170
+ # @return [::Google::Cloud::Dialogflow::CX::V3::Webhook]
171
+ # A result object deserialized from the server's reply
172
+ def update_webhook request_pb, options = nil
173
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
174
+
175
+ verb, uri, query_string_params, body = ServiceStub.transcode_update_webhook_request request_pb
176
+ query_string_params = if query_string_params.any?
177
+ query_string_params.to_h { |p| p.split("=", 2) }
178
+ else
179
+ {}
180
+ end
181
+
182
+ response = @client_stub.make_http_request(
183
+ verb,
184
+ uri: uri,
185
+ body: body || "",
186
+ params: query_string_params,
187
+ options: options
188
+ )
189
+ operation = ::Gapic::Rest::TransportOperation.new response
190
+ result = ::Google::Cloud::Dialogflow::CX::V3::Webhook.decode_json response.body, ignore_unknown_fields: true
191
+
192
+ yield result, operation if block_given?
193
+ result
194
+ end
195
+
196
+ ##
197
+ # Baseline implementation for the delete_webhook REST call
198
+ #
199
+ # @param request_pb [::Google::Cloud::Dialogflow::CX::V3::DeleteWebhookRequest]
200
+ # A request object representing the call parameters. Required.
201
+ # @param options [::Gapic::CallOptions]
202
+ # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
203
+ #
204
+ # @yield [result, operation] Access the result along with the TransportOperation object
205
+ # @yieldparam result [::Google::Protobuf::Empty]
206
+ # @yieldparam operation [::Gapic::Rest::TransportOperation]
207
+ #
208
+ # @return [::Google::Protobuf::Empty]
209
+ # A result object deserialized from the server's reply
210
+ def delete_webhook request_pb, options = nil
211
+ raise ::ArgumentError, "request must be provided" if request_pb.nil?
212
+
213
+ verb, uri, query_string_params, body = ServiceStub.transcode_delete_webhook_request request_pb
214
+ query_string_params = if query_string_params.any?
215
+ query_string_params.to_h { |p| p.split("=", 2) }
216
+ else
217
+ {}
218
+ end
219
+
220
+ response = @client_stub.make_http_request(
221
+ verb,
222
+ uri: uri,
223
+ body: body || "",
224
+ params: query_string_params,
225
+ options: options
226
+ )
227
+ operation = ::Gapic::Rest::TransportOperation.new response
228
+ result = ::Google::Protobuf::Empty.decode_json response.body, ignore_unknown_fields: true
229
+
230
+ yield result, operation if block_given?
231
+ result
232
+ end
233
+
234
+ ##
235
+ # @private
236
+ #
237
+ # GRPC transcoding helper method for the list_webhooks REST call
238
+ #
239
+ # @param request_pb [::Google::Cloud::Dialogflow::CX::V3::ListWebhooksRequest]
240
+ # A request object representing the call parameters. Required.
241
+ # @return [Array(String, [String, nil], Hash{String => String})]
242
+ # Uri, Body, Query string parameters
243
+ def self.transcode_list_webhooks_request request_pb
244
+ transcoder = Gapic::Rest::GrpcTranscoder.new
245
+ .with_bindings(
246
+ uri_method: :get,
247
+ uri_template: "/v3/{parent}/webhooks",
248
+ matches: [
249
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/?$}, false]
250
+ ]
251
+ )
252
+ transcoder.transcode request_pb
253
+ end
254
+
255
+ ##
256
+ # @private
257
+ #
258
+ # GRPC transcoding helper method for the get_webhook REST call
259
+ #
260
+ # @param request_pb [::Google::Cloud::Dialogflow::CX::V3::GetWebhookRequest]
261
+ # A request object representing the call parameters. Required.
262
+ # @return [Array(String, [String, nil], Hash{String => String})]
263
+ # Uri, Body, Query string parameters
264
+ def self.transcode_get_webhook_request request_pb
265
+ transcoder = Gapic::Rest::GrpcTranscoder.new
266
+ .with_bindings(
267
+ uri_method: :get,
268
+ uri_template: "/v3/{name}",
269
+ matches: [
270
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+/?$}, false]
271
+ ]
272
+ )
273
+ transcoder.transcode request_pb
274
+ end
275
+
276
+ ##
277
+ # @private
278
+ #
279
+ # GRPC transcoding helper method for the create_webhook REST call
280
+ #
281
+ # @param request_pb [::Google::Cloud::Dialogflow::CX::V3::CreateWebhookRequest]
282
+ # A request object representing the call parameters. Required.
283
+ # @return [Array(String, [String, nil], Hash{String => String})]
284
+ # Uri, Body, Query string parameters
285
+ def self.transcode_create_webhook_request request_pb
286
+ transcoder = Gapic::Rest::GrpcTranscoder.new
287
+ .with_bindings(
288
+ uri_method: :post,
289
+ uri_template: "/v3/{parent}/webhooks",
290
+ body: "webhook",
291
+ matches: [
292
+ ["parent", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/?$}, false]
293
+ ]
294
+ )
295
+ transcoder.transcode request_pb
296
+ end
297
+
298
+ ##
299
+ # @private
300
+ #
301
+ # GRPC transcoding helper method for the update_webhook REST call
302
+ #
303
+ # @param request_pb [::Google::Cloud::Dialogflow::CX::V3::UpdateWebhookRequest]
304
+ # A request object representing the call parameters. Required.
305
+ # @return [Array(String, [String, nil], Hash{String => String})]
306
+ # Uri, Body, Query string parameters
307
+ def self.transcode_update_webhook_request request_pb
308
+ transcoder = Gapic::Rest::GrpcTranscoder.new
309
+ .with_bindings(
310
+ uri_method: :patch,
311
+ uri_template: "/v3/{webhook.name}",
312
+ body: "webhook",
313
+ matches: [
314
+ ["webhook.name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+/?$}, false]
315
+ ]
316
+ )
317
+ transcoder.transcode request_pb
318
+ end
319
+
320
+ ##
321
+ # @private
322
+ #
323
+ # GRPC transcoding helper method for the delete_webhook REST call
324
+ #
325
+ # @param request_pb [::Google::Cloud::Dialogflow::CX::V3::DeleteWebhookRequest]
326
+ # A request object representing the call parameters. Required.
327
+ # @return [Array(String, [String, nil], Hash{String => String})]
328
+ # Uri, Body, Query string parameters
329
+ def self.transcode_delete_webhook_request request_pb
330
+ transcoder = Gapic::Rest::GrpcTranscoder.new
331
+ .with_bindings(
332
+ uri_method: :delete,
333
+ uri_template: "/v3/{name}",
334
+ matches: [
335
+ ["name", %r{^projects/[^/]+/locations/[^/]+/agents/[^/]+/webhooks/[^/]+/?$}, false]
336
+ ]
337
+ )
338
+ transcoder.transcode request_pb
339
+ end
340
+ end
341
+ end
342
+ end
343
+ end
344
+ end
345
+ end
346
+ end
347
+ end
@@ -0,0 +1,55 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/dialogflow/cx/v3/version"
24
+ require "google/cloud/dialogflow/cx/v3/bindings_override"
25
+
26
+ require "google/cloud/dialogflow/cx/v3/webhooks/credentials"
27
+ require "google/cloud/dialogflow/cx/v3/webhooks/paths"
28
+ require "google/cloud/dialogflow/cx/v3/webhooks/rest/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module Dialogflow
33
+ module CX
34
+ module V3
35
+ ##
36
+ # Service for managing {::Google::Cloud::Dialogflow::CX::V3::Webhook Webhooks}.
37
+ #
38
+ # To load this service and instantiate a REST client:
39
+ #
40
+ # require "google/cloud/dialogflow/cx/v3/webhooks/rest"
41
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Webhooks::Rest::Client.new
42
+ #
43
+ module Webhooks
44
+ # Client for the REST transport
45
+ module Rest
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+ end
52
+ end
53
+
54
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
55
+ require "google/cloud/dialogflow/cx/v3/webhooks/rest/helpers" if ::File.file? helper_path
@@ -25,6 +25,7 @@ require "google/cloud/dialogflow/cx/v3/version"
25
25
  require "google/cloud/dialogflow/cx/v3/webhooks/credentials"
26
26
  require "google/cloud/dialogflow/cx/v3/webhooks/paths"
27
27
  require "google/cloud/dialogflow/cx/v3/webhooks/client"
28
+ require "google/cloud/dialogflow/cx/v3/webhooks/rest"
28
29
 
29
30
  module Google
30
31
  module Cloud
@@ -39,6 +40,11 @@ module Google
39
40
  # require "google/cloud/dialogflow/cx/v3/webhooks"
40
41
  # client = ::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client.new
41
42
  #
43
+ # @example Load this service and instantiate a REST client
44
+ #
45
+ # require "google/cloud/dialogflow/cx/v3/webhooks/rest"
46
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Webhooks::Rest::Client.new
47
+ #
42
48
  module Webhooks
43
49
  end
44
50
  end
@@ -46,6 +46,11 @@ module Google
46
46
  # require "google/cloud/dialogflow/cx/v3"
47
47
  # client = ::Google::Cloud::Dialogflow::CX::V3::Pages::Client.new
48
48
  #
49
+ # @example Load this package, including all its services, and instantiate a REST client
50
+ #
51
+ # require "google/cloud/dialogflow/cx/v3"
52
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Pages::Rest::Client.new
53
+ #
49
54
  module V3
50
55
  end
51
56
  end
@@ -758,6 +758,9 @@ module Google
758
758
  # @!attribute [rw] query_input
759
759
  # @return [::Google::Cloud::Dialogflow::CX::V3::QueryInput]
760
760
  # Required. The input specification.
761
+ # @!attribute [rw] persist_parameter_changes
762
+ # @return [::Boolean]
763
+ # Persist session parameter changes from `query_params`.
761
764
  class MatchIntentRequest
762
765
  include ::Google::Protobuf::MessageExts
763
766
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dialogflow-cx-v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-23 00:00:00.000000000 Z
11
+ date: 2023-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.17.1
19
+ version: 0.18.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.17.1
29
+ version: 0.18.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -204,25 +204,39 @@ files:
204
204
  - lib/google/cloud/dialogflow/cx/v3/agents/credentials.rb
205
205
  - lib/google/cloud/dialogflow/cx/v3/agents/operations.rb
206
206
  - lib/google/cloud/dialogflow/cx/v3/agents/paths.rb
207
+ - lib/google/cloud/dialogflow/cx/v3/agents/rest.rb
208
+ - lib/google/cloud/dialogflow/cx/v3/agents/rest/client.rb
209
+ - lib/google/cloud/dialogflow/cx/v3/agents/rest/operations.rb
210
+ - lib/google/cloud/dialogflow/cx/v3/agents/rest/service_stub.rb
207
211
  - lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb
212
+ - lib/google/cloud/dialogflow/cx/v3/bindings_override.rb
208
213
  - lib/google/cloud/dialogflow/cx/v3/changelog_pb.rb
209
214
  - lib/google/cloud/dialogflow/cx/v3/changelog_services_pb.rb
210
215
  - lib/google/cloud/dialogflow/cx/v3/changelogs.rb
211
216
  - lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb
212
217
  - lib/google/cloud/dialogflow/cx/v3/changelogs/credentials.rb
213
218
  - lib/google/cloud/dialogflow/cx/v3/changelogs/paths.rb
219
+ - lib/google/cloud/dialogflow/cx/v3/changelogs/rest.rb
220
+ - lib/google/cloud/dialogflow/cx/v3/changelogs/rest/client.rb
221
+ - lib/google/cloud/dialogflow/cx/v3/changelogs/rest/service_stub.rb
214
222
  - lib/google/cloud/dialogflow/cx/v3/deployment_pb.rb
215
223
  - lib/google/cloud/dialogflow/cx/v3/deployment_services_pb.rb
216
224
  - lib/google/cloud/dialogflow/cx/v3/deployments.rb
217
225
  - lib/google/cloud/dialogflow/cx/v3/deployments/client.rb
218
226
  - lib/google/cloud/dialogflow/cx/v3/deployments/credentials.rb
219
227
  - lib/google/cloud/dialogflow/cx/v3/deployments/paths.rb
228
+ - lib/google/cloud/dialogflow/cx/v3/deployments/rest.rb
229
+ - lib/google/cloud/dialogflow/cx/v3/deployments/rest/client.rb
230
+ - lib/google/cloud/dialogflow/cx/v3/deployments/rest/service_stub.rb
220
231
  - lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb
221
232
  - lib/google/cloud/dialogflow/cx/v3/entity_type_services_pb.rb
222
233
  - lib/google/cloud/dialogflow/cx/v3/entity_types.rb
223
234
  - lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb
224
235
  - lib/google/cloud/dialogflow/cx/v3/entity_types/credentials.rb
225
236
  - lib/google/cloud/dialogflow/cx/v3/entity_types/paths.rb
237
+ - lib/google/cloud/dialogflow/cx/v3/entity_types/rest.rb
238
+ - lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb
239
+ - lib/google/cloud/dialogflow/cx/v3/entity_types/rest/service_stub.rb
226
240
  - lib/google/cloud/dialogflow/cx/v3/environment_pb.rb
227
241
  - lib/google/cloud/dialogflow/cx/v3/environment_services_pb.rb
228
242
  - lib/google/cloud/dialogflow/cx/v3/environments.rb
@@ -230,12 +244,19 @@ files:
230
244
  - lib/google/cloud/dialogflow/cx/v3/environments/credentials.rb
231
245
  - lib/google/cloud/dialogflow/cx/v3/environments/operations.rb
232
246
  - lib/google/cloud/dialogflow/cx/v3/environments/paths.rb
247
+ - lib/google/cloud/dialogflow/cx/v3/environments/rest.rb
248
+ - lib/google/cloud/dialogflow/cx/v3/environments/rest/client.rb
249
+ - lib/google/cloud/dialogflow/cx/v3/environments/rest/operations.rb
250
+ - lib/google/cloud/dialogflow/cx/v3/environments/rest/service_stub.rb
233
251
  - lib/google/cloud/dialogflow/cx/v3/experiment_pb.rb
234
252
  - lib/google/cloud/dialogflow/cx/v3/experiment_services_pb.rb
235
253
  - lib/google/cloud/dialogflow/cx/v3/experiments.rb
236
254
  - lib/google/cloud/dialogflow/cx/v3/experiments/client.rb
237
255
  - lib/google/cloud/dialogflow/cx/v3/experiments/credentials.rb
238
256
  - lib/google/cloud/dialogflow/cx/v3/experiments/paths.rb
257
+ - lib/google/cloud/dialogflow/cx/v3/experiments/rest.rb
258
+ - lib/google/cloud/dialogflow/cx/v3/experiments/rest/client.rb
259
+ - lib/google/cloud/dialogflow/cx/v3/experiments/rest/service_stub.rb
239
260
  - lib/google/cloud/dialogflow/cx/v3/flow_pb.rb
240
261
  - lib/google/cloud/dialogflow/cx/v3/flow_services_pb.rb
241
262
  - lib/google/cloud/dialogflow/cx/v3/flows.rb
@@ -243,6 +264,10 @@ files:
243
264
  - lib/google/cloud/dialogflow/cx/v3/flows/credentials.rb
244
265
  - lib/google/cloud/dialogflow/cx/v3/flows/operations.rb
245
266
  - lib/google/cloud/dialogflow/cx/v3/flows/paths.rb
267
+ - lib/google/cloud/dialogflow/cx/v3/flows/rest.rb
268
+ - lib/google/cloud/dialogflow/cx/v3/flows/rest/client.rb
269
+ - lib/google/cloud/dialogflow/cx/v3/flows/rest/operations.rb
270
+ - lib/google/cloud/dialogflow/cx/v3/flows/rest/service_stub.rb
246
271
  - lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb
247
272
  - lib/google/cloud/dialogflow/cx/v3/gcs_pb.rb
248
273
  - lib/google/cloud/dialogflow/cx/v3/intent_pb.rb
@@ -251,18 +276,28 @@ files:
251
276
  - lib/google/cloud/dialogflow/cx/v3/intents/client.rb
252
277
  - lib/google/cloud/dialogflow/cx/v3/intents/credentials.rb
253
278
  - lib/google/cloud/dialogflow/cx/v3/intents/paths.rb
279
+ - lib/google/cloud/dialogflow/cx/v3/intents/rest.rb
280
+ - lib/google/cloud/dialogflow/cx/v3/intents/rest/client.rb
281
+ - lib/google/cloud/dialogflow/cx/v3/intents/rest/service_stub.rb
254
282
  - lib/google/cloud/dialogflow/cx/v3/page_pb.rb
255
283
  - lib/google/cloud/dialogflow/cx/v3/page_services_pb.rb
256
284
  - lib/google/cloud/dialogflow/cx/v3/pages.rb
257
285
  - lib/google/cloud/dialogflow/cx/v3/pages/client.rb
258
286
  - lib/google/cloud/dialogflow/cx/v3/pages/credentials.rb
259
287
  - lib/google/cloud/dialogflow/cx/v3/pages/paths.rb
288
+ - lib/google/cloud/dialogflow/cx/v3/pages/rest.rb
289
+ - lib/google/cloud/dialogflow/cx/v3/pages/rest/client.rb
290
+ - lib/google/cloud/dialogflow/cx/v3/pages/rest/service_stub.rb
260
291
  - lib/google/cloud/dialogflow/cx/v3/response_message_pb.rb
292
+ - lib/google/cloud/dialogflow/cx/v3/rest.rb
261
293
  - lib/google/cloud/dialogflow/cx/v3/security_settings_pb.rb
262
294
  - lib/google/cloud/dialogflow/cx/v3/security_settings_service.rb
263
295
  - lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb
264
296
  - lib/google/cloud/dialogflow/cx/v3/security_settings_service/credentials.rb
265
297
  - lib/google/cloud/dialogflow/cx/v3/security_settings_service/paths.rb
298
+ - lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest.rb
299
+ - lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/client.rb
300
+ - lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/service_stub.rb
266
301
  - lib/google/cloud/dialogflow/cx/v3/security_settings_services_pb.rb
267
302
  - lib/google/cloud/dialogflow/cx/v3/session_entity_type_pb.rb
268
303
  - lib/google/cloud/dialogflow/cx/v3/session_entity_type_services_pb.rb
@@ -270,12 +305,18 @@ files:
270
305
  - lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb
271
306
  - lib/google/cloud/dialogflow/cx/v3/session_entity_types/credentials.rb
272
307
  - lib/google/cloud/dialogflow/cx/v3/session_entity_types/paths.rb
308
+ - lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest.rb
309
+ - lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/client.rb
310
+ - lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/service_stub.rb
273
311
  - lib/google/cloud/dialogflow/cx/v3/session_pb.rb
274
312
  - lib/google/cloud/dialogflow/cx/v3/session_services_pb.rb
275
313
  - lib/google/cloud/dialogflow/cx/v3/sessions.rb
276
314
  - lib/google/cloud/dialogflow/cx/v3/sessions/client.rb
277
315
  - lib/google/cloud/dialogflow/cx/v3/sessions/credentials.rb
278
316
  - lib/google/cloud/dialogflow/cx/v3/sessions/paths.rb
317
+ - lib/google/cloud/dialogflow/cx/v3/sessions/rest.rb
318
+ - lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb
319
+ - lib/google/cloud/dialogflow/cx/v3/sessions/rest/service_stub.rb
279
320
  - lib/google/cloud/dialogflow/cx/v3/test_case_pb.rb
280
321
  - lib/google/cloud/dialogflow/cx/v3/test_case_services_pb.rb
281
322
  - lib/google/cloud/dialogflow/cx/v3/test_cases.rb
@@ -283,12 +324,19 @@ files:
283
324
  - lib/google/cloud/dialogflow/cx/v3/test_cases/credentials.rb
284
325
  - lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb
285
326
  - lib/google/cloud/dialogflow/cx/v3/test_cases/paths.rb
327
+ - lib/google/cloud/dialogflow/cx/v3/test_cases/rest.rb
328
+ - lib/google/cloud/dialogflow/cx/v3/test_cases/rest/client.rb
329
+ - lib/google/cloud/dialogflow/cx/v3/test_cases/rest/operations.rb
330
+ - lib/google/cloud/dialogflow/cx/v3/test_cases/rest/service_stub.rb
286
331
  - lib/google/cloud/dialogflow/cx/v3/transition_route_group_pb.rb
287
332
  - lib/google/cloud/dialogflow/cx/v3/transition_route_group_services_pb.rb
288
333
  - lib/google/cloud/dialogflow/cx/v3/transition_route_groups.rb
289
334
  - lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb
290
335
  - lib/google/cloud/dialogflow/cx/v3/transition_route_groups/credentials.rb
291
336
  - lib/google/cloud/dialogflow/cx/v3/transition_route_groups/paths.rb
337
+ - lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest.rb
338
+ - lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/client.rb
339
+ - lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/service_stub.rb
292
340
  - lib/google/cloud/dialogflow/cx/v3/validation_message_pb.rb
293
341
  - lib/google/cloud/dialogflow/cx/v3/version.rb
294
342
  - lib/google/cloud/dialogflow/cx/v3/version_pb.rb
@@ -298,12 +346,19 @@ files:
298
346
  - lib/google/cloud/dialogflow/cx/v3/versions/credentials.rb
299
347
  - lib/google/cloud/dialogflow/cx/v3/versions/operations.rb
300
348
  - lib/google/cloud/dialogflow/cx/v3/versions/paths.rb
349
+ - lib/google/cloud/dialogflow/cx/v3/versions/rest.rb
350
+ - lib/google/cloud/dialogflow/cx/v3/versions/rest/client.rb
351
+ - lib/google/cloud/dialogflow/cx/v3/versions/rest/operations.rb
352
+ - lib/google/cloud/dialogflow/cx/v3/versions/rest/service_stub.rb
301
353
  - lib/google/cloud/dialogflow/cx/v3/webhook_pb.rb
302
354
  - lib/google/cloud/dialogflow/cx/v3/webhook_services_pb.rb
303
355
  - lib/google/cloud/dialogflow/cx/v3/webhooks.rb
304
356
  - lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb
305
357
  - lib/google/cloud/dialogflow/cx/v3/webhooks/credentials.rb
306
358
  - lib/google/cloud/dialogflow/cx/v3/webhooks/paths.rb
359
+ - lib/google/cloud/dialogflow/cx/v3/webhooks/rest.rb
360
+ - lib/google/cloud/dialogflow/cx/v3/webhooks/rest/client.rb
361
+ - lib/google/cloud/dialogflow/cx/v3/webhooks/rest/service_stub.rb
307
362
  - proto_docs/README.md
308
363
  - proto_docs/google/api/client.rb
309
364
  - proto_docs/google/api/field_behavior.rb
@@ -362,5 +417,6 @@ requirements: []
362
417
  rubygems_version: 3.4.2
363
418
  signing_key:
364
419
  specification_version: 4
365
- summary: API Client library for the Dialogflow CX V3 API
420
+ summary: Builds conversational interfaces (for example, chatbots, and voice-powered
421
+ apps and devices).
366
422
  test_files: []