google-cloud-data_catalog-v1 2.5.0 → 2.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0063e1a72331077ea1f240891480db42c2a5123462072ae1a0c1ef518acecb07
4
- data.tar.gz: 4b54383078842a43409d46b0bc6786dbb6448ecbf1deb9289a2977383ae65993
3
+ metadata.gz: b62da6208af8ac9069750307ef804aa6cff0f1d74f3c0781c1d8791ccb608eef
4
+ data.tar.gz: 34835cc5df014c61308b95cf89a8a9d5dc765632af45a464cadf6685f1727031
5
5
  SHA512:
6
- metadata.gz: 7ac99d2e4fe96038e6b3ba36a48dfef3d19cfb896f1495b6b91d93514c1a72627bcc2ec5a2032c7d53dd55d9b1e4957eaad5d38ed71dd51c2a54d48b500b0496
7
- data.tar.gz: d422d836917182edb50795a2235c26eb037e1a6f9020b9b5e43b694d465815b1e3012dc29d81a7a8ae35313d104639a86b26e3fa6d8cf677a79b8e71f0e9863b
6
+ metadata.gz: 3d71cef752c7cc144695df9102a6f9e27b99e01d877cfcd17b2cace8f9f9d8332c65d960a8cc898d0c3e65a56e7eeee2aa160dbaa3952f13ad7089cb259a2a45
7
+ data.tar.gz: 966abc41334097f8dcc6ded501da787b1e3cb7fcb8584d0f5174909f3bab9536fd565222a3f1887c8bae1820bfc4d2404b51b8350f9e36356d30238784b9df14
@@ -4063,8 +4063,6 @@ module Google
4063
4063
  # @return [::String,nil]
4064
4064
  # @!attribute [rw] credentials
4065
4065
  # Credentials to send with calls. You may provide any of the following types:
4066
- # * (`String`) The path to a service account key file in JSON format
4067
- # * (`Hash`) A service account key as a Hash
4068
4066
  # * (`Google::Auth::Credentials`) A googleauth credentials object
4069
4067
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
4070
4068
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -4073,7 +4071,26 @@ module Google
4073
4071
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
4074
4072
  # * (`nil`) indicating no credentials
4075
4073
  #
4076
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
4074
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
4075
+ # is deprecated. Providing an unvalidated credential configuration to
4076
+ # Google APIs can compromise the security of your systems and data.
4077
+ #
4078
+ # @example
4079
+ #
4080
+ # # The recommended way to provide credentials is to use the `make_creds` method
4081
+ # # on the appropriate credentials class for your environment.
4082
+ #
4083
+ # require "googleauth"
4084
+ #
4085
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
4086
+ # json_key_io: ::File.open("/path/to/keyfile.json")
4087
+ # )
4088
+ #
4089
+ # client = ::Google::Cloud::DataCatalog::V1::DataCatalog::Client.new do |config|
4090
+ # config.credentials = credentials
4091
+ # end
4092
+ #
4093
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
4077
4094
  # external source for authentication to Google Cloud, you must validate it before
4078
4095
  # providing it to a Google API client library. Providing an unvalidated credential
4079
4096
  # 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: If you accept a credential configuration (JSON file or Hash) from an
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.
@@ -1436,8 +1436,6 @@ module Google
1436
1436
  # @return [::String,nil]
1437
1437
  # @!attribute [rw] credentials
1438
1438
  # Credentials to send with calls. You may provide any of the following types:
1439
- # * (`String`) The path to a service account key file in JSON format
1440
- # * (`Hash`) A service account key as a Hash
1441
1439
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1442
1440
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1443
1441
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1446,7 +1444,26 @@ module Google
1446
1444
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1447
1445
  # * (`nil`) indicating no credentials
1448
1446
  #
1449
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1447
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1448
+ # is deprecated. Providing an unvalidated credential configuration to
1449
+ # Google APIs can compromise the security of your systems and data.
1450
+ #
1451
+ # @example
1452
+ #
1453
+ # # The recommended way to provide credentials is to use the `make_creds` method
1454
+ # # on the appropriate credentials class for your environment.
1455
+ #
1456
+ # require "googleauth"
1457
+ #
1458
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1459
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1460
+ # )
1461
+ #
1462
+ # client = ::Google::Cloud::DataCatalog::V1::PolicyTagManager::Client.new do |config|
1463
+ # config.credentials = credentials
1464
+ # end
1465
+ #
1466
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1450
1467
  # external source for authentication to Google Cloud, you must validate it before
1451
1468
  # providing it to a Google API client library. Providing an unvalidated credential
1452
1469
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -535,8 +535,6 @@ module Google
535
535
  # @return [::String,nil]
536
536
  # @!attribute [rw] credentials
537
537
  # Credentials to send with calls. You may provide any of the following types:
538
- # * (`String`) The path to a service account key file in JSON format
539
- # * (`Hash`) A service account key as a Hash
540
538
  # * (`Google::Auth::Credentials`) A googleauth credentials object
541
539
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
542
540
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -545,7 +543,26 @@ module Google
545
543
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
546
544
  # * (`nil`) indicating no credentials
547
545
  #
548
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
546
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
547
+ # is deprecated. Providing an unvalidated credential configuration to
548
+ # Google APIs can compromise the security of your systems and data.
549
+ #
550
+ # @example
551
+ #
552
+ # # The recommended way to provide credentials is to use the `make_creds` method
553
+ # # on the appropriate credentials class for your environment.
554
+ #
555
+ # require "googleauth"
556
+ #
557
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
558
+ # json_key_io: ::File.open("/path/to/keyfile.json")
559
+ # )
560
+ #
561
+ # client = ::Google::Cloud::DataCatalog::V1::PolicyTagManagerSerialization::Client.new do |config|
562
+ # config.credentials = credentials
563
+ # end
564
+ #
565
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
549
566
  # external source for authentication to Google Cloud, you must validate it before
550
567
  # providing it to a Google API client library. Providing an unvalidated credential
551
568
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DataCatalog
23
23
  module V1
24
- VERSION = "2.5.0"
24
+ VERSION = "2.5.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-data_catalog-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC