google-apis-merchantapi_reports_v1beta 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b51b56a1ac45a8172c4173b054c61edad40358604b7f572b60bb279863d7ed9c
4
- data.tar.gz: 3b36ff48d2f27f4910a4dc20c4c5d9c449eacfb4f9d184d7086188e525875686
3
+ metadata.gz: 38ebaa91ba5d9009a00ccedd9faec6f3690e5f37e737344c337544dda43374f6
4
+ data.tar.gz: d8a8356edb9ba3d5a8378a20123894fcacd2a4e516dbb2ffc9647ba5a28c7a53
5
5
  SHA512:
6
- metadata.gz: ebfb78cf4c13300f4c7feed41e4c68a7dbf1a4e71c71f1a58abbcc3a3fdd548d1d779c1dcd794502f0b337e9a2c8278b5d95860f80d0b93ea4622e58832df45c
7
- data.tar.gz: 3a65ba33b0680b2512f8ceb8f33c9e08e4f1299aed609f130c375f2ab5e655967548c727ef4431ccfad9a2431223e4a95fa1635ae00fdde09722b92ea50c6f53
6
+ metadata.gz: 05b21c355af741b222b89631ad6f97608494d80b242bb27d5b1c3395ae5921b1d1aa477204800d7793815919787df33bd8ff28d8010966e32654c4bc540fe18a
7
+ data.tar.gz: f332e9a44a80a9666ae97d49d6a417ab63725c4890996df25e178ff8a658a784dd7edf5b008e6246566455a86f5b8045ac9afa44eb9f89a9cd43bcc617f42ec9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-merchantapi_reports_v1beta
2
2
 
3
+ ### v0.11.0 (2026-03-01)
4
+
5
+ * Regenerated from discovery document revision 20260223
6
+
3
7
  ### v0.10.0 (2026-01-11)
4
8
 
5
9
  * Regenerated from discovery document revision 20260106
@@ -667,13 +667,16 @@ module Google
667
667
  class ItemIssueSeverity
668
668
  include Google::Apis::Core::Hashable
669
669
 
670
- # Aggregated severity of the issue for all reporting contexts it affects. **This
671
- # field can be used for filtering the results.**
670
+ # Aggregated severity of the issue for all reporting contexts it affects.
671
+ # Reporting contexts included in the computation of the aggregated severity can
672
+ # be restricted using a filter on the `reporting_context` field. **This field
673
+ # can be used for filtering the results.**
672
674
  # Corresponds to the JSON property `aggregatedSeverity`
673
675
  # @return [String]
674
676
  attr_accessor :aggregated_severity
675
677
 
676
- # Issue severity per reporting context.
678
+ # Issue severity per reporting context. Reporting contexts included in this list
679
+ # can be restricted using a filter on the `reporting_context` field.
677
680
  # Corresponds to the JSON property `severityPerReportingContext`
678
681
  # @return [Array<Google::Apis::MerchantapiReportsV1beta::IssueSeverityPerReportingContext>]
679
682
  attr_accessor :severity_per_reporting_context
@@ -1445,16 +1448,20 @@ module Google
1445
1448
  end
1446
1449
 
1447
1450
  # Fields available for query in `product_view` table. Products in the current
1448
- # inventory. Products in this table are the same as in Products sub-API but not
1449
- # all product attributes from Products sub-API are available for query in this
1450
- # table. In contrast to Products sub-API, this table allows to filter the
1451
- # returned list of products by product attributes. To retrieve a single product
1452
- # by `id` or list all products, Products sub-API should be used. Values are only
1453
- # set for fields requested explicitly in the request's search query.
1451
+ # inventory. Products in this table are the same as a [Product resource in
1452
+ # Products sub-API](https://developers.google.com/merchant/api/reference/rest/
1453
+ # products_v1/accounts.products) but not all product attributes from Products
1454
+ # sub-API are available for query in this table. In contrast to Products sub-API,
1455
+ # this table allows to filter the returned list of products by product
1456
+ # attributes. To retrieve a single product by `id` or list all products,
1457
+ # Products sub-API should be used. Values are only set for fields requested
1458
+ # explicitly in the request's search query.
1454
1459
  class ProductView
1455
1460
  include Google::Apis::Core::Hashable
1456
1461
 
1457
- # Aggregated status.
1462
+ # Aggregated status across all reporting contexts. Reporting contexts included
1463
+ # in the computation of the aggregated status can be restricted using a filter
1464
+ # on the `reporting_context` field.
1458
1465
  # Corresponds to the JSON property `aggregatedReportingContextStatus`
1459
1466
  # @return [String]
1460
1467
  attr_accessor :aggregated_reporting_context_status
@@ -1615,12 +1622,28 @@ module Google
1615
1622
  # @return [String]
1616
1623
  attr_accessor :product_type_l5
1617
1624
 
1625
+ # Reporting context to restrict the query to. Restricts the reporting contexts
1626
+ # returned in `status_per_reporting_context` and `item_issues`, and used to
1627
+ # compute `aggregated_reporting_context_status`. **This field can only be used
1628
+ # in the `WHERE` clause and cannot be selected in the `SELECT` clause.**
1629
+ # Corresponds to the JSON property `reportingContext`
1630
+ # @return [String]
1631
+ attr_accessor :reporting_context
1632
+
1618
1633
  # Normalized [shipping label](https://support.google.com/merchants/answer/
1619
1634
  # 6324504) specified in the data source.
1620
1635
  # Corresponds to the JSON property `shippingLabel`
1621
1636
  # @return [String]
1622
1637
  attr_accessor :shipping_label
1623
1638
 
1639
+ # Detailed product status per reporting context. Reporting contexts included in
1640
+ # this list can be restricted using a filter on the `reporting_context` field.
1641
+ # Equivalent to `ProductStatus.destination_statuses` in Products API. **This
1642
+ # field cannot be used for sorting or filtering the results.**
1643
+ # Corresponds to the JSON property `statusPerReportingContext`
1644
+ # @return [Array<Google::Apis::MerchantapiReportsV1beta::StatusPerReportingContext>]
1645
+ attr_accessor :status_per_reporting_context
1646
+
1624
1647
  # Link to the processed image of the product, hosted on the Google
1625
1648
  # infrastructure.
1626
1649
  # Corresponds to the JSON property `thumbnailLink`
@@ -1665,7 +1688,9 @@ module Google
1665
1688
  @product_type_l3 = args[:product_type_l3] if args.key?(:product_type_l3)
1666
1689
  @product_type_l4 = args[:product_type_l4] if args.key?(:product_type_l4)
1667
1690
  @product_type_l5 = args[:product_type_l5] if args.key?(:product_type_l5)
1691
+ @reporting_context = args[:reporting_context] if args.key?(:reporting_context)
1668
1692
  @shipping_label = args[:shipping_label] if args.key?(:shipping_label)
1693
+ @status_per_reporting_context = args[:status_per_reporting_context] if args.key?(:status_per_reporting_context)
1669
1694
  @thumbnail_link = args[:thumbnail_link] if args.key?(:thumbnail_link)
1670
1695
  @title = args[:title] if args.key?(:title)
1671
1696
  end
@@ -1757,12 +1782,14 @@ module Google
1757
1782
  attr_accessor :product_performance_view
1758
1783
 
1759
1784
  # Fields available for query in `product_view` table. Products in the current
1760
- # inventory. Products in this table are the same as in Products sub-API but not
1761
- # all product attributes from Products sub-API are available for query in this
1762
- # table. In contrast to Products sub-API, this table allows to filter the
1763
- # returned list of products by product attributes. To retrieve a single product
1764
- # by `id` or list all products, Products sub-API should be used. Values are only
1765
- # set for fields requested explicitly in the request's search query.
1785
+ # inventory. Products in this table are the same as a [Product resource in
1786
+ # Products sub-API](https://developers.google.com/merchant/api/reference/rest/
1787
+ # products_v1/accounts.products) but not all product attributes from Products
1788
+ # sub-API are available for query in this table. In contrast to Products sub-API,
1789
+ # this table allows to filter the returned list of products by product
1790
+ # attributes. To retrieve a single product by `id` or list all products,
1791
+ # Products sub-API should be used. Values are only set for fields requested
1792
+ # explicitly in the request's search query.
1766
1793
  # Corresponds to the JSON property `productView`
1767
1794
  # @return [Google::Apis::MerchantapiReportsV1beta::ProductView]
1768
1795
  attr_accessor :product_view
@@ -1791,7 +1818,7 @@ module Google
1791
1818
  include Google::Apis::Core::Hashable
1792
1819
 
1793
1820
  # Optional. Number of `ReportRows` to retrieve in a single page. Defaults to
1794
- # 1000. Values above 5000 are coerced to 5000.
1821
+ # 1000. Values above 100,000 are coerced to 100,000.
1795
1822
  # Corresponds to the JSON property `pageSize`
1796
1823
  # @return [Fixnum]
1797
1824
  attr_accessor :page_size
@@ -1806,8 +1833,7 @@ module Google
1806
1833
  # Required. Query that defines a report to be retrieved. For details on how to
1807
1834
  # construct your query, see the [Query Language guide](/merchant/api/guides/
1808
1835
  # reports/query-language). For the full list of available tables and fields, see
1809
- # the [Available fields](/merchant/api/reference/rest/reports_`api_version`/
1810
- # accounts.reports).
1836
+ # the Available fields.
1811
1837
  # Corresponds to the JSON property `query`
1812
1838
  # @return [String]
1813
1839
  attr_accessor :query
@@ -1849,6 +1875,48 @@ module Google
1849
1875
  @results = args[:results] if args.key?(:results)
1850
1876
  end
1851
1877
  end
1878
+
1879
+ # Status of the product for a specific reporting context. Equivalent to `
1880
+ # DestinationStatus` in Products API.
1881
+ class StatusPerReportingContext
1882
+ include Google::Apis::Core::Hashable
1883
+
1884
+ # List of approved countries in the reporting context, represented in [ISO 3166](
1885
+ # https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for example, `US`.
1886
+ # Corresponds to the JSON property `approvedCountries`
1887
+ # @return [Array<String>]
1888
+ attr_accessor :approved_countries
1889
+
1890
+ # List of disapproved countries in the reporting context, represented in [ISO
1891
+ # 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for example, `
1892
+ # US`.
1893
+ # Corresponds to the JSON property `disapprovedCountries`
1894
+ # @return [Array<String>]
1895
+ attr_accessor :disapproved_countries
1896
+
1897
+ # List of pending countries in the reporting context, represented in [ISO 3166](
1898
+ # https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format, for example, `US`.
1899
+ # Corresponds to the JSON property `pendingCountries`
1900
+ # @return [Array<String>]
1901
+ attr_accessor :pending_countries
1902
+
1903
+ # Reporting context the status applies to.
1904
+ # Corresponds to the JSON property `reportingContext`
1905
+ # @return [String]
1906
+ attr_accessor :reporting_context
1907
+
1908
+ def initialize(**args)
1909
+ update!(**args)
1910
+ end
1911
+
1912
+ # Update properties of this object
1913
+ def update!(**args)
1914
+ @approved_countries = args[:approved_countries] if args.key?(:approved_countries)
1915
+ @disapproved_countries = args[:disapproved_countries] if args.key?(:disapproved_countries)
1916
+ @pending_countries = args[:pending_countries] if args.key?(:pending_countries)
1917
+ @reporting_context = args[:reporting_context] if args.key?(:reporting_context)
1918
+ end
1919
+ end
1852
1920
  end
1853
1921
  end
1854
1922
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MerchantapiReportsV1beta
18
18
  # Version of the google-apis-merchantapi_reports_v1beta gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260106"
25
+ REVISION = "20260223"
26
26
  end
27
27
  end
28
28
  end
@@ -148,6 +148,12 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class StatusPerReportingContext
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
151
157
  class BestSellersBrandView
152
158
  # @private
153
159
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -455,7 +461,10 @@ module Google
455
461
  property :product_type_l3, as: 'productTypeL3'
456
462
  property :product_type_l4, as: 'productTypeL4'
457
463
  property :product_type_l5, as: 'productTypeL5'
464
+ property :reporting_context, as: 'reportingContext'
458
465
  property :shipping_label, as: 'shippingLabel'
466
+ collection :status_per_reporting_context, as: 'statusPerReportingContext', class: Google::Apis::MerchantapiReportsV1beta::StatusPerReportingContext, decorator: Google::Apis::MerchantapiReportsV1beta::StatusPerReportingContext::Representation
467
+
459
468
  property :thumbnail_link, as: 'thumbnailLink'
460
469
  property :title, as: 'title'
461
470
  end
@@ -504,6 +513,16 @@ module Google
504
513
 
505
514
  end
506
515
  end
516
+
517
+ class StatusPerReportingContext
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ collection :approved_countries, as: 'approvedCountries'
521
+ collection :disapproved_countries, as: 'disapprovedCountries'
522
+ collection :pending_countries, as: 'pendingCountries'
523
+ property :reporting_context, as: 'reportingContext'
524
+ end
525
+ end
507
526
  end
508
527
  end
509
528
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-merchantapi_reports_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_reports_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_reports_v1beta/v0.10.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_reports_v1beta/v0.11.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_reports_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: