google-api-client 0.23.0 → 0.23.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (251) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +114 -0
  3. data/CODE_OF_CONDUCT.md +43 -0
  4. data/MIGRATING.md +1 -5
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -1
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/service.rb +3 -3
  10. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  11. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  12. data/generated/google/apis/androidmanagement_v1/classes.rb +7 -3
  13. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  14. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -0
  15. data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
  16. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -0
  18. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  19. data/generated/google/apis/appengine_v1.rb +1 -1
  20. data/generated/google/apis/appengine_v1/classes.rb +34 -1
  21. data/generated/google/apis/appengine_v1/representations.rb +16 -0
  22. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  23. data/generated/google/apis/appengine_v1beta.rb +1 -1
  24. data/generated/google/apis/appengine_v1beta/classes.rb +67 -3
  25. data/generated/google/apis/appengine_v1beta/representations.rb +32 -0
  26. data/generated/google/apis/appengine_v1beta4.rb +1 -1
  27. data/generated/google/apis/appengine_v1beta5.rb +1 -1
  28. data/generated/google/apis/appsmarket_v2.rb +1 -1
  29. data/generated/google/apis/bigquery_v2.rb +1 -1
  30. data/generated/google/apis/bigquery_v2/classes.rb +6 -4
  31. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  32. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -6
  33. data/generated/google/apis/chat_v1.rb +2 -2
  34. data/generated/google/apis/chat_v1/classes.rb +76 -0
  35. data/generated/google/apis/chat_v1/representations.rb +25 -0
  36. data/generated/google/apis/chat_v1/service.rb +1 -1
  37. data/generated/google/apis/classroom_v1.rb +1 -1
  38. data/generated/google/apis/classroom_v1/classes.rb +1 -1
  39. data/generated/google/apis/classroom_v1/service.rb +12 -12
  40. data/generated/google/apis/cloudbuild_v1.rb +2 -2
  41. data/generated/google/apis/cloudbuild_v1/classes.rb +21 -33
  42. data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
  43. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  44. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +31 -0
  46. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  47. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  48. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +31 -0
  49. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +3 -0
  50. data/generated/google/apis/cloudiot_v1.rb +1 -1
  51. data/generated/google/apis/cloudiot_v1/service.rb +0 -331
  52. data/generated/google/apis/cloudkms_v1.rb +1 -1
  53. data/generated/google/apis/cloudkms_v1/classes.rb +0 -1
  54. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +66 -22
  57. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  58. data/generated/google/apis/cloudresourcemanager_v1/service.rb +40 -0
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  61. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -3
  62. data/generated/google/apis/cloudresourcemanager_v2/service.rb +38 -6
  63. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  64. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +9 -5
  65. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +51 -19
  66. data/generated/google/apis/cloudshell_v1.rb +1 -1
  67. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  68. data/generated/google/apis/cloudtasks_v2beta2.rb +2 -3
  69. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +9 -12
  70. data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -11
  71. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  72. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  73. data/generated/google/apis/composer_v1beta1.rb +1 -1
  74. data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
  75. data/generated/google/apis/compute_alpha.rb +1 -1
  76. data/generated/google/apis/compute_alpha/classes.rb +49 -18
  77. data/generated/google/apis/compute_alpha/representations.rb +6 -1
  78. data/generated/google/apis/compute_beta.rb +1 -1
  79. data/generated/google/apis/compute_beta/classes.rb +1114 -103
  80. data/generated/google/apis/compute_beta/representations.rb +431 -0
  81. data/generated/google/apis/compute_beta/service.rb +605 -0
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +95 -1
  84. data/generated/google/apis/compute_v1/representations.rb +33 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1/classes.rb +1 -1
  87. data/generated/google/apis/container_v1/service.rb +1 -1
  88. data/generated/google/apis/container_v1beta1.rb +1 -1
  89. data/generated/google/apis/container_v1beta1/classes.rb +348 -2
  90. data/generated/google/apis/container_v1beta1/representations.rb +121 -0
  91. data/generated/google/apis/container_v1beta1/service.rb +114 -2
  92. data/generated/google/apis/content_v2.rb +1 -1
  93. data/generated/google/apis/content_v2/classes.rb +147 -0
  94. data/generated/google/apis/content_v2/representations.rb +65 -0
  95. data/generated/google/apis/content_v2/service.rb +81 -1
  96. data/generated/google/apis/content_v2sandbox.rb +1 -1
  97. data/generated/google/apis/content_v2sandbox/classes.rb +7 -0
  98. data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
  99. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  100. data/generated/google/apis/dataflow_v1b3/classes.rb +262 -0
  101. data/generated/google/apis/dataflow_v1b3/representations.rb +130 -0
  102. data/generated/google/apis/dataproc_v1.rb +1 -1
  103. data/generated/google/apis/dataproc_v1/classes.rb +164 -1
  104. data/generated/google/apis/dataproc_v1/representations.rb +70 -0
  105. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  106. data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
  107. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  108. data/generated/google/apis/datastore_v1.rb +1 -1
  109. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  110. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  111. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  112. data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
  113. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  114. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
  115. data/generated/google/apis/dialogflow_v2.rb +1 -1
  116. data/generated/google/apis/dialogflow_v2/classes.rb +40 -21
  117. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  118. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  119. data/generated/google/apis/dialogflow_v2beta1/classes.rb +43 -28
  120. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
  121. data/generated/google/apis/dialogflow_v2beta1/service.rb +74 -110
  122. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  123. data/generated/google/apis/dlp_v2.rb +1 -1
  124. data/generated/google/apis/dlp_v2/classes.rb +70 -26
  125. data/generated/google/apis/dlp_v2/representations.rb +3 -0
  126. data/generated/google/apis/dlp_v2/service.rb +78 -17
  127. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  128. data/generated/google/apis/firebaserules_v1.rb +1 -1
  129. data/generated/google/apis/firebaserules_v1/classes.rb +33 -0
  130. data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
  131. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  132. data/generated/google/apis/firestore_v1beta1/classes.rb +137 -125
  133. data/generated/google/apis/firestore_v1beta1/representations.rb +39 -35
  134. data/generated/google/apis/firestore_v1beta1/service.rb +16 -16
  135. data/generated/google/apis/genomics_v1.rb +1 -1
  136. data/generated/google/apis/genomics_v1/classes.rb +0 -1
  137. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  138. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  139. data/generated/google/apis/genomics_v2alpha1/classes.rb +17 -3
  140. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  141. data/generated/google/apis/iam_v1.rb +1 -1
  142. data/generated/google/apis/{sqladmin_v1beta3.rb → iamcredentials_v1.rb} +9 -13
  143. data/generated/google/apis/iamcredentials_v1/classes.rb +272 -0
  144. data/generated/google/apis/iamcredentials_v1/representations.rb +139 -0
  145. data/generated/google/apis/iamcredentials_v1/service.rb +207 -0
  146. data/generated/google/apis/indexing_v3.rb +32 -0
  147. data/generated/google/apis/indexing_v3/classes.rb +115 -0
  148. data/generated/google/apis/indexing_v3/representations.rb +72 -0
  149. data/generated/google/apis/indexing_v3/service.rb +122 -0
  150. data/generated/google/apis/jobs_v2.rb +1 -1
  151. data/generated/google/apis/jobs_v2/classes.rb +73 -72
  152. data/generated/google/apis/jobs_v2/representations.rb +0 -1
  153. data/generated/google/apis/jobs_v2/service.rb +8 -7
  154. data/generated/google/apis/language_v1.rb +1 -1
  155. data/generated/google/apis/language_v1beta1.rb +1 -1
  156. data/generated/google/apis/language_v1beta2.rb +1 -1
  157. data/generated/google/apis/logging_v2.rb +1 -1
  158. data/generated/google/apis/logging_v2/classes.rb +42 -0
  159. data/generated/google/apis/logging_v2/representations.rb +17 -0
  160. data/generated/google/apis/logging_v2beta1.rb +1 -1
  161. data/generated/google/apis/logging_v2beta1/classes.rb +42 -0
  162. data/generated/google/apis/logging_v2beta1/representations.rb +17 -0
  163. data/generated/google/apis/manufacturers_v1.rb +1 -1
  164. data/generated/google/apis/ml_v1.rb +1 -1
  165. data/generated/google/apis/ml_v1/classes.rb +17 -0
  166. data/generated/google/apis/ml_v1/representations.rb +1 -0
  167. data/generated/google/apis/ml_v1/service.rb +4 -2
  168. data/generated/google/apis/monitoring_v3.rb +1 -1
  169. data/generated/google/apis/monitoring_v3/classes.rb +91 -7
  170. data/generated/google/apis/monitoring_v3/representations.rb +17 -0
  171. data/generated/google/apis/oslogin_v1.rb +1 -1
  172. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  173. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  174. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  175. data/generated/google/apis/partners_v2.rb +1 -1
  176. data/generated/google/apis/people_v1.rb +1 -1
  177. data/generated/google/apis/poly_v1.rb +1 -1
  178. data/generated/google/apis/poly_v1/classes.rb +12 -2
  179. data/generated/google/apis/poly_v1/representations.rb +1 -0
  180. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  181. data/generated/google/apis/pubsub_v1.rb +1 -1
  182. data/generated/google/apis/pubsub_v1/classes.rb +57 -4
  183. data/generated/google/apis/pubsub_v1/representations.rb +19 -0
  184. data/generated/google/apis/pubsub_v1/service.rb +40 -2
  185. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  186. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  187. data/generated/google/apis/redis_v1beta1.rb +1 -1
  188. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  189. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  190. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  191. data/generated/google/apis/script_v1.rb +4 -1
  192. data/generated/google/apis/searchconsole_v1.rb +1 -1
  193. data/generated/google/apis/servicebroker_v1.rb +1 -1
  194. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  195. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  196. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -4
  197. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +42 -0
  198. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +17 -0
  199. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  200. data/generated/google/apis/servicecontrol_v1/classes.rb +284 -0
  201. data/generated/google/apis/servicecontrol_v1/representations.rb +78 -0
  202. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  203. data/generated/google/apis/servicemanagement_v1/classes.rb +42 -0
  204. data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
  205. data/generated/google/apis/{replicapool_v1beta2.rb → serviceusage_v1.rb} +13 -15
  206. data/generated/google/apis/serviceusage_v1/classes.rb +4020 -0
  207. data/generated/google/apis/serviceusage_v1/representations.rb +1239 -0
  208. data/generated/google/apis/serviceusage_v1/service.rb +423 -0
  209. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  210. data/generated/google/apis/serviceusage_v1beta1/classes.rb +102 -1
  211. data/generated/google/apis/serviceusage_v1beta1/representations.rb +55 -0
  212. data/generated/google/apis/serviceuser_v1.rb +1 -1
  213. data/generated/google/apis/serviceuser_v1/classes.rb +42 -0
  214. data/generated/google/apis/serviceuser_v1/representations.rb +17 -0
  215. data/generated/google/apis/serviceuser_v1/service.rb +2 -2
  216. data/generated/google/apis/sheets_v4.rb +1 -1
  217. data/generated/google/apis/slides_v1.rb +1 -1
  218. data/generated/google/apis/slides_v1/classes.rb +9 -3
  219. data/generated/google/apis/spanner_v1.rb +1 -1
  220. data/generated/google/apis/speech_v1.rb +2 -2
  221. data/generated/google/apis/speech_v1/service.rb +1 -1
  222. data/generated/google/apis/speech_v1beta1.rb +2 -2
  223. data/generated/google/apis/speech_v1beta1/service.rb +1 -1
  224. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  225. data/generated/google/apis/testing_v1.rb +1 -1
  226. data/generated/google/apis/testing_v1/classes.rb +1 -1
  227. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  228. data/generated/google/apis/texttospeech_v1beta1/classes.rb +8 -0
  229. data/generated/google/apis/texttospeech_v1beta1/representations.rb +1 -0
  230. data/generated/google/apis/videointelligence_v1.rb +1 -1
  231. data/generated/google/apis/videointelligence_v1/classes.rb +28 -28
  232. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  233. data/generated/google/apis/videointelligence_v1beta2/classes.rb +28 -28
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +4 -2
  236. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  237. data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -3
  238. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p2beta1/classes.rb +4 -2
  240. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  241. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  242. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  243. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  244. data/lib/google/apis/version.rb +1 -1
  245. metadata +15 -10
  246. data/generated/google/apis/replicapool_v1beta2/classes.rb +0 -633
  247. data/generated/google/apis/replicapool_v1beta2/representations.rb +0 -264
  248. data/generated/google/apis/replicapool_v1beta2/service.rb +0 -583
  249. data/generated/google/apis/sqladmin_v1beta3/classes.rb +0 -1632
  250. data/generated/google/apis/sqladmin_v1beta3/representations.rb +0 -733
  251. data/generated/google/apis/sqladmin_v1beta3/service.rb +0 -995
@@ -52,6 +52,18 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class BigQueryIoDetails
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class BigTableIoDetails
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
55
67
  class CpuTime
56
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
69
 
@@ -124,6 +136,12 @@ module Google
124
136
  include Google::Apis::Core::JsonObjectSupport
125
137
  end
126
138
 
139
+ class DatastoreIoDetails
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
127
145
  class DerivedSource
128
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
147
 
@@ -178,6 +196,12 @@ module Google
178
196
  include Google::Apis::Core::JsonObjectSupport
179
197
  end
180
198
 
199
+ class FileIoDetails
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
181
205
  class FlattenInstruction
182
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
207
 
@@ -274,6 +298,12 @@ module Google
274
298
  include Google::Apis::Core::JsonObjectSupport
275
299
  end
276
300
 
301
+ class JobMetadata
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
277
307
  class JobMetrics
278
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
309
 
@@ -418,6 +448,12 @@ module Google
418
448
  include Google::Apis::Core::JsonObjectSupport
419
449
  end
420
450
 
451
+ class PubSubIoDetails
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
421
457
  class PubsubLocation
422
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
459
 
@@ -466,6 +502,12 @@ module Google
466
502
  include Google::Apis::Core::JsonObjectSupport
467
503
  end
468
504
 
505
+ class SdkVersion
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
469
511
  class SendDebugCaptureRequest
470
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
513
 
@@ -586,6 +628,12 @@ module Google
586
628
  include Google::Apis::Core::JsonObjectSupport
587
629
  end
588
630
 
631
+ class SpannerIoDetails
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
589
637
  class SplitInt64
590
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
639
 
@@ -837,6 +885,25 @@ module Google
837
885
  end
838
886
  end
839
887
 
888
+ class BigQueryIoDetails
889
+ # @private
890
+ class Representation < Google::Apis::Core::JsonRepresentation
891
+ property :dataset, as: 'dataset'
892
+ property :project_id, as: 'projectId'
893
+ property :query, as: 'query'
894
+ property :table, as: 'table'
895
+ end
896
+ end
897
+
898
+ class BigTableIoDetails
899
+ # @private
900
+ class Representation < Google::Apis::Core::JsonRepresentation
901
+ property :instance_id, as: 'instanceId'
902
+ property :project_id, as: 'projectId'
903
+ property :table_id, as: 'tableId'
904
+ end
905
+ end
906
+
840
907
  class CpuTime
841
908
  # @private
842
909
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -983,6 +1050,14 @@ module Google
983
1050
  end
984
1051
  end
985
1052
 
1053
+ class DatastoreIoDetails
1054
+ # @private
1055
+ class Representation < Google::Apis::Core::JsonRepresentation
1056
+ property :namespace, as: 'namespace'
1057
+ property :project_id, as: 'projectId'
1058
+ end
1059
+ end
1060
+
986
1061
  class DerivedSource
987
1062
  # @private
988
1063
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1096,6 +1171,13 @@ module Google
1096
1171
  end
1097
1172
  end
1098
1173
 
1174
+ class FileIoDetails
1175
+ # @private
1176
+ class Representation < Google::Apis::Core::JsonRepresentation
1177
+ property :file_pattern, as: 'filePattern'
1178
+ end
1179
+ end
1180
+
1099
1181
  class FlattenInstruction
1100
1182
  # @private
1101
1183
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1213,6 +1295,8 @@ module Google
1213
1295
  property :execution_info, as: 'executionInfo', class: Google::Apis::DataflowV1b3::JobExecutionInfo, decorator: Google::Apis::DataflowV1b3::JobExecutionInfo::Representation
1214
1296
 
1215
1297
  property :id, as: 'id'
1298
+ property :job_metadata, as: 'jobMetadata', class: Google::Apis::DataflowV1b3::JobMetadata, decorator: Google::Apis::DataflowV1b3::JobMetadata::Representation
1299
+
1216
1300
  hash :labels, as: 'labels'
1217
1301
  property :location, as: 'location'
1218
1302
  property :name, as: 'name'
@@ -1257,6 +1341,26 @@ module Google
1257
1341
  end
1258
1342
  end
1259
1343
 
1344
+ class JobMetadata
1345
+ # @private
1346
+ class Representation < Google::Apis::Core::JsonRepresentation
1347
+ collection :big_table_details, as: 'bigTableDetails', class: Google::Apis::DataflowV1b3::BigTableIoDetails, decorator: Google::Apis::DataflowV1b3::BigTableIoDetails::Representation
1348
+
1349
+ collection :bigquery_details, as: 'bigqueryDetails', class: Google::Apis::DataflowV1b3::BigQueryIoDetails, decorator: Google::Apis::DataflowV1b3::BigQueryIoDetails::Representation
1350
+
1351
+ collection :datastore_details, as: 'datastoreDetails', class: Google::Apis::DataflowV1b3::DatastoreIoDetails, decorator: Google::Apis::DataflowV1b3::DatastoreIoDetails::Representation
1352
+
1353
+ collection :file_details, as: 'fileDetails', class: Google::Apis::DataflowV1b3::FileIoDetails, decorator: Google::Apis::DataflowV1b3::FileIoDetails::Representation
1354
+
1355
+ collection :pubsub_details, as: 'pubsubDetails', class: Google::Apis::DataflowV1b3::PubSubIoDetails, decorator: Google::Apis::DataflowV1b3::PubSubIoDetails::Representation
1356
+
1357
+ property :sdk_version, as: 'sdkVersion', class: Google::Apis::DataflowV1b3::SdkVersion, decorator: Google::Apis::DataflowV1b3::SdkVersion::Representation
1358
+
1359
+ collection :spanner_details, as: 'spannerDetails', class: Google::Apis::DataflowV1b3::SpannerIoDetails, decorator: Google::Apis::DataflowV1b3::SpannerIoDetails::Representation
1360
+
1361
+ end
1362
+ end
1363
+
1260
1364
  class JobMetrics
1261
1365
  # @private
1262
1366
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1514,6 +1618,14 @@ module Google
1514
1618
  end
1515
1619
  end
1516
1620
 
1621
+ class PubSubIoDetails
1622
+ # @private
1623
+ class Representation < Google::Apis::Core::JsonRepresentation
1624
+ property :subscription, as: 'subscription'
1625
+ property :topic, as: 'topic'
1626
+ end
1627
+ end
1628
+
1517
1629
  class PubsubLocation
1518
1630
  # @private
1519
1631
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1591,6 +1703,15 @@ module Google
1591
1703
  end
1592
1704
  end
1593
1705
 
1706
+ class SdkVersion
1707
+ # @private
1708
+ class Representation < Google::Apis::Core::JsonRepresentation
1709
+ property :sdk_support_status, as: 'sdkSupportStatus'
1710
+ property :version, as: 'version'
1711
+ property :version_display_name, as: 'versionDisplayName'
1712
+ end
1713
+ end
1714
+
1594
1715
  class SendDebugCaptureRequest
1595
1716
  # @private
1596
1717
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1786,6 +1907,15 @@ module Google
1786
1907
  end
1787
1908
  end
1788
1909
 
1910
+ class SpannerIoDetails
1911
+ # @private
1912
+ class Representation < Google::Apis::Core::JsonRepresentation
1913
+ property :database_id, as: 'databaseId'
1914
+ property :instance_id, as: 'instanceId'
1915
+ property :project_id, as: 'projectId'
1916
+ end
1917
+ end
1918
+
1789
1919
  class SplitInt64
1790
1920
  # @private
1791
1921
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1
27
27
  VERSION = 'V1'
28
- REVISION = '20180502'
28
+ REVISION = '20180619'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -239,6 +239,38 @@ module Google
239
239
  end
240
240
  end
241
241
 
242
+ # The cluster operation triggered by a workflow.
243
+ class ClusterOperation
244
+ include Google::Apis::Core::Hashable
245
+
246
+ # Output only. Indicates the operation is done.
247
+ # Corresponds to the JSON property `done`
248
+ # @return [Boolean]
249
+ attr_accessor :done
250
+ alias_method :done?, :done
251
+
252
+ # Output only. Error, if operation failed.
253
+ # Corresponds to the JSON property `error`
254
+ # @return [String]
255
+ attr_accessor :error
256
+
257
+ # Output only. The id of the cluster operation.
258
+ # Corresponds to the JSON property `operationId`
259
+ # @return [String]
260
+ attr_accessor :operation_id
261
+
262
+ def initialize(**args)
263
+ update!(**args)
264
+ end
265
+
266
+ # Update properties of this object
267
+ def update!(**args)
268
+ @done = args[:done] if args.key?(:done)
269
+ @error = args[:error] if args.key?(:error)
270
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
271
+ end
272
+ end
273
+
242
274
  # Metadata describing the operation.
243
275
  class ClusterOperationMetadata
244
276
  include Google::Apis::Core::Hashable
@@ -417,6 +449,13 @@ module Google
417
449
  # @return [Fixnum]
418
450
  attr_accessor :boot_disk_size_gb
419
451
 
452
+ # Optional. Type of the boot disk (default is "pd-standard"). Valid values: "pd-
453
+ # ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk
454
+ # Hard Disk Drive).
455
+ # Corresponds to the JSON property `bootDiskType`
456
+ # @return [String]
457
+ attr_accessor :boot_disk_type
458
+
420
459
  # Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not
421
460
  # attached, the boot disk is used to store runtime logs and HDFS (https://hadoop.
422
461
  # apache.org/docs/r1.2.1/hdfs_user_guide.html) data. If one or more SSDs are
@@ -433,6 +472,7 @@ module Google
433
472
  # Update properties of this object
434
473
  def update!(**args)
435
474
  @boot_disk_size_gb = args[:boot_disk_size_gb] if args.key?(:boot_disk_size_gb)
475
+ @boot_disk_type = args[:boot_disk_type] if args.key?(:boot_disk_type)
436
476
  @num_local_ssds = args[:num_local_ssds] if args.key?(:num_local_ssds)
437
477
  end
438
478
  end
@@ -715,7 +755,7 @@ module Google
715
755
  # @return [Google::Apis::DataprocV1::DiskConfig]
716
756
  attr_accessor :disk_config
717
757
 
718
- # Output only. The Compute Engine image resource used for cluster instances.
758
+ # Optional. The Compute Engine image resource used for cluster instances.
719
759
  # Inferred from SoftwareConfig.image_version.
720
760
  # Corresponds to the JSON property `imageUri`
721
761
  # @return [String]
@@ -1683,6 +1723,129 @@ module Google
1683
1723
  end
1684
1724
  end
1685
1725
 
1726
+ # The workflow graph.
1727
+ class WorkflowGraph
1728
+ include Google::Apis::Core::Hashable
1729
+
1730
+ # Output only. The workflow nodes.
1731
+ # Corresponds to the JSON property `nodes`
1732
+ # @return [Array<Google::Apis::DataprocV1::WorkflowNode>]
1733
+ attr_accessor :nodes
1734
+
1735
+ def initialize(**args)
1736
+ update!(**args)
1737
+ end
1738
+
1739
+ # Update properties of this object
1740
+ def update!(**args)
1741
+ @nodes = args[:nodes] if args.key?(:nodes)
1742
+ end
1743
+ end
1744
+
1745
+ # A Cloud Dataproc workflow template resource.
1746
+ class WorkflowMetadata
1747
+ include Google::Apis::Core::Hashable
1748
+
1749
+ # Output only. The name of the managed cluster.
1750
+ # Corresponds to the JSON property `clusterName`
1751
+ # @return [String]
1752
+ attr_accessor :cluster_name
1753
+
1754
+ # The cluster operation triggered by a workflow.
1755
+ # Corresponds to the JSON property `createCluster`
1756
+ # @return [Google::Apis::DataprocV1::ClusterOperation]
1757
+ attr_accessor :create_cluster
1758
+
1759
+ # The cluster operation triggered by a workflow.
1760
+ # Corresponds to the JSON property `deleteCluster`
1761
+ # @return [Google::Apis::DataprocV1::ClusterOperation]
1762
+ attr_accessor :delete_cluster
1763
+
1764
+ # The workflow graph.
1765
+ # Corresponds to the JSON property `graph`
1766
+ # @return [Google::Apis::DataprocV1::WorkflowGraph]
1767
+ attr_accessor :graph
1768
+
1769
+ # Map from parameter names to values that were used for those parameters.
1770
+ # Corresponds to the JSON property `parameters`
1771
+ # @return [Hash<String,String>]
1772
+ attr_accessor :parameters
1773
+
1774
+ # Output only. The workflow state.
1775
+ # Corresponds to the JSON property `state`
1776
+ # @return [String]
1777
+ attr_accessor :state
1778
+
1779
+ # Output only. The "resource name" of the template.
1780
+ # Corresponds to the JSON property `template`
1781
+ # @return [String]
1782
+ attr_accessor :template
1783
+
1784
+ # Output only. The version of template at the time of workflow instantiation.
1785
+ # Corresponds to the JSON property `version`
1786
+ # @return [Fixnum]
1787
+ attr_accessor :version
1788
+
1789
+ def initialize(**args)
1790
+ update!(**args)
1791
+ end
1792
+
1793
+ # Update properties of this object
1794
+ def update!(**args)
1795
+ @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
1796
+ @create_cluster = args[:create_cluster] if args.key?(:create_cluster)
1797
+ @delete_cluster = args[:delete_cluster] if args.key?(:delete_cluster)
1798
+ @graph = args[:graph] if args.key?(:graph)
1799
+ @parameters = args[:parameters] if args.key?(:parameters)
1800
+ @state = args[:state] if args.key?(:state)
1801
+ @template = args[:template] if args.key?(:template)
1802
+ @version = args[:version] if args.key?(:version)
1803
+ end
1804
+ end
1805
+
1806
+ # The workflow node.
1807
+ class WorkflowNode
1808
+ include Google::Apis::Core::Hashable
1809
+
1810
+ # Output only. The error detail.
1811
+ # Corresponds to the JSON property `error`
1812
+ # @return [String]
1813
+ attr_accessor :error
1814
+
1815
+ # Output only. The job id; populated after the node enters RUNNING state.
1816
+ # Corresponds to the JSON property `jobId`
1817
+ # @return [String]
1818
+ attr_accessor :job_id
1819
+
1820
+ # Output only. Node's prerequisite nodes.
1821
+ # Corresponds to the JSON property `prerequisiteStepIds`
1822
+ # @return [Array<String>]
1823
+ attr_accessor :prerequisite_step_ids
1824
+
1825
+ # Output only. The node state.
1826
+ # Corresponds to the JSON property `state`
1827
+ # @return [String]
1828
+ attr_accessor :state
1829
+
1830
+ # Output only. The name of the node.
1831
+ # Corresponds to the JSON property `stepId`
1832
+ # @return [String]
1833
+ attr_accessor :step_id
1834
+
1835
+ def initialize(**args)
1836
+ update!(**args)
1837
+ end
1838
+
1839
+ # Update properties of this object
1840
+ def update!(**args)
1841
+ @error = args[:error] if args.key?(:error)
1842
+ @job_id = args[:job_id] if args.key?(:job_id)
1843
+ @prerequisite_step_ids = args[:prerequisite_step_ids] if args.key?(:prerequisite_step_ids)
1844
+ @state = args[:state] if args.key?(:state)
1845
+ @step_id = args[:step_id] if args.key?(:step_id)
1846
+ end
1847
+ end
1848
+
1686
1849
  # A YARN application created by a job. Application information is a subset of <
1687
1850
  # code>org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto</code>.
1688
1851
  # Beta Feature: This report is available for testing purposes only. It may be
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class ClusterOperation
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class ClusterOperationMetadata
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -238,6 +244,24 @@ module Google
238
244
  include Google::Apis::Core::JsonObjectSupport
239
245
  end
240
246
 
247
+ class WorkflowGraph
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class WorkflowMetadata
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class WorkflowNode
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
241
265
  class YarnApplication
242
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
267
 
@@ -303,6 +327,15 @@ module Google
303
327
  end
304
328
  end
305
329
 
330
+ class ClusterOperation
331
+ # @private
332
+ class Representation < Google::Apis::Core::JsonRepresentation
333
+ property :done, as: 'done'
334
+ property :error, as: 'error'
335
+ property :operation_id, as: 'operationId'
336
+ end
337
+ end
338
+
306
339
  class ClusterOperationMetadata
307
340
  # @private
308
341
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -356,6 +389,7 @@ module Google
356
389
  # @private
357
390
  class Representation < Google::Apis::Core::JsonRepresentation
358
391
  property :boot_disk_size_gb, as: 'bootDiskSizeGb'
392
+ property :boot_disk_type, as: 'bootDiskType'
359
393
  property :num_local_ssds, as: 'numLocalSsds'
360
394
  end
361
395
  end
@@ -645,6 +679,42 @@ module Google
645
679
  end
646
680
  end
647
681
 
682
+ class WorkflowGraph
683
+ # @private
684
+ class Representation < Google::Apis::Core::JsonRepresentation
685
+ collection :nodes, as: 'nodes', class: Google::Apis::DataprocV1::WorkflowNode, decorator: Google::Apis::DataprocV1::WorkflowNode::Representation
686
+
687
+ end
688
+ end
689
+
690
+ class WorkflowMetadata
691
+ # @private
692
+ class Representation < Google::Apis::Core::JsonRepresentation
693
+ property :cluster_name, as: 'clusterName'
694
+ property :create_cluster, as: 'createCluster', class: Google::Apis::DataprocV1::ClusterOperation, decorator: Google::Apis::DataprocV1::ClusterOperation::Representation
695
+
696
+ property :delete_cluster, as: 'deleteCluster', class: Google::Apis::DataprocV1::ClusterOperation, decorator: Google::Apis::DataprocV1::ClusterOperation::Representation
697
+
698
+ property :graph, as: 'graph', class: Google::Apis::DataprocV1::WorkflowGraph, decorator: Google::Apis::DataprocV1::WorkflowGraph::Representation
699
+
700
+ hash :parameters, as: 'parameters'
701
+ property :state, as: 'state'
702
+ property :template, as: 'template'
703
+ property :version, as: 'version'
704
+ end
705
+ end
706
+
707
+ class WorkflowNode
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ property :error, as: 'error'
711
+ property :job_id, as: 'jobId'
712
+ collection :prerequisite_step_ids, as: 'prerequisiteStepIds'
713
+ property :state, as: 'state'
714
+ property :step_id, as: 'stepId'
715
+ end
716
+ end
717
+
648
718
  class YarnApplication
649
719
  # @private
650
720
  class Representation < Google::Apis::Core::JsonRepresentation