google-cloud-dialogflow-cx-v3 1.10.0 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/dialogflow/cx/v3/agents/client.rb +20 -3
  3. data/lib/google/cloud/dialogflow/cx/v3/agents/operations.rb +20 -3
  4. data/lib/google/cloud/dialogflow/cx/v3/changelogs/client.rb +20 -3
  5. data/lib/google/cloud/dialogflow/cx/v3/deployments/client.rb +20 -3
  6. data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +20 -3
  7. data/lib/google/cloud/dialogflow/cx/v3/entity_types/operations.rb +20 -3
  8. data/lib/google/cloud/dialogflow/cx/v3/environments/client.rb +20 -3
  9. data/lib/google/cloud/dialogflow/cx/v3/environments/operations.rb +20 -3
  10. data/lib/google/cloud/dialogflow/cx/v3/experiments/client.rb +20 -3
  11. data/lib/google/cloud/dialogflow/cx/v3/flows/client.rb +20 -3
  12. data/lib/google/cloud/dialogflow/cx/v3/flows/operations.rb +20 -3
  13. data/lib/google/cloud/dialogflow/cx/v3/generators/client.rb +20 -3
  14. data/lib/google/cloud/dialogflow/cx/v3/intents/client.rb +20 -3
  15. data/lib/google/cloud/dialogflow/cx/v3/intents/operations.rb +20 -3
  16. data/lib/google/cloud/dialogflow/cx/v3/pages/client.rb +20 -3
  17. data/lib/google/cloud/dialogflow/cx/v3/security_settings_service/client.rb +20 -3
  18. data/lib/google/cloud/dialogflow/cx/v3/session_entity_types/client.rb +20 -3
  19. data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +20 -3
  20. data/lib/google/cloud/dialogflow/cx/v3/test_cases/client.rb +20 -3
  21. data/lib/google/cloud/dialogflow/cx/v3/test_cases/operations.rb +20 -3
  22. data/lib/google/cloud/dialogflow/cx/v3/transition_route_groups/client.rb +20 -3
  23. data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
  24. data/lib/google/cloud/dialogflow/cx/v3/versions/client.rb +20 -3
  25. data/lib/google/cloud/dialogflow/cx/v3/versions/operations.rb +20 -3
  26. data/lib/google/cloud/dialogflow/cx/v3/webhooks/client.rb +20 -3
  27. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc5c6c0058a96bf3e4ee9ead16c93b3e966dc266edd5963a254973658a261e85
4
- data.tar.gz: 0234e73c9bb5d0fe7ba04c5ed51f0b5a9125b252557081611376873c6b65a561
3
+ metadata.gz: 7ed7368a3e328af4dd0cf91de601aaece55c0ef8413b75c8d59463ca87932fb7
4
+ data.tar.gz: 588b19b5a6346c3000c6c147b27e7ea74cb04ff1470c7df8bd0733cb8553e33a
5
5
  SHA512:
6
- metadata.gz: 46a18cf86f85ead8742bbc6d5fe7f81d41a38722fc3a9822d8c7b41620eb9f79d25ac9043ea004e2a5da56c67c7ec1b59a22fe475251cee1be85c03bc0b8f2c2
7
- data.tar.gz: da12ce6a3bd9e6fb0f8e5ac0e3a6c8b117e6307e8025fec3123adddf7c5f42049affc28e5eaa8c89a8975ec2905fd312e37cc932a492f326364fac88dc4258f3
6
+ metadata.gz: a0f08c1ba91ba174ed3f184b05af724c5078fd7d6b383e09ee5aadf02f833ec03b0f7941d45e4894b996e7c1c3c231efd19c4c90a5c43dcbd7a83da13a8c08c8
7
+ data.tar.gz: 188e99d02820c35d1335b9f0ba7ffd9d6735cde24ab8eec520264f588b0c4920f36cf7b3fe343bbf6dabfd345a6256c2d369afb1f28fc5a43e9e7db651634f55
@@ -1327,8 +1327,6 @@ module Google
1327
1327
  # @return [::String,nil]
1328
1328
  # @!attribute [rw] credentials
1329
1329
  # Credentials to send with calls. You may provide any of the following types:
1330
- # * (`String`) The path to a service account key file in JSON format
1331
- # * (`Hash`) A service account key as a Hash
1332
1330
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1333
1331
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1334
1332
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1337,7 +1335,26 @@ module Google
1337
1335
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1338
1336
  # * (`nil`) indicating no credentials
1339
1337
  #
1340
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1338
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1339
+ # is deprecated. Providing an unvalidated credential configuration to
1340
+ # Google APIs can compromise the security of your systems and data.
1341
+ #
1342
+ # @example
1343
+ #
1344
+ # # The recommended way to provide credentials is to use the `make_creds` method
1345
+ # # on the appropriate credentials class for your environment.
1346
+ #
1347
+ # require "googleauth"
1348
+ #
1349
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1350
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1351
+ # )
1352
+ #
1353
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Agents::Client.new do |config|
1354
+ # config.credentials = credentials
1355
+ # end
1356
+ #
1357
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1341
1358
  # external source for authentication to Google Cloud, you must validate it before
1342
1359
  # providing it to a Google API client library. Providing an unvalidated credential
1343
1360
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -643,8 +643,6 @@ module Google
643
643
  # @return [::String,nil]
644
644
  # @!attribute [rw] credentials
645
645
  # Credentials to send with calls. You may provide any of the following types:
646
- # * (`String`) The path to a service account key file in JSON format
647
- # * (`Hash`) A service account key as a Hash
648
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
649
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
650
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -653,7 +651,26 @@ module Google
653
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
654
652
  # * (`nil`) indicating no credentials
655
653
  #
656
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
657
674
  # external source for authentication to Google Cloud, you must validate it before
658
675
  # providing it to a Google API client library. Providing an unvalidated credential
659
676
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -445,8 +445,6 @@ module Google
445
445
  # @return [::String,nil]
446
446
  # @!attribute [rw] credentials
447
447
  # Credentials to send with calls. You may provide any of the following types:
448
- # * (`String`) The path to a service account key file in JSON format
449
- # * (`Hash`) A service account key as a Hash
450
448
  # * (`Google::Auth::Credentials`) A googleauth credentials object
451
449
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
452
450
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -455,7 +453,26 @@ module Google
455
453
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
456
454
  # * (`nil`) indicating no credentials
457
455
  #
458
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
456
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
457
+ # is deprecated. Providing an unvalidated credential configuration to
458
+ # Google APIs can compromise the security of your systems and data.
459
+ #
460
+ # @example
461
+ #
462
+ # # The recommended way to provide credentials is to use the `make_creds` method
463
+ # # on the appropriate credentials class for your environment.
464
+ #
465
+ # require "googleauth"
466
+ #
467
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
468
+ # json_key_io: ::File.open("/path/to/keyfile.json")
469
+ # )
470
+ #
471
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Changelogs::Client.new do |config|
472
+ # config.credentials = credentials
473
+ # end
474
+ #
475
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
459
476
  # external source for authentication to Google Cloud, you must validate it before
460
477
  # providing it to a Google API client library. Providing an unvalidated credential
461
478
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -427,8 +427,6 @@ module Google
427
427
  # @return [::String,nil]
428
428
  # @!attribute [rw] credentials
429
429
  # Credentials to send with calls. You may provide any of the following types:
430
- # * (`String`) The path to a service account key file in JSON format
431
- # * (`Hash`) A service account key as a Hash
432
430
  # * (`Google::Auth::Credentials`) A googleauth credentials object
433
431
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
434
432
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -437,7 +435,26 @@ module Google
437
435
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
438
436
  # * (`nil`) indicating no credentials
439
437
  #
440
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
438
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
439
+ # is deprecated. Providing an unvalidated credential configuration to
440
+ # Google APIs can compromise the security of your systems and data.
441
+ #
442
+ # @example
443
+ #
444
+ # # The recommended way to provide credentials is to use the `make_creds` method
445
+ # # on the appropriate credentials class for your environment.
446
+ #
447
+ # require "googleauth"
448
+ #
449
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
450
+ # json_key_io: ::File.open("/path/to/keyfile.json")
451
+ # )
452
+ #
453
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Deployments::Client.new do |config|
454
+ # config.credentials = credentials
455
+ # end
456
+ #
457
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
441
458
  # external source for authentication to Google Cloud, you must validate it before
442
459
  # providing it to a Google API client library. Providing an unvalidated credential
443
460
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1029,8 +1029,6 @@ module Google
1029
1029
  # @return [::String,nil]
1030
1030
  # @!attribute [rw] credentials
1031
1031
  # Credentials to send with calls. You may provide any of the following types:
1032
- # * (`String`) The path to a service account key file in JSON format
1033
- # * (`Hash`) A service account key as a Hash
1034
1032
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1035
1033
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1036
1034
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1039,7 +1037,26 @@ module Google
1039
1037
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1040
1038
  # * (`nil`) indicating no credentials
1041
1039
  #
1042
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1040
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1041
+ # is deprecated. Providing an unvalidated credential configuration to
1042
+ # Google APIs can compromise the security of your systems and data.
1043
+ #
1044
+ # @example
1045
+ #
1046
+ # # The recommended way to provide credentials is to use the `make_creds` method
1047
+ # # on the appropriate credentials class for your environment.
1048
+ #
1049
+ # require "googleauth"
1050
+ #
1051
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1052
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1053
+ # )
1054
+ #
1055
+ # client = ::Google::Cloud::Dialogflow::CX::V3::EntityTypes::Client.new do |config|
1056
+ # config.credentials = credentials
1057
+ # end
1058
+ #
1059
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1043
1060
  # external source for authentication to Google Cloud, you must validate it before
1044
1061
  # providing it to a Google API client library. Providing an unvalidated credential
1045
1062
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -643,8 +643,6 @@ module Google
643
643
  # @return [::String,nil]
644
644
  # @!attribute [rw] credentials
645
645
  # Credentials to send with calls. You may provide any of the following types:
646
- # * (`String`) The path to a service account key file in JSON format
647
- # * (`Hash`) A service account key as a Hash
648
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
649
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
650
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -653,7 +651,26 @@ module Google
653
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
654
652
  # * (`nil`) indicating no credentials
655
653
  #
656
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
657
674
  # external source for authentication to Google Cloud, you must validate it before
658
675
  # providing it to a Google API client library. Providing an unvalidated credential
659
676
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1154,8 +1154,6 @@ module Google
1154
1154
  # @return [::String,nil]
1155
1155
  # @!attribute [rw] credentials
1156
1156
  # Credentials to send with calls. You may provide any of the following types:
1157
- # * (`String`) The path to a service account key file in JSON format
1158
- # * (`Hash`) A service account key as a Hash
1159
1157
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1160
1158
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1161
1159
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1164,7 +1162,26 @@ module Google
1164
1162
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1165
1163
  # * (`nil`) indicating no credentials
1166
1164
  #
1167
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1165
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1166
+ # is deprecated. Providing an unvalidated credential configuration to
1167
+ # Google APIs can compromise the security of your systems and data.
1168
+ #
1169
+ # @example
1170
+ #
1171
+ # # The recommended way to provide credentials is to use the `make_creds` method
1172
+ # # on the appropriate credentials class for your environment.
1173
+ #
1174
+ # require "googleauth"
1175
+ #
1176
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1177
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1178
+ # )
1179
+ #
1180
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Environments::Client.new do |config|
1181
+ # config.credentials = credentials
1182
+ # end
1183
+ #
1184
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1168
1185
  # external source for authentication to Google Cloud, you must validate it before
1169
1186
  # providing it to a Google API client library. Providing an unvalidated credential
1170
1187
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -643,8 +643,6 @@ module Google
643
643
  # @return [::String,nil]
644
644
  # @!attribute [rw] credentials
645
645
  # Credentials to send with calls. You may provide any of the following types:
646
- # * (`String`) The path to a service account key file in JSON format
647
- # * (`Hash`) A service account key as a Hash
648
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
649
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
650
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -653,7 +651,26 @@ module Google
653
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
654
652
  # * (`nil`) indicating no credentials
655
653
  #
656
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
657
674
  # external source for authentication to Google Cloud, you must validate it before
658
675
  # providing it to a Google API client library. Providing an unvalidated credential
659
676
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -870,8 +870,6 @@ module Google
870
870
  # @return [::String,nil]
871
871
  # @!attribute [rw] credentials
872
872
  # Credentials to send with calls. You may provide any of the following types:
873
- # * (`String`) The path to a service account key file in JSON format
874
- # * (`Hash`) A service account key as a Hash
875
873
  # * (`Google::Auth::Credentials`) A googleauth credentials object
876
874
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
877
875
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -880,7 +878,26 @@ module Google
880
878
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
881
879
  # * (`nil`) indicating no credentials
882
880
  #
883
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
881
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
882
+ # is deprecated. Providing an unvalidated credential configuration to
883
+ # Google APIs can compromise the security of your systems and data.
884
+ #
885
+ # @example
886
+ #
887
+ # # The recommended way to provide credentials is to use the `make_creds` method
888
+ # # on the appropriate credentials class for your environment.
889
+ #
890
+ # require "googleauth"
891
+ #
892
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
893
+ # json_key_io: ::File.open("/path/to/keyfile.json")
894
+ # )
895
+ #
896
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Experiments::Client.new do |config|
897
+ # config.credentials = credentials
898
+ # end
899
+ #
900
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
884
901
  # external source for authentication to Google Cloud, you must validate it before
885
902
  # providing it to a Google API client library. Providing an unvalidated credential
886
903
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1315,8 +1315,6 @@ module Google
1315
1315
  # @return [::String,nil]
1316
1316
  # @!attribute [rw] credentials
1317
1317
  # Credentials to send with calls. You may provide any of the following types:
1318
- # * (`String`) The path to a service account key file in JSON format
1319
- # * (`Hash`) A service account key as a Hash
1320
1318
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1321
1319
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1322
1320
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1325,7 +1323,26 @@ module Google
1325
1323
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1326
1324
  # * (`nil`) indicating no credentials
1327
1325
  #
1328
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1326
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1327
+ # is deprecated. Providing an unvalidated credential configuration to
1328
+ # Google APIs can compromise the security of your systems and data.
1329
+ #
1330
+ # @example
1331
+ #
1332
+ # # The recommended way to provide credentials is to use the `make_creds` method
1333
+ # # on the appropriate credentials class for your environment.
1334
+ #
1335
+ # require "googleauth"
1336
+ #
1337
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1338
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1339
+ # )
1340
+ #
1341
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Flows::Client.new do |config|
1342
+ # config.credentials = credentials
1343
+ # end
1344
+ #
1345
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1329
1346
  # external source for authentication to Google Cloud, you must validate it before
1330
1347
  # providing it to a Google API client library. Providing an unvalidated credential
1331
1348
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -643,8 +643,6 @@ module Google
643
643
  # @return [::String,nil]
644
644
  # @!attribute [rw] credentials
645
645
  # Credentials to send with calls. You may provide any of the following types:
646
- # * (`String`) The path to a service account key file in JSON format
647
- # * (`Hash`) A service account key as a Hash
648
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
649
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
650
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -653,7 +651,26 @@ module Google
653
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
654
652
  # * (`nil`) indicating no credentials
655
653
  #
656
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
657
674
  # external source for authentication to Google Cloud, you must validate it before
658
675
  # providing it to a Google API client library. Providing an unvalidated credential
659
676
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -706,8 +706,6 @@ module Google
706
706
  # @return [::String,nil]
707
707
  # @!attribute [rw] credentials
708
708
  # Credentials to send with calls. You may provide any of the following types:
709
- # * (`String`) The path to a service account key file in JSON format
710
- # * (`Hash`) A service account key as a Hash
711
709
  # * (`Google::Auth::Credentials`) A googleauth credentials object
712
710
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
713
711
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -716,7 +714,26 @@ module Google
716
714
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
717
715
  # * (`nil`) indicating no credentials
718
716
  #
719
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
717
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
718
+ # is deprecated. Providing an unvalidated credential configuration to
719
+ # Google APIs can compromise the security of your systems and data.
720
+ #
721
+ # @example
722
+ #
723
+ # # The recommended way to provide credentials is to use the `make_creds` method
724
+ # # on the appropriate credentials class for your environment.
725
+ #
726
+ # require "googleauth"
727
+ #
728
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
729
+ # json_key_io: ::File.open("/path/to/keyfile.json")
730
+ # )
731
+ #
732
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Generators::Client.new do |config|
733
+ # config.credentials = credentials
734
+ # end
735
+ #
736
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
720
737
  # external source for authentication to Google Cloud, you must validate it before
721
738
  # providing it to a Google API client library. Providing an unvalidated credential
722
739
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1007,8 +1007,6 @@ module Google
1007
1007
  # @return [::String,nil]
1008
1008
  # @!attribute [rw] credentials
1009
1009
  # Credentials to send with calls. You may provide any of the following types:
1010
- # * (`String`) The path to a service account key file in JSON format
1011
- # * (`Hash`) A service account key as a Hash
1012
1010
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1013
1011
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1014
1012
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1017,7 +1015,26 @@ module Google
1017
1015
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1018
1016
  # * (`nil`) indicating no credentials
1019
1017
  #
1020
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1018
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1019
+ # is deprecated. Providing an unvalidated credential configuration to
1020
+ # Google APIs can compromise the security of your systems and data.
1021
+ #
1022
+ # @example
1023
+ #
1024
+ # # The recommended way to provide credentials is to use the `make_creds` method
1025
+ # # on the appropriate credentials class for your environment.
1026
+ #
1027
+ # require "googleauth"
1028
+ #
1029
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1030
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1031
+ # )
1032
+ #
1033
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Intents::Client.new do |config|
1034
+ # config.credentials = credentials
1035
+ # end
1036
+ #
1037
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1021
1038
  # external source for authentication to Google Cloud, you must validate it before
1022
1039
  # providing it to a Google API client library. Providing an unvalidated credential
1023
1040
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -643,8 +643,6 @@ module Google
643
643
  # @return [::String,nil]
644
644
  # @!attribute [rw] credentials
645
645
  # Credentials to send with calls. You may provide any of the following types:
646
- # * (`String`) The path to a service account key file in JSON format
647
- # * (`Hash`) A service account key as a Hash
648
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
649
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
650
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -653,7 +651,26 @@ module Google
653
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
654
652
  # * (`nil`) indicating no credentials
655
653
  #
656
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
657
674
  # external source for authentication to Google Cloud, you must validate it before
658
675
  # providing it to a Google API client library. Providing an unvalidated credential
659
676
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -798,8 +798,6 @@ module Google
798
798
  # @return [::String,nil]
799
799
  # @!attribute [rw] credentials
800
800
  # Credentials to send with calls. You may provide any of the following types:
801
- # * (`String`) The path to a service account key file in JSON format
802
- # * (`Hash`) A service account key as a Hash
803
801
  # * (`Google::Auth::Credentials`) A googleauth credentials object
804
802
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
805
803
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -808,7 +806,26 @@ module Google
808
806
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
809
807
  # * (`nil`) indicating no credentials
810
808
  #
811
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
809
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
810
+ # is deprecated. Providing an unvalidated credential configuration to
811
+ # Google APIs can compromise the security of your systems and data.
812
+ #
813
+ # @example
814
+ #
815
+ # # The recommended way to provide credentials is to use the `make_creds` method
816
+ # # on the appropriate credentials class for your environment.
817
+ #
818
+ # require "googleauth"
819
+ #
820
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
821
+ # json_key_io: ::File.open("/path/to/keyfile.json")
822
+ # )
823
+ #
824
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Pages::Client.new do |config|
825
+ # config.credentials = credentials
826
+ # end
827
+ #
828
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
812
829
  # external source for authentication to Google Cloud, you must validate it before
813
830
  # providing it to a Google API client library. Providing an unvalidated credential
814
831
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -694,8 +694,6 @@ module Google
694
694
  # @return [::String,nil]
695
695
  # @!attribute [rw] credentials
696
696
  # Credentials to send with calls. You may provide any of the following types:
697
- # * (`String`) The path to a service account key file in JSON format
698
- # * (`Hash`) A service account key as a Hash
699
697
  # * (`Google::Auth::Credentials`) A googleauth credentials object
700
698
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
701
699
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -704,7 +702,26 @@ module Google
704
702
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
705
703
  # * (`nil`) indicating no credentials
706
704
  #
707
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
705
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
706
+ # is deprecated. Providing an unvalidated credential configuration to
707
+ # Google APIs can compromise the security of your systems and data.
708
+ #
709
+ # @example
710
+ #
711
+ # # The recommended way to provide credentials is to use the `make_creds` method
712
+ # # on the appropriate credentials class for your environment.
713
+ #
714
+ # require "googleauth"
715
+ #
716
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
717
+ # json_key_io: ::File.open("/path/to/keyfile.json")
718
+ # )
719
+ #
720
+ # client = ::Google::Cloud::Dialogflow::CX::V3::SecuritySettingsService::Client.new do |config|
721
+ # config.credentials = credentials
722
+ # end
723
+ #
724
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
708
725
  # external source for authentication to Google Cloud, you must validate it before
709
726
  # providing it to a Google API client library. Providing an unvalidated credential
710
727
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -711,8 +711,6 @@ module Google
711
711
  # @return [::String,nil]
712
712
  # @!attribute [rw] credentials
713
713
  # Credentials to send with calls. You may provide any of the following types:
714
- # * (`String`) The path to a service account key file in JSON format
715
- # * (`Hash`) A service account key as a Hash
716
714
  # * (`Google::Auth::Credentials`) A googleauth credentials object
717
715
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
718
716
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -721,7 +719,26 @@ module Google
721
719
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
722
720
  # * (`nil`) indicating no credentials
723
721
  #
724
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
722
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
723
+ # is deprecated. Providing an unvalidated credential configuration to
724
+ # Google APIs can compromise the security of your systems and data.
725
+ #
726
+ # @example
727
+ #
728
+ # # The recommended way to provide credentials is to use the `make_creds` method
729
+ # # on the appropriate credentials class for your environment.
730
+ #
731
+ # require "googleauth"
732
+ #
733
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
734
+ # json_key_io: ::File.open("/path/to/keyfile.json")
735
+ # )
736
+ #
737
+ # client = ::Google::Cloud::Dialogflow::CX::V3::SessionEntityTypes::Client.new do |config|
738
+ # config.credentials = credentials
739
+ # end
740
+ #
741
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
725
742
  # external source for authentication to Google Cloud, you must validate it before
726
743
  # providing it to a Google API client library. Providing an unvalidated credential
727
744
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -858,8 +858,6 @@ module Google
858
858
  # @return [::String,nil]
859
859
  # @!attribute [rw] credentials
860
860
  # Credentials to send with calls. You may provide any of the following types:
861
- # * (`String`) The path to a service account key file in JSON format
862
- # * (`Hash`) A service account key as a Hash
863
861
  # * (`Google::Auth::Credentials`) A googleauth credentials object
864
862
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
865
863
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -868,7 +866,26 @@ module Google
868
866
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
869
867
  # * (`nil`) indicating no credentials
870
868
  #
871
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
869
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
870
+ # is deprecated. Providing an unvalidated credential configuration to
871
+ # Google APIs can compromise the security of your systems and data.
872
+ #
873
+ # @example
874
+ #
875
+ # # The recommended way to provide credentials is to use the `make_creds` method
876
+ # # on the appropriate credentials class for your environment.
877
+ #
878
+ # require "googleauth"
879
+ #
880
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
881
+ # json_key_io: ::File.open("/path/to/keyfile.json")
882
+ # )
883
+ #
884
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Sessions::Client.new do |config|
885
+ # config.credentials = credentials
886
+ # end
887
+ #
888
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
872
889
  # external source for authentication to Google Cloud, you must validate it before
873
890
  # providing it to a Google API client library. Providing an unvalidated credential
874
891
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1480,8 +1480,6 @@ module Google
1480
1480
  # @return [::String,nil]
1481
1481
  # @!attribute [rw] credentials
1482
1482
  # Credentials to send with calls. You may provide any of the following types:
1483
- # * (`String`) The path to a service account key file in JSON format
1484
- # * (`Hash`) A service account key as a Hash
1485
1483
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1486
1484
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1487
1485
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1490,7 +1488,26 @@ module Google
1490
1488
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1491
1489
  # * (`nil`) indicating no credentials
1492
1490
  #
1493
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1491
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1492
+ # is deprecated. Providing an unvalidated credential configuration to
1493
+ # Google APIs can compromise the security of your systems and data.
1494
+ #
1495
+ # @example
1496
+ #
1497
+ # # The recommended way to provide credentials is to use the `make_creds` method
1498
+ # # on the appropriate credentials class for your environment.
1499
+ #
1500
+ # require "googleauth"
1501
+ #
1502
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1503
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1504
+ # )
1505
+ #
1506
+ # client = ::Google::Cloud::Dialogflow::CX::V3::TestCases::Client.new do |config|
1507
+ # config.credentials = credentials
1508
+ # end
1509
+ #
1510
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1494
1511
  # external source for authentication to Google Cloud, you must validate it before
1495
1512
  # providing it to a Google API client library. Providing an unvalidated credential
1496
1513
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -643,8 +643,6 @@ module Google
643
643
  # @return [::String,nil]
644
644
  # @!attribute [rw] credentials
645
645
  # Credentials to send with calls. You may provide any of the following types:
646
- # * (`String`) The path to a service account key file in JSON format
647
- # * (`Hash`) A service account key as a Hash
648
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
649
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
650
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -653,7 +651,26 @@ module Google
653
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
654
652
  # * (`nil`) indicating no credentials
655
653
  #
656
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
657
674
  # external source for authentication to Google Cloud, you must validate it before
658
675
  # providing it to a Google API client library. Providing an unvalidated credential
659
676
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -774,8 +774,6 @@ module Google
774
774
  # @return [::String,nil]
775
775
  # @!attribute [rw] credentials
776
776
  # Credentials to send with calls. You may provide any of the following types:
777
- # * (`String`) The path to a service account key file in JSON format
778
- # * (`Hash`) A service account key as a Hash
779
777
  # * (`Google::Auth::Credentials`) A googleauth credentials object
780
778
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
781
779
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -784,7 +782,26 @@ module Google
784
782
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
785
783
  # * (`nil`) indicating no credentials
786
784
  #
787
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
785
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
786
+ # is deprecated. Providing an unvalidated credential configuration to
787
+ # Google APIs can compromise the security of your systems and data.
788
+ #
789
+ # @example
790
+ #
791
+ # # The recommended way to provide credentials is to use the `make_creds` method
792
+ # # on the appropriate credentials class for your environment.
793
+ #
794
+ # require "googleauth"
795
+ #
796
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
797
+ # json_key_io: ::File.open("/path/to/keyfile.json")
798
+ # )
799
+ #
800
+ # client = ::Google::Cloud::Dialogflow::CX::V3::TransitionRouteGroups::Client.new do |config|
801
+ # config.credentials = credentials
802
+ # end
803
+ #
804
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
788
805
  # external source for authentication to Google Cloud, you must validate it before
789
806
  # providing it to a Google API client library. Providing an unvalidated credential
790
807
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module Dialogflow
23
23
  module CX
24
24
  module V3
25
- VERSION = "1.10.0"
25
+ VERSION = "1.10.1"
26
26
  end
27
27
  end
28
28
  end
@@ -934,8 +934,6 @@ module Google
934
934
  # @return [::String,nil]
935
935
  # @!attribute [rw] credentials
936
936
  # Credentials to send with calls. You may provide any of the following types:
937
- # * (`String`) The path to a service account key file in JSON format
938
- # * (`Hash`) A service account key as a Hash
939
937
  # * (`Google::Auth::Credentials`) A googleauth credentials object
940
938
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
941
939
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -944,7 +942,26 @@ module Google
944
942
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
945
943
  # * (`nil`) indicating no credentials
946
944
  #
947
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
945
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
946
+ # is deprecated. Providing an unvalidated credential configuration to
947
+ # Google APIs can compromise the security of your systems and data.
948
+ #
949
+ # @example
950
+ #
951
+ # # The recommended way to provide credentials is to use the `make_creds` method
952
+ # # on the appropriate credentials class for your environment.
953
+ #
954
+ # require "googleauth"
955
+ #
956
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
957
+ # json_key_io: ::File.open("/path/to/keyfile.json")
958
+ # )
959
+ #
960
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Versions::Client.new do |config|
961
+ # config.credentials = credentials
962
+ # end
963
+ #
964
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
948
965
  # external source for authentication to Google Cloud, you must validate it before
949
966
  # providing it to a Google API client library. Providing an unvalidated credential
950
967
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -643,8 +643,6 @@ module Google
643
643
  # @return [::String,nil]
644
644
  # @!attribute [rw] credentials
645
645
  # Credentials to send with calls. You may provide any of the following types:
646
- # * (`String`) The path to a service account key file in JSON format
647
- # * (`Hash`) A service account key as a Hash
648
646
  # * (`Google::Auth::Credentials`) A googleauth credentials object
649
647
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
650
648
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -653,7 +651,26 @@ module Google
653
651
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
654
652
  # * (`nil`) indicating no credentials
655
653
  #
656
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
654
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
655
+ # is deprecated. Providing an unvalidated credential configuration to
656
+ # Google APIs can compromise the security of your systems and data.
657
+ #
658
+ # @example
659
+ #
660
+ # # The recommended way to provide credentials is to use the `make_creds` method
661
+ # # on the appropriate credentials class for your environment.
662
+ #
663
+ # require "googleauth"
664
+ #
665
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
666
+ # json_key_io: ::File.open("/path/to/keyfile.json")
667
+ # )
668
+ #
669
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
670
+ # config.credentials = credentials
671
+ # end
672
+ #
673
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
657
674
  # external source for authentication to Google Cloud, you must validate it before
658
675
  # providing it to a Google API client library. Providing an unvalidated credential
659
676
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -698,8 +698,6 @@ module Google
698
698
  # @return [::String,nil]
699
699
  # @!attribute [rw] credentials
700
700
  # Credentials to send with calls. You may provide any of the following types:
701
- # * (`String`) The path to a service account key file in JSON format
702
- # * (`Hash`) A service account key as a Hash
703
701
  # * (`Google::Auth::Credentials`) A googleauth credentials object
704
702
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
705
703
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -708,7 +706,26 @@ module Google
708
706
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
709
707
  # * (`nil`) indicating no credentials
710
708
  #
711
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
709
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
710
+ # is deprecated. Providing an unvalidated credential configuration to
711
+ # Google APIs can compromise the security of your systems and data.
712
+ #
713
+ # @example
714
+ #
715
+ # # The recommended way to provide credentials is to use the `make_creds` method
716
+ # # on the appropriate credentials class for your environment.
717
+ #
718
+ # require "googleauth"
719
+ #
720
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
721
+ # json_key_io: ::File.open("/path/to/keyfile.json")
722
+ # )
723
+ #
724
+ # client = ::Google::Cloud::Dialogflow::CX::V3::Webhooks::Client.new do |config|
725
+ # config.credentials = credentials
726
+ # end
727
+ #
728
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
712
729
  # external source for authentication to Google Cloud, you must validate it before
713
730
  # providing it to a Google API client library. Providing an unvalidated credential
714
731
  # configuration to Google APIs can compromise the security of your systems and data.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dialogflow-cx-v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC