google-shopping-css-v1 0.7.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 +4 -4
- data/lib/google/shopping/css/v1/account_labels_service/client.rb +20 -3
- data/lib/google/shopping/css/v1/accounts_service/client.rb +20 -3
- data/lib/google/shopping/css/v1/css_product_inputs_service/client.rb +20 -3
- data/lib/google/shopping/css/v1/css_products_service/client.rb +20 -3
- data/lib/google/shopping/css/v1/quota_service/client.rb +20 -3
- data/lib/google/shopping/css/v1/version.rb +1 -1
- metadata +4 -4
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 9596d1973ed2c468617cf4f74f56021c74456fc2dc266fa333c1704b2357206c
         | 
| 4 | 
            +
              data.tar.gz: aa4076ce4c14e538bd9e9520f9cca4d092eabf12080b2282e72601cdede0efc2
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 65aabd2c15510bca066b2b5f54d767e151a6d30c6b6189483b6e2b2030b2c102dc58d267c6c5e8fc85e7d79fb0f588f4936735368539ef5cb9b17b96df189acf
         | 
| 7 | 
            +
              data.tar.gz: e70d3f3c43a201bdf3f79addc3b8792aff00f086909f56aaab764117c1ac2f7d30021939be70bd8a4973dd81be79f89c54f58ab37547b6c2940dff44ff00e1ba
         | 
| @@ -591,8 +591,6 @@ module Google | |
| 591 591 | 
             
                        #   @return [::String,nil]
         | 
| 592 592 | 
             
                        # @!attribute [rw] credentials
         | 
| 593 593 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 594 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 595 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 596 594 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 597 595 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 598 596 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -601,7 +599,26 @@ module Google | |
| 601 599 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 602 600 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 603 601 | 
             
                        #
         | 
| 604 | 
            -
                        #   Warning:  | 
| 602 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 603 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 604 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 605 | 
            +
                        #
         | 
| 606 | 
            +
                        #   @example
         | 
| 607 | 
            +
                        #
         | 
| 608 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 609 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 610 | 
            +
                        #
         | 
| 611 | 
            +
                        #     require "googleauth"
         | 
| 612 | 
            +
                        #
         | 
| 613 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 614 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 615 | 
            +
                        #     )
         | 
| 616 | 
            +
                        #
         | 
| 617 | 
            +
                        #     client = ::Google::Shopping::Css::V1::AccountLabelsService::Client.new do |config|
         | 
| 618 | 
            +
                        #       config.credentials = credentials
         | 
| 619 | 
            +
                        #     end
         | 
| 620 | 
            +
                        #
         | 
| 621 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 605 622 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 606 623 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 607 624 | 
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| @@ -522,8 +522,6 @@ module Google | |
| 522 522 | 
             
                        #   @return [::String,nil]
         | 
| 523 523 | 
             
                        # @!attribute [rw] credentials
         | 
| 524 524 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 525 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 526 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 527 525 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 528 526 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 529 527 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -532,7 +530,26 @@ module Google | |
| 532 530 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 533 531 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 534 532 | 
             
                        #
         | 
| 535 | 
            -
                        #   Warning:  | 
| 533 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 534 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 535 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 536 | 
            +
                        #
         | 
| 537 | 
            +
                        #   @example
         | 
| 538 | 
            +
                        #
         | 
| 539 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 540 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 541 | 
            +
                        #
         | 
| 542 | 
            +
                        #     require "googleauth"
         | 
| 543 | 
            +
                        #
         | 
| 544 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 545 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 546 | 
            +
                        #     )
         | 
| 547 | 
            +
                        #
         | 
| 548 | 
            +
                        #     client = ::Google::Shopping::Css::V1::AccountsService::Client.new do |config|
         | 
| 549 | 
            +
                        #       config.credentials = credentials
         | 
| 550 | 
            +
                        #     end
         | 
| 551 | 
            +
                        #
         | 
| 552 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 536 553 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 537 554 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 538 555 | 
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         | 
| @@ -529,8 +529,6 @@ module Google | |
| 529 529 | 
             
                        #   @return [::String,nil]
         | 
| 530 530 | 
             
                        # @!attribute [rw] credentials
         | 
| 531 531 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 532 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 533 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 534 532 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 535 533 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 536 534 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -539,7 +537,26 @@ module Google | |
| 539 537 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 540 538 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 541 539 | 
             
                        #
         | 
| 542 | 
            -
                        #   Warning:  | 
| 540 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 541 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 542 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 543 | 
            +
                        #
         | 
| 544 | 
            +
                        #   @example
         | 
| 545 | 
            +
                        #
         | 
| 546 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 547 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 548 | 
            +
                        #
         | 
| 549 | 
            +
                        #     require "googleauth"
         | 
| 550 | 
            +
                        #
         | 
| 551 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 552 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 553 | 
            +
                        #     )
         | 
| 554 | 
            +
                        #
         | 
| 555 | 
            +
                        #     client = ::Google::Shopping::Css::V1::CssProductInputsService::Client.new do |config|
         | 
| 556 | 
            +
                        #       config.credentials = credentials
         | 
| 557 | 
            +
                        #     end
         | 
| 558 | 
            +
                        #
         | 
| 559 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 543 560 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 544 561 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 545 562 | 
             
                        #   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::Css::V1::CssProductsService::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.
         | 
| @@ -322,8 +322,6 @@ module Google | |
| 322 322 | 
             
                        #   @return [::String,nil]
         | 
| 323 323 | 
             
                        # @!attribute [rw] credentials
         | 
| 324 324 | 
             
                        #   Credentials to send with calls. You may provide any of the following types:
         | 
| 325 | 
            -
                        #    *  (`String`) The path to a service account key file in JSON format
         | 
| 326 | 
            -
                        #    *  (`Hash`) A service account key as a Hash
         | 
| 327 325 | 
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         | 
| 328 326 | 
             
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         | 
| 329 327 | 
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         | 
| @@ -332,7 +330,26 @@ module Google | |
| 332 330 | 
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         | 
| 333 331 | 
             
                        #    *  (`nil`) indicating no credentials
         | 
| 334 332 | 
             
                        #
         | 
| 335 | 
            -
                        #   Warning:  | 
| 333 | 
            +
                        #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         | 
| 334 | 
            +
                        #     is deprecated. Providing an unvalidated credential configuration to
         | 
| 335 | 
            +
                        #     Google APIs can compromise the security of your systems and data.
         | 
| 336 | 
            +
                        #
         | 
| 337 | 
            +
                        #   @example
         | 
| 338 | 
            +
                        #
         | 
| 339 | 
            +
                        #     # The recommended way to provide credentials is to use the `make_creds` method
         | 
| 340 | 
            +
                        #     # on the appropriate credentials class for your environment.
         | 
| 341 | 
            +
                        #
         | 
| 342 | 
            +
                        #     require "googleauth"
         | 
| 343 | 
            +
                        #
         | 
| 344 | 
            +
                        #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         | 
| 345 | 
            +
                        #       json_key_io: ::File.open("/path/to/keyfile.json")
         | 
| 346 | 
            +
                        #     )
         | 
| 347 | 
            +
                        #
         | 
| 348 | 
            +
                        #     client = ::Google::Shopping::Css::V1::QuotaService::Client.new do |config|
         | 
| 349 | 
            +
                        #       config.credentials = credentials
         | 
| 350 | 
            +
                        #     end
         | 
| 351 | 
            +
                        #
         | 
| 352 | 
            +
                        #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         | 
| 336 353 | 
             
                        #   external source for authentication to Google Cloud, you must validate it before
         | 
| 337 354 | 
             
                        #   providing it to a Google API client library. Providing an unvalidated credential
         | 
| 338 355 | 
             
                        #   configuration to Google APIs can compromise the security of your systems and data.
         | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-shopping-css-v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.8.1
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Google LLC
         | 
| @@ -15,14 +15,14 @@ dependencies: | |
| 15 15 | 
             
                requirements:
         | 
| 16 16 | 
             
                - - "~>"
         | 
| 17 17 | 
             
                  - !ruby/object:Gem::Version
         | 
| 18 | 
            -
                    version: '1. | 
| 18 | 
            +
                    version: '1.2'
         | 
| 19 19 | 
             
              type: :runtime
         | 
| 20 20 | 
             
              prerelease: false
         | 
| 21 21 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 22 22 | 
             
                requirements:
         | 
| 23 23 | 
             
                - - "~>"
         | 
| 24 24 | 
             
                  - !ruby/object:Gem::Version
         | 
| 25 | 
            -
                    version: '1. | 
| 25 | 
            +
                    version: '1.2'
         | 
| 26 26 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 27 27 | 
             
              name: google-cloud-errors
         | 
| 28 28 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 154 154 | 
             
                - !ruby/object:Gem::Version
         | 
| 155 155 | 
             
                  version: '0'
         | 
| 156 156 | 
             
            requirements: []
         | 
| 157 | 
            -
            rubygems_version: 3.6. | 
| 157 | 
            +
            rubygems_version: 3.6.9
         | 
| 158 158 | 
             
            specification_version: 4
         | 
| 159 159 | 
             
            summary: Programmatically manage your Comparison Shopping Service (CSS) account data
         | 
| 160 160 | 
             
              at scale.
         |