google-cloud-dataplex-v1 2.8.0 → 2.8.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.
- checksums.yaml +4 -4
- data/lib/google/cloud/dataplex/v1/business_glossary_service/client.rb +20 -3
- data/lib/google/cloud/dataplex/v1/business_glossary_service/operations.rb +20 -3
- data/lib/google/cloud/dataplex/v1/catalog_service/client.rb +20 -3
- data/lib/google/cloud/dataplex/v1/catalog_service/operations.rb +20 -3
- data/lib/google/cloud/dataplex/v1/cmek_service/client.rb +20 -3
- data/lib/google/cloud/dataplex/v1/cmek_service/operations.rb +20 -3
- data/lib/google/cloud/dataplex/v1/content_service/client.rb +20 -3
- data/lib/google/cloud/dataplex/v1/data_scan_service/client.rb +20 -3
- data/lib/google/cloud/dataplex/v1/data_scan_service/operations.rb +20 -3
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/client.rb +20 -3
- data/lib/google/cloud/dataplex/v1/data_taxonomy_service/operations.rb +20 -3
- data/lib/google/cloud/dataplex/v1/dataplex_service/client.rb +20 -3
- data/lib/google/cloud/dataplex/v1/dataplex_service/operations.rb +20 -3
- data/lib/google/cloud/dataplex/v1/metadata_service/client.rb +20 -3
- data/lib/google/cloud/dataplex/v1/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fe3c8241c485633e7e98bb2b9367a29b6c807f6da6075455fa01a34696519f93
|
|
4
|
+
data.tar.gz: 9674986b55e76df1e4ae1d2967d9c538f2e1cc44b5911ddffe0aefe889a12183
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3b0ac8582327821c006777494764aabffe7a0102a18ea5ad9804f2399c0fa9d6688cd7df0946bc944291129c2e8bfa472cce1d8c0b4539ca52a0e063d4f7755
|
|
7
|
+
data.tar.gz: 74e06ae8685f2703a9ad0f69e4c326d52e518855ac21144f924e7c9315e289edb6e857685ce9293c5b55e1c7e280962c2a88861355fbef5f87d702b340e7a868
|
|
@@ -1733,8 +1733,6 @@ module Google
|
|
|
1733
1733
|
# @return [::String,nil]
|
|
1734
1734
|
# @!attribute [rw] credentials
|
|
1735
1735
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1736
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1737
|
-
# * (`Hash`) A service account key as a Hash
|
|
1738
1736
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1739
1737
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1740
1738
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1743,7 +1741,26 @@ module Google
|
|
|
1743
1741
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1744
1742
|
# * (`nil`) indicating no credentials
|
|
1745
1743
|
#
|
|
1746
|
-
# Warning:
|
|
1744
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1745
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1746
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1747
|
+
#
|
|
1748
|
+
# @example
|
|
1749
|
+
#
|
|
1750
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1751
|
+
# # on the appropriate credentials class for your environment.
|
|
1752
|
+
#
|
|
1753
|
+
# require "googleauth"
|
|
1754
|
+
#
|
|
1755
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1756
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1757
|
+
# )
|
|
1758
|
+
#
|
|
1759
|
+
# client = ::Google::Cloud::Dataplex::V1::BusinessGlossaryService::Client.new do |config|
|
|
1760
|
+
# config.credentials = credentials
|
|
1761
|
+
# end
|
|
1762
|
+
#
|
|
1763
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1747
1764
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1748
1765
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1749
1766
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -3264,8 +3264,6 @@ module Google
|
|
|
3264
3264
|
# @return [::String,nil]
|
|
3265
3265
|
# @!attribute [rw] credentials
|
|
3266
3266
|
# Credentials to send with calls. You may provide any of the following types:
|
|
3267
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
3268
|
-
# * (`Hash`) A service account key as a Hash
|
|
3269
3267
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
3270
3268
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
3271
3269
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -3274,7 +3272,26 @@ module Google
|
|
|
3274
3272
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
3275
3273
|
# * (`nil`) indicating no credentials
|
|
3276
3274
|
#
|
|
3277
|
-
# Warning:
|
|
3275
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
3276
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
3277
|
+
# Google APIs can compromise the security of your systems and data.
|
|
3278
|
+
#
|
|
3279
|
+
# @example
|
|
3280
|
+
#
|
|
3281
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
3282
|
+
# # on the appropriate credentials class for your environment.
|
|
3283
|
+
#
|
|
3284
|
+
# require "googleauth"
|
|
3285
|
+
#
|
|
3286
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
3287
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
3288
|
+
# )
|
|
3289
|
+
#
|
|
3290
|
+
# client = ::Google::Cloud::Dataplex::V1::CatalogService::Client.new do |config|
|
|
3291
|
+
# config.credentials = credentials
|
|
3292
|
+
# end
|
|
3293
|
+
#
|
|
3294
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
3278
3295
|
# external source for authentication to Google Cloud, you must validate it before
|
|
3279
3296
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
3280
3297
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -762,8 +762,6 @@ module Google
|
|
|
762
762
|
# @return [::String,nil]
|
|
763
763
|
# @!attribute [rw] credentials
|
|
764
764
|
# Credentials to send with calls. You may provide any of the following types:
|
|
765
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
766
|
-
# * (`Hash`) A service account key as a Hash
|
|
767
765
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
768
766
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
769
767
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -772,7 +770,26 @@ module Google
|
|
|
772
770
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
773
771
|
# * (`nil`) indicating no credentials
|
|
774
772
|
#
|
|
775
|
-
# Warning:
|
|
773
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
774
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
775
|
+
# Google APIs can compromise the security of your systems and data.
|
|
776
|
+
#
|
|
777
|
+
# @example
|
|
778
|
+
#
|
|
779
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
780
|
+
# # on the appropriate credentials class for your environment.
|
|
781
|
+
#
|
|
782
|
+
# require "googleauth"
|
|
783
|
+
#
|
|
784
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
785
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
786
|
+
# )
|
|
787
|
+
#
|
|
788
|
+
# client = ::Google::Cloud::Dataplex::V1::CmekService::Client.new do |config|
|
|
789
|
+
# config.credentials = credentials
|
|
790
|
+
# end
|
|
791
|
+
#
|
|
792
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
776
793
|
# external source for authentication to Google Cloud, you must validate it before
|
|
777
794
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
778
795
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -1041,8 +1041,6 @@ module Google
|
|
|
1041
1041
|
# @return [::String,nil]
|
|
1042
1042
|
# @!attribute [rw] credentials
|
|
1043
1043
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1044
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1045
|
-
# * (`Hash`) A service account key as a Hash
|
|
1046
1044
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1047
1045
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1048
1046
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1051,7 +1049,26 @@ module Google
|
|
|
1051
1049
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1052
1050
|
# * (`nil`) indicating no credentials
|
|
1053
1051
|
#
|
|
1054
|
-
# Warning:
|
|
1052
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1053
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1054
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1055
|
+
#
|
|
1056
|
+
# @example
|
|
1057
|
+
#
|
|
1058
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1059
|
+
# # on the appropriate credentials class for your environment.
|
|
1060
|
+
#
|
|
1061
|
+
# require "googleauth"
|
|
1062
|
+
#
|
|
1063
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1064
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1065
|
+
# )
|
|
1066
|
+
#
|
|
1067
|
+
# client = ::Google::Cloud::Dataplex::V1::ContentService::Client.new do |config|
|
|
1068
|
+
# config.credentials = credentials
|
|
1069
|
+
# end
|
|
1070
|
+
#
|
|
1071
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1055
1072
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1056
1073
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1057
1074
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -1171,8 +1171,6 @@ module Google
|
|
|
1171
1171
|
# @return [::String,nil]
|
|
1172
1172
|
# @!attribute [rw] credentials
|
|
1173
1173
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1174
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1175
|
-
# * (`Hash`) A service account key as a Hash
|
|
1176
1174
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1177
1175
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1178
1176
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1181,7 +1179,26 @@ module Google
|
|
|
1181
1179
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1182
1180
|
# * (`nil`) indicating no credentials
|
|
1183
1181
|
#
|
|
1184
|
-
# Warning:
|
|
1182
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1183
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1184
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1185
|
+
#
|
|
1186
|
+
# @example
|
|
1187
|
+
#
|
|
1188
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1189
|
+
# # on the appropriate credentials class for your environment.
|
|
1190
|
+
#
|
|
1191
|
+
# require "googleauth"
|
|
1192
|
+
#
|
|
1193
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1194
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1195
|
+
# )
|
|
1196
|
+
#
|
|
1197
|
+
# client = ::Google::Cloud::Dataplex::V1::DataScanService::Client.new do |config|
|
|
1198
|
+
# config.credentials = credentials
|
|
1199
|
+
# end
|
|
1200
|
+
#
|
|
1201
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1185
1202
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1186
1203
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1187
1204
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -1791,8 +1791,6 @@ module Google
|
|
|
1791
1791
|
# @return [::String,nil]
|
|
1792
1792
|
# @!attribute [rw] credentials
|
|
1793
1793
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1794
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1795
|
-
# * (`Hash`) A service account key as a Hash
|
|
1796
1794
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1797
1795
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1798
1796
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1801,7 +1799,26 @@ module Google
|
|
|
1801
1799
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1802
1800
|
# * (`nil`) indicating no credentials
|
|
1803
1801
|
#
|
|
1804
|
-
# Warning:
|
|
1802
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1803
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1804
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1805
|
+
#
|
|
1806
|
+
# @example
|
|
1807
|
+
#
|
|
1808
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1809
|
+
# # on the appropriate credentials class for your environment.
|
|
1810
|
+
#
|
|
1811
|
+
# require "googleauth"
|
|
1812
|
+
#
|
|
1813
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1814
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1815
|
+
# )
|
|
1816
|
+
#
|
|
1817
|
+
# client = ::Google::Cloud::Dataplex::V1::DataTaxonomyService::Client.new do |config|
|
|
1818
|
+
# config.credentials = credentials
|
|
1819
|
+
# end
|
|
1820
|
+
#
|
|
1821
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1805
1822
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1806
1823
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1807
1824
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -3635,8 +3635,6 @@ module Google
|
|
|
3635
3635
|
# @return [::String,nil]
|
|
3636
3636
|
# @!attribute [rw] credentials
|
|
3637
3637
|
# Credentials to send with calls. You may provide any of the following types:
|
|
3638
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
3639
|
-
# * (`Hash`) A service account key as a Hash
|
|
3640
3638
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
3641
3639
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
3642
3640
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -3645,7 +3643,26 @@ module Google
|
|
|
3645
3643
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
3646
3644
|
# * (`nil`) indicating no credentials
|
|
3647
3645
|
#
|
|
3648
|
-
# Warning:
|
|
3646
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
3647
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
3648
|
+
# Google APIs can compromise the security of your systems and data.
|
|
3649
|
+
#
|
|
3650
|
+
# @example
|
|
3651
|
+
#
|
|
3652
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
3653
|
+
# # on the appropriate credentials class for your environment.
|
|
3654
|
+
#
|
|
3655
|
+
# require "googleauth"
|
|
3656
|
+
#
|
|
3657
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
3658
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
3659
|
+
# )
|
|
3660
|
+
#
|
|
3661
|
+
# client = ::Google::Cloud::Dataplex::V1::DataplexService::Client.new do |config|
|
|
3662
|
+
# config.credentials = credentials
|
|
3663
|
+
# end
|
|
3664
|
+
#
|
|
3665
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
3649
3666
|
# external source for authentication to Google Cloud, you must validate it before
|
|
3650
3667
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
3651
3668
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -1143,8 +1143,6 @@ module Google
|
|
|
1143
1143
|
# @return [::String,nil]
|
|
1144
1144
|
# @!attribute [rw] credentials
|
|
1145
1145
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1146
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1147
|
-
# * (`Hash`) A service account key as a Hash
|
|
1148
1146
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1149
1147
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1150
1148
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1153,7 +1151,26 @@ module Google
|
|
|
1153
1151
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1154
1152
|
# * (`nil`) indicating no credentials
|
|
1155
1153
|
#
|
|
1156
|
-
# Warning:
|
|
1154
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1155
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1156
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1157
|
+
#
|
|
1158
|
+
# @example
|
|
1159
|
+
#
|
|
1160
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1161
|
+
# # on the appropriate credentials class for your environment.
|
|
1162
|
+
#
|
|
1163
|
+
# require "googleauth"
|
|
1164
|
+
#
|
|
1165
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1166
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1167
|
+
# )
|
|
1168
|
+
#
|
|
1169
|
+
# client = ::Google::Cloud::Dataplex::V1::MetadataService::Client.new do |config|
|
|
1170
|
+
# config.credentials = credentials
|
|
1171
|
+
# end
|
|
1172
|
+
#
|
|
1173
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1157
1174
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1158
1175
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1159
1176
|
# configuration to Google APIs can compromise the security of your systems and data.
|