google-apis-merchantapi_datasources_v1beta 0.4.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: febeb7625e0c00845b68b0a43579d19cd817c4182809aace5d0d0cc6e89751a2
4
- data.tar.gz: c21ccdcec438095ca29a971424a599b11f060744d671a143fcf040726a085b87
3
+ metadata.gz: 9009d0f864ffa62e99daf7eb248fdf7fa61dadc71109efd9253b3fc59ac4017e
4
+ data.tar.gz: 5264d28c90e2342a95e427d2de80261bcf19e1a8a722c1e6f8d4d243f48423e6
5
5
  SHA512:
6
- metadata.gz: 4a952f8a262b649dd929681e3c28638312952b48e6aa26e1855f090ef7006775d2bccfcf09a26d4d7d33c2ea9d668f5a10b30c5dda11925ffa39978c5a6baa81
7
- data.tar.gz: 6da9b008c0f4a015db857975317d6b68748b5083e75b97d4f470f295892859e4fc045e9b1d7630e14b65a7bb32fa565e747d8c6a2c02ff6ef3769079978daf2a
6
+ metadata.gz: 0e6ce93464befd56b449e327b8d4c5c3855577b64e302028aa286ba88e719c76d46e79f110d8c8018130f324fadf97090715aa529219612ef76aa2775e94c04a
7
+ data.tar.gz: 5790a17f29b3d6d1bd6c0e51b18aced0d42ce00d75137710bd46c0c278af22b4aac4847b5cb7944f8c476dc5bd84c3955061616b60b104a99c4cd7b157247517
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.4.0 (2025-03-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20250301
@@ -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.
@@ -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
@@ -642,7 +683,9 @@ module Google
642
683
  # @return [Array<Google::Apis::MerchantapiDatasourcesV1beta::ProductChange>]
643
684
  attr_accessor :changes
644
685
 
645
- # 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.
646
689
  # Corresponds to the JSON property `eventTime`
647
690
  # @return [String]
648
691
  attr_accessor :event_time
@@ -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.4.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 = "20250301"
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.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-09 00:00:00.000000000 Z
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.4.0
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: