google-apis-merchantapi_datasources_v1beta 0.3.0 → 0.5.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: 9009d0f864ffa62e99daf7eb248fdf7fa61dadc71109efd9253b3fc59ac4017e
|
4
|
+
data.tar.gz: 5264d28c90e2342a95e427d2de80261bcf19e1a8a722c1e6f8d4d243f48423e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e6ce93464befd56b449e327b8d4c5c3855577b64e302028aa286ba88e719c76d46e79f110d8c8018130f324fadf97090715aa529219612ef76aa2775e94c04a
|
7
|
+
data.tar.gz: 5790a17f29b3d6d1bd6c0e51b18aced0d42ce00d75137710bd46c0c278af22b4aac4847b5cb7944f8c476dc5bd84c3955061616b60b104a99c4cd7b157247517
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-merchantapi_datasources_v1beta
|
2
2
|
|
3
|
+
### v0.5.0 (2025-03-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250312
|
6
|
+
|
7
|
+
### v0.4.0 (2025-03-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250301
|
10
|
+
|
3
11
|
### v0.3.0 (2025-02-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250219
|
@@ -178,6 +178,33 @@ module Google
|
|
178
178
|
end
|
179
179
|
end
|
180
180
|
|
181
|
+
# Destinations also known as [Marketing methods](https://support.google.com/
|
182
|
+
# merchants/answer/15130232) selections.
|
183
|
+
class Destination
|
184
|
+
include Google::Apis::Core::Hashable
|
185
|
+
|
186
|
+
# [Marketing methods](https://support.google.com/merchants/answer/15130232) (
|
187
|
+
# also known as destination) selections.
|
188
|
+
# Corresponds to the JSON property `destination`
|
189
|
+
# @return [String]
|
190
|
+
attr_accessor :destination
|
191
|
+
|
192
|
+
# The state of the destination.
|
193
|
+
# Corresponds to the JSON property `state`
|
194
|
+
# @return [String]
|
195
|
+
attr_accessor :state
|
196
|
+
|
197
|
+
def initialize(**args)
|
198
|
+
update!(**args)
|
199
|
+
end
|
200
|
+
|
201
|
+
# Update properties of this object
|
202
|
+
def update!(**args)
|
203
|
+
@destination = args[:destination] if args.key?(:destination)
|
204
|
+
@state = args[:state] if args.key?(:state)
|
205
|
+
end
|
206
|
+
end
|
207
|
+
|
181
208
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
182
209
|
# messages in your APIs. A typical example is to use it as the request or the
|
183
210
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -508,7 +535,7 @@ module Google
|
|
508
535
|
class PrimaryProductDataSource
|
509
536
|
include Google::Apis::Core::Hashable
|
510
537
|
|
511
|
-
#
|
538
|
+
# Optional. Immutable. Specifies the type of data source channel.
|
512
539
|
# Corresponds to the JSON property `channel`
|
513
540
|
# @return [String]
|
514
541
|
attr_accessor :channel
|
@@ -534,6 +561,19 @@ module Google
|
|
534
561
|
# @return [Google::Apis::MerchantapiDatasourcesV1beta::DefaultRule]
|
535
562
|
attr_accessor :default_rule
|
536
563
|
|
564
|
+
# Optional. A list of destinations describing where products of the data source
|
565
|
+
# can be shown. When retrieving the data source, the list contains all the
|
566
|
+
# destinations that can be used for the data source, including the ones that are
|
567
|
+
# disabled for the data source but enabled for the account. Only destinations
|
568
|
+
# that are enabled on the account, for example through program participation,
|
569
|
+
# can be enabled on the data source. If unset, during creation, the destinations
|
570
|
+
# will be inherited based on the account level program participation. If set,
|
571
|
+
# during creation or update, the data source will be set only for the specified
|
572
|
+
# destinations. Updating this field requires at least one destination.
|
573
|
+
# Corresponds to the JSON property `destinations`
|
574
|
+
# @return [Array<Google::Apis::MerchantapiDatasourcesV1beta::Destination>]
|
575
|
+
attr_accessor :destinations
|
576
|
+
|
537
577
|
# Optional. Immutable. The feed label that is specified on the data source level.
|
538
578
|
# Must be less than or equal to 20 uppercase letters (A-Z), numbers (0-9), and
|
539
579
|
# dashes (-). See also [migration to feed labels](https://developers.google.com/
|
@@ -556,6 +596,7 @@ module Google
|
|
556
596
|
@content_language = args[:content_language] if args.key?(:content_language)
|
557
597
|
@countries = args[:countries] if args.key?(:countries)
|
558
598
|
@default_rule = args[:default_rule] if args.key?(:default_rule)
|
599
|
+
@destinations = args[:destinations] if args.key?(:destinations)
|
559
600
|
@feed_label = args[:feed_label] if args.key?(:feed_label)
|
560
601
|
end
|
561
602
|
end
|
@@ -565,22 +606,31 @@ module Google
|
|
565
606
|
class ProductChange
|
566
607
|
include Google::Apis::Core::Hashable
|
567
608
|
|
568
|
-
# The new value of the changed resource or attribute.
|
609
|
+
# The new value of the changed resource or attribute. If empty, it means that
|
610
|
+
# the product was deleted. Will have one of these values : (`approved`, `pending`
|
611
|
+
# , `disapproved`, ``)
|
569
612
|
# Corresponds to the JSON property `newValue`
|
570
613
|
# @return [String]
|
571
614
|
attr_accessor :new_value
|
572
615
|
|
573
|
-
# The old value of the changed resource or attribute.
|
616
|
+
# The old value of the changed resource or attribute. If empty, it means that
|
617
|
+
# the product was created. Will have one of these values : (`approved`, `pending`
|
618
|
+
# , `disapproved`, ``)
|
574
619
|
# Corresponds to the JSON property `oldValue`
|
575
620
|
# @return [String]
|
576
621
|
attr_accessor :old_value
|
577
622
|
|
578
|
-
# Countries that have the change (if applicable)
|
623
|
+
# Countries that have the change (if applicable). Represented in the ISO 3166
|
624
|
+
# format.
|
579
625
|
# Corresponds to the JSON property `regionCode`
|
580
626
|
# @return [String]
|
581
627
|
attr_accessor :region_code
|
582
628
|
|
583
|
-
# Reporting contexts that have the change (if applicable)
|
629
|
+
# Reporting contexts that have the change (if applicable). Currently this field
|
630
|
+
# supports only (`SHOPPING_ADS`, `LOCAL_INVENTORY_ADS`, `YOUTUBE_SHOPPING`, `
|
631
|
+
# YOUTUBE_CHECKOUT`, `YOUTUBE_AFFILIATE`) from the enum value [
|
632
|
+
# ReportingContextEnum](/merchant/api/reference/rest/Shared.Types/
|
633
|
+
# ReportingContextEnum)
|
584
634
|
# Corresponds to the JSON property `reportingContext`
|
585
635
|
# @return [String]
|
586
636
|
attr_accessor :reporting_context
|
@@ -633,13 +683,15 @@ module Google
|
|
633
683
|
# @return [Array<Google::Apis::MerchantapiDatasourcesV1beta::ProductChange>]
|
634
684
|
attr_accessor :changes
|
635
685
|
|
636
|
-
# The time at which the event was generated.
|
686
|
+
# The time at which the event was generated. If you want to order the
|
687
|
+
# notification messages you receive you should rely on this field not on the
|
688
|
+
# order of receiving the notifications.
|
637
689
|
# Corresponds to the JSON property `eventTime`
|
638
690
|
# @return [String]
|
639
691
|
attr_accessor :event_time
|
640
692
|
|
641
|
-
# The product expiration time. This field will not bet set if the
|
642
|
-
# is sent for a product deletion event.
|
693
|
+
# Optional. The product expiration time. This field will not bet set if the
|
694
|
+
# notification is sent for a product deletion event.
|
643
695
|
# Corresponds to the JSON property `expirationTime`
|
644
696
|
# @return [String]
|
645
697
|
attr_accessor :expiration_time
|
@@ -650,8 +702,7 @@ module Google
|
|
650
702
|
# @return [String]
|
651
703
|
attr_accessor :managing_account
|
652
704
|
|
653
|
-
# The product name. Format:
|
654
|
-
# `
|
705
|
+
# The product name. Format: `accounts/`account`/products/`product``
|
655
706
|
# Corresponds to the JSON property `resource`
|
656
707
|
# @return [String]
|
657
708
|
attr_accessor :resource
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module MerchantapiDatasourcesV1beta
|
18
18
|
# Version of the google-apis-merchantapi_datasources_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250312"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class Destination
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class Empty
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -185,6 +191,14 @@ module Google
|
|
185
191
|
end
|
186
192
|
end
|
187
193
|
|
194
|
+
class Destination
|
195
|
+
# @private
|
196
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
197
|
+
property :destination, as: 'destination'
|
198
|
+
property :state, as: 'state'
|
199
|
+
end
|
200
|
+
end
|
201
|
+
|
188
202
|
class Empty
|
189
203
|
# @private
|
190
204
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -281,6 +295,8 @@ module Google
|
|
281
295
|
collection :countries, as: 'countries'
|
282
296
|
property :default_rule, as: 'defaultRule', class: Google::Apis::MerchantapiDatasourcesV1beta::DefaultRule, decorator: Google::Apis::MerchantapiDatasourcesV1beta::DefaultRule::Representation
|
283
297
|
|
298
|
+
collection :destinations, as: 'destinations', class: Google::Apis::MerchantapiDatasourcesV1beta::Destination, decorator: Google::Apis::MerchantapiDatasourcesV1beta::Destination::Representation
|
299
|
+
|
284
300
|
property :feed_label, as: 'feedLabel'
|
285
301
|
end
|
286
302
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-merchantapi_datasources_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-16 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_datasources_v1beta/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_datasources_v1beta/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-merchantapi_datasources_v1beta/v0.5.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-merchantapi_datasources_v1beta
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|