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:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 2625438b5d0f9ad3b8a29c71b99995dca8c69860c27ada81e21aa28bab5678f9
         | 
| 4 | 
            +
              data.tar.gz: 9402f08d45b57a34db6082aa32e7d38bd4a04cbd016545e18e8ed9be8aff5deb
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 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:  | 
| 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:  | 
| 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.
         |