google-cloud-dialogflow-cx-v3 0.26.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +25 -11
- data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/agents/rest/client.rb +25 -11
- data/lib/google/cloud/dialogflow/cx/v3/agents/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +7 -2
- data/lib/google/cloud/dialogflow/cx/v3/changelogs/rest/client.rb +7 -2
- data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +7 -2
- data/lib/google/cloud/dialogflow/cx/v3/deployments/rest/client.rb +7 -2
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +21 -9
- data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/environments/rest/client.rb +21 -9
- data/lib/google/cloud/dialogflow/cx/v3/environments/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/experiments/rest/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +23 -10
- data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/flows/rest/client.rb +23 -10
- data/lib/google/cloud/dialogflow/cx/v3/flows/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/generators/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/generators/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/intents/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/intents/rest/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/intents/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/pages/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +15 -6
- data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +27 -12
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/client.rb +27 -12
- data/lib/google/cloud/dialogflow/cx/v3/test_cases/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/rest/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/versions/rest/client.rb +17 -7
- data/lib/google/cloud/dialogflow/cx/v3/versions/rest/operations.rb +11 -4
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +13 -5
- data/lib/google/cloud/dialogflow/cx/v3/webhooks/rest/client.rb +13 -5
- data/proto_docs/google/api/client.rb +4 -0
- metadata +2 -2
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# Service for managing {::Google::Cloud::Dialogflow::CX::V3::Version Versions}.
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -255,12 +258,13 @@ module Google
|
|
255
258
|
# Customize the options with defaults
|
256
259
|
call_metadata = @config.rpcs.list_versions.metadata.to_h
|
257
260
|
|
258
|
-
# Set x-goog-api-client
|
261
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
259
262
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
260
263
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
261
264
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
262
265
|
transports_version_send: [:rest]
|
263
266
|
|
267
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
264
268
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
265
269
|
|
266
270
|
options.apply_defaults timeout: @config.rpcs.list_versions.timeout,
|
@@ -336,12 +340,13 @@ module Google
|
|
336
340
|
# Customize the options with defaults
|
337
341
|
call_metadata = @config.rpcs.get_version.metadata.to_h
|
338
342
|
|
339
|
-
# Set x-goog-api-client
|
343
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
340
344
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
341
345
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
342
346
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
343
347
|
transports_version_send: [:rest]
|
344
348
|
|
349
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
345
350
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
346
351
|
|
347
352
|
options.apply_defaults timeout: @config.rpcs.get_version.timeout,
|
@@ -435,12 +440,13 @@ module Google
|
|
435
440
|
# Customize the options with defaults
|
436
441
|
call_metadata = @config.rpcs.create_version.metadata.to_h
|
437
442
|
|
438
|
-
# Set x-goog-api-client
|
443
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
439
444
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
440
445
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
441
446
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
442
447
|
transports_version_send: [:rest]
|
443
448
|
|
449
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
444
450
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
445
451
|
|
446
452
|
options.apply_defaults timeout: @config.rpcs.create_version.timeout,
|
@@ -517,12 +523,13 @@ module Google
|
|
517
523
|
# Customize the options with defaults
|
518
524
|
call_metadata = @config.rpcs.update_version.metadata.to_h
|
519
525
|
|
520
|
-
# Set x-goog-api-client
|
526
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
521
527
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
522
528
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
523
529
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
524
530
|
transports_version_send: [:rest]
|
525
531
|
|
532
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
526
533
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
527
534
|
|
528
535
|
options.apply_defaults timeout: @config.rpcs.update_version.timeout,
|
@@ -597,12 +604,13 @@ module Google
|
|
597
604
|
# Customize the options with defaults
|
598
605
|
call_metadata = @config.rpcs.delete_version.metadata.to_h
|
599
606
|
|
600
|
-
# Set x-goog-api-client
|
607
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
601
608
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
602
609
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
603
610
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
604
611
|
transports_version_send: [:rest]
|
605
612
|
|
613
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
606
614
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
607
615
|
|
608
616
|
options.apply_defaults timeout: @config.rpcs.delete_version.timeout,
|
@@ -698,12 +706,13 @@ module Google
|
|
698
706
|
# Customize the options with defaults
|
699
707
|
call_metadata = @config.rpcs.load_version.metadata.to_h
|
700
708
|
|
701
|
-
# Set x-goog-api-client
|
709
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
702
710
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
703
711
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
704
712
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
705
713
|
transports_version_send: [:rest]
|
706
714
|
|
715
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
707
716
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
708
717
|
|
709
718
|
options.apply_defaults timeout: @config.rpcs.load_version.timeout,
|
@@ -794,12 +803,13 @@ module Google
|
|
794
803
|
# Customize the options with defaults
|
795
804
|
call_metadata = @config.rpcs.compare_versions.metadata.to_h
|
796
805
|
|
797
|
-
# Set x-goog-api-client
|
806
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
798
807
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
799
808
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
800
809
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
801
810
|
transports_version_send: [:rest]
|
802
811
|
|
812
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
803
813
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
804
814
|
|
805
815
|
options.apply_defaults timeout: @config.rpcs.compare_versions.timeout,
|
@@ -27,6 +27,9 @@ module Google
|
|
27
27
|
module Rest
|
28
28
|
# Service that implements Longrunning Operations API.
|
29
29
|
class Operations
|
30
|
+
# @private
|
31
|
+
API_VERSION = ""
|
32
|
+
|
30
33
|
# @private
|
31
34
|
DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
|
32
35
|
|
@@ -182,12 +185,13 @@ module Google
|
|
182
185
|
# Customize the options with defaults
|
183
186
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
184
187
|
|
185
|
-
# Set x-goog-api-client
|
188
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
186
189
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
187
190
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
188
191
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
189
192
|
transports_version_send: [:rest]
|
190
193
|
|
194
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
191
195
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
192
196
|
|
193
197
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -270,12 +274,13 @@ module Google
|
|
270
274
|
# Customize the options with defaults
|
271
275
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
272
276
|
|
273
|
-
# Set x-goog-api-client
|
277
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
274
278
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
275
279
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
276
280
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
277
281
|
transports_version_send: [:rest]
|
278
282
|
|
283
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
279
284
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
280
285
|
|
281
286
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -352,12 +357,13 @@ module Google
|
|
352
357
|
# Customize the options with defaults
|
353
358
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
354
359
|
|
355
|
-
# Set x-goog-api-client
|
360
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
356
361
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
357
362
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
358
363
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
359
364
|
transports_version_send: [:rest]
|
360
365
|
|
366
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
361
367
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
362
368
|
|
363
369
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -439,12 +445,13 @@ module Google
|
|
439
445
|
# Customize the options with defaults
|
440
446
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
441
447
|
|
442
|
-
# Set x-goog-api-client
|
448
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
443
449
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
444
450
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
445
451
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
446
452
|
transports_version_send: [:rest]
|
447
453
|
|
454
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
448
455
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
449
456
|
|
450
457
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Service for managing {::Google::Cloud::Dialogflow::CX::V3::Webhook Webhooks}.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -246,10 +249,11 @@ module Google
|
|
246
249
|
# Customize the options with defaults
|
247
250
|
metadata = @config.rpcs.list_webhooks.metadata.to_h
|
248
251
|
|
249
|
-
# Set x-goog-api-client
|
252
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
250
253
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
251
254
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
252
255
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
256
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
253
257
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
254
258
|
|
255
259
|
header_params = {}
|
@@ -334,10 +338,11 @@ module Google
|
|
334
338
|
# Customize the options with defaults
|
335
339
|
metadata = @config.rpcs.get_webhook.metadata.to_h
|
336
340
|
|
337
|
-
# Set x-goog-api-client
|
341
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
338
342
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
339
343
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
340
344
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
345
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
341
346
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
342
347
|
|
343
348
|
header_params = {}
|
@@ -422,10 +427,11 @@ module Google
|
|
422
427
|
# Customize the options with defaults
|
423
428
|
metadata = @config.rpcs.create_webhook.metadata.to_h
|
424
429
|
|
425
|
-
# Set x-goog-api-client
|
430
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
426
431
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
427
432
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
428
433
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
434
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
429
435
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
430
436
|
|
431
437
|
header_params = {}
|
@@ -510,10 +516,11 @@ module Google
|
|
510
516
|
# Customize the options with defaults
|
511
517
|
metadata = @config.rpcs.update_webhook.metadata.to_h
|
512
518
|
|
513
|
-
# Set x-goog-api-client
|
519
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
514
520
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
515
521
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
516
522
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
523
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
517
524
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
518
525
|
|
519
526
|
header_params = {}
|
@@ -608,10 +615,11 @@ module Google
|
|
608
615
|
# Customize the options with defaults
|
609
616
|
metadata = @config.rpcs.delete_webhook.metadata.to_h
|
610
617
|
|
611
|
-
# Set x-goog-api-client
|
618
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
612
619
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
613
620
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
614
621
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
622
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
615
623
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
616
624
|
|
617
625
|
header_params = {}
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# Service for managing {::Google::Cloud::Dialogflow::CX::V3::Webhook Webhooks}.
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "dialogflow.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -239,12 +242,13 @@ module Google
|
|
239
242
|
# Customize the options with defaults
|
240
243
|
call_metadata = @config.rpcs.list_webhooks.metadata.to_h
|
241
244
|
|
242
|
-
# Set x-goog-api-client
|
245
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
243
246
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
244
247
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
245
248
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
246
249
|
transports_version_send: [:rest]
|
247
250
|
|
251
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
248
252
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
249
253
|
|
250
254
|
options.apply_defaults timeout: @config.rpcs.list_webhooks.timeout,
|
@@ -320,12 +324,13 @@ module Google
|
|
320
324
|
# Customize the options with defaults
|
321
325
|
call_metadata = @config.rpcs.get_webhook.metadata.to_h
|
322
326
|
|
323
|
-
# Set x-goog-api-client
|
327
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
324
328
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
325
329
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
326
330
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
327
331
|
transports_version_send: [:rest]
|
328
332
|
|
333
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
329
334
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
330
335
|
|
331
336
|
options.apply_defaults timeout: @config.rpcs.get_webhook.timeout,
|
@@ -401,12 +406,13 @@ module Google
|
|
401
406
|
# Customize the options with defaults
|
402
407
|
call_metadata = @config.rpcs.create_webhook.metadata.to_h
|
403
408
|
|
404
|
-
# Set x-goog-api-client
|
409
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
405
410
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
406
411
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
407
412
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
408
413
|
transports_version_send: [:rest]
|
409
414
|
|
415
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
410
416
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
411
417
|
|
412
418
|
options.apply_defaults timeout: @config.rpcs.create_webhook.timeout,
|
@@ -482,12 +488,13 @@ module Google
|
|
482
488
|
# Customize the options with defaults
|
483
489
|
call_metadata = @config.rpcs.update_webhook.metadata.to_h
|
484
490
|
|
485
|
-
# Set x-goog-api-client
|
491
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
486
492
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
487
493
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
488
494
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
489
495
|
transports_version_send: [:rest]
|
490
496
|
|
497
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
491
498
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
492
499
|
|
493
500
|
options.apply_defaults timeout: @config.rpcs.update_webhook.timeout,
|
@@ -573,12 +580,13 @@ module Google
|
|
573
580
|
# Customize the options with defaults
|
574
581
|
call_metadata = @config.rpcs.delete_webhook.metadata.to_h
|
575
582
|
|
576
|
-
# Set x-goog-api-client
|
583
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
577
584
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
578
585
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
579
586
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
580
587
|
transports_version_send: [:rest]
|
581
588
|
|
589
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
582
590
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
583
591
|
|
584
592
|
options.apply_defaults timeout: @config.rpcs.delete_webhook.timeout,
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
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.
|
4
|
+
version: 1.0.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: 2024-
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|