google-shopping-merchant-products-v1beta 0.8.0 → 0.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
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 9c386a4beba933af38390481ba79e414f04af6ec70ef7c3f165e6d1cc1c27416
         | 
| 4 | 
            +
              data.tar.gz: e4d99ea513d120a9ec42a0af12ca094a59dc907804e8026536d794ac159de335
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: a2b6cd1fd2f8bf160a941abc5e434c221dfd847b4b6dd3c1fcbb7558a72b9ac61a406bd94fb3558be4aea895356dc1cedf12baf8c716e0575086915ba24cadfc
         | 
| 7 | 
            +
              data.tar.gz: c2dfbb7a404165b1917ceb3a36d5057abf330919424117edaa19b540109ec7e7224c94e286098b8adee38a64a4436c2fc2596defee57857de2956efeb63c66c8
         | 
| @@ -545,8 +545,6 @@ module Google | |
| 545 545 | 
             
                          #   @return [::String,nil]
         | 
| 546 546 | 
             
                          # @!attribute [rw] credentials
         | 
| 547 547 | 
             
                          #   Credentials to send with calls. You may provide any of the following types:
         | 
| 548 | 
            -
                          #    *  (`String`) The path to a service account key file in JSON format
         | 
| 549 | 
            -
                          #    *  (`Hash`) A service account key as a Hash
         | 
| 550 548 | 
             
                          #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 551 549 | 
             
                          #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 552 550 | 
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -555,7 +553,26 @@ module Google | |
| 555 553 | 
             
                          #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 556 554 | 
             
                          #    *  (`nil`) indicating no credentials
         | 
| 557 555 | 
             
                          #
         | 
| 558 | 
            -
                          #   Warning:  | 
| 556 | 
            +
                          #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 557 | 
            +
                          #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 558 | 
            +
                          #     Google APIs can compromise the security of your systems and data.
         | 
| 559 | 
            +
                          #
         | 
| 560 | 
            +
                          #   @example
         | 
| 561 | 
            +
                          #
         | 
| 562 | 
            +
                          #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 563 | 
            +
                          #     # on the appropriate credentials class for your environment.
         | 
| 564 | 
            +
                          #
         | 
| 565 | 
            +
                          #     require "googleauth"
         | 
| 566 | 
            +
                          #
         | 
| 567 | 
            +
                          #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 568 | 
            +
                          #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 569 | 
            +
                          #     )
         | 
| 570 | 
            +
                          #
         | 
| 571 | 
            +
                          #     client = ::Google::Shopping::Merchant::Products::V1beta::ProductInputsService::Client.new do |config|
         | 
| 572 | 
            +
                          #       config.credentials = credentials
         | 
| 573 | 
            +
                          #     end
         | 
| 574 | 
            +
                          #
         | 
| 575 | 
            +
                          #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 559 576 | 
             
                          #   external source for authentication to Google Cloud, you must validate it before
         | 
| 560 577 | 
             
                          #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 561 578 | 
             
                          #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| @@ -425,8 +425,6 @@ module Google | |
| 425 425 | 
             
                          #   @return [::String,nil]
         | 
| 426 426 | 
             
                          # @!attribute [rw] credentials
         | 
| 427 427 | 
             
                          #   Credentials to send with calls. You may provide any of the following types:
         | 
| 428 | 
            -
                          #    *  (`String`) The path to a service account key file in JSON format
         | 
| 429 | 
            -
                          #    *  (`Hash`) A service account key as a Hash
         | 
| 430 428 | 
             
                          #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 431 429 | 
             
                          #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 432 430 | 
             
                          #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -435,7 +433,26 @@ module Google | |
| 435 433 | 
             
                          #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 436 434 | 
             
                          #    *  (`nil`) indicating no credentials
         | 
| 437 435 | 
             
                          #
         | 
| 438 | 
            -
                          #   Warning:  | 
| 436 | 
            +
                          #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 437 | 
            +
                          #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 438 | 
            +
                          #     Google APIs can compromise the security of your systems and data.
         | 
| 439 | 
            +
                          #
         | 
| 440 | 
            +
                          #   @example
         | 
| 441 | 
            +
                          #
         | 
| 442 | 
            +
                          #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 443 | 
            +
                          #     # on the appropriate credentials class for your environment.
         | 
| 444 | 
            +
                          #
         | 
| 445 | 
            +
                          #     require "googleauth"
         | 
| 446 | 
            +
                          #
         | 
| 447 | 
            +
                          #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 448 | 
            +
                          #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 449 | 
            +
                          #     )
         | 
| 450 | 
            +
                          #
         | 
| 451 | 
            +
                          #     client = ::Google::Shopping::Merchant::Products::V1beta::ProductsService::Client.new do |config|
         | 
| 452 | 
            +
                          #       config.credentials = credentials
         | 
| 453 | 
            +
                          #     end
         | 
| 454 | 
            +
                          #
         | 
| 455 | 
            +
                          #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 439 456 | 
             
                          #   external source for authentication to Google Cloud, you must validate it before
         | 
| 440 457 | 
             
                          #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 441 458 | 
             
                          #   configuration to Google APIs can compromise the security of your systems and data.
         |