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.
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,79 +22,13 @@ module Google
22
22
  module Apis
23
23
  module DataprocV1
24
24
 
25
- class YarnApplication
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
- class QueryList
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
- class HadoopJob
38
- class Representation < Google::Apis::Core::JsonRepresentation; end
39
-
40
- include Google::Apis::Core::JsonObjectSupport
41
- end
42
-
43
- class DiagnoseClusterRequest
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
- class DiskConfig
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
- class ClusterOperationMetadata
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
- class Empty
62
- class Representation < Google::Apis::Core::JsonRepresentation; end
63
-
64
- include Google::Apis::Core::JsonObjectSupport
65
- end
66
-
67
- class HiveJob
68
- class Representation < Google::Apis::Core::JsonRepresentation; end
69
-
70
- include Google::Apis::Core::JsonObjectSupport
71
- end
72
-
73
- class DiagnoseClusterResults
74
- class Representation < Google::Apis::Core::JsonRepresentation; end
75
-
76
- include Google::Apis::Core::JsonObjectSupport
77
- end
78
-
79
- class ClusterConfig
80
- class Representation < Google::Apis::Core::JsonRepresentation; end
81
-
82
- include Google::Apis::Core::JsonObjectSupport
83
- end
84
-
85
- class PySparkJob
86
- class Representation < Google::Apis::Core::JsonRepresentation; end
87
-
88
- include Google::Apis::Core::JsonObjectSupport
89
- end
90
-
91
- class GceClusterConfig
25
+ class ClusterMetrics
92
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
27
 
94
28
  include Google::Apis::Core::JsonObjectSupport
95
29
  end
96
30
 
97
- class ClusterMetrics
31
+ class AcceleratorConfig
98
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
33
 
100
34
  include Google::Apis::Core::JsonObjectSupport
@@ -142,13 +76,13 @@ module Google
142
76
  include Google::Apis::Core::JsonObjectSupport
143
77
  end
144
78
 
145
- class JobScheduling
79
+ class InstanceGroupConfig
146
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
81
 
148
82
  include Google::Apis::Core::JsonObjectSupport
149
83
  end
150
84
 
151
- class InstanceGroupConfig
85
+ class JobScheduling
152
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
87
 
154
88
  include Google::Apis::Core::JsonObjectSupport
@@ -256,147 +190,91 @@ module Google
256
190
  include Google::Apis::Core::JsonObjectSupport
257
191
  end
258
192
 
259
- class YarnApplication
260
- # @private
261
- class Representation < Google::Apis::Core::JsonRepresentation
262
- property :name, as: 'name'
263
- property :tracking_url, as: 'trackingUrl'
264
- property :progress, as: 'progress'
265
- property :state, as: 'state'
266
- end
193
+ class HadoopJob
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
267
197
  end
268
198
 
269
199
  class QueryList
270
- # @private
271
- class Representation < Google::Apis::Core::JsonRepresentation
272
- collection :queries, as: 'queries'
273
- end
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
274
203
  end
275
204
 
276
- class HadoopJob
277
- # @private
278
- class Representation < Google::Apis::Core::JsonRepresentation
279
- collection :jar_file_uris, as: 'jarFileUris'
280
- property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
205
+ class YarnApplication
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
281
207
 
282
- hash :properties, as: 'properties'
283
- collection :args, as: 'args'
284
- collection :file_uris, as: 'fileUris'
285
- property :main_class, as: 'mainClass'
286
- collection :archive_uris, as: 'archiveUris'
287
- property :main_jar_file_uri, as: 'mainJarFileUri'
288
- end
208
+ include Google::Apis::Core::JsonObjectSupport
289
209
  end
290
210
 
291
211
  class DiagnoseClusterRequest
292
- # @private
293
- class Representation < Google::Apis::Core::JsonRepresentation
294
- end
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
295
215
  end
296
216
 
297
217
  class DiskConfig
298
- # @private
299
- class Representation < Google::Apis::Core::JsonRepresentation
300
- property :num_local_ssds, as: 'numLocalSsds'
301
- property :boot_disk_size_gb, as: 'bootDiskSizeGb'
302
- end
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
303
221
  end
304
222
 
305
223
  class ClusterOperationMetadata
306
- # @private
307
- class Representation < Google::Apis::Core::JsonRepresentation
308
- collection :warnings, as: 'warnings'
309
- hash :labels, as: 'labels'
310
- property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
311
-
312
- collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
313
225
 
314
- property :cluster_name, as: 'clusterName'
315
- property :cluster_uuid, as: 'clusterUuid'
316
- property :operation_type, as: 'operationType'
317
- property :description, as: 'description'
318
- end
226
+ include Google::Apis::Core::JsonObjectSupport
319
227
  end
320
228
 
321
- class Empty
322
- # @private
323
- class Representation < Google::Apis::Core::JsonRepresentation
324
- end
229
+ class HiveJob
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
325
233
  end
326
234
 
327
- class HiveJob
328
- # @private
329
- class Representation < Google::Apis::Core::JsonRepresentation
330
- property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
235
+ class Empty
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
331
237
 
332
- property :query_file_uri, as: 'queryFileUri'
333
- collection :jar_file_uris, as: 'jarFileUris'
334
- hash :script_variables, as: 'scriptVariables'
335
- hash :properties, as: 'properties'
336
- property :continue_on_failure, as: 'continueOnFailure'
337
- end
238
+ include Google::Apis::Core::JsonObjectSupport
338
239
  end
339
240
 
340
241
  class DiagnoseClusterResults
341
- # @private
342
- class Representation < Google::Apis::Core::JsonRepresentation
343
- property :output_uri, as: 'outputUri'
344
- end
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
345
245
  end
346
246
 
347
247
  class ClusterConfig
348
- # @private
349
- class Representation < Google::Apis::Core::JsonRepresentation
350
- property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation
351
-
352
- property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation
353
-
354
- property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
355
-
356
- property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
357
-
358
- collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation
359
-
360
- property :config_bucket, as: 'configBucket'
361
- property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
362
249
 
363
- end
250
+ include Google::Apis::Core::JsonObjectSupport
364
251
  end
365
252
 
366
253
  class PySparkJob
367
- # @private
368
- class Representation < Google::Apis::Core::JsonRepresentation
369
- property :main_python_file_uri, as: 'mainPythonFileUri'
370
- collection :archive_uris, as: 'archiveUris'
371
- collection :jar_file_uris, as: 'jarFileUris'
372
- property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
373
255
 
374
- hash :properties, as: 'properties'
375
- collection :args, as: 'args'
376
- collection :file_uris, as: 'fileUris'
377
- collection :python_file_uris, as: 'pythonFileUris'
378
- end
256
+ include Google::Apis::Core::JsonObjectSupport
379
257
  end
380
258
 
381
259
  class GceClusterConfig
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ClusterMetrics
382
266
  # @private
383
267
  class Representation < Google::Apis::Core::JsonRepresentation
384
- collection :tags, as: 'tags'
385
- property :service_account, as: 'serviceAccount'
386
- property :subnetwork_uri, as: 'subnetworkUri'
387
- property :network_uri, as: 'networkUri'
388
- property :zone_uri, as: 'zoneUri'
389
- property :internal_ip_only, as: 'internalIpOnly'
390
- hash :metadata, as: 'metadata'
391
- collection :service_account_scopes, as: 'serviceAccountScopes'
268
+ hash :yarn_metrics, as: 'yarnMetrics'
269
+ hash :hdfs_metrics, as: 'hdfsMetrics'
392
270
  end
393
271
  end
394
272
 
395
- class ClusterMetrics
273
+ class AcceleratorConfig
396
274
  # @private
397
275
  class Representation < Google::Apis::Core::JsonRepresentation
398
- hash :hdfs_metrics, as: 'hdfsMetrics'
399
- hash :yarn_metrics, as: 'yarnMetrics'
276
+ property :accelerator_type_uri, as: 'acceleratorTypeUri'
277
+ property :accelerator_count, as: 'acceleratorCount'
400
278
  end
401
279
  end
402
280
 
@@ -429,10 +307,10 @@ module Google
429
307
  class OperationStatus
430
308
  # @private
431
309
  class Representation < Google::Apis::Core::JsonRepresentation
432
- property :state, as: 'state'
433
- property :details, as: 'details'
434
310
  property :inner_state, as: 'innerState'
435
311
  property :state_start_time, as: 'stateStartTime'
312
+ property :state, as: 'state'
313
+ property :details, as: 'details'
436
314
  end
437
315
  end
438
316
 
@@ -461,42 +339,44 @@ module Google
461
339
  end
462
340
  end
463
341
 
464
- class JobScheduling
465
- # @private
466
- class Representation < Google::Apis::Core::JsonRepresentation
467
- property :max_failures_per_hour, as: 'maxFailuresPerHour'
468
- end
469
- end
470
-
471
342
  class InstanceGroupConfig
472
343
  # @private
473
344
  class Representation < Google::Apis::Core::JsonRepresentation
474
- property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation
475
-
476
- property :machine_type_uri, as: 'machineTypeUri'
477
345
  property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation
478
346
 
479
347
  property :is_preemptible, as: 'isPreemptible'
348
+ property :machine_type_uri, as: 'machineTypeUri'
480
349
  property :image_uri, as: 'imageUri'
481
350
  collection :instance_names, as: 'instanceNames'
351
+ collection :accelerators, as: 'accelerators', class: Google::Apis::DataprocV1::AcceleratorConfig, decorator: Google::Apis::DataprocV1::AcceleratorConfig::Representation
352
+
482
353
  property :num_instances, as: 'numInstances'
354
+ property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation
355
+
356
+ end
357
+ end
358
+
359
+ class JobScheduling
360
+ # @private
361
+ class Representation < Google::Apis::Core::JsonRepresentation
362
+ property :max_failures_per_hour, as: 'maxFailuresPerHour'
483
363
  end
484
364
  end
485
365
 
486
366
  class ListJobsResponse
487
367
  # @private
488
368
  class Representation < Google::Apis::Core::JsonRepresentation
369
+ property :next_page_token, as: 'nextPageToken'
489
370
  collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
490
371
 
491
- property :next_page_token, as: 'nextPageToken'
492
372
  end
493
373
  end
494
374
 
495
375
  class NodeInitializationAction
496
376
  # @private
497
377
  class Representation < Google::Apis::Core::JsonRepresentation
498
- property :executable_file, as: 'executableFile'
499
378
  property :execution_timeout, as: 'executionTimeout'
379
+ property :executable_file, as: 'executableFile'
500
380
  end
501
381
  end
502
382
 
@@ -524,16 +404,16 @@ module Google
524
404
  # @private
525
405
  class Representation < Google::Apis::Core::JsonRepresentation
526
406
  hash :labels, as: 'labels'
527
- property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
528
-
529
407
  property :metrics, as: 'metrics', class: Google::Apis::DataprocV1::ClusterMetrics, decorator: Google::Apis::DataprocV1::ClusterMetrics::Representation
530
408
 
531
- collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
409
+ property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
532
410
 
533
411
  property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation
534
412
 
535
- property :cluster_uuid, as: 'clusterUuid'
413
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
414
+
536
415
  property :cluster_name, as: 'clusterName'
416
+ property :cluster_uuid, as: 'clusterUuid'
537
417
  property :project_id, as: 'projectId'
538
418
  end
539
419
  end
@@ -550,6 +430,8 @@ module Google
550
430
  class OperationMetadata
551
431
  # @private
552
432
  class Representation < Google::Apis::Core::JsonRepresentation
433
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
434
+
553
435
  property :operation_type, as: 'operationType'
554
436
  property :description, as: 'description'
555
437
  property :status, as: 'status', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
@@ -563,8 +445,6 @@ module Google
563
445
  property :start_time, as: 'startTime'
564
446
  collection :warnings, as: 'warnings'
565
447
  property :insert_time, as: 'insertTime'
566
- collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
567
-
568
448
  end
569
449
  end
570
450
 
@@ -587,15 +467,15 @@ module Google
587
467
  class PigJob
588
468
  # @private
589
469
  class Representation < Google::Apis::Core::JsonRepresentation
470
+ property :continue_on_failure, as: 'continueOnFailure'
590
471
  property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
591
472
 
592
473
  property :query_file_uri, as: 'queryFileUri'
593
- collection :jar_file_uris, as: 'jarFileUris'
594
474
  hash :script_variables, as: 'scriptVariables'
475
+ collection :jar_file_uris, as: 'jarFileUris'
595
476
  property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
596
477
 
597
478
  hash :properties, as: 'properties'
598
- property :continue_on_failure, as: 'continueOnFailure'
599
479
  end
600
480
  end
601
481
 
@@ -620,6 +500,14 @@ module Google
620
500
  class Job
621
501
  # @private
622
502
  class Representation < Google::Apis::Core::JsonRepresentation
503
+ property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation
504
+
505
+ property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation
506
+
507
+ property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation
508
+
509
+ property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
510
+
623
511
  property :driver_control_files_uri, as: 'driverControlFilesUri'
624
512
  property :scheduling, as: 'scheduling', class: Google::Apis::DataprocV1::JobScheduling, decorator: Google::Apis::DataprocV1::JobScheduling::Representation
625
513
 
@@ -629,30 +517,24 @@ module Google
629
517
 
630
518
  hash :labels, as: 'labels'
631
519
  property :driver_output_resource_uri, as: 'driverOutputResourceUri'
632
- property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
633
-
634
520
  collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
635
521
 
522
+ property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
523
+
636
524
  property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation
637
525
 
638
526
  collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation
639
527
 
640
528
  property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation
641
529
 
642
- property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation
643
-
644
- property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation
645
-
646
- property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
647
-
648
- property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation
649
-
650
530
  end
651
531
  end
652
532
 
653
533
  class SparkJob
654
534
  # @private
655
535
  class Representation < Google::Apis::Core::JsonRepresentation
536
+ collection :archive_uris, as: 'archiveUris'
537
+ property :main_jar_file_uri, as: 'mainJarFileUri'
656
538
  collection :jar_file_uris, as: 'jarFileUris'
657
539
  property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
658
540
 
@@ -660,17 +542,15 @@ module Google
660
542
  collection :args, as: 'args'
661
543
  collection :file_uris, as: 'fileUris'
662
544
  property :main_class, as: 'mainClass'
663
- collection :archive_uris, as: 'archiveUris'
664
- property :main_jar_file_uri, as: 'mainJarFileUri'
665
545
  end
666
546
  end
667
547
 
668
548
  class JobStatus
669
549
  # @private
670
550
  class Representation < Google::Apis::Core::JsonRepresentation
551
+ property :state_start_time, as: 'stateStartTime'
671
552
  property :state, as: 'state'
672
553
  property :details, as: 'details'
673
- property :state_start_time, as: 'stateStartTime'
674
554
  end
675
555
  end
676
556
 
@@ -691,6 +571,142 @@ module Google
691
571
  property :state_start_time, as: 'stateStartTime'
692
572
  end
693
573
  end
574
+
575
+ class HadoopJob
576
+ # @private
577
+ class Representation < Google::Apis::Core::JsonRepresentation
578
+ hash :properties, as: 'properties'
579
+ collection :args, as: 'args'
580
+ collection :file_uris, as: 'fileUris'
581
+ property :main_class, as: 'mainClass'
582
+ collection :archive_uris, as: 'archiveUris'
583
+ property :main_jar_file_uri, as: 'mainJarFileUri'
584
+ collection :jar_file_uris, as: 'jarFileUris'
585
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
586
+
587
+ end
588
+ end
589
+
590
+ class QueryList
591
+ # @private
592
+ class Representation < Google::Apis::Core::JsonRepresentation
593
+ collection :queries, as: 'queries'
594
+ end
595
+ end
596
+
597
+ class YarnApplication
598
+ # @private
599
+ class Representation < Google::Apis::Core::JsonRepresentation
600
+ property :state, as: 'state'
601
+ property :name, as: 'name'
602
+ property :tracking_url, as: 'trackingUrl'
603
+ property :progress, as: 'progress'
604
+ end
605
+ end
606
+
607
+ class DiagnoseClusterRequest
608
+ # @private
609
+ class Representation < Google::Apis::Core::JsonRepresentation
610
+ end
611
+ end
612
+
613
+ class DiskConfig
614
+ # @private
615
+ class Representation < Google::Apis::Core::JsonRepresentation
616
+ property :boot_disk_size_gb, as: 'bootDiskSizeGb'
617
+ property :num_local_ssds, as: 'numLocalSsds'
618
+ end
619
+ end
620
+
621
+ class ClusterOperationMetadata
622
+ # @private
623
+ class Representation < Google::Apis::Core::JsonRepresentation
624
+ property :description, as: 'description'
625
+ collection :warnings, as: 'warnings'
626
+ hash :labels, as: 'labels'
627
+ property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
628
+
629
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
630
+
631
+ property :cluster_uuid, as: 'clusterUuid'
632
+ property :cluster_name, as: 'clusterName'
633
+ property :operation_type, as: 'operationType'
634
+ end
635
+ end
636
+
637
+ class HiveJob
638
+ # @private
639
+ class Representation < Google::Apis::Core::JsonRepresentation
640
+ property :continue_on_failure, as: 'continueOnFailure'
641
+ property :query_file_uri, as: 'queryFileUri'
642
+ property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
643
+
644
+ collection :jar_file_uris, as: 'jarFileUris'
645
+ hash :script_variables, as: 'scriptVariables'
646
+ hash :properties, as: 'properties'
647
+ end
648
+ end
649
+
650
+ class Empty
651
+ # @private
652
+ class Representation < Google::Apis::Core::JsonRepresentation
653
+ end
654
+ end
655
+
656
+ class DiagnoseClusterResults
657
+ # @private
658
+ class Representation < Google::Apis::Core::JsonRepresentation
659
+ property :output_uri, as: 'outputUri'
660
+ end
661
+ end
662
+
663
+ class ClusterConfig
664
+ # @private
665
+ class Representation < Google::Apis::Core::JsonRepresentation
666
+ collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation
667
+
668
+ property :config_bucket, as: 'configBucket'
669
+ property :worker_config, as: 'workerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
670
+
671
+ property :gce_cluster_config, as: 'gceClusterConfig', class: Google::Apis::DataprocV1::GceClusterConfig, decorator: Google::Apis::DataprocV1::GceClusterConfig::Representation
672
+
673
+ property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation
674
+
675
+ property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
676
+
677
+ property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
678
+
679
+ end
680
+ end
681
+
682
+ class PySparkJob
683
+ # @private
684
+ class Representation < Google::Apis::Core::JsonRepresentation
685
+ collection :python_file_uris, as: 'pythonFileUris'
686
+ property :main_python_file_uri, as: 'mainPythonFileUri'
687
+ collection :archive_uris, as: 'archiveUris'
688
+ collection :jar_file_uris, as: 'jarFileUris'
689
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
690
+
691
+ hash :properties, as: 'properties'
692
+ collection :args, as: 'args'
693
+ collection :file_uris, as: 'fileUris'
694
+ end
695
+ end
696
+
697
+ class GceClusterConfig
698
+ # @private
699
+ class Representation < Google::Apis::Core::JsonRepresentation
700
+ property :network_uri, as: 'networkUri'
701
+ property :zone_uri, as: 'zoneUri'
702
+ hash :metadata, as: 'metadata'
703
+ property :internal_ip_only, as: 'internalIpOnly'
704
+ collection :service_account_scopes, as: 'serviceAccountScopes'
705
+ collection :tags, as: 'tags'
706
+ property :service_account, as: 'serviceAccount'
707
+ property :subnetwork_uri, as: 'subnetworkUri'
708
+ end
709
+ end
694
710
  end
695
711
  end
696
712
  end