google-apis-merchantapi_promotions_v1beta 0.2.0 → 0.4.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 614de339a5af72b233d0d33af39a5c2358474d82c6f0462404d06718d7be2bd3
|
4
|
+
data.tar.gz: 16bb2e5cee8381bca720c1b8bf6801d7f770260524b597730ae19e79d1e75603
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36bbfe898ec8839d86302f5a84e09d4a389b695661f1b059ad75a4d83e2b2086de3c25e09f49708a67c842fa5ded97d56b8ae5dc57657c7d474cef1be065b806
|
7
|
+
data.tar.gz: e5efee44fbe6ce42d209489f2d106cfc8ff9a71b3dfdc1e9fae1ec2e8092798bb84f7e76c916f41f3044342e91c10e8376ee947c25d533a383d040fa3afc8096
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-merchantapi_promotions_v1beta
|
2
2
|
|
3
|
+
### v0.4.0 (2025-03-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250301
|
6
|
+
|
7
|
+
### v0.3.0 (2025-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250219
|
10
|
+
* Regenerated using generator version 0.16.0
|
11
|
+
|
3
12
|
### v0.2.0 (2024-12-02)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20241119
|
@@ -555,22 +555,31 @@ module Google
|
|
555
555
|
class ProductChange
|
556
556
|
include Google::Apis::Core::Hashable
|
557
557
|
|
558
|
-
# The new value of the changed resource or attribute.
|
558
|
+
# The new value of the changed resource or attribute. If empty, it means that
|
559
|
+
# the product was deleted. Will have one of these values : (`approved`, `pending`
|
560
|
+
# , `disapproved`, ``)
|
559
561
|
# Corresponds to the JSON property `newValue`
|
560
562
|
# @return [String]
|
561
563
|
attr_accessor :new_value
|
562
564
|
|
563
|
-
# The old value of the changed resource or attribute.
|
565
|
+
# The old value of the changed resource or attribute. If empty, it means that
|
566
|
+
# the product was created. Will have one of these values : (`approved`, `pending`
|
567
|
+
# , `disapproved`, ``)
|
564
568
|
# Corresponds to the JSON property `oldValue`
|
565
569
|
# @return [String]
|
566
570
|
attr_accessor :old_value
|
567
571
|
|
568
|
-
# Countries that have the change (if applicable)
|
572
|
+
# Countries that have the change (if applicable). Represented in the ISO 3166
|
573
|
+
# format.
|
569
574
|
# Corresponds to the JSON property `regionCode`
|
570
575
|
# @return [String]
|
571
576
|
attr_accessor :region_code
|
572
577
|
|
573
|
-
# Reporting contexts that have the change (if applicable)
|
578
|
+
# Reporting contexts that have the change (if applicable). Currently this field
|
579
|
+
# supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `
|
580
|
+
# YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [
|
581
|
+
# ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/
|
582
|
+
# ReportingContextEnum)
|
574
583
|
# Corresponds to the JSON property `reportingContext`
|
575
584
|
# @return [String]
|
576
585
|
attr_accessor :reporting_context
|
@@ -610,8 +619,13 @@ module Google
|
|
610
619
|
# @return [Array<Google::Apis::MerchantapiPromotionsV1beta::ProductChange>]
|
611
620
|
attr_accessor :changes
|
612
621
|
|
613
|
-
# The
|
614
|
-
#
|
622
|
+
# The time at which the event was generated.
|
623
|
+
# Corresponds to the JSON property `eventTime`
|
624
|
+
# @return [String]
|
625
|
+
attr_accessor :event_time
|
626
|
+
|
627
|
+
# Optional. The product expiration time. This field will not bet set if the
|
628
|
+
# notification is sent for a product deletion event.
|
615
629
|
# Corresponds to the JSON property `expirationTime`
|
616
630
|
# @return [String]
|
617
631
|
attr_accessor :expiration_time
|
@@ -622,8 +636,7 @@ module Google
|
|
622
636
|
# @return [String]
|
623
637
|
attr_accessor :managing_account
|
624
638
|
|
625
|
-
# The product name. Format:
|
626
|
-
# `
|
639
|
+
# The product name. Format: `accounts/`account`/products/`product``
|
627
640
|
# Corresponds to the JSON property `resource`
|
628
641
|
# @return [String]
|
629
642
|
attr_accessor :resource
|
@@ -647,6 +660,7 @@ module Google
|
|
647
660
|
@account = args[:account] if args.key?(:account)
|
648
661
|
@attribute = args[:attribute] if args.key?(:attribute)
|
649
662
|
@changes = args[:changes] if args.key?(:changes)
|
663
|
+
@event_time = args[:event_time] if args.key?(:event_time)
|
650
664
|
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
651
665
|
@managing_account = args[:managing_account] if args.key?(:managing_account)
|
652
666
|
@resource = args[:resource] if args.key?(:resource)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MerchantapiPromotionsV1beta
|
18
18
|
# Version of the google-apis-merchantapi_promotions_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.4.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
|
@@ -220,6 +220,7 @@ module Google
|
|
220
220
|
property :attribute, as: 'attribute'
|
221
221
|
collection :changes, as: 'changes', class: Google::Apis::MerchantapiPromotionsV1beta::ProductChange, decorator: Google::Apis::MerchantapiPromotionsV1beta::ProductChange::Representation
|
222
222
|
|
223
|
+
property :event_time, as: 'eventTime'
|
223
224
|
property :expiration_time, as: 'expirationTime'
|
224
225
|
property :managing_account, as: 'managingAccount'
|
225
226
|
property :resource, as: 'resource'
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-merchantapi_promotions_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-09 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_promotions_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_promotions_v1beta/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_promotions_v1beta/v0.4.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_promotions_v1beta
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Merchant API PromotionsV1beta
|
82
79
|
test_files: []
|