google-cloud-commerce-consumer-procurement-v1 1.6.0 → 1.6.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/cloud/commerce/consumer/procurement/v1/consumer_procurement_service/client.rb +20 -3
 - data/lib/google/cloud/commerce/consumer/procurement/v1/consumer_procurement_service/operations.rb +20 -3
 - data/lib/google/cloud/commerce/consumer/procurement/v1/license_management_service/client.rb +20 -3
 - data/lib/google/cloud/commerce/consumer/procurement/v1/version.rb +1 -1
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: cbb84b1960b172f6980388c69ceee8e7ef2192e387978fe501c06025070986bc
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 8f259691a7c9071a3fdc604d3c6f690e5443b7d8efd6220689d7b9f87800bd06
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: '0695c7c833ed915bb5c814f9e31db88d898408f12a9e65f71f5899c7fd8352e8bbe1e32b69a815278281a9af2f0eb437432f7ad7c5fcca8579c3bce86f3a5219'
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 7a34f06cad8733f37f3ad761873338c2a0734cc9d1c83142e92f2267f1b893deaeca6dc2a547f73ba92e40dbbbfaaf0caa47dcb5759651f117b2df96dd492681
         
     | 
    
        data/lib/google/cloud/commerce/consumer/procurement/v1/consumer_procurement_service/client.rb
    CHANGED
    
    | 
         @@ -781,8 +781,6 @@ module Google 
     | 
|
| 
       781 
781 
     | 
    
         
             
                            #   @return [::String,nil]
         
     | 
| 
       782 
782 
     | 
    
         
             
                            # @!attribute [rw] credentials
         
     | 
| 
       783 
783 
     | 
    
         
             
                            #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       784 
     | 
    
         
            -
                            #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       785 
     | 
    
         
            -
                            #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       786 
784 
     | 
    
         
             
                            #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       787 
785 
     | 
    
         
             
                            #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       788 
786 
     | 
    
         
             
                            #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -791,7 +789,26 @@ module Google 
     | 
|
| 
       791 
789 
     | 
    
         
             
                            #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       792 
790 
     | 
    
         
             
                            #    *  (`nil`) indicating no credentials
         
     | 
| 
       793 
791 
     | 
    
         
             
                            #
         
     | 
| 
       794 
     | 
    
         
            -
                            #   Warning:  
     | 
| 
      
 792 
     | 
    
         
            +
                            #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 793 
     | 
    
         
            +
                            #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 794 
     | 
    
         
            +
                            #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 795 
     | 
    
         
            +
                            #
         
     | 
| 
      
 796 
     | 
    
         
            +
                            #   @example
         
     | 
| 
      
 797 
     | 
    
         
            +
                            #
         
     | 
| 
      
 798 
     | 
    
         
            +
                            #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 799 
     | 
    
         
            +
                            #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 800 
     | 
    
         
            +
                            #
         
     | 
| 
      
 801 
     | 
    
         
            +
                            #     require "googleauth"
         
     | 
| 
      
 802 
     | 
    
         
            +
                            #
         
     | 
| 
      
 803 
     | 
    
         
            +
                            #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 804 
     | 
    
         
            +
                            #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 805 
     | 
    
         
            +
                            #     )
         
     | 
| 
      
 806 
     | 
    
         
            +
                            #
         
     | 
| 
      
 807 
     | 
    
         
            +
                            #     client = ::Google::Cloud::Commerce::Consumer::Procurement::V1::ConsumerProcurementService::Client.new do |config|
         
     | 
| 
      
 808 
     | 
    
         
            +
                            #       config.credentials = credentials
         
     | 
| 
      
 809 
     | 
    
         
            +
                            #     end
         
     | 
| 
      
 810 
     | 
    
         
            +
                            #
         
     | 
| 
      
 811 
     | 
    
         
            +
                            #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       795 
812 
     | 
    
         
             
                            #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       796 
813 
     | 
    
         
             
                            #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       797 
814 
     | 
    
         
             
                            #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
    
        data/lib/google/cloud/commerce/consumer/procurement/v1/consumer_procurement_service/operations.rb
    CHANGED
    
    | 
         @@ -644,8 +644,6 @@ module Google 
     | 
|
| 
       644 
644 
     | 
    
         
             
                            #   @return [::String,nil]
         
     | 
| 
       645 
645 
     | 
    
         
             
                            # @!attribute [rw] credentials
         
     | 
| 
       646 
646 
     | 
    
         
             
                            #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       647 
     | 
    
         
            -
                            #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       648 
     | 
    
         
            -
                            #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       649 
647 
     | 
    
         
             
                            #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       650 
648 
     | 
    
         
             
                            #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       651 
649 
     | 
    
         
             
                            #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -654,7 +652,26 @@ module Google 
     | 
|
| 
       654 
652 
     | 
    
         
             
                            #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       655 
653 
     | 
    
         
             
                            #    *  (`nil`) indicating no credentials
         
     | 
| 
       656 
654 
     | 
    
         
             
                            #
         
     | 
| 
       657 
     | 
    
         
            -
                            #   Warning:  
     | 
| 
      
 655 
     | 
    
         
            +
                            #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 656 
     | 
    
         
            +
                            #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 657 
     | 
    
         
            +
                            #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 658 
     | 
    
         
            +
                            #
         
     | 
| 
      
 659 
     | 
    
         
            +
                            #   @example
         
     | 
| 
      
 660 
     | 
    
         
            +
                            #
         
     | 
| 
      
 661 
     | 
    
         
            +
                            #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 662 
     | 
    
         
            +
                            #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 663 
     | 
    
         
            +
                            #
         
     | 
| 
      
 664 
     | 
    
         
            +
                            #     require "googleauth"
         
     | 
| 
      
 665 
     | 
    
         
            +
                            #
         
     | 
| 
      
 666 
     | 
    
         
            +
                            #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 667 
     | 
    
         
            +
                            #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 668 
     | 
    
         
            +
                            #     )
         
     | 
| 
      
 669 
     | 
    
         
            +
                            #
         
     | 
| 
      
 670 
     | 
    
         
            +
                            #     client = ::Google::Longrunning::Operations::Client.new do |config|
         
     | 
| 
      
 671 
     | 
    
         
            +
                            #       config.credentials = credentials
         
     | 
| 
      
 672 
     | 
    
         
            +
                            #     end
         
     | 
| 
      
 673 
     | 
    
         
            +
                            #
         
     | 
| 
      
 674 
     | 
    
         
            +
                            #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       658 
675 
     | 
    
         
             
                            #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       659 
676 
     | 
    
         
             
                            #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       660 
677 
     | 
    
         
             
                            #   configuration to Google APIs can compromise the security of your systems and data.
         
     | 
| 
         @@ -670,8 +670,6 @@ module Google 
     | 
|
| 
       670 
670 
     | 
    
         
             
                            #   @return [::String,nil]
         
     | 
| 
       671 
671 
     | 
    
         
             
                            # @!attribute [rw] credentials
         
     | 
| 
       672 
672 
     | 
    
         
             
                            #   Credentials to send with calls. You may provide any of the following types:
         
     | 
| 
       673 
     | 
    
         
            -
                            #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       674 
     | 
    
         
            -
                            #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       675 
673 
     | 
    
         
             
                            #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       676 
674 
     | 
    
         
             
                            #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       677 
675 
     | 
    
         
             
                            #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
         @@ -680,7 +678,26 @@ module Google 
     | 
|
| 
       680 
678 
     | 
    
         
             
                            #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       681 
679 
     | 
    
         
             
                            #    *  (`nil`) indicating no credentials
         
     | 
| 
       682 
680 
     | 
    
         
             
                            #
         
     | 
| 
       683 
     | 
    
         
            -
                            #   Warning:  
     | 
| 
      
 681 
     | 
    
         
            +
                            #   @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
         
     | 
| 
      
 682 
     | 
    
         
            +
                            #     is deprecated. Providing an unvalidated credential configuration to
         
     | 
| 
      
 683 
     | 
    
         
            +
                            #     Google APIs can compromise the security of your systems and data.
         
     | 
| 
      
 684 
     | 
    
         
            +
                            #
         
     | 
| 
      
 685 
     | 
    
         
            +
                            #   @example
         
     | 
| 
      
 686 
     | 
    
         
            +
                            #
         
     | 
| 
      
 687 
     | 
    
         
            +
                            #     # The recommended way to provide credentials is to use the `make_creds` method
         
     | 
| 
      
 688 
     | 
    
         
            +
                            #     # on the appropriate credentials class for your environment.
         
     | 
| 
      
 689 
     | 
    
         
            +
                            #
         
     | 
| 
      
 690 
     | 
    
         
            +
                            #     require "googleauth"
         
     | 
| 
      
 691 
     | 
    
         
            +
                            #
         
     | 
| 
      
 692 
     | 
    
         
            +
                            #     credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
         
     | 
| 
      
 693 
     | 
    
         
            +
                            #       json_key_io: ::File.open("/path/to/keyfile.json")
         
     | 
| 
      
 694 
     | 
    
         
            +
                            #     )
         
     | 
| 
      
 695 
     | 
    
         
            +
                            #
         
     | 
| 
      
 696 
     | 
    
         
            +
                            #     client = ::Google::Cloud::Commerce::Consumer::Procurement::V1::LicenseManagementService::Client.new do |config|
         
     | 
| 
      
 697 
     | 
    
         
            +
                            #       config.credentials = credentials
         
     | 
| 
      
 698 
     | 
    
         
            +
                            #     end
         
     | 
| 
      
 699 
     | 
    
         
            +
                            #
         
     | 
| 
      
 700 
     | 
    
         
            +
                            #   @note Warning: If you accept a credential configuration (JSON file or Hash) from an
         
     | 
| 
       684 
701 
     | 
    
         
             
                            #   external source for authentication to Google Cloud, you must validate it before
         
     | 
| 
       685 
702 
     | 
    
         
             
                            #   providing it to a Google API client library. Providing an unvalidated credential
         
     | 
| 
       686 
703 
     | 
    
         
             
                            #   configuration to Google APIs can compromise the security of your systems and data.
         
     |