google-api-client 0.13.0 → 0.13.1
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 +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +4 -4
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +404 -435
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +107 -121
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +657 -713
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +45 -5
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +4 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +399 -399
- data/generated/google/apis/analyticsreporting_v4/representations.rb +101 -101
- data/generated/google/apis/analyticsreporting_v4/service.rb +10 -10
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +747 -747
- data/generated/google/apis/appengine_v1/representations.rb +158 -158
- data/generated/google/apis/appengine_v1/service.rb +214 -214
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -0
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +517 -515
- data/generated/google/apis/classroom_v1/representations.rb +147 -147
- data/generated/google/apis/classroom_v1/service.rb +1144 -1143
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +435 -386
- data/generated/google/apis/cloudbuild_v1/representations.rb +133 -115
- data/generated/google/apis/cloudbuild_v1/service.rb +148 -148
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +708 -708
- data/generated/google/apis/clouddebugger_v2/representations.rb +146 -146
- data/generated/google/apis/clouddebugger_v2/service.rb +124 -124
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +142 -142
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +29 -29
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +87 -87
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +692 -675
- data/generated/google/apis/cloudkms_v1/representations.rb +144 -144
- data/generated/google/apis/cloudkms_v1/service.rb +276 -276
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1168 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +190 -190
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +311 -288
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +406 -406
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +95 -95
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +242 -234
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +68 -68
- data/generated/google/apis/cloudtrace_v1/representations.rb +22 -22
- data/generated/google/apis/cloudtrace_v1/service.rb +48 -48
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +82 -6
- data/generated/google/apis/compute_beta/representations.rb +4 -0
- data/generated/google/apis/compute_beta/service.rb +1177 -834
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +371 -1
- data/generated/google/apis/compute_v1/representations.rb +139 -0
- data/generated/google/apis/compute_v1/service.rb +257 -9
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1122 -826
- data/generated/google/apis/container_v1/representations.rb +279 -135
- data/generated/google/apis/container_v1/service.rb +440 -98
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +3 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +4 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3423 -3423
- data/generated/google/apis/dataflow_v1b3/representations.rb +813 -813
- data/generated/google/apis/dataflow_v1b3/service.rb +410 -410
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +450 -431
- data/generated/google/apis/dataproc_v1/representations.rb +92 -92
- data/generated/google/apis/dataproc_v1/service.rb +200 -200
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +397 -397
- data/generated/google/apis/datastore_v1/representations.rb +100 -100
- data/generated/google/apis/datastore_v1/service.rb +62 -62
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +79 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +33 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +15 -20
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +87 -87
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +27 -27
- data/generated/google/apis/firebaserules_v1/classes.rb +271 -271
- data/generated/google/apis/firebaserules_v1/representations.rb +82 -82
- data/generated/google/apis/firebaserules_v1/service.rb +151 -151
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +9 -9
- data/generated/google/apis/genomics_v1/classes.rb +2242 -2242
- data/generated/google/apis/genomics_v1/representations.rb +306 -306
- data/generated/google/apis/genomics_v1/service.rb +1172 -1172
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +243 -243
- data/generated/google/apis/iam_v1/representations.rb +79 -79
- data/generated/google/apis/iam_v1/service.rb +137 -137
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +18 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +3 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +9 -9
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +451 -451
- data/generated/google/apis/language_v1/representations.rb +103 -103
- data/generated/google/apis/language_v1/service.rb +49 -49
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +459 -459
- data/generated/google/apis/language_v1beta1/representations.rb +110 -110
- data/generated/google/apis/language_v1beta1/service.rb +43 -43
- data/generated/google/apis/logging_v2.rb +8 -8
- data/generated/google/apis/logging_v2/classes.rb +915 -915
- data/generated/google/apis/logging_v2/representations.rb +142 -142
- data/generated/google/apis/logging_v2/service.rb +415 -415
- data/generated/google/apis/logging_v2beta1.rb +8 -8
- data/generated/google/apis/logging_v2beta1/classes.rb +905 -905
- data/generated/google/apis/logging_v2beta1/representations.rb +150 -150
- data/generated/google/apis/logging_v2beta1/service.rb +221 -221
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +334 -315
- data/generated/google/apis/manufacturers_v1/representations.rb +99 -87
- data/generated/google/apis/manufacturers_v1/service.rb +101 -4
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +709 -673
- data/generated/google/apis/ml_v1/representations.rb +154 -151
- data/generated/google/apis/ml_v1/service.rb +341 -354
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +869 -869
- data/generated/google/apis/monitoring_v3/representations.rb +171 -171
- data/generated/google/apis/monitoring_v3/service.rb +340 -340
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1569 -1569
- data/generated/google/apis/partners_v2/representations.rb +256 -256
- data/generated/google/apis/partners_v2/service.rb +530 -530
- data/generated/google/apis/people_v1.rb +7 -7
- data/generated/google/apis/people_v1/classes.rb +1287 -946
- data/generated/google/apis/people_v1/representations.rb +355 -203
- data/generated/google/apis/people_v1/service.rb +409 -32
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +445 -445
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +104 -104
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +241 -241
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +286 -287
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +178 -178
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +52 -52
- data/generated/google/apis/runtimeconfig_v1/representations.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/script_v1.rb +4 -4
- data/generated/google/apis/script_v1/classes.rb +172 -172
- data/generated/google/apis/script_v1/representations.rb +41 -41
- data/generated/google/apis/script_v1/service.rb +6 -6
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +6 -6
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1110 -1110
- data/generated/google/apis/servicecontrol_v1/representations.rb +215 -215
- data/generated/google/apis/servicecontrol_v1/service.rb +65 -65
- data/generated/google/apis/servicemanagement_v1.rb +6 -6
- data/generated/google/apis/servicemanagement_v1/classes.rb +3594 -3562
- data/generated/google/apis/servicemanagement_v1/representations.rb +564 -562
- data/generated/google/apis/servicemanagement_v1/service.rb +253 -253
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2678 -2670
- data/generated/google/apis/serviceuser_v1/representations.rb +269 -268
- data/generated/google/apis/serviceuser_v1/service.rb +59 -59
- data/generated/google/apis/sheets_v4.rb +5 -5
- data/generated/google/apis/sheets_v4/classes.rb +5155 -5104
- data/generated/google/apis/sheets_v4/representations.rb +957 -940
- data/generated/google/apis/sheets_v4/service.rb +175 -175
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2932 -2905
- data/generated/google/apis/slides_v1/representations.rb +709 -694
- data/generated/google/apis/slides_v1/service.rb +50 -50
- data/generated/google/apis/sourcerepo_v1/classes.rb +139 -139
- data/generated/google/apis/sourcerepo_v1/representations.rb +40 -40
- data/generated/google/apis/sourcerepo_v1/service.rb +61 -61
- data/generated/google/apis/spanner_v1.rb +7 -1
- data/generated/google/apis/spanner_v1/classes.rb +2362 -2299
- data/generated/google/apis/spanner_v1/representations.rb +342 -323
- data/generated/google/apis/spanner_v1/service.rb +502 -492
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +244 -244
- data/generated/google/apis/speech_v1beta1/representations.rb +52 -52
- data/generated/google/apis/speech_v1beta1/service.rb +91 -91
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +784 -781
- data/generated/google/apis/storagetransfer_v1/representations.rb +88 -88
- data/generated/google/apis/storagetransfer_v1/service.rb +154 -154
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +90 -1
- data/generated/google/apis/toolresults_v1beta3/representations.rb +18 -0
- data/generated/google/apis/translate_v2/classes.rb +107 -107
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +81 -81
- data/generated/google/apis/vision_v1.rb +4 -1
- data/generated/google/apis/vision_v1/classes.rb +527 -527
- data/generated/google/apis/vision_v1/representations.rb +115 -115
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +124 -124
- data/generated/google/apis/youtubereporting_v1/representations.rb +30 -30
- data/generated/google/apis/youtubereporting_v1/service.rb +113 -113
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/analytics.rb +2 -2
- metadata +2 -2
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/manufacturers/
|
|
26
26
|
module ManufacturersV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170703'
|
|
29
29
|
|
|
30
30
|
# Manage your product listings for Google Manufacturer Center
|
|
31
31
|
AUTH_MANUFACTURERCENTER = 'https://www.googleapis.com/auth/manufacturercenter'
|
|
@@ -22,6 +22,211 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module ManufacturersV1
|
|
24
24
|
|
|
25
|
+
# The capacity of a product. For more information, see
|
|
26
|
+
# https://support.google.com/manufacturers/answer/6124116#capacity.
|
|
27
|
+
class Capacity
|
|
28
|
+
include Google::Apis::Core::Hashable
|
|
29
|
+
|
|
30
|
+
# The unit of the capacity, i.e., MB, GB, or TB.
|
|
31
|
+
# Corresponds to the JSON property `unit`
|
|
32
|
+
# @return [String]
|
|
33
|
+
attr_accessor :unit
|
|
34
|
+
|
|
35
|
+
# The numeric value of the capacity.
|
|
36
|
+
# Corresponds to the JSON property `value`
|
|
37
|
+
# @return [Fixnum]
|
|
38
|
+
attr_accessor :value
|
|
39
|
+
|
|
40
|
+
def initialize(**args)
|
|
41
|
+
update!(**args)
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Update properties of this object
|
|
45
|
+
def update!(**args)
|
|
46
|
+
@unit = args[:unit] if args.key?(:unit)
|
|
47
|
+
@value = args[:value] if args.key?(:value)
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
#
|
|
52
|
+
class ListProductsResponse
|
|
53
|
+
include Google::Apis::Core::Hashable
|
|
54
|
+
|
|
55
|
+
# The token for the retrieval of the next page of product statuses.
|
|
56
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
57
|
+
# @return [String]
|
|
58
|
+
attr_accessor :next_page_token
|
|
59
|
+
|
|
60
|
+
# List of the products.
|
|
61
|
+
# Corresponds to the JSON property `products`
|
|
62
|
+
# @return [Array<Google::Apis::ManufacturersV1::Product>]
|
|
63
|
+
attr_accessor :products
|
|
64
|
+
|
|
65
|
+
def initialize(**args)
|
|
66
|
+
update!(**args)
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Update properties of this object
|
|
70
|
+
def update!(**args)
|
|
71
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
72
|
+
@products = args[:products] if args.key?(:products)
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
# A product detail of the product. For more information, see
|
|
77
|
+
# https://support.google.com/manufacturers/answer/6124116#productdetail.
|
|
78
|
+
class ProductDetail
|
|
79
|
+
include Google::Apis::Core::Hashable
|
|
80
|
+
|
|
81
|
+
# A short section name that can be reused between multiple product details.
|
|
82
|
+
# Corresponds to the JSON property `sectionName`
|
|
83
|
+
# @return [String]
|
|
84
|
+
attr_accessor :section_name
|
|
85
|
+
|
|
86
|
+
# The name of the attribute.
|
|
87
|
+
# Corresponds to the JSON property `attributeName`
|
|
88
|
+
# @return [String]
|
|
89
|
+
attr_accessor :attribute_name
|
|
90
|
+
|
|
91
|
+
# The value of the attribute.
|
|
92
|
+
# Corresponds to the JSON property `attributeValue`
|
|
93
|
+
# @return [String]
|
|
94
|
+
attr_accessor :attribute_value
|
|
95
|
+
|
|
96
|
+
def initialize(**args)
|
|
97
|
+
update!(**args)
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Update properties of this object
|
|
101
|
+
def update!(**args)
|
|
102
|
+
@section_name = args[:section_name] if args.key?(:section_name)
|
|
103
|
+
@attribute_name = args[:attribute_name] if args.key?(:attribute_name)
|
|
104
|
+
@attribute_value = args[:attribute_value] if args.key?(:attribute_value)
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# A feature description of the product. For more information, see
|
|
109
|
+
# https://support.google.com/manufacturers/answer/6124116#featuredesc.
|
|
110
|
+
class FeatureDescription
|
|
111
|
+
include Google::Apis::Core::Hashable
|
|
112
|
+
|
|
113
|
+
# An image.
|
|
114
|
+
# Corresponds to the JSON property `image`
|
|
115
|
+
# @return [Google::Apis::ManufacturersV1::Image]
|
|
116
|
+
attr_accessor :image
|
|
117
|
+
|
|
118
|
+
# A short description of the feature.
|
|
119
|
+
# Corresponds to the JSON property `headline`
|
|
120
|
+
# @return [String]
|
|
121
|
+
attr_accessor :headline
|
|
122
|
+
|
|
123
|
+
# A detailed description of the feature.
|
|
124
|
+
# Corresponds to the JSON property `text`
|
|
125
|
+
# @return [String]
|
|
126
|
+
attr_accessor :text
|
|
127
|
+
|
|
128
|
+
def initialize(**args)
|
|
129
|
+
update!(**args)
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# Update properties of this object
|
|
133
|
+
def update!(**args)
|
|
134
|
+
@image = args[:image] if args.key?(:image)
|
|
135
|
+
@headline = args[:headline] if args.key?(:headline)
|
|
136
|
+
@text = args[:text] if args.key?(:text)
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
# Product issue.
|
|
141
|
+
class Issue
|
|
142
|
+
include Google::Apis::Core::Hashable
|
|
143
|
+
|
|
144
|
+
# The server-generated type of the issue, for example,
|
|
145
|
+
# “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
|
|
146
|
+
# Corresponds to the JSON property `type`
|
|
147
|
+
# @return [String]
|
|
148
|
+
attr_accessor :type
|
|
149
|
+
|
|
150
|
+
# If present, the attribute that triggered the issue. For more information
|
|
151
|
+
# about attributes, see
|
|
152
|
+
# https://support.google.com/manufacturers/answer/6124116.
|
|
153
|
+
# Corresponds to the JSON property `attribute`
|
|
154
|
+
# @return [String]
|
|
155
|
+
attr_accessor :attribute
|
|
156
|
+
|
|
157
|
+
# The timestamp when this issue appeared.
|
|
158
|
+
# Corresponds to the JSON property `timestamp`
|
|
159
|
+
# @return [String]
|
|
160
|
+
attr_accessor :timestamp
|
|
161
|
+
|
|
162
|
+
# The severity of the issue.
|
|
163
|
+
# Corresponds to the JSON property `severity`
|
|
164
|
+
# @return [String]
|
|
165
|
+
attr_accessor :severity
|
|
166
|
+
|
|
167
|
+
# Description of the issue.
|
|
168
|
+
# Corresponds to the JSON property `description`
|
|
169
|
+
# @return [String]
|
|
170
|
+
attr_accessor :description
|
|
171
|
+
|
|
172
|
+
def initialize(**args)
|
|
173
|
+
update!(**args)
|
|
174
|
+
end
|
|
175
|
+
|
|
176
|
+
# Update properties of this object
|
|
177
|
+
def update!(**args)
|
|
178
|
+
@type = args[:type] if args.key?(:type)
|
|
179
|
+
@attribute = args[:attribute] if args.key?(:attribute)
|
|
180
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
181
|
+
@severity = args[:severity] if args.key?(:severity)
|
|
182
|
+
@description = args[:description] if args.key?(:description)
|
|
183
|
+
end
|
|
184
|
+
end
|
|
185
|
+
|
|
186
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
|
187
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
|
188
|
+
# or the response type of an API method. For instance:
|
|
189
|
+
# service Foo `
|
|
190
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
191
|
+
# `
|
|
192
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
|
193
|
+
class Empty
|
|
194
|
+
include Google::Apis::Core::Hashable
|
|
195
|
+
|
|
196
|
+
def initialize(**args)
|
|
197
|
+
update!(**args)
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# Update properties of this object
|
|
201
|
+
def update!(**args)
|
|
202
|
+
end
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
# A price.
|
|
206
|
+
class Price
|
|
207
|
+
include Google::Apis::Core::Hashable
|
|
208
|
+
|
|
209
|
+
# The numeric value of the price.
|
|
210
|
+
# Corresponds to the JSON property `amount`
|
|
211
|
+
# @return [String]
|
|
212
|
+
attr_accessor :amount
|
|
213
|
+
|
|
214
|
+
# The currency in which the price is denoted.
|
|
215
|
+
# Corresponds to the JSON property `currency`
|
|
216
|
+
# @return [String]
|
|
217
|
+
attr_accessor :currency
|
|
218
|
+
|
|
219
|
+
def initialize(**args)
|
|
220
|
+
update!(**args)
|
|
221
|
+
end
|
|
222
|
+
|
|
223
|
+
# Update properties of this object
|
|
224
|
+
def update!(**args)
|
|
225
|
+
@amount = args[:amount] if args.key?(:amount)
|
|
226
|
+
@currency = args[:currency] if args.key?(:currency)
|
|
227
|
+
end
|
|
228
|
+
end
|
|
229
|
+
|
|
25
230
|
# An image.
|
|
26
231
|
class Image
|
|
27
232
|
include Google::Apis::Core::Hashable
|
|
@@ -62,53 +267,6 @@ module Google
|
|
|
62
267
|
class Attributes
|
|
63
268
|
include Google::Apis::Core::Hashable
|
|
64
269
|
|
|
65
|
-
# The size system of the product. For more information, see
|
|
66
|
-
# https://support.google.com/manufacturers/answer/6124116#sizesystem.
|
|
67
|
-
# Corresponds to the JSON property `sizeSystem`
|
|
68
|
-
# @return [String]
|
|
69
|
-
attr_accessor :size_system
|
|
70
|
-
|
|
71
|
-
# The theme of the product. For more information, see
|
|
72
|
-
# https://support.google.com/manufacturers/answer/6124116#theme.
|
|
73
|
-
# Corresponds to the JSON property `theme`
|
|
74
|
-
# @return [String]
|
|
75
|
-
attr_accessor :theme
|
|
76
|
-
|
|
77
|
-
# The pattern of the product. For more information, see
|
|
78
|
-
# https://support.google.com/manufacturers/answer/6124116#pattern.
|
|
79
|
-
# Corresponds to the JSON property `pattern`
|
|
80
|
-
# @return [String]
|
|
81
|
-
attr_accessor :pattern
|
|
82
|
-
|
|
83
|
-
# An image.
|
|
84
|
-
# Corresponds to the JSON property `imageLink`
|
|
85
|
-
# @return [Google::Apis::ManufacturersV1::Image]
|
|
86
|
-
attr_accessor :image_link
|
|
87
|
-
|
|
88
|
-
# The category of the product. For more information, see
|
|
89
|
-
# https://support.google.com/manufacturers/answer/6124116#producttype.
|
|
90
|
-
# Corresponds to the JSON property `productType`
|
|
91
|
-
# @return [Array<String>]
|
|
92
|
-
attr_accessor :product_type
|
|
93
|
-
|
|
94
|
-
# The format of the product. For more information, see
|
|
95
|
-
# https://support.google.com/manufacturers/answer/6124116#format.
|
|
96
|
-
# Corresponds to the JSON property `format`
|
|
97
|
-
# @return [String]
|
|
98
|
-
attr_accessor :format
|
|
99
|
-
|
|
100
|
-
# The additional images of the product. For more information, see
|
|
101
|
-
# https://support.google.com/manufacturers/answer/6124116#addlimage.
|
|
102
|
-
# Corresponds to the JSON property `additionalImageLink`
|
|
103
|
-
# @return [Array<Google::Apis::ManufacturersV1::Image>]
|
|
104
|
-
attr_accessor :additional_image_link
|
|
105
|
-
|
|
106
|
-
# The videos of the product. For more information, see
|
|
107
|
-
# https://support.google.com/manufacturers/answer/6124116#video.
|
|
108
|
-
# Corresponds to the JSON property `videoLink`
|
|
109
|
-
# @return [Array<String>]
|
|
110
|
-
attr_accessor :video_link
|
|
111
|
-
|
|
112
270
|
# The color of the product. For more information, see
|
|
113
271
|
# https://support.google.com/manufacturers/answer/6124116#color.
|
|
114
272
|
# Corresponds to the JSON property `color`
|
|
@@ -162,29 +320,29 @@ module Google
|
|
|
162
320
|
# @return [String]
|
|
163
321
|
attr_accessor :brand
|
|
164
322
|
|
|
165
|
-
# The material of the product. For more information, see
|
|
166
|
-
# https://support.google.com/manufacturers/answer/6124116#material.
|
|
167
|
-
# Corresponds to the JSON property `material`
|
|
168
|
-
# @return [String]
|
|
169
|
-
attr_accessor :material
|
|
170
|
-
|
|
171
323
|
# The disclosure date of the product. For more information, see
|
|
172
324
|
# https://support.google.com/manufacturers/answer/6124116#disclosure.
|
|
173
325
|
# Corresponds to the JSON property `disclosureDate`
|
|
174
326
|
# @return [String]
|
|
175
327
|
attr_accessor :disclosure_date
|
|
176
328
|
|
|
329
|
+
# The material of the product. For more information, see
|
|
330
|
+
# https://support.google.com/manufacturers/answer/6124116#material.
|
|
331
|
+
# Corresponds to the JSON property `material`
|
|
332
|
+
# @return [String]
|
|
333
|
+
attr_accessor :material
|
|
334
|
+
|
|
177
335
|
# The scent of the product. For more information, see
|
|
178
336
|
# https://support.google.com/manufacturers/answer/6124116#scent.
|
|
179
337
|
# Corresponds to the JSON property `scent`
|
|
180
338
|
# @return [String]
|
|
181
339
|
attr_accessor :scent
|
|
182
340
|
|
|
183
|
-
# The
|
|
184
|
-
# https://support.google.com/manufacturers/answer/6124116#
|
|
185
|
-
# Corresponds to the JSON property `
|
|
341
|
+
# The flavor of the product. For more information, see
|
|
342
|
+
# https://support.google.com/manufacturers/answer/6124116#flavor.
|
|
343
|
+
# Corresponds to the JSON property `flavor`
|
|
186
344
|
# @return [String]
|
|
187
|
-
attr_accessor :
|
|
345
|
+
attr_accessor :flavor
|
|
188
346
|
|
|
189
347
|
# The details of the product. For more information, see
|
|
190
348
|
# https://support.google.com/manufacturers/answer/6124116#productdetail.
|
|
@@ -192,17 +350,11 @@ module Google
|
|
|
192
350
|
# @return [Array<Google::Apis::ManufacturersV1::ProductDetail>]
|
|
193
351
|
attr_accessor :product_detail
|
|
194
352
|
|
|
195
|
-
# The
|
|
196
|
-
# https://support.google.com/manufacturers/answer/6124116#
|
|
197
|
-
# Corresponds to the JSON property `
|
|
198
|
-
# @return [String]
|
|
199
|
-
attr_accessor :flavor
|
|
200
|
-
|
|
201
|
-
# The URL of the detail page of the product. For more information, see
|
|
202
|
-
# https://support.google.com/manufacturers/answer/6124116#productpage.
|
|
203
|
-
# Corresponds to the JSON property `productPageUrl`
|
|
353
|
+
# The target age group of the product. For more information, see
|
|
354
|
+
# https://support.google.com/manufacturers/answer/6124116#agegroup.
|
|
355
|
+
# Corresponds to the JSON property `ageGroup`
|
|
204
356
|
# @return [String]
|
|
205
|
-
attr_accessor :
|
|
357
|
+
attr_accessor :age_group
|
|
206
358
|
|
|
207
359
|
# The Manufacturer Part Number (MPN) of the product. For more information,
|
|
208
360
|
# see https://support.google.com/manufacturers/answer/6124116#mpn.
|
|
@@ -210,24 +362,30 @@ module Google
|
|
|
210
362
|
# @return [String]
|
|
211
363
|
attr_accessor :mpn
|
|
212
364
|
|
|
365
|
+
# The URL of the detail page of the product. For more information, see
|
|
366
|
+
# https://support.google.com/manufacturers/answer/6124116#productpage.
|
|
367
|
+
# Corresponds to the JSON property `productPageUrl`
|
|
368
|
+
# @return [String]
|
|
369
|
+
attr_accessor :product_page_url
|
|
370
|
+
|
|
213
371
|
# The release date of the product. For more information, see
|
|
214
372
|
# https://support.google.com/manufacturers/answer/6124116#release.
|
|
215
373
|
# Corresponds to the JSON property `releaseDate`
|
|
216
374
|
# @return [String]
|
|
217
375
|
attr_accessor :release_date
|
|
218
376
|
|
|
219
|
-
# The Global Trade Item Number (GTIN) of the product. For more information,
|
|
220
|
-
# see https://support.google.com/manufacturers/answer/6124116#gtin.
|
|
221
|
-
# Corresponds to the JSON property `gtin`
|
|
222
|
-
# @return [Array<String>]
|
|
223
|
-
attr_accessor :gtin
|
|
224
|
-
|
|
225
377
|
# The item group id of the product. For more information, see
|
|
226
378
|
# https://support.google.com/manufacturers/answer/6124116#itemgroupid.
|
|
227
379
|
# Corresponds to the JSON property `itemGroupId`
|
|
228
380
|
# @return [String]
|
|
229
381
|
attr_accessor :item_group_id
|
|
230
382
|
|
|
383
|
+
# The Global Trade Item Number (GTIN) of the product. For more information,
|
|
384
|
+
# see https://support.google.com/manufacturers/answer/6124116#gtin.
|
|
385
|
+
# Corresponds to the JSON property `gtin`
|
|
386
|
+
# @return [Array<String>]
|
|
387
|
+
attr_accessor :gtin
|
|
388
|
+
|
|
231
389
|
# The name of the group of products related to the product. For more
|
|
232
390
|
# information, see
|
|
233
391
|
# https://support.google.com/manufacturers/answer/6124116#productline.
|
|
@@ -253,20 +411,59 @@ module Google
|
|
|
253
411
|
# @return [String]
|
|
254
412
|
attr_accessor :gender
|
|
255
413
|
|
|
414
|
+
# The size system of the product. For more information, see
|
|
415
|
+
# https://support.google.com/manufacturers/answer/6124116#sizesystem.
|
|
416
|
+
# Corresponds to the JSON property `sizeSystem`
|
|
417
|
+
# @return [String]
|
|
418
|
+
attr_accessor :size_system
|
|
419
|
+
|
|
420
|
+
# The theme of the product. For more information, see
|
|
421
|
+
# https://support.google.com/manufacturers/answer/6124116#theme.
|
|
422
|
+
# Corresponds to the JSON property `theme`
|
|
423
|
+
# @return [String]
|
|
424
|
+
attr_accessor :theme
|
|
425
|
+
|
|
426
|
+
# The pattern of the product. For more information, see
|
|
427
|
+
# https://support.google.com/manufacturers/answer/6124116#pattern.
|
|
428
|
+
# Corresponds to the JSON property `pattern`
|
|
429
|
+
# @return [String]
|
|
430
|
+
attr_accessor :pattern
|
|
431
|
+
|
|
432
|
+
# An image.
|
|
433
|
+
# Corresponds to the JSON property `imageLink`
|
|
434
|
+
# @return [Google::Apis::ManufacturersV1::Image]
|
|
435
|
+
attr_accessor :image_link
|
|
436
|
+
|
|
437
|
+
# The category of the product. For more information, see
|
|
438
|
+
# https://support.google.com/manufacturers/answer/6124116#producttype.
|
|
439
|
+
# Corresponds to the JSON property `productType`
|
|
440
|
+
# @return [Array<String>]
|
|
441
|
+
attr_accessor :product_type
|
|
442
|
+
|
|
443
|
+
# The format of the product. For more information, see
|
|
444
|
+
# https://support.google.com/manufacturers/answer/6124116#format.
|
|
445
|
+
# Corresponds to the JSON property `format`
|
|
446
|
+
# @return [String]
|
|
447
|
+
attr_accessor :format
|
|
448
|
+
|
|
449
|
+
# The additional images of the product. For more information, see
|
|
450
|
+
# https://support.google.com/manufacturers/answer/6124116#addlimage.
|
|
451
|
+
# Corresponds to the JSON property `additionalImageLink`
|
|
452
|
+
# @return [Array<Google::Apis::ManufacturersV1::Image>]
|
|
453
|
+
attr_accessor :additional_image_link
|
|
454
|
+
|
|
455
|
+
# The videos of the product. For more information, see
|
|
456
|
+
# https://support.google.com/manufacturers/answer/6124116#video.
|
|
457
|
+
# Corresponds to the JSON property `videoLink`
|
|
458
|
+
# @return [Array<String>]
|
|
459
|
+
attr_accessor :video_link
|
|
460
|
+
|
|
256
461
|
def initialize(**args)
|
|
257
462
|
update!(**args)
|
|
258
463
|
end
|
|
259
464
|
|
|
260
465
|
# Update properties of this object
|
|
261
466
|
def update!(**args)
|
|
262
|
-
@size_system = args[:size_system] if args.key?(:size_system)
|
|
263
|
-
@theme = args[:theme] if args.key?(:theme)
|
|
264
|
-
@pattern = args[:pattern] if args.key?(:pattern)
|
|
265
|
-
@image_link = args[:image_link] if args.key?(:image_link)
|
|
266
|
-
@product_type = args[:product_type] if args.key?(:product_type)
|
|
267
|
-
@format = args[:format] if args.key?(:format)
|
|
268
|
-
@additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link)
|
|
269
|
-
@video_link = args[:video_link] if args.key?(:video_link)
|
|
270
467
|
@color = args[:color] if args.key?(:color)
|
|
271
468
|
@product_name = args[:product_name] if args.key?(:product_name)
|
|
272
469
|
@size_type = args[:size_type] if args.key?(:size_type)
|
|
@@ -276,21 +473,29 @@ module Google
|
|
|
276
473
|
@title = args[:title] if args.key?(:title)
|
|
277
474
|
@count = args[:count] if args.key?(:count)
|
|
278
475
|
@brand = args[:brand] if args.key?(:brand)
|
|
279
|
-
@material = args[:material] if args.key?(:material)
|
|
280
476
|
@disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date)
|
|
477
|
+
@material = args[:material] if args.key?(:material)
|
|
281
478
|
@scent = args[:scent] if args.key?(:scent)
|
|
282
|
-
@age_group = args[:age_group] if args.key?(:age_group)
|
|
283
|
-
@product_detail = args[:product_detail] if args.key?(:product_detail)
|
|
284
479
|
@flavor = args[:flavor] if args.key?(:flavor)
|
|
285
|
-
@
|
|
480
|
+
@product_detail = args[:product_detail] if args.key?(:product_detail)
|
|
481
|
+
@age_group = args[:age_group] if args.key?(:age_group)
|
|
286
482
|
@mpn = args[:mpn] if args.key?(:mpn)
|
|
483
|
+
@product_page_url = args[:product_page_url] if args.key?(:product_page_url)
|
|
287
484
|
@release_date = args[:release_date] if args.key?(:release_date)
|
|
288
|
-
@gtin = args[:gtin] if args.key?(:gtin)
|
|
289
485
|
@item_group_id = args[:item_group_id] if args.key?(:item_group_id)
|
|
486
|
+
@gtin = args[:gtin] if args.key?(:gtin)
|
|
290
487
|
@product_line = args[:product_line] if args.key?(:product_line)
|
|
291
488
|
@capacity = args[:capacity] if args.key?(:capacity)
|
|
292
489
|
@description = args[:description] if args.key?(:description)
|
|
293
490
|
@gender = args[:gender] if args.key?(:gender)
|
|
491
|
+
@size_system = args[:size_system] if args.key?(:size_system)
|
|
492
|
+
@theme = args[:theme] if args.key?(:theme)
|
|
493
|
+
@pattern = args[:pattern] if args.key?(:pattern)
|
|
494
|
+
@image_link = args[:image_link] if args.key?(:image_link)
|
|
495
|
+
@product_type = args[:product_type] if args.key?(:product_type)
|
|
496
|
+
@format = args[:format] if args.key?(:format)
|
|
497
|
+
@additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link)
|
|
498
|
+
@video_link = args[:video_link] if args.key?(:video_link)
|
|
294
499
|
end
|
|
295
500
|
end
|
|
296
501
|
|
|
@@ -299,24 +504,24 @@ module Google
|
|
|
299
504
|
class Count
|
|
300
505
|
include Google::Apis::Core::Hashable
|
|
301
506
|
|
|
302
|
-
# The numeric value of the number of products in a package.
|
|
303
|
-
# Corresponds to the JSON property `value`
|
|
304
|
-
# @return [Fixnum]
|
|
305
|
-
attr_accessor :value
|
|
306
|
-
|
|
307
507
|
# The unit in which these products are counted.
|
|
308
508
|
# Corresponds to the JSON property `unit`
|
|
309
509
|
# @return [String]
|
|
310
510
|
attr_accessor :unit
|
|
311
511
|
|
|
512
|
+
# The numeric value of the number of products in a package.
|
|
513
|
+
# Corresponds to the JSON property `value`
|
|
514
|
+
# @return [Fixnum]
|
|
515
|
+
attr_accessor :value
|
|
516
|
+
|
|
312
517
|
def initialize(**args)
|
|
313
518
|
update!(**args)
|
|
314
519
|
end
|
|
315
520
|
|
|
316
521
|
# Update properties of this object
|
|
317
522
|
def update!(**args)
|
|
318
|
-
@value = args[:value] if args.key?(:value)
|
|
319
523
|
@unit = args[:unit] if args.key?(:unit)
|
|
524
|
+
@value = args[:value] if args.key?(:value)
|
|
320
525
|
end
|
|
321
526
|
end
|
|
322
527
|
|
|
@@ -326,16 +531,35 @@ module Google
|
|
|
326
531
|
|
|
327
532
|
# Attributes of the product. For more information, see
|
|
328
533
|
# https://support.google.com/manufacturers/answer/6124116.
|
|
329
|
-
# Corresponds to the JSON property `
|
|
534
|
+
# Corresponds to the JSON property `finalAttributes`
|
|
330
535
|
# @return [Google::Apis::ManufacturersV1::Attributes]
|
|
331
|
-
attr_accessor :
|
|
536
|
+
attr_accessor :final_attributes
|
|
332
537
|
|
|
333
|
-
# The
|
|
334
|
-
#
|
|
538
|
+
# The ID of the product. For more information, see
|
|
539
|
+
# https://support.google.com/manufacturers/answer/6124116#id.
|
|
335
540
|
# @OutputOnly
|
|
336
|
-
# Corresponds to the JSON property `
|
|
541
|
+
# Corresponds to the JSON property `productId`
|
|
337
542
|
# @return [String]
|
|
338
|
-
attr_accessor :
|
|
543
|
+
attr_accessor :product_id
|
|
544
|
+
|
|
545
|
+
# Attributes of the product. For more information, see
|
|
546
|
+
# https://support.google.com/manufacturers/answer/6124116.
|
|
547
|
+
# Corresponds to the JSON property `uploadedAttributes`
|
|
548
|
+
# @return [Google::Apis::ManufacturersV1::Attributes]
|
|
549
|
+
attr_accessor :uploaded_attributes
|
|
550
|
+
|
|
551
|
+
# Parent ID in the format `accounts/`account_id``.
|
|
552
|
+
# `account_id` - The ID of the Manufacturer Center account.
|
|
553
|
+
# @OutputOnly
|
|
554
|
+
# Corresponds to the JSON property `parent`
|
|
555
|
+
# @return [String]
|
|
556
|
+
attr_accessor :parent
|
|
557
|
+
|
|
558
|
+
# Attributes of the product. For more information, see
|
|
559
|
+
# https://support.google.com/manufacturers/answer/6124116.
|
|
560
|
+
# Corresponds to the JSON property `manuallyProvidedAttributes`
|
|
561
|
+
# @return [Google::Apis::ManufacturersV1::Attributes]
|
|
562
|
+
attr_accessor :manually_provided_attributes
|
|
339
563
|
|
|
340
564
|
# The target country of the product as a CLDR territory code (for example,
|
|
341
565
|
# US).
|
|
@@ -344,6 +568,13 @@ module Google
|
|
|
344
568
|
# @return [String]
|
|
345
569
|
attr_accessor :target_country
|
|
346
570
|
|
|
571
|
+
# The content language of the product as a two-letter ISO 639-1 language code
|
|
572
|
+
# (for example, en).
|
|
573
|
+
# @OutputOnly
|
|
574
|
+
# Corresponds to the JSON property `contentLanguage`
|
|
575
|
+
# @return [String]
|
|
576
|
+
attr_accessor :content_language
|
|
577
|
+
|
|
347
578
|
# Name in the format ``target_country`:`content_language`:`product_id``.
|
|
348
579
|
# `target_country` - The target country of the product as a CLDR territory
|
|
349
580
|
# code (for example, US).
|
|
@@ -370,234 +601,22 @@ module Google
|
|
|
370
601
|
# @return [Array<String>]
|
|
371
602
|
attr_accessor :manually_deleted_attributes
|
|
372
603
|
|
|
373
|
-
# Attributes of the product. For more information, see
|
|
374
|
-
# https://support.google.com/manufacturers/answer/6124116.
|
|
375
|
-
# Corresponds to the JSON property `finalAttributes`
|
|
376
|
-
# @return [Google::Apis::ManufacturersV1::Attributes]
|
|
377
|
-
attr_accessor :final_attributes
|
|
378
|
-
|
|
379
|
-
# The ID of the product. For more information, see
|
|
380
|
-
# https://support.google.com/manufacturers/answer/6124116#id.
|
|
381
|
-
# @OutputOnly
|
|
382
|
-
# Corresponds to the JSON property `productId`
|
|
383
|
-
# @return [String]
|
|
384
|
-
attr_accessor :product_id
|
|
385
|
-
|
|
386
|
-
# Attributes of the product. For more information, see
|
|
387
|
-
# https://support.google.com/manufacturers/answer/6124116.
|
|
388
|
-
# Corresponds to the JSON property `uploadedAttributes`
|
|
389
|
-
# @return [Google::Apis::ManufacturersV1::Attributes]
|
|
390
|
-
attr_accessor :uploaded_attributes
|
|
391
|
-
|
|
392
|
-
# Parent ID in the format `accounts/`account_id``.
|
|
393
|
-
# `account_id` - The ID of the Manufacturer Center account.
|
|
394
|
-
# @OutputOnly
|
|
395
|
-
# Corresponds to the JSON property `parent`
|
|
396
|
-
# @return [String]
|
|
397
|
-
attr_accessor :parent
|
|
398
|
-
|
|
399
604
|
def initialize(**args)
|
|
400
605
|
update!(**args)
|
|
401
606
|
end
|
|
402
607
|
|
|
403
608
|
# Update properties of this object
|
|
404
609
|
def update!(**args)
|
|
610
|
+
@final_attributes = args[:final_attributes] if args.key?(:final_attributes)
|
|
611
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
|
612
|
+
@uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes)
|
|
613
|
+
@parent = args[:parent] if args.key?(:parent)
|
|
405
614
|
@manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes)
|
|
406
|
-
@content_language = args[:content_language] if args.key?(:content_language)
|
|
407
615
|
@target_country = args[:target_country] if args.key?(:target_country)
|
|
616
|
+
@content_language = args[:content_language] if args.key?(:content_language)
|
|
408
617
|
@name = args[:name] if args.key?(:name)
|
|
409
618
|
@issues = args[:issues] if args.key?(:issues)
|
|
410
619
|
@manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes)
|
|
411
|
-
@final_attributes = args[:final_attributes] if args.key?(:final_attributes)
|
|
412
|
-
@product_id = args[:product_id] if args.key?(:product_id)
|
|
413
|
-
@uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes)
|
|
414
|
-
@parent = args[:parent] if args.key?(:parent)
|
|
415
|
-
end
|
|
416
|
-
end
|
|
417
|
-
|
|
418
|
-
# The capacity of a product. For more information, see
|
|
419
|
-
# https://support.google.com/manufacturers/answer/6124116#capacity.
|
|
420
|
-
class Capacity
|
|
421
|
-
include Google::Apis::Core::Hashable
|
|
422
|
-
|
|
423
|
-
# The numeric value of the capacity.
|
|
424
|
-
# Corresponds to the JSON property `value`
|
|
425
|
-
# @return [Fixnum]
|
|
426
|
-
attr_accessor :value
|
|
427
|
-
|
|
428
|
-
# The unit of the capacity, i.e., MB, GB, or TB.
|
|
429
|
-
# Corresponds to the JSON property `unit`
|
|
430
|
-
# @return [String]
|
|
431
|
-
attr_accessor :unit
|
|
432
|
-
|
|
433
|
-
def initialize(**args)
|
|
434
|
-
update!(**args)
|
|
435
|
-
end
|
|
436
|
-
|
|
437
|
-
# Update properties of this object
|
|
438
|
-
def update!(**args)
|
|
439
|
-
@value = args[:value] if args.key?(:value)
|
|
440
|
-
@unit = args[:unit] if args.key?(:unit)
|
|
441
|
-
end
|
|
442
|
-
end
|
|
443
|
-
|
|
444
|
-
#
|
|
445
|
-
class ListProductsResponse
|
|
446
|
-
include Google::Apis::Core::Hashable
|
|
447
|
-
|
|
448
|
-
# List of the products.
|
|
449
|
-
# Corresponds to the JSON property `products`
|
|
450
|
-
# @return [Array<Google::Apis::ManufacturersV1::Product>]
|
|
451
|
-
attr_accessor :products
|
|
452
|
-
|
|
453
|
-
# The token for the retrieval of the next page of product statuses.
|
|
454
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
455
|
-
# @return [String]
|
|
456
|
-
attr_accessor :next_page_token
|
|
457
|
-
|
|
458
|
-
def initialize(**args)
|
|
459
|
-
update!(**args)
|
|
460
|
-
end
|
|
461
|
-
|
|
462
|
-
# Update properties of this object
|
|
463
|
-
def update!(**args)
|
|
464
|
-
@products = args[:products] if args.key?(:products)
|
|
465
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
466
|
-
end
|
|
467
|
-
end
|
|
468
|
-
|
|
469
|
-
# A product detail of the product. For more information, see
|
|
470
|
-
# https://support.google.com/manufacturers/answer/6124116#productdetail.
|
|
471
|
-
class ProductDetail
|
|
472
|
-
include Google::Apis::Core::Hashable
|
|
473
|
-
|
|
474
|
-
# The value of the attribute.
|
|
475
|
-
# Corresponds to the JSON property `attributeValue`
|
|
476
|
-
# @return [String]
|
|
477
|
-
attr_accessor :attribute_value
|
|
478
|
-
|
|
479
|
-
# A short section name that can be reused between multiple product details.
|
|
480
|
-
# Corresponds to the JSON property `sectionName`
|
|
481
|
-
# @return [String]
|
|
482
|
-
attr_accessor :section_name
|
|
483
|
-
|
|
484
|
-
# The name of the attribute.
|
|
485
|
-
# Corresponds to the JSON property `attributeName`
|
|
486
|
-
# @return [String]
|
|
487
|
-
attr_accessor :attribute_name
|
|
488
|
-
|
|
489
|
-
def initialize(**args)
|
|
490
|
-
update!(**args)
|
|
491
|
-
end
|
|
492
|
-
|
|
493
|
-
# Update properties of this object
|
|
494
|
-
def update!(**args)
|
|
495
|
-
@attribute_value = args[:attribute_value] if args.key?(:attribute_value)
|
|
496
|
-
@section_name = args[:section_name] if args.key?(:section_name)
|
|
497
|
-
@attribute_name = args[:attribute_name] if args.key?(:attribute_name)
|
|
498
|
-
end
|
|
499
|
-
end
|
|
500
|
-
|
|
501
|
-
# Product issue.
|
|
502
|
-
class Issue
|
|
503
|
-
include Google::Apis::Core::Hashable
|
|
504
|
-
|
|
505
|
-
# Description of the issue.
|
|
506
|
-
# Corresponds to the JSON property `description`
|
|
507
|
-
# @return [String]
|
|
508
|
-
attr_accessor :description
|
|
509
|
-
|
|
510
|
-
# The server-generated type of the issue, for example,
|
|
511
|
-
# “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
|
|
512
|
-
# Corresponds to the JSON property `type`
|
|
513
|
-
# @return [String]
|
|
514
|
-
attr_accessor :type
|
|
515
|
-
|
|
516
|
-
# If present, the attribute that triggered the issue. For more information
|
|
517
|
-
# about attributes, see
|
|
518
|
-
# https://support.google.com/manufacturers/answer/6124116.
|
|
519
|
-
# Corresponds to the JSON property `attribute`
|
|
520
|
-
# @return [String]
|
|
521
|
-
attr_accessor :attribute
|
|
522
|
-
|
|
523
|
-
# The timestamp when this issue appeared.
|
|
524
|
-
# Corresponds to the JSON property `timestamp`
|
|
525
|
-
# @return [String]
|
|
526
|
-
attr_accessor :timestamp
|
|
527
|
-
|
|
528
|
-
# The severity of the issue.
|
|
529
|
-
# Corresponds to the JSON property `severity`
|
|
530
|
-
# @return [String]
|
|
531
|
-
attr_accessor :severity
|
|
532
|
-
|
|
533
|
-
def initialize(**args)
|
|
534
|
-
update!(**args)
|
|
535
|
-
end
|
|
536
|
-
|
|
537
|
-
# Update properties of this object
|
|
538
|
-
def update!(**args)
|
|
539
|
-
@description = args[:description] if args.key?(:description)
|
|
540
|
-
@type = args[:type] if args.key?(:type)
|
|
541
|
-
@attribute = args[:attribute] if args.key?(:attribute)
|
|
542
|
-
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
543
|
-
@severity = args[:severity] if args.key?(:severity)
|
|
544
|
-
end
|
|
545
|
-
end
|
|
546
|
-
|
|
547
|
-
# A feature description of the product. For more information, see
|
|
548
|
-
# https://support.google.com/manufacturers/answer/6124116#featuredesc.
|
|
549
|
-
class FeatureDescription
|
|
550
|
-
include Google::Apis::Core::Hashable
|
|
551
|
-
|
|
552
|
-
# A detailed description of the feature.
|
|
553
|
-
# Corresponds to the JSON property `text`
|
|
554
|
-
# @return [String]
|
|
555
|
-
attr_accessor :text
|
|
556
|
-
|
|
557
|
-
# An image.
|
|
558
|
-
# Corresponds to the JSON property `image`
|
|
559
|
-
# @return [Google::Apis::ManufacturersV1::Image]
|
|
560
|
-
attr_accessor :image
|
|
561
|
-
|
|
562
|
-
# A short description of the feature.
|
|
563
|
-
# Corresponds to the JSON property `headline`
|
|
564
|
-
# @return [String]
|
|
565
|
-
attr_accessor :headline
|
|
566
|
-
|
|
567
|
-
def initialize(**args)
|
|
568
|
-
update!(**args)
|
|
569
|
-
end
|
|
570
|
-
|
|
571
|
-
# Update properties of this object
|
|
572
|
-
def update!(**args)
|
|
573
|
-
@text = args[:text] if args.key?(:text)
|
|
574
|
-
@image = args[:image] if args.key?(:image)
|
|
575
|
-
@headline = args[:headline] if args.key?(:headline)
|
|
576
|
-
end
|
|
577
|
-
end
|
|
578
|
-
|
|
579
|
-
# A price.
|
|
580
|
-
class Price
|
|
581
|
-
include Google::Apis::Core::Hashable
|
|
582
|
-
|
|
583
|
-
# The numeric value of the price.
|
|
584
|
-
# Corresponds to the JSON property `amount`
|
|
585
|
-
# @return [String]
|
|
586
|
-
attr_accessor :amount
|
|
587
|
-
|
|
588
|
-
# The currency in which the price is denoted.
|
|
589
|
-
# Corresponds to the JSON property `currency`
|
|
590
|
-
# @return [String]
|
|
591
|
-
attr_accessor :currency
|
|
592
|
-
|
|
593
|
-
def initialize(**args)
|
|
594
|
-
update!(**args)
|
|
595
|
-
end
|
|
596
|
-
|
|
597
|
-
# Update properties of this object
|
|
598
|
-
def update!(**args)
|
|
599
|
-
@amount = args[:amount] if args.key?(:amount)
|
|
600
|
-
@currency = args[:currency] if args.key?(:currency)
|
|
601
620
|
end
|
|
602
621
|
end
|
|
603
622
|
end
|