google-api-client 0.10.0 → 0.10.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.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/README.md +1 -1
  4. data/api_names.yaml +37747 -36512
  5. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1016 -114
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +426 -22
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +481 -95
  9. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +27 -10
  11. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  12. data/generated/google/apis/admin_reports_v1.rb +2 -2
  13. data/generated/google/apis/adsense_v1_4.rb +1 -1
  14. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  15. data/generated/google/apis/analytics_v3.rb +1 -1
  16. data/generated/google/apis/analyticsreporting_v4.rb +4 -4
  17. data/generated/google/apis/analyticsreporting_v4/classes.rb +428 -428
  18. data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
  19. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  20. data/generated/google/apis/androidenterprise_v1/classes.rb +60 -66
  21. data/generated/google/apis/androidenterprise_v1/service.rb +12 -11
  22. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  23. data/generated/google/apis/androidpublisher_v2/classes.rb +7 -0
  24. data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
  25. data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
  26. data/generated/google/apis/appsactivity_v1.rb +3 -3
  27. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  28. data/generated/google/apis/appstate_v1.rb +1 -1
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +34 -8
  31. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  32. data/generated/google/apis/calendar_v3.rb +1 -1
  33. data/generated/google/apis/calendar_v3/classes.rb +3 -5
  34. data/generated/google/apis/classroom_v1.rb +25 -22
  35. data/generated/google/apis/classroom_v1/classes.rb +910 -1001
  36. data/generated/google/apis/classroom_v1/representations.rb +240 -240
  37. data/generated/google/apis/classroom_v1/service.rb +1064 -1272
  38. data/generated/google/apis/cloudbilling_v1.rb +3 -3
  39. data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
  40. data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
  41. data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
  42. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  43. data/generated/google/apis/cloudbuild_v1/classes.rb +238 -238
  44. data/generated/google/apis/cloudbuild_v1/representations.rb +48 -48
  45. data/generated/google/apis/cloudbuild_v1/service.rb +176 -176
  46. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  47. data/generated/google/apis/clouddebugger_v2/classes.rb +315 -315
  48. data/generated/google/apis/clouddebugger_v2/representations.rb +90 -90
  49. data/generated/google/apis/clouddebugger_v2/service.rb +152 -152
  50. data/generated/google/apis/cloudkms_v1.rb +35 -0
  51. data/generated/google/apis/cloudkms_v1/classes.rb +1039 -0
  52. data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
  53. data/generated/google/apis/cloudkms_v1/service.rb +933 -0
  54. data/generated/google/apis/cloudkms_v1beta1.rb +1 -1
  55. data/generated/google/apis/cloudkms_v1beta1/classes.rb +645 -605
  56. data/generated/google/apis/cloudkms_v1beta1/representations.rb +136 -136
  57. data/generated/google/apis/cloudkms_v1beta1/service.rb +258 -264
  58. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  59. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +677 -456
  61. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +154 -89
  62. data/generated/google/apis/cloudresourcemanager_v1/service.rb +380 -279
  63. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  64. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +247 -114
  65. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +72 -40
  66. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +202 -208
  67. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  68. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -39
  69. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  70. data/generated/google/apis/cloudtrace_v1/service.rb +18 -18
  71. data/generated/google/apis/compute_beta.rb +1 -1
  72. data/generated/google/apis/compute_beta/classes.rb +813 -82
  73. data/generated/google/apis/compute_beta/representations.rb +305 -0
  74. data/generated/google/apis/compute_beta/service.rb +971 -180
  75. data/generated/google/apis/compute_v1.rb +1 -1
  76. data/generated/google/apis/compute_v1/classes.rb +147 -21
  77. data/generated/google/apis/compute_v1/representations.rb +38 -0
  78. data/generated/google/apis/compute_v1/service.rb +347 -65
  79. data/generated/google/apis/content_v2.rb +1 -1
  80. data/generated/google/apis/content_v2/classes.rb +2 -1
  81. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  82. data/generated/google/apis/dataflow_v1b3/classes.rb +3352 -3110
  83. data/generated/google/apis/dataflow_v1b3/representations.rb +812 -730
  84. data/generated/google/apis/dataflow_v1b3/service.rb +264 -183
  85. data/generated/google/apis/dataproc_v1.rb +1 -1
  86. data/generated/google/apis/dataproc_v1/classes.rb +1200 -1164
  87. data/generated/google/apis/dataproc_v1/representations.rb +220 -204
  88. data/generated/google/apis/dataproc_v1/service.rb +299 -299
  89. data/generated/google/apis/datastore_v1.rb +4 -4
  90. data/generated/google/apis/datastore_v1/classes.rb +688 -688
  91. data/generated/google/apis/datastore_v1/representations.rb +167 -167
  92. data/generated/google/apis/datastore_v1/service.rb +68 -68
  93. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  94. data/generated/google/apis/deploymentmanager_v2/classes.rb +13 -3
  95. data/generated/google/apis/dns_v1.rb +1 -1
  96. data/generated/google/apis/dns_v2beta1.rb +1 -1
  97. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  98. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  99. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  100. data/generated/google/apis/drive_v2.rb +1 -1
  101. data/generated/google/apis/drive_v2/classes.rb +487 -15
  102. data/generated/google/apis/drive_v2/representations.rb +120 -0
  103. data/generated/google/apis/drive_v2/service.rb +355 -38
  104. data/generated/google/apis/drive_v3.rb +1 -1
  105. data/generated/google/apis/drive_v3/classes.rb +416 -14
  106. data/generated/google/apis/drive_v3/representations.rb +99 -0
  107. data/generated/google/apis/drive_v3/service.rb +315 -28
  108. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  109. data/generated/google/apis/games_management_v1management.rb +1 -1
  110. data/generated/google/apis/games_v1.rb +1 -1
  111. data/generated/google/apis/genomics_v1.rb +7 -7
  112. data/generated/google/apis/genomics_v1/classes.rb +2301 -2301
  113. data/generated/google/apis/genomics_v1/representations.rb +239 -239
  114. data/generated/google/apis/genomics_v1/service.rb +599 -599
  115. data/generated/google/apis/gmail_v1.rb +2 -2
  116. data/generated/google/apis/gmail_v1/service.rb +18 -1
  117. data/generated/google/apis/groupssettings_v1.rb +1 -1
  118. data/generated/google/apis/iam_v1.rb +1 -1
  119. data/generated/google/apis/iam_v1/classes.rb +440 -440
  120. data/generated/google/apis/iam_v1/representations.rb +96 -96
  121. data/generated/google/apis/iam_v1/service.rb +150 -150
  122. data/generated/google/apis/kgsearch_v1/service.rb +13 -13
  123. data/generated/google/apis/language_v1beta1.rb +1 -1
  124. data/generated/google/apis/language_v1beta1/classes.rb +235 -235
  125. data/generated/google/apis/language_v1beta1/representations.rb +73 -73
  126. data/generated/google/apis/language_v1beta1/service.rb +49 -49
  127. data/generated/google/apis/licensing_v1.rb +1 -1
  128. data/generated/google/apis/logging_v2beta1.rb +1 -1
  129. data/generated/google/apis/logging_v2beta1/classes.rb +888 -879
  130. data/generated/google/apis/logging_v2beta1/representations.rb +129 -129
  131. data/generated/google/apis/logging_v2beta1/service.rb +315 -316
  132. data/generated/google/apis/manufacturers_v1/classes.rb +139 -139
  133. data/generated/google/apis/manufacturers_v1/representations.rb +30 -30
  134. data/generated/google/apis/manufacturers_v1/service.rb +32 -32
  135. data/generated/google/apis/monitoring_v3.rb +4 -4
  136. data/generated/google/apis/monitoring_v3/classes.rb +229 -229
  137. data/generated/google/apis/monitoring_v3/representations.rb +45 -45
  138. data/generated/google/apis/monitoring_v3/service.rb +141 -141
  139. data/generated/google/apis/partners_v2.rb +3 -3
  140. data/generated/google/apis/partners_v2/classes.rb +1837 -483
  141. data/generated/google/apis/partners_v2/representations.rb +614 -157
  142. data/generated/google/apis/partners_v2/service.rb +881 -150
  143. data/generated/google/apis/people_v1.rb +1 -1
  144. data/generated/google/apis/people_v1/classes.rb +517 -465
  145. data/generated/google/apis/people_v1/representations.rb +138 -107
  146. data/generated/google/apis/people_v1/service.rb +56 -49
  147. data/generated/google/apis/plus_domains_v1.rb +1 -1
  148. data/generated/google/apis/plus_v1.rb +1 -1
  149. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  150. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +529 -458
  151. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +98 -97
  152. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +494 -370
  153. data/generated/google/apis/pubsub_v1.rb +4 -4
  154. data/generated/google/apis/pubsub_v1/classes.rb +203 -203
  155. data/generated/google/apis/pubsub_v1/representations.rb +65 -65
  156. data/generated/google/apis/pubsub_v1/service.rb +226 -217
  157. data/generated/google/apis/reseller_v1.rb +1 -1
  158. data/generated/google/apis/reseller_v1/classes.rb +213 -61
  159. data/generated/google/apis/reseller_v1/representations.rb +27 -0
  160. data/generated/google/apis/reseller_v1/service.rb +240 -47
  161. data/generated/google/apis/script_v1.rb +14 -14
  162. data/generated/google/apis/script_v1/classes.rb +95 -95
  163. data/generated/google/apis/script_v1/representations.rb +25 -25
  164. data/generated/google/apis/sheets_v4.rb +1 -1
  165. data/generated/google/apis/sheets_v4/classes.rb +4346 -4300
  166. data/generated/google/apis/sheets_v4/representations.rb +853 -837
  167. data/generated/google/apis/sheets_v4/service.rb +32 -32
  168. data/generated/google/apis/slides_v1.rb +1 -1
  169. data/generated/google/apis/slides_v1/classes.rb +804 -748
  170. data/generated/google/apis/slides_v1/representations.rb +204 -187
  171. data/generated/google/apis/slides_v1/service.rb +16 -16
  172. data/generated/google/apis/speech_v1beta1.rb +1 -1
  173. data/generated/google/apis/speech_v1beta1/classes.rb +57 -57
  174. data/generated/google/apis/speech_v1beta1/representations.rb +19 -19
  175. data/generated/google/apis/speech_v1beta1/service.rb +66 -66
  176. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  177. data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -7
  178. data/generated/google/apis/sqladmin_v1beta4/representations.rb +16 -0
  179. data/generated/google/apis/sqladmin_v1beta4/service.rb +9 -2
  180. data/generated/google/apis/storage_v1.rb +1 -1
  181. data/generated/google/apis/storage_v1/service.rb +10 -7
  182. data/generated/google/apis/vision_v1.rb +1 -1
  183. data/generated/google/apis/vision_v1/classes.rb +1393 -865
  184. data/generated/google/apis/vision_v1/representations.rb +367 -102
  185. data/generated/google/apis/vision_v1/service.rb +4 -4
  186. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  187. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  188. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  189. data/generated/google/apis/youtubereporting_v1/classes.rb +93 -93
  190. data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
  191. data/generated/google/apis/youtubereporting_v1/service.rb +108 -108
  192. data/lib/google/apis/version.rb +1 -1
  193. metadata +34 -30
@@ -22,19 +22,32 @@ module Google
22
22
  module Apis
23
23
  module ManufacturersV1
24
24
 
25
- #
26
- class ListProductsResponse
25
+ # Product issue.
26
+ class Issue
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # The token for the retrieval of the next page of product statuses.
30
- # Corresponds to the JSON property `nextPageToken`
29
+ # Description of the issue.
30
+ # Corresponds to the JSON property `description`
31
31
  # @return [String]
32
- attr_accessor :next_page_token
32
+ attr_accessor :description
33
33
 
34
- # List of the products.
35
- # Corresponds to the JSON property `products`
36
- # @return [Array<Google::Apis::ManufacturersV1::Product>]
37
- attr_accessor :products
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
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
46
- @products = args[:products] if args.key?(:products)
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 issue.
51
- class Issue
65
+ # Product data.
66
+ class Product
52
67
  include Google::Apis::Core::Hashable
53
68
 
54
- # The severity of the issue.
55
- # Corresponds to the JSON property `severity`
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 :severity
93
+ attr_accessor :product_id
58
94
 
59
- # Description of the issue.
60
- # Corresponds to the JSON property `description`
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 :description
106
+ attr_accessor :parent
63
107
 
64
- # If present, the attribute that triggered the issue. For more information
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 `attribute`
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 :attribute
119
+ attr_accessor :target_country
70
120
 
71
- # The server-generated type of the issue, for example,
72
- # “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
73
- # Corresponds to the JSON property `type`
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 :type
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
- @severity = args[:severity] if args.key?(:severity)
84
- @description = args[:description] if args.key?(:description)
85
- @attribute = args[:attribute] if args.key?(:attribute)
86
- @type = args[:type] if args.key?(:type)
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 URL of the manufacturer's detail page of the product. For more
96
- # information, see
97
- # https://support.google.com/manufacturers/answer/6124116#productpage.
98
- # Corresponds to the JSON property `productPageUrl`
99
- # @return [String]
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 Global Trade Item Number (GTIN) of the product. For more information,
140
- # see https://support.google.com/manufacturers/answer/6124116#gtin.
141
- # Corresponds to the JSON property `gtin`
142
- # @return [Array<String>]
143
- attr_accessor :gtin
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
- @product_page_url = args[:product_page_url] if args.key?(:product_page_url)
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
- @gtin = args[:gtin] if args.key?(:gtin)
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
- # Product data.
163
- class Product
232
+ #
233
+ class ListProductsResponse
164
234
  include Google::Apis::Core::Hashable
165
235
 
166
- # Parent ID in the format `accounts/`account_id``.
167
- # `account_id` - The ID of the Manufacturer Center account.
168
- # @OutputOnly
169
- # Corresponds to the JSON property `parent`
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
- # Name in the format ``target_country`:`content_language`:`product_id``.
214
- # `target_country` - The target country of the product as a CLDR territory
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 :name
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
- @parent = args[:parent] if args.key?(:parent)
245
- @target_country = args[:target_country] if args.key?(:target_country)
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 ListProductsResponse
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 Issue
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 Product
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 ListProductsResponse
49
+ class Issue
50
50
  # @private
51
51
  class Representation < Google::Apis::Core::JsonRepresentation
52
- property :next_page_token, as: 'nextPageToken'
53
- collection :products, as: 'products', class: Google::Apis::ManufacturersV1::Product, decorator: Google::Apis::ManufacturersV1::Product::Representation
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 Issue
59
+ class Product
59
60
  # @private
60
61
  class Representation < Google::Apis::Core::JsonRepresentation
61
- property :severity, as: 'severity'
62
- property :description, as: 'description'
63
- property :attribute, as: 'attribute'
64
- property :type, as: 'type'
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
- property :product_page_url, as: 'productPageUrl'
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
- collection :gtin, as: 'gtin'
88
+ property :mpn, as: 'mpn'
89
+ property :product_page_url, as: 'productPageUrl'
79
90
  end
80
91
  end
81
92
 
82
- class Product
93
+ class ListProductsResponse
83
94
  # @private
84
95
  class Representation < Google::Apis::Core::JsonRepresentation
85
- property :parent, as: 'parent'
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