google-apis-content_v2_1 0.1.0 → 0.6.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: 4c62d26f592ca73bbd6c32fc69045f0691f8cbe392009743a30da98c00595a24
4
- data.tar.gz: 0b6fb3178135b91f35ba37183bb549ddef56967270809750260fe8613547a790
3
+ metadata.gz: 368205831e583a2bc3cd66de5ca10df064c3f5503df0d5462d80350c92b103b1
4
+ data.tar.gz: beede39b009ceb4bb31094ca6dce8b82b88c46cd791a3e5c34dbf68dd4545556
5
5
  SHA512:
6
- metadata.gz: 143ea83e3946c65f2a846c0739504aef5b5b44c76b8c8edc9f9042ca59f2c429165869c351aa59753c08ba1a244c58aa91cd3cc194425452dca1393da1ffd6ef
7
- data.tar.gz: 4fb81154092e6e709340060e076b0b493704924ab2978f637e1bd1f6aa696d3ffdb92792239b99de0e44c6849e2cf8670628867f341686a9c4aae4e08ea61634
6
+ metadata.gz: 878451363f1f7d094aacf63de5294b6b31efd82c79f06a7b7846a258614f6237c7db91590bad845ace3e38761e36702e071eb90daf5107200cd857562c6cc323
7
+ data.tar.gz: 3fe041e56f5d484dfa11b4f78cd5efcbedff555d1d173dd69baf10a254b5a635ca29fca8126800cc93b032dc32fbf4d94136ae84bf804c5d35535e5b785469df
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-content_v2_1
2
2
 
3
+ ### v0.6.0 (2021-03-04)
4
+
5
+ * Regenerated from discovery document revision 20210226
6
+
7
+ ### v0.5.0 (2021-02-25)
8
+
9
+ * Regenerated from discovery document revision 20210223
10
+
11
+ ### v0.4.0 (2021-02-16)
12
+
13
+ * Regenerated from discovery document revision 20210211
14
+
15
+ ### v0.3.0 (2021-02-11)
16
+
17
+ * Regenerated from discovery document revision 20210210
18
+
19
+ ### v0.2.0 (2021-01-26)
20
+
21
+ * Regenerated from discovery document revision 20210120
22
+ * Regenerated using generator version 0.1.2
23
+
3
24
  ### v0.1.0 (2021-01-07)
4
25
 
5
26
  * Regenerated using generator version 0.1.1
@@ -28,11 +28,11 @@ module Google
28
28
  class Account
29
29
  include Google::Apis::Core::Hashable
30
30
 
31
- # List of linked Ads accounts that are active or pending approval. To create a
32
- # new link request, add a new link with status `active` to the list. It will
33
- # remain in a `pending` state until approved or rejected either in the Ads
34
- # interface or through the AdWords API. To delete an active link, or to cancel a
35
- # link request, remove it from the list.
31
+ # Linked Ads accounts that are active or pending approval. To create a new link
32
+ # request, add a new link with status `active` to the list. It will remain in a `
33
+ # pending` state until approved or rejected either in the Ads interface or
34
+ # through the AdWords API. To delete an active link, or to cancel a link request,
35
+ # remove it from the list.
36
36
  # Corresponds to the JSON property `adsLinks`
37
37
  # @return [Array<Google::Apis::ContentV2_1::AccountAdsLink>]
38
38
  attr_accessor :ads_links
@@ -43,6 +43,11 @@ module Google
43
43
  attr_accessor :adult_content
44
44
  alias_method :adult_content?, :adult_content
45
45
 
46
+ # Automatically created label IDs that are assigned to the account by CSS Center.
47
+ # Corresponds to the JSON property `automaticLabelIds`
48
+ # @return [Array<Fixnum>]
49
+ attr_accessor :automatic_label_ids
50
+
46
51
  # The business information of the account.
47
52
  # Corresponds to the JSON property `businessInformation`
48
53
  # @return [Google::Apis::ContentV2_1::AccountBusinessInformation]
@@ -70,7 +75,7 @@ module Google
70
75
  # @return [String]
71
76
  attr_accessor :kind
72
77
 
73
- # List of label IDs that are assigned to the account by CSS.
78
+ # Manually created label IDs that are assigned to the account by CSS.
74
79
  # Corresponds to the JSON property `labelIds`
75
80
  # @return [Array<Fixnum>]
76
81
  attr_accessor :label_ids
@@ -96,11 +101,11 @@ module Google
96
101
  # @return [String]
97
102
  attr_accessor :website_url
98
103
 
99
- # List of linked YouTube channels that are active or pending approval. To create
100
- # a new link request, add a new link with status `active` to the list. It will
101
- # remain in a `pending` state until approved or rejected in the YT Creator
102
- # Studio interface. To delete an active link, or to cancel a link request,
103
- # remove it from the list.
104
+ # Linked YouTube channels that are active or pending approval. To create a new
105
+ # link request, add a new link with status `active` to the list. It will remain
106
+ # in a `pending` state until approved or rejected in the YT Creator Studio
107
+ # interface. To delete an active link, or to cancel a link request, remove it
108
+ # from the list.
104
109
  # Corresponds to the JSON property `youtubeChannelLinks`
105
110
  # @return [Array<Google::Apis::ContentV2_1::AccountYouTubeChannelLink>]
106
111
  attr_accessor :youtube_channel_links
@@ -113,6 +118,7 @@ module Google
113
118
  def update!(**args)
114
119
  @ads_links = args[:ads_links] if args.key?(:ads_links)
115
120
  @adult_content = args[:adult_content] if args.key?(:adult_content)
121
+ @automatic_label_ids = args[:automatic_label_ids] if args.key?(:automatic_label_ids)
116
122
  @business_information = args[:business_information] if args.key?(:business_information)
117
123
  @css_id = args[:css_id] if args.key?(:css_id)
118
124
  @google_my_business_link = args[:google_my_business_link] if args.key?(:google_my_business_link)
@@ -238,6 +244,38 @@ module Google
238
244
  end
239
245
  end
240
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
+
241
279
  #
242
280
  class AccountCustomerService
243
281
  include Google::Apis::Core::Hashable
@@ -349,6 +387,11 @@ module Google
349
387
  # @return [Fixnum]
350
388
  attr_accessor :label_id
351
389
 
390
+ # Output only. The type of this label.
391
+ # Corresponds to the JSON property `labelType`
392
+ # @return [String]
393
+ attr_accessor :label_type
394
+
352
395
  # The display name of this label.
353
396
  # Corresponds to the JSON property `name`
354
397
  # @return [String]
@@ -363,10 +406,50 @@ module Google
363
406
  @account_id = args[:account_id] if args.key?(:account_id)
364
407
  @description = args[:description] if args.key?(:description)
365
408
  @label_id = args[:label_id] if args.key?(:label_id)
409
+ @label_type = args[:label_type] if args.key?(:label_type)
366
410
  @name = args[:name] if args.key?(:name)
367
411
  end
368
412
  end
369
413
 
414
+ # The return carrier information. This service is designed for merchants
415
+ # enrolled in the Buy on Google program.
416
+ class AccountReturnCarrier
417
+ include Google::Apis::Core::Hashable
418
+
419
+ # Output only. Immutable. The Google-provided unique carrier ID, used to update
420
+ # the resource.
421
+ # Corresponds to the JSON property `carrierAccountId`
422
+ # @return [Fixnum]
423
+ attr_accessor :carrier_account_id
424
+
425
+ # Name of the carrier account.
426
+ # Corresponds to the JSON property `carrierAccountName`
427
+ # @return [String]
428
+ attr_accessor :carrier_account_name
429
+
430
+ # Number of the carrier account.
431
+ # Corresponds to the JSON property `carrierAccountNumber`
432
+ # @return [String]
433
+ attr_accessor :carrier_account_number
434
+
435
+ # The carrier code enum. Accepts the values FEDEX or UPS.
436
+ # Corresponds to the JSON property `carrierCode`
437
+ # @return [String]
438
+ attr_accessor :carrier_code
439
+
440
+ def initialize(**args)
441
+ update!(**args)
442
+ end
443
+
444
+ # Update properties of this object
445
+ def update!(**args)
446
+ @carrier_account_id = args[:carrier_account_id] if args.key?(:carrier_account_id)
447
+ @carrier_account_name = args[:carrier_account_name] if args.key?(:carrier_account_name)
448
+ @carrier_account_number = args[:carrier_account_number] if args.key?(:carrier_account_number)
449
+ @carrier_code = args[:carrier_code] if args.key?(:carrier_code)
450
+ end
451
+ end
452
+
370
453
  # The status of an account, i.e., information about its products, which is
371
454
  # computed offline and not returned immediately at insertion time.
372
455
  class AccountStatus
@@ -944,8 +1027,7 @@ module Google
944
1027
  attr_accessor :linked_account_id
945
1028
 
946
1029
  # Provided services. Acceptable values are: - "`shoppingAdsProductManagement`" -
947
- # "`shoppingAdsOther`" - "`shoppingActionsProductManagement`" - "`
948
- # shoppingActionsOrderManagement`" - "`shoppingActionsOther`"
1030
+ # "`shoppingActionsProductManagement`" - "`shoppingActionsOrderManagement`"
949
1031
  # Corresponds to the JSON property `services`
950
1032
  # @return [Array<String>]
951
1033
  attr_accessor :services
@@ -1051,7 +1133,9 @@ module Google
1051
1133
  # @return [String]
1052
1134
  attr_accessor :linked_account_id
1053
1135
 
1054
- # List of provided services.
1136
+ # Acceptable values are: - "`shoppingAdsProductManagement`" - "`
1137
+ # shoppingAdsOther`" - "`shoppingActionsProductManagement`" - "`
1138
+ # shoppingActionsOrderManagement`" - "`shoppingActionsOther`"
1055
1139
  # Corresponds to the JSON property `services`
1056
1140
  # @return [Array<String>]
1057
1141
  attr_accessor :services
@@ -1548,6 +1632,37 @@ module Google
1548
1632
  end
1549
1633
  end
1550
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
+
1551
1666
  #
1552
1667
  class CarrierRate
1553
1668
  include Google::Apis::Core::Hashable
@@ -1636,6 +1751,285 @@ module Google
1636
1751
  end
1637
1752
  end
1638
1753
 
1754
+ # The collection message.
1755
+ class Collection
1756
+ include Google::Apis::Core::Hashable
1757
+
1758
+ # Label that you assign to a collection to help organize bidding and reporting
1759
+ # in Shopping campaigns. [Custom label](https://support.google.com/merchants/
1760
+ # answer/9674217)
1761
+ # Corresponds to the JSON property `customLabel0`
1762
+ # @return [String]
1763
+ attr_accessor :custom_label0
1764
+
1765
+ # Label that you assign to a collection to help organize bidding and reporting
1766
+ # in Shopping campaigns.
1767
+ # Corresponds to the JSON property `customLabel1`
1768
+ # @return [String]
1769
+ attr_accessor :custom_label1
1770
+
1771
+ # Label that you assign to a collection to help organize bidding and reporting
1772
+ # in Shopping campaigns.
1773
+ # Corresponds to the JSON property `customLabel2`
1774
+ # @return [String]
1775
+ attr_accessor :custom_label2
1776
+
1777
+ # Label that you assign to a collection to help organize bidding and reporting
1778
+ # in Shopping campaigns.
1779
+ # Corresponds to the JSON property `customLabel3`
1780
+ # @return [String]
1781
+ attr_accessor :custom_label3
1782
+
1783
+ # Label that you assign to a collection to help organize bidding and reporting
1784
+ # in Shopping campaigns.
1785
+ # Corresponds to the JSON property `customLabel4`
1786
+ # @return [String]
1787
+ attr_accessor :custom_label4
1788
+
1789
+ # This identifies one or more products associated with the collection. Used as a
1790
+ # lookup to the corresponding product ID in your product feeds. Provide a
1791
+ # maximum of 100 featuredProduct (for collections). Provide up to 10
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)
1795
+ # Corresponds to the JSON property `featuredProduct`
1796
+ # @return [Array<Google::Apis::ContentV2_1::CollectionFeaturedProduct>]
1797
+ attr_accessor :featured_product
1798
+
1799
+ # Your collection's name. [headline attribute](https://support.google.com/
1800
+ # merchants/answer/9673580)
1801
+ # Corresponds to the JSON property `headline`
1802
+ # @return [Array<String>]
1803
+ attr_accessor :headline
1804
+
1805
+ # Required. The REST ID of the collection. Content API methods that operate on
1806
+ # collections take this as their collectionId parameter. The REST ID for a
1807
+ # collection is of the form collectionId. [id attribute](https://support.google.
1808
+ # com/merchants/answer/9649290)
1809
+ # Corresponds to the JSON property `id`
1810
+ # @return [String]
1811
+ attr_accessor :id
1812
+
1813
+ # The URL of a collection’s image. [image_link attribute](https://support.google.
1814
+ # com/merchants/answer/9703236)
1815
+ # Corresponds to the JSON property `imageLink`
1816
+ # @return [Array<String>]
1817
+ attr_accessor :image_link
1818
+
1819
+ # The language of a collection and the language of any featured products linked
1820
+ # to the collection. [language attribute](https://support.google.com/merchants/
1821
+ # answer/9673781)
1822
+ # Corresponds to the JSON property `language`
1823
+ # @return [String]
1824
+ attr_accessor :language
1825
+
1826
+ # A collection’s landing page. URL directly linking to your collection's page on
1827
+ # your website. [link attribute](https://support.google.com/merchants/answer/
1828
+ # 9673983)
1829
+ # Corresponds to the JSON property `link`
1830
+ # @return [String]
1831
+ attr_accessor :link
1832
+
1833
+ # A collection’s mobile-optimized landing page when you have a different URL for
1834
+ # mobile and desktop traffic. [mobile_link attribute](https://support.google.com/
1835
+ # merchants/answer/9646123)
1836
+ # Corresponds to the JSON property `mobileLink`
1837
+ # @return [String]
1838
+ attr_accessor :mobile_link
1839
+
1840
+ # [product_country attribute](https://support.google.com/merchants/answer/
1841
+ # 9674155)
1842
+ # Corresponds to the JSON property `productCountry`
1843
+ # @return [String]
1844
+ attr_accessor :product_country
1845
+
1846
+ def initialize(**args)
1847
+ update!(**args)
1848
+ end
1849
+
1850
+ # Update properties of this object
1851
+ def update!(**args)
1852
+ @custom_label0 = args[:custom_label0] if args.key?(:custom_label0)
1853
+ @custom_label1 = args[:custom_label1] if args.key?(:custom_label1)
1854
+ @custom_label2 = args[:custom_label2] if args.key?(:custom_label2)
1855
+ @custom_label3 = args[:custom_label3] if args.key?(:custom_label3)
1856
+ @custom_label4 = args[:custom_label4] if args.key?(:custom_label4)
1857
+ @featured_product = args[:featured_product] if args.key?(:featured_product)
1858
+ @headline = args[:headline] if args.key?(:headline)
1859
+ @id = args[:id] if args.key?(:id)
1860
+ @image_link = args[:image_link] if args.key?(:image_link)
1861
+ @language = args[:language] if args.key?(:language)
1862
+ @link = args[:link] if args.key?(:link)
1863
+ @mobile_link = args[:mobile_link] if args.key?(:mobile_link)
1864
+ @product_country = args[:product_country] if args.key?(:product_country)
1865
+ end
1866
+ end
1867
+
1868
+ # The message for FeaturedProduct. [FeaturedProduct](https://support.google.com/
1869
+ # merchants/answer/9703736)
1870
+ class CollectionFeaturedProduct
1871
+ include Google::Apis::Core::Hashable
1872
+
1873
+ # The unique identifier for the product item.
1874
+ # Corresponds to the JSON property `offerId`
1875
+ # @return [String]
1876
+ attr_accessor :offer_id
1877
+
1878
+ # Required. X-coordinate of the product callout on the Shoppable Image.
1879
+ # Corresponds to the JSON property `x`
1880
+ # @return [Float]
1881
+ attr_accessor :x
1882
+
1883
+ # Required. Y-coordinate of the product callout on the Shoppable Image.
1884
+ # Corresponds to the JSON property `y`
1885
+ # @return [Float]
1886
+ attr_accessor :y
1887
+
1888
+ def initialize(**args)
1889
+ update!(**args)
1890
+ end
1891
+
1892
+ # Update properties of this object
1893
+ def update!(**args)
1894
+ @offer_id = args[:offer_id] if args.key?(:offer_id)
1895
+ @x = args[:x] if args.key?(:x)
1896
+ @y = args[:y] if args.key?(:y)
1897
+ end
1898
+ end
1899
+
1900
+ # The collectionstatus message.
1901
+ class CollectionStatus
1902
+ include Google::Apis::Core::Hashable
1903
+
1904
+ # A list of all issues associated with the collection.
1905
+ # Corresponds to the JSON property `collectionLevelIssuses`
1906
+ # @return [Array<Google::Apis::ContentV2_1::CollectionStatusItemLevelIssue>]
1907
+ attr_accessor :collection_level_issuses
1908
+
1909
+ # Date on which the collection has been created in [ISO 8601](http://en.
1910
+ # wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, e.g. "2020-01-
1911
+ # 02T09:00:00+01:00" or "2020-01-02T09:00:00Z"
1912
+ # Corresponds to the JSON property `creationDate`
1913
+ # @return [String]
1914
+ attr_accessor :creation_date
1915
+
1916
+ # The intended destinations for the collection.
1917
+ # Corresponds to the JSON property `destinationStatuses`
1918
+ # @return [Array<Google::Apis::ContentV2_1::CollectionStatusDestinationStatus>]
1919
+ attr_accessor :destination_statuses
1920
+
1921
+ # Required. The ID of the collection for which status is reported.
1922
+ # Corresponds to the JSON property `id`
1923
+ # @return [String]
1924
+ attr_accessor :id
1925
+
1926
+ # Date on which the collection has been last updated in [ISO 8601](http://en.
1927
+ # wikipedia.org/wiki/ISO_8601) format: Date, time, and offset, e.g. "2020-01-
1928
+ # 02T09:00:00+01:00" or "2020-01-02T09:00:00Z"
1929
+ # Corresponds to the JSON property `lastUpdateDate`
1930
+ # @return [String]
1931
+ attr_accessor :last_update_date
1932
+
1933
+ def initialize(**args)
1934
+ update!(**args)
1935
+ end
1936
+
1937
+ # Update properties of this object
1938
+ def update!(**args)
1939
+ @collection_level_issuses = args[:collection_level_issuses] if args.key?(:collection_level_issuses)
1940
+ @creation_date = args[:creation_date] if args.key?(:creation_date)
1941
+ @destination_statuses = args[:destination_statuses] if args.key?(:destination_statuses)
1942
+ @id = args[:id] if args.key?(:id)
1943
+ @last_update_date = args[:last_update_date] if args.key?(:last_update_date)
1944
+ end
1945
+ end
1946
+
1947
+ # Destination status message.
1948
+ class CollectionStatusDestinationStatus
1949
+ include Google::Apis::Core::Hashable
1950
+
1951
+ # The name of the destination
1952
+ # Corresponds to the JSON property `destination`
1953
+ # @return [String]
1954
+ attr_accessor :destination
1955
+
1956
+ # The status for the specified destination.
1957
+ # Corresponds to the JSON property `status`
1958
+ # @return [String]
1959
+ attr_accessor :status
1960
+
1961
+ def initialize(**args)
1962
+ update!(**args)
1963
+ end
1964
+
1965
+ # Update properties of this object
1966
+ def update!(**args)
1967
+ @destination = args[:destination] if args.key?(:destination)
1968
+ @status = args[:status] if args.key?(:status)
1969
+ end
1970
+ end
1971
+
1972
+ # Issue associated with the collection.
1973
+ class CollectionStatusItemLevelIssue
1974
+ include Google::Apis::Core::Hashable
1975
+
1976
+ # The attribute's name, if the issue is caused by a single attribute.
1977
+ # Corresponds to the JSON property `attributeName`
1978
+ # @return [String]
1979
+ attr_accessor :attribute_name
1980
+
1981
+ # The error code of the issue.
1982
+ # Corresponds to the JSON property `code`
1983
+ # @return [String]
1984
+ attr_accessor :code
1985
+
1986
+ # A short issue description in English.
1987
+ # Corresponds to the JSON property `description`
1988
+ # @return [String]
1989
+ attr_accessor :description
1990
+
1991
+ # The destination the issue applies to.
1992
+ # Corresponds to the JSON property `destination`
1993
+ # @return [String]
1994
+ attr_accessor :destination
1995
+
1996
+ # A detailed issue description in English.
1997
+ # Corresponds to the JSON property `detail`
1998
+ # @return [String]
1999
+ attr_accessor :detail
2000
+
2001
+ # The URL of a web page to help with resolving this issue.
2002
+ # Corresponds to the JSON property `documentation`
2003
+ # @return [String]
2004
+ attr_accessor :documentation
2005
+
2006
+ # Whether the issue can be resolved by the merchant.
2007
+ # Corresponds to the JSON property `resolution`
2008
+ # @return [String]
2009
+ attr_accessor :resolution
2010
+
2011
+ # How this issue affects the serving of the collection.
2012
+ # Corresponds to the JSON property `servability`
2013
+ # @return [String]
2014
+ attr_accessor :servability
2015
+
2016
+ def initialize(**args)
2017
+ update!(**args)
2018
+ end
2019
+
2020
+ # Update properties of this object
2021
+ def update!(**args)
2022
+ @attribute_name = args[:attribute_name] if args.key?(:attribute_name)
2023
+ @code = args[:code] if args.key?(:code)
2024
+ @description = args[:description] if args.key?(:description)
2025
+ @destination = args[:destination] if args.key?(:destination)
2026
+ @detail = args[:detail] if args.key?(:detail)
2027
+ @documentation = args[:documentation] if args.key?(:documentation)
2028
+ @resolution = args[:resolution] if args.key?(:resolution)
2029
+ @servability = args[:servability] if args.key?(:servability)
2030
+ end
2031
+ end
2032
+
1639
2033
  # Information about CSS domain.
1640
2034
  class Css
1641
2035
  include Google::Apis::Core::Hashable
@@ -3709,10 +4103,81 @@ module Google
3709
4103
  # @return [String]
3710
4104
  attr_accessor :linked_account_id
3711
4105
 
3712
- # List of provided services.
3713
- # Corresponds to the JSON property `services`
3714
- # @return [Array<Google::Apis::ContentV2_1::LinkService>]
3715
- attr_accessor :services
4106
+ # List of provided services.
4107
+ # Corresponds to the JSON property `services`
4108
+ # @return [Array<Google::Apis::ContentV2_1::LinkService>]
4109
+ attr_accessor :services
4110
+
4111
+ def initialize(**args)
4112
+ update!(**args)
4113
+ end
4114
+
4115
+ # Update properties of this object
4116
+ def update!(**args)
4117
+ @linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id)
4118
+ @services = args[:services] if args.key?(:services)
4119
+ end
4120
+ end
4121
+
4122
+ # Response message for the `ListAccountLabels` method.
4123
+ class ListAccountLabelsResponse
4124
+ include Google::Apis::Core::Hashable
4125
+
4126
+ # The labels from the specified account.
4127
+ # Corresponds to the JSON property `accountLabels`
4128
+ # @return [Array<Google::Apis::ContentV2_1::AccountLabel>]
4129
+ attr_accessor :account_labels
4130
+
4131
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
4132
+ # field is omitted, there are no subsequent pages.
4133
+ # Corresponds to the JSON property `nextPageToken`
4134
+ # @return [String]
4135
+ attr_accessor :next_page_token
4136
+
4137
+ def initialize(**args)
4138
+ update!(**args)
4139
+ end
4140
+
4141
+ # Update properties of this object
4142
+ def update!(**args)
4143
+ @account_labels = args[:account_labels] if args.key?(:account_labels)
4144
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4145
+ end
4146
+ end
4147
+
4148
+ # Response for listing account return carriers.
4149
+ class ListAccountReturnCarrierResponse
4150
+ include Google::Apis::Core::Hashable
4151
+
4152
+ # List of all available account return carriers for the merchant.
4153
+ # Corresponds to the JSON property `accountReturnCarriers`
4154
+ # @return [Array<Google::Apis::ContentV2_1::AccountReturnCarrier>]
4155
+ attr_accessor :account_return_carriers
4156
+
4157
+ def initialize(**args)
4158
+ update!(**args)
4159
+ end
4160
+
4161
+ # Update properties of this object
4162
+ def update!(**args)
4163
+ @account_return_carriers = args[:account_return_carriers] if args.key?(:account_return_carriers)
4164
+ end
4165
+ end
4166
+
4167
+ # Response message for the ListCollectionStatuses method.
4168
+ class ListCollectionStatusesResponse
4169
+ include Google::Apis::Core::Hashable
4170
+
4171
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
4172
+ # field is omitted, there are no subsequent pages.
4173
+ # Corresponds to the JSON property `nextPageToken`
4174
+ # @return [String]
4175
+ attr_accessor :next_page_token
4176
+
4177
+ # The collectionstatuses listed.
4178
+ # Corresponds to the JSON property `resources`
4179
+ # @return [Array<Google::Apis::ContentV2_1::CollectionStatus>]
4180
+ attr_accessor :resources
3716
4181
 
3717
4182
  def initialize(**args)
3718
4183
  update!(**args)
@@ -3720,34 +4185,34 @@ module Google
3720
4185
 
3721
4186
  # Update properties of this object
3722
4187
  def update!(**args)
3723
- @linked_account_id = args[:linked_account_id] if args.key?(:linked_account_id)
3724
- @services = args[:services] if args.key?(:services)
4188
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4189
+ @resources = args[:resources] if args.key?(:resources)
3725
4190
  end
3726
4191
  end
3727
4192
 
3728
- # Response message for the `ListAccountLabels` method.
3729
- class ListAccountLabelsResponse
4193
+ # Response message for the ListCollections method.
4194
+ class ListCollectionsResponse
3730
4195
  include Google::Apis::Core::Hashable
3731
4196
 
3732
- # The labels from the specified account.
3733
- # Corresponds to the JSON property `accountLabels`
3734
- # @return [Array<Google::Apis::ContentV2_1::AccountLabel>]
3735
- attr_accessor :account_labels
3736
-
3737
4197
  # A token, which can be sent as `page_token` to retrieve the next page. If this
3738
4198
  # field is omitted, there are no subsequent pages.
3739
4199
  # Corresponds to the JSON property `nextPageToken`
3740
4200
  # @return [String]
3741
4201
  attr_accessor :next_page_token
3742
4202
 
4203
+ # The collections listed.
4204
+ # Corresponds to the JSON property `resources`
4205
+ # @return [Array<Google::Apis::ContentV2_1::Collection>]
4206
+ attr_accessor :resources
4207
+
3743
4208
  def initialize(**args)
3744
4209
  update!(**args)
3745
4210
  end
3746
4211
 
3747
4212
  # Update properties of this object
3748
4213
  def update!(**args)
3749
- @account_labels = args[:account_labels] if args.key?(:account_labels)
3750
4214
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4215
+ @resources = args[:resources] if args.key?(:resources)
3751
4216
  end
3752
4217
  end
3753
4218
 
@@ -3881,6 +4346,25 @@ module Google
3881
4346
  end
3882
4347
  end
3883
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
+
3884
4368
  # Local inventory resource. For accepted attribute values, see the local product
3885
4369
  # inventory feed specification.
3886
4370
  class LocalInventory
@@ -4300,6 +4784,39 @@ module Google
4300
4784
  end
4301
4785
  end
4302
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
+
4303
4820
  #
4304
4821
  class MinimumOrderValueTable
4305
4822
  include Google::Apis::Core::Hashable
@@ -4376,6 +4893,25 @@ module Google
4376
4893
  end
4377
4894
  end
4378
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
+
4379
4915
  # Order. Production access (all methods) requires the order manager role.
4380
4916
  # Sandbox access does not.
4381
4917
  class Order
@@ -7269,7 +7805,9 @@ module Google
7269
7805
  attr_accessor :amount
7270
7806
 
7271
7807
  # If set to true, all shipping costs for the order will be refunded. If this is
7272
- # 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.
7273
7811
  # Corresponds to the JSON property `fullRefund`
7274
7812
  # @return [Boolean]
7275
7813
  attr_accessor :full_refund
@@ -7781,7 +8319,7 @@ module Google
7781
8319
  # @return [String]
7782
8320
  attr_accessor :product_id
7783
8321
 
7784
- # The quantity to return and refund.
8322
+ # The quantity to return and refund. Quantity is required.
7785
8323
  # Corresponds to the JSON property `quantity`
7786
8324
  # @return [Fixnum]
7787
8325
  attr_accessor :quantity
@@ -9258,7 +9796,10 @@ module Google
9258
9796
  # @return [String]
9259
9797
  attr_accessor :gender
9260
9798
 
9261
- # Google's category of the item (see Google product taxonomy).
9799
+ # Google's category of the item (see [Google product taxonomy](https://support.
9800
+ # google.com/merchants/answer/1705911)). When querying products, this field will
9801
+ # contain the user provided value. There is currently no way to get back the
9802
+ # auto assigned google product categories through the API.
9262
9803
  # Corresponds to the JSON property `googleProductCategory`
9263
9804
  # @return [String]
9264
9805
  attr_accessor :google_product_category
@@ -10908,6 +11449,37 @@ module Google
10908
11449
  end
10909
11450
  end
10910
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
+
10911
11483
  # Resource that represents a daily Repricing product report. Each report
10912
11484
  # contains stats for a single type of Repricing rule for a single product on a
10913
11485
  # given day. If there are multiple rules of the same type for the product on
@@ -11028,7 +11600,8 @@ module Google
11028
11600
  # @return [Google::Apis::ContentV2_1::RepricingRuleCostOfGoodsSaleRule]
11029
11601
  attr_accessor :cogs_based_rule
11030
11602
 
11031
- # 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").
11032
11605
  # Corresponds to the JSON property `countryCode`
11033
11606
  # @return [String]
11034
11607
  attr_accessor :country_code
@@ -11606,6 +12179,11 @@ module Google
11606
12179
  # @return [String]
11607
12180
  attr_accessor :return_policy_id
11608
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
+
11609
12187
  # An optional list of seasonal overrides.
11610
12188
  # Corresponds to the JSON property `seasonalOverrides`
11611
12189
  # @return [Array<Google::Apis::ContentV2_1::ReturnPolicySeasonalOverride>]
@@ -11624,10 +12202,204 @@ module Google
11624
12202
  @non_free_return_reasons = args[:non_free_return_reasons] if args.key?(:non_free_return_reasons)
11625
12203
  @policy = args[:policy] if args.key?(:policy)
11626
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)
11627
12206
  @seasonal_overrides = args[:seasonal_overrides] if args.key?(:seasonal_overrides)
11628
12207
  end
11629
12208
  end
11630
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
+
11631
12403
  #
11632
12404
  class ReturnPolicyPolicy
11633
12405
  include Google::Apis::Core::Hashable
@@ -12154,6 +12926,110 @@ module Google
12154
12926
  end
12155
12927
  end
12156
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
+
12157
13033
  #
12158
13034
  class Service
12159
13035
  include Google::Apis::Core::Hashable
@@ -12505,7 +13381,7 @@ module Google
12505
13381
  # "`reversal`" - "`orderRefund`" - "`reversalRefund`" - "`
12506
13382
  # issueRelatedRefundAndReplacement`" - "`returnLabelShippingFeeTransaction`" - "`
12507
13383
  # reversalIssueRelatedRefundAndReplacement`" - "`
12508
- # reversalReturnLabelShippingFeeTransaction`"
13384
+ # reversalReturnLabelShippingFeeTransaction`" - "`lumpSumCorrectionTransaction`"
12509
13385
  # Corresponds to the JSON property `type`
12510
13386
  # @return [String]
12511
13387
  attr_accessor :type