google-apis-content_v2_1 0.3.0 → 0.8.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 +469 -6
 - data/lib/google/apis/content_v2_1/gem_version.rb +3 -3
 - data/lib/google/apis/content_v2_1/representations.rb +219 -0
 - data/lib/google/apis/content_v2_1/service.rb +453 -141
 - metadata +5 -5
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: febcf98eb3cb969f059dc65244490f060c4278613dbd6fd7497a83068d3ded82
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: d3f20f7250afa7446abc37ad43be65033fa5b970ac16ef5ad074fa3adf144aa4
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 5eae053c5888512bf3d6febc3a0bbf58d7b48d02fb9bab937cbbd46aae5f3f80561e5123d2605962eea0f559af4f3fabf96f60af836e9e66986210feb5306e7e
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 4c072c6baf2859d74f81e7bb389b5f6ffc5b26b72ad4383fc97291fc779c2faa16e763aa1777bbe042572b915300807e906cc89efde8393ffe29532c20d900ac
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,5 +1,26 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Release history for google-apis-content_v2_1
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ### v0.8.0 (2021-03-16)
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            * Regenerated from discovery document revision 20210311
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ### v0.7.0 (2021-03-09)
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            * Regenerated from discovery document revision 20210303
         
     | 
| 
      
 10 
     | 
    
         
            +
            * Regenerated using generator version 0.2.0
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            ### v0.6.0 (2021-03-04)
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            * Regenerated from discovery document revision 20210226
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            ### v0.5.0 (2021-02-25)
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            * Regenerated from discovery document revision 20210223
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            ### v0.4.0 (2021-02-16)
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            * Regenerated from discovery document revision 20210211
         
     | 
| 
      
 23 
     | 
    
         
            +
             
     | 
| 
       3 
24 
     | 
    
         
             
            ### v0.3.0 (2021-02-11)
         
     | 
| 
       4 
25 
     | 
    
         | 
| 
       5 
26 
     | 
    
         
             
            * Regenerated from discovery document revision 20210210
         
     | 
| 
         @@ -244,6 +244,38 @@ module Google 
     | 
|
| 
       244 
244 
     | 
    
         
             
                    end
         
     | 
| 
       245 
245 
     | 
    
         
             
                  end
         
     | 
| 
       246 
246 
     | 
    
         | 
| 
      
 247 
     | 
    
         
            +
                  # Credentials allowing Google to call a partner's API on behalf of a merchant.
         
     | 
| 
      
 248 
     | 
    
         
            +
                  class AccountCredentials
         
     | 
| 
      
 249 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 250 
     | 
    
         
            +
                  
         
     | 
| 
      
 251 
     | 
    
         
            +
                    # An OAuth access token.
         
     | 
| 
      
 252 
     | 
    
         
            +
                    # Corresponds to the JSON property `accessToken`
         
     | 
| 
      
 253 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 254 
     | 
    
         
            +
                    attr_accessor :access_token
         
     | 
| 
      
 255 
     | 
    
         
            +
                  
         
     | 
| 
      
 256 
     | 
    
         
            +
                    # The amount of time, in seconds, after which the access token is no longer
         
     | 
| 
      
 257 
     | 
    
         
            +
                    # valid.
         
     | 
| 
      
 258 
     | 
    
         
            +
                    # Corresponds to the JSON property `expiresIn`
         
     | 
| 
      
 259 
     | 
    
         
            +
                    # @return [Fixnum]
         
     | 
| 
      
 260 
     | 
    
         
            +
                    attr_accessor :expires_in
         
     | 
| 
      
 261 
     | 
    
         
            +
                  
         
     | 
| 
      
 262 
     | 
    
         
            +
                    # Indicates to Google how Google should use these OAuth tokens.
         
     | 
| 
      
 263 
     | 
    
         
            +
                    # Corresponds to the JSON property `purpose`
         
     | 
| 
      
 264 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 265 
     | 
    
         
            +
                    attr_accessor :purpose
         
     | 
| 
      
 266 
     | 
    
         
            +
                  
         
     | 
| 
      
 267 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 268 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 269 
     | 
    
         
            +
                    end
         
     | 
| 
      
 270 
     | 
    
         
            +
                  
         
     | 
| 
      
 271 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 272 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 273 
     | 
    
         
            +
                      @access_token = args[:access_token] if args.key?(:access_token)
         
     | 
| 
      
 274 
     | 
    
         
            +
                      @expires_in = args[:expires_in] if args.key?(:expires_in)
         
     | 
| 
      
 275 
     | 
    
         
            +
                      @purpose = args[:purpose] if args.key?(:purpose)
         
     | 
| 
      
 276 
     | 
    
         
            +
                    end
         
     | 
| 
      
 277 
     | 
    
         
            +
                  end
         
     | 
| 
      
 278 
     | 
    
         
            +
                  
         
     | 
| 
       247 
279 
     | 
    
         
             
                  # 
         
     | 
| 
       248 
280 
     | 
    
         
             
                  class AccountCustomerService
         
     | 
| 
       249 
281 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
         @@ -995,8 +1027,7 @@ module Google 
     | 
|
| 
       995 
1027 
     | 
    
         
             
                    attr_accessor :linked_account_id
         
     | 
| 
       996 
1028 
     | 
    
         | 
| 
       997 
1029 
     | 
    
         
             
                    # Provided services. Acceptable values are: - "`shoppingAdsProductManagement`" -
         
     | 
| 
       998 
     | 
    
         
            -
                    # "` 
     | 
| 
       999 
     | 
    
         
            -
                    # shoppingActionsOrderManagement`" - "`shoppingActionsOther`"
         
     | 
| 
      
 1030 
     | 
    
         
            +
                    # "`shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`"
         
     | 
| 
       1000 
1031 
     | 
    
         
             
                    # Corresponds to the JSON property `services`
         
     | 
| 
       1001 
1032 
     | 
    
         
             
                    # @return [Array<String>]
         
     | 
| 
       1002 
1033 
     | 
    
         
             
                    attr_accessor :services
         
     | 
| 
         @@ -1601,6 +1632,37 @@ module Google 
     | 
|
| 
       1601 
1632 
     | 
    
         
             
                    end
         
     | 
| 
       1602 
1633 
     | 
    
         
             
                  end
         
     | 
| 
       1603 
1634 
     | 
    
         | 
| 
      
 1635 
     | 
    
         
            +
                  # Response message for the GetProgramStatus method.
         
     | 
| 
      
 1636 
     | 
    
         
            +
                  class BuyOnGoogleProgramStatus
         
     | 
| 
      
 1637 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 1638 
     | 
    
         
            +
                  
         
     | 
| 
      
 1639 
     | 
    
         
            +
                    # The customer service pending email.
         
     | 
| 
      
 1640 
     | 
    
         
            +
                    # Corresponds to the JSON property `customerServicePendingEmail`
         
     | 
| 
      
 1641 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 1642 
     | 
    
         
            +
                    attr_accessor :customer_service_pending_email
         
     | 
| 
      
 1643 
     | 
    
         
            +
                  
         
     | 
| 
      
 1644 
     | 
    
         
            +
                    # The customer service verified email.
         
     | 
| 
      
 1645 
     | 
    
         
            +
                    # Corresponds to the JSON property `customerServiceVerifiedEmail`
         
     | 
| 
      
 1646 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 1647 
     | 
    
         
            +
                    attr_accessor :customer_service_verified_email
         
     | 
| 
      
 1648 
     | 
    
         
            +
                  
         
     | 
| 
      
 1649 
     | 
    
         
            +
                    # The current participation stage for the program.
         
     | 
| 
      
 1650 
     | 
    
         
            +
                    # Corresponds to the JSON property `participationStage`
         
     | 
| 
      
 1651 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 1652 
     | 
    
         
            +
                    attr_accessor :participation_stage
         
     | 
| 
      
 1653 
     | 
    
         
            +
                  
         
     | 
| 
      
 1654 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 1655 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 1656 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1657 
     | 
    
         
            +
                  
         
     | 
| 
      
 1658 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 1659 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 1660 
     | 
    
         
            +
                      @customer_service_pending_email = args[:customer_service_pending_email] if args.key?(:customer_service_pending_email)
         
     | 
| 
      
 1661 
     | 
    
         
            +
                      @customer_service_verified_email = args[:customer_service_verified_email] if args.key?(:customer_service_verified_email)
         
     | 
| 
      
 1662 
     | 
    
         
            +
                      @participation_stage = args[:participation_stage] if args.key?(:participation_stage)
         
     | 
| 
      
 1663 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1664 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1665 
     | 
    
         
            +
                  
         
     | 
| 
       1604 
1666 
     | 
    
         
             
                  # 
         
     | 
| 
       1605 
1667 
     | 
    
         
             
                  class CarrierRate
         
     | 
| 
       1606 
1668 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
         @@ -4284,6 +4346,25 @@ module Google 
     | 
|
| 
       4284 
4346 
     | 
    
         
             
                    end
         
     | 
| 
       4285 
4347 
     | 
    
         
             
                  end
         
     | 
| 
       4286 
4348 
     | 
    
         | 
| 
      
 4349 
     | 
    
         
            +
                  # Response message for the `ListReturnPolicyOnline` method.
         
     | 
| 
      
 4350 
     | 
    
         
            +
                  class ListReturnPolicyOnlineResponse
         
     | 
| 
      
 4351 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 4352 
     | 
    
         
            +
                  
         
     | 
| 
      
 4353 
     | 
    
         
            +
                    # The retrieved return policies.
         
     | 
| 
      
 4354 
     | 
    
         
            +
                    # Corresponds to the JSON property `returnPolicies`
         
     | 
| 
      
 4355 
     | 
    
         
            +
                    # @return [Array<Google::Apis::ContentV2_1::ReturnPolicyOnline>]
         
     | 
| 
      
 4356 
     | 
    
         
            +
                    attr_accessor :return_policies
         
     | 
| 
      
 4357 
     | 
    
         
            +
                  
         
     | 
| 
      
 4358 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 4359 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 4360 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4361 
     | 
    
         
            +
                  
         
     | 
| 
      
 4362 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 4363 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 4364 
     | 
    
         
            +
                      @return_policies = args[:return_policies] if args.key?(:return_policies)
         
     | 
| 
      
 4365 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4366 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4367 
     | 
    
         
            +
                  
         
     | 
| 
       4287 
4368 
     | 
    
         
             
                  # Local inventory resource. For accepted attribute values, see the local product
         
     | 
| 
       4288 
4369 
     | 
    
         
             
                  # inventory feed specification.
         
     | 
| 
       4289 
4370 
     | 
    
         
             
                  class LocalInventory
         
     | 
| 
         @@ -4703,6 +4784,39 @@ module Google 
     | 
|
| 
       4703 
4784 
     | 
    
         
             
                    end
         
     | 
| 
       4704 
4785 
     | 
    
         
             
                  end
         
     | 
| 
       4705 
4786 
     | 
    
         | 
| 
      
 4787 
     | 
    
         
            +
                  # Performance metrics. Values are only set for metrics requested explicitly in
         
     | 
| 
      
 4788 
     | 
    
         
            +
                  # the request's search query.
         
     | 
| 
      
 4789 
     | 
    
         
            +
                  class Metrics
         
     | 
| 
      
 4790 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 4791 
     | 
    
         
            +
                  
         
     | 
| 
      
 4792 
     | 
    
         
            +
                    # Number of clicks.
         
     | 
| 
      
 4793 
     | 
    
         
            +
                    # Corresponds to the JSON property `clicks`
         
     | 
| 
      
 4794 
     | 
    
         
            +
                    # @return [Fixnum]
         
     | 
| 
      
 4795 
     | 
    
         
            +
                    attr_accessor :clicks
         
     | 
| 
      
 4796 
     | 
    
         
            +
                  
         
     | 
| 
      
 4797 
     | 
    
         
            +
                    # Number of clicks merchant's products receive (clicks) divided by the number of
         
     | 
| 
      
 4798 
     | 
    
         
            +
                    # times the products are shown (impressions).
         
     | 
| 
      
 4799 
     | 
    
         
            +
                    # Corresponds to the JSON property `ctr`
         
     | 
| 
      
 4800 
     | 
    
         
            +
                    # @return [Float]
         
     | 
| 
      
 4801 
     | 
    
         
            +
                    attr_accessor :ctr
         
     | 
| 
      
 4802 
     | 
    
         
            +
                  
         
     | 
| 
      
 4803 
     | 
    
         
            +
                    # Number of times merchant's products are shown.
         
     | 
| 
      
 4804 
     | 
    
         
            +
                    # Corresponds to the JSON property `impressions`
         
     | 
| 
      
 4805 
     | 
    
         
            +
                    # @return [Fixnum]
         
     | 
| 
      
 4806 
     | 
    
         
            +
                    attr_accessor :impressions
         
     | 
| 
      
 4807 
     | 
    
         
            +
                  
         
     | 
| 
      
 4808 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 4809 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 4810 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4811 
     | 
    
         
            +
                  
         
     | 
| 
      
 4812 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 4813 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 4814 
     | 
    
         
            +
                      @clicks = args[:clicks] if args.key?(:clicks)
         
     | 
| 
      
 4815 
     | 
    
         
            +
                      @ctr = args[:ctr] if args.key?(:ctr)
         
     | 
| 
      
 4816 
     | 
    
         
            +
                      @impressions = args[:impressions] if args.key?(:impressions)
         
     | 
| 
      
 4817 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4818 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4819 
     | 
    
         
            +
                  
         
     | 
| 
       4706 
4820 
     | 
    
         
             
                  # 
         
     | 
| 
       4707 
4821 
     | 
    
         
             
                  class MinimumOrderValueTable
         
     | 
| 
       4708 
4822 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
         @@ -4779,6 +4893,25 @@ module Google 
     | 
|
| 
       4779 
4893 
     | 
    
         
             
                    end
         
     | 
| 
       4780 
4894 
     | 
    
         
             
                  end
         
     | 
| 
       4781 
4895 
     | 
    
         | 
| 
      
 4896 
     | 
    
         
            +
                  # Request message for the OnboardProgram method.
         
     | 
| 
      
 4897 
     | 
    
         
            +
                  class OnboardBuyOnGoogleProgramRequest
         
     | 
| 
      
 4898 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 4899 
     | 
    
         
            +
                  
         
     | 
| 
      
 4900 
     | 
    
         
            +
                    # The customer service email.
         
     | 
| 
      
 4901 
     | 
    
         
            +
                    # Corresponds to the JSON property `customerServiceEmail`
         
     | 
| 
      
 4902 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 4903 
     | 
    
         
            +
                    attr_accessor :customer_service_email
         
     | 
| 
      
 4904 
     | 
    
         
            +
                  
         
     | 
| 
      
 4905 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 4906 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 4907 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4908 
     | 
    
         
            +
                  
         
     | 
| 
      
 4909 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 4910 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 4911 
     | 
    
         
            +
                      @customer_service_email = args[:customer_service_email] if args.key?(:customer_service_email)
         
     | 
| 
      
 4912 
     | 
    
         
            +
                    end
         
     | 
| 
      
 4913 
     | 
    
         
            +
                  end
         
     | 
| 
      
 4914 
     | 
    
         
            +
                  
         
     | 
| 
       4782 
4915 
     | 
    
         
             
                  # Order. Production access (all methods) requires the order manager role.
         
     | 
| 
       4783 
4916 
     | 
    
         
             
                  # Sandbox access does not.
         
     | 
| 
       4784 
4917 
     | 
    
         
             
                  class Order
         
     | 
| 
         @@ -11316,6 +11449,37 @@ module Google 
     | 
|
| 
       11316 
11449 
     | 
    
         
             
                    end
         
     | 
| 
       11317 
11450 
     | 
    
         
             
                  end
         
     | 
| 
       11318 
11451 
     | 
    
         | 
| 
      
 11452 
     | 
    
         
            +
                  # Result row returned from the search query.
         
     | 
| 
      
 11453 
     | 
    
         
            +
                  class ReportRow
         
     | 
| 
      
 11454 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 11455 
     | 
    
         
            +
                  
         
     | 
| 
      
 11456 
     | 
    
         
            +
                    # Performance metrics. Values are only set for metrics requested explicitly in
         
     | 
| 
      
 11457 
     | 
    
         
            +
                    # the request's search query.
         
     | 
| 
      
 11458 
     | 
    
         
            +
                    # Corresponds to the JSON property `metrics`
         
     | 
| 
      
 11459 
     | 
    
         
            +
                    # @return [Google::Apis::ContentV2_1::Metrics]
         
     | 
| 
      
 11460 
     | 
    
         
            +
                    attr_accessor :metrics
         
     | 
| 
      
 11461 
     | 
    
         
            +
                  
         
     | 
| 
      
 11462 
     | 
    
         
            +
                    # Dimensions according to which metrics are segmented in the response. Values of
         
     | 
| 
      
 11463 
     | 
    
         
            +
                    # product dimensions, e.g., offer id, reflect the state of a product at the time
         
     | 
| 
      
 11464 
     | 
    
         
            +
                    # of the corresponding event, e.g., impression or order. Segment fields cannot
         
     | 
| 
      
 11465 
     | 
    
         
            +
                    # be selected in queries without also selecting at least one metric field.
         
     | 
| 
      
 11466 
     | 
    
         
            +
                    # Values are only set for dimensions requested explicitly in the request's
         
     | 
| 
      
 11467 
     | 
    
         
            +
                    # search query.
         
     | 
| 
      
 11468 
     | 
    
         
            +
                    # Corresponds to the JSON property `segments`
         
     | 
| 
      
 11469 
     | 
    
         
            +
                    # @return [Google::Apis::ContentV2_1::Segments]
         
     | 
| 
      
 11470 
     | 
    
         
            +
                    attr_accessor :segments
         
     | 
| 
      
 11471 
     | 
    
         
            +
                  
         
     | 
| 
      
 11472 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 11473 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 11474 
     | 
    
         
            +
                    end
         
     | 
| 
      
 11475 
     | 
    
         
            +
                  
         
     | 
| 
      
 11476 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 11477 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 11478 
     | 
    
         
            +
                      @metrics = args[:metrics] if args.key?(:metrics)
         
     | 
| 
      
 11479 
     | 
    
         
            +
                      @segments = args[:segments] if args.key?(:segments)
         
     | 
| 
      
 11480 
     | 
    
         
            +
                    end
         
     | 
| 
      
 11481 
     | 
    
         
            +
                  end
         
     | 
| 
      
 11482 
     | 
    
         
            +
                  
         
     | 
| 
       11319 
11483 
     | 
    
         
             
                  # Resource that represents a daily Repricing product report. Each report
         
     | 
| 
       11320 
11484 
     | 
    
         
             
                  # contains stats for a single type of Repricing rule for a single product on a
         
     | 
| 
       11321 
11485 
     | 
    
         
             
                  # given day. If there are multiple rules of the same type for the product on
         
     | 
| 
         @@ -11436,7 +11600,8 @@ module Google 
     | 
|
| 
       11436 
11600 
     | 
    
         
             
                    # @return [Google::Apis::ContentV2_1::RepricingRuleCostOfGoodsSaleRule]
         
     | 
| 
       11437 
11601 
     | 
    
         
             
                    attr_accessor :cogs_based_rule
         
     | 
| 
       11438 
11602 
     | 
    
         | 
| 
       11439 
     | 
    
         
            -
                    # Required. Immutable. CLDR country code 
     | 
| 
      
 11603 
     | 
    
         
            +
                    # Required. Immutable. [CLDR country code](http://www.unicode.org/repos/cldr/
         
     | 
| 
      
 11604 
     | 
    
         
            +
                    # tags/latest/common/main/en.xml) (e.g. "US").
         
     | 
| 
       11440 
11605 
     | 
    
         
             
                    # Corresponds to the JSON property `countryCode`
         
     | 
| 
       11441 
11606 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       11442 
11607 
     | 
    
         
             
                    attr_accessor :country_code
         
     | 
| 
         @@ -12042,6 +12207,199 @@ module Google 
     | 
|
| 
       12042 
12207 
     | 
    
         
             
                    end
         
     | 
| 
       12043 
12208 
     | 
    
         
             
                  end
         
     | 
| 
       12044 
12209 
     | 
    
         | 
| 
      
 12210 
     | 
    
         
            +
                  # Return policy online object. This is currently used to represent return
         
     | 
| 
      
 12211 
     | 
    
         
            +
                  # policies for ads and free listings programs.
         
     | 
| 
      
 12212 
     | 
    
         
            +
                  class ReturnPolicyOnline
         
     | 
| 
      
 12213 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 12214 
     | 
    
         
            +
                  
         
     | 
| 
      
 12215 
     | 
    
         
            +
                    # The countries of sale where the return policy is applicable. The values must
         
     | 
| 
      
 12216 
     | 
    
         
            +
                    # be a valid 2 letter ISO 3166 code, e.g. "US".
         
     | 
| 
      
 12217 
     | 
    
         
            +
                    # Corresponds to the JSON property `countries`
         
     | 
| 
      
 12218 
     | 
    
         
            +
                    # @return [Array<String>]
         
     | 
| 
      
 12219 
     | 
    
         
            +
                    attr_accessor :countries
         
     | 
| 
      
 12220 
     | 
    
         
            +
                  
         
     | 
| 
      
 12221 
     | 
    
         
            +
                    # The item conditions that are accepted for returns. This is required to not be
         
     | 
| 
      
 12222 
     | 
    
         
            +
                    # empty unless the type of return policy is noReturns.
         
     | 
| 
      
 12223 
     | 
    
         
            +
                    # Corresponds to the JSON property `itemConditions`
         
     | 
| 
      
 12224 
     | 
    
         
            +
                    # @return [Array<String>]
         
     | 
| 
      
 12225 
     | 
    
         
            +
                    attr_accessor :item_conditions
         
     | 
| 
      
 12226 
     | 
    
         
            +
                  
         
     | 
| 
      
 12227 
     | 
    
         
            +
                    # The unique user-defined label of the return policy. The same label cannot be
         
     | 
| 
      
 12228 
     | 
    
         
            +
                    # used in different return policies for the same country. Policies with the
         
     | 
| 
      
 12229 
     | 
    
         
            +
                    # label 'default' will apply to all products, unless a product specifies a
         
     | 
| 
      
 12230 
     | 
    
         
            +
                    # return_policy_label attribute.
         
     | 
| 
      
 12231 
     | 
    
         
            +
                    # Corresponds to the JSON property `label`
         
     | 
| 
      
 12232 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 12233 
     | 
    
         
            +
                    attr_accessor :label
         
     | 
| 
      
 12234 
     | 
    
         
            +
                  
         
     | 
| 
      
 12235 
     | 
    
         
            +
                    # The name of the policy as shown in Merchant Center.
         
     | 
| 
      
 12236 
     | 
    
         
            +
                    # Corresponds to the JSON property `name`
         
     | 
| 
      
 12237 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 12238 
     | 
    
         
            +
                    attr_accessor :name
         
     | 
| 
      
 12239 
     | 
    
         
            +
                  
         
     | 
| 
      
 12240 
     | 
    
         
            +
                    # The available policies.
         
     | 
| 
      
 12241 
     | 
    
         
            +
                    # Corresponds to the JSON property `policy`
         
     | 
| 
      
 12242 
     | 
    
         
            +
                    # @return [Google::Apis::ContentV2_1::ReturnPolicyOnlinePolicy]
         
     | 
| 
      
 12243 
     | 
    
         
            +
                    attr_accessor :policy
         
     | 
| 
      
 12244 
     | 
    
         
            +
                  
         
     | 
| 
      
 12245 
     | 
    
         
            +
                    # The restocking fee. This can either be a fixed fee or a micro percent.
         
     | 
| 
      
 12246 
     | 
    
         
            +
                    # Corresponds to the JSON property `restockingFee`
         
     | 
| 
      
 12247 
     | 
    
         
            +
                    # @return [Google::Apis::ContentV2_1::ReturnPolicyOnlineRestockingFee]
         
     | 
| 
      
 12248 
     | 
    
         
            +
                    attr_accessor :restocking_fee
         
     | 
| 
      
 12249 
     | 
    
         
            +
                  
         
     | 
| 
      
 12250 
     | 
    
         
            +
                    # The return methods of how customers can return an item. This value is required
         
     | 
| 
      
 12251 
     | 
    
         
            +
                    # to not be empty unless the type of return policy is noReturns.
         
     | 
| 
      
 12252 
     | 
    
         
            +
                    # Corresponds to the JSON property `returnMethods`
         
     | 
| 
      
 12253 
     | 
    
         
            +
                    # @return [Array<String>]
         
     | 
| 
      
 12254 
     | 
    
         
            +
                    attr_accessor :return_methods
         
     | 
| 
      
 12255 
     | 
    
         
            +
                  
         
     | 
| 
      
 12256 
     | 
    
         
            +
                    # Output only. Return policy ID generated by Google.
         
     | 
| 
      
 12257 
     | 
    
         
            +
                    # Corresponds to the JSON property `returnPolicyId`
         
     | 
| 
      
 12258 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 12259 
     | 
    
         
            +
                    attr_accessor :return_policy_id
         
     | 
| 
      
 12260 
     | 
    
         
            +
                  
         
     | 
| 
      
 12261 
     | 
    
         
            +
                    # The return policy uri. This can used by Google to do a sanity check for the
         
     | 
| 
      
 12262 
     | 
    
         
            +
                    # policy.
         
     | 
| 
      
 12263 
     | 
    
         
            +
                    # Corresponds to the JSON property `returnPolicyUri`
         
     | 
| 
      
 12264 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 12265 
     | 
    
         
            +
                    attr_accessor :return_policy_uri
         
     | 
| 
      
 12266 
     | 
    
         
            +
                  
         
     | 
| 
      
 12267 
     | 
    
         
            +
                    # The return reason category information. This required to not be empty unless
         
     | 
| 
      
 12268 
     | 
    
         
            +
                    # the type of return policy is noReturns.
         
     | 
| 
      
 12269 
     | 
    
         
            +
                    # Corresponds to the JSON property `returnReasonCategoryInfo`
         
     | 
| 
      
 12270 
     | 
    
         
            +
                    # @return [Array<Google::Apis::ContentV2_1::ReturnPolicyOnlineReturnReasonCategoryInfo>]
         
     | 
| 
      
 12271 
     | 
    
         
            +
                    attr_accessor :return_reason_category_info
         
     | 
| 
      
 12272 
     | 
    
         
            +
                  
         
     | 
| 
      
 12273 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 12274 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 12275 
     | 
    
         
            +
                    end
         
     | 
| 
      
 12276 
     | 
    
         
            +
                  
         
     | 
| 
      
 12277 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 12278 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 12279 
     | 
    
         
            +
                      @countries = args[:countries] if args.key?(:countries)
         
     | 
| 
      
 12280 
     | 
    
         
            +
                      @item_conditions = args[:item_conditions] if args.key?(:item_conditions)
         
     | 
| 
      
 12281 
     | 
    
         
            +
                      @label = args[:label] if args.key?(:label)
         
     | 
| 
      
 12282 
     | 
    
         
            +
                      @name = args[:name] if args.key?(:name)
         
     | 
| 
      
 12283 
     | 
    
         
            +
                      @policy = args[:policy] if args.key?(:policy)
         
     | 
| 
      
 12284 
     | 
    
         
            +
                      @restocking_fee = args[:restocking_fee] if args.key?(:restocking_fee)
         
     | 
| 
      
 12285 
     | 
    
         
            +
                      @return_methods = args[:return_methods] if args.key?(:return_methods)
         
     | 
| 
      
 12286 
     | 
    
         
            +
                      @return_policy_id = args[:return_policy_id] if args.key?(:return_policy_id)
         
     | 
| 
      
 12287 
     | 
    
         
            +
                      @return_policy_uri = args[:return_policy_uri] if args.key?(:return_policy_uri)
         
     | 
| 
      
 12288 
     | 
    
         
            +
                      @return_reason_category_info = args[:return_reason_category_info] if args.key?(:return_reason_category_info)
         
     | 
| 
      
 12289 
     | 
    
         
            +
                    end
         
     | 
| 
      
 12290 
     | 
    
         
            +
                  end
         
     | 
| 
      
 12291 
     | 
    
         
            +
                  
         
     | 
| 
      
 12292 
     | 
    
         
            +
                  # The available policies.
         
     | 
| 
      
 12293 
     | 
    
         
            +
                  class ReturnPolicyOnlinePolicy
         
     | 
| 
      
 12294 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 12295 
     | 
    
         
            +
                  
         
     | 
| 
      
 12296 
     | 
    
         
            +
                    # The number of days items can be returned after delivery, where one day is
         
     | 
| 
      
 12297 
     | 
    
         
            +
                    # defined to be 24 hours after the delivery timestamp. Required for `
         
     | 
| 
      
 12298 
     | 
    
         
            +
                    # numberOfDaysAfterDelivery` returns.
         
     | 
| 
      
 12299 
     | 
    
         
            +
                    # Corresponds to the JSON property `days`
         
     | 
| 
      
 12300 
     | 
    
         
            +
                    # @return [Fixnum]
         
     | 
| 
      
 12301 
     | 
    
         
            +
                    attr_accessor :days
         
     | 
| 
      
 12302 
     | 
    
         
            +
                  
         
     | 
| 
      
 12303 
     | 
    
         
            +
                    # Policy type.
         
     | 
| 
      
 12304 
     | 
    
         
            +
                    # Corresponds to the JSON property `type`
         
     | 
| 
      
 12305 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 12306 
     | 
    
         
            +
                    attr_accessor :type
         
     | 
| 
      
 12307 
     | 
    
         
            +
                  
         
     | 
| 
      
 12308 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 12309 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 12310 
     | 
    
         
            +
                    end
         
     | 
| 
      
 12311 
     | 
    
         
            +
                  
         
     | 
| 
      
 12312 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 12313 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 12314 
     | 
    
         
            +
                      @days = args[:days] if args.key?(:days)
         
     | 
| 
      
 12315 
     | 
    
         
            +
                      @type = args[:type] if args.key?(:type)
         
     | 
| 
      
 12316 
     | 
    
         
            +
                    end
         
     | 
| 
      
 12317 
     | 
    
         
            +
                  end
         
     | 
| 
      
 12318 
     | 
    
         
            +
                  
         
     | 
| 
      
 12319 
     | 
    
         
            +
                  # The restocking fee. This can either be a fixed fee or a micro percent.
         
     | 
| 
      
 12320 
     | 
    
         
            +
                  class ReturnPolicyOnlineRestockingFee
         
     | 
| 
      
 12321 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 12322 
     | 
    
         
            +
                  
         
     | 
| 
      
 12323 
     | 
    
         
            +
                    # The price represented as a number and currency.
         
     | 
| 
      
 12324 
     | 
    
         
            +
                    # Corresponds to the JSON property `fixedFee`
         
     | 
| 
      
 12325 
     | 
    
         
            +
                    # @return [Google::Apis::ContentV2_1::PriceAmount]
         
     | 
| 
      
 12326 
     | 
    
         
            +
                    attr_accessor :fixed_fee
         
     | 
| 
      
 12327 
     | 
    
         
            +
                  
         
     | 
| 
      
 12328 
     | 
    
         
            +
                    # Percent of total price in micros. 15,000,000 means 15% of the total price
         
     | 
| 
      
 12329 
     | 
    
         
            +
                    # would be charged.
         
     | 
| 
      
 12330 
     | 
    
         
            +
                    # Corresponds to the JSON property `microPercent`
         
     | 
| 
      
 12331 
     | 
    
         
            +
                    # @return [Fixnum]
         
     | 
| 
      
 12332 
     | 
    
         
            +
                    attr_accessor :micro_percent
         
     | 
| 
      
 12333 
     | 
    
         
            +
                  
         
     | 
| 
      
 12334 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 12335 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 12336 
     | 
    
         
            +
                    end
         
     | 
| 
      
 12337 
     | 
    
         
            +
                  
         
     | 
| 
      
 12338 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 12339 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 12340 
     | 
    
         
            +
                      @fixed_fee = args[:fixed_fee] if args.key?(:fixed_fee)
         
     | 
| 
      
 12341 
     | 
    
         
            +
                      @micro_percent = args[:micro_percent] if args.key?(:micro_percent)
         
     | 
| 
      
 12342 
     | 
    
         
            +
                    end
         
     | 
| 
      
 12343 
     | 
    
         
            +
                  end
         
     | 
| 
      
 12344 
     | 
    
         
            +
                  
         
     | 
| 
      
 12345 
     | 
    
         
            +
                  # The return reason category info wrapper.
         
     | 
| 
      
 12346 
     | 
    
         
            +
                  class ReturnPolicyOnlineReturnReasonCategoryInfo
         
     | 
| 
      
 12347 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 12348 
     | 
    
         
            +
                  
         
     | 
| 
      
 12349 
     | 
    
         
            +
                    # The corresponding return label source.
         
     | 
| 
      
 12350 
     | 
    
         
            +
                    # Corresponds to the JSON property `returnLabelSource`
         
     | 
| 
      
 12351 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 12352 
     | 
    
         
            +
                    attr_accessor :return_label_source
         
     | 
| 
      
 12353 
     | 
    
         
            +
                  
         
     | 
| 
      
 12354 
     | 
    
         
            +
                    # The return reason category.
         
     | 
| 
      
 12355 
     | 
    
         
            +
                    # Corresponds to the JSON property `returnReasonCategory`
         
     | 
| 
      
 12356 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 12357 
     | 
    
         
            +
                    attr_accessor :return_reason_category
         
     | 
| 
      
 12358 
     | 
    
         
            +
                  
         
     | 
| 
      
 12359 
     | 
    
         
            +
                    # The return shipping fee. This can either be a fixed fee or a boolean to
         
     | 
| 
      
 12360 
     | 
    
         
            +
                    # indicate that the customer pays the actual shipping cost.
         
     | 
| 
      
 12361 
     | 
    
         
            +
                    # Corresponds to the JSON property `returnShippingFee`
         
     | 
| 
      
 12362 
     | 
    
         
            +
                    # @return [Google::Apis::ContentV2_1::ReturnPolicyOnlineReturnShippingFee]
         
     | 
| 
      
 12363 
     | 
    
         
            +
                    attr_accessor :return_shipping_fee
         
     | 
| 
      
 12364 
     | 
    
         
            +
                  
         
     | 
| 
      
 12365 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 12366 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 12367 
     | 
    
         
            +
                    end
         
     | 
| 
      
 12368 
     | 
    
         
            +
                  
         
     | 
| 
      
 12369 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 12370 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 12371 
     | 
    
         
            +
                      @return_label_source = args[:return_label_source] if args.key?(:return_label_source)
         
     | 
| 
      
 12372 
     | 
    
         
            +
                      @return_reason_category = args[:return_reason_category] if args.key?(:return_reason_category)
         
     | 
| 
      
 12373 
     | 
    
         
            +
                      @return_shipping_fee = args[:return_shipping_fee] if args.key?(:return_shipping_fee)
         
     | 
| 
      
 12374 
     | 
    
         
            +
                    end
         
     | 
| 
      
 12375 
     | 
    
         
            +
                  end
         
     | 
| 
      
 12376 
     | 
    
         
            +
                  
         
     | 
| 
      
 12377 
     | 
    
         
            +
                  # The return shipping fee. This can either be a fixed fee or a boolean to
         
     | 
| 
      
 12378 
     | 
    
         
            +
                  # indicate that the customer pays the actual shipping cost.
         
     | 
| 
      
 12379 
     | 
    
         
            +
                  class ReturnPolicyOnlineReturnShippingFee
         
     | 
| 
      
 12380 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 12381 
     | 
    
         
            +
                  
         
     | 
| 
      
 12382 
     | 
    
         
            +
                    # The price represented as a number and currency.
         
     | 
| 
      
 12383 
     | 
    
         
            +
                    # Corresponds to the JSON property `fixedFee`
         
     | 
| 
      
 12384 
     | 
    
         
            +
                    # @return [Google::Apis::ContentV2_1::PriceAmount]
         
     | 
| 
      
 12385 
     | 
    
         
            +
                    attr_accessor :fixed_fee
         
     | 
| 
      
 12386 
     | 
    
         
            +
                  
         
     | 
| 
      
 12387 
     | 
    
         
            +
                    # Type of return shipping fee.
         
     | 
| 
      
 12388 
     | 
    
         
            +
                    # Corresponds to the JSON property `type`
         
     | 
| 
      
 12389 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 12390 
     | 
    
         
            +
                    attr_accessor :type
         
     | 
| 
      
 12391 
     | 
    
         
            +
                  
         
     | 
| 
      
 12392 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 12393 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 12394 
     | 
    
         
            +
                    end
         
     | 
| 
      
 12395 
     | 
    
         
            +
                  
         
     | 
| 
      
 12396 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 12397 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 12398 
     | 
    
         
            +
                      @fixed_fee = args[:fixed_fee] if args.key?(:fixed_fee)
         
     | 
| 
      
 12399 
     | 
    
         
            +
                      @type = args[:type] if args.key?(:type)
         
     | 
| 
      
 12400 
     | 
    
         
            +
                    end
         
     | 
| 
      
 12401 
     | 
    
         
            +
                  end
         
     | 
| 
      
 12402 
     | 
    
         
            +
                  
         
     | 
| 
       12045 
12403 
     | 
    
         
             
                  # 
         
     | 
| 
       12046 
12404 
     | 
    
         
             
                  class ReturnPolicyPolicy
         
     | 
| 
       12047 
12405 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
         @@ -12568,6 +12926,110 @@ module Google 
     | 
|
| 
       12568 
12926 
     | 
    
         
             
                    end
         
     | 
| 
       12569 
12927 
     | 
    
         
             
                  end
         
     | 
| 
       12570 
12928 
     | 
    
         | 
| 
      
 12929 
     | 
    
         
            +
                  # Request message for the ReportService.Search method.
         
     | 
| 
      
 12930 
     | 
    
         
            +
                  class SearchRequest
         
     | 
| 
      
 12931 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 12932 
     | 
    
         
            +
                  
         
     | 
| 
      
 12933 
     | 
    
         
            +
                    # Number of ReportRows to retrieve in a single page. Defaults to the maximum of
         
     | 
| 
      
 12934 
     | 
    
         
            +
                    # 1000. Values above 1000 are coerced to 1000.
         
     | 
| 
      
 12935 
     | 
    
         
            +
                    # Corresponds to the JSON property `pageSize`
         
     | 
| 
      
 12936 
     | 
    
         
            +
                    # @return [Fixnum]
         
     | 
| 
      
 12937 
     | 
    
         
            +
                    attr_accessor :page_size
         
     | 
| 
      
 12938 
     | 
    
         
            +
                  
         
     | 
| 
      
 12939 
     | 
    
         
            +
                    # Token of the page to retrieve. If not specified, the first page of results is
         
     | 
| 
      
 12940 
     | 
    
         
            +
                    # returned. In order to request the next page of results, the value obtained
         
     | 
| 
      
 12941 
     | 
    
         
            +
                    # from `next_page_token` in the previous response should be used.
         
     | 
| 
      
 12942 
     | 
    
         
            +
                    # Corresponds to the JSON property `pageToken`
         
     | 
| 
      
 12943 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 12944 
     | 
    
         
            +
                    attr_accessor :page_token
         
     | 
| 
      
 12945 
     | 
    
         
            +
                  
         
     | 
| 
      
 12946 
     | 
    
         
            +
                    # Required. Query that defines performance metrics to retrieve and dimensions
         
     | 
| 
      
 12947 
     | 
    
         
            +
                    # according to which the metrics are to be segmented.
         
     | 
| 
      
 12948 
     | 
    
         
            +
                    # Corresponds to the JSON property `query`
         
     | 
| 
      
 12949 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 12950 
     | 
    
         
            +
                    attr_accessor :query
         
     | 
| 
      
 12951 
     | 
    
         
            +
                  
         
     | 
| 
      
 12952 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 12953 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 12954 
     | 
    
         
            +
                    end
         
     | 
| 
      
 12955 
     | 
    
         
            +
                  
         
     | 
| 
      
 12956 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 12957 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 12958 
     | 
    
         
            +
                      @page_size = args[:page_size] if args.key?(:page_size)
         
     | 
| 
      
 12959 
     | 
    
         
            +
                      @page_token = args[:page_token] if args.key?(:page_token)
         
     | 
| 
      
 12960 
     | 
    
         
            +
                      @query = args[:query] if args.key?(:query)
         
     | 
| 
      
 12961 
     | 
    
         
            +
                    end
         
     | 
| 
      
 12962 
     | 
    
         
            +
                  end
         
     | 
| 
      
 12963 
     | 
    
         
            +
                  
         
     | 
| 
      
 12964 
     | 
    
         
            +
                  # Response message for the ReportService.Search method.
         
     | 
| 
      
 12965 
     | 
    
         
            +
                  class SearchResponse
         
     | 
| 
      
 12966 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 12967 
     | 
    
         
            +
                  
         
     | 
| 
      
 12968 
     | 
    
         
            +
                    # Token which can be sent as `page_token` to retrieve the next page. If omitted,
         
     | 
| 
      
 12969 
     | 
    
         
            +
                    # there are no subsequent pages.
         
     | 
| 
      
 12970 
     | 
    
         
            +
                    # Corresponds to the JSON property `nextPageToken`
         
     | 
| 
      
 12971 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 12972 
     | 
    
         
            +
                    attr_accessor :next_page_token
         
     | 
| 
      
 12973 
     | 
    
         
            +
                  
         
     | 
| 
      
 12974 
     | 
    
         
            +
                    # Rows that matched the search query.
         
     | 
| 
      
 12975 
     | 
    
         
            +
                    # Corresponds to the JSON property `results`
         
     | 
| 
      
 12976 
     | 
    
         
            +
                    # @return [Array<Google::Apis::ContentV2_1::ReportRow>]
         
     | 
| 
      
 12977 
     | 
    
         
            +
                    attr_accessor :results
         
     | 
| 
      
 12978 
     | 
    
         
            +
                  
         
     | 
| 
      
 12979 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 12980 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 12981 
     | 
    
         
            +
                    end
         
     | 
| 
      
 12982 
     | 
    
         
            +
                  
         
     | 
| 
      
 12983 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 12984 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 12985 
     | 
    
         
            +
                      @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
         
     | 
| 
      
 12986 
     | 
    
         
            +
                      @results = args[:results] if args.key?(:results)
         
     | 
| 
      
 12987 
     | 
    
         
            +
                    end
         
     | 
| 
      
 12988 
     | 
    
         
            +
                  end
         
     | 
| 
      
 12989 
     | 
    
         
            +
                  
         
     | 
| 
      
 12990 
     | 
    
         
            +
                  # Dimensions according to which metrics are segmented in the response. Values of
         
     | 
| 
      
 12991 
     | 
    
         
            +
                  # product dimensions, e.g., offer id, reflect the state of a product at the time
         
     | 
| 
      
 12992 
     | 
    
         
            +
                  # of the corresponding event, e.g., impression or order. Segment fields cannot
         
     | 
| 
      
 12993 
     | 
    
         
            +
                  # be selected in queries without also selecting at least one metric field.
         
     | 
| 
      
 12994 
     | 
    
         
            +
                  # Values are only set for dimensions requested explicitly in the request's
         
     | 
| 
      
 12995 
     | 
    
         
            +
                  # search query.
         
     | 
| 
      
 12996 
     | 
    
         
            +
                  class Segments
         
     | 
| 
      
 12997 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 12998 
     | 
    
         
            +
                  
         
     | 
| 
      
 12999 
     | 
    
         
            +
                    # Represents a whole or partial calendar date, such as a birthday. The time of
         
     | 
| 
      
 13000 
     | 
    
         
            +
                    # day and time zone are either specified elsewhere or are insignificant. The
         
     | 
| 
      
 13001 
     | 
    
         
            +
                    # date is relative to the Gregorian Calendar. This can represent one of the
         
     | 
| 
      
 13002 
     | 
    
         
            +
                    # following: * A full date, with non-zero year, month, and day values * A month
         
     | 
| 
      
 13003 
     | 
    
         
            +
                    # and day value, with a zero year, such as an anniversary * A year on its own,
         
     | 
| 
      
 13004 
     | 
    
         
            +
                    # with zero month and day values * A year and month value, with a zero day, such
         
     | 
| 
      
 13005 
     | 
    
         
            +
                    # as a credit card expiration date Related types are google.type.TimeOfDay and `
         
     | 
| 
      
 13006 
     | 
    
         
            +
                    # google.protobuf.Timestamp`.
         
     | 
| 
      
 13007 
     | 
    
         
            +
                    # Corresponds to the JSON property `date`
         
     | 
| 
      
 13008 
     | 
    
         
            +
                    # @return [Google::Apis::ContentV2_1::Date]
         
     | 
| 
      
 13009 
     | 
    
         
            +
                    attr_accessor :date
         
     | 
| 
      
 13010 
     | 
    
         
            +
                  
         
     | 
| 
      
 13011 
     | 
    
         
            +
                    # Merchant-provided id of the product.
         
     | 
| 
      
 13012 
     | 
    
         
            +
                    # Corresponds to the JSON property `offerId`
         
     | 
| 
      
 13013 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 13014 
     | 
    
         
            +
                    attr_accessor :offer_id
         
     | 
| 
      
 13015 
     | 
    
         
            +
                  
         
     | 
| 
      
 13016 
     | 
    
         
            +
                    # Program to which metrics apply, e.g., Free Product Listing.
         
     | 
| 
      
 13017 
     | 
    
         
            +
                    # Corresponds to the JSON property `program`
         
     | 
| 
      
 13018 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 13019 
     | 
    
         
            +
                    attr_accessor :program
         
     | 
| 
      
 13020 
     | 
    
         
            +
                  
         
     | 
| 
      
 13021 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 13022 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 13023 
     | 
    
         
            +
                    end
         
     | 
| 
      
 13024 
     | 
    
         
            +
                  
         
     | 
| 
      
 13025 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 13026 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 13027 
     | 
    
         
            +
                      @date = args[:date] if args.key?(:date)
         
     | 
| 
      
 13028 
     | 
    
         
            +
                      @offer_id = args[:offer_id] if args.key?(:offer_id)
         
     | 
| 
      
 13029 
     | 
    
         
            +
                      @program = args[:program] if args.key?(:program)
         
     | 
| 
      
 13030 
     | 
    
         
            +
                    end
         
     | 
| 
      
 13031 
     | 
    
         
            +
                  end
         
     | 
| 
      
 13032 
     | 
    
         
            +
                  
         
     | 
| 
       12571 
13033 
     | 
    
         
             
                  # 
         
     | 
| 
       12572 
13034 
     | 
    
         
             
                  class Service
         
     | 
| 
       12573 
13035 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
         @@ -12788,7 +13250,8 @@ module Google 
     | 
|
| 
       12788 
13250 
     | 
    
         
             
                    # qualityNotExpected`" - "`receivedTooLate`" - "`storePackageMissing`" - "`
         
     | 
| 
       12789 
13251 
     | 
    
         
             
                    # transitPackageMissing`" - "`unsuccessfulDeliveryUndeliverable`" - "`
         
     | 
| 
       12790 
13252 
     | 
    
         
             
                    # wrongChargeInStore`" - "`wrongItem`" - "`returns`" - "`undeliverable`" - "`
         
     | 
| 
       12791 
     | 
    
         
            -
                    #  
     | 
| 
      
 13253 
     | 
    
         
            +
                    # issueRelatedRefundAndReplacementAmountDescription`" - "`refundFromMerchant`" -
         
     | 
| 
      
 13254 
     | 
    
         
            +
                    # "`returnLabelShippingFee`" - "`lumpSumCorrection`" - "`pspFee`"
         
     | 
| 
       12792 
13255 
     | 
    
         
             
                    # Corresponds to the JSON property `description`
         
     | 
| 
       12793 
13256 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       12794 
13257 
     | 
    
         
             
                    attr_accessor :description
         
     | 
| 
         @@ -12800,7 +13263,7 @@ module Google 
     | 
|
| 
       12800 
13263 
     | 
    
         | 
| 
       12801 
13264 
     | 
    
         
             
                    # The type of the amount. Acceptable values are: - "`itemPrice`" - "`orderPrice`"
         
     | 
| 
       12802 
13265 
     | 
    
         
             
                    # - "`refund`" - "`earlyRefund`" - "`courtesyRefund`" - "`returnRefund`" - "`
         
     | 
| 
       12803 
     | 
    
         
            -
                    # returnLabelShippingFeeAmount`"
         
     | 
| 
      
 13266 
     | 
    
         
            +
                    # returnLabelShippingFeeAmount`" - "`lumpSumCorrectionAmount`"
         
     | 
| 
       12804 
13267 
     | 
    
         
             
                    # Corresponds to the JSON property `type`
         
     | 
| 
       12805 
13268 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       12806 
13269 
     | 
    
         
             
                    attr_accessor :type
         
     | 
| 
         @@ -12919,7 +13382,7 @@ module Google 
     | 
|
| 
       12919 
13382 
     | 
    
         
             
                    # "`reversal`" - "`orderRefund`" - "`reversalRefund`" - "`
         
     | 
| 
       12920 
13383 
     | 
    
         
             
                    # issueRelatedRefundAndReplacement`" - "`returnLabelShippingFeeTransaction`" - "`
         
     | 
| 
       12921 
13384 
     | 
    
         
             
                    # reversalIssueRelatedRefundAndReplacement`" - "`
         
     | 
| 
       12922 
     | 
    
         
            -
                    # reversalReturnLabelShippingFeeTransaction`"
         
     | 
| 
      
 13385 
     | 
    
         
            +
                    # reversalReturnLabelShippingFeeTransaction`" - "`lumpSumCorrectionTransaction`"
         
     | 
| 
       12923 
13386 
     | 
    
         
             
                    # Corresponds to the JSON property `type`
         
     | 
| 
       12924 
13387 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       12925 
13388 
     | 
    
         
             
                    attr_accessor :type
         
     |