google-api-client 0.10.2 → 0.10.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (248) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/MIGRATING.md +22 -7
  4. data/README.md +4 -8
  5. data/api_names.yaml +1210 -37815
  6. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +32 -0
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +144 -0
  8. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +86 -0
  9. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +90 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +764 -764
  12. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +180 -180
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +421 -421
  14. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1/classes.rb +1 -0
  16. data/generated/google/apis/admin_reports_v1.rb +1 -1
  17. data/generated/google/apis/adsense_v1_4.rb +1 -1
  18. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  19. data/generated/google/apis/analyticsreporting_v4/classes.rb +187 -187
  20. data/generated/google/apis/analyticsreporting_v4/representations.rb +42 -42
  21. data/generated/google/apis/appengine_v1.rb +40 -0
  22. data/generated/google/apis/appengine_v1/classes.rb +2251 -0
  23. data/generated/google/apis/appengine_v1/representations.rb +858 -0
  24. data/generated/google/apis/appengine_v1/service.rb +894 -0
  25. data/generated/google/apis/bigquery_v2.rb +1 -1
  26. data/generated/google/apis/bigquery_v2/classes.rb +11 -6
  27. data/generated/google/apis/books_v1.rb +1 -1
  28. data/generated/google/apis/books_v1/classes.rb +26 -0
  29. data/generated/google/apis/books_v1/representations.rb +15 -0
  30. data/generated/google/apis/books_v1/service.rb +4 -1
  31. data/generated/google/apis/calendar_v3.rb +1 -1
  32. data/generated/google/apis/classroom_v1.rb +1 -1
  33. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1/classes.rb +638 -637
  35. data/generated/google/apis/cloudbuild_v1/representations.rb +110 -110
  36. data/generated/google/apis/cloudbuild_v1/service.rb +139 -139
  37. data/generated/google/apis/clouddebugger_v2.rb +3 -3
  38. data/generated/google/apis/clouddebugger_v2/classes.rb +131 -131
  39. data/generated/google/apis/clouddebugger_v2/representations.rb +25 -25
  40. data/generated/google/apis/clouderrorreporting_v1beta1.rb +36 -0
  41. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +590 -0
  42. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +252 -0
  43. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +350 -0
  44. data/generated/google/apis/cloudfunctions_v1.rb +35 -0
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +98 -0
  46. data/generated/google/apis/cloudfunctions_v1/representations.rb +57 -0
  47. data/generated/google/apis/cloudfunctions_v1/service.rb +89 -0
  48. data/generated/google/apis/cloudkms_v1/classes.rb +277 -270
  49. data/generated/google/apis/cloudkms_v1/representations.rb +73 -73
  50. data/generated/google/apis/cloudkms_v1/service.rb +194 -194
  51. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  52. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1147 -1144
  53. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
  54. data/generated/google/apis/cloudresourcemanager_v1/service.rb +513 -936
  55. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +307 -916
  57. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +63 -285
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +333 -681
  59. data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
  60. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  61. data/generated/google/apis/cloudtrace_v1/service.rb +16 -16
  62. data/generated/google/apis/compute_beta.rb +1 -1
  63. data/generated/google/apis/compute_beta/classes.rb +32 -7
  64. data/generated/google/apis/compute_beta/representations.rb +2 -0
  65. data/generated/google/apis/compute_beta/service.rb +11 -11
  66. data/generated/google/apis/compute_v1.rb +1 -1
  67. data/generated/google/apis/compute_v1/classes.rb +95 -2
  68. data/generated/google/apis/compute_v1/representations.rb +33 -0
  69. data/generated/google/apis/dataflow_v1b3/classes.rb +3333 -3333
  70. data/generated/google/apis/dataflow_v1b3/representations.rb +759 -759
  71. data/generated/google/apis/dataflow_v1b3/service.rb +154 -154
  72. data/generated/google/apis/dataproc_v1.rb +1 -1
  73. data/generated/google/apis/dataproc_v1/classes.rb +1097 -1097
  74. data/generated/google/apis/dataproc_v1/representations.rb +200 -200
  75. data/generated/google/apis/dataproc_v1/service.rb +356 -356
  76. data/generated/google/apis/datastore_v1.rb +4 -4
  77. data/generated/google/apis/datastore_v1/classes.rb +701 -690
  78. data/generated/google/apis/datastore_v1/representations.rb +160 -160
  79. data/generated/google/apis/datastore_v1/service.rb +52 -52
  80. data/generated/google/apis/deploymentmanager_v2/classes.rb +4 -0
  81. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  82. data/generated/google/apis/drive_v2.rb +1 -1
  83. data/generated/google/apis/drive_v2/classes.rb +158 -35
  84. data/generated/google/apis/drive_v2/representations.rb +39 -0
  85. data/generated/google/apis/drive_v2/service.rb +4 -4
  86. data/generated/google/apis/drive_v3.rb +1 -1
  87. data/generated/google/apis/drive_v3/classes.rb +162 -33
  88. data/generated/google/apis/drive_v3/representations.rb +39 -0
  89. data/generated/google/apis/drive_v3/service.rb +4 -4
  90. data/generated/google/apis/firebasedynamiclinks_v1.rb +35 -0
  91. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +466 -0
  92. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +222 -0
  93. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +95 -0
  94. data/generated/google/apis/firebaserules_v1.rb +41 -0
  95. data/generated/google/apis/firebaserules_v1/classes.rb +425 -0
  96. data/generated/google/apis/firebaserules_v1/representations.rb +222 -0
  97. data/generated/google/apis/firebaserules_v1/service.rb +495 -0
  98. data/generated/google/apis/games_v1/classes.rb +4 -0
  99. data/generated/google/apis/genomics_v1.rb +7 -7
  100. data/generated/google/apis/genomics_v1/classes.rb +2336 -2335
  101. data/generated/google/apis/genomics_v1/representations.rb +387 -387
  102. data/generated/google/apis/genomics_v1/service.rb +1187 -1187
  103. data/generated/google/apis/gmail_v1/classes.rb +3 -0
  104. data/generated/google/apis/iam_v1.rb +1 -1
  105. data/generated/google/apis/iam_v1/classes.rb +123 -117
  106. data/generated/google/apis/iam_v1/representations.rb +33 -33
  107. data/generated/google/apis/iam_v1/service.rb +109 -109
  108. data/generated/google/apis/identitytoolkit_v3/classes.rb +5 -0
  109. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  110. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  111. data/generated/google/apis/kgsearch_v1/service.rb +4 -4
  112. data/generated/google/apis/language_v1.rb +36 -0
  113. data/generated/google/apis/language_v1/classes.rb +757 -0
  114. data/generated/google/apis/language_v1/representations.rb +338 -0
  115. data/generated/google/apis/language_v1/service.rb +185 -0
  116. data/generated/google/apis/language_v1beta1/classes.rb +407 -407
  117. data/generated/google/apis/language_v1beta1/representations.rb +103 -103
  118. data/generated/google/apis/language_v1beta1/service.rb +45 -45
  119. data/generated/google/apis/logging_v2.rb +46 -0
  120. data/generated/google/apis/logging_v2/classes.rb +1271 -0
  121. data/generated/google/apis/logging_v2/representations.rb +421 -0
  122. data/generated/google/apis/logging_v2/service.rb +1569 -0
  123. data/generated/google/apis/logging_v2beta1.rb +1 -1
  124. data/generated/google/apis/logging_v2beta1/classes.rb +886 -886
  125. data/generated/google/apis/logging_v2beta1/representations.rb +132 -132
  126. data/generated/google/apis/logging_v2beta1/service.rb +235 -235
  127. data/generated/google/apis/manufacturers_v1/classes.rb +147 -147
  128. data/generated/google/apis/manufacturers_v1/representations.rb +29 -29
  129. data/generated/google/apis/ml_v1.rb +34 -0
  130. data/generated/google/apis/ml_v1/classes.rb +1617 -0
  131. data/generated/google/apis/ml_v1/representations.rb +498 -0
  132. data/generated/google/apis/ml_v1/service.rb +769 -0
  133. data/generated/google/apis/monitoring_v3.rb +4 -4
  134. data/generated/google/apis/monitoring_v3/classes.rb +630 -630
  135. data/generated/google/apis/monitoring_v3/representations.rb +134 -134
  136. data/generated/google/apis/monitoring_v3/service.rb +240 -240
  137. data/generated/google/apis/pagespeedonline_v2/classes.rb +1 -0
  138. data/generated/google/apis/partners_v2.rb +1 -1
  139. data/generated/google/apis/partners_v2/classes.rb +639 -639
  140. data/generated/google/apis/partners_v2/representations.rb +168 -168
  141. data/generated/google/apis/partners_v2/service.rb +381 -381
  142. data/generated/google/apis/people_v1.rb +10 -10
  143. data/generated/google/apis/people_v1/classes.rb +524 -524
  144. data/generated/google/apis/people_v1/representations.rb +143 -143
  145. data/generated/google/apis/people_v1/service.rb +30 -30
  146. data/generated/google/apis/plus_domains_v1.rb +1 -1
  147. data/generated/google/apis/plus_v1.rb +1 -1
  148. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +454 -444
  149. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +90 -90
  150. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +110 -110
  151. data/generated/google/apis/pubsub_v1/classes.rb +175 -173
  152. data/generated/google/apis/pubsub_v1/representations.rb +53 -53
  153. data/generated/google/apis/pubsub_v1/service.rb +210 -210
  154. data/generated/google/apis/replicapool_v1beta2/classes.rb +2 -0
  155. data/generated/google/apis/runtimeconfig_v1.rb +38 -0
  156. data/generated/google/apis/runtimeconfig_v1/classes.rb +252 -0
  157. data/generated/google/apis/runtimeconfig_v1/representations.rb +98 -0
  158. data/generated/google/apis/runtimeconfig_v1/service.rb +176 -0
  159. data/generated/google/apis/script_v1.rb +1 -1
  160. data/generated/google/apis/script_v1/classes.rb +6 -6
  161. data/generated/google/apis/script_v1/representations.rb +1 -1
  162. data/generated/google/apis/searchconsole_v1.rb +31 -0
  163. data/generated/google/apis/searchconsole_v1/classes.rb +205 -0
  164. data/generated/google/apis/searchconsole_v1/representations.rb +129 -0
  165. data/generated/google/apis/searchconsole_v1/service.rb +88 -0
  166. data/generated/google/apis/servicecontrol_v1.rb +38 -0
  167. data/generated/google/apis/servicecontrol_v1/classes.rb +1675 -0
  168. data/generated/google/apis/servicecontrol_v1/representations.rb +601 -0
  169. data/generated/google/apis/servicecontrol_v1/service.rb +337 -0
  170. data/generated/google/apis/servicemanagement_v1.rb +45 -0
  171. data/generated/google/apis/servicemanagement_v1/classes.rb +4934 -0
  172. data/generated/google/apis/servicemanagement_v1/representations.rb +1526 -0
  173. data/generated/google/apis/servicemanagement_v1/service.rb +860 -0
  174. data/generated/google/apis/serviceuser_v1.rb +42 -0
  175. data/generated/google/apis/serviceuser_v1/classes.rb +3746 -0
  176. data/generated/google/apis/serviceuser_v1/representations.rb +1041 -0
  177. data/generated/google/apis/serviceuser_v1/service.rb +214 -0
  178. data/generated/google/apis/sheets_v4.rb +3 -3
  179. data/generated/google/apis/sheets_v4/classes.rb +4390 -4390
  180. data/generated/google/apis/sheets_v4/representations.rb +381 -381
  181. data/generated/google/apis/sheets_v4/service.rb +48 -48
  182. data/generated/google/apis/slides_v1.rb +3 -3
  183. data/generated/google/apis/slides_v1/classes.rb +2860 -2860
  184. data/generated/google/apis/slides_v1/representations.rb +693 -693
  185. data/generated/google/apis/slides_v1/service.rb +30 -30
  186. data/generated/google/apis/sourcerepo_v1.rb +34 -0
  187. data/generated/google/apis/sourcerepo_v1/classes.rb +687 -0
  188. data/generated/google/apis/sourcerepo_v1/representations.rb +285 -0
  189. data/generated/google/apis/sourcerepo_v1/service.rb +291 -0
  190. data/generated/google/apis/spanner_v1.rb +35 -0
  191. data/generated/google/apis/spanner_v1/classes.rb +3294 -0
  192. data/generated/google/apis/spanner_v1/representations.rb +984 -0
  193. data/generated/google/apis/spanner_v1/service.rb +1504 -0
  194. data/generated/google/apis/speech_v1beta1.rb +1 -1
  195. data/generated/google/apis/speech_v1beta1/classes.rb +197 -196
  196. data/generated/google/apis/speech_v1beta1/representations.rb +53 -53
  197. data/generated/google/apis/speech_v1beta1/service.rb +27 -27
  198. data/generated/google/apis/storage_v1.rb +1 -1
  199. data/generated/google/apis/storage_v1/classes.rb +131 -0
  200. data/generated/google/apis/storage_v1/representations.rb +51 -0
  201. data/generated/google/apis/storage_v1/service.rb +182 -0
  202. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  203. data/generated/google/apis/storagetransfer_v1/classes.rb +732 -661
  204. data/generated/google/apis/storagetransfer_v1/representations.rb +132 -132
  205. data/generated/google/apis/storagetransfer_v1/service.rb +174 -197
  206. data/generated/google/apis/surveys_v2.rb +40 -0
  207. data/generated/google/apis/surveys_v2/classes.rb +806 -0
  208. data/generated/google/apis/surveys_v2/representations.rb +347 -0
  209. data/generated/google/apis/surveys_v2/service.rb +477 -0
  210. data/generated/google/apis/tagmanager_v2.rb +52 -0
  211. data/generated/google/apis/tagmanager_v2/classes.rb +2435 -0
  212. data/generated/google/apis/tagmanager_v2/representations.rb +993 -0
  213. data/generated/google/apis/tagmanager_v2/service.rb +2865 -0
  214. data/generated/google/apis/toolresults_v1beta3.rb +34 -0
  215. data/generated/google/apis/toolresults_v1beta3/classes.rb +2160 -0
  216. data/generated/google/apis/toolresults_v1beta3/representations.rb +729 -0
  217. data/generated/google/apis/toolresults_v1beta3/service.rb +1236 -0
  218. data/generated/google/apis/tracing_v1.rb +40 -0
  219. data/generated/google/apis/tracing_v1/classes.rb +664 -0
  220. data/generated/google/apis/tracing_v1/representations.rb +279 -0
  221. data/generated/google/apis/tracing_v1/service.rb +225 -0
  222. data/generated/google/apis/vision_v1.rb +1 -1
  223. data/generated/google/apis/vision_v1/classes.rb +1223 -1222
  224. data/generated/google/apis/vision_v1/representations.rb +234 -234
  225. data/generated/google/apis/vision_v1/service.rb +10 -10
  226. data/generated/google/apis/webfonts_v1.rb +33 -0
  227. data/generated/google/apis/webfonts_v1/classes.rb +113 -0
  228. data/generated/google/apis/webfonts_v1/representations.rb +62 -0
  229. data/generated/google/apis/webfonts_v1/service.rb +102 -0
  230. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  231. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  232. data/generated/google/apis/youtube_partner_v1/classes.rb +31 -0
  233. data/generated/google/apis/youtube_partner_v1/representations.rb +6 -0
  234. data/generated/google/apis/youtube_partner_v1/service.rb +41 -0
  235. data/generated/google/apis/youtube_v3/classes.rb +1 -0
  236. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  237. data/generated/google/apis/youtubereporting_v1/classes.rb +76 -76
  238. data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
  239. data/generated/google/apis/youtubereporting_v1/service.rb +95 -95
  240. data/lib/google/apis/generator/annotator.rb +5 -4
  241. data/lib/google/apis/generator/templates/_class.tmpl +3 -0
  242. data/lib/google/apis/version.rb +1 -1
  243. data/samples/cli/lib/samples/adsense.rb +99 -0
  244. data/samples/cli/lib/samples/analytics.rb +18 -0
  245. data/samples/cli/lib/samples/gmail.rb +33 -0
  246. data/samples/cli/lib/samples/vision.rb +69 -0
  247. metadata +89 -4
  248. data/sync.rb +0 -71
@@ -22,6 +22,60 @@ module Google
22
22
  module Apis
23
23
  module DataprocV1
24
24
 
25
+ class Status
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class InstanceGroupConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class JobScheduling
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class ListJobsResponse
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class NodeInitializationAction
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CancelJobRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class SparkSqlJob
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Cluster
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ListOperationsResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
25
79
  class OperationMetadata
26
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
81
 
@@ -58,13 +112,13 @@ module Google
58
112
  include Google::Apis::Core::JsonObjectSupport
59
113
  end
60
114
 
61
- class Job
115
+ class SparkJob
62
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
117
 
64
118
  include Google::Apis::Core::JsonObjectSupport
65
119
  end
66
120
 
67
- class SparkJob
121
+ class Job
68
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
123
 
70
124
  include Google::Apis::Core::JsonObjectSupport
@@ -88,19 +142,19 @@ module Google
88
142
  include Google::Apis::Core::JsonObjectSupport
89
143
  end
90
144
 
91
- class HadoopJob
145
+ class QueryList
92
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
147
 
94
148
  include Google::Apis::Core::JsonObjectSupport
95
149
  end
96
150
 
97
- class QueryList
151
+ class YarnApplication
98
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
153
 
100
154
  include Google::Apis::Core::JsonObjectSupport
101
155
  end
102
156
 
103
- class YarnApplication
157
+ class HadoopJob
104
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
159
 
106
160
  include Google::Apis::Core::JsonObjectSupport
@@ -160,13 +214,13 @@ module Google
160
214
  include Google::Apis::Core::JsonObjectSupport
161
215
  end
162
216
 
163
- class AcceleratorConfig
217
+ class ClusterMetrics
164
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
219
 
166
220
  include Google::Apis::Core::JsonObjectSupport
167
221
  end
168
222
 
169
- class ClusterMetrics
223
+ class AcceleratorConfig
170
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
225
 
172
226
  include Google::Apis::Core::JsonObjectSupport
@@ -209,70 +263,105 @@ module Google
209
263
  end
210
264
 
211
265
  class Status
212
- class Representation < Google::Apis::Core::JsonRepresentation; end
213
-
214
- include Google::Apis::Core::JsonObjectSupport
266
+ # @private
267
+ class Representation < Google::Apis::Core::JsonRepresentation
268
+ collection :details, as: 'details'
269
+ property :code, as: 'code'
270
+ property :message, as: 'message'
271
+ end
215
272
  end
216
273
 
217
274
  class InstanceGroupConfig
218
- class Representation < Google::Apis::Core::JsonRepresentation; end
275
+ # @private
276
+ class Representation < Google::Apis::Core::JsonRepresentation
277
+ collection :accelerators, as: 'accelerators', class: Google::Apis::DataprocV1::AcceleratorConfig, decorator: Google::Apis::DataprocV1::AcceleratorConfig::Representation
219
278
 
220
- include Google::Apis::Core::JsonObjectSupport
279
+ property :num_instances, as: 'numInstances'
280
+ property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation
281
+
282
+ property :is_preemptible, as: 'isPreemptible'
283
+ property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation
284
+
285
+ property :machine_type_uri, as: 'machineTypeUri'
286
+ property :image_uri, as: 'imageUri'
287
+ collection :instance_names, as: 'instanceNames'
288
+ end
221
289
  end
222
290
 
223
291
  class JobScheduling
224
- class Representation < Google::Apis::Core::JsonRepresentation; end
225
-
226
- include Google::Apis::Core::JsonObjectSupport
292
+ # @private
293
+ class Representation < Google::Apis::Core::JsonRepresentation
294
+ property :max_failures_per_hour, as: 'maxFailuresPerHour'
295
+ end
227
296
  end
228
297
 
229
298
  class ListJobsResponse
230
- class Representation < Google::Apis::Core::JsonRepresentation; end
299
+ # @private
300
+ class Representation < Google::Apis::Core::JsonRepresentation
301
+ collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
231
302
 
232
- include Google::Apis::Core::JsonObjectSupport
303
+ property :next_page_token, as: 'nextPageToken'
304
+ end
233
305
  end
234
306
 
235
307
  class NodeInitializationAction
236
- class Representation < Google::Apis::Core::JsonRepresentation; end
237
-
238
- include Google::Apis::Core::JsonObjectSupport
308
+ # @private
309
+ class Representation < Google::Apis::Core::JsonRepresentation
310
+ property :execution_timeout, as: 'executionTimeout'
311
+ property :executable_file, as: 'executableFile'
312
+ end
239
313
  end
240
314
 
241
315
  class CancelJobRequest
242
- class Representation < Google::Apis::Core::JsonRepresentation; end
243
-
244
- include Google::Apis::Core::JsonObjectSupport
316
+ # @private
317
+ class Representation < Google::Apis::Core::JsonRepresentation
318
+ end
245
319
  end
246
320
 
247
321
  class SparkSqlJob
248
- class Representation < Google::Apis::Core::JsonRepresentation; end
322
+ # @private
323
+ class Representation < Google::Apis::Core::JsonRepresentation
324
+ property :query_file_uri, as: 'queryFileUri'
325
+ property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
249
326
 
250
- include Google::Apis::Core::JsonObjectSupport
327
+ hash :script_variables, as: 'scriptVariables'
328
+ collection :jar_file_uris, as: 'jarFileUris'
329
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
330
+
331
+ hash :properties, as: 'properties'
332
+ end
251
333
  end
252
334
 
253
335
  class Cluster
254
- class Representation < Google::Apis::Core::JsonRepresentation; end
336
+ # @private
337
+ class Representation < Google::Apis::Core::JsonRepresentation
338
+ hash :labels, as: 'labels'
339
+ property :metrics, as: 'metrics', class: Google::Apis::DataprocV1::ClusterMetrics, decorator: Google::Apis::DataprocV1::ClusterMetrics::Representation
255
340
 
256
- include Google::Apis::Core::JsonObjectSupport
341
+ property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
342
+
343
+ collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
344
+
345
+ property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation
346
+
347
+ property :cluster_name, as: 'clusterName'
348
+ property :cluster_uuid, as: 'clusterUuid'
349
+ property :project_id, as: 'projectId'
350
+ end
257
351
  end
258
352
 
259
353
  class ListOperationsResponse
260
- class Representation < Google::Apis::Core::JsonRepresentation; end
354
+ # @private
355
+ class Representation < Google::Apis::Core::JsonRepresentation
356
+ collection :operations, as: 'operations', class: Google::Apis::DataprocV1::Operation, decorator: Google::Apis::DataprocV1::Operation::Representation
261
357
 
262
- include Google::Apis::Core::JsonObjectSupport
358
+ property :next_page_token, as: 'nextPageToken'
359
+ end
263
360
  end
264
361
 
265
362
  class OperationMetadata
266
363
  # @private
267
364
  class Representation < Google::Apis::Core::JsonRepresentation
268
- property :description, as: 'description'
269
- property :status, as: 'status', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
270
-
271
- property :details, as: 'details'
272
- property :state, as: 'state'
273
- property :cluster_name, as: 'clusterName'
274
- property :cluster_uuid, as: 'clusterUuid'
275
- property :inner_state, as: 'innerState'
276
365
  property :end_time, as: 'endTime'
277
366
  property :start_time, as: 'startTime'
278
367
  collection :warnings, as: 'warnings'
@@ -280,6 +369,14 @@ module Google
280
369
  collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
281
370
 
282
371
  property :operation_type, as: 'operationType'
372
+ property :description, as: 'description'
373
+ property :status, as: 'status', class: Google::Apis::DataprocV1::OperationStatus, decorator: Google::Apis::DataprocV1::OperationStatus::Representation
374
+
375
+ property :details, as: 'details'
376
+ property :state, as: 'state'
377
+ property :cluster_uuid, as: 'clusterUuid'
378
+ property :cluster_name, as: 'clusterName'
379
+ property :inner_state, as: 'innerState'
283
380
  end
284
381
  end
285
382
 
@@ -303,9 +400,9 @@ module Google
303
400
  # @private
304
401
  class Representation < Google::Apis::Core::JsonRepresentation
305
402
  property :continue_on_failure, as: 'continueOnFailure'
306
- property :query_file_uri, as: 'queryFileUri'
307
403
  property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
308
404
 
405
+ property :query_file_uri, as: 'queryFileUri'
309
406
  collection :jar_file_uris, as: 'jarFileUris'
310
407
  hash :script_variables, as: 'scriptVariables'
311
408
  property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
@@ -317,10 +414,10 @@ module Google
317
414
  class ClusterStatus
318
415
  # @private
319
416
  class Representation < Google::Apis::Core::JsonRepresentation
320
- property :detail, as: 'detail'
321
- property :state, as: 'state'
322
417
  property :state_start_time, as: 'stateStartTime'
323
418
  property :substate, as: 'substate'
419
+ property :detail, as: 'detail'
420
+ property :state, as: 'state'
324
421
  end
325
422
  end
326
423
 
@@ -333,9 +430,32 @@ module Google
333
430
  end
334
431
  end
335
432
 
433
+ class SparkJob
434
+ # @private
435
+ class Representation < Google::Apis::Core::JsonRepresentation
436
+ property :main_class, as: 'mainClass'
437
+ collection :archive_uris, as: 'archiveUris'
438
+ property :main_jar_file_uri, as: 'mainJarFileUri'
439
+ collection :jar_file_uris, as: 'jarFileUris'
440
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
441
+
442
+ hash :properties, as: 'properties'
443
+ collection :args, as: 'args'
444
+ collection :file_uris, as: 'fileUris'
445
+ end
446
+ end
447
+
336
448
  class Job
337
449
  # @private
338
450
  class Representation < Google::Apis::Core::JsonRepresentation
451
+ collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation
452
+
453
+ property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation
454
+
455
+ property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation
456
+
457
+ property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation
458
+
339
459
  property :status, as: 'status', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
340
460
 
341
461
  property :placement, as: 'placement', class: Google::Apis::DataprocV1::JobPlacement, decorator: Google::Apis::DataprocV1::JobPlacement::Representation
@@ -349,35 +469,12 @@ module Google
349
469
 
350
470
  hash :labels, as: 'labels'
351
471
  property :driver_output_resource_uri, as: 'driverOutputResourceUri'
352
- property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation
353
-
354
- property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
355
-
356
472
  collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::JobStatus, decorator: Google::Apis::DataprocV1::JobStatus::Representation
357
473
 
358
- collection :yarn_applications, as: 'yarnApplications', class: Google::Apis::DataprocV1::YarnApplication, decorator: Google::Apis::DataprocV1::YarnApplication::Representation
359
-
360
- property :pyspark_job, as: 'pysparkJob', class: Google::Apis::DataprocV1::PySparkJob, decorator: Google::Apis::DataprocV1::PySparkJob::Representation
361
-
362
- property :reference, as: 'reference', class: Google::Apis::DataprocV1::JobReference, decorator: Google::Apis::DataprocV1::JobReference::Representation
363
-
364
- property :hadoop_job, as: 'hadoopJob', class: Google::Apis::DataprocV1::HadoopJob, decorator: Google::Apis::DataprocV1::HadoopJob::Representation
365
-
366
- end
367
- end
474
+ property :spark_job, as: 'sparkJob', class: Google::Apis::DataprocV1::SparkJob, decorator: Google::Apis::DataprocV1::SparkJob::Representation
368
475
 
369
- class SparkJob
370
- # @private
371
- class Representation < Google::Apis::Core::JsonRepresentation
372
- collection :jar_file_uris, as: 'jarFileUris'
373
- property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
476
+ property :spark_sql_job, as: 'sparkSqlJob', class: Google::Apis::DataprocV1::SparkSqlJob, decorator: Google::Apis::DataprocV1::SparkSqlJob::Representation
374
477
 
375
- hash :properties, as: 'properties'
376
- collection :args, as: 'args'
377
- collection :file_uris, as: 'fileUris'
378
- property :main_class, as: 'mainClass'
379
- collection :archive_uris, as: 'archiveUris'
380
- property :main_jar_file_uri, as: 'mainJarFileUri'
381
478
  end
382
479
  end
383
480
 
@@ -402,25 +499,10 @@ module Google
402
499
  class ClusterOperationStatus
403
500
  # @private
404
501
  class Representation < Google::Apis::Core::JsonRepresentation
405
- property :inner_state, as: 'innerState'
406
- property :state_start_time, as: 'stateStartTime'
407
502
  property :state, as: 'state'
408
503
  property :details, as: 'details'
409
- end
410
- end
411
-
412
- class HadoopJob
413
- # @private
414
- class Representation < Google::Apis::Core::JsonRepresentation
415
- property :main_class, as: 'mainClass'
416
- collection :archive_uris, as: 'archiveUris'
417
- property :main_jar_file_uri, as: 'mainJarFileUri'
418
- collection :jar_file_uris, as: 'jarFileUris'
419
- property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
420
-
421
- hash :properties, as: 'properties'
422
- collection :args, as: 'args'
423
- collection :file_uris, as: 'fileUris'
504
+ property :inner_state, as: 'innerState'
505
+ property :state_start_time, as: 'stateStartTime'
424
506
  end
425
507
  end
426
508
 
@@ -434,10 +516,25 @@ module Google
434
516
  class YarnApplication
435
517
  # @private
436
518
  class Representation < Google::Apis::Core::JsonRepresentation
437
- property :tracking_url, as: 'trackingUrl'
438
- property :progress, as: 'progress'
439
519
  property :state, as: 'state'
440
520
  property :name, as: 'name'
521
+ property :tracking_url, as: 'trackingUrl'
522
+ property :progress, as: 'progress'
523
+ end
524
+ end
525
+
526
+ class HadoopJob
527
+ # @private
528
+ class Representation < Google::Apis::Core::JsonRepresentation
529
+ collection :jar_file_uris, as: 'jarFileUris'
530
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
531
+
532
+ hash :properties, as: 'properties'
533
+ collection :args, as: 'args'
534
+ collection :file_uris, as: 'fileUris'
535
+ property :main_class, as: 'mainClass'
536
+ collection :archive_uris, as: 'archiveUris'
537
+ property :main_jar_file_uri, as: 'mainJarFileUri'
441
538
  end
442
539
  end
443
540
 
@@ -450,24 +547,24 @@ module Google
450
547
  class DiskConfig
451
548
  # @private
452
549
  class Representation < Google::Apis::Core::JsonRepresentation
453
- property :boot_disk_size_gb, as: 'bootDiskSizeGb'
454
550
  property :num_local_ssds, as: 'numLocalSsds'
551
+ property :boot_disk_size_gb, as: 'bootDiskSizeGb'
455
552
  end
456
553
  end
457
554
 
458
555
  class ClusterOperationMetadata
459
556
  # @private
460
557
  class Representation < Google::Apis::Core::JsonRepresentation
461
- property :operation_type, as: 'operationType'
462
- property :description, as: 'description'
463
- collection :warnings, as: 'warnings'
464
558
  hash :labels, as: 'labels'
465
559
  property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
466
560
 
467
561
  collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterOperationStatus, decorator: Google::Apis::DataprocV1::ClusterOperationStatus::Representation
468
562
 
469
- property :cluster_uuid, as: 'clusterUuid'
470
563
  property :cluster_name, as: 'clusterName'
564
+ property :cluster_uuid, as: 'clusterUuid'
565
+ property :operation_type, as: 'operationType'
566
+ property :description, as: 'description'
567
+ collection :warnings, as: 'warnings'
471
568
  end
472
569
  end
473
570
 
@@ -480,13 +577,13 @@ module Google
480
577
  class HiveJob
481
578
  # @private
482
579
  class Representation < Google::Apis::Core::JsonRepresentation
483
- collection :jar_file_uris, as: 'jarFileUris'
484
- hash :script_variables, as: 'scriptVariables'
485
- hash :properties, as: 'properties'
486
580
  property :continue_on_failure, as: 'continueOnFailure'
487
- property :query_file_uri, as: 'queryFileUri'
488
581
  property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
489
582
 
583
+ property :query_file_uri, as: 'queryFileUri'
584
+ collection :jar_file_uris, as: 'jarFileUris'
585
+ hash :script_variables, as: 'scriptVariables'
586
+ hash :properties, as: 'properties'
490
587
  end
491
588
  end
492
589
 
@@ -500,10 +597,6 @@ module Google
500
597
  class ClusterConfig
501
598
  # @private
502
599
  class Representation < Google::Apis::Core::JsonRepresentation
503
- property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
504
-
505
- property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
506
-
507
600
  collection :initialization_actions, as: 'initializationActions', class: Google::Apis::DataprocV1::NodeInitializationAction, decorator: Google::Apis::DataprocV1::NodeInitializationAction::Representation
508
601
 
509
602
  property :config_bucket, as: 'configBucket'
@@ -513,6 +606,10 @@ module Google
513
606
 
514
607
  property :software_config, as: 'softwareConfig', class: Google::Apis::DataprocV1::SoftwareConfig, decorator: Google::Apis::DataprocV1::SoftwareConfig::Representation
515
608
 
609
+ property :master_config, as: 'masterConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
610
+
611
+ property :secondary_worker_config, as: 'secondaryWorkerConfig', class: Google::Apis::DataprocV1::InstanceGroupConfig, decorator: Google::Apis::DataprocV1::InstanceGroupConfig::Representation
612
+
516
613
  end
517
614
  end
518
615
 
@@ -545,19 +642,19 @@ module Google
545
642
  end
546
643
  end
547
644
 
548
- class AcceleratorConfig
645
+ class ClusterMetrics
549
646
  # @private
550
647
  class Representation < Google::Apis::Core::JsonRepresentation
551
- property :accelerator_count, as: 'acceleratorCount'
552
- property :accelerator_type_uri, as: 'acceleratorTypeUri'
648
+ hash :hdfs_metrics, as: 'hdfsMetrics'
649
+ hash :yarn_metrics, as: 'yarnMetrics'
553
650
  end
554
651
  end
555
652
 
556
- class ClusterMetrics
653
+ class AcceleratorConfig
557
654
  # @private
558
655
  class Representation < Google::Apis::Core::JsonRepresentation
559
- hash :yarn_metrics, as: 'yarnMetrics'
560
- hash :hdfs_metrics, as: 'hdfsMetrics'
656
+ property :accelerator_count, as: 'acceleratorCount'
657
+ property :accelerator_type_uri, as: 'acceleratorTypeUri'
561
658
  end
562
659
  end
563
660
 
@@ -612,103 +709,6 @@ module Google
612
709
 
613
710
  end
614
711
  end
615
-
616
- class Status
617
- # @private
618
- class Representation < Google::Apis::Core::JsonRepresentation
619
- property :code, as: 'code'
620
- property :message, as: 'message'
621
- collection :details, as: 'details'
622
- end
623
- end
624
-
625
- class InstanceGroupConfig
626
- # @private
627
- class Representation < Google::Apis::Core::JsonRepresentation
628
- property :managed_group_config, as: 'managedGroupConfig', class: Google::Apis::DataprocV1::ManagedGroupConfig, decorator: Google::Apis::DataprocV1::ManagedGroupConfig::Representation
629
-
630
- property :is_preemptible, as: 'isPreemptible'
631
- property :image_uri, as: 'imageUri'
632
- property :machine_type_uri, as: 'machineTypeUri'
633
- collection :instance_names, as: 'instanceNames'
634
- collection :accelerators, as: 'accelerators', class: Google::Apis::DataprocV1::AcceleratorConfig, decorator: Google::Apis::DataprocV1::AcceleratorConfig::Representation
635
-
636
- property :num_instances, as: 'numInstances'
637
- property :disk_config, as: 'diskConfig', class: Google::Apis::DataprocV1::DiskConfig, decorator: Google::Apis::DataprocV1::DiskConfig::Representation
638
-
639
- end
640
- end
641
-
642
- class JobScheduling
643
- # @private
644
- class Representation < Google::Apis::Core::JsonRepresentation
645
- property :max_failures_per_hour, as: 'maxFailuresPerHour'
646
- end
647
- end
648
-
649
- class ListJobsResponse
650
- # @private
651
- class Representation < Google::Apis::Core::JsonRepresentation
652
- collection :jobs, as: 'jobs', class: Google::Apis::DataprocV1::Job, decorator: Google::Apis::DataprocV1::Job::Representation
653
-
654
- property :next_page_token, as: 'nextPageToken'
655
- end
656
- end
657
-
658
- class NodeInitializationAction
659
- # @private
660
- class Representation < Google::Apis::Core::JsonRepresentation
661
- property :executable_file, as: 'executableFile'
662
- property :execution_timeout, as: 'executionTimeout'
663
- end
664
- end
665
-
666
- class CancelJobRequest
667
- # @private
668
- class Representation < Google::Apis::Core::JsonRepresentation
669
- end
670
- end
671
-
672
- class SparkSqlJob
673
- # @private
674
- class Representation < Google::Apis::Core::JsonRepresentation
675
- hash :script_variables, as: 'scriptVariables'
676
- collection :jar_file_uris, as: 'jarFileUris'
677
- property :logging_config, as: 'loggingConfig', class: Google::Apis::DataprocV1::LoggingConfig, decorator: Google::Apis::DataprocV1::LoggingConfig::Representation
678
-
679
- hash :properties, as: 'properties'
680
- property :query_file_uri, as: 'queryFileUri'
681
- property :query_list, as: 'queryList', class: Google::Apis::DataprocV1::QueryList, decorator: Google::Apis::DataprocV1::QueryList::Representation
682
-
683
- end
684
- end
685
-
686
- class Cluster
687
- # @private
688
- class Representation < Google::Apis::Core::JsonRepresentation
689
- property :project_id, as: 'projectId'
690
- hash :labels, as: 'labels'
691
- property :status, as: 'status', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
692
-
693
- property :metrics, as: 'metrics', class: Google::Apis::DataprocV1::ClusterMetrics, decorator: Google::Apis::DataprocV1::ClusterMetrics::Representation
694
-
695
- collection :status_history, as: 'statusHistory', class: Google::Apis::DataprocV1::ClusterStatus, decorator: Google::Apis::DataprocV1::ClusterStatus::Representation
696
-
697
- property :config, as: 'config', class: Google::Apis::DataprocV1::ClusterConfig, decorator: Google::Apis::DataprocV1::ClusterConfig::Representation
698
-
699
- property :cluster_uuid, as: 'clusterUuid'
700
- property :cluster_name, as: 'clusterName'
701
- end
702
- end
703
-
704
- class ListOperationsResponse
705
- # @private
706
- class Representation < Google::Apis::Core::JsonRepresentation
707
- property :next_page_token, as: 'nextPageToken'
708
- collection :operations, as: 'operations', class: Google::Apis::DataprocV1::Operation, decorator: Google::Apis::DataprocV1::Operation::Representation
709
-
710
- end
711
- end
712
712
  end
713
713
  end
714
714
  end