google-apis-content_v2_1 0.2.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 11f986c0d015e327716d77f1c4963ff4c83d57291f06863367a46851b4df2e3d
4
- data.tar.gz: c46760bcfa4fed18464bcc1b5d1d1b9d19052852275c890344e1b417846f3542
3
+ metadata.gz: cabe4187bd0169821240ff2646804a63a03972a676d497e0911103d323f1fb6f
4
+ data.tar.gz: b35b608a552f83fec309bdcbfe3609a2f9f1dc40178e6946050b381d181f7f01
5
5
  SHA512:
6
- metadata.gz: 99ae80861438b0f3500eca8d809afdbd9cffca1d9f9e325d6d733be1c1ae04e4af5950ed2cf3846ab6b1672df7123a0cf8e03eb7f289446bd045fd3b00864dff
7
- data.tar.gz: 1edbdc8b3373314e5e15fb3323ac40c4e66f24980f22dbd815824fefd659f56e70ca55189f9c1ba34ec59833ec272df9adffedbf6485cb7dee161928d7682b02
6
+ metadata.gz: 3144147f0c61dcc27be7c7565e42bfc09ff8254114f6193374bcb463d0b53718f2b8f368c6194dd84adc0c896ddb2351dd5de477aee66986342ed80a0dc3482e
7
+ data.tar.gz: d46e74032a45e4b7a244d91efb94e946fe27ee45b74f0a5d36e114817ceb333cb41729686230460112f1c0e6e836088395c5fe2f672f179edf2bc82378ab2f1a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-content_v2_1
2
2
 
3
+ ### v0.7.0 (2021-03-09)
4
+
5
+ * Regenerated from discovery document revision 20210303
6
+ * Regenerated using generator version 0.2.0
7
+
8
+ ### v0.6.0 (2021-03-04)
9
+
10
+ * Regenerated from discovery document revision 20210226
11
+
12
+ ### v0.5.0 (2021-02-25)
13
+
14
+ * Regenerated from discovery document revision 20210223
15
+
16
+ ### v0.4.0 (2021-02-16)
17
+
18
+ * Regenerated from discovery document revision 20210211
19
+
20
+ ### v0.3.0 (2021-02-11)
21
+
22
+ * Regenerated from discovery document revision 20210210
23
+
3
24
  ### v0.2.0 (2021-01-26)
4
25
 
5
26
  * Regenerated from discovery document revision 20210120
@@ -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
- # "`shoppingAdsOther`" - "`shoppingActionsProductManagement`" - "`
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
@@ -1694,7 +1756,8 @@ module Google
1694
1756
  include Google::Apis::Core::Hashable
1695
1757
 
1696
1758
  # Label that you assign to a collection to help organize bidding and reporting
1697
- # in Shopping campaigns. Custom label
1759
+ # in Shopping campaigns. [Custom label](https://support.google.com/merchants/
1760
+ # answer/9674217)
1698
1761
  # Corresponds to the JSON property `customLabel0`
1699
1762
  # @return [String]
1700
1763
  attr_accessor :custom_label0
@@ -1726,48 +1789,56 @@ module Google
1726
1789
  # This identifies one or more products associated with the collection. Used as a
1727
1790
  # lookup to the corresponding product ID in your product feeds. Provide a
1728
1791
  # maximum of 100 featuredProduct (for collections). Provide up to 10
1729
- # featuredProduct (for Shoppable Images only) with ID and X and Y coordinates.
1730
- # featured_product attribute
1792
+ # featuredProduct (for Shoppable Images only) with ID and X and Y coordinates. [
1793
+ # featured_product attribute](https://support.google.com/merchants/answer/
1794
+ # 9703736)
1731
1795
  # Corresponds to the JSON property `featuredProduct`
1732
1796
  # @return [Array<Google::Apis::ContentV2_1::CollectionFeaturedProduct>]
1733
1797
  attr_accessor :featured_product
1734
1798
 
1735
- # Your collection's name. headline attribute
1799
+ # Your collection's name. [headline attribute](https://support.google.com/
1800
+ # merchants/answer/9673580)
1736
1801
  # Corresponds to the JSON property `headline`
1737
1802
  # @return [Array<String>]
1738
1803
  attr_accessor :headline
1739
1804
 
1740
1805
  # Required. The REST ID of the collection. Content API methods that operate on
1741
1806
  # collections take this as their collectionId parameter. The REST ID for a
1742
- # collection is of the form collectionId. id attribute
1807
+ # collection is of the form collectionId. [id attribute](https://support.google.
1808
+ # com/merchants/answer/9649290)
1743
1809
  # Corresponds to the JSON property `id`
1744
1810
  # @return [String]
1745
1811
  attr_accessor :id
1746
1812
 
1747
- # The URL of a collection’s image. image_link attribute
1813
+ # The URL of a collection’s image. [image_link attribute](https://support.google.
1814
+ # com/merchants/answer/9703236)
1748
1815
  # Corresponds to the JSON property `imageLink`
1749
1816
  # @return [Array<String>]
1750
1817
  attr_accessor :image_link
1751
1818
 
1752
1819
  # The language of a collection and the language of any featured products linked
1753
- # to the collection. language attribute
1820
+ # to the collection. [language attribute](https://support.google.com/merchants/
1821
+ # answer/9673781)
1754
1822
  # Corresponds to the JSON property `language`
1755
1823
  # @return [String]
1756
1824
  attr_accessor :language
1757
1825
 
1758
1826
  # A collection’s landing page. URL directly linking to your collection's page on
1759
- # your website. link attribute
1827
+ # your website. [link attribute](https://support.google.com/merchants/answer/
1828
+ # 9673983)
1760
1829
  # Corresponds to the JSON property `link`
1761
1830
  # @return [String]
1762
1831
  attr_accessor :link
1763
1832
 
1764
1833
  # A collection’s mobile-optimized landing page when you have a different URL for
1765
- # mobile and desktop traffic. mobile_link attribute
1834
+ # mobile and desktop traffic. [mobile_link attribute](https://support.google.com/
1835
+ # merchants/answer/9646123)
1766
1836
  # Corresponds to the JSON property `mobileLink`
1767
1837
  # @return [String]
1768
1838
  attr_accessor :mobile_link
1769
1839
 
1770
- # product_country attribute
1840
+ # [product_country attribute](https://support.google.com/merchants/answer/
1841
+ # 9674155)
1771
1842
  # Corresponds to the JSON property `productCountry`
1772
1843
  # @return [String]
1773
1844
  attr_accessor :product_country
@@ -1794,7 +1865,8 @@ module Google
1794
1865
  end
1795
1866
  end
1796
1867
 
1797
- # The message for FeaturedProduct. FeaturedProduct
1868
+ # The message for FeaturedProduct. [FeaturedProduct](https://support.google.com/
1869
+ # merchants/answer/9703736)
1798
1870
  class CollectionFeaturedProduct
1799
1871
  include Google::Apis::Core::Hashable
1800
1872
 
@@ -4274,6 +4346,25 @@ module Google
4274
4346
  end
4275
4347
  end
4276
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
+
4277
4368
  # Local inventory resource. For accepted attribute values, see the local product
4278
4369
  # inventory feed specification.
4279
4370
  class LocalInventory
@@ -4693,6 +4784,39 @@ module Google
4693
4784
  end
4694
4785
  end
4695
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
+
4696
4820
  #
4697
4821
  class MinimumOrderValueTable
4698
4822
  include Google::Apis::Core::Hashable
@@ -4769,6 +4893,25 @@ module Google
4769
4893
  end
4770
4894
  end
4771
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
+
4772
4915
  # Order. Production access (all methods) requires the order manager role.
4773
4916
  # Sandbox access does not.
4774
4917
  class Order
@@ -7662,7 +7805,9 @@ module Google
7662
7805
  attr_accessor :amount
7663
7806
 
7664
7807
  # If set to true, all shipping costs for the order will be refunded. If this is
7665
- # true, amount should not be provided and will be ignored.
7808
+ # true, amount should not be provided and will be ignored. If set to false,
7809
+ # submit the amount of the partial shipping refund, excluding the shipping tax.
7810
+ # The shipping tax is calculated and handled on Google's side.
7666
7811
  # Corresponds to the JSON property `fullRefund`
7667
7812
  # @return [Boolean]
7668
7813
  attr_accessor :full_refund
@@ -8174,7 +8319,7 @@ module Google
8174
8319
  # @return [String]
8175
8320
  attr_accessor :product_id
8176
8321
 
8177
- # The quantity to return and refund.
8322
+ # The quantity to return and refund. Quantity is required.
8178
8323
  # Corresponds to the JSON property `quantity`
8179
8324
  # @return [Fixnum]
8180
8325
  attr_accessor :quantity
@@ -11304,6 +11449,37 @@ module Google
11304
11449
  end
11305
11450
  end
11306
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
+
11307
11483
  # Resource that represents a daily Repricing product report. Each report
11308
11484
  # contains stats for a single type of Repricing rule for a single product on a
11309
11485
  # given day. If there are multiple rules of the same type for the product on
@@ -11424,7 +11600,8 @@ module Google
11424
11600
  # @return [Google::Apis::ContentV2_1::RepricingRuleCostOfGoodsSaleRule]
11425
11601
  attr_accessor :cogs_based_rule
11426
11602
 
11427
- # Required. Immutable. CLDR country code (e.g. "US").
11603
+ # Required. Immutable. [CLDR country code](http://www.unicode.org/repos/cldr/
11604
+ # tags/latest/common/main/en.xml) (e.g. "US").
11428
11605
  # Corresponds to the JSON property `countryCode`
11429
11606
  # @return [String]
11430
11607
  attr_accessor :country_code
@@ -12002,6 +12179,11 @@ module Google
12002
12179
  # @return [String]
12003
12180
  attr_accessor :return_policy_id
12004
12181
 
12182
+ # The return shipping fee that will apply to non free return reasons.
12183
+ # Corresponds to the JSON property `returnShippingFee`
12184
+ # @return [Google::Apis::ContentV2_1::Price]
12185
+ attr_accessor :return_shipping_fee
12186
+
12005
12187
  # An optional list of seasonal overrides.
12006
12188
  # Corresponds to the JSON property `seasonalOverrides`
12007
12189
  # @return [Array<Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride>]
@@ -12020,10 +12202,204 @@ module Google
12020
12202
  @non_free_return_reasons = args[:non_free_return_reasons] if args.key?(:non_free_return_reasons)
12021
12203
  @policy = args[:policy] if args.key?(:policy)
12022
12204
  @return_policy_id = args[:return_policy_id] if args.key?(:return_policy_id)
12205
+ @return_shipping_fee = args[:return_shipping_fee] if args.key?(:return_shipping_fee)
12023
12206
  @seasonal_overrides = args[:seasonal_overrides] if args.key?(:seasonal_overrides)
12024
12207
  end
12025
12208
  end
12026
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
+
12027
12403
  #
12028
12404
  class ReturnPolicyPolicy
12029
12405
  include Google::Apis::Core::Hashable
@@ -12550,6 +12926,110 @@ module Google
12550
12926
  end
12551
12927
  end
12552
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
+
12553
13033
  #
12554
13034
  class Service
12555
13035
  include Google::Apis::Core::Hashable
@@ -12901,7 +13381,7 @@ module Google
12901
13381
  # "`reversal`" - "`orderRefund`" - "`reversalRefund`" - "`
12902
13382
  # issueRelatedRefundAndReplacement`" - "`returnLabelShippingFeeTransaction`" - "`
12903
13383
  # reversalIssueRelatedRefundAndReplacement`" - "`
12904
- # reversalReturnLabelShippingFeeTransaction`"
13384
+ # reversalReturnLabelShippingFeeTransaction`" - "`lumpSumCorrectionTransaction`"
12905
13385
  # Corresponds to the JSON property `type`
12906
13386
  # @return [String]
12907
13387
  attr_accessor :type