google-apis-content_v2_1 0.6.0 → 0.11.0
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/CHANGELOG.md +21 -0
- data/lib/google/apis/content_v2_1/classes.rb +273 -28
- data/lib/google/apis/content_v2_1/gem_version.rb +3 -3
- data/lib/google/apis/content_v2_1/representations.rb +96 -0
- data/lib/google/apis/content_v2_1/service.rb +353 -153
- metadata +4 -4
| @@ -16,13 +16,13 @@ module Google | |
| 16 16 | 
             
              module Apis
         | 
| 17 17 | 
             
                module ContentV2_1
         | 
| 18 18 | 
             
                  # Version of the google-apis-content_v2_1 gem
         | 
| 19 | 
            -
                  GEM_VERSION = "0. | 
| 19 | 
            +
                  GEM_VERSION = "0.11.0"
         | 
| 20 20 |  | 
| 21 21 | 
             
                  # Version of the code generator used to generate this client
         | 
| 22 | 
            -
                  GENERATOR_VERSION = "0. | 
| 22 | 
            +
                  GENERATOR_VERSION = "0.2.0"
         | 
| 23 23 |  | 
| 24 24 | 
             
                  # Revision of the discovery document this client was generated from
         | 
| 25 | 
            -
                  REVISION = " | 
| 25 | 
            +
                  REVISION = "20210514"
         | 
| 26 26 | 
             
                end
         | 
| 27 27 | 
             
              end
         | 
| 28 28 | 
             
            end
         | 
| @@ -274,6 +274,12 @@ module Google | |
| 274 274 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 275 275 | 
             
                  end
         | 
| 276 276 |  | 
| 277 | 
            +
                  class ActivateBuyOnGoogleProgramRequest
         | 
| 278 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 279 | 
            +
                  
         | 
| 280 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 281 | 
            +
                  end
         | 
| 282 | 
            +
                  
         | 
| 277 283 | 
             
                  class Amount
         | 
| 278 284 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 279 285 |  | 
| @@ -1378,6 +1384,18 @@ module Google | |
| 1378 1384 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 1379 1385 | 
             
                  end
         | 
| 1380 1386 |  | 
| 1387 | 
            +
                  class PauseBuyOnGoogleProgramRequest
         | 
| 1388 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 1389 | 
            +
                  
         | 
| 1390 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 1391 | 
            +
                  end
         | 
| 1392 | 
            +
                  
         | 
| 1393 | 
            +
                  class PaymentServiceProviderLinkInfo
         | 
| 1394 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 1395 | 
            +
                  
         | 
| 1396 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 1397 | 
            +
                  end
         | 
| 1398 | 
            +
                  
         | 
| 1381 1399 | 
             
                  class PickupCarrierService
         | 
| 1382 1400 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 1383 1401 |  | 
| @@ -1792,6 +1810,12 @@ module Google | |
| 1792 1810 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 1793 1811 | 
             
                  end
         | 
| 1794 1812 |  | 
| 1813 | 
            +
                  class RequestReviewBuyOnGoogleProgramRequest
         | 
| 1814 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 1815 | 
            +
                  
         | 
| 1816 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 1817 | 
            +
                  end
         | 
| 1818 | 
            +
                  
         | 
| 1795 1819 | 
             
                  class ReturnAddress
         | 
| 1796 1820 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 1797 1821 |  | 
| @@ -1864,6 +1888,12 @@ module Google | |
| 1864 1888 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 1865 1889 | 
             
                  end
         | 
| 1866 1890 |  | 
| 1891 | 
            +
                  class ReturnShippingLabel
         | 
| 1892 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 1893 | 
            +
                  
         | 
| 1894 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 1895 | 
            +
                  end
         | 
| 1896 | 
            +
                  
         | 
| 1867 1897 | 
             
                  class ReturnaddressCustomBatchRequest
         | 
| 1868 1898 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 1869 1899 |  | 
| @@ -2170,6 +2200,12 @@ module Google | |
| 2170 2200 | 
             
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 2171 2201 | 
             
                  end
         | 
| 2172 2202 |  | 
| 2203 | 
            +
                  class WarehouseBasedDeliveryTime
         | 
| 2204 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 2205 | 
            +
                  
         | 
| 2206 | 
            +
                    include Google::Apis::Core::JsonObjectSupport
         | 
| 2207 | 
            +
                  end
         | 
| 2208 | 
            +
                  
         | 
| 2173 2209 | 
             
                  class Weight
         | 
| 2174 2210 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         | 
| 2175 2211 |  | 
| @@ -2469,6 +2505,8 @@ module Google | |
| 2469 2505 | 
             
                      property :action, as: 'action'
         | 
| 2470 2506 | 
             
                      property :link_type, as: 'linkType'
         | 
| 2471 2507 | 
             
                      property :linked_account_id, as: 'linkedAccountId'
         | 
| 2508 | 
            +
                      property :payment_service_provider_link_info, as: 'paymentServiceProviderLinkInfo', class: Google::Apis::ContentV2_1::PaymentServiceProviderLinkInfo, decorator: Google::Apis::ContentV2_1::PaymentServiceProviderLinkInfo::Representation
         | 
| 2509 | 
            +
                  
         | 
| 2472 2510 | 
             
                      collection :services, as: 'services'
         | 
| 2473 2511 | 
             
                    end
         | 
| 2474 2512 | 
             
                  end
         | 
| @@ -2614,6 +2652,12 @@ module Google | |
| 2614 2652 | 
             
                    end
         | 
| 2615 2653 | 
             
                  end
         | 
| 2616 2654 |  | 
| 2655 | 
            +
                  class ActivateBuyOnGoogleProgramRequest
         | 
| 2656 | 
            +
                    # @private
         | 
| 2657 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 2658 | 
            +
                    end
         | 
| 2659 | 
            +
                  end
         | 
| 2660 | 
            +
                  
         | 
| 2617 2661 | 
             
                  class Amount
         | 
| 2618 2662 | 
             
                    # @private
         | 
| 2619 2663 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -2657,6 +2701,7 @@ module Google | |
| 2657 2701 | 
             
                    # @private
         | 
| 2658 2702 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 2659 2703 | 
             
                      property :country, as: 'country'
         | 
| 2704 | 
            +
                      collection :edd_services, as: 'eddServices'
         | 
| 2660 2705 | 
             
                      property :name, as: 'name'
         | 
| 2661 2706 | 
             
                      collection :services, as: 'services'
         | 
| 2662 2707 | 
             
                    end
         | 
| @@ -3004,6 +3049,8 @@ module Google | |
| 3004 3049 |  | 
| 3005 3050 | 
             
                      property :transit_time_table, as: 'transitTimeTable', class: Google::Apis::ContentV2_1::TransitTable, decorator: Google::Apis::ContentV2_1::TransitTable::Representation
         | 
| 3006 3051 |  | 
| 3052 | 
            +
                      collection :warehouse_based_delivery_times, as: 'warehouseBasedDeliveryTimes', class: Google::Apis::ContentV2_1::WarehouseBasedDeliveryTime, decorator: Google::Apis::ContentV2_1::WarehouseBasedDeliveryTime::Representation
         | 
| 3053 | 
            +
                  
         | 
| 3007 3054 | 
             
                    end
         | 
| 3008 3055 | 
             
                  end
         | 
| 3009 3056 |  | 
| @@ -4116,6 +4163,7 @@ module Google | |
| 4116 4163 | 
             
                    # @private
         | 
| 4117 4164 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 4118 4165 | 
             
                      property :line_item_id, as: 'lineItemId'
         | 
| 4166 | 
            +
                      property :product_id, as: 'productId'
         | 
| 4119 4167 | 
             
                      property :quantity, as: 'quantity'
         | 
| 4120 4168 | 
             
                    end
         | 
| 4121 4169 | 
             
                  end
         | 
| @@ -4580,6 +4628,20 @@ module Google | |
| 4580 4628 | 
             
                    end
         | 
| 4581 4629 | 
             
                  end
         | 
| 4582 4630 |  | 
| 4631 | 
            +
                  class PauseBuyOnGoogleProgramRequest
         | 
| 4632 | 
            +
                    # @private
         | 
| 4633 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 4634 | 
            +
                    end
         | 
| 4635 | 
            +
                  end
         | 
| 4636 | 
            +
                  
         | 
| 4637 | 
            +
                  class PaymentServiceProviderLinkInfo
         | 
| 4638 | 
            +
                    # @private
         | 
| 4639 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 4640 | 
            +
                      property :external_account_business_country, as: 'externalAccountBusinessCountry'
         | 
| 4641 | 
            +
                      property :external_account_id, as: 'externalAccountId'
         | 
| 4642 | 
            +
                    end
         | 
| 4643 | 
            +
                  end
         | 
| 4644 | 
            +
                  
         | 
| 4583 4645 | 
             
                  class PickupCarrierService
         | 
| 4584 4646 | 
             
                    # @private
         | 
| 4585 4647 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -4818,6 +4880,7 @@ module Google | |
| 4818 4880 | 
             
                    # @private
         | 
| 4819 4881 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 4820 4882 | 
             
                      collection :additional_image_links, as: 'additionalImageLinks'
         | 
| 4883 | 
            +
                      property :additional_size_type, as: 'additionalSizeType'
         | 
| 4821 4884 | 
             
                      property :ads_grouping, as: 'adsGrouping'
         | 
| 4822 4885 | 
             
                      collection :ads_labels, as: 'adsLabels'
         | 
| 4823 4886 | 
             
                      property :ads_redirect, as: 'adsRedirect'
         | 
| @@ -4943,6 +5006,10 @@ module Google | |
| 4943 5006 | 
             
                      property :country, as: 'country'
         | 
| 4944 5007 | 
             
                      property :location_group_name, as: 'locationGroupName'
         | 
| 4945 5008 | 
             
                      property :location_id, :numeric_string => true, as: 'locationId'
         | 
| 5009 | 
            +
                      property :max_handling_time, :numeric_string => true, as: 'maxHandlingTime'
         | 
| 5010 | 
            +
                      property :max_transit_time, :numeric_string => true, as: 'maxTransitTime'
         | 
| 5011 | 
            +
                      property :min_handling_time, :numeric_string => true, as: 'minHandlingTime'
         | 
| 5012 | 
            +
                      property :min_transit_time, :numeric_string => true, as: 'minTransitTime'
         | 
| 4946 5013 | 
             
                      property :postal_code, as: 'postalCode'
         | 
| 4947 5014 | 
             
                      property :price, as: 'price', class: Google::Apis::ContentV2_1::Price, decorator: Google::Apis::ContentV2_1::Price::Representation
         | 
| 4948 5015 |  | 
| @@ -5066,6 +5133,7 @@ module Google | |
| 5066 5133 | 
             
                      property :product, as: 'product', class: Google::Apis::ContentV2_1::Product, decorator: Google::Apis::ContentV2_1::Product::Representation
         | 
| 5067 5134 |  | 
| 5068 5135 | 
             
                      property :product_id, as: 'productId'
         | 
| 5136 | 
            +
                      property :update_mask, as: 'updateMask'
         | 
| 5069 5137 | 
             
                    end
         | 
| 5070 5138 | 
             
                  end
         | 
| 5071 5139 |  | 
| @@ -5438,6 +5506,12 @@ module Google | |
| 5438 5506 | 
             
                    end
         | 
| 5439 5507 | 
             
                  end
         | 
| 5440 5508 |  | 
| 5509 | 
            +
                  class RequestReviewBuyOnGoogleProgramRequest
         | 
| 5510 | 
            +
                    # @private
         | 
| 5511 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 5512 | 
            +
                    end
         | 
| 5513 | 
            +
                  end
         | 
| 5514 | 
            +
                  
         | 
| 5441 5515 | 
             
                  class ReturnAddress
         | 
| 5442 5516 | 
             
                    # @private
         | 
| 5443 5517 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -5585,6 +5659,15 @@ module Google | |
| 5585 5659 | 
             
                    end
         | 
| 5586 5660 | 
             
                  end
         | 
| 5587 5661 |  | 
| 5662 | 
            +
                  class ReturnShippingLabel
         | 
| 5663 | 
            +
                    # @private
         | 
| 5664 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 5665 | 
            +
                      property :carrier, as: 'carrier'
         | 
| 5666 | 
            +
                      property :label_uri, as: 'labelUri'
         | 
| 5667 | 
            +
                      property :tracking_id, as: 'trackingId'
         | 
| 5668 | 
            +
                    end
         | 
| 5669 | 
            +
                  end
         | 
| 5670 | 
            +
                  
         | 
| 5588 5671 | 
             
                  class ReturnaddressCustomBatchRequest
         | 
| 5589 5672 | 
             
                    # @private
         | 
| 5590 5673 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -6145,6 +6228,19 @@ module Google | |
| 6145 6228 | 
             
                    end
         | 
| 6146 6229 | 
             
                  end
         | 
| 6147 6230 |  | 
| 6231 | 
            +
                  class WarehouseBasedDeliveryTime
         | 
| 6232 | 
            +
                    # @private
         | 
| 6233 | 
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| 6234 | 
            +
                      property :carrier, as: 'carrier'
         | 
| 6235 | 
            +
                      property :carrier_service, as: 'carrierService'
         | 
| 6236 | 
            +
                      property :origin_administrative_area, as: 'originAdministrativeArea'
         | 
| 6237 | 
            +
                      property :origin_city, as: 'originCity'
         | 
| 6238 | 
            +
                      property :origin_country, as: 'originCountry'
         | 
| 6239 | 
            +
                      property :origin_postal_code, as: 'originPostalCode'
         | 
| 6240 | 
            +
                      property :origin_street_address, as: 'originStreetAddress'
         | 
| 6241 | 
            +
                    end
         | 
| 6242 | 
            +
                  end
         | 
| 6243 | 
            +
                  
         | 
| 6148 6244 | 
             
                  class Weight
         | 
| 6149 6245 | 
             
                    # @private
         | 
| 6150 6246 | 
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         | 
| @@ -43,7 +43,7 @@ module Google | |
| 43 43 | 
             
                    attr_accessor :quota_user
         | 
| 44 44 |  | 
| 45 45 | 
             
                    def initialize
         | 
| 46 | 
            -
                      super('https://shoppingcontent.googleapis.com/', '',
         | 
| 46 | 
            +
                      super('https://shoppingcontent.googleapis.com/', 'content/v2.1/',
         | 
| 47 47 | 
             
                            client_name: 'google-apis-content_v2_1',
         | 
| 48 48 | 
             
                            client_version: Google::Apis::ContentV2_1::GEM_VERSION)
         | 
| 49 49 | 
             
                      @batch_path = 'batch'
         | 
| @@ -68,7 +68,7 @@ module Google | |
| 68 68 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 69 69 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 70 70 | 
             
                    def authinfo_account(fields: nil, quota_user: nil, options: nil, &block)
         | 
| 71 | 
            -
                      command = make_simple_command(:get, ' | 
| 71 | 
            +
                      command = make_simple_command(:get, 'accounts/authinfo', options)
         | 
| 72 72 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountsAuthInfoResponse::Representation
         | 
| 73 73 | 
             
                      command.response_class = Google::Apis::ContentV2_1::AccountsAuthInfoResponse
         | 
| 74 74 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| @@ -105,7 +105,7 @@ module Google | |
| 105 105 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 106 106 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 107 107 | 
             
                    def claimwebsite_account(merchant_id, account_id, overwrite: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 108 | 
            -
                      command = make_simple_command(:post, ' | 
| 108 | 
            +
                      command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/claimwebsite', options)
         | 
| 109 109 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountsClaimWebsiteResponse::Representation
         | 
| 110 110 | 
             
                      command.response_class = Google::Apis::ContentV2_1::AccountsClaimWebsiteResponse
         | 
| 111 111 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -137,7 +137,7 @@ module Google | |
| 137 137 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 138 138 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 139 139 | 
             
                    def custombatch_account(accounts_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 140 | 
            -
                      command = make_simple_command(:post, ' | 
| 140 | 
            +
                      command = make_simple_command(:post, 'accounts/batch', options)
         | 
| 141 141 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::AccountsCustomBatchRequest::Representation
         | 
| 142 142 | 
             
                      command.request_object = accounts_custom_batch_request_object
         | 
| 143 143 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountsCustomBatchResponse::Representation
         | 
| @@ -173,7 +173,7 @@ module Google | |
| 173 173 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 174 174 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 175 175 | 
             
                    def delete_account(merchant_id, account_id, force: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 176 | 
            -
                      command = make_simple_command(:delete, ' | 
| 176 | 
            +
                      command = make_simple_command(:delete, '{merchantId}/accounts/{accountId}', options)
         | 
| 177 177 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| 178 178 | 
             
                      command.params['accountId'] = account_id unless account_id.nil?
         | 
| 179 179 | 
             
                      command.query['force'] = force unless force.nil?
         | 
| @@ -210,7 +210,7 @@ module Google | |
| 210 210 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 211 211 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 212 212 | 
             
                    def get_account(merchant_id, account_id, view: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 213 | 
            -
                      command = make_simple_command(:get, ' | 
| 213 | 
            +
                      command = make_simple_command(:get, '{merchantId}/accounts/{accountId}', options)
         | 
| 214 214 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Account::Representation
         | 
| 215 215 | 
             
                      command.response_class = Google::Apis::ContentV2_1::Account
         | 
| 216 216 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -243,7 +243,7 @@ module Google | |
| 243 243 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 244 244 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 245 245 | 
             
                    def insert_account(merchant_id, account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 246 | 
            -
                      command = make_simple_command(:post, ' | 
| 246 | 
            +
                      command = make_simple_command(:post, '{merchantId}/accounts', options)
         | 
| 247 247 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::Account::Representation
         | 
| 248 248 | 
             
                      command.request_object = account_object
         | 
| 249 249 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Account::Representation
         | 
| @@ -281,7 +281,7 @@ module Google | |
| 281 281 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 282 282 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 283 283 | 
             
                    def link_account(merchant_id, account_id, accounts_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 284 | 
            -
                      command = make_simple_command(:post, ' | 
| 284 | 
            +
                      command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/link', options)
         | 
| 285 285 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::AccountsLinkRequest::Representation
         | 
| 286 286 | 
             
                      command.request_object = accounts_link_request_object
         | 
| 287 287 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountsLinkResponse::Representation
         | 
| @@ -324,7 +324,7 @@ module Google | |
| 324 324 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 325 325 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 326 326 | 
             
                    def list_accounts(merchant_id, label: nil, max_results: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 327 | 
            -
                      command = make_simple_command(:get, ' | 
| 327 | 
            +
                      command = make_simple_command(:get, '{merchantId}/accounts', options)
         | 
| 328 328 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountsListResponse::Representation
         | 
| 329 329 | 
             
                      command.response_class = Google::Apis::ContentV2_1::AccountsListResponse
         | 
| 330 330 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -346,6 +346,8 @@ module Google | |
| 346 346 | 
             
                    #   The ID of the account for which to list links.
         | 
| 347 347 | 
             
                    # @param [Fixnum] max_results
         | 
| 348 348 | 
             
                    #   The maximum number of links to return in the response, used for pagination.
         | 
| 349 | 
            +
                    #   The minimum allowed value is 5 results per page. If provided value is lower
         | 
| 350 | 
            +
                    #   than 5, it will be automatically increased to 5.
         | 
| 349 351 | 
             
                    # @param [String] page_token
         | 
| 350 352 | 
             
                    #   The token returned by the previous request.
         | 
| 351 353 | 
             
                    # @param [String] fields
         | 
| @@ -366,7 +368,7 @@ module Google | |
| 366 368 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 367 369 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 368 370 | 
             
                    def listlinks_account(merchant_id, account_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 369 | 
            -
                      command = make_simple_command(:get, ' | 
| 371 | 
            +
                      command = make_simple_command(:get, '{merchantId}/accounts/{accountId}/listlinks', options)
         | 
| 370 372 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountsListLinksResponse::Representation
         | 
| 371 373 | 
             
                      command.response_class = Google::Apis::ContentV2_1::AccountsListLinksResponse
         | 
| 372 374 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -405,7 +407,7 @@ module Google | |
| 405 407 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 406 408 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 407 409 | 
             
                    def update_account(merchant_id, account_id, account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 408 | 
            -
                      command = make_simple_command(:put, ' | 
| 410 | 
            +
                      command = make_simple_command(:put, '{merchantId}/accounts/{accountId}', options)
         | 
| 409 411 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::Account::Representation
         | 
| 410 412 | 
             
                      command.request_object = account_object
         | 
| 411 413 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Account::Representation
         | 
| @@ -441,7 +443,7 @@ module Google | |
| 441 443 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 442 444 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 443 445 | 
             
                    def updatelabels_account(merchant_id, account_id, accounts_update_labels_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 444 | 
            -
                      command = make_simple_command(:post, ' | 
| 446 | 
            +
                      command = make_simple_command(:post, '{merchantId}/accounts/{accountId}/updatelabels', options)
         | 
| 445 447 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::AccountsUpdateLabelsRequest::Representation
         | 
| 446 448 | 
             
                      command.request_object = accounts_update_labels_request_object
         | 
| 447 449 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountsUpdateLabelsResponse::Representation
         | 
| @@ -476,7 +478,7 @@ module Google | |
| 476 478 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 477 479 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 478 480 | 
             
                    def create_account_credential(account_id, account_credentials_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 479 | 
            -
                      command = make_simple_command(:post, ' | 
| 481 | 
            +
                      command = make_simple_command(:post, 'accounts/{accountId}/credentials', options)
         | 
| 480 482 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::AccountCredentials::Representation
         | 
| 481 483 | 
             
                      command.request_object = account_credentials_object
         | 
| 482 484 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountCredentials::Representation
         | 
| @@ -509,7 +511,7 @@ module Google | |
| 509 511 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 510 512 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 511 513 | 
             
                    def create_account_label(account_id, account_label_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 512 | 
            -
                      command = make_simple_command(:post, ' | 
| 514 | 
            +
                      command = make_simple_command(:post, 'accounts/{accountId}/labels', options)
         | 
| 513 515 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
         | 
| 514 516 | 
             
                      command.request_object = account_label_object
         | 
| 515 517 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
         | 
| @@ -543,7 +545,7 @@ module Google | |
| 543 545 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 544 546 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 545 547 | 
             
                    def delete_account_label(account_id, label_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 546 | 
            -
                      command = make_simple_command(:delete, ' | 
| 548 | 
            +
                      command = make_simple_command(:delete, 'accounts/{accountId}/labels/{labelId}', options)
         | 
| 547 549 | 
             
                      command.params['accountId'] = account_id unless account_id.nil?
         | 
| 548 550 | 
             
                      command.params['labelId'] = label_id unless label_id.nil?
         | 
| 549 551 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| @@ -581,7 +583,7 @@ module Google | |
| 581 583 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 582 584 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 583 585 | 
             
                    def list_account_labels(account_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 584 | 
            -
                      command = make_simple_command(:get, ' | 
| 586 | 
            +
                      command = make_simple_command(:get, 'accounts/{accountId}/labels', options)
         | 
| 585 587 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ListAccountLabelsResponse::Representation
         | 
| 586 588 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ListAccountLabelsResponse
         | 
| 587 589 | 
             
                      command.params['accountId'] = account_id unless account_id.nil?
         | 
| @@ -616,7 +618,7 @@ module Google | |
| 616 618 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 617 619 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 618 620 | 
             
                    def patch_account_label(account_id, label_id, account_label_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 619 | 
            -
                      command = make_simple_command(:patch, ' | 
| 621 | 
            +
                      command = make_simple_command(:patch, 'accounts/{accountId}/labels/{labelId}', options)
         | 
| 620 622 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
         | 
| 621 623 | 
             
                      command.request_object = account_label_object
         | 
| 622 624 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountLabel::Representation
         | 
| @@ -651,7 +653,7 @@ module Google | |
| 651 653 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 652 654 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 653 655 | 
             
                    def create_account_returncarrier(account_id, account_return_carrier_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 654 | 
            -
                      command = make_simple_command(:post, ' | 
| 656 | 
            +
                      command = make_simple_command(:post, 'accounts/{accountId}/returncarrier', options)
         | 
| 655 657 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation
         | 
| 656 658 | 
             
                      command.request_object = account_return_carrier_object
         | 
| 657 659 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation
         | 
| @@ -686,7 +688,7 @@ module Google | |
| 686 688 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 687 689 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 688 690 | 
             
                    def delete_account_returncarrier(account_id, carrier_account_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 689 | 
            -
                      command = make_simple_command(:delete, ' | 
| 691 | 
            +
                      command = make_simple_command(:delete, 'accounts/{accountId}/returncarrier/{carrierAccountId}', options)
         | 
| 690 692 | 
             
                      command.params['accountId'] = account_id unless account_id.nil?
         | 
| 691 693 | 
             
                      command.params['carrierAccountId'] = carrier_account_id unless carrier_account_id.nil?
         | 
| 692 694 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| @@ -716,7 +718,7 @@ module Google | |
| 716 718 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 717 719 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 718 720 | 
             
                    def list_account_returncarriers(account_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 719 | 
            -
                      command = make_simple_command(:get, ' | 
| 721 | 
            +
                      command = make_simple_command(:get, 'accounts/{accountId}/returncarrier', options)
         | 
| 720 722 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ListAccountReturnCarrierResponse::Representation
         | 
| 721 723 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ListAccountReturnCarrierResponse
         | 
| 722 724 | 
             
                      command.params['accountId'] = account_id unless account_id.nil?
         | 
| @@ -750,7 +752,7 @@ module Google | |
| 750 752 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 751 753 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 752 754 | 
             
                    def patch_account_returncarrier(account_id, carrier_account_id, account_return_carrier_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 753 | 
            -
                      command = make_simple_command(:patch, ' | 
| 755 | 
            +
                      command = make_simple_command(:patch, 'accounts/{accountId}/returncarrier/{carrierAccountId}', options)
         | 
| 754 756 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation
         | 
| 755 757 | 
             
                      command.request_object = account_return_carrier_object
         | 
| 756 758 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountReturnCarrier::Representation
         | 
| @@ -782,7 +784,7 @@ module Google | |
| 782 784 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 783 785 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 784 786 | 
             
                    def custombatch_accountstatus(accountstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 785 | 
            -
                      command = make_simple_command(:post, ' | 
| 787 | 
            +
                      command = make_simple_command(:post, 'accountstatuses/batch', options)
         | 
| 786 788 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchRequest::Representation
         | 
| 787 789 | 
             
                      command.request_object = accountstatuses_custom_batch_request_object
         | 
| 788 790 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountstatusesCustomBatchResponse::Representation
         | 
| @@ -821,7 +823,7 @@ module Google | |
| 821 823 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 822 824 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 823 825 | 
             
                    def get_accountstatus(merchant_id, account_id, destinations: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 824 | 
            -
                      command = make_simple_command(:get, ' | 
| 826 | 
            +
                      command = make_simple_command(:get, '{merchantId}/accountstatuses/{accountId}', options)
         | 
| 825 827 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountStatus::Representation
         | 
| 826 828 | 
             
                      command.response_class = Google::Apis::ContentV2_1::AccountStatus
         | 
| 827 829 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -861,7 +863,7 @@ module Google | |
| 861 863 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 862 864 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 863 865 | 
             
                    def list_accountstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 864 | 
            -
                      command = make_simple_command(:get, ' | 
| 866 | 
            +
                      command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
         | 
| 865 867 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountstatusesListResponse::Representation
         | 
| 866 868 | 
             
                      command.response_class = Google::Apis::ContentV2_1::AccountstatusesListResponse
         | 
| 867 869 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -893,7 +895,7 @@ module Google | |
| 893 895 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 894 896 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 895 897 | 
             
                    def custombatch_accounttax(accounttax_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 896 | 
            -
                      command = make_simple_command(:post, ' | 
| 898 | 
            +
                      command = make_simple_command(:post, 'accounttax/batch', options)
         | 
| 897 899 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchRequest::Representation
         | 
| 898 900 | 
             
                      command.request_object = accounttax_custom_batch_request_object
         | 
| 899 901 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccounttaxCustomBatchResponse::Representation
         | 
| @@ -928,7 +930,7 @@ module Google | |
| 928 930 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 929 931 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 930 932 | 
             
                    def get_accounttax(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 931 | 
            -
                      command = make_simple_command(:get, ' | 
| 933 | 
            +
                      command = make_simple_command(:get, '{merchantId}/accounttax/{accountId}', options)
         | 
| 932 934 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation
         | 
| 933 935 | 
             
                      command.response_class = Google::Apis::ContentV2_1::AccountTax
         | 
| 934 936 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -963,7 +965,7 @@ module Google | |
| 963 965 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 964 966 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 965 967 | 
             
                    def list_accounttaxes(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 966 | 
            -
                      command = make_simple_command(:get, ' | 
| 968 | 
            +
                      command = make_simple_command(:get, '{merchantId}/accounttax', options)
         | 
| 967 969 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccounttaxListResponse::Representation
         | 
| 968 970 | 
             
                      command.response_class = Google::Apis::ContentV2_1::AccounttaxListResponse
         | 
| 969 971 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -1001,7 +1003,7 @@ module Google | |
| 1001 1003 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1002 1004 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1003 1005 | 
             
                    def update_accounttax(merchant_id, account_id, account_tax_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1004 | 
            -
                      command = make_simple_command(:put, ' | 
| 1006 | 
            +
                      command = make_simple_command(:put, '{merchantId}/accounttax/{accountId}', options)
         | 
| 1005 1007 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::AccountTax::Representation
         | 
| 1006 1008 | 
             
                      command.request_object = account_tax_object
         | 
| 1007 1009 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::AccountTax::Representation
         | 
| @@ -1013,7 +1015,44 @@ module Google | |
| 1013 1015 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 1014 1016 | 
             
                    end
         | 
| 1015 1017 |  | 
| 1016 | 
            -
                    #  | 
| 1018 | 
            +
                    # Reactivates the BoG program in your Merchant Center account. Moves the program
         | 
| 1019 | 
            +
                    # to the active state when allowed, e.g. when paused. Important: This method is
         | 
| 1020 | 
            +
                    # only whitelisted for selected merchants.
         | 
| 1021 | 
            +
                    # @param [Fixnum] merchant_id
         | 
| 1022 | 
            +
                    #   Required. The ID of the account.
         | 
| 1023 | 
            +
                    # @param [String] region_code
         | 
| 1024 | 
            +
                    #   The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/
         | 
| 1025 | 
            +
                    #   ISO_3166-1_alpha-2). Currently only US is available.
         | 
| 1026 | 
            +
                    # @param [Google::Apis::ContentV2_1::ActivateBuyOnGoogleProgramRequest] activate_buy_on_google_program_request_object
         | 
| 1027 | 
            +
                    # @param [String] fields
         | 
| 1028 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 1029 | 
            +
                    # @param [String] quota_user
         | 
| 1030 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 1031 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 1032 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 1033 | 
            +
                    #   Request-specific options
         | 
| 1034 | 
            +
                    #
         | 
| 1035 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 1036 | 
            +
                    # @yieldparam result [NilClass] No result returned for this method
         | 
| 1037 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 1038 | 
            +
                    #
         | 
| 1039 | 
            +
                    # @return [void]
         | 
| 1040 | 
            +
                    #
         | 
| 1041 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 1042 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1043 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1044 | 
            +
                    def activate_buyongoogleprogram_buy_on_google_program(merchant_id, region_code, activate_buy_on_google_program_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1045 | 
            +
                      command = make_simple_command(:post, '{merchantId}/buyongoogleprograms/{regionCode}/activate', options)
         | 
| 1046 | 
            +
                      command.request_representation = Google::Apis::ContentV2_1::ActivateBuyOnGoogleProgramRequest::Representation
         | 
| 1047 | 
            +
                      command.request_object = activate_buy_on_google_program_request_object
         | 
| 1048 | 
            +
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| 1049 | 
            +
                      command.params['regionCode'] = region_code unless region_code.nil?
         | 
| 1050 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 1051 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 1052 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 1053 | 
            +
                    end
         | 
| 1054 | 
            +
                    
         | 
| 1055 | 
            +
                    # Retrieves a status of the BoG program for your Merchant Center account.
         | 
| 1017 1056 | 
             
                    # @param [Fixnum] merchant_id
         | 
| 1018 1057 | 
             
                    #   Required. The ID of the account.
         | 
| 1019 1058 | 
             
                    # @param [String] region_code
         | 
| @@ -1037,7 +1076,7 @@ module Google | |
| 1037 1076 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1038 1077 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1039 1078 | 
             
                    def get_buyongoogleprogram(merchant_id, region_code, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1040 | 
            -
                      command = make_simple_command(:get, ' | 
| 1079 | 
            +
                      command = make_simple_command(:get, '{merchantId}/buyongoogleprograms/{regionCode}', options)
         | 
| 1041 1080 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::BuyOnGoogleProgramStatus::Representation
         | 
| 1042 1081 | 
             
                      command.response_class = Google::Apis::ContentV2_1::BuyOnGoogleProgramStatus
         | 
| 1043 1082 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -1047,9 +1086,12 @@ module Google | |
| 1047 1086 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 1048 1087 | 
             
                    end
         | 
| 1049 1088 |  | 
| 1050 | 
            -
                    # Onboards BoG in your Merchant Center account. By using this method, | 
| 1051 | 
            -
                    # to the [Terms of Service](https://merchants.google.com/mc/ | 
| 1052 | 
            -
                    # transactions/US/latest).
         | 
| 1089 | 
            +
                    # Onboards the BoG program in your Merchant Center account. By using this method,
         | 
| 1090 | 
            +
                    # you agree to the [Terms of Service](https://merchants.google.com/mc/
         | 
| 1091 | 
            +
                    # termsofservice/transactions/US/latest). Calling this method is only possible
         | 
| 1092 | 
            +
                    # if the authenticated account is the same as the merchant id in the request.
         | 
| 1093 | 
            +
                    # Calling this method multiple times will only accept Terms of Service if the
         | 
| 1094 | 
            +
                    # latest version is not currently signed.
         | 
| 1053 1095 | 
             
                    # @param [Fixnum] merchant_id
         | 
| 1054 1096 | 
             
                    #   Required. The ID of the account.
         | 
| 1055 1097 | 
             
                    # @param [String] region_code
         | 
| @@ -1074,7 +1116,7 @@ module Google | |
| 1074 1116 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1075 1117 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1076 1118 | 
             
                    def onboard_buyongoogleprogram_buy_on_google_program(merchant_id, region_code, onboard_buy_on_google_program_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1077 | 
            -
                      command = make_simple_command(:post, ' | 
| 1119 | 
            +
                      command = make_simple_command(:post, '{merchantId}/buyongoogleprograms/{regionCode}/onboard', options)
         | 
| 1078 1120 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OnboardBuyOnGoogleProgramRequest::Representation
         | 
| 1079 1121 | 
             
                      command.request_object = onboard_buy_on_google_program_request_object
         | 
| 1080 1122 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -1084,6 +1126,79 @@ module Google | |
| 1084 1126 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 1085 1127 | 
             
                    end
         | 
| 1086 1128 |  | 
| 1129 | 
            +
                    # Pauses the BoG program in your Merchant Center account. Important: This method
         | 
| 1130 | 
            +
                    # is only whitelisted for selected merchants.
         | 
| 1131 | 
            +
                    # @param [Fixnum] merchant_id
         | 
| 1132 | 
            +
                    #   Required. The ID of the account.
         | 
| 1133 | 
            +
                    # @param [String] region_code
         | 
| 1134 | 
            +
                    #   The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/
         | 
| 1135 | 
            +
                    #   ISO_3166-1_alpha-2). Currently only US is available.
         | 
| 1136 | 
            +
                    # @param [Google::Apis::ContentV2_1::PauseBuyOnGoogleProgramRequest] pause_buy_on_google_program_request_object
         | 
| 1137 | 
            +
                    # @param [String] fields
         | 
| 1138 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 1139 | 
            +
                    # @param [String] quota_user
         | 
| 1140 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 1141 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 1142 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 1143 | 
            +
                    #   Request-specific options
         | 
| 1144 | 
            +
                    #
         | 
| 1145 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 1146 | 
            +
                    # @yieldparam result [NilClass] No result returned for this method
         | 
| 1147 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 1148 | 
            +
                    #
         | 
| 1149 | 
            +
                    # @return [void]
         | 
| 1150 | 
            +
                    #
         | 
| 1151 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 1152 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1153 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1154 | 
            +
                    def pause_buyongoogleprogram_buy_on_google_program(merchant_id, region_code, pause_buy_on_google_program_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1155 | 
            +
                      command = make_simple_command(:post, '{merchantId}/buyongoogleprograms/{regionCode}/pause', options)
         | 
| 1156 | 
            +
                      command.request_representation = Google::Apis::ContentV2_1::PauseBuyOnGoogleProgramRequest::Representation
         | 
| 1157 | 
            +
                      command.request_object = pause_buy_on_google_program_request_object
         | 
| 1158 | 
            +
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| 1159 | 
            +
                      command.params['regionCode'] = region_code unless region_code.nil?
         | 
| 1160 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 1161 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 1162 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 1163 | 
            +
                    end
         | 
| 1164 | 
            +
                    
         | 
| 1165 | 
            +
                    # Requests review and then activates the BoG program in your Merchant Center
         | 
| 1166 | 
            +
                    # account for the first time. Moves the program to the REVIEW_PENDING state.
         | 
| 1167 | 
            +
                    # Important: This method is only whitelisted for selected merchants.
         | 
| 1168 | 
            +
                    # @param [Fixnum] merchant_id
         | 
| 1169 | 
            +
                    #   Required. The ID of the account.
         | 
| 1170 | 
            +
                    # @param [String] region_code
         | 
| 1171 | 
            +
                    #   The program region code [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/
         | 
| 1172 | 
            +
                    #   ISO_3166-1_alpha-2). Currently only US is available.
         | 
| 1173 | 
            +
                    # @param [Google::Apis::ContentV2_1::RequestReviewBuyOnGoogleProgramRequest] request_review_buy_on_google_program_request_object
         | 
| 1174 | 
            +
                    # @param [String] fields
         | 
| 1175 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 1176 | 
            +
                    # @param [String] quota_user
         | 
| 1177 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 1178 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 1179 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 1180 | 
            +
                    #   Request-specific options
         | 
| 1181 | 
            +
                    #
         | 
| 1182 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 1183 | 
            +
                    # @yieldparam result [NilClass] No result returned for this method
         | 
| 1184 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 1185 | 
            +
                    #
         | 
| 1186 | 
            +
                    # @return [void]
         | 
| 1187 | 
            +
                    #
         | 
| 1188 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 1189 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1190 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1191 | 
            +
                    def requestreview_buyongoogleprogram(merchant_id, region_code, request_review_buy_on_google_program_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1192 | 
            +
                      command = make_simple_command(:post, '{merchantId}/buyongoogleprograms/{regionCode}/requestreview', options)
         | 
| 1193 | 
            +
                      command.request_representation = Google::Apis::ContentV2_1::RequestReviewBuyOnGoogleProgramRequest::Representation
         | 
| 1194 | 
            +
                      command.request_object = request_review_buy_on_google_program_request_object
         | 
| 1195 | 
            +
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| 1196 | 
            +
                      command.params['regionCode'] = region_code unless region_code.nil?
         | 
| 1197 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 1198 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 1199 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 1200 | 
            +
                    end
         | 
| 1201 | 
            +
                    
         | 
| 1087 1202 | 
             
                    # Uploads a collection to your Merchant Center account. If a collection with the
         | 
| 1088 1203 | 
             
                    # same collectionId already exists, this method updates that entry. In each
         | 
| 1089 1204 | 
             
                    # update, the collection is completely replaced by the fields in the body of the
         | 
| @@ -1110,7 +1225,7 @@ module Google | |
| 1110 1225 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1111 1226 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1112 1227 | 
             
                    def create_collection(merchant_id, collection_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1113 | 
            -
                      command = make_simple_command(:post, ' | 
| 1228 | 
            +
                      command = make_simple_command(:post, '{merchantId}/collections', options)
         | 
| 1114 1229 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::Collection::Representation
         | 
| 1115 1230 | 
             
                      command.request_object = collection_object
         | 
| 1116 1231 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Collection::Representation
         | 
| @@ -1146,7 +1261,7 @@ module Google | |
| 1146 1261 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1147 1262 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1148 1263 | 
             
                    def delete_collection(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1149 | 
            -
                      command = make_simple_command(:delete, ' | 
| 1264 | 
            +
                      command = make_simple_command(:delete, '{merchantId}/collections/{collectionId}', options)
         | 
| 1150 1265 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| 1151 1266 | 
             
                      command.params['collectionId'] = collection_id unless collection_id.nil?
         | 
| 1152 1267 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| @@ -1178,7 +1293,7 @@ module Google | |
| 1178 1293 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1179 1294 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1180 1295 | 
             
                    def get_collection(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1181 | 
            -
                      command = make_simple_command(:get, ' | 
| 1296 | 
            +
                      command = make_simple_command(:get, '{merchantId}/collections/{collectionId}', options)
         | 
| 1182 1297 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Collection::Representation
         | 
| 1183 1298 | 
             
                      command.response_class = Google::Apis::ContentV2_1::Collection
         | 
| 1184 1299 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -1218,7 +1333,7 @@ module Google | |
| 1218 1333 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1219 1334 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1220 1335 | 
             
                    def list_collections(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1221 | 
            -
                      command = make_simple_command(:get, ' | 
| 1336 | 
            +
                      command = make_simple_command(:get, '{merchantId}/collections', options)
         | 
| 1222 1337 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ListCollectionsResponse::Representation
         | 
| 1223 1338 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ListCollectionsResponse
         | 
| 1224 1339 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -1254,7 +1369,7 @@ module Google | |
| 1254 1369 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1255 1370 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1256 1371 | 
             
                    def get_collectionstatus(merchant_id, collection_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1257 | 
            -
                      command = make_simple_command(:get, ' | 
| 1372 | 
            +
                      command = make_simple_command(:get, '{merchantId}/collectionstatuses/{collectionId}', options)
         | 
| 1258 1373 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::CollectionStatus::Representation
         | 
| 1259 1374 | 
             
                      command.response_class = Google::Apis::ContentV2_1::CollectionStatus
         | 
| 1260 1375 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -1292,7 +1407,7 @@ module Google | |
| 1292 1407 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1293 1408 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1294 1409 | 
             
                    def list_collectionstatuses(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1295 | 
            -
                      command = make_simple_command(:get, ' | 
| 1410 | 
            +
                      command = make_simple_command(:get, '{merchantId}/collectionstatuses', options)
         | 
| 1296 1411 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ListCollectionStatusesResponse::Representation
         | 
| 1297 1412 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ListCollectionStatusesResponse
         | 
| 1298 1413 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -1328,7 +1443,7 @@ module Google | |
| 1328 1443 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1329 1444 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1330 1445 | 
             
                    def get_css(css_group_id, css_domain_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1331 | 
            -
                      command = make_simple_command(:get, ' | 
| 1446 | 
            +
                      command = make_simple_command(:get, '{cssGroupId}/csses/{cssDomainId}', options)
         | 
| 1332 1447 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Css::Representation
         | 
| 1333 1448 | 
             
                      command.response_class = Google::Apis::ContentV2_1::Css
         | 
| 1334 1449 | 
             
                      command.params['cssGroupId'] = css_group_id unless css_group_id.nil?
         | 
| @@ -1367,7 +1482,7 @@ module Google | |
| 1367 1482 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1368 1483 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1369 1484 | 
             
                    def list_csses(css_group_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1370 | 
            -
                      command = make_simple_command(:get, ' | 
| 1485 | 
            +
                      command = make_simple_command(:get, '{cssGroupId}/csses', options)
         | 
| 1371 1486 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ListCssesResponse::Representation
         | 
| 1372 1487 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ListCssesResponse
         | 
| 1373 1488 | 
             
                      command.params['cssGroupId'] = css_group_id unless css_group_id.nil?
         | 
| @@ -1402,7 +1517,7 @@ module Google | |
| 1402 1517 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1403 1518 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1404 1519 | 
             
                    def updatelabels_css(css_group_id, css_domain_id, label_ids_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1405 | 
            -
                      command = make_simple_command(:post, ' | 
| 1520 | 
            +
                      command = make_simple_command(:post, '{cssGroupId}/csses/{cssDomainId}/updatelabels', options)
         | 
| 1406 1521 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::LabelIds::Representation
         | 
| 1407 1522 | 
             
                      command.request_object = label_ids_object
         | 
| 1408 1523 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Css::Representation
         | 
| @@ -1435,7 +1550,7 @@ module Google | |
| 1435 1550 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1436 1551 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1437 1552 | 
             
                    def custombatch_datafeed(datafeeds_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1438 | 
            -
                      command = make_simple_command(:post, ' | 
| 1553 | 
            +
                      command = make_simple_command(:post, 'datafeeds/batch', options)
         | 
| 1439 1554 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchRequest::Representation
         | 
| 1440 1555 | 
             
                      command.request_object = datafeeds_custom_batch_request_object
         | 
| 1441 1556 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::DatafeedsCustomBatchResponse::Representation
         | 
| @@ -1469,7 +1584,7 @@ module Google | |
| 1469 1584 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1470 1585 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1471 1586 | 
             
                    def delete_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1472 | 
            -
                      command = make_simple_command(:delete, ' | 
| 1587 | 
            +
                      command = make_simple_command(:delete, '{merchantId}/datafeeds/{datafeedId}', options)
         | 
| 1473 1588 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| 1474 1589 | 
             
                      command.params['datafeedId'] = datafeed_id unless datafeed_id.nil?
         | 
| 1475 1590 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| @@ -1503,7 +1618,7 @@ module Google | |
| 1503 1618 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1504 1619 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1505 1620 | 
             
                    def fetchnow_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1506 | 
            -
                      command = make_simple_command(:post, ' | 
| 1621 | 
            +
                      command = make_simple_command(:post, '{merchantId}/datafeeds/{datafeedId}/fetchNow', options)
         | 
| 1507 1622 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse::Representation
         | 
| 1508 1623 | 
             
                      command.response_class = Google::Apis::ContentV2_1::DatafeedsFetchNowResponse
         | 
| 1509 1624 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -1537,7 +1652,7 @@ module Google | |
| 1537 1652 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1538 1653 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1539 1654 | 
             
                    def get_datafeed(merchant_id, datafeed_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1540 | 
            -
                      command = make_simple_command(:get, ' | 
| 1655 | 
            +
                      command = make_simple_command(:get, '{merchantId}/datafeeds/{datafeedId}', options)
         | 
| 1541 1656 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
         | 
| 1542 1657 | 
             
                      command.response_class = Google::Apis::ContentV2_1::Datafeed
         | 
| 1543 1658 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -1570,7 +1685,7 @@ module Google | |
| 1570 1685 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1571 1686 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1572 1687 | 
             
                    def insert_datafeed(merchant_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1573 | 
            -
                      command = make_simple_command(:post, ' | 
| 1688 | 
            +
                      command = make_simple_command(:post, '{merchantId}/datafeeds', options)
         | 
| 1574 1689 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
         | 
| 1575 1690 | 
             
                      command.request_object = datafeed_object
         | 
| 1576 1691 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
         | 
| @@ -1607,7 +1722,7 @@ module Google | |
| 1607 1722 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1608 1723 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1609 1724 | 
             
                    def list_datafeeds(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1610 | 
            -
                      command = make_simple_command(:get, ' | 
| 1725 | 
            +
                      command = make_simple_command(:get, '{merchantId}/datafeeds', options)
         | 
| 1611 1726 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::DatafeedsListResponse::Representation
         | 
| 1612 1727 | 
             
                      command.response_class = Google::Apis::ContentV2_1::DatafeedsListResponse
         | 
| 1613 1728 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -1644,7 +1759,7 @@ module Google | |
| 1644 1759 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1645 1760 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1646 1761 | 
             
                    def update_datafeed(merchant_id, datafeed_id, datafeed_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1647 | 
            -
                      command = make_simple_command(:put, ' | 
| 1762 | 
            +
                      command = make_simple_command(:put, '{merchantId}/datafeeds/{datafeedId}', options)
         | 
| 1648 1763 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::Datafeed::Representation
         | 
| 1649 1764 | 
             
                      command.request_object = datafeed_object
         | 
| 1650 1765 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Datafeed::Representation
         | 
| @@ -1676,7 +1791,7 @@ module Google | |
| 1676 1791 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1677 1792 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1678 1793 | 
             
                    def custombatch_datafeedstatus(datafeedstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1679 | 
            -
                      command = make_simple_command(:post, ' | 
| 1794 | 
            +
                      command = make_simple_command(:post, 'datafeedstatuses/batch', options)
         | 
| 1680 1795 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchRequest::Representation
         | 
| 1681 1796 | 
             
                      command.request_object = datafeedstatuses_custom_batch_request_object
         | 
| 1682 1797 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesCustomBatchResponse::Representation
         | 
| @@ -1720,7 +1835,7 @@ module Google | |
| 1720 1835 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1721 1836 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1722 1837 | 
             
                    def get_datafeedstatus(merchant_id, datafeed_id, country: nil, language: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1723 | 
            -
                      command = make_simple_command(:get, ' | 
| 1838 | 
            +
                      command = make_simple_command(:get, '{merchantId}/datafeedstatuses/{datafeedId}', options)
         | 
| 1724 1839 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::DatafeedStatus::Representation
         | 
| 1725 1840 | 
             
                      command.response_class = Google::Apis::ContentV2_1::DatafeedStatus
         | 
| 1726 1841 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -1758,7 +1873,7 @@ module Google | |
| 1758 1873 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1759 1874 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1760 1875 | 
             
                    def list_datafeedstatuses(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1761 | 
            -
                      command = make_simple_command(:get, ' | 
| 1876 | 
            +
                      command = make_simple_command(:get, '{merchantId}/datafeedstatuses', options)
         | 
| 1762 1877 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::DatafeedstatusesListResponse::Representation
         | 
| 1763 1878 | 
             
                      command.response_class = Google::Apis::ContentV2_1::DatafeedstatusesListResponse
         | 
| 1764 1879 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -1790,7 +1905,7 @@ module Google | |
| 1790 1905 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1791 1906 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1792 1907 | 
             
                    def custombatch_liasetting(liasettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1793 | 
            -
                      command = make_simple_command(:post, ' | 
| 1908 | 
            +
                      command = make_simple_command(:post, 'liasettings/batch', options)
         | 
| 1794 1909 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchRequest::Representation
         | 
| 1795 1910 | 
             
                      command.request_object = liasettings_custom_batch_request_object
         | 
| 1796 1911 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::LiasettingsCustomBatchResponse::Representation
         | 
| @@ -1825,7 +1940,7 @@ module Google | |
| 1825 1940 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1826 1941 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1827 1942 | 
             
                    def get_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1828 | 
            -
                      command = make_simple_command(:get, ' | 
| 1943 | 
            +
                      command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}', options)
         | 
| 1829 1944 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
         | 
| 1830 1945 | 
             
                      command.response_class = Google::Apis::ContentV2_1::LiaSettings
         | 
| 1831 1946 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -1861,7 +1976,7 @@ module Google | |
| 1861 1976 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1862 1977 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1863 1978 | 
             
                    def getaccessiblegmbaccounts_liasetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1864 | 
            -
                      command = make_simple_command(:get, ' | 
| 1979 | 
            +
                      command = make_simple_command(:get, '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts', options)
         | 
| 1865 1980 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse::Representation
         | 
| 1866 1981 | 
             
                      command.response_class = Google::Apis::ContentV2_1::LiasettingsGetAccessibleGmbAccountsResponse
         | 
| 1867 1982 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -1896,7 +2011,7 @@ module Google | |
| 1896 2011 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1897 2012 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1898 2013 | 
             
                    def list_liasettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1899 | 
            -
                      command = make_simple_command(:get, ' | 
| 2014 | 
            +
                      command = make_simple_command(:get, '{merchantId}/liasettings', options)
         | 
| 1900 2015 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::LiasettingsListResponse::Representation
         | 
| 1901 2016 | 
             
                      command.response_class = Google::Apis::ContentV2_1::LiasettingsListResponse
         | 
| 1902 2017 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -1927,7 +2042,7 @@ module Google | |
| 1927 2042 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1928 2043 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1929 2044 | 
             
                    def listposdataproviders_liasetting(fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1930 | 
            -
                      command = make_simple_command(:get, ' | 
| 2045 | 
            +
                      command = make_simple_command(:get, 'liasettings/posdataproviders', options)
         | 
| 1931 2046 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse::Representation
         | 
| 1932 2047 | 
             
                      command.response_class = Google::Apis::ContentV2_1::LiasettingsListPosDataProvidersResponse
         | 
| 1933 2048 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| @@ -1962,7 +2077,7 @@ module Google | |
| 1962 2077 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 1963 2078 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 1964 2079 | 
             
                    def requestgmbaccess_liasetting(merchant_id, account_id, gmb_email, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 1965 | 
            -
                      command = make_simple_command(:post, ' | 
| 2080 | 
            +
                      command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestgmbaccess', options)
         | 
| 1966 2081 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse::Representation
         | 
| 1967 2082 | 
             
                      command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestGmbAccessResponse
         | 
| 1968 2083 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -2001,7 +2116,7 @@ module Google | |
| 2001 2116 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2002 2117 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2003 2118 | 
             
                    def requestinventoryverification_liasetting(merchant_id, account_id, country, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2004 | 
            -
                      command = make_simple_command(:post, ' | 
| 2119 | 
            +
                      command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}', options)
         | 
| 2005 2120 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse::Representation
         | 
| 2006 2121 | 
             
                      command.response_class = Google::Apis::ContentV2_1::LiasettingsRequestInventoryVerificationResponse
         | 
| 2007 2122 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -2046,7 +2161,7 @@ module Google | |
| 2046 2161 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2047 2162 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2048 2163 | 
             
                    def setinventoryverificationcontact_liasetting(merchant_id, account_id, country, language, contact_name, contact_email, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2049 | 
            -
                      command = make_simple_command(:post, ' | 
| 2164 | 
            +
                      command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact', options)
         | 
| 2050 2165 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse::Representation
         | 
| 2051 2166 | 
             
                      command.response_class = Google::Apis::ContentV2_1::LiasettingsSetInventoryVerificationContactResponse
         | 
| 2052 2167 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -2092,7 +2207,7 @@ module Google | |
| 2092 2207 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2093 2208 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2094 2209 | 
             
                    def setposdataprovider_liasetting(merchant_id, account_id, country, pos_data_provider_id: nil, pos_external_account_id: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2095 | 
            -
                      command = make_simple_command(:post, ' | 
| 2210 | 
            +
                      command = make_simple_command(:post, '{merchantId}/liasettings/{accountId}/setposdataprovider', options)
         | 
| 2096 2211 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse::Representation
         | 
| 2097 2212 | 
             
                      command.response_class = Google::Apis::ContentV2_1::LiasettingsSetPosDataProviderResponse
         | 
| 2098 2213 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -2132,7 +2247,7 @@ module Google | |
| 2132 2247 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2133 2248 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2134 2249 | 
             
                    def update_liasetting(merchant_id, account_id, lia_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2135 | 
            -
                      command = make_simple_command(:put, ' | 
| 2250 | 
            +
                      command = make_simple_command(:put, '{merchantId}/liasettings/{accountId}', options)
         | 
| 2136 2251 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
         | 
| 2137 2252 | 
             
                      command.request_object = lia_settings_object
         | 
| 2138 2253 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::LiaSettings::Representation
         | 
| @@ -2164,7 +2279,7 @@ module Google | |
| 2164 2279 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2165 2280 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2166 2281 | 
             
                    def custombatch_localinventory(localinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2167 | 
            -
                      command = make_simple_command(:post, ' | 
| 2282 | 
            +
                      command = make_simple_command(:post, 'localinventory/batch', options)
         | 
| 2168 2283 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::LocalinventoryCustomBatchRequest::Representation
         | 
| 2169 2284 | 
             
                      command.request_object = localinventory_custom_batch_request_object
         | 
| 2170 2285 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::LocalinventoryCustomBatchResponse::Representation
         | 
| @@ -2199,7 +2314,7 @@ module Google | |
| 2199 2314 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2200 2315 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2201 2316 | 
             
                    def insert_localinventory(merchant_id, product_id, local_inventory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2202 | 
            -
                      command = make_simple_command(:post, ' | 
| 2317 | 
            +
                      command = make_simple_command(:post, '{merchantId}/products/{productId}/localinventory', options)
         | 
| 2203 2318 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::LocalInventory::Representation
         | 
| 2204 2319 | 
             
                      command.request_object = local_inventory_object
         | 
| 2205 2320 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::LocalInventory::Representation
         | 
| @@ -2237,7 +2352,7 @@ module Google | |
| 2237 2352 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2238 2353 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2239 2354 | 
             
                    def createchargeinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_charge_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2240 | 
            -
                      command = make_simple_command(:post, ' | 
| 2355 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createChargeInvoice', options)
         | 
| 2241 2356 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceRequest::Representation
         | 
| 2242 2357 | 
             
                      command.request_object = orderinvoices_create_charge_invoice_request_object
         | 
| 2243 2358 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateChargeInvoiceResponse::Representation
         | 
| @@ -2277,7 +2392,7 @@ module Google | |
| 2277 2392 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2278 2393 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2279 2394 | 
             
                    def createrefundinvoice_orderinvoice(merchant_id, order_id, orderinvoices_create_refund_invoice_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2280 | 
            -
                      command = make_simple_command(:post, ' | 
| 2395 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orderinvoices/{orderId}/createRefundInvoice', options)
         | 
| 2281 2396 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceRequest::Representation
         | 
| 2282 2397 | 
             
                      command.request_object = orderinvoices_create_refund_invoice_request_object
         | 
| 2283 2398 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrderinvoicesCreateRefundInvoiceResponse::Representation
         | 
| @@ -2320,7 +2435,7 @@ module Google | |
| 2320 2435 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2321 2436 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2322 2437 | 
             
                    def listdisbursements_orderreport(merchant_id, disbursement_end_date: nil, disbursement_start_date: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2323 | 
            -
                      command = make_simple_command(:get, ' | 
| 2438 | 
            +
                      command = make_simple_command(:get, '{merchantId}/orderreports/disbursements', options)
         | 
| 2324 2439 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse::Representation
         | 
| 2325 2440 | 
             
                      command.response_class = Google::Apis::ContentV2_1::OrderreportsListDisbursementsResponse
         | 
| 2326 2441 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -2367,7 +2482,7 @@ module Google | |
| 2367 2482 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2368 2483 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2369 2484 | 
             
                    def listtransactions_orderreport(merchant_id, disbursement_id, max_results: nil, page_token: nil, transaction_end_date: nil, transaction_start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2370 | 
            -
                      command = make_simple_command(:get, ' | 
| 2485 | 
            +
                      command = make_simple_command(:get, '{merchantId}/orderreports/disbursements/{disbursementId}/transactions', options)
         | 
| 2371 2486 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse::Representation
         | 
| 2372 2487 | 
             
                      command.response_class = Google::Apis::ContentV2_1::OrderreportsListTransactionsResponse
         | 
| 2373 2488 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -2406,7 +2521,7 @@ module Google | |
| 2406 2521 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2407 2522 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2408 2523 | 
             
                    def acknowledge_orderreturn(merchant_id, return_id, orderreturns_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2409 | 
            -
                      command = make_simple_command(:post, ' | 
| 2524 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orderreturns/{returnId}/acknowledge', options)
         | 
| 2410 2525 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeRequest::Representation
         | 
| 2411 2526 | 
             
                      command.request_object = orderreturns_acknowledge_request_object
         | 
| 2412 2527 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrderreturnsAcknowledgeResponse::Representation
         | 
| @@ -2441,7 +2556,7 @@ module Google | |
| 2441 2556 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2442 2557 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2443 2558 | 
             
                    def createorderreturn_orderreturn(merchant_id, orderreturns_create_order_return_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2444 | 
            -
                      command = make_simple_command(:post, ' | 
| 2559 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orderreturns/createOrderReturn', options)
         | 
| 2445 2560 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnRequest::Representation
         | 
| 2446 2561 | 
             
                      command.request_object = orderreturns_create_order_return_request_object
         | 
| 2447 2562 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrderreturnsCreateOrderReturnResponse::Representation
         | 
| @@ -2476,7 +2591,7 @@ module Google | |
| 2476 2591 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2477 2592 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2478 2593 | 
             
                    def get_orderreturn(merchant_id, return_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2479 | 
            -
                      command = make_simple_command(:get, ' | 
| 2594 | 
            +
                      command = make_simple_command(:get, '{merchantId}/orderreturns/{returnId}', options)
         | 
| 2480 2595 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::MerchantOrderReturn::Representation
         | 
| 2481 2596 | 
             
                      command.response_class = Google::Apis::ContentV2_1::MerchantOrderReturn
         | 
| 2482 2597 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -2555,7 +2670,7 @@ module Google | |
| 2555 2670 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2556 2671 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2557 2672 | 
             
                    def list_orderreturns(merchant_id, acknowledged: nil, created_end_date: nil, created_start_date: nil, google_order_ids: nil, max_results: nil, order_by: nil, page_token: nil, shipment_states: nil, shipment_status: nil, shipment_tracking_numbers: nil, shipment_types: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2558 | 
            -
                      command = make_simple_command(:get, ' | 
| 2673 | 
            +
                      command = make_simple_command(:get, '{merchantId}/orderreturns', options)
         | 
| 2559 2674 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrderreturnsListResponse::Representation
         | 
| 2560 2675 | 
             
                      command.response_class = Google::Apis::ContentV2_1::OrderreturnsListResponse
         | 
| 2561 2676 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -2600,7 +2715,7 @@ module Google | |
| 2600 2715 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2601 2716 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2602 2717 | 
             
                    def process_orderreturn(merchant_id, return_id, orderreturns_process_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2603 | 
            -
                      command = make_simple_command(:post, ' | 
| 2718 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orderreturns/{returnId}/process', options)
         | 
| 2604 2719 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrderreturnsProcessRequest::Representation
         | 
| 2605 2720 | 
             
                      command.request_object = orderreturns_process_request_object
         | 
| 2606 2721 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrderreturnsProcessResponse::Representation
         | 
| @@ -2612,6 +2727,46 @@ module Google | |
| 2612 2727 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 2613 2728 | 
             
                    end
         | 
| 2614 2729 |  | 
| 2730 | 
            +
                    # Links a return shipping label to a return id. You can only create one return
         | 
| 2731 | 
            +
                    # label per return id. Since the label is sent to the buyer, the linked return
         | 
| 2732 | 
            +
                    # label cannot be updated or deleted. If you try to create multiple return
         | 
| 2733 | 
            +
                    # shipping labels for a single return id, every create request except the first
         | 
| 2734 | 
            +
                    # will fail.
         | 
| 2735 | 
            +
                    # @param [Fixnum] merchant_id
         | 
| 2736 | 
            +
                    #   Required. The merchant the Return Shipping Label belongs to.
         | 
| 2737 | 
            +
                    # @param [String] return_id
         | 
| 2738 | 
            +
                    #   Required. Provide the Google-generated merchant order return ID.
         | 
| 2739 | 
            +
                    # @param [Google::Apis::ContentV2_1::ReturnShippingLabel] return_shipping_label_object
         | 
| 2740 | 
            +
                    # @param [String] fields
         | 
| 2741 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 2742 | 
            +
                    # @param [String] quota_user
         | 
| 2743 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 2744 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 2745 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 2746 | 
            +
                    #   Request-specific options
         | 
| 2747 | 
            +
                    #
         | 
| 2748 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 2749 | 
            +
                    # @yieldparam result [Google::Apis::ContentV2_1::ReturnShippingLabel] parsed result object
         | 
| 2750 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 2751 | 
            +
                    #
         | 
| 2752 | 
            +
                    # @return [Google::Apis::ContentV2_1::ReturnShippingLabel]
         | 
| 2753 | 
            +
                    #
         | 
| 2754 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 2755 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2756 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2757 | 
            +
                    def create_orderreturn_label(merchant_id, return_id, return_shipping_label_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2758 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orderreturns/{returnId}/labels', options)
         | 
| 2759 | 
            +
                      command.request_representation = Google::Apis::ContentV2_1::ReturnShippingLabel::Representation
         | 
| 2760 | 
            +
                      command.request_object = return_shipping_label_object
         | 
| 2761 | 
            +
                      command.response_representation = Google::Apis::ContentV2_1::ReturnShippingLabel::Representation
         | 
| 2762 | 
            +
                      command.response_class = Google::Apis::ContentV2_1::ReturnShippingLabel
         | 
| 2763 | 
            +
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| 2764 | 
            +
                      command.params['returnId'] = return_id unless return_id.nil?
         | 
| 2765 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 2766 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 2767 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 2768 | 
            +
                    end
         | 
| 2769 | 
            +
                    
         | 
| 2615 2770 | 
             
                    # Marks an order as acknowledged.
         | 
| 2616 2771 | 
             
                    # @param [Fixnum] merchant_id
         | 
| 2617 2772 | 
             
                    #   The ID of the account that manages the order. This cannot be a multi-client
         | 
| @@ -2637,7 +2792,7 @@ module Google | |
| 2637 2792 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2638 2793 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2639 2794 | 
             
                    def acknowledge_order(merchant_id, order_id, orders_acknowledge_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2640 | 
            -
                      command = make_simple_command(:post, ' | 
| 2795 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orders/{orderId}/acknowledge', options)
         | 
| 2641 2796 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeRequest::Representation
         | 
| 2642 2797 | 
             
                      command.request_object = orders_acknowledge_request_object
         | 
| 2643 2798 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersAcknowledgeResponse::Representation
         | 
| @@ -2674,7 +2829,7 @@ module Google | |
| 2674 2829 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2675 2830 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2676 2831 | 
             
                    def advancetestorder_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2677 | 
            -
                      command = make_simple_command(:post, ' | 
| 2832 | 
            +
                      command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/advance', options)
         | 
| 2678 2833 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse::Representation
         | 
| 2679 2834 | 
             
                      command.response_class = Google::Apis::ContentV2_1::OrdersAdvanceTestOrderResponse
         | 
| 2680 2835 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -2709,7 +2864,7 @@ module Google | |
| 2709 2864 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2710 2865 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2711 2866 | 
             
                    def cancel_order(merchant_id, order_id, orders_cancel_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2712 | 
            -
                      command = make_simple_command(:post, ' | 
| 2867 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancel', options)
         | 
| 2713 2868 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersCancelRequest::Representation
         | 
| 2714 2869 | 
             
                      command.request_object = orders_cancel_request_object
         | 
| 2715 2870 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersCancelResponse::Representation
         | 
| @@ -2746,7 +2901,7 @@ module Google | |
| 2746 2901 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2747 2902 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2748 2903 | 
             
                    def cancellineitem_order(merchant_id, order_id, orders_cancel_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2749 | 
            -
                      command = make_simple_command(:post, ' | 
| 2904 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orders/{orderId}/cancelLineItem', options)
         | 
| 2750 2905 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemRequest::Representation
         | 
| 2751 2906 | 
             
                      command.request_object = orders_cancel_line_item_request_object
         | 
| 2752 2907 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersCancelLineItemResponse::Representation
         | 
| @@ -2783,7 +2938,7 @@ module Google | |
| 2783 2938 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2784 2939 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2785 2940 | 
             
                    def canceltestorderbycustomer_order(merchant_id, order_id, orders_cancel_test_order_by_customer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2786 | 
            -
                      command = make_simple_command(:post, ' | 
| 2941 | 
            +
                      command = make_simple_command(:post, '{merchantId}/testorders/{orderId}/cancelByCustomer', options)
         | 
| 2787 2942 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerRequest::Representation
         | 
| 2788 2943 | 
             
                      command.request_object = orders_cancel_test_order_by_customer_request_object
         | 
| 2789 2944 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersCancelTestOrderByCustomerResponse::Representation
         | 
| @@ -2818,7 +2973,7 @@ module Google | |
| 2818 2973 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2819 2974 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2820 2975 | 
             
                    def createtestorder_order(merchant_id, orders_create_test_order_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2821 | 
            -
                      command = make_simple_command(:post, ' | 
| 2976 | 
            +
                      command = make_simple_command(:post, '{merchantId}/testorders', options)
         | 
| 2822 2977 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderRequest::Representation
         | 
| 2823 2978 | 
             
                      command.request_object = orders_create_test_order_request_object
         | 
| 2824 2979 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestOrderResponse::Representation
         | 
| @@ -2854,7 +3009,7 @@ module Google | |
| 2854 3009 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2855 3010 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2856 3011 | 
             
                    def createtestreturn_order(merchant_id, order_id, orders_create_test_return_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2857 | 
            -
                      command = make_simple_command(:post, ' | 
| 3012 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orders/{orderId}/testreturn', options)
         | 
| 2858 3013 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnRequest::Representation
         | 
| 2859 3014 | 
             
                      command.request_object = orders_create_test_return_request_object
         | 
| 2860 3015 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersCreateTestReturnResponse::Representation
         | 
| @@ -2890,7 +3045,7 @@ module Google | |
| 2890 3045 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2891 3046 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2892 3047 | 
             
                    def get_order(merchant_id, order_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2893 | 
            -
                      command = make_simple_command(:get, ' | 
| 3048 | 
            +
                      command = make_simple_command(:get, '{merchantId}/orders/{orderId}', options)
         | 
| 2894 3049 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Order::Representation
         | 
| 2895 3050 | 
             
                      command.response_class = Google::Apis::ContentV2_1::Order
         | 
| 2896 3051 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -2924,7 +3079,7 @@ module Google | |
| 2924 3079 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2925 3080 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2926 3081 | 
             
                    def getbymerchantorderid_order(merchant_id, merchant_order_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2927 | 
            -
                      command = make_simple_command(:get, ' | 
| 3082 | 
            +
                      command = make_simple_command(:get, '{merchantId}/ordersbymerchantid/{merchantOrderId}', options)
         | 
| 2928 3083 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse::Representation
         | 
| 2929 3084 | 
             
                      command.response_class = Google::Apis::ContentV2_1::OrdersGetByMerchantOrderIdResponse
         | 
| 2930 3085 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -2961,7 +3116,7 @@ module Google | |
| 2961 3116 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 2962 3117 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 2963 3118 | 
             
                    def gettestordertemplate_order(merchant_id, template_name, country: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 2964 | 
            -
                      command = make_simple_command(:get, ' | 
| 3119 | 
            +
                      command = make_simple_command(:get, '{merchantId}/testordertemplates/{templateName}', options)
         | 
| 2965 3120 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse::Representation
         | 
| 2966 3121 | 
             
                      command.response_class = Google::Apis::ContentV2_1::OrdersGetTestOrderTemplateResponse
         | 
| 2967 3122 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -3004,7 +3159,7 @@ module Google | |
| 3004 3159 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3005 3160 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3006 3161 | 
             
                    def instorerefundlineitem_order(merchant_id, order_id, orders_in_store_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3007 | 
            -
                      command = make_simple_command(:post, ' | 
| 3162 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orders/{orderId}/inStoreRefundLineItem', options)
         | 
| 3008 3163 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemRequest::Representation
         | 
| 3009 3164 | 
             
                      command.request_object = orders_in_store_refund_line_item_request_object
         | 
| 3010 3165 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersInStoreRefundLineItemResponse::Representation
         | 
| @@ -3062,7 +3217,7 @@ module Google | |
| 3062 3217 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3063 3218 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3064 3219 | 
             
                    def list_orders(merchant_id, acknowledged: nil, max_results: nil, order_by: nil, page_token: nil, placed_date_end: nil, placed_date_start: nil, statuses: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3065 | 
            -
                      command = make_simple_command(:get, ' | 
| 3220 | 
            +
                      command = make_simple_command(:get, '{merchantId}/orders', options)
         | 
| 3066 3221 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersListResponse::Representation
         | 
| 3067 3222 | 
             
                      command.response_class = Google::Apis::ContentV2_1::OrdersListResponse
         | 
| 3068 3223 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -3103,7 +3258,7 @@ module Google | |
| 3103 3258 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3104 3259 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3105 3260 | 
             
                    def refunditem_order(merchant_id, order_id, orders_refund_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3106 | 
            -
                      command = make_simple_command(:post, ' | 
| 3261 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refunditem', options)
         | 
| 3107 3262 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersRefundItemRequest::Representation
         | 
| 3108 3263 | 
             
                      command.request_object = orders_refund_item_request_object
         | 
| 3109 3264 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersRefundItemResponse::Representation
         | 
| @@ -3140,7 +3295,7 @@ module Google | |
| 3140 3295 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3141 3296 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3142 3297 | 
             
                    def refundorder_order(merchant_id, order_id, orders_refund_order_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3143 | 
            -
                      command = make_simple_command(:post, ' | 
| 3298 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orders/{orderId}/refundorder', options)
         | 
| 3144 3299 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersRefundOrderRequest::Representation
         | 
| 3145 3300 | 
             
                      command.request_object = orders_refund_order_request_object
         | 
| 3146 3301 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersRefundOrderResponse::Representation
         | 
| @@ -3177,7 +3332,7 @@ module Google | |
| 3177 3332 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3178 3333 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3179 3334 | 
             
                    def rejectreturnlineitem_order(merchant_id, order_id, orders_reject_return_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3180 | 
            -
                      command = make_simple_command(:post, ' | 
| 3335 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orders/{orderId}/rejectReturnLineItem', options)
         | 
| 3181 3336 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemRequest::Representation
         | 
| 3182 3337 | 
             
                      command.request_object = orders_reject_return_line_item_request_object
         | 
| 3183 3338 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersRejectReturnLineItemResponse::Representation
         | 
| @@ -3219,7 +3374,7 @@ module Google | |
| 3219 3374 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3220 3375 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3221 3376 | 
             
                    def returnrefundlineitem_order(merchant_id, order_id, orders_return_refund_line_item_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3222 | 
            -
                      command = make_simple_command(:post, ' | 
| 3377 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orders/{orderId}/returnRefundLineItem', options)
         | 
| 3223 3378 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemRequest::Representation
         | 
| 3224 3379 | 
             
                      command.request_object = orders_return_refund_line_item_request_object
         | 
| 3225 3380 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersReturnRefundLineItemResponse::Representation
         | 
| @@ -3260,7 +3415,7 @@ module Google | |
| 3260 3415 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3261 3416 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3262 3417 | 
             
                    def setlineitemmetadata_order(merchant_id, order_id, orders_set_line_item_metadata_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3263 | 
            -
                      command = make_simple_command(:post, ' | 
| 3418 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orders/{orderId}/setLineItemMetadata', options)
         | 
| 3264 3419 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataRequest::Representation
         | 
| 3265 3420 | 
             
                      command.request_object = orders_set_line_item_metadata_request_object
         | 
| 3266 3421 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersSetLineItemMetadataResponse::Representation
         | 
| @@ -3297,7 +3452,7 @@ module Google | |
| 3297 3452 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3298 3453 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3299 3454 | 
             
                    def shiplineitems_order(merchant_id, order_id, orders_ship_line_items_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3300 | 
            -
                      command = make_simple_command(:post, ' | 
| 3455 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orders/{orderId}/shipLineItems', options)
         | 
| 3301 3456 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsRequest::Representation
         | 
| 3302 3457 | 
             
                      command.request_object = orders_ship_line_items_request_object
         | 
| 3303 3458 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersShipLineItemsResponse::Representation
         | 
| @@ -3334,7 +3489,7 @@ module Google | |
| 3334 3489 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3335 3490 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3336 3491 | 
             
                    def updatelineitemshippingdetails_order(merchant_id, order_id, orders_update_line_item_shipping_details_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3337 | 
            -
                      command = make_simple_command(:post, ' | 
| 3492 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateLineItemShippingDetails', options)
         | 
| 3338 3493 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsRequest::Representation
         | 
| 3339 3494 | 
             
                      command.request_object = orders_update_line_item_shipping_details_request_object
         | 
| 3340 3495 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateLineItemShippingDetailsResponse::Representation
         | 
| @@ -3371,7 +3526,7 @@ module Google | |
| 3371 3526 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3372 3527 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3373 3528 | 
             
                    def updatemerchantorderid_order(merchant_id, order_id, orders_update_merchant_order_id_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3374 | 
            -
                      command = make_simple_command(:post, ' | 
| 3529 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateMerchantOrderId', options)
         | 
| 3375 3530 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdRequest::Representation
         | 
| 3376 3531 | 
             
                      command.request_object = orders_update_merchant_order_id_request_object
         | 
| 3377 3532 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateMerchantOrderIdResponse::Representation
         | 
| @@ -3408,7 +3563,7 @@ module Google | |
| 3408 3563 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3409 3564 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3410 3565 | 
             
                    def updateshipment_order(merchant_id, order_id, orders_update_shipment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3411 | 
            -
                      command = make_simple_command(:post, ' | 
| 3566 | 
            +
                      command = make_simple_command(:post, '{merchantId}/orders/{orderId}/updateShipment', options)
         | 
| 3412 3567 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentRequest::Representation
         | 
| 3413 3568 | 
             
                      command.request_object = orders_update_shipment_request_object
         | 
| 3414 3569 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrdersUpdateShipmentResponse::Representation
         | 
| @@ -3442,7 +3597,7 @@ module Google | |
| 3442 3597 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3443 3598 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3444 3599 | 
             
                    def create_ordertrackingsignal(merchant_id, order_tracking_signal_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3445 | 
            -
                      command = make_simple_command(:post, ' | 
| 3600 | 
            +
                      command = make_simple_command(:post, '{merchantId}/ordertrackingsignals', options)
         | 
| 3446 3601 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::OrderTrackingSignal::Representation
         | 
| 3447 3602 | 
             
                      command.request_object = order_tracking_signal_object
         | 
| 3448 3603 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::OrderTrackingSignal::Representation
         | 
| @@ -3473,7 +3628,7 @@ module Google | |
| 3473 3628 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3474 3629 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3475 3630 | 
             
                    def custombatch_po(pos_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3476 | 
            -
                      command = make_simple_command(:post, ' | 
| 3631 | 
            +
                      command = make_simple_command(:post, 'pos/batch', options)
         | 
| 3477 3632 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::PosCustomBatchRequest::Representation
         | 
| 3478 3633 | 
             
                      command.request_object = pos_custom_batch_request_object
         | 
| 3479 3634 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::PosCustomBatchResponse::Representation
         | 
| @@ -3508,7 +3663,7 @@ module Google | |
| 3508 3663 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3509 3664 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3510 3665 | 
             
                    def delete_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3511 | 
            -
                      command = make_simple_command(:delete, ' | 
| 3666 | 
            +
                      command = make_simple_command(:delete, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
         | 
| 3512 3667 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| 3513 3668 | 
             
                      command.params['targetMerchantId'] = target_merchant_id unless target_merchant_id.nil?
         | 
| 3514 3669 | 
             
                      command.params['storeCode'] = store_code unless store_code.nil?
         | 
| @@ -3542,7 +3697,7 @@ module Google | |
| 3542 3697 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3543 3698 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3544 3699 | 
             
                    def get_po(merchant_id, target_merchant_id, store_code, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3545 | 
            -
                      command = make_simple_command(:get, ' | 
| 3700 | 
            +
                      command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store/{storeCode}', options)
         | 
| 3546 3701 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
         | 
| 3547 3702 | 
             
                      command.response_class = Google::Apis::ContentV2_1::PosStore
         | 
| 3548 3703 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -3577,7 +3732,7 @@ module Google | |
| 3577 3732 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3578 3733 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3579 3734 | 
             
                    def insert_po(merchant_id, target_merchant_id, pos_store_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3580 | 
            -
                      command = make_simple_command(:post, ' | 
| 3735 | 
            +
                      command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/store', options)
         | 
| 3581 3736 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::PosStore::Representation
         | 
| 3582 3737 | 
             
                      command.request_object = pos_store_object
         | 
| 3583 3738 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::PosStore::Representation
         | 
| @@ -3613,7 +3768,7 @@ module Google | |
| 3613 3768 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3614 3769 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3615 3770 | 
             
                    def inventory_po(merchant_id, target_merchant_id, pos_inventory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3616 | 
            -
                      command = make_simple_command(:post, ' | 
| 3771 | 
            +
                      command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/inventory', options)
         | 
| 3617 3772 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::PosInventoryRequest::Representation
         | 
| 3618 3773 | 
             
                      command.request_object = pos_inventory_request_object
         | 
| 3619 3774 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::PosInventoryResponse::Representation
         | 
| @@ -3648,7 +3803,7 @@ module Google | |
| 3648 3803 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3649 3804 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3650 3805 | 
             
                    def list_pos(merchant_id, target_merchant_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3651 | 
            -
                      command = make_simple_command(:get, ' | 
| 3806 | 
            +
                      command = make_simple_command(:get, '{merchantId}/pos/{targetMerchantId}/store', options)
         | 
| 3652 3807 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::PosListResponse::Representation
         | 
| 3653 3808 | 
             
                      command.response_class = Google::Apis::ContentV2_1::PosListResponse
         | 
| 3654 3809 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -3682,7 +3837,7 @@ module Google | |
| 3682 3837 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3683 3838 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3684 3839 | 
             
                    def sale_po(merchant_id, target_merchant_id, pos_sale_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3685 | 
            -
                      command = make_simple_command(:post, ' | 
| 3840 | 
            +
                      command = make_simple_command(:post, '{merchantId}/pos/{targetMerchantId}/sale', options)
         | 
| 3686 3841 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::PosSaleRequest::Representation
         | 
| 3687 3842 | 
             
                      command.request_object = pos_sale_request_object
         | 
| 3688 3843 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::PosSaleResponse::Representation
         | 
| @@ -3714,7 +3869,7 @@ module Google | |
| 3714 3869 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3715 3870 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3716 3871 | 
             
                    def custombatch_product(products_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3717 | 
            -
                      command = make_simple_command(:post, ' | 
| 3872 | 
            +
                      command = make_simple_command(:post, 'products/batch', options)
         | 
| 3718 3873 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::ProductsCustomBatchRequest::Representation
         | 
| 3719 3874 | 
             
                      command.request_object = products_custom_batch_request_object
         | 
| 3720 3875 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ProductsCustomBatchResponse::Representation
         | 
| @@ -3750,7 +3905,7 @@ module Google | |
| 3750 3905 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3751 3906 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3752 3907 | 
             
                    def delete_product(merchant_id, product_id, feed_id: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3753 | 
            -
                      command = make_simple_command(:delete, ' | 
| 3908 | 
            +
                      command = make_simple_command(:delete, '{merchantId}/products/{productId}', options)
         | 
| 3754 3909 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| 3755 3910 | 
             
                      command.params['productId'] = product_id unless product_id.nil?
         | 
| 3756 3911 | 
             
                      command.query['feedId'] = feed_id unless feed_id.nil?
         | 
| @@ -3783,7 +3938,7 @@ module Google | |
| 3783 3938 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3784 3939 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3785 3940 | 
             
                    def get_product(merchant_id, product_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3786 | 
            -
                      command = make_simple_command(:get, ' | 
| 3941 | 
            +
                      command = make_simple_command(:get, '{merchantId}/products/{productId}', options)
         | 
| 3787 3942 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Product::Representation
         | 
| 3788 3943 | 
             
                      command.response_class = Google::Apis::ContentV2_1::Product
         | 
| 3789 3944 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -3820,7 +3975,7 @@ module Google | |
| 3820 3975 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3821 3976 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3822 3977 | 
             
                    def insert_product(merchant_id, product_object = nil, feed_id: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3823 | 
            -
                      command = make_simple_command(:post, ' | 
| 3978 | 
            +
                      command = make_simple_command(:post, '{merchantId}/products', options)
         | 
| 3824 3979 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::Product::Representation
         | 
| 3825 3980 | 
             
                      command.request_object = product_object
         | 
| 3826 3981 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Product::Representation
         | 
| @@ -3860,7 +4015,7 @@ module Google | |
| 3860 4015 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3861 4016 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3862 4017 | 
             
                    def list_products(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3863 | 
            -
                      command = make_simple_command(:get, ' | 
| 4018 | 
            +
                      command = make_simple_command(:get, '{merchantId}/products', options)
         | 
| 3864 4019 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ProductsListResponse::Representation
         | 
| 3865 4020 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ProductsListResponse
         | 
| 3866 4021 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -3871,6 +4026,51 @@ module Google | |
| 3871 4026 | 
             
                      execute_or_queue_command(command, &block)
         | 
| 3872 4027 | 
             
                    end
         | 
| 3873 4028 |  | 
| 4029 | 
            +
                    # Updates an existing product in your Merchant Center account. Only updates
         | 
| 4030 | 
            +
                    # attributes provided in the request.
         | 
| 4031 | 
            +
                    # @param [Fixnum] merchant_id
         | 
| 4032 | 
            +
                    #   The ID of the account that contains the product. This account cannot be a
         | 
| 4033 | 
            +
                    #   multi-client account.
         | 
| 4034 | 
            +
                    # @param [String] product_id
         | 
| 4035 | 
            +
                    #   The REST ID of the product for which to update.
         | 
| 4036 | 
            +
                    # @param [Google::Apis::ContentV2_1::Product] product_object
         | 
| 4037 | 
            +
                    # @param [String] update_mask
         | 
| 4038 | 
            +
                    #   The list of product attributes to be updated. Attributes specified in the
         | 
| 4039 | 
            +
                    #   update mask without a value specified in the body will be deleted from the
         | 
| 4040 | 
            +
                    #   product. Only top-level product attributes can be updated. If not defined,
         | 
| 4041 | 
            +
                    #   product attributes with set values will be updated and other attributes will
         | 
| 4042 | 
            +
                    #   stay unchanged.
         | 
| 4043 | 
            +
                    # @param [String] fields
         | 
| 4044 | 
            +
                    #   Selector specifying which fields to include in a partial response.
         | 
| 4045 | 
            +
                    # @param [String] quota_user
         | 
| 4046 | 
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         | 
| 4047 | 
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         | 
| 4048 | 
            +
                    # @param [Google::Apis::RequestOptions] options
         | 
| 4049 | 
            +
                    #   Request-specific options
         | 
| 4050 | 
            +
                    #
         | 
| 4051 | 
            +
                    # @yield [result, err] Result & error if block supplied
         | 
| 4052 | 
            +
                    # @yieldparam result [Google::Apis::ContentV2_1::Product] parsed result object
         | 
| 4053 | 
            +
                    # @yieldparam err [StandardError] error object if request failed
         | 
| 4054 | 
            +
                    #
         | 
| 4055 | 
            +
                    # @return [Google::Apis::ContentV2_1::Product]
         | 
| 4056 | 
            +
                    #
         | 
| 4057 | 
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         | 
| 4058 | 
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4059 | 
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4060 | 
            +
                    def update_product(merchant_id, product_id, product_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4061 | 
            +
                      command = make_simple_command(:patch, '{merchantId}/products/{productId}', options)
         | 
| 4062 | 
            +
                      command.request_representation = Google::Apis::ContentV2_1::Product::Representation
         | 
| 4063 | 
            +
                      command.request_object = product_object
         | 
| 4064 | 
            +
                      command.response_representation = Google::Apis::ContentV2_1::Product::Representation
         | 
| 4065 | 
            +
                      command.response_class = Google::Apis::ContentV2_1::Product
         | 
| 4066 | 
            +
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| 4067 | 
            +
                      command.params['productId'] = product_id unless product_id.nil?
         | 
| 4068 | 
            +
                      command.query['updateMask'] = update_mask unless update_mask.nil?
         | 
| 4069 | 
            +
                      command.query['fields'] = fields unless fields.nil?
         | 
| 4070 | 
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         | 
| 4071 | 
            +
                      execute_or_queue_command(command, &block)
         | 
| 4072 | 
            +
                    end
         | 
| 4073 | 
            +
                    
         | 
| 3874 4074 | 
             
                    # Gets the statuses of multiple products in a single request.
         | 
| 3875 4075 | 
             
                    # @param [Google::Apis::ContentV2_1::ProductstatusesCustomBatchRequest] productstatuses_custom_batch_request_object
         | 
| 3876 4076 | 
             
                    # @param [String] fields
         | 
| @@ -3891,7 +4091,7 @@ module Google | |
| 3891 4091 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3892 4092 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3893 4093 | 
             
                    def custombatch_productstatus(productstatuses_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3894 | 
            -
                      command = make_simple_command(:post, ' | 
| 4094 | 
            +
                      command = make_simple_command(:post, 'productstatuses/batch', options)
         | 
| 3895 4095 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchRequest::Representation
         | 
| 3896 4096 | 
             
                      command.request_object = productstatuses_custom_batch_request_object
         | 
| 3897 4097 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ProductstatusesCustomBatchResponse::Representation
         | 
| @@ -3928,7 +4128,7 @@ module Google | |
| 3928 4128 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3929 4129 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3930 4130 | 
             
                    def get_productstatus(merchant_id, product_id, destinations: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3931 | 
            -
                      command = make_simple_command(:get, ' | 
| 4131 | 
            +
                      command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}', options)
         | 
| 3932 4132 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ProductStatus::Representation
         | 
| 3933 4133 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ProductStatus
         | 
| 3934 4134 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -3969,7 +4169,7 @@ module Google | |
| 3969 4169 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 3970 4170 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 3971 4171 | 
             
                    def list_productstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 3972 | 
            -
                      command = make_simple_command(:get, ' | 
| 4172 | 
            +
                      command = make_simple_command(:get, '{merchantId}/productstatuses', options)
         | 
| 3973 4173 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ProductstatusesListResponse::Representation
         | 
| 3974 4174 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ProductstatusesListResponse
         | 
| 3975 4175 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -4027,7 +4227,7 @@ module Google | |
| 4027 4227 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4028 4228 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4029 4229 | 
             
                    def list_productstatus_repricingreports(merchant_id, product_id, end_date: nil, page_size: nil, page_token: nil, rule_id: nil, start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4030 | 
            -
                      command = make_simple_command(:get, ' | 
| 4230 | 
            +
                      command = make_simple_command(:get, '{merchantId}/productstatuses/{productId}/repricingreports', options)
         | 
| 4031 4231 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ListRepricingProductReportsResponse::Representation
         | 
| 4032 4232 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ListRepricingProductReportsResponse
         | 
| 4033 4233 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -4063,7 +4263,7 @@ module Google | |
| 4063 4263 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4064 4264 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4065 4265 | 
             
                    def get_pubsubnotificationsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4066 | 
            -
                      command = make_simple_command(:get, ' | 
| 4266 | 
            +
                      command = make_simple_command(:get, '{merchantId}/pubsubnotificationsettings', options)
         | 
| 4067 4267 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
         | 
| 4068 4268 | 
             
                      command.response_class = Google::Apis::ContentV2_1::PubsubNotificationSettings
         | 
| 4069 4269 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -4095,7 +4295,7 @@ module Google | |
| 4095 4295 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4096 4296 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4097 4297 | 
             
                    def update_pubsubnotificationsetting(merchant_id, pubsub_notification_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4098 | 
            -
                      command = make_simple_command(:put, ' | 
| 4298 | 
            +
                      command = make_simple_command(:put, '{merchantId}/pubsubnotificationsettings', options)
         | 
| 4099 4299 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
         | 
| 4100 4300 | 
             
                      command.request_object = pubsub_notification_settings_object
         | 
| 4101 4301 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::PubsubNotificationSettings::Representation
         | 
| @@ -4127,7 +4327,7 @@ module Google | |
| 4127 4327 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4128 4328 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4129 4329 | 
             
                    def custombatch_regionalinventory(regionalinventory_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4130 | 
            -
                      command = make_simple_command(:post, ' | 
| 4330 | 
            +
                      command = make_simple_command(:post, 'regionalinventory/batch', options)
         | 
| 4131 4331 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchRequest::Representation
         | 
| 4132 4332 | 
             
                      command.request_object = regionalinventory_custom_batch_request_object
         | 
| 4133 4333 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponse::Representation
         | 
| @@ -4164,7 +4364,7 @@ module Google | |
| 4164 4364 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4165 4365 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4166 4366 | 
             
                    def insert_regionalinventory(merchant_id, product_id, regional_inventory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4167 | 
            -
                      command = make_simple_command(:post, ' | 
| 4367 | 
            +
                      command = make_simple_command(:post, '{merchantId}/products/{productId}/regionalinventory', options)
         | 
| 4168 4368 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
         | 
| 4169 4369 | 
             
                      command.request_object = regional_inventory_object
         | 
| 4170 4370 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::RegionalInventory::Representation
         | 
| @@ -4200,7 +4400,7 @@ module Google | |
| 4200 4400 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4201 4401 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4202 4402 | 
             
                    def create_region(merchant_id, region_object = nil, region_id: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4203 | 
            -
                      command = make_simple_command(:post, ' | 
| 4403 | 
            +
                      command = make_simple_command(:post, '{merchantId}/regions', options)
         | 
| 4204 4404 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::Region::Representation
         | 
| 4205 4405 | 
             
                      command.request_object = region_object
         | 
| 4206 4406 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Region::Representation
         | 
| @@ -4235,7 +4435,7 @@ module Google | |
| 4235 4435 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4236 4436 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4237 4437 | 
             
                    def delete_region(merchant_id, region_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4238 | 
            -
                      command = make_simple_command(:delete, ' | 
| 4438 | 
            +
                      command = make_simple_command(:delete, '{merchantId}/regions/{regionId}', options)
         | 
| 4239 4439 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| 4240 4440 | 
             
                      command.params['regionId'] = region_id unless region_id.nil?
         | 
| 4241 4441 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| @@ -4266,7 +4466,7 @@ module Google | |
| 4266 4466 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4267 4467 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4268 4468 | 
             
                    def get_region(merchant_id, region_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4269 | 
            -
                      command = make_simple_command(:get, ' | 
| 4469 | 
            +
                      command = make_simple_command(:get, '{merchantId}/regions/{regionId}', options)
         | 
| 4270 4470 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Region::Representation
         | 
| 4271 4471 | 
             
                      command.response_class = Google::Apis::ContentV2_1::Region
         | 
| 4272 4472 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -4305,7 +4505,7 @@ module Google | |
| 4305 4505 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4306 4506 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4307 4507 | 
             
                    def list_regions(merchant_id, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4308 | 
            -
                      command = make_simple_command(:get, ' | 
| 4508 | 
            +
                      command = make_simple_command(:get, '{merchantId}/regions', options)
         | 
| 4309 4509 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ListRegionsResponse::Representation
         | 
| 4310 4510 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ListRegionsResponse
         | 
| 4311 4511 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -4342,7 +4542,7 @@ module Google | |
| 4342 4542 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4343 4543 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4344 4544 | 
             
                    def patch_region(merchant_id, region_id, region_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4345 | 
            -
                      command = make_simple_command(:patch, ' | 
| 4545 | 
            +
                      command = make_simple_command(:patch, '{merchantId}/regions/{regionId}', options)
         | 
| 4346 4546 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::Region::Representation
         | 
| 4347 4547 | 
             
                      command.request_object = region_object
         | 
| 4348 4548 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::Region::Representation
         | 
| @@ -4379,7 +4579,7 @@ module Google | |
| 4379 4579 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4380 4580 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4381 4581 | 
             
                    def search_report(merchant_id, search_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4382 | 
            -
                      command = make_simple_command(:post, ' | 
| 4582 | 
            +
                      command = make_simple_command(:post, '{merchantId}/reports/search', options)
         | 
| 4383 4583 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::SearchRequest::Representation
         | 
| 4384 4584 | 
             
                      command.request_object = search_request_object
         | 
| 4385 4585 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::SearchResponse::Representation
         | 
| @@ -4414,7 +4614,7 @@ module Google | |
| 4414 4614 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4415 4615 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4416 4616 | 
             
                    def create_repricingrule(merchant_id, repricing_rule_object = nil, rule_id: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4417 | 
            -
                      command = make_simple_command(:post, ' | 
| 4617 | 
            +
                      command = make_simple_command(:post, '{merchantId}/repricingrules', options)
         | 
| 4418 4618 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
         | 
| 4419 4619 | 
             
                      command.request_object = repricing_rule_object
         | 
| 4420 4620 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
         | 
| @@ -4449,7 +4649,7 @@ module Google | |
| 4449 4649 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4450 4650 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4451 4651 | 
             
                    def delete_repricingrule(merchant_id, rule_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4452 | 
            -
                      command = make_simple_command(:delete, ' | 
| 4652 | 
            +
                      command = make_simple_command(:delete, '{merchantId}/repricingrules/{ruleId}', options)
         | 
| 4453 4653 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| 4454 4654 | 
             
                      command.params['ruleId'] = rule_id unless rule_id.nil?
         | 
| 4455 4655 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| @@ -4480,7 +4680,7 @@ module Google | |
| 4480 4680 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4481 4681 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4482 4682 | 
             
                    def get_repricingrule(merchant_id, rule_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4483 | 
            -
                      command = make_simple_command(:get, ' | 
| 4683 | 
            +
                      command = make_simple_command(:get, '{merchantId}/repricingrules/{ruleId}', options)
         | 
| 4484 4684 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
         | 
| 4485 4685 | 
             
                      command.response_class = Google::Apis::ContentV2_1::RepricingRule
         | 
| 4486 4686 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -4526,7 +4726,7 @@ module Google | |
| 4526 4726 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4527 4727 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4528 4728 | 
             
                    def list_repricingrules(merchant_id, country_code: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4529 | 
            -
                      command = make_simple_command(:get, ' | 
| 4729 | 
            +
                      command = make_simple_command(:get, '{merchantId}/repricingrules', options)
         | 
| 4530 4730 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ListRepricingRulesResponse::Representation
         | 
| 4531 4731 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ListRepricingRulesResponse
         | 
| 4532 4732 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -4567,7 +4767,7 @@ module Google | |
| 4567 4767 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4568 4768 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4569 4769 | 
             
                    def patch_repricingrule(merchant_id, rule_id, repricing_rule_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4570 | 
            -
                      command = make_simple_command(:patch, ' | 
| 4770 | 
            +
                      command = make_simple_command(:patch, '{merchantId}/repricingrules/{ruleId}', options)
         | 
| 4571 4771 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
         | 
| 4572 4772 | 
             
                      command.request_object = repricing_rule_object
         | 
| 4573 4773 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::RepricingRule::Representation
         | 
| @@ -4618,7 +4818,7 @@ module Google | |
| 4618 4818 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4619 4819 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4620 4820 | 
             
                    def list_repricingrule_repricingreports(merchant_id, rule_id, end_date: nil, page_size: nil, page_token: nil, start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4621 | 
            -
                      command = make_simple_command(:get, ' | 
| 4821 | 
            +
                      command = make_simple_command(:get, '{merchantId}/repricingrules/{ruleId}/repricingreports', options)
         | 
| 4622 4822 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ListRepricingRuleReportsResponse::Representation
         | 
| 4623 4823 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ListRepricingRuleReportsResponse
         | 
| 4624 4824 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -4652,7 +4852,7 @@ module Google | |
| 4652 4852 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4653 4853 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4654 4854 | 
             
                    def custombatch_returnaddress(returnaddress_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4655 | 
            -
                      command = make_simple_command(:post, ' | 
| 4855 | 
            +
                      command = make_simple_command(:post, 'returnaddress/batch', options)
         | 
| 4656 4856 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchRequest::Representation
         | 
| 4657 4857 | 
             
                      command.request_object = returnaddress_custom_batch_request_object
         | 
| 4658 4858 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ReturnaddressCustomBatchResponse::Representation
         | 
| @@ -4685,7 +4885,7 @@ module Google | |
| 4685 4885 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4686 4886 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4687 4887 | 
             
                    def delete_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4688 | 
            -
                      command = make_simple_command(:delete, ' | 
| 4888 | 
            +
                      command = make_simple_command(:delete, '{merchantId}/returnaddress/{returnAddressId}', options)
         | 
| 4689 4889 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| 4690 4890 | 
             
                      command.params['returnAddressId'] = return_address_id unless return_address_id.nil?
         | 
| 4691 4891 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| @@ -4716,7 +4916,7 @@ module Google | |
| 4716 4916 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4717 4917 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4718 4918 | 
             
                    def get_returnaddress(merchant_id, return_address_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4719 | 
            -
                      command = make_simple_command(:get, ' | 
| 4919 | 
            +
                      command = make_simple_command(:get, '{merchantId}/returnaddress/{returnAddressId}', options)
         | 
| 4720 4920 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
         | 
| 4721 4921 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ReturnAddress
         | 
| 4722 4922 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -4748,7 +4948,7 @@ module Google | |
| 4748 4948 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4749 4949 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4750 4950 | 
             
                    def insert_returnaddress(merchant_id, return_address_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4751 | 
            -
                      command = make_simple_command(:post, ' | 
| 4951 | 
            +
                      command = make_simple_command(:post, '{merchantId}/returnaddress', options)
         | 
| 4752 4952 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
         | 
| 4753 4953 | 
             
                      command.request_object = return_address_object
         | 
| 4754 4954 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ReturnAddress::Representation
         | 
| @@ -4787,7 +4987,7 @@ module Google | |
| 4787 4987 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4788 4988 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4789 4989 | 
             
                    def list_returnaddresses(merchant_id, country: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4790 | 
            -
                      command = make_simple_command(:get, ' | 
| 4990 | 
            +
                      command = make_simple_command(:get, '{merchantId}/returnaddress', options)
         | 
| 4791 4991 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ReturnaddressListResponse::Representation
         | 
| 4792 4992 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ReturnaddressListResponse
         | 
| 4793 4993 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -4819,7 +5019,7 @@ module Google | |
| 4819 5019 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4820 5020 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4821 5021 | 
             
                    def custombatch_returnpolicy(returnpolicy_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4822 | 
            -
                      command = make_simple_command(:post, ' | 
| 5022 | 
            +
                      command = make_simple_command(:post, 'returnpolicy/batch', options)
         | 
| 4823 5023 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchRequest::Representation
         | 
| 4824 5024 | 
             
                      command.request_object = returnpolicy_custom_batch_request_object
         | 
| 4825 5025 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponse::Representation
         | 
| @@ -4852,7 +5052,7 @@ module Google | |
| 4852 5052 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4853 5053 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4854 5054 | 
             
                    def delete_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4855 | 
            -
                      command = make_simple_command(:delete, ' | 
| 5055 | 
            +
                      command = make_simple_command(:delete, '{merchantId}/returnpolicy/{returnPolicyId}', options)
         | 
| 4856 5056 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| 4857 5057 | 
             
                      command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil?
         | 
| 4858 5058 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| @@ -4883,7 +5083,7 @@ module Google | |
| 4883 5083 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4884 5084 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4885 5085 | 
             
                    def get_returnpolicy(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4886 | 
            -
                      command = make_simple_command(:get, ' | 
| 5086 | 
            +
                      command = make_simple_command(:get, '{merchantId}/returnpolicy/{returnPolicyId}', options)
         | 
| 4887 5087 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
         | 
| 4888 5088 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ReturnPolicy
         | 
| 4889 5089 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -4915,7 +5115,7 @@ module Google | |
| 4915 5115 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4916 5116 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4917 5117 | 
             
                    def insert_returnpolicy(merchant_id, return_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4918 | 
            -
                      command = make_simple_command(:post, ' | 
| 5118 | 
            +
                      command = make_simple_command(:post, '{merchantId}/returnpolicy', options)
         | 
| 4919 5119 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
         | 
| 4920 5120 | 
             
                      command.request_object = return_policy_object
         | 
| 4921 5121 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ReturnPolicy::Representation
         | 
| @@ -4947,7 +5147,7 @@ module Google | |
| 4947 5147 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4948 5148 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4949 5149 | 
             
                    def list_returnpolicies(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4950 | 
            -
                      command = make_simple_command(:get, ' | 
| 5150 | 
            +
                      command = make_simple_command(:get, '{merchantId}/returnpolicy', options)
         | 
| 4951 5151 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ReturnpolicyListResponse::Representation
         | 
| 4952 5152 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ReturnpolicyListResponse
         | 
| 4953 5153 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -4979,7 +5179,7 @@ module Google | |
| 4979 5179 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 4980 5180 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 4981 5181 | 
             
                    def create_returnpolicyonline(merchant_id, return_policy_online_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 4982 | 
            -
                      command = make_simple_command(:post, ' | 
| 5182 | 
            +
                      command = make_simple_command(:post, '{merchantId}/returnpolicyonline', options)
         | 
| 4983 5183 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation
         | 
| 4984 5184 | 
             
                      command.request_object = return_policy_online_object
         | 
| 4985 5185 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation
         | 
| @@ -5014,7 +5214,7 @@ module Google | |
| 5014 5214 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 5015 5215 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 5016 5216 | 
             
                    def delete_returnpolicyonline(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 5017 | 
            -
                      command = make_simple_command(:delete, ' | 
| 5217 | 
            +
                      command = make_simple_command(:delete, '{merchantId}/returnpolicyonline/{returnPolicyId}', options)
         | 
| 5018 5218 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| 5019 5219 | 
             
                      command.params['returnPolicyId'] = return_policy_id unless return_policy_id.nil?
         | 
| 5020 5220 | 
             
                      command.query['fields'] = fields unless fields.nil?
         | 
| @@ -5046,7 +5246,7 @@ module Google | |
| 5046 5246 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 5047 5247 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 5048 5248 | 
             
                    def get_returnpolicyonline(merchant_id, return_policy_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 5049 | 
            -
                      command = make_simple_command(:get, ' | 
| 5249 | 
            +
                      command = make_simple_command(:get, '{merchantId}/returnpolicyonline/{returnPolicyId}', options)
         | 
| 5050 5250 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation
         | 
| 5051 5251 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ReturnPolicyOnline
         | 
| 5052 5252 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -5078,7 +5278,7 @@ module Google | |
| 5078 5278 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 5079 5279 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 5080 5280 | 
             
                    def list_returnpolicyonlines(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 5081 | 
            -
                      command = make_simple_command(:get, ' | 
| 5281 | 
            +
                      command = make_simple_command(:get, '{merchantId}/returnpolicyonline', options)
         | 
| 5082 5282 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ListReturnPolicyOnlineResponse::Representation
         | 
| 5083 5283 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ListReturnPolicyOnlineResponse
         | 
| 5084 5284 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -5112,7 +5312,7 @@ module Google | |
| 5112 5312 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 5113 5313 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 5114 5314 | 
             
                    def patch_returnpolicyonline(merchant_id, return_policy_id, return_policy_online_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 5115 | 
            -
                      command = make_simple_command(:patch, ' | 
| 5315 | 
            +
                      command = make_simple_command(:patch, '{merchantId}/returnpolicyonline/{returnPolicyId}', options)
         | 
| 5116 5316 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation
         | 
| 5117 5317 | 
             
                      command.request_object = return_policy_online_object
         | 
| 5118 5318 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ReturnPolicyOnline::Representation
         | 
| @@ -5147,7 +5347,7 @@ module Google | |
| 5147 5347 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 5148 5348 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 5149 5349 | 
             
                    def get_settlementreport(merchant_id, settlement_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 5150 | 
            -
                      command = make_simple_command(:get, ' | 
| 5350 | 
            +
                      command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}', options)
         | 
| 5151 5351 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::SettlementReport::Representation
         | 
| 5152 5352 | 
             
                      command.response_class = Google::Apis::ContentV2_1::SettlementReport
         | 
| 5153 5353 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -5190,7 +5390,7 @@ module Google | |
| 5190 5390 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 5191 5391 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 5192 5392 | 
             
                    def list_settlementreports(merchant_id, max_results: nil, page_token: nil, transfer_end_date: nil, transfer_start_date: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 5193 | 
            -
                      command = make_simple_command(:get, ' | 
| 5393 | 
            +
                      command = make_simple_command(:get, '{merchantId}/settlementreports', options)
         | 
| 5194 5394 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::SettlementreportsListResponse::Representation
         | 
| 5195 5395 | 
             
                      command.response_class = Google::Apis::ContentV2_1::SettlementreportsListResponse
         | 
| 5196 5396 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -5235,7 +5435,7 @@ module Google | |
| 5235 5435 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 5236 5436 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 5237 5437 | 
             
                    def list_settlementtransactions(merchant_id, settlement_id, max_results: nil, page_token: nil, transaction_ids: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 5238 | 
            -
                      command = make_simple_command(:get, ' | 
| 5438 | 
            +
                      command = make_simple_command(:get, '{merchantId}/settlementreports/{settlementId}/transactions', options)
         | 
| 5239 5439 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::SettlementtransactionsListResponse::Representation
         | 
| 5240 5440 | 
             
                      command.response_class = Google::Apis::ContentV2_1::SettlementtransactionsListResponse
         | 
| 5241 5441 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -5269,7 +5469,7 @@ module Google | |
| 5269 5469 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 5270 5470 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 5271 5471 | 
             
                    def custombatch_shippingsetting(shippingsettings_custom_batch_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 5272 | 
            -
                      command = make_simple_command(:post, ' | 
| 5472 | 
            +
                      command = make_simple_command(:post, 'shippingsettings/batch', options)
         | 
| 5273 5473 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchRequest::Representation
         | 
| 5274 5474 | 
             
                      command.request_object = shippingsettings_custom_batch_request_object
         | 
| 5275 5475 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsCustomBatchResponse::Representation
         | 
| @@ -5304,7 +5504,7 @@ module Google | |
| 5304 5504 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 5305 5505 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 5306 5506 | 
             
                    def get_shippingsetting(merchant_id, account_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 5307 | 
            -
                      command = make_simple_command(:get, ' | 
| 5507 | 
            +
                      command = make_simple_command(:get, '{merchantId}/shippingsettings/{accountId}', options)
         | 
| 5308 5508 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
         | 
| 5309 5509 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ShippingSettings
         | 
| 5310 5510 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -5335,7 +5535,7 @@ module Google | |
| 5335 5535 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 5336 5536 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 5337 5537 | 
             
                    def getsupportedcarriers_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 5338 | 
            -
                      command = make_simple_command(:get, ' | 
| 5538 | 
            +
                      command = make_simple_command(:get, '{merchantId}/supportedCarriers', options)
         | 
| 5339 5539 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse::Representation
         | 
| 5340 5540 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedCarriersResponse
         | 
| 5341 5541 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -5365,7 +5565,7 @@ module Google | |
| 5365 5565 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 5366 5566 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 5367 5567 | 
             
                    def getsupportedholidays_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 5368 | 
            -
                      command = make_simple_command(:get, ' | 
| 5568 | 
            +
                      command = make_simple_command(:get, '{merchantId}/supportedHolidays', options)
         | 
| 5369 5569 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse::Representation
         | 
| 5370 5570 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedHolidaysResponse
         | 
| 5371 5571 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -5395,7 +5595,7 @@ module Google | |
| 5395 5595 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 5396 5596 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 5397 5597 | 
             
                    def getsupportedpickupservices_shippingsetting(merchant_id, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 5398 | 
            -
                      command = make_simple_command(:get, ' | 
| 5598 | 
            +
                      command = make_simple_command(:get, '{merchantId}/supportedPickupServices', options)
         | 
| 5399 5599 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse::Representation
         | 
| 5400 5600 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ShippingsettingsGetSupportedPickupServicesResponse
         | 
| 5401 5601 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -5431,7 +5631,7 @@ module Google | |
| 5431 5631 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 5432 5632 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 5433 5633 | 
             
                    def list_shippingsettings(merchant_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 5434 | 
            -
                      command = make_simple_command(:get, ' | 
| 5634 | 
            +
                      command = make_simple_command(:get, '{merchantId}/shippingsettings', options)
         | 
| 5435 5635 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ShippingsettingsListResponse::Representation
         | 
| 5436 5636 | 
             
                      command.response_class = Google::Apis::ContentV2_1::ShippingsettingsListResponse
         | 
| 5437 5637 | 
             
                      command.params['merchantId'] = merchant_id unless merchant_id.nil?
         | 
| @@ -5469,7 +5669,7 @@ module Google | |
| 5469 5669 | 
             
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         | 
| 5470 5670 | 
             
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         | 
| 5471 5671 | 
             
                    def update_shippingsetting(merchant_id, account_id, shipping_settings_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         | 
| 5472 | 
            -
                      command = make_simple_command(:put, ' | 
| 5672 | 
            +
                      command = make_simple_command(:put, '{merchantId}/shippingsettings/{accountId}', options)
         | 
| 5473 5673 | 
             
                      command.request_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
         | 
| 5474 5674 | 
             
                      command.request_object = shipping_settings_object
         | 
| 5475 5675 | 
             
                      command.response_representation = Google::Apis::ContentV2_1::ShippingSettings::Representation
         |