google-cloud-dialogflow-cx-v3 0.26.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/cx/v3/advanced_settings_pb.rb +4 -1
- data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +3 -1
- 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/data_store_connection_pb.rb +15 -1
- 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/flow_pb.rb +2 -1
- 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_pb.rb +1 -1
- 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/session_pb.rb +3 -1
- 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/webhook_pb.rb +4 -1
- 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 +18 -10
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/cloud/dialogflow/cx/v3/advanced_settings.rb +54 -2
- data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +24 -2
- data/proto_docs/google/cloud/dialogflow/cx/v3/data_store_connection.rb +199 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/flow.rb +28 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/security_settings.rb +9 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +18 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb +4 -6
- data/proto_docs/google/cloud/dialogflow/cx/v3/webhook.rb +75 -0
- metadata +2 -2
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Service for managing {::Google::Cloud::Dialogflow::CX::V3::Intent Intents}.
|
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
|
|
@@ -273,10 +276,11 @@ module Google
|
|
273
276
|
# Customize the options with defaults
|
274
277
|
metadata = @config.rpcs.list_intents.metadata.to_h
|
275
278
|
|
276
|
-
# Set x-goog-api-client
|
279
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
277
280
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
278
281
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
279
282
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
283
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
280
284
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
281
285
|
|
282
286
|
header_params = {}
|
@@ -372,10 +376,11 @@ module Google
|
|
372
376
|
# Customize the options with defaults
|
373
377
|
metadata = @config.rpcs.get_intent.metadata.to_h
|
374
378
|
|
375
|
-
# Set x-goog-api-client
|
379
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
376
380
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
377
381
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
378
382
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
383
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
379
384
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
380
385
|
|
381
386
|
header_params = {}
|
@@ -474,10 +479,11 @@ module Google
|
|
474
479
|
# Customize the options with defaults
|
475
480
|
metadata = @config.rpcs.create_intent.metadata.to_h
|
476
481
|
|
477
|
-
# Set x-goog-api-client
|
482
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
478
483
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
479
484
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
480
485
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
486
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
481
487
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
482
488
|
|
483
489
|
header_params = {}
|
@@ -576,10 +582,11 @@ module Google
|
|
576
582
|
# Customize the options with defaults
|
577
583
|
metadata = @config.rpcs.update_intent.metadata.to_h
|
578
584
|
|
579
|
-
# Set x-goog-api-client
|
585
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
580
586
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
581
587
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
582
588
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
589
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
583
590
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
584
591
|
|
585
592
|
header_params = {}
|
@@ -667,10 +674,11 @@ module Google
|
|
667
674
|
# Customize the options with defaults
|
668
675
|
metadata = @config.rpcs.delete_intent.metadata.to_h
|
669
676
|
|
670
|
-
# Set x-goog-api-client
|
677
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
671
678
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
672
679
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
673
680
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
681
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
674
682
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
675
683
|
|
676
684
|
header_params = {}
|
@@ -783,10 +791,11 @@ module Google
|
|
783
791
|
# Customize the options with defaults
|
784
792
|
metadata = @config.rpcs.import_intents.metadata.to_h
|
785
793
|
|
786
|
-
# Set x-goog-api-client
|
794
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
787
795
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
788
796
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
789
797
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
798
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
790
799
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
791
800
|
|
792
801
|
header_params = {}
|
@@ -907,10 +916,11 @@ module Google
|
|
907
916
|
# Customize the options with defaults
|
908
917
|
metadata = @config.rpcs.export_intents.metadata.to_h
|
909
918
|
|
910
|
-
# Set x-goog-api-client
|
919
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
911
920
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
912
921
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
913
922
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
923
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
914
924
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
915
925
|
|
916
926
|
header_params = {}
|
@@ -27,6 +27,9 @@ module Google
|
|
27
27
|
module Intents
|
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
|
|
@@ -192,10 +195,11 @@ module Google
|
|
192
195
|
# Customize the options with defaults
|
193
196
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
194
197
|
|
195
|
-
# Set x-goog-api-client
|
198
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
196
199
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
197
200
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
198
201
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
202
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
199
203
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
200
204
|
|
201
205
|
header_params = {}
|
@@ -288,10 +292,11 @@ module Google
|
|
288
292
|
# Customize the options with defaults
|
289
293
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
290
294
|
|
291
|
-
# Set x-goog-api-client
|
295
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
292
296
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
293
297
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
294
298
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
299
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
295
300
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
296
301
|
|
297
302
|
header_params = {}
|
@@ -377,10 +382,11 @@ module Google
|
|
377
382
|
# Customize the options with defaults
|
378
383
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
379
384
|
|
380
|
-
# Set x-goog-api-client
|
385
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
381
386
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
382
387
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
383
388
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
389
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
384
390
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
385
391
|
|
386
392
|
header_params = {}
|
@@ -471,10 +477,11 @@ module Google
|
|
471
477
|
# Customize the options with defaults
|
472
478
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
473
479
|
|
474
|
-
# Set x-goog-api-client
|
480
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
475
481
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
476
482
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
477
483
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
484
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
478
485
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
479
486
|
|
480
487
|
header_params = {}
|
@@ -575,10 +582,11 @@ module Google
|
|
575
582
|
# Customize the options with defaults
|
576
583
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
577
584
|
|
578
|
-
# Set x-goog-api-client
|
585
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
579
586
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
580
587
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
581
588
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
589
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
582
590
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
583
591
|
|
584
592
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# Service for managing {::Google::Cloud::Dialogflow::CX::V3::Intent Intents}.
|
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
|
|
@@ -266,12 +269,13 @@ module Google
|
|
266
269
|
# Customize the options with defaults
|
267
270
|
call_metadata = @config.rpcs.list_intents.metadata.to_h
|
268
271
|
|
269
|
-
# Set x-goog-api-client
|
272
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
270
273
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
271
274
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
272
275
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
273
276
|
transports_version_send: [:rest]
|
274
277
|
|
278
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
275
279
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
276
280
|
|
277
281
|
options.apply_defaults timeout: @config.rpcs.list_intents.timeout,
|
@@ -358,12 +362,13 @@ module Google
|
|
358
362
|
# Customize the options with defaults
|
359
363
|
call_metadata = @config.rpcs.get_intent.metadata.to_h
|
360
364
|
|
361
|
-
# Set x-goog-api-client
|
365
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
362
366
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
363
367
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
364
368
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
365
369
|
transports_version_send: [:rest]
|
366
370
|
|
371
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
367
372
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
368
373
|
|
369
374
|
options.apply_defaults timeout: @config.rpcs.get_intent.timeout,
|
@@ -453,12 +458,13 @@ module Google
|
|
453
458
|
# Customize the options with defaults
|
454
459
|
call_metadata = @config.rpcs.create_intent.metadata.to_h
|
455
460
|
|
456
|
-
# Set x-goog-api-client
|
461
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
457
462
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
458
463
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
459
464
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
460
465
|
transports_version_send: [:rest]
|
461
466
|
|
467
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
462
468
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
463
469
|
|
464
470
|
options.apply_defaults timeout: @config.rpcs.create_intent.timeout,
|
@@ -548,12 +554,13 @@ module Google
|
|
548
554
|
# Customize the options with defaults
|
549
555
|
call_metadata = @config.rpcs.update_intent.metadata.to_h
|
550
556
|
|
551
|
-
# Set x-goog-api-client
|
557
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
552
558
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
553
559
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
554
560
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
555
561
|
transports_version_send: [:rest]
|
556
562
|
|
563
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
557
564
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
558
565
|
|
559
566
|
options.apply_defaults timeout: @config.rpcs.update_intent.timeout,
|
@@ -632,12 +639,13 @@ module Google
|
|
632
639
|
# Customize the options with defaults
|
633
640
|
call_metadata = @config.rpcs.delete_intent.metadata.to_h
|
634
641
|
|
635
|
-
# Set x-goog-api-client
|
642
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
636
643
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
637
644
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
638
645
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
639
646
|
transports_version_send: [:rest]
|
640
647
|
|
648
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
641
649
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
642
650
|
|
643
651
|
options.apply_defaults timeout: @config.rpcs.delete_intent.timeout,
|
@@ -741,12 +749,13 @@ module Google
|
|
741
749
|
# Customize the options with defaults
|
742
750
|
call_metadata = @config.rpcs.import_intents.metadata.to_h
|
743
751
|
|
744
|
-
# Set x-goog-api-client
|
752
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
745
753
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
746
754
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
747
755
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
748
756
|
transports_version_send: [:rest]
|
749
757
|
|
758
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
750
759
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
751
760
|
|
752
761
|
options.apply_defaults timeout: @config.rpcs.import_intents.timeout,
|
@@ -858,12 +867,13 @@ module Google
|
|
858
867
|
# Customize the options with defaults
|
859
868
|
call_metadata = @config.rpcs.export_intents.metadata.to_h
|
860
869
|
|
861
|
-
# Set x-goog-api-client
|
870
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
862
871
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
863
872
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
864
873
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
865
874
|
transports_version_send: [:rest]
|
866
875
|
|
876
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
867
877
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
868
878
|
|
869
879
|
options.apply_defaults timeout: @config.rpcs.export_intents.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::Page Pages}.
|
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
|
|
@@ -269,10 +272,11 @@ module Google
|
|
269
272
|
# Customize the options with defaults
|
270
273
|
metadata = @config.rpcs.list_pages.metadata.to_h
|
271
274
|
|
272
|
-
# Set x-goog-api-client
|
275
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
276
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
277
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
278
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
279
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
276
280
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
277
281
|
|
278
282
|
header_params = {}
|
@@ -379,10 +383,11 @@ module Google
|
|
379
383
|
# Customize the options with defaults
|
380
384
|
metadata = @config.rpcs.get_page.metadata.to_h
|
381
385
|
|
382
|
-
# Set x-goog-api-client
|
386
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
383
387
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
384
388
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
385
389
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
390
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
386
391
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
387
392
|
|
388
393
|
header_params = {}
|
@@ -493,10 +498,11 @@ module Google
|
|
493
498
|
# Customize the options with defaults
|
494
499
|
metadata = @config.rpcs.create_page.metadata.to_h
|
495
500
|
|
496
|
-
# Set x-goog-api-client
|
501
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
497
502
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
498
503
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
499
504
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
505
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
500
506
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
501
507
|
|
502
508
|
header_params = {}
|
@@ -606,10 +612,11 @@ module Google
|
|
606
612
|
# Customize the options with defaults
|
607
613
|
metadata = @config.rpcs.update_page.metadata.to_h
|
608
614
|
|
609
|
-
# Set x-goog-api-client
|
615
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
610
616
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
611
617
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
612
618
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
619
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
613
620
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
614
621
|
|
615
622
|
header_params = {}
|
@@ -708,10 +715,11 @@ module Google
|
|
708
715
|
# Customize the options with defaults
|
709
716
|
metadata = @config.rpcs.delete_page.metadata.to_h
|
710
717
|
|
711
|
-
# Set x-goog-api-client
|
718
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
712
719
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
713
720
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
714
721
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
722
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
715
723
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
716
724
|
|
717
725
|
header_params = {}
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# Service for managing {::Google::Cloud::Dialogflow::CX::V3::Page Pages}.
|
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
|
|
@@ -262,12 +265,13 @@ module Google
|
|
262
265
|
# Customize the options with defaults
|
263
266
|
call_metadata = @config.rpcs.list_pages.metadata.to_h
|
264
267
|
|
265
|
-
# Set x-goog-api-client
|
268
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
266
269
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
267
270
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
268
271
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
269
272
|
transports_version_send: [:rest]
|
270
273
|
|
274
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
271
275
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
272
276
|
|
273
277
|
options.apply_defaults timeout: @config.rpcs.list_pages.timeout,
|
@@ -365,12 +369,13 @@ module Google
|
|
365
369
|
# Customize the options with defaults
|
366
370
|
call_metadata = @config.rpcs.get_page.metadata.to_h
|
367
371
|
|
368
|
-
# Set x-goog-api-client
|
372
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
369
373
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
370
374
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
371
375
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
372
376
|
transports_version_send: [:rest]
|
373
377
|
|
378
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
374
379
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
375
380
|
|
376
381
|
options.apply_defaults timeout: @config.rpcs.get_page.timeout,
|
@@ -472,12 +477,13 @@ module Google
|
|
472
477
|
# Customize the options with defaults
|
473
478
|
call_metadata = @config.rpcs.create_page.metadata.to_h
|
474
479
|
|
475
|
-
# Set x-goog-api-client
|
480
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
476
481
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
477
482
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
478
483
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
479
484
|
transports_version_send: [:rest]
|
480
485
|
|
486
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
481
487
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
482
488
|
|
483
489
|
options.apply_defaults timeout: @config.rpcs.create_page.timeout,
|
@@ -578,12 +584,13 @@ module Google
|
|
578
584
|
# Customize the options with defaults
|
579
585
|
call_metadata = @config.rpcs.update_page.metadata.to_h
|
580
586
|
|
581
|
-
# Set x-goog-api-client
|
587
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
582
588
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
583
589
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
584
590
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
585
591
|
transports_version_send: [:rest]
|
586
592
|
|
593
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
587
594
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
588
595
|
|
589
596
|
options.apply_defaults timeout: @config.rpcs.update_page.timeout,
|
@@ -673,12 +680,13 @@ module Google
|
|
673
680
|
# Customize the options with defaults
|
674
681
|
call_metadata = @config.rpcs.delete_page.metadata.to_h
|
675
682
|
|
676
|
-
# Set x-goog-api-client
|
683
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
677
684
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
678
685
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
679
686
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION,
|
680
687
|
transports_version_send: [:rest]
|
681
688
|
|
689
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
682
690
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
683
691
|
|
684
692
|
options.apply_defaults timeout: @config.rpcs.delete_page.timeout,
|
@@ -12,7 +12,7 @@ require 'google/protobuf/empty_pb'
|
|
12
12
|
require 'google/protobuf/field_mask_pb'
|
13
13
|
|
14
14
|
|
15
|
-
descriptor_data = "\n5google/cloud/dialogflow/cx/v3/security_settings.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"^\n\x1aGetSecuritySettingsRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*dialogflow.googleapis.com/SecuritySettings\"\xa6\x01\n\x1dUpdateSecuritySettingsRequest\x12O\n\x11security_settings\x18\x01 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.SecuritySettingsB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\x88\x01\n\x1bListSecuritySettingsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*dialogflow.googleapis.com/SecuritySettings\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x83\x01\n\x1cListSecuritySettingsResponse\x12J\n\x11security_settings\x18\x01 \x03(\x0b\x32/.google.cloud.dialogflow.cx.v3.SecuritySettings\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb4\x01\n\x1d\x43reateSecuritySettingsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*dialogflow.googleapis.com/SecuritySettings\x12O\n\x11security_settings\x18\x02 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.SecuritySettingsB\x03\xe0\x41\x02\"a\n\x1d\x44\x65leteSecuritySettingsRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*dialogflow.googleapis.com/SecuritySettings\"\
|
15
|
+
descriptor_data = "\n5google/cloud/dialogflow/cx/v3/security_settings.proto\x12\x1dgoogle.cloud.dialogflow.cx.v3\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"^\n\x1aGetSecuritySettingsRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*dialogflow.googleapis.com/SecuritySettings\"\xa6\x01\n\x1dUpdateSecuritySettingsRequest\x12O\n\x11security_settings\x18\x01 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.SecuritySettingsB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\x88\x01\n\x1bListSecuritySettingsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*dialogflow.googleapis.com/SecuritySettings\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x83\x01\n\x1cListSecuritySettingsResponse\x12J\n\x11security_settings\x18\x01 \x03(\x0b\x32/.google.cloud.dialogflow.cx.v3.SecuritySettings\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xb4\x01\n\x1d\x43reateSecuritySettingsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\x12*dialogflow.googleapis.com/SecuritySettings\x12O\n\x11security_settings\x18\x02 \x01(\x0b\x32/.google.cloud.dialogflow.cx.v3.SecuritySettingsB\x03\xe0\x41\x02\"a\n\x1d\x44\x65leteSecuritySettingsRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*dialogflow.googleapis.com/SecuritySettings\"\xe7\x0c\n\x10SecuritySettings\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12]\n\x12redaction_strategy\x18\x03 \x01(\x0e\x32\x41.google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionStrategy\x12W\n\x0fredaction_scope\x18\x04 \x01(\x0e\x32>.google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionScope\x12\x41\n\x10inspect_template\x18\t \x01(\tB\'\xfa\x41$\n\"dlp.googleapis.com/InspectTemplate\x12G\n\x13\x64\x65identify_template\x18\x11 \x01(\tB*\xfa\x41\'\n%dlp.googleapis.com/DeidentifyTemplate\x12\x1f\n\x15retention_window_days\x18\x06 \x01(\x05H\x00\x12_\n\x12retention_strategy\x18\x07 \x01(\x0e\x32\x41.google.cloud.dialogflow.cx.v3.SecuritySettings.RetentionStrategyH\x00\x12W\n\x10purge_data_types\x18\x08 \x03(\x0e\x32=.google.cloud.dialogflow.cx.v3.SecuritySettings.PurgeDataType\x12\x62\n\x15\x61udio_export_settings\x18\x0c \x01(\x0b\x32\x43.google.cloud.dialogflow.cx.v3.SecuritySettings.AudioExportSettings\x12h\n\x18insights_export_settings\x18\r \x01(\x0b\x32\x46.google.cloud.dialogflow.cx.v3.SecuritySettings.InsightsExportSettings\x1a\xb1\x02\n\x13\x41udioExportSettings\x12\x12\n\ngcs_bucket\x18\x01 \x01(\t\x12\x1c\n\x14\x61udio_export_pattern\x18\x02 \x01(\t\x12\x1e\n\x16\x65nable_audio_redaction\x18\x03 \x01(\x08\x12\x65\n\x0c\x61udio_format\x18\x04 \x01(\x0e\x32O.google.cloud.dialogflow.cx.v3.SecuritySettings.AudioExportSettings.AudioFormat\x12\x17\n\x0fstore_tts_audio\x18\x06 \x01(\x08\"H\n\x0b\x41udioFormat\x12\x1c\n\x18\x41UDIO_FORMAT_UNSPECIFIED\x10\x00\x12\t\n\x05MULAW\x10\x01\x12\x07\n\x03MP3\x10\x02\x12\x07\n\x03OGG\x10\x03\x1a\x38\n\x16InsightsExportSettings\x12\x1e\n\x16\x65nable_insights_export\x18\x01 \x01(\x08\"P\n\x11RedactionStrategy\x12\"\n\x1eREDACTION_STRATEGY_UNSPECIFIED\x10\x00\x12\x17\n\x13REDACT_WITH_SERVICE\x10\x01\"J\n\x0eRedactionScope\x12\x1f\n\x1bREDACTION_SCOPE_UNSPECIFIED\x10\x00\x12\x17\n\x13REDACT_DISK_STORAGE\x10\x02\"V\n\x11RetentionStrategy\x12\"\n\x1eRETENTION_STRATEGY_UNSPECIFIED\x10\x00\x12\x1d\n\x19REMOVE_AFTER_CONVERSATION\x10\x01\"H\n\rPurgeDataType\x12\x1f\n\x1bPURGE_DATA_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12\x44IALOGFLOW_HISTORY\x10\x01:}\xea\x41z\n*dialogflow.googleapis.com/SecuritySettings\x12Lprojects/{project}/locations/{location}/securitySettings/{security_settings}B\x10\n\x0e\x64\x61ta_retention2\xef\t\n\x17SecuritySettingsService\x12\xf3\x01\n\x16\x43reateSecuritySettings\x12<.google.cloud.dialogflow.cx.v3.CreateSecuritySettingsRequest\x1a/.google.cloud.dialogflow.cx.v3.SecuritySettings\"j\xda\x41\x18parent,security_settings\x82\xd3\xe4\x93\x02I\"4/v3/{parent=projects/*/locations/*}/securitySettings:\x11security_settings\x12\xc6\x01\n\x13GetSecuritySettings\x12\x39.google.cloud.dialogflow.cx.v3.GetSecuritySettingsRequest\x1a/.google.cloud.dialogflow.cx.v3.SecuritySettings\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\x12\x34/v3/{name=projects/*/locations/*/securitySettings/*}\x12\x8b\x02\n\x16UpdateSecuritySettings\x12<.google.cloud.dialogflow.cx.v3.UpdateSecuritySettingsRequest\x1a/.google.cloud.dialogflow.cx.v3.SecuritySettings\"\x81\x01\xda\x41\x1dsecurity_settings,update_mask\x82\xd3\xe4\x93\x02[2F/v3/{security_settings.name=projects/*/locations/*/securitySettings/*}:\x11security_settings\x12\xd6\x01\n\x14ListSecuritySettings\x12:.google.cloud.dialogflow.cx.v3.ListSecuritySettingsRequest\x1a;.google.cloud.dialogflow.cx.v3.ListSecuritySettingsResponse\"E\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x36\x12\x34/v3/{parent=projects/*/locations/*}/securitySettings\x12\xb3\x01\n\x16\x44\x65leteSecuritySettings\x12<.google.cloud.dialogflow.cx.v3.DeleteSecuritySettingsRequest\x1a\x16.google.protobuf.Empty\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36*4/v3/{name=projects/*/locations/*/securitySettings/*}\x1ax\xca\x41\x19\x64ialogflow.googleapis.com\xd2\x41Yhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/dialogflowB\xe2\x04\n!com.google.cloud.dialogflow.cx.v3B\x15SecuritySettingsProtoP\x01Z1cloud.google.com/go/dialogflow/cx/apiv3/cxpb;cxpb\xf8\x01\x01\xa2\x02\x02\x44\x46\xaa\x02\x1dGoogle.Cloud.Dialogflow.Cx.V3\xea\x02!Google::Cloud::Dialogflow::CX::V3\xea\x41\xc8\x01\n\"dlp.googleapis.com/InspectTemplate\x12Uorganizations/{organization}/locations/{location}/inspectTemplates/{inspect_template}\x12Kprojects/{project}/locations/{location}/inspectTemplates/{inspect_template}\xea\x41\xd7\x01\n%dlp.googleapis.com/DeidentifyTemplate\x12[organizations/{organization}/locations/{location}/deidentifyTemplates/{deidentify_template}\x12Qprojects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}b\x06proto3"
|
16
16
|
|
17
17
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
18
|
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# Service for managing security settings for Dialogflow.
|
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
|
|
@@ -240,10 +243,11 @@ module Google
|
|
240
243
|
# Customize the options with defaults
|
241
244
|
metadata = @config.rpcs.create_security_settings.metadata.to_h
|
242
245
|
|
243
|
-
# Set x-goog-api-client
|
246
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
244
247
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
245
248
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
246
249
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
250
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
247
251
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
248
252
|
|
249
253
|
header_params = {}
|
@@ -329,10 +333,11 @@ module Google
|
|
329
333
|
# Customize the options with defaults
|
330
334
|
metadata = @config.rpcs.get_security_settings.metadata.to_h
|
331
335
|
|
332
|
-
# Set x-goog-api-client
|
336
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
333
337
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
334
338
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
335
339
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
340
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
336
341
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
337
342
|
|
338
343
|
header_params = {}
|
@@ -419,10 +424,11 @@ module Google
|
|
419
424
|
# Customize the options with defaults
|
420
425
|
metadata = @config.rpcs.update_security_settings.metadata.to_h
|
421
426
|
|
422
|
-
# Set x-goog-api-client
|
427
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
423
428
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
424
429
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
425
430
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
431
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
426
432
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
427
433
|
|
428
434
|
header_params = {}
|
@@ -514,10 +520,11 @@ module Google
|
|
514
520
|
# Customize the options with defaults
|
515
521
|
metadata = @config.rpcs.list_security_settings.metadata.to_h
|
516
522
|
|
517
|
-
# Set x-goog-api-client
|
523
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
518
524
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
519
525
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
520
526
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
527
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
521
528
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
522
529
|
|
523
530
|
header_params = {}
|
@@ -604,10 +611,11 @@ module Google
|
|
604
611
|
# Customize the options with defaults
|
605
612
|
metadata = @config.rpcs.delete_security_settings.metadata.to_h
|
606
613
|
|
607
|
-
# Set x-goog-api-client
|
614
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
608
615
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
609
616
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
610
617
|
gapic_version: ::Google::Cloud::Dialogflow::CX::V3::VERSION
|
618
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
611
619
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
612
620
|
|
613
621
|
header_params = {}
|