google-cloud-firestore-admin-v1 1.9.0 → 1.9.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: c5a843b95831370e9c66ba1417b6cf12e638dd518eb912cc73bbb90aa4c5b213
4
- data.tar.gz: aa7ace0045fd82b95029df7b977b455086bc495e000195741cb87bc643eeec2c
3
+ metadata.gz: 2625438b5d0f9ad3b8a29c71b99995dca8c69860c27ada81e21aa28bab5678f9
4
+ data.tar.gz: 9402f08d45b57a34db6082aa32e7d38bd4a04cbd016545e18e8ed9be8aff5deb
5
5
  SHA512:
6
- metadata.gz: 314c14a5e21314371e89ccab208d9a00ddb6d01ead14892e7431f39d459402318aaa0fc358ad2d3e3486b0b7c3c2afb941c1c3e8ac8f2ff16ce9622dbdcd95a5
7
- data.tar.gz: 4a88ed89e25dfa8b86b608a349515fa429b9b777c435f062aba25c496a0d1d6e05b79c126cfaab618e90beba8b1d87feec446a1d9e797d5a751466157e5ff5da
6
+ metadata.gz: 2088b014f943433a83721a594b3397a2ad2d89c479bb171acc54fd0652eca27171757f5cdc85fde795961ad2c52f74ad9182d2217d88817b39097473aa0f3a85
7
+ data.tar.gz: 321357247e7a5fdbef3118b3fa86cb20b30ebe3b70479ceb9374d79ac2467a2b0df92c47681d26d1408ece89486d588cc67ab525e5dbd689ee26e95e08f5cb6c
@@ -3460,8 +3460,6 @@ module Google
3460
3460
  # @return [::String,nil]
3461
3461
  # @!attribute [rw] credentials
3462
3462
  # Credentials to send with calls. You may provide any of the following types:
3463
- # * (`String`) The path to a service account key file in JSON format
3464
- # * (`Hash`) A service account key as a Hash
3465
3463
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3466
3464
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3467
3465
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3470,7 +3468,26 @@ module Google
3470
3468
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3471
3469
  # * (`nil`) indicating no credentials
3472
3470
  #
3473
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3471
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3472
+ # is deprecated. Providing an unvalidated credential configuration to
3473
+ # Google APIs can compromise the security of your systems and data.
3474
+ #
3475
+ # @example
3476
+ #
3477
+ # # The recommended way to provide credentials is to use the `make_creds` method
3478
+ # # on the appropriate credentials class for your environment.
3479
+ #
3480
+ # require "googleauth"
3481
+ #
3482
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3483
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3484
+ # )
3485
+ #
3486
+ # client = ::Google::Cloud::Firestore::Admin::V1::FirestoreAdmin::Client.new do |config|
3487
+ # config.credentials = credentials
3488
+ # end
3489
+ #
3490
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3474
3491
  # external source for authentication to Google Cloud, you must validate it before
3475
3492
  # providing it to a Google API client library. Providing an unvalidated credential
3476
3493
  # 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.
@@ -22,7 +22,7 @@ module Google
22
22
  module Firestore
23
23
  module Admin
24
24
  module V1
25
- VERSION = "1.9.0"
25
+ VERSION = "1.9.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-firestore-admin-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC