google-api-client 0.11.1 → 0.11.2
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 +4 -0
- data/api_names.yaml +42335 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +28 -28
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +757 -757
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +162 -162
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +48 -48
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +75 -7
- data/generated/google/apis/admin_directory_v1/representations.rb +20 -0
- data/generated/google/apis/admin_directory_v1/service.rb +61 -61
- 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 +403 -403
- data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +36 -11
- data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +6 -5
- data/generated/google/apis/appengine_v1/classes.rb +1429 -1421
- data/generated/google/apis/appengine_v1/representations.rb +331 -331
- data/generated/google/apis/appengine_v1/service.rb +173 -168
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +624 -618
- data/generated/google/apis/cloudbuild_v1/representations.rb +126 -125
- data/generated/google/apis/cloudbuild_v1/service.rb +87 -87
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +267 -267
- data/generated/google/apis/clouddebugger_v2/representations.rb +83 -83
- data/generated/google/apis/clouddebugger_v2/service.rb +137 -137
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +131 -131
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +28 -28
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +17 -17
- data/generated/google/apis/cloudfunctions_v1.rb +1 -4
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -47
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +0 -30
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +625 -625
- data/generated/google/apis/cloudkms_v1/representations.rb +132 -132
- data/generated/google/apis/cloudkms_v1/service.rb +272 -272
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +242 -242
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +43 -43
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +505 -505
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +172 -172
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +39 -39
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +310 -310
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +96 -69
- data/generated/google/apis/cloudtrace_v1/representations.rb +16 -16
- data/generated/google/apis/cloudtrace_v1/service.rb +42 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +194 -25
- data/generated/google/apis/compute_beta/representations.rb +42 -0
- data/generated/google/apis/compute_beta/service.rb +196 -100
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +69 -18
- data/generated/google/apis/compute_v1/representations.rb +16 -0
- data/generated/google/apis/compute_v1/service.rb +84 -26
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +794 -586
- data/generated/google/apis/container_v1/representations.rb +202 -118
- data/generated/google/apis/container_v1/service.rb +396 -167
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/service.rb +4 -4
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +487 -484
- data/generated/google/apis/dataproc_v1/representations.rb +83 -83
- data/generated/google/apis/dataproc_v1/service.rb +299 -297
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +703 -703
- data/generated/google/apis/datastore_v1/representations.rb +148 -148
- 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 +7 -5
- data/generated/google/apis/dfareporting_v2_6.rb +1 -1
- data/generated/google/apis/dfareporting_v2_6/classes.rb +66 -53
- data/generated/google/apis/dfareporting_v2_6/service.rb +30 -30
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +69 -55
- data/generated/google/apis/dfareporting_v2_7/service.rb +38 -37
- data/generated/google/apis/dfareporting_v2_8.rb +40 -0
- data/generated/google/apis/dfareporting_v2_8/classes.rb +12046 -0
- data/generated/google/apis/dfareporting_v2_8/representations.rb +4310 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +9135 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +15 -0
- data/generated/google/apis/drive_v2/representations.rb +2 -0
- data/generated/google/apis/drive_v2/service.rb +2 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +16 -0
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +2 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +2 -3
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +159 -159
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +55 -55
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -6
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +73 -73
- data/generated/google/apis/firebaserules_v1/representations.rb +25 -25
- data/generated/google/apis/firebaserules_v1/service.rb +118 -118
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- 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 +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +920 -920
- data/generated/google/apis/genomics_v1/representations.rb +202 -202
- data/generated/google/apis/genomics_v1/service.rb +1092 -1092
- 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 +455 -435
- data/generated/google/apis/iam_v1/representations.rb +96 -93
- data/generated/google/apis/iam_v1/service.rb +157 -157
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +12 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +9 -9
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +455 -455
- data/generated/google/apis/language_v1/representations.rb +102 -102
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +216 -215
- data/generated/google/apis/language_v1beta1/representations.rb +75 -75
- data/generated/google/apis/language_v1beta1/service.rb +45 -45
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +908 -895
- data/generated/google/apis/logging_v2/representations.rb +121 -120
- data/generated/google/apis/logging_v2/service.rb +489 -489
- data/generated/google/apis/logging_v2beta1.rb +4 -4
- data/generated/google/apis/logging_v2beta1/classes.rb +928 -915
- data/generated/google/apis/logging_v2beta1/representations.rb +121 -120
- data/generated/google/apis/logging_v2beta1/service.rb +249 -249
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +294 -294
- data/generated/google/apis/manufacturers_v1/representations.rb +84 -84
- data/generated/google/apis/manufacturers_v1/service.rb +8 -8
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1186 -1183
- data/generated/google/apis/ml_v1/representations.rb +177 -177
- data/generated/google/apis/ml_v1/service.rb +244 -244
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +866 -866
- data/generated/google/apis/monitoring_v3/representations.rb +163 -163
- data/generated/google/apis/monitoring_v3/service.rb +355 -316
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1499 -1499
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +512 -512
- data/generated/google/apis/people_v1.rb +10 -10
- data/generated/google/apis/people_v1/classes.rb +544 -423
- data/generated/google/apis/people_v1/representations.rb +127 -109
- data/generated/google/apis/people_v1/service.rb +8 -8
- 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 +200 -200
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +41 -41
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +80 -80
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +377 -377
- data/generated/google/apis/pubsub_v1/representations.rb +82 -82
- data/generated/google/apis/pubsub_v1/service.rb +93 -93
- data/generated/google/apis/runtimeconfig_v1.rb +6 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +22 -22
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +57 -55
- data/generated/google/apis/script_v1.rb +14 -14
- data/generated/google/apis/script_v1/classes.rb +113 -58
- data/generated/google/apis/script_v1/representations.rb +43 -14
- 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 +67 -67
- data/generated/google/apis/searchconsole_v1/representations.rb +29 -29
- data/generated/google/apis/searchconsole_v1/service.rb +6 -6
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1125 -1125
- data/generated/google/apis/servicecontrol_v1/representations.rb +213 -213
- data/generated/google/apis/servicecontrol_v1/service.rb +92 -92
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +3364 -3622
- data/generated/google/apis/servicemanagement_v1/representations.rb +546 -530
- data/generated/google/apis/servicemanagement_v1/service.rb +262 -152
- data/generated/google/apis/serviceuser_v1.rb +4 -4
- data/generated/google/apis/serviceuser_v1/classes.rb +2616 -2874
- data/generated/google/apis/serviceuser_v1/representations.rb +294 -278
- data/generated/google/apis/serviceuser_v1/service.rb +19 -19
- data/generated/google/apis/sheets_v4.rb +4 -1
- data/generated/google/apis/sheets_v4/classes.rb +4315 -4313
- data/generated/google/apis/sheets_v4/representations.rb +858 -858
- data/generated/google/apis/sheets_v4/service.rb +115 -115
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2890 -2890
- data/generated/google/apis/slides_v1/representations.rb +638 -638
- data/generated/google/apis/slides_v1/service.rb +36 -36
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +283 -283
- data/generated/google/apis/sourcerepo_v1/representations.rb +67 -67
- data/generated/google/apis/sourcerepo_v1/service.rb +88 -88
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2258 -2233
- data/generated/google/apis/spanner_v1/representations.rb +325 -325
- data/generated/google/apis/spanner_v1/service.rb +466 -466
- data/generated/google/apis/speech_v1beta1.rb +2 -2
- data/generated/google/apis/speech_v1beta1/classes.rb +97 -97
- data/generated/google/apis/speech_v1beta1/representations.rb +29 -29
- data/generated/google/apis/speech_v1beta1/service.rb +49 -49
- 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 +786 -786
- data/generated/google/apis/storagetransfer_v1/representations.rb +133 -133
- data/generated/google/apis/storagetransfer_v1/service.rb +30 -30
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/surveys_v2/classes.rb +0 -12
- data/generated/google/apis/surveys_v2/representations.rb +0 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1301 -1302
- data/generated/google/apis/vision_v1/representations.rb +183 -183
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +10 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +64 -64
- data/generated/google/apis/youtubereporting_v1/representations.rb +12 -12
- data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
- data/lib/google/apis/version.rb +1 -1
- metadata +7 -3
|
@@ -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 = '20170412'
|
|
29
29
|
|
|
30
30
|
# Manage your product listings for Google Manufacturer Center
|
|
31
31
|
AUTH_MANUFACTURERCENTER = 'https://www.googleapis.com/auth/manufacturercenter'
|
|
@@ -22,253 +22,11 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module ManufacturersV1
|
|
24
24
|
|
|
25
|
-
#
|
|
26
|
-
class ListProductsResponse
|
|
27
|
-
include Google::Apis::Core::Hashable
|
|
28
|
-
|
|
29
|
-
# List of the products.
|
|
30
|
-
# Corresponds to the JSON property `products`
|
|
31
|
-
# @return [Array<Google::Apis::ManufacturersV1::Product>]
|
|
32
|
-
attr_accessor :products
|
|
33
|
-
|
|
34
|
-
# The token for the retrieval of the next page of product statuses.
|
|
35
|
-
# Corresponds to the JSON property `nextPageToken`
|
|
36
|
-
# @return [String]
|
|
37
|
-
attr_accessor :next_page_token
|
|
38
|
-
|
|
39
|
-
def initialize(**args)
|
|
40
|
-
update!(**args)
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
# Update properties of this object
|
|
44
|
-
def update!(**args)
|
|
45
|
-
@products = args[:products] if args.key?(:products)
|
|
46
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
47
|
-
end
|
|
48
|
-
end
|
|
49
|
-
|
|
50
|
-
# A product detail of the product. For more information, see
|
|
51
|
-
# https://support.google.com/manufacturers/answer/6124116#productdetail.
|
|
52
|
-
class ProductDetail
|
|
53
|
-
include Google::Apis::Core::Hashable
|
|
54
|
-
|
|
55
|
-
# The value of the attribute.
|
|
56
|
-
# Corresponds to the JSON property `attributeValue`
|
|
57
|
-
# @return [String]
|
|
58
|
-
attr_accessor :attribute_value
|
|
59
|
-
|
|
60
|
-
# A short section name that can be reused between multiple product details.
|
|
61
|
-
# Corresponds to the JSON property `sectionName`
|
|
62
|
-
# @return [String]
|
|
63
|
-
attr_accessor :section_name
|
|
64
|
-
|
|
65
|
-
# The name of the attribute.
|
|
66
|
-
# Corresponds to the JSON property `attributeName`
|
|
67
|
-
# @return [String]
|
|
68
|
-
attr_accessor :attribute_name
|
|
69
|
-
|
|
70
|
-
def initialize(**args)
|
|
71
|
-
update!(**args)
|
|
72
|
-
end
|
|
73
|
-
|
|
74
|
-
# Update properties of this object
|
|
75
|
-
def update!(**args)
|
|
76
|
-
@attribute_value = args[:attribute_value] if args.key?(:attribute_value)
|
|
77
|
-
@section_name = args[:section_name] if args.key?(:section_name)
|
|
78
|
-
@attribute_name = args[:attribute_name] if args.key?(:attribute_name)
|
|
79
|
-
end
|
|
80
|
-
end
|
|
81
|
-
|
|
82
|
-
# Product issue.
|
|
83
|
-
class Issue
|
|
84
|
-
include Google::Apis::Core::Hashable
|
|
85
|
-
|
|
86
|
-
# The timestamp when this issue appeared.
|
|
87
|
-
# Corresponds to the JSON property `timestamp`
|
|
88
|
-
# @return [String]
|
|
89
|
-
attr_accessor :timestamp
|
|
90
|
-
|
|
91
|
-
# The severity of the issue.
|
|
92
|
-
# Corresponds to the JSON property `severity`
|
|
93
|
-
# @return [String]
|
|
94
|
-
attr_accessor :severity
|
|
95
|
-
|
|
96
|
-
# Description of the issue.
|
|
97
|
-
# Corresponds to the JSON property `description`
|
|
98
|
-
# @return [String]
|
|
99
|
-
attr_accessor :description
|
|
100
|
-
|
|
101
|
-
# The server-generated type of the issue, for example,
|
|
102
|
-
# “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
|
|
103
|
-
# Corresponds to the JSON property `type`
|
|
104
|
-
# @return [String]
|
|
105
|
-
attr_accessor :type
|
|
106
|
-
|
|
107
|
-
# If present, the attribute that triggered the issue. For more information
|
|
108
|
-
# about attributes, see
|
|
109
|
-
# https://support.google.com/manufacturers/answer/6124116.
|
|
110
|
-
# Corresponds to the JSON property `attribute`
|
|
111
|
-
# @return [String]
|
|
112
|
-
attr_accessor :attribute
|
|
113
|
-
|
|
114
|
-
def initialize(**args)
|
|
115
|
-
update!(**args)
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
# Update properties of this object
|
|
119
|
-
def update!(**args)
|
|
120
|
-
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
121
|
-
@severity = args[:severity] if args.key?(:severity)
|
|
122
|
-
@description = args[:description] if args.key?(:description)
|
|
123
|
-
@type = args[:type] if args.key?(:type)
|
|
124
|
-
@attribute = args[:attribute] if args.key?(:attribute)
|
|
125
|
-
end
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
# A feature description of the product. For more information, see
|
|
129
|
-
# https://support.google.com/manufacturers/answer/6124116#featuredesc.
|
|
130
|
-
class FeatureDescription
|
|
131
|
-
include Google::Apis::Core::Hashable
|
|
132
|
-
|
|
133
|
-
# A detailed description of the feature.
|
|
134
|
-
# Corresponds to the JSON property `text`
|
|
135
|
-
# @return [String]
|
|
136
|
-
attr_accessor :text
|
|
137
|
-
|
|
138
|
-
# An image.
|
|
139
|
-
# Corresponds to the JSON property `image`
|
|
140
|
-
# @return [Google::Apis::ManufacturersV1::Image]
|
|
141
|
-
attr_accessor :image
|
|
142
|
-
|
|
143
|
-
# A short description of the feature.
|
|
144
|
-
# Corresponds to the JSON property `headline`
|
|
145
|
-
# @return [String]
|
|
146
|
-
attr_accessor :headline
|
|
147
|
-
|
|
148
|
-
def initialize(**args)
|
|
149
|
-
update!(**args)
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
# Update properties of this object
|
|
153
|
-
def update!(**args)
|
|
154
|
-
@text = args[:text] if args.key?(:text)
|
|
155
|
-
@image = args[:image] if args.key?(:image)
|
|
156
|
-
@headline = args[:headline] if args.key?(:headline)
|
|
157
|
-
end
|
|
158
|
-
end
|
|
159
|
-
|
|
160
|
-
# A price.
|
|
161
|
-
class Price
|
|
162
|
-
include Google::Apis::Core::Hashable
|
|
163
|
-
|
|
164
|
-
# The currency in which the price is denoted.
|
|
165
|
-
# Corresponds to the JSON property `currency`
|
|
166
|
-
# @return [String]
|
|
167
|
-
attr_accessor :currency
|
|
168
|
-
|
|
169
|
-
# The numeric value of the price.
|
|
170
|
-
# Corresponds to the JSON property `amount`
|
|
171
|
-
# @return [String]
|
|
172
|
-
attr_accessor :amount
|
|
173
|
-
|
|
174
|
-
def initialize(**args)
|
|
175
|
-
update!(**args)
|
|
176
|
-
end
|
|
177
|
-
|
|
178
|
-
# Update properties of this object
|
|
179
|
-
def update!(**args)
|
|
180
|
-
@currency = args[:currency] if args.key?(:currency)
|
|
181
|
-
@amount = args[:amount] if args.key?(:amount)
|
|
182
|
-
end
|
|
183
|
-
end
|
|
184
|
-
|
|
185
|
-
# An image.
|
|
186
|
-
class Image
|
|
187
|
-
include Google::Apis::Core::Hashable
|
|
188
|
-
|
|
189
|
-
# The status of the image.
|
|
190
|
-
# @OutputOnly
|
|
191
|
-
# Corresponds to the JSON property `status`
|
|
192
|
-
# @return [String]
|
|
193
|
-
attr_accessor :status
|
|
194
|
-
|
|
195
|
-
# The type of the image, i.e., crawled or uploaded.
|
|
196
|
-
# @OutputOnly
|
|
197
|
-
# Corresponds to the JSON property `type`
|
|
198
|
-
# @return [String]
|
|
199
|
-
attr_accessor :type
|
|
200
|
-
|
|
201
|
-
# The URL of the image. For crawled images, this is the provided URL. For
|
|
202
|
-
# uploaded images, this is a serving URL from Google if the image has been
|
|
203
|
-
# processed successfully.
|
|
204
|
-
# Corresponds to the JSON property `imageUrl`
|
|
205
|
-
# @return [String]
|
|
206
|
-
attr_accessor :image_url
|
|
207
|
-
|
|
208
|
-
def initialize(**args)
|
|
209
|
-
update!(**args)
|
|
210
|
-
end
|
|
211
|
-
|
|
212
|
-
# Update properties of this object
|
|
213
|
-
def update!(**args)
|
|
214
|
-
@status = args[:status] if args.key?(:status)
|
|
215
|
-
@type = args[:type] if args.key?(:type)
|
|
216
|
-
@image_url = args[:image_url] if args.key?(:image_url)
|
|
217
|
-
end
|
|
218
|
-
end
|
|
219
|
-
|
|
220
25
|
# Attributes of the product. For more information, see
|
|
221
26
|
# https://support.google.com/manufacturers/answer/6124116.
|
|
222
27
|
class Attributes
|
|
223
28
|
include Google::Apis::Core::Hashable
|
|
224
29
|
|
|
225
|
-
# The pattern of the product. For more information, see
|
|
226
|
-
# https://support.google.com/manufacturers/answer/6124116#pattern.
|
|
227
|
-
# Corresponds to the JSON property `pattern`
|
|
228
|
-
# @return [String]
|
|
229
|
-
attr_accessor :pattern
|
|
230
|
-
|
|
231
|
-
# An image.
|
|
232
|
-
# Corresponds to the JSON property `imageLink`
|
|
233
|
-
# @return [Google::Apis::ManufacturersV1::Image]
|
|
234
|
-
attr_accessor :image_link
|
|
235
|
-
|
|
236
|
-
# The category of the product. For more information, see
|
|
237
|
-
# https://support.google.com/manufacturers/answer/6124116#producttype.
|
|
238
|
-
# Corresponds to the JSON property `productType`
|
|
239
|
-
# @return [Array<String>]
|
|
240
|
-
attr_accessor :product_type
|
|
241
|
-
|
|
242
|
-
# The format of the product. For more information, see
|
|
243
|
-
# https://support.google.com/manufacturers/answer/6124116#format.
|
|
244
|
-
# Corresponds to the JSON property `format`
|
|
245
|
-
# @return [String]
|
|
246
|
-
attr_accessor :format
|
|
247
|
-
|
|
248
|
-
# The additional images of the product. For more information, see
|
|
249
|
-
# https://support.google.com/manufacturers/answer/6124116#addlimage.
|
|
250
|
-
# Corresponds to the JSON property `additionalImageLink`
|
|
251
|
-
# @return [Array<Google::Apis::ManufacturersV1::Image>]
|
|
252
|
-
attr_accessor :additional_image_link
|
|
253
|
-
|
|
254
|
-
# The videos of the product. For more information, see
|
|
255
|
-
# https://support.google.com/manufacturers/answer/6124116#video.
|
|
256
|
-
# Corresponds to the JSON property `videoLink`
|
|
257
|
-
# @return [Array<String>]
|
|
258
|
-
attr_accessor :video_link
|
|
259
|
-
|
|
260
|
-
# The color of the product. For more information, see
|
|
261
|
-
# https://support.google.com/manufacturers/answer/6124116#color.
|
|
262
|
-
# Corresponds to the JSON property `color`
|
|
263
|
-
# @return [String]
|
|
264
|
-
attr_accessor :color
|
|
265
|
-
|
|
266
|
-
# The canonical name of the product. For more information, see
|
|
267
|
-
# https://support.google.com/manufacturers/answer/6124116#productname.
|
|
268
|
-
# Corresponds to the JSON property `productName`
|
|
269
|
-
# @return [String]
|
|
270
|
-
attr_accessor :product_name
|
|
271
|
-
|
|
272
30
|
# The size type of the product. For more information, see
|
|
273
31
|
# https://support.google.com/manufacturers/answer/6124116#sizetype.
|
|
274
32
|
# Corresponds to the JSON property `sizeType`
|
|
@@ -310,30 +68,24 @@ module Google
|
|
|
310
68
|
# @return [String]
|
|
311
69
|
attr_accessor :brand
|
|
312
70
|
|
|
313
|
-
# The material of the product. For more information, see
|
|
314
|
-
# https://support.google.com/manufacturers/answer/6124116#material.
|
|
315
|
-
# Corresponds to the JSON property `material`
|
|
316
|
-
# @return [String]
|
|
317
|
-
attr_accessor :material
|
|
318
|
-
|
|
319
71
|
# The disclosure date of the product. For more information, see
|
|
320
72
|
# https://support.google.com/manufacturers/answer/6124116#disclosure.
|
|
321
73
|
# Corresponds to the JSON property `disclosureDate`
|
|
322
74
|
# @return [String]
|
|
323
75
|
attr_accessor :disclosure_date
|
|
324
76
|
|
|
77
|
+
# The material of the product. For more information, see
|
|
78
|
+
# https://support.google.com/manufacturers/answer/6124116#material.
|
|
79
|
+
# Corresponds to the JSON property `material`
|
|
80
|
+
# @return [String]
|
|
81
|
+
attr_accessor :material
|
|
82
|
+
|
|
325
83
|
# The scent of the product. For more information, see
|
|
326
84
|
# https://support.google.com/manufacturers/answer/6124116#scent.
|
|
327
85
|
# Corresponds to the JSON property `scent`
|
|
328
86
|
# @return [String]
|
|
329
87
|
attr_accessor :scent
|
|
330
88
|
|
|
331
|
-
# The target age group of the product. For more information, see
|
|
332
|
-
# https://support.google.com/manufacturers/answer/6124116#agegroup.
|
|
333
|
-
# Corresponds to the JSON property `ageGroup`
|
|
334
|
-
# @return [String]
|
|
335
|
-
attr_accessor :age_group
|
|
336
|
-
|
|
337
89
|
# The flavor of the product. For more information, see
|
|
338
90
|
# https://support.google.com/manufacturers/answer/6124116#flavor.
|
|
339
91
|
# Corresponds to the JSON property `flavor`
|
|
@@ -346,6 +98,12 @@ module Google
|
|
|
346
98
|
# @return [Array<Google::Apis::ManufacturersV1::ProductDetail>]
|
|
347
99
|
attr_accessor :product_detail
|
|
348
100
|
|
|
101
|
+
# The target age group of the product. For more information, see
|
|
102
|
+
# https://support.google.com/manufacturers/answer/6124116#agegroup.
|
|
103
|
+
# Corresponds to the JSON property `ageGroup`
|
|
104
|
+
# @return [String]
|
|
105
|
+
attr_accessor :age_group
|
|
106
|
+
|
|
349
107
|
# The Manufacturer Part Number (MPN) of the product. For more information,
|
|
350
108
|
# see https://support.google.com/manufacturers/answer/6124116#mpn.
|
|
351
109
|
# Corresponds to the JSON property `mpn`
|
|
@@ -413,20 +171,59 @@ module Google
|
|
|
413
171
|
# @return [String]
|
|
414
172
|
attr_accessor :theme
|
|
415
173
|
|
|
174
|
+
# The pattern of the product. For more information, see
|
|
175
|
+
# https://support.google.com/manufacturers/answer/6124116#pattern.
|
|
176
|
+
# Corresponds to the JSON property `pattern`
|
|
177
|
+
# @return [String]
|
|
178
|
+
attr_accessor :pattern
|
|
179
|
+
|
|
180
|
+
# An image.
|
|
181
|
+
# Corresponds to the JSON property `imageLink`
|
|
182
|
+
# @return [Google::Apis::ManufacturersV1::Image]
|
|
183
|
+
attr_accessor :image_link
|
|
184
|
+
|
|
185
|
+
# The category of the product. For more information, see
|
|
186
|
+
# https://support.google.com/manufacturers/answer/6124116#producttype.
|
|
187
|
+
# Corresponds to the JSON property `productType`
|
|
188
|
+
# @return [Array<String>]
|
|
189
|
+
attr_accessor :product_type
|
|
190
|
+
|
|
191
|
+
# The format of the product. For more information, see
|
|
192
|
+
# https://support.google.com/manufacturers/answer/6124116#format.
|
|
193
|
+
# Corresponds to the JSON property `format`
|
|
194
|
+
# @return [String]
|
|
195
|
+
attr_accessor :format
|
|
196
|
+
|
|
197
|
+
# The additional images of the product. For more information, see
|
|
198
|
+
# https://support.google.com/manufacturers/answer/6124116#addlimage.
|
|
199
|
+
# Corresponds to the JSON property `additionalImageLink`
|
|
200
|
+
# @return [Array<Google::Apis::ManufacturersV1::Image>]
|
|
201
|
+
attr_accessor :additional_image_link
|
|
202
|
+
|
|
203
|
+
# The videos of the product. For more information, see
|
|
204
|
+
# https://support.google.com/manufacturers/answer/6124116#video.
|
|
205
|
+
# Corresponds to the JSON property `videoLink`
|
|
206
|
+
# @return [Array<String>]
|
|
207
|
+
attr_accessor :video_link
|
|
208
|
+
|
|
209
|
+
# The color of the product. For more information, see
|
|
210
|
+
# https://support.google.com/manufacturers/answer/6124116#color.
|
|
211
|
+
# Corresponds to the JSON property `color`
|
|
212
|
+
# @return [String]
|
|
213
|
+
attr_accessor :color
|
|
214
|
+
|
|
215
|
+
# The canonical name of the product. For more information, see
|
|
216
|
+
# https://support.google.com/manufacturers/answer/6124116#productname.
|
|
217
|
+
# Corresponds to the JSON property `productName`
|
|
218
|
+
# @return [String]
|
|
219
|
+
attr_accessor :product_name
|
|
220
|
+
|
|
416
221
|
def initialize(**args)
|
|
417
222
|
update!(**args)
|
|
418
223
|
end
|
|
419
224
|
|
|
420
225
|
# Update properties of this object
|
|
421
226
|
def update!(**args)
|
|
422
|
-
@pattern = args[:pattern] if args.key?(:pattern)
|
|
423
|
-
@image_link = args[:image_link] if args.key?(:image_link)
|
|
424
|
-
@product_type = args[:product_type] if args.key?(:product_type)
|
|
425
|
-
@format = args[:format] if args.key?(:format)
|
|
426
|
-
@additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link)
|
|
427
|
-
@video_link = args[:video_link] if args.key?(:video_link)
|
|
428
|
-
@color = args[:color] if args.key?(:color)
|
|
429
|
-
@product_name = args[:product_name] if args.key?(:product_name)
|
|
430
227
|
@size_type = args[:size_type] if args.key?(:size_type)
|
|
431
228
|
@suggested_retail_price = args[:suggested_retail_price] if args.key?(:suggested_retail_price)
|
|
432
229
|
@feature_description = args[:feature_description] if args.key?(:feature_description)
|
|
@@ -434,12 +231,12 @@ module Google
|
|
|
434
231
|
@title = args[:title] if args.key?(:title)
|
|
435
232
|
@count = args[:count] if args.key?(:count)
|
|
436
233
|
@brand = args[:brand] if args.key?(:brand)
|
|
437
|
-
@material = args[:material] if args.key?(:material)
|
|
438
234
|
@disclosure_date = args[:disclosure_date] if args.key?(:disclosure_date)
|
|
235
|
+
@material = args[:material] if args.key?(:material)
|
|
439
236
|
@scent = args[:scent] if args.key?(:scent)
|
|
440
|
-
@age_group = args[:age_group] if args.key?(:age_group)
|
|
441
237
|
@flavor = args[:flavor] if args.key?(:flavor)
|
|
442
238
|
@product_detail = args[:product_detail] if args.key?(:product_detail)
|
|
239
|
+
@age_group = args[:age_group] if args.key?(:age_group)
|
|
443
240
|
@mpn = args[:mpn] if args.key?(:mpn)
|
|
444
241
|
@product_page_url = args[:product_page_url] if args.key?(:product_page_url)
|
|
445
242
|
@release_date = args[:release_date] if args.key?(:release_date)
|
|
@@ -451,6 +248,14 @@ module Google
|
|
|
451
248
|
@gender = args[:gender] if args.key?(:gender)
|
|
452
249
|
@size_system = args[:size_system] if args.key?(:size_system)
|
|
453
250
|
@theme = args[:theme] if args.key?(:theme)
|
|
251
|
+
@pattern = args[:pattern] if args.key?(:pattern)
|
|
252
|
+
@image_link = args[:image_link] if args.key?(:image_link)
|
|
253
|
+
@product_type = args[:product_type] if args.key?(:product_type)
|
|
254
|
+
@format = args[:format] if args.key?(:format)
|
|
255
|
+
@additional_image_link = args[:additional_image_link] if args.key?(:additional_image_link)
|
|
256
|
+
@video_link = args[:video_link] if args.key?(:video_link)
|
|
257
|
+
@color = args[:color] if args.key?(:color)
|
|
258
|
+
@product_name = args[:product_name] if args.key?(:product_name)
|
|
454
259
|
end
|
|
455
260
|
end
|
|
456
261
|
|
|
@@ -484,32 +289,6 @@ module Google
|
|
|
484
289
|
class Product
|
|
485
290
|
include Google::Apis::Core::Hashable
|
|
486
291
|
|
|
487
|
-
# A server-generated list of issues associated with the product.
|
|
488
|
-
# @OutputOnly
|
|
489
|
-
# Corresponds to the JSON property `issues`
|
|
490
|
-
# @return [Array<Google::Apis::ManufacturersV1::Issue>]
|
|
491
|
-
attr_accessor :issues
|
|
492
|
-
|
|
493
|
-
# Names of the attributes of the product deleted manually via the
|
|
494
|
-
# Manufacturer Center UI.
|
|
495
|
-
# @OutputOnly
|
|
496
|
-
# Corresponds to the JSON property `manuallyDeletedAttributes`
|
|
497
|
-
# @return [Array<String>]
|
|
498
|
-
attr_accessor :manually_deleted_attributes
|
|
499
|
-
|
|
500
|
-
# Attributes of the product. For more information, see
|
|
501
|
-
# https://support.google.com/manufacturers/answer/6124116.
|
|
502
|
-
# Corresponds to the JSON property `finalAttributes`
|
|
503
|
-
# @return [Google::Apis::ManufacturersV1::Attributes]
|
|
504
|
-
attr_accessor :final_attributes
|
|
505
|
-
|
|
506
|
-
# The ID of the product. For more information, see
|
|
507
|
-
# https://support.google.com/manufacturers/answer/6124116#id.
|
|
508
|
-
# @OutputOnly
|
|
509
|
-
# Corresponds to the JSON property `productId`
|
|
510
|
-
# @return [String]
|
|
511
|
-
attr_accessor :product_id
|
|
512
|
-
|
|
513
292
|
# Attributes of the product. For more information, see
|
|
514
293
|
# https://support.google.com/manufacturers/answer/6124116.
|
|
515
294
|
# Corresponds to the JSON property `uploadedAttributes`
|
|
@@ -556,22 +335,48 @@ module Google
|
|
|
556
335
|
# @return [String]
|
|
557
336
|
attr_accessor :name
|
|
558
337
|
|
|
338
|
+
# A server-generated list of issues associated with the product.
|
|
339
|
+
# @OutputOnly
|
|
340
|
+
# Corresponds to the JSON property `issues`
|
|
341
|
+
# @return [Array<Google::Apis::ManufacturersV1::Issue>]
|
|
342
|
+
attr_accessor :issues
|
|
343
|
+
|
|
344
|
+
# Names of the attributes of the product deleted manually via the
|
|
345
|
+
# Manufacturer Center UI.
|
|
346
|
+
# @OutputOnly
|
|
347
|
+
# Corresponds to the JSON property `manuallyDeletedAttributes`
|
|
348
|
+
# @return [Array<String>]
|
|
349
|
+
attr_accessor :manually_deleted_attributes
|
|
350
|
+
|
|
351
|
+
# Attributes of the product. For more information, see
|
|
352
|
+
# https://support.google.com/manufacturers/answer/6124116.
|
|
353
|
+
# Corresponds to the JSON property `finalAttributes`
|
|
354
|
+
# @return [Google::Apis::ManufacturersV1::Attributes]
|
|
355
|
+
attr_accessor :final_attributes
|
|
356
|
+
|
|
357
|
+
# The ID of the product. For more information, see
|
|
358
|
+
# https://support.google.com/manufacturers/answer/6124116#id.
|
|
359
|
+
# @OutputOnly
|
|
360
|
+
# Corresponds to the JSON property `productId`
|
|
361
|
+
# @return [String]
|
|
362
|
+
attr_accessor :product_id
|
|
363
|
+
|
|
559
364
|
def initialize(**args)
|
|
560
365
|
update!(**args)
|
|
561
366
|
end
|
|
562
367
|
|
|
563
368
|
# Update properties of this object
|
|
564
369
|
def update!(**args)
|
|
565
|
-
@issues = args[:issues] if args.key?(:issues)
|
|
566
|
-
@manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes)
|
|
567
|
-
@final_attributes = args[:final_attributes] if args.key?(:final_attributes)
|
|
568
|
-
@product_id = args[:product_id] if args.key?(:product_id)
|
|
569
370
|
@uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes)
|
|
570
371
|
@parent = args[:parent] if args.key?(:parent)
|
|
571
372
|
@manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes)
|
|
572
373
|
@content_language = args[:content_language] if args.key?(:content_language)
|
|
573
374
|
@target_country = args[:target_country] if args.key?(:target_country)
|
|
574
375
|
@name = args[:name] if args.key?(:name)
|
|
376
|
+
@issues = args[:issues] if args.key?(:issues)
|
|
377
|
+
@manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes)
|
|
378
|
+
@final_attributes = args[:final_attributes] if args.key?(:final_attributes)
|
|
379
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
|
575
380
|
end
|
|
576
381
|
end
|
|
577
382
|
|
|
@@ -600,6 +405,201 @@ module Google
|
|
|
600
405
|
@unit = args[:unit] if args.key?(:unit)
|
|
601
406
|
end
|
|
602
407
|
end
|
|
408
|
+
|
|
409
|
+
#
|
|
410
|
+
class ListProductsResponse
|
|
411
|
+
include Google::Apis::Core::Hashable
|
|
412
|
+
|
|
413
|
+
# The token for the retrieval of the next page of product statuses.
|
|
414
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
415
|
+
# @return [String]
|
|
416
|
+
attr_accessor :next_page_token
|
|
417
|
+
|
|
418
|
+
# List of the products.
|
|
419
|
+
# Corresponds to the JSON property `products`
|
|
420
|
+
# @return [Array<Google::Apis::ManufacturersV1::Product>]
|
|
421
|
+
attr_accessor :products
|
|
422
|
+
|
|
423
|
+
def initialize(**args)
|
|
424
|
+
update!(**args)
|
|
425
|
+
end
|
|
426
|
+
|
|
427
|
+
# Update properties of this object
|
|
428
|
+
def update!(**args)
|
|
429
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
430
|
+
@products = args[:products] if args.key?(:products)
|
|
431
|
+
end
|
|
432
|
+
end
|
|
433
|
+
|
|
434
|
+
# A product detail of the product. For more information, see
|
|
435
|
+
# https://support.google.com/manufacturers/answer/6124116#productdetail.
|
|
436
|
+
class ProductDetail
|
|
437
|
+
include Google::Apis::Core::Hashable
|
|
438
|
+
|
|
439
|
+
# The value of the attribute.
|
|
440
|
+
# Corresponds to the JSON property `attributeValue`
|
|
441
|
+
# @return [String]
|
|
442
|
+
attr_accessor :attribute_value
|
|
443
|
+
|
|
444
|
+
# A short section name that can be reused between multiple product details.
|
|
445
|
+
# Corresponds to the JSON property `sectionName`
|
|
446
|
+
# @return [String]
|
|
447
|
+
attr_accessor :section_name
|
|
448
|
+
|
|
449
|
+
# The name of the attribute.
|
|
450
|
+
# Corresponds to the JSON property `attributeName`
|
|
451
|
+
# @return [String]
|
|
452
|
+
attr_accessor :attribute_name
|
|
453
|
+
|
|
454
|
+
def initialize(**args)
|
|
455
|
+
update!(**args)
|
|
456
|
+
end
|
|
457
|
+
|
|
458
|
+
# Update properties of this object
|
|
459
|
+
def update!(**args)
|
|
460
|
+
@attribute_value = args[:attribute_value] if args.key?(:attribute_value)
|
|
461
|
+
@section_name = args[:section_name] if args.key?(:section_name)
|
|
462
|
+
@attribute_name = args[:attribute_name] if args.key?(:attribute_name)
|
|
463
|
+
end
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
# Product issue.
|
|
467
|
+
class Issue
|
|
468
|
+
include Google::Apis::Core::Hashable
|
|
469
|
+
|
|
470
|
+
# If present, the attribute that triggered the issue. For more information
|
|
471
|
+
# about attributes, see
|
|
472
|
+
# https://support.google.com/manufacturers/answer/6124116.
|
|
473
|
+
# Corresponds to the JSON property `attribute`
|
|
474
|
+
# @return [String]
|
|
475
|
+
attr_accessor :attribute
|
|
476
|
+
|
|
477
|
+
# The timestamp when this issue appeared.
|
|
478
|
+
# Corresponds to the JSON property `timestamp`
|
|
479
|
+
# @return [String]
|
|
480
|
+
attr_accessor :timestamp
|
|
481
|
+
|
|
482
|
+
# The severity of the issue.
|
|
483
|
+
# Corresponds to the JSON property `severity`
|
|
484
|
+
# @return [String]
|
|
485
|
+
attr_accessor :severity
|
|
486
|
+
|
|
487
|
+
# Description of the issue.
|
|
488
|
+
# Corresponds to the JSON property `description`
|
|
489
|
+
# @return [String]
|
|
490
|
+
attr_accessor :description
|
|
491
|
+
|
|
492
|
+
# The server-generated type of the issue, for example,
|
|
493
|
+
# “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
|
|
494
|
+
# Corresponds to the JSON property `type`
|
|
495
|
+
# @return [String]
|
|
496
|
+
attr_accessor :type
|
|
497
|
+
|
|
498
|
+
def initialize(**args)
|
|
499
|
+
update!(**args)
|
|
500
|
+
end
|
|
501
|
+
|
|
502
|
+
# Update properties of this object
|
|
503
|
+
def update!(**args)
|
|
504
|
+
@attribute = args[:attribute] if args.key?(:attribute)
|
|
505
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
|
506
|
+
@severity = args[:severity] if args.key?(:severity)
|
|
507
|
+
@description = args[:description] if args.key?(:description)
|
|
508
|
+
@type = args[:type] if args.key?(:type)
|
|
509
|
+
end
|
|
510
|
+
end
|
|
511
|
+
|
|
512
|
+
# A feature description of the product. For more information, see
|
|
513
|
+
# https://support.google.com/manufacturers/answer/6124116#featuredesc.
|
|
514
|
+
class FeatureDescription
|
|
515
|
+
include Google::Apis::Core::Hashable
|
|
516
|
+
|
|
517
|
+
# A short description of the feature.
|
|
518
|
+
# Corresponds to the JSON property `headline`
|
|
519
|
+
# @return [String]
|
|
520
|
+
attr_accessor :headline
|
|
521
|
+
|
|
522
|
+
# A detailed description of the feature.
|
|
523
|
+
# Corresponds to the JSON property `text`
|
|
524
|
+
# @return [String]
|
|
525
|
+
attr_accessor :text
|
|
526
|
+
|
|
527
|
+
# An image.
|
|
528
|
+
# Corresponds to the JSON property `image`
|
|
529
|
+
# @return [Google::Apis::ManufacturersV1::Image]
|
|
530
|
+
attr_accessor :image
|
|
531
|
+
|
|
532
|
+
def initialize(**args)
|
|
533
|
+
update!(**args)
|
|
534
|
+
end
|
|
535
|
+
|
|
536
|
+
# Update properties of this object
|
|
537
|
+
def update!(**args)
|
|
538
|
+
@headline = args[:headline] if args.key?(:headline)
|
|
539
|
+
@text = args[:text] if args.key?(:text)
|
|
540
|
+
@image = args[:image] if args.key?(:image)
|
|
541
|
+
end
|
|
542
|
+
end
|
|
543
|
+
|
|
544
|
+
# A price.
|
|
545
|
+
class Price
|
|
546
|
+
include Google::Apis::Core::Hashable
|
|
547
|
+
|
|
548
|
+
# The currency in which the price is denoted.
|
|
549
|
+
# Corresponds to the JSON property `currency`
|
|
550
|
+
# @return [String]
|
|
551
|
+
attr_accessor :currency
|
|
552
|
+
|
|
553
|
+
# The numeric value of the price.
|
|
554
|
+
# Corresponds to the JSON property `amount`
|
|
555
|
+
# @return [String]
|
|
556
|
+
attr_accessor :amount
|
|
557
|
+
|
|
558
|
+
def initialize(**args)
|
|
559
|
+
update!(**args)
|
|
560
|
+
end
|
|
561
|
+
|
|
562
|
+
# Update properties of this object
|
|
563
|
+
def update!(**args)
|
|
564
|
+
@currency = args[:currency] if args.key?(:currency)
|
|
565
|
+
@amount = args[:amount] if args.key?(:amount)
|
|
566
|
+
end
|
|
567
|
+
end
|
|
568
|
+
|
|
569
|
+
# An image.
|
|
570
|
+
class Image
|
|
571
|
+
include Google::Apis::Core::Hashable
|
|
572
|
+
|
|
573
|
+
# The URL of the image. For crawled images, this is the provided URL. For
|
|
574
|
+
# uploaded images, this is a serving URL from Google if the image has been
|
|
575
|
+
# processed successfully.
|
|
576
|
+
# Corresponds to the JSON property `imageUrl`
|
|
577
|
+
# @return [String]
|
|
578
|
+
attr_accessor :image_url
|
|
579
|
+
|
|
580
|
+
# The status of the image.
|
|
581
|
+
# @OutputOnly
|
|
582
|
+
# Corresponds to the JSON property `status`
|
|
583
|
+
# @return [String]
|
|
584
|
+
attr_accessor :status
|
|
585
|
+
|
|
586
|
+
# The type of the image, i.e., crawled or uploaded.
|
|
587
|
+
# @OutputOnly
|
|
588
|
+
# Corresponds to the JSON property `type`
|
|
589
|
+
# @return [String]
|
|
590
|
+
attr_accessor :type
|
|
591
|
+
|
|
592
|
+
def initialize(**args)
|
|
593
|
+
update!(**args)
|
|
594
|
+
end
|
|
595
|
+
|
|
596
|
+
# Update properties of this object
|
|
597
|
+
def update!(**args)
|
|
598
|
+
@image_url = args[:image_url] if args.key?(:image_url)
|
|
599
|
+
@status = args[:status] if args.key?(:status)
|
|
600
|
+
@type = args[:type] if args.key?(:type)
|
|
601
|
+
end
|
|
602
|
+
end
|
|
603
603
|
end
|
|
604
604
|
end
|
|
605
605
|
end
|