google-api-client 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/api_names.yaml +37747 -36512
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1016 -114
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +426 -22
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +481 -95
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +27 -10
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +428 -428
- 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 +60 -66
- data/generated/google/apis/androidenterprise_v1/service.rb +12 -11
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +3 -3
- data/generated/google/apis/appsactivity_v1/service.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 +34 -8
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +3 -5
- data/generated/google/apis/classroom_v1.rb +25 -22
- data/generated/google/apis/classroom_v1/classes.rb +910 -1001
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1064 -1272
- data/generated/google/apis/cloudbilling_v1.rb +3 -3
- data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
- data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
- data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +238 -238
- data/generated/google/apis/cloudbuild_v1/representations.rb +48 -48
- data/generated/google/apis/cloudbuild_v1/service.rb +176 -176
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +315 -315
- data/generated/google/apis/clouddebugger_v2/representations.rb +90 -90
- data/generated/google/apis/clouddebugger_v2/service.rb +152 -152
- data/generated/google/apis/cloudkms_v1.rb +35 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +1039 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1/service.rb +933 -0
- data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +645 -605
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +136 -136
- data/generated/google/apis/cloudkms_v1beta1/service.rb +258 -264
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +677 -456
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +154 -89
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +380 -279
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +247 -114
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +72 -40
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +202 -208
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -39
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +18 -18
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +813 -82
- data/generated/google/apis/compute_beta/representations.rb +305 -0
- data/generated/google/apis/compute_beta/service.rb +971 -180
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +147 -21
- data/generated/google/apis/compute_v1/representations.rb +38 -0
- data/generated/google/apis/compute_v1/service.rb +347 -65
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3352 -3110
- data/generated/google/apis/dataflow_v1b3/representations.rb +812 -730
- data/generated/google/apis/dataflow_v1b3/service.rb +264 -183
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1200 -1164
- data/generated/google/apis/dataproc_v1/representations.rb +220 -204
- data/generated/google/apis/dataproc_v1/service.rb +299 -299
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +688 -688
- data/generated/google/apis/datastore_v1/representations.rb +167 -167
- data/generated/google/apis/datastore_v1/service.rb +68 -68
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +13 -3
- 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 +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 +487 -15
- data/generated/google/apis/drive_v2/representations.rb +120 -0
- data/generated/google/apis/drive_v2/service.rb +355 -38
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +416 -14
- data/generated/google/apis/drive_v3/representations.rb +99 -0
- data/generated/google/apis/drive_v3/service.rb +315 -28
- 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 +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2301 -2301
- data/generated/google/apis/genomics_v1/representations.rb +239 -239
- data/generated/google/apis/genomics_v1/service.rb +599 -599
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/gmail_v1/service.rb +18 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +96 -96
- data/generated/google/apis/iam_v1/service.rb +150 -150
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +235 -235
- data/generated/google/apis/language_v1beta1/representations.rb +73 -73
- data/generated/google/apis/language_v1beta1/service.rb +49 -49
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +888 -879
- data/generated/google/apis/logging_v2beta1/representations.rb +129 -129
- data/generated/google/apis/logging_v2beta1/service.rb +315 -316
- data/generated/google/apis/manufacturers_v1/classes.rb +139 -139
- data/generated/google/apis/manufacturers_v1/representations.rb +30 -30
- data/generated/google/apis/manufacturers_v1/service.rb +32 -32
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +229 -229
- data/generated/google/apis/monitoring_v3/representations.rb +45 -45
- data/generated/google/apis/monitoring_v3/service.rb +141 -141
- data/generated/google/apis/partners_v2.rb +3 -3
- data/generated/google/apis/partners_v2/classes.rb +1837 -483
- data/generated/google/apis/partners_v2/representations.rb +614 -157
- data/generated/google/apis/partners_v2/service.rb +881 -150
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +517 -465
- data/generated/google/apis/people_v1/representations.rb +138 -107
- data/generated/google/apis/people_v1/service.rb +56 -49
- 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 +529 -458
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +98 -97
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +494 -370
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +203 -203
- data/generated/google/apis/pubsub_v1/representations.rb +65 -65
- data/generated/google/apis/pubsub_v1/service.rb +226 -217
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +213 -61
- data/generated/google/apis/reseller_v1/representations.rb +27 -0
- data/generated/google/apis/reseller_v1/service.rb +240 -47
- data/generated/google/apis/script_v1.rb +14 -14
- data/generated/google/apis/script_v1/classes.rb +95 -95
- data/generated/google/apis/script_v1/representations.rb +25 -25
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4346 -4300
- data/generated/google/apis/sheets_v4/representations.rb +853 -837
- data/generated/google/apis/sheets_v4/service.rb +32 -32
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +804 -748
- data/generated/google/apis/slides_v1/representations.rb +204 -187
- data/generated/google/apis/slides_v1/service.rb +16 -16
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +57 -57
- data/generated/google/apis/speech_v1beta1/representations.rb +19 -19
- data/generated/google/apis/speech_v1beta1/service.rb +66 -66
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +16 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +9 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +10 -7
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1393 -865
- data/generated/google/apis/vision_v1/representations.rb +367 -102
- data/generated/google/apis/vision_v1/service.rb +4 -4
- 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 +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +93 -93
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +108 -108
- data/lib/google/apis/version.rb +1 -1
- metadata +34 -30
@@ -22,19 +22,32 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ManufacturersV1
|
24
24
|
|
25
|
-
#
|
26
|
-
class
|
25
|
+
# Product issue.
|
26
|
+
class Issue
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
#
|
30
|
-
# Corresponds to the JSON property `
|
29
|
+
# Description of the issue.
|
30
|
+
# Corresponds to the JSON property `description`
|
31
31
|
# @return [String]
|
32
|
-
attr_accessor :
|
32
|
+
attr_accessor :description
|
33
33
|
|
34
|
-
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
|
34
|
+
# The server-generated type of the issue, for example,
|
35
|
+
# “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
|
36
|
+
# Corresponds to the JSON property `type`
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :type
|
39
|
+
|
40
|
+
# If present, the attribute that triggered the issue. For more information
|
41
|
+
# about attributes, see
|
42
|
+
# https://support.google.com/manufacturers/answer/6124116.
|
43
|
+
# Corresponds to the JSON property `attribute`
|
44
|
+
# @return [String]
|
45
|
+
attr_accessor :attribute
|
46
|
+
|
47
|
+
# The severity of the issue.
|
48
|
+
# Corresponds to the JSON property `severity`
|
49
|
+
# @return [String]
|
50
|
+
attr_accessor :severity
|
38
51
|
|
39
52
|
def initialize(**args)
|
40
53
|
update!(**args)
|
@@ -42,37 +55,88 @@ module Google
|
|
42
55
|
|
43
56
|
# Update properties of this object
|
44
57
|
def update!(**args)
|
45
|
-
@
|
46
|
-
@
|
58
|
+
@description = args[:description] if args.key?(:description)
|
59
|
+
@type = args[:type] if args.key?(:type)
|
60
|
+
@attribute = args[:attribute] if args.key?(:attribute)
|
61
|
+
@severity = args[:severity] if args.key?(:severity)
|
47
62
|
end
|
48
63
|
end
|
49
64
|
|
50
|
-
# Product
|
51
|
-
class
|
65
|
+
# Product data.
|
66
|
+
class Product
|
52
67
|
include Google::Apis::Core::Hashable
|
53
68
|
|
54
|
-
#
|
55
|
-
#
|
69
|
+
# Names of the attributes of the product deleted manually via the
|
70
|
+
# Manufacturer Center UI.
|
71
|
+
# @OutputOnly
|
72
|
+
# Corresponds to the JSON property `manuallyDeletedAttributes`
|
73
|
+
# @return [Array<String>]
|
74
|
+
attr_accessor :manually_deleted_attributes
|
75
|
+
|
76
|
+
# A server-generated list of issues associated with the product.
|
77
|
+
# @OutputOnly
|
78
|
+
# Corresponds to the JSON property `issues`
|
79
|
+
# @return [Array<Google::Apis::ManufacturersV1::Issue>]
|
80
|
+
attr_accessor :issues
|
81
|
+
|
82
|
+
# Attributes of the product. For more information, see
|
83
|
+
# https://support.google.com/manufacturers/answer/6124116.
|
84
|
+
# Corresponds to the JSON property `finalAttributes`
|
85
|
+
# @return [Google::Apis::ManufacturersV1::Attributes]
|
86
|
+
attr_accessor :final_attributes
|
87
|
+
|
88
|
+
# The ID of the product. For more information, see
|
89
|
+
# https://support.google.com/manufacturers/answer/6124116#id.
|
90
|
+
# @OutputOnly
|
91
|
+
# Corresponds to the JSON property `productId`
|
56
92
|
# @return [String]
|
57
|
-
attr_accessor :
|
93
|
+
attr_accessor :product_id
|
58
94
|
|
59
|
-
#
|
60
|
-
#
|
95
|
+
# Attributes of the product. For more information, see
|
96
|
+
# https://support.google.com/manufacturers/answer/6124116.
|
97
|
+
# Corresponds to the JSON property `uploadedAttributes`
|
98
|
+
# @return [Google::Apis::ManufacturersV1::Attributes]
|
99
|
+
attr_accessor :uploaded_attributes
|
100
|
+
|
101
|
+
# Parent ID in the format `accounts/`account_id``.
|
102
|
+
# `account_id` - The ID of the Manufacturer Center account.
|
103
|
+
# @OutputOnly
|
104
|
+
# Corresponds to the JSON property `parent`
|
61
105
|
# @return [String]
|
62
|
-
attr_accessor :
|
106
|
+
attr_accessor :parent
|
63
107
|
|
64
|
-
#
|
65
|
-
# about attributes, see
|
108
|
+
# Attributes of the product. For more information, see
|
66
109
|
# https://support.google.com/manufacturers/answer/6124116.
|
67
|
-
# Corresponds to the JSON property `
|
110
|
+
# Corresponds to the JSON property `manuallyProvidedAttributes`
|
111
|
+
# @return [Google::Apis::ManufacturersV1::Attributes]
|
112
|
+
attr_accessor :manually_provided_attributes
|
113
|
+
|
114
|
+
# The target country of the product as a CLDR territory code (for example,
|
115
|
+
# US).
|
116
|
+
# @OutputOnly
|
117
|
+
# Corresponds to the JSON property `targetCountry`
|
68
118
|
# @return [String]
|
69
|
-
attr_accessor :
|
119
|
+
attr_accessor :target_country
|
70
120
|
|
71
|
-
# The
|
72
|
-
#
|
73
|
-
#
|
121
|
+
# The content language of the product as a two-letter ISO 639-1 language code
|
122
|
+
# (for example, en).
|
123
|
+
# @OutputOnly
|
124
|
+
# Corresponds to the JSON property `contentLanguage`
|
74
125
|
# @return [String]
|
75
|
-
attr_accessor :
|
126
|
+
attr_accessor :content_language
|
127
|
+
|
128
|
+
# Name in the format ``target_country`:`content_language`:`product_id``.
|
129
|
+
# `target_country` - The target country of the product as a CLDR territory
|
130
|
+
# code (for example, US).
|
131
|
+
# `content_language` - The content language of the product as a two-letter
|
132
|
+
# ISO 639-1 language code (for example, en).
|
133
|
+
# `product_id` - The ID of the product. For more information, see
|
134
|
+
# https://support.google.com/manufacturers/answer/6124116#
|
135
|
+
# id.
|
136
|
+
# @OutputOnly
|
137
|
+
# Corresponds to the JSON property `name`
|
138
|
+
# @return [String]
|
139
|
+
attr_accessor :name
|
76
140
|
|
77
141
|
def initialize(**args)
|
78
142
|
update!(**args)
|
@@ -80,10 +144,16 @@ module Google
|
|
80
144
|
|
81
145
|
# Update properties of this object
|
82
146
|
def update!(**args)
|
83
|
-
@
|
84
|
-
@
|
85
|
-
@
|
86
|
-
@
|
147
|
+
@manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes)
|
148
|
+
@issues = args[:issues] if args.key?(:issues)
|
149
|
+
@final_attributes = args[:final_attributes] if args.key?(:final_attributes)
|
150
|
+
@product_id = args[:product_id] if args.key?(:product_id)
|
151
|
+
@uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes)
|
152
|
+
@parent = args[:parent] if args.key?(:parent)
|
153
|
+
@manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes)
|
154
|
+
@target_country = args[:target_country] if args.key?(:target_country)
|
155
|
+
@content_language = args[:content_language] if args.key?(:content_language)
|
156
|
+
@name = args[:name] if args.key?(:name)
|
87
157
|
end
|
88
158
|
end
|
89
159
|
|
@@ -92,18 +162,11 @@ module Google
|
|
92
162
|
class Attributes
|
93
163
|
include Google::Apis::Core::Hashable
|
94
164
|
|
95
|
-
# The
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
|
100
|
-
attr_accessor :product_page_url
|
101
|
-
|
102
|
-
# The Manufacturer Part Number (MPN) of the product. For more information,
|
103
|
-
# see https://support.google.com/manufacturers/answer/6124116#mpn.
|
104
|
-
# Corresponds to the JSON property `mpn`
|
105
|
-
# @return [String]
|
106
|
-
attr_accessor :mpn
|
165
|
+
# The Global Trade Item Number (GTIN) of the product. For more information,
|
166
|
+
# see https://support.google.com/manufacturers/answer/6124116#gtin.
|
167
|
+
# Corresponds to the JSON property `gtin`
|
168
|
+
# @return [Array<String>]
|
169
|
+
attr_accessor :gtin
|
107
170
|
|
108
171
|
# The title of the product. For more information, see
|
109
172
|
# https://support.google.com/manufacturers/answer/6124116#title.
|
@@ -118,29 +181,36 @@ module Google
|
|
118
181
|
# @return [String]
|
119
182
|
attr_accessor :product_line
|
120
183
|
|
121
|
-
# The canonical name of the product. For more information, see
|
122
|
-
# https://support.google.com/manufacturers/answer/6124116#productname.
|
123
|
-
# Corresponds to the JSON property `productName`
|
124
|
-
# @return [String]
|
125
|
-
attr_accessor :product_name
|
126
|
-
|
127
184
|
# The brand name of the product. For more information, see
|
128
185
|
# https://support.google.com/manufacturers/answer/6124116#brand.
|
129
186
|
# Corresponds to the JSON property `brand`
|
130
187
|
# @return [String]
|
131
188
|
attr_accessor :brand
|
132
189
|
|
190
|
+
# The canonical name of the product. For more information, see
|
191
|
+
# https://support.google.com/manufacturers/answer/6124116#productname.
|
192
|
+
# Corresponds to the JSON property `productName`
|
193
|
+
# @return [String]
|
194
|
+
attr_accessor :product_name
|
195
|
+
|
133
196
|
# The manufacturer's category of the product. For more information, see
|
134
197
|
# https://support.google.com/manufacturers/answer/6124116#producttype.
|
135
198
|
# Corresponds to the JSON property `productType`
|
136
199
|
# @return [Array<String>]
|
137
200
|
attr_accessor :product_type
|
138
201
|
|
139
|
-
# The
|
140
|
-
# see https://support.google.com/manufacturers/answer/6124116#
|
141
|
-
# Corresponds to the JSON property `
|
142
|
-
# @return [
|
143
|
-
attr_accessor :
|
202
|
+
# The Manufacturer Part Number (MPN) of the product. For more information,
|
203
|
+
# see https://support.google.com/manufacturers/answer/6124116#mpn.
|
204
|
+
# Corresponds to the JSON property `mpn`
|
205
|
+
# @return [String]
|
206
|
+
attr_accessor :mpn
|
207
|
+
|
208
|
+
# The URL of the manufacturer's detail page of the product. For more
|
209
|
+
# information, see
|
210
|
+
# https://support.google.com/manufacturers/answer/6124116#productpage.
|
211
|
+
# Corresponds to the JSON property `productPageUrl`
|
212
|
+
# @return [String]
|
213
|
+
attr_accessor :product_page_url
|
144
214
|
|
145
215
|
def initialize(**args)
|
146
216
|
update!(**args)
|
@@ -148,92 +218,30 @@ module Google
|
|
148
218
|
|
149
219
|
# Update properties of this object
|
150
220
|
def update!(**args)
|
151
|
-
@
|
152
|
-
@mpn = args[:mpn] if args.key?(:mpn)
|
221
|
+
@gtin = args[:gtin] if args.key?(:gtin)
|
153
222
|
@title = args[:title] if args.key?(:title)
|
154
223
|
@product_line = args[:product_line] if args.key?(:product_line)
|
155
|
-
@product_name = args[:product_name] if args.key?(:product_name)
|
156
224
|
@brand = args[:brand] if args.key?(:brand)
|
225
|
+
@product_name = args[:product_name] if args.key?(:product_name)
|
157
226
|
@product_type = args[:product_type] if args.key?(:product_type)
|
158
|
-
@
|
227
|
+
@mpn = args[:mpn] if args.key?(:mpn)
|
228
|
+
@product_page_url = args[:product_page_url] if args.key?(:product_page_url)
|
159
229
|
end
|
160
230
|
end
|
161
231
|
|
162
|
-
#
|
163
|
-
class
|
232
|
+
#
|
233
|
+
class ListProductsResponse
|
164
234
|
include Google::Apis::Core::Hashable
|
165
235
|
|
166
|
-
#
|
167
|
-
#
|
168
|
-
# @
|
169
|
-
|
170
|
-
# @return [String]
|
171
|
-
attr_accessor :parent
|
172
|
-
|
173
|
-
# The target country of the product as a CLDR territory code (for example,
|
174
|
-
# US).
|
175
|
-
# @OutputOnly
|
176
|
-
# Corresponds to the JSON property `targetCountry`
|
177
|
-
# @return [String]
|
178
|
-
attr_accessor :target_country
|
179
|
-
|
180
|
-
# The content language of the product as a two-letter ISO 639-1 language code
|
181
|
-
# (for example, en).
|
182
|
-
# @OutputOnly
|
183
|
-
# Corresponds to the JSON property `contentLanguage`
|
184
|
-
# @return [String]
|
185
|
-
attr_accessor :content_language
|
186
|
-
|
187
|
-
# Names of the attributes of the product deleted manually via the
|
188
|
-
# Manufacturer Center UI.
|
189
|
-
# @OutputOnly
|
190
|
-
# Corresponds to the JSON property `manuallyDeletedAttributes`
|
191
|
-
# @return [Array<String>]
|
192
|
-
attr_accessor :manually_deleted_attributes
|
193
|
-
|
194
|
-
# The ID of the product. For more information, see
|
195
|
-
# https://support.google.com/manufacturers/answer/6124116#id.
|
196
|
-
# @OutputOnly
|
197
|
-
# Corresponds to the JSON property `productId`
|
198
|
-
# @return [String]
|
199
|
-
attr_accessor :product_id
|
200
|
-
|
201
|
-
# Attributes of the product. For more information, see
|
202
|
-
# https://support.google.com/manufacturers/answer/6124116.
|
203
|
-
# Corresponds to the JSON property `finalAttributes`
|
204
|
-
# @return [Google::Apis::ManufacturersV1::Attributes]
|
205
|
-
attr_accessor :final_attributes
|
206
|
-
|
207
|
-
# A server-generated list of issues associated with the product.
|
208
|
-
# @OutputOnly
|
209
|
-
# Corresponds to the JSON property `issues`
|
210
|
-
# @return [Array<Google::Apis::ManufacturersV1::Issue>]
|
211
|
-
attr_accessor :issues
|
236
|
+
# List of the products.
|
237
|
+
# Corresponds to the JSON property `products`
|
238
|
+
# @return [Array<Google::Apis::ManufacturersV1::Product>]
|
239
|
+
attr_accessor :products
|
212
240
|
|
213
|
-
#
|
214
|
-
#
|
215
|
-
# code (for example, US).
|
216
|
-
# `content_language` - The content language of the product as a two-letter
|
217
|
-
# ISO 639-1 language code (for example, en).
|
218
|
-
# `product_id` - The ID of the product. For more information, see
|
219
|
-
# https://support.google.com/manufacturers/answer/6124116#
|
220
|
-
# id.
|
221
|
-
# @OutputOnly
|
222
|
-
# Corresponds to the JSON property `name`
|
241
|
+
# The token for the retrieval of the next page of product statuses.
|
242
|
+
# Corresponds to the JSON property `nextPageToken`
|
223
243
|
# @return [String]
|
224
|
-
attr_accessor :
|
225
|
-
|
226
|
-
# Attributes of the product. For more information, see
|
227
|
-
# https://support.google.com/manufacturers/answer/6124116.
|
228
|
-
# Corresponds to the JSON property `uploadedAttributes`
|
229
|
-
# @return [Google::Apis::ManufacturersV1::Attributes]
|
230
|
-
attr_accessor :uploaded_attributes
|
231
|
-
|
232
|
-
# Attributes of the product. For more information, see
|
233
|
-
# https://support.google.com/manufacturers/answer/6124116.
|
234
|
-
# Corresponds to the JSON property `manuallyProvidedAttributes`
|
235
|
-
# @return [Google::Apis::ManufacturersV1::Attributes]
|
236
|
-
attr_accessor :manually_provided_attributes
|
244
|
+
attr_accessor :next_page_token
|
237
245
|
|
238
246
|
def initialize(**args)
|
239
247
|
update!(**args)
|
@@ -241,16 +249,8 @@ module Google
|
|
241
249
|
|
242
250
|
# Update properties of this object
|
243
251
|
def update!(**args)
|
244
|
-
@
|
245
|
-
@
|
246
|
-
@content_language = args[:content_language] if args.key?(:content_language)
|
247
|
-
@manually_deleted_attributes = args[:manually_deleted_attributes] if args.key?(:manually_deleted_attributes)
|
248
|
-
@product_id = args[:product_id] if args.key?(:product_id)
|
249
|
-
@final_attributes = args[:final_attributes] if args.key?(:final_attributes)
|
250
|
-
@issues = args[:issues] if args.key?(:issues)
|
251
|
-
@name = args[:name] if args.key?(:name)
|
252
|
-
@uploaded_attributes = args[:uploaded_attributes] if args.key?(:uploaded_attributes)
|
253
|
-
@manually_provided_attributes = args[:manually_provided_attributes] if args.key?(:manually_provided_attributes)
|
252
|
+
@products = args[:products] if args.key?(:products)
|
253
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
254
254
|
end
|
255
255
|
end
|
256
256
|
end
|
@@ -22,13 +22,13 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ManufacturersV1
|
24
24
|
|
25
|
-
class
|
25
|
+
class Issue
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
27
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class Product
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
33
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -40,62 +40,62 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class
|
43
|
+
class ListProductsResponse
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
45
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
-
class
|
49
|
+
class Issue
|
50
50
|
# @private
|
51
51
|
class Representation < Google::Apis::Core::JsonRepresentation
|
52
|
-
property :
|
53
|
-
|
54
|
-
|
52
|
+
property :description, as: 'description'
|
53
|
+
property :type, as: 'type'
|
54
|
+
property :attribute, as: 'attribute'
|
55
|
+
property :severity, as: 'severity'
|
55
56
|
end
|
56
57
|
end
|
57
58
|
|
58
|
-
class
|
59
|
+
class Product
|
59
60
|
# @private
|
60
61
|
class Representation < Google::Apis::Core::JsonRepresentation
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
property :
|
62
|
+
collection :manually_deleted_attributes, as: 'manuallyDeletedAttributes'
|
63
|
+
collection :issues, as: 'issues', class: Google::Apis::ManufacturersV1::Issue, decorator: Google::Apis::ManufacturersV1::Issue::Representation
|
64
|
+
|
65
|
+
property :final_attributes, as: 'finalAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation
|
66
|
+
|
67
|
+
property :product_id, as: 'productId'
|
68
|
+
property :uploaded_attributes, as: 'uploadedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation
|
69
|
+
|
70
|
+
property :parent, as: 'parent'
|
71
|
+
property :manually_provided_attributes, as: 'manuallyProvidedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation
|
72
|
+
|
73
|
+
property :target_country, as: 'targetCountry'
|
74
|
+
property :content_language, as: 'contentLanguage'
|
75
|
+
property :name, as: 'name'
|
65
76
|
end
|
66
77
|
end
|
67
78
|
|
68
79
|
class Attributes
|
69
80
|
# @private
|
70
81
|
class Representation < Google::Apis::Core::JsonRepresentation
|
71
|
-
|
72
|
-
property :mpn, as: 'mpn'
|
82
|
+
collection :gtin, as: 'gtin'
|
73
83
|
property :title, as: 'title'
|
74
84
|
property :product_line, as: 'productLine'
|
75
|
-
property :product_name, as: 'productName'
|
76
85
|
property :brand, as: 'brand'
|
86
|
+
property :product_name, as: 'productName'
|
77
87
|
collection :product_type, as: 'productType'
|
78
|
-
|
88
|
+
property :mpn, as: 'mpn'
|
89
|
+
property :product_page_url, as: 'productPageUrl'
|
79
90
|
end
|
80
91
|
end
|
81
92
|
|
82
|
-
class
|
93
|
+
class ListProductsResponse
|
83
94
|
# @private
|
84
95
|
class Representation < Google::Apis::Core::JsonRepresentation
|
85
|
-
|
86
|
-
property :target_country, as: 'targetCountry'
|
87
|
-
property :content_language, as: 'contentLanguage'
|
88
|
-
collection :manually_deleted_attributes, as: 'manuallyDeletedAttributes'
|
89
|
-
property :product_id, as: 'productId'
|
90
|
-
property :final_attributes, as: 'finalAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation
|
91
|
-
|
92
|
-
collection :issues, as: 'issues', class: Google::Apis::ManufacturersV1::Issue, decorator: Google::Apis::ManufacturersV1::Issue::Representation
|
93
|
-
|
94
|
-
property :name, as: 'name'
|
95
|
-
property :uploaded_attributes, as: 'uploadedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation
|
96
|
-
|
97
|
-
property :manually_provided_attributes, as: 'manuallyProvidedAttributes', class: Google::Apis::ManufacturersV1::Attributes, decorator: Google::Apis::ManufacturersV1::Attributes::Representation
|
96
|
+
collection :products, as: 'products', class: Google::Apis::ManufacturersV1::Product, decorator: Google::Apis::ManufacturersV1::Product::Representation
|
98
97
|
|
98
|
+
property :next_page_token, as: 'nextPageToken'
|
99
99
|
end
|
100
100
|
end
|
101
101
|
end
|