google-cloud-data_catalog-v1beta1 0.10.0 → 0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d604b98f748e64e16fe4b6fbd60ac2633373cd42f7062d0378f31ef4dd9d10e2
4
- data.tar.gz: 22a6bff8521986dd9ec29c25e5d02d96e30b3e745c8d4a716ef3ccc84e2011e7
3
+ metadata.gz: 84a48831af5ca10ecb13e17023aab8309e1d889de90a1ac6b268e19c67b9db4d
4
+ data.tar.gz: 553227d9d5ebb94cf9c175d90b7853dcb12d269685f4f3fe093fe880a436bc96
5
5
  SHA512:
6
- metadata.gz: 678b0f48f7f983fec73b9fcfd0d25d812008a04799e082f553e9a8025ecf85f67eb5e5940d223fce40db09b0bed0c6fc8815fdb39abb0ad5c3ed05f740702111
7
- data.tar.gz: 11230ef1f06772786d6f3fb7008bc948078fe0ee9f12badc50076af29e60c11a138514e1eee004a2cbc3c04e04f1b0d32a3e640dc565cf7ffbe7ff5f3ef38eb4
6
+ metadata.gz: 7443b8ba9317ec5bf7410be8a292dd42d71f5cb59ee692d208fcada8f549808bec9f9419a080c6d05bd6cb91087b53984080636412fc94634afc7d51255a5fc2
7
+ data.tar.gz: fa809afa9d514a4415abc7f6d443d8f31592026f754e48b071ab3ec8c85947baa79edd4abf590f9bd13f9f878d1379457d523a99aa9222aad41699bb5ec89eb5
@@ -3090,8 +3090,6 @@ module Google
3090
3090
  # @return [::String,nil]
3091
3091
  # @!attribute [rw] credentials
3092
3092
  # Credentials to send with calls. You may provide any of the following types:
3093
- # * (`String`) The path to a service account key file in JSON format
3094
- # * (`Hash`) A service account key as a Hash
3095
3093
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3096
3094
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3097
3095
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3100,7 +3098,26 @@ module Google
3100
3098
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3101
3099
  # * (`nil`) indicating no credentials
3102
3100
  #
3103
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3101
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3102
+ # is deprecated. Providing an unvalidated credential configuration to
3103
+ # Google APIs can compromise the security of your systems and data.
3104
+ #
3105
+ # @example
3106
+ #
3107
+ # # The recommended way to provide credentials is to use the `make_creds` method
3108
+ # # on the appropriate credentials class for your environment.
3109
+ #
3110
+ # require "googleauth"
3111
+ #
3112
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3113
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3114
+ # )
3115
+ #
3116
+ # client = ::Google::Cloud::DataCatalog::V1beta1::DataCatalog::Client.new do |config|
3117
+ # config.credentials = credentials
3118
+ # end
3119
+ #
3120
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3104
3121
  # external source for authentication to Google Cloud, you must validate it before
3105
3122
  # providing it to a Google API client library. Providing an unvalidated credential
3106
3123
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1415,8 +1415,6 @@ module Google
1415
1415
  # @return [::String,nil]
1416
1416
  # @!attribute [rw] credentials
1417
1417
  # Credentials to send with calls. You may provide any of the following types:
1418
- # * (`String`) The path to a service account key file in JSON format
1419
- # * (`Hash`) A service account key as a Hash
1420
1418
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1421
1419
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1422
1420
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1425,7 +1423,26 @@ module Google
1425
1423
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1426
1424
  # * (`nil`) indicating no credentials
1427
1425
  #
1428
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1426
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1427
+ # is deprecated. Providing an unvalidated credential configuration to
1428
+ # Google APIs can compromise the security of your systems and data.
1429
+ #
1430
+ # @example
1431
+ #
1432
+ # # The recommended way to provide credentials is to use the `make_creds` method
1433
+ # # on the appropriate credentials class for your environment.
1434
+ #
1435
+ # require "googleauth"
1436
+ #
1437
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1438
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1439
+ # )
1440
+ #
1441
+ # client = ::Google::Cloud::DataCatalog::V1beta1::PolicyTagManager::Client.new do |config|
1442
+ # config.credentials = credentials
1443
+ # end
1444
+ #
1445
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1429
1446
  # external source for authentication to Google Cloud, you must validate it before
1430
1447
  # providing it to a Google API client library. Providing an unvalidated credential
1431
1448
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -422,8 +422,6 @@ module Google
422
422
  # @return [::String,nil]
423
423
  # @!attribute [rw] credentials
424
424
  # Credentials to send with calls. You may provide any of the following types:
425
- # * (`String`) The path to a service account key file in JSON format
426
- # * (`Hash`) A service account key as a Hash
427
425
  # * (`Google::Auth::Credentials`) A googleauth credentials object
428
426
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
429
427
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -432,7 +430,26 @@ module Google
432
430
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
433
431
  # * (`nil`) indicating no credentials
434
432
  #
435
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
433
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
434
+ # is deprecated. Providing an unvalidated credential configuration to
435
+ # Google APIs can compromise the security of your systems and data.
436
+ #
437
+ # @example
438
+ #
439
+ # # The recommended way to provide credentials is to use the `make_creds` method
440
+ # # on the appropriate credentials class for your environment.
441
+ #
442
+ # require "googleauth"
443
+ #
444
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
445
+ # json_key_io: ::File.open("/path/to/keyfile.json")
446
+ # )
447
+ #
448
+ # client = ::Google::Cloud::DataCatalog::V1beta1::PolicyTagManagerSerialization::Client.new do |config|
449
+ # config.credentials = credentials
450
+ # end
451
+ #
452
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
436
453
  # external source for authentication to Google Cloud, you must validate it before
437
454
  # providing it to a Google API client library. Providing an unvalidated credential
438
455
  # 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 V1beta1
24
- VERSION = "0.10.0"
24
+ VERSION = "0.10.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-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC