google-apis-manufacturers_v1 0.26.0 → 0.28.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: aec15139f9ffd94dcafe7d21734b9038fcf395fd5783a3471f9f45673582e0a8
|
4
|
+
data.tar.gz: 3e0ea00ab26c202a61863d97847fd63e765840f7aeda07deb6f0ae7cda5187c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1d48deaa84cd94fe5136ef5a03fcd8847f5a2a92d1f7b07a086a07b2249e48c4521136674849e4547531528bdc1c6baf928b754ce64aeffcb26d05bbe4501e9
|
7
|
+
data.tar.gz: 4a71a1f6de42592f57c1a7a157fdc08a79881a33902724857c52425638f3fe03bbe173b77596e59e776cb9331f049e3da0cc5ea7ee8e4df842436f3e09a045a7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-manufacturers_v1
|
2
2
|
|
3
|
+
### v0.28.0 (2025-05-04)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.17.0
|
6
|
+
|
7
|
+
### v0.27.0 (2024-08-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240809
|
10
|
+
* Regenerated using generator version 0.15.1
|
11
|
+
|
3
12
|
### v0.26.0 (2024-07-25)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240716
|
data/OVERVIEW.md
CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://developers.google.com/manufacturers/) may pr
|
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
86
|
-
This library is supported on Ruby
|
86
|
+
This library is supported on Ruby 3.1+.
|
87
87
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
89
89
|
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.28.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.17.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-manufacturers_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.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: 1980-01-02 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-manufacturers_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-manufacturers_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-manufacturers_v1/v0.28.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-manufacturers_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -68,15 +66,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
66
|
requirements:
|
69
67
|
- - ">="
|
70
68
|
- !ruby/object:Gem::Version
|
71
|
-
version: '
|
69
|
+
version: '3.1'
|
72
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
71
|
requirements:
|
74
72
|
- - ">="
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.8
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Manufacturer Center API V1
|
82
79
|
test_files: []
|