google-apis-merchantapi_products_v1beta 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/merchantapi_products_v1beta/classes.rb +22 -8
- data/lib/google/apis/merchantapi_products_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/merchantapi_products_v1beta/representations.rb +1 -0
- data/lib/google/apis/merchantapi_products_v1beta/service.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77b5f9d436ec560f449f75c96f4cacd131727d8c9a2c0050beb7dc3f59f91e01
|
4
|
+
data.tar.gz: f98d12566a1bc588c87ef335fe6313f6088aaf89da2e775be50b4a9af943c5f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c39fb905b0be8bbd22049bd6affe1626c610acccea9e838b10da841572235adbb08326d0d25c6db2fd9419733abf2f26b949531dc7b963116fcd4158b1742bf5
|
7
|
+
data.tar.gz: 87bfdb8c0575ad7582cc47b3ba448215dec36aa8ac7578ace048498a1031ec91bcac785f6451b060db0989161b829113c11909976175f458877fcf9ef621575e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-merchantapi_products_v1beta
|
2
2
|
|
3
|
+
### v0.8.0 (2025-03-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250301
|
6
|
+
|
7
|
+
### v0.7.0 (2025-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250219
|
10
|
+
* Regenerated using generator version 0.16.0
|
11
|
+
|
3
12
|
### v0.6.0 (2025-01-08)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20250106
|
@@ -1261,22 +1261,31 @@ module Google
|
|
1261
1261
|
class ProductChange
|
1262
1262
|
include Google::Apis::Core::Hashable
|
1263
1263
|
|
1264
|
-
# The new value of the changed resource or attribute.
|
1264
|
+
# The new value of the changed resource or attribute. If empty, it means that
|
1265
|
+
# the product was deleted. Will have one of these values : (`approved`, `pending`
|
1266
|
+
# , `disapproved`, ``)
|
1265
1267
|
# Corresponds to the JSON property `newValue`
|
1266
1268
|
# @return [String]
|
1267
1269
|
attr_accessor :new_value
|
1268
1270
|
|
1269
|
-
# The old value of the changed resource or attribute.
|
1271
|
+
# The old value of the changed resource or attribute. If empty, it means that
|
1272
|
+
# the product was created. Will have one of these values : (`approved`, `pending`
|
1273
|
+
# , `disapproved`, ``)
|
1270
1274
|
# Corresponds to the JSON property `oldValue`
|
1271
1275
|
# @return [String]
|
1272
1276
|
attr_accessor :old_value
|
1273
1277
|
|
1274
|
-
# Countries that have the change (if applicable)
|
1278
|
+
# Countries that have the change (if applicable). Represented in the ISO 3166
|
1279
|
+
# format.
|
1275
1280
|
# Corresponds to the JSON property `regionCode`
|
1276
1281
|
# @return [String]
|
1277
1282
|
attr_accessor :region_code
|
1278
1283
|
|
1279
|
-
# Reporting contexts that have the change (if applicable)
|
1284
|
+
# Reporting contexts that have the change (if applicable). Currently this field
|
1285
|
+
# supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `
|
1286
|
+
# YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [
|
1287
|
+
# ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/
|
1288
|
+
# ReportingContextEnum)
|
1280
1289
|
# Corresponds to the JSON property `reportingContext`
|
1281
1290
|
# @return [String]
|
1282
1291
|
attr_accessor :reporting_context
|
@@ -1524,8 +1533,13 @@ module Google
|
|
1524
1533
|
# @return [Array<Google::Apis::MerchantapiProductsV1beta::ProductChange>]
|
1525
1534
|
attr_accessor :changes
|
1526
1535
|
|
1527
|
-
# The
|
1528
|
-
#
|
1536
|
+
# The time at which the event was generated.
|
1537
|
+
# Corresponds to the JSON property `eventTime`
|
1538
|
+
# @return [String]
|
1539
|
+
attr_accessor :event_time
|
1540
|
+
|
1541
|
+
# Optional. The product expiration time. This field will not bet set if the
|
1542
|
+
# notification is sent for a product deletion event.
|
1529
1543
|
# Corresponds to the JSON property `expirationTime`
|
1530
1544
|
# @return [String]
|
1531
1545
|
attr_accessor :expiration_time
|
@@ -1536,8 +1550,7 @@ module Google
|
|
1536
1550
|
# @return [String]
|
1537
1551
|
attr_accessor :managing_account
|
1538
1552
|
|
1539
|
-
# The product name. Format:
|
1540
|
-
# `
|
1553
|
+
# The product name. Format: `accounts/`account`/products/`product``
|
1541
1554
|
# Corresponds to the JSON property `resource`
|
1542
1555
|
# @return [String]
|
1543
1556
|
attr_accessor :resource
|
@@ -1561,6 +1574,7 @@ module Google
|
|
1561
1574
|
@account = args[:account] if args.key?(:account)
|
1562
1575
|
@attribute = args[:attribute] if args.key?(:attribute)
|
1563
1576
|
@changes = args[:changes] if args.key?(:changes)
|
1577
|
+
@event_time = args[:event_time] if args.key?(:event_time)
|
1564
1578
|
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
1565
1579
|
@managing_account = args[:managing_account] if args.key?(:managing_account)
|
1566
1580
|
@resource = args[:resource] if args.key?(:resource)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MerchantapiProductsV1beta
|
18
18
|
# Version of the google-apis-merchantapi_products_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250301"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -560,6 +560,7 @@ module Google
|
|
560
560
|
property :attribute, as: 'attribute'
|
561
561
|
collection :changes, as: 'changes', class: Google::Apis::MerchantapiProductsV1beta::ProductChange, decorator: Google::Apis::MerchantapiProductsV1beta::ProductChange::Representation
|
562
562
|
|
563
|
+
property :event_time, as: 'eventTime'
|
563
564
|
property :expiration_time, as: 'expirationTime'
|
564
565
|
property :managing_account, as: 'managingAccount'
|
565
566
|
property :resource, as: 'resource'
|
@@ -101,8 +101,8 @@ module Google
|
|
101
101
|
# @param [String] data_source
|
102
102
|
# Required. The primary or supplemental product data source name. If the product
|
103
103
|
# already exists and data source provided is different, then the product will be
|
104
|
-
# moved to a new data source. Format: `
|
105
|
-
# datasource``.
|
104
|
+
# moved to a new data source. Only API data sources are supported. Format: `
|
105
|
+
# accounts/`account`/dataSources/`datasource``.
|
106
106
|
# @param [String] fields
|
107
107
|
# Selector specifying which fields to include in a partial response.
|
108
108
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-merchantapi_products_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-03-09 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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_products_v1beta/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_products_v1beta/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_products_v1beta/v0.8.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_products_v1beta
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.5
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Merchant API ProductsV1beta
|
79
79
|
test_files: []
|