google-apis-manufacturers_v1 0.26.0 → 0.27.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2886f352cc332816a3c2621488c16646462183c1db6db4024356703e81dd64ce
4
- data.tar.gz: ac51520a41ec05be973e8f542e32899c648ccf9bf33886b0868fb900c084a619
3
+ metadata.gz: f563c27f48b82189956ddd81f5295ed4cb5d9866847ff23409ed7b73e8817ba5
4
+ data.tar.gz: f11485db97bce97643b6f280e1d3d977a4ff807c63c59612027b6d88d48a15e2
5
5
  SHA512:
6
- metadata.gz: 219cfdc9b35105f00f29a985468759775d6319c9ba3e4625e3c12e74112ed7138f9717d754fcda8cc75932677b5210c2074fb6bdff07b3daa2fd350f672f45ff
7
- data.tar.gz: 3f11eedebcb05e9ec6bce2c5080943ffdbd5cee5022b8af2c3343283908833baa091d7a7877c8b8719c990ef8c0f0cd3ecd77eb0738d765b611876728675725e
6
+ metadata.gz: 45f7333c577480107e8a2fedd0276679830687c5230e0e773c7dc1fc019987abb2735f56f55225712af93cdbf9ddc078a304ba14e326af7807579bfb34abf682
7
+ data.tar.gz: e1f5e927c85b939a0571977ed528ebc6d80d84ce8a19f0b7015dddd6ec5b9753ae2b513c12ebed71bd748926d4c2f3eef61111f975693f08640339ddf9a9a254
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-manufacturers_v1
2
2
 
3
+ ### v0.27.0 (2024-08-18)
4
+
5
+ * Regenerated from discovery document revision 20240809
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.26.0 (2024-07-25)
4
9
 
5
10
  * Regenerated from discovery document revision 20240716
@@ -135,6 +135,15 @@ module Google
135
135
  # @return [Array<String>]
136
136
  attr_accessor :included_destination
137
137
 
138
+ # Optional. List of countries to show this product in. Countries provided in
139
+ # this attribute will override any of the countries configured at feed level.
140
+ # The values should be: the [CLDR territory code](http://www.unicode.org/repos/
141
+ # cldr/tags/latest/common/main/en.xml) of the countries in which this item will
142
+ # be shown.
143
+ # Corresponds to the JSON property `intendedCountry`
144
+ # @return [Array<String>]
145
+ attr_accessor :intended_country
146
+
138
147
  # The item group id of the product. For more information, see https://support.
139
148
  # google.com/manufacturers/answer/6124116#itemgroupid.
140
149
  # Corresponds to the JSON property `itemGroupId`
@@ -296,6 +305,7 @@ module Google
296
305
  @gtin = args[:gtin] if args.key?(:gtin)
297
306
  @image_link = args[:image_link] if args.key?(:image_link)
298
307
  @included_destination = args[:included_destination] if args.key?(:included_destination)
308
+ @intended_country = args[:intended_country] if args.key?(:intended_country)
299
309
  @item_group_id = args[:item_group_id] if args.key?(:item_group_id)
300
310
  @material = args[:material] if args.key?(:material)
301
311
  @mpn = args[:mpn] if args.key?(:mpn)
@@ -433,11 +443,29 @@ module Google
433
443
  class DestinationStatus
434
444
  include Google::Apis::Core::Hashable
435
445
 
446
+ # Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is
447
+ # approved.
448
+ # Corresponds to the JSON property `approvedCountries`
449
+ # @return [Array<String>]
450
+ attr_accessor :approved_countries
451
+
436
452
  # The name of the destination.
437
453
  # Corresponds to the JSON property `destination`
438
454
  # @return [String]
439
455
  attr_accessor :destination
440
456
 
457
+ # Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is
458
+ # disapproved.
459
+ # Corresponds to the JSON property `disapprovedCountries`
460
+ # @return [Array<String>]
461
+ attr_accessor :disapproved_countries
462
+
463
+ # Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is
464
+ # pending approval.
465
+ # Corresponds to the JSON property `pendingCountries`
466
+ # @return [Array<String>]
467
+ attr_accessor :pending_countries
468
+
441
469
  # The status of the destination.
442
470
  # Corresponds to the JSON property `status`
443
471
  # @return [String]
@@ -449,7 +477,10 @@ module Google
449
477
 
450
478
  # Update properties of this object
451
479
  def update!(**args)
480
+ @approved_countries = args[:approved_countries] if args.key?(:approved_countries)
452
481
  @destination = args[:destination] if args.key?(:destination)
482
+ @disapproved_countries = args[:disapproved_countries] if args.key?(:disapproved_countries)
483
+ @pending_countries = args[:pending_countries] if args.key?(:pending_countries)
453
484
  @status = args[:status] if args.key?(:status)
454
485
  end
455
486
  end
@@ -1096,6 +1127,11 @@ module Google
1096
1127
  # @return [Array<Google::Apis::ManufacturersV1::DestinationStatus>]
1097
1128
  attr_accessor :destination_statuses
1098
1129
 
1130
+ # Optional. The feed label for the product.
1131
+ # Corresponds to the JSON property `feedLabel`
1132
+ # @return [String]
1133
+ attr_accessor :feed_label
1134
+
1099
1135
  # A server-generated list of issues associated with the product.
1100
1136
  # Corresponds to the JSON property `issues`
1101
1137
  # @return [Array<Google::Apis::ManufacturersV1::Issue>]
@@ -1137,6 +1173,7 @@ module Google
1137
1173
  @attributes = args[:attributes] if args.key?(:attributes)
1138
1174
  @content_language = args[:content_language] if args.key?(:content_language)
1139
1175
  @destination_statuses = args[:destination_statuses] if args.key?(:destination_statuses)
1176
+ @feed_label = args[:feed_label] if args.key?(:feed_label)
1140
1177
  @issues = args[:issues] if args.key?(:issues)
1141
1178
  @name = args[:name] if args.key?(:name)
1142
1179
  @parent = args[:parent] if args.key?(:parent)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ManufacturersV1
18
18
  # Version of the google-apis-manufacturers_v1 gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240716"
25
+ REVISION = "20240809"
26
26
  end
27
27
  end
28
28
  end
@@ -170,6 +170,7 @@ module Google
170
170
  property :image_link, as: 'imageLink', class: Google::Apis::ManufacturersV1::Image, decorator: Google::Apis::ManufacturersV1::Image::Representation
171
171
 
172
172
  collection :included_destination, as: 'includedDestination'
173
+ collection :intended_country, as: 'intendedCountry'
173
174
  property :item_group_id, as: 'itemGroupId'
174
175
  property :material, as: 'material'
175
176
  property :mpn, as: 'mpn'
@@ -231,7 +232,10 @@ module Google
231
232
  class DestinationStatus
232
233
  # @private
233
234
  class Representation < Google::Apis::Core::JsonRepresentation
235
+ collection :approved_countries, as: 'approvedCountries'
234
236
  property :destination, as: 'destination'
237
+ collection :disapproved_countries, as: 'disapprovedCountries'
238
+ collection :pending_countries, as: 'pendingCountries'
235
239
  property :status, as: 'status'
236
240
  end
237
241
  end
@@ -414,6 +418,7 @@ module Google
414
418
  property :content_language, as: 'contentLanguage'
415
419
  collection :destination_statuses, as: 'destinationStatuses', class: Google::Apis::ManufacturersV1::DestinationStatus, decorator: Google::Apis::ManufacturersV1::DestinationStatus::Representation
416
420
 
421
+ property :feed_label, as: 'feedLabel'
417
422
  collection :issues, as: 'issues', class: Google::Apis::ManufacturersV1::Issue, decorator: Google::Apis::ManufacturersV1::Issue::Representation
418
423
 
419
424
  property :name, as: 'name'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-manufacturers_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-manufacturers_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-manufacturers_v1/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-manufacturers_v1/v0.27.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-manufacturers_v1
63
63
  post_install_message:
64
64
  rdoc_options: []