google-api-client 0.31.0 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (295) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/continuous/linux.cfg +11 -1
  3. data/.kokoro/continuous/osx.cfg +5 -0
  4. data/.kokoro/continuous/windows.cfg +10 -0
  5. data/.kokoro/presubmit/linux.cfg +11 -1
  6. data/.kokoro/presubmit/osx.cfg +5 -0
  7. data/.kokoro/presubmit/windows.cfg +10 -0
  8. data/CHANGELOG.md +107 -0
  9. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  10. data/generated/google/apis/androidmanagement_v1/classes.rb +12 -1
  11. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  12. data/generated/google/apis/bigquery_v2.rb +1 -1
  13. data/generated/google/apis/bigquery_v2/classes.rb +241 -0
  14. data/generated/google/apis/bigquery_v2/representations.rb +115 -0
  15. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  16. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +62 -29
  17. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  18. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
  19. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -26
  20. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  21. data/generated/google/apis/bigqueryreservation_v1/classes.rb +7 -7
  22. data/generated/google/apis/bigqueryreservation_v1/representations.rb +3 -3
  23. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  24. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -175
  25. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -65
  26. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -140
  27. data/generated/google/apis/bigqueryreservation_v1beta1.rb +37 -0
  28. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +497 -0
  29. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +236 -0
  30. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +713 -0
  31. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  32. data/generated/google/apis/binaryauthorization_v1/classes.rb +307 -0
  33. data/generated/google/apis/binaryauthorization_v1/representations.rb +88 -0
  34. data/generated/google/apis/binaryauthorization_v1/service.rb +230 -0
  35. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  36. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +62 -29
  37. data/generated/google/apis/blogger_v3.rb +1 -1
  38. data/generated/google/apis/blogger_v3/service.rb +6 -6
  39. data/generated/google/apis/calendar_v3.rb +1 -1
  40. data/generated/google/apis/calendar_v3/classes.rb +1 -0
  41. data/generated/google/apis/cloudasset_v1.rb +1 -1
  42. data/generated/google/apis/cloudasset_v1/classes.rb +72 -29
  43. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  44. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudasset_v1beta1/classes.rb +62 -29
  47. data/generated/google/apis/cloudasset_v1beta1/service.rb +2 -2
  48. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  49. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -2
  50. data/generated/google/apis/cloudfunctions_v1/service.rb +10 -7
  51. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  52. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  53. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +7 -6
  54. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  55. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  56. data/generated/google/apis/cloudiot_v1.rb +1 -1
  57. data/generated/google/apis/cloudiot_v1/classes.rb +68 -35
  58. data/generated/google/apis/cloudiot_v1/service.rb +18 -17
  59. data/generated/google/apis/cloudkms_v1.rb +1 -1
  60. data/generated/google/apis/cloudkms_v1/classes.rb +77 -35
  61. data/generated/google/apis/cloudkms_v1/service.rb +33 -27
  62. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  63. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +62 -29
  64. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  65. data/generated/google/apis/cloudsearch_v1/classes.rb +354 -0
  66. data/generated/google/apis/cloudsearch_v1/representations.rb +196 -0
  67. data/generated/google/apis/cloudsearch_v1/service.rb +314 -2
  68. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +62 -29
  70. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  72. data/generated/google/apis/cloudtrace_v1/service.rb +10 -10
  73. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  74. data/generated/google/apis/cloudtrace_v2/classes.rb +3 -3
  75. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  76. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +7 -10
  77. data/generated/google/apis/compute_alpha.rb +1 -1
  78. data/generated/google/apis/compute_alpha/classes.rb +38 -42
  79. data/generated/google/apis/compute_alpha/representations.rb +5 -16
  80. data/generated/google/apis/compute_beta.rb +1 -1
  81. data/generated/google/apis/compute_beta/classes.rb +10 -5
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +1327 -4
  84. data/generated/google/apis/compute_v1/representations.rb +439 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1/classes.rb +111 -0
  87. data/generated/google/apis/container_v1/representations.rb +51 -0
  88. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  89. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +76 -30
  90. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  91. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  92. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +70 -30
  93. data/generated/google/apis/content_v2.rb +1 -1
  94. data/generated/google/apis/content_v2/service.rb +0 -226
  95. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  96. data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
  97. data/generated/google/apis/dataflow_v1b3/representations.rb +4 -0
  98. data/generated/google/apis/dataproc_v1.rb +1 -1
  99. data/generated/google/apis/dataproc_v1/classes.rb +324 -38
  100. data/generated/google/apis/dataproc_v1/representations.rb +97 -0
  101. data/generated/google/apis/dataproc_v1/service.rb +613 -1
  102. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  103. data/generated/google/apis/dataproc_v1beta2/classes.rb +100 -54
  104. data/generated/google/apis/dataproc_v1beta2/service.rb +29 -22
  105. data/generated/google/apis/dialogflow_v2.rb +1 -1
  106. data/generated/google/apis/dialogflow_v2/classes.rb +363 -167
  107. data/generated/google/apis/dialogflow_v2/representations.rb +160 -49
  108. data/generated/google/apis/dialogflow_v2/service.rb +1 -1
  109. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  110. data/generated/google/apis/dialogflow_v2beta1/classes.rb +433 -178
  111. data/generated/google/apis/dialogflow_v2beta1/representations.rb +199 -59
  112. data/generated/google/apis/dialogflow_v2beta1/service.rb +39 -0
  113. data/generated/google/apis/dlp_v2.rb +1 -1
  114. data/generated/google/apis/dlp_v2/classes.rb +3 -4
  115. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  116. data/generated/google/apis/drive_v2.rb +1 -1
  117. data/generated/google/apis/drive_v2/classes.rb +2 -2
  118. data/generated/google/apis/drive_v3.rb +1 -1
  119. data/generated/google/apis/drive_v3/classes.rb +2 -2
  120. data/generated/google/apis/fcm_v1.rb +1 -1
  121. data/generated/google/apis/fcm_v1/classes.rb +9 -4
  122. data/generated/google/apis/file_v1.rb +1 -1
  123. data/generated/google/apis/file_v1/classes.rb +8 -0
  124. data/generated/google/apis/file_v1/representations.rb +1 -0
  125. data/generated/google/apis/file_v1/service.rb +2 -0
  126. data/generated/google/apis/file_v1beta1.rb +1 -1
  127. data/generated/google/apis/file_v1beta1/classes.rb +8 -0
  128. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  129. data/generated/google/apis/file_v1beta1/service.rb +2 -0
  130. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  131. data/generated/google/apis/firebase_v1beta1/classes.rb +41 -4
  132. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  133. data/generated/google/apis/firebase_v1beta1/service.rb +22 -14
  134. data/generated/google/apis/fitness_v1.rb +19 -19
  135. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  136. data/generated/google/apis/healthcare_v1beta1/classes.rb +136 -100
  137. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
  138. data/generated/google/apis/healthcare_v1beta1/service.rb +124 -119
  139. data/generated/google/apis/iam_v1.rb +1 -1
  140. data/generated/google/apis/iam_v1/classes.rb +87 -41
  141. data/generated/google/apis/iap_v1.rb +1 -1
  142. data/generated/google/apis/iap_v1/classes.rb +62 -29
  143. data/generated/google/apis/iap_v1beta1.rb +1 -1
  144. data/generated/google/apis/iap_v1beta1/classes.rb +62 -29
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +114 -49
  147. data/generated/google/apis/ml_v1/representations.rb +2 -0
  148. data/generated/google/apis/ml_v1/service.rb +12 -6
  149. data/generated/google/apis/monitoring_v3.rb +1 -1
  150. data/generated/google/apis/monitoring_v3/classes.rb +14 -10
  151. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  152. data/generated/google/apis/oslogin_v1.rb +1 -1
  153. data/generated/google/apis/oslogin_v1/classes.rb +12 -0
  154. data/generated/google/apis/oslogin_v1/representations.rb +2 -0
  155. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  156. data/generated/google/apis/oslogin_v1alpha/classes.rb +12 -0
  157. data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -0
  158. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  159. data/generated/google/apis/oslogin_v1beta/classes.rb +12 -0
  160. data/generated/google/apis/oslogin_v1beta/representations.rb +2 -0
  161. data/generated/google/apis/policytroubleshooter_v1beta.rb +34 -0
  162. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +621 -0
  163. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +203 -0
  164. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +91 -0
  165. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  166. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +7 -4
  167. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +60 -58
  168. data/generated/google/apis/recommender_v1beta1.rb +34 -0
  169. data/generated/google/apis/recommender_v1beta1/classes.rb +502 -0
  170. data/generated/google/apis/recommender_v1beta1/representations.rb +232 -0
  171. data/generated/google/apis/recommender_v1beta1/service.rb +262 -0
  172. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  173. data/generated/google/apis/remotebuildexecution_v1/classes.rb +49 -1100
  174. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -276
  175. data/generated/google/apis/remotebuildexecution_v1/service.rb +0 -77
  176. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  177. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +12 -990
  178. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -245
  179. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  180. data/generated/google/apis/remotebuildexecution_v2/classes.rb +12 -990
  181. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -245
  182. data/generated/google/apis/run_v1.rb +1 -1
  183. data/generated/google/apis/run_v1/classes.rb +3553 -33
  184. data/generated/google/apis/run_v1/representations.rb +1186 -4
  185. data/generated/google/apis/run_v1/service.rb +2509 -23
  186. data/generated/google/apis/run_v1alpha1.rb +1 -1
  187. data/generated/google/apis/run_v1alpha1/classes.rb +103 -140
  188. data/generated/google/apis/run_v1alpha1/representations.rb +5 -43
  189. data/generated/google/apis/run_v1beta1.rb +35 -0
  190. data/generated/google/apis/run_v1beta1/classes.rb +1209 -0
  191. data/generated/google/apis/run_v1beta1/representations.rb +421 -0
  192. data/generated/google/apis/run_v1beta1/service.rb +172 -0
  193. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  194. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +62 -29
  195. data/generated/google/apis/safebrowsing_v4.rb +5 -2
  196. data/generated/google/apis/safebrowsing_v4/service.rb +4 -1
  197. data/generated/google/apis/securitycenter_v1.rb +1 -1
  198. data/generated/google/apis/securitycenter_v1/classes.rb +70 -35
  199. data/generated/google/apis/securitycenter_v1/service.rb +13 -12
  200. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  201. data/generated/google/apis/securitycenter_v1beta1/classes.rb +71 -35
  202. data/generated/google/apis/securitycenter_v1beta1/service.rb +13 -12
  203. data/generated/google/apis/servicebroker_v1.rb +1 -1
  204. data/generated/google/apis/servicebroker_v1/classes.rb +62 -29
  205. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  206. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +62 -29
  207. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  208. data/generated/google/apis/servicebroker_v1beta1/classes.rb +62 -29
  209. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  210. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +11 -2
  211. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  212. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  213. data/generated/google/apis/servicemanagement_v1/classes.rb +63 -33
  214. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  215. data/generated/google/apis/servicenetworking_v1/classes.rb +11 -2
  216. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
  217. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  218. data/generated/google/apis/servicenetworking_v1beta/classes.rb +11 -2
  219. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  220. data/generated/google/apis/serviceusage_v1.rb +1 -1
  221. data/generated/google/apis/serviceusage_v1/classes.rb +11 -2
  222. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  223. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  224. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -2
  225. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  226. data/generated/google/apis/spanner_v1.rb +1 -1
  227. data/generated/google/apis/spanner_v1/classes.rb +78 -2
  228. data/generated/google/apis/spanner_v1/representations.rb +44 -0
  229. data/generated/google/apis/spanner_v1/service.rb +35 -0
  230. data/generated/google/apis/speech_v1.rb +1 -1
  231. data/generated/google/apis/speech_v1/classes.rb +73 -19
  232. data/generated/google/apis/speech_v1/representations.rb +18 -0
  233. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  234. data/generated/google/apis/speech_v1p1beta1/classes.rb +31 -35
  235. data/generated/google/apis/speech_v2beta.rb +1 -1
  236. data/generated/google/apis/speech_v2beta/classes.rb +6 -6
  237. data/generated/google/apis/speech_v2beta/representations.rb +2 -2
  238. data/generated/google/apis/storage_v1.rb +1 -1
  239. data/generated/google/apis/storage_v1/classes.rb +1 -1
  240. data/generated/google/apis/storage_v1/representations.rb +2 -1
  241. data/generated/google/apis/storage_v1beta1.rb +1 -1
  242. data/generated/google/apis/storage_v1beta2.rb +1 -1
  243. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  244. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  245. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -5
  246. data/generated/google/apis/testing_v1.rb +1 -1
  247. data/generated/google/apis/testing_v1/classes.rb +42 -0
  248. data/generated/google/apis/testing_v1/representations.rb +18 -0
  249. data/generated/google/apis/texttospeech_v1.rb +1 -1
  250. data/generated/google/apis/texttospeech_v1/classes.rb +6 -5
  251. data/generated/google/apis/texttospeech_v1/service.rb +1 -1
  252. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  253. data/generated/google/apis/texttospeech_v1beta1/classes.rb +6 -5
  254. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
  255. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  256. data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -1
  257. data/generated/google/apis/translate_v3beta1.rb +1 -1
  258. data/generated/google/apis/translate_v3beta1/classes.rb +22 -16
  259. data/generated/google/apis/translate_v3beta1/service.rb +31 -31
  260. data/generated/google/apis/videointelligence_v1.rb +1 -1
  261. data/generated/google/apis/videointelligence_v1/classes.rb +45 -10
  262. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  263. data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -10
  264. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  265. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +45 -10
  266. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  267. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +45 -10
  268. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  269. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +45 -10
  270. data/generated/google/apis/vision_v1.rb +1 -1
  271. data/generated/google/apis/vision_v1/classes.rb +6 -156
  272. data/generated/google/apis/vision_v1/representations.rb +0 -44
  273. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  274. data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -156
  275. data/generated/google/apis/vision_v1p1beta1/representations.rb +0 -44
  276. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  277. data/generated/google/apis/vision_v1p2beta1/classes.rb +6 -156
  278. data/generated/google/apis/vision_v1p2beta1/representations.rb +0 -44
  279. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  280. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  281. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +21 -31
  282. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  283. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  284. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +30 -42
  285. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  286. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  287. data/generated/google/apis/youtube_partner_v1/classes.rb +0 -83
  288. data/generated/google/apis/youtube_partner_v1/representations.rb +0 -35
  289. data/generated/google/apis/youtube_partner_v1/service.rb +0 -100
  290. data/lib/google/apis/version.rb +1 -1
  291. metadata +18 -6
  292. data/generated/google/apis/dfareporting_v3_1.rb +0 -40
  293. data/generated/google/apis/dfareporting_v3_1/classes.rb +0 -11998
  294. data/generated/google/apis/dfareporting_v3_1/representations.rb +0 -4313
  295. data/generated/google/apis/dfareporting_v3_1/service.rb +0 -8688
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataflow
26
26
  module DataflowV1b3
27
27
  VERSION = 'V1b3'
28
- REVISION = '20190827'
28
+ REVISION = '20190917'
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'
@@ -1186,6 +1186,24 @@ module Google
1186
1186
  # @return [Array<Google::Apis::DataflowV1b3::WorkerPool>]
1187
1187
  attr_accessor :worker_pools
1188
1188
 
1189
+ # The Compute Engine region
1190
+ # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
1191
+ # which worker processing should occur, e.g. "us-west1". Mutually exclusive
1192
+ # with worker_zone. If neither worker_region nor worker_zone is specified,
1193
+ # default to the control plane's region.
1194
+ # Corresponds to the JSON property `workerRegion`
1195
+ # @return [String]
1196
+ attr_accessor :worker_region
1197
+
1198
+ # The Compute Engine zone
1199
+ # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
1200
+ # which worker processing should occur, e.g. "us-west1-a". Mutually exclusive
1201
+ # with worker_region. If neither worker_region nor worker_zone is specified,
1202
+ # a zone in the control plane's region is chosen based on available capacity.
1203
+ # Corresponds to the JSON property `workerZone`
1204
+ # @return [String]
1205
+ attr_accessor :worker_zone
1206
+
1189
1207
  def initialize(**args)
1190
1208
  update!(**args)
1191
1209
  end
@@ -1204,6 +1222,8 @@ module Google
1204
1222
  @user_agent = args[:user_agent] if args.key?(:user_agent)
1205
1223
  @version = args[:version] if args.key?(:version)
1206
1224
  @worker_pools = args[:worker_pools] if args.key?(:worker_pools)
1225
+ @worker_region = args[:worker_region] if args.key?(:worker_region)
1226
+ @worker_zone = args[:worker_zone] if args.key?(:worker_zone)
1207
1227
  end
1208
1228
  end
1209
1229
 
@@ -3368,9 +3388,29 @@ module Google
3368
3388
  attr_accessor :use_private_ips
3369
3389
  alias_method :use_private_ips?, :use_private_ips
3370
3390
 
3391
+ # The Compute Engine region
3392
+ # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
3393
+ # which worker processing should occur, e.g. "us-west1". Mutually exclusive
3394
+ # with worker_zone. If neither worker_region nor worker_zone is specified,
3395
+ # default to the control plane's region.
3396
+ # Corresponds to the JSON property `workerRegion`
3397
+ # @return [String]
3398
+ attr_accessor :worker_region
3399
+
3400
+ # The Compute Engine zone
3401
+ # (https://cloud.google.com/compute/docs/regions-zones/regions-zones) in
3402
+ # which worker processing should occur, e.g. "us-west1-a". Mutually exclusive
3403
+ # with worker_region. If neither worker_region nor worker_zone is specified,
3404
+ # a zone in the control plane's region is chosen based on available capacity.
3405
+ # If both `worker_zone` and `zone` are set, `worker_zone` takes precedence.
3406
+ # Corresponds to the JSON property `workerZone`
3407
+ # @return [String]
3408
+ attr_accessor :worker_zone
3409
+
3371
3410
  # The Compute Engine [availability
3372
3411
  # zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones)
3373
3412
  # for launching worker instances to run your pipeline.
3413
+ # In the future, worker_zone will take precedence.
3374
3414
  # Corresponds to the JSON property `zone`
3375
3415
  # @return [String]
3376
3416
  attr_accessor :zone
@@ -3393,6 +3433,8 @@ module Google
3393
3433
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
3394
3434
  @temp_location = args[:temp_location] if args.key?(:temp_location)
3395
3435
  @use_private_ips = args[:use_private_ips] if args.key?(:use_private_ips)
3436
+ @worker_region = args[:worker_region] if args.key?(:worker_region)
3437
+ @worker_zone = args[:worker_zone] if args.key?(:worker_zone)
3396
3438
  @zone = args[:zone] if args.key?(:zone)
3397
3439
  end
3398
3440
  end
@@ -1156,6 +1156,8 @@ module Google
1156
1156
  hash :version, as: 'version'
1157
1157
  collection :worker_pools, as: 'workerPools', class: Google::Apis::DataflowV1b3::WorkerPool, decorator: Google::Apis::DataflowV1b3::WorkerPool::Representation
1158
1158
 
1159
+ property :worker_region, as: 'workerRegion'
1160
+ property :worker_zone, as: 'workerZone'
1159
1161
  end
1160
1162
  end
1161
1163
 
@@ -1743,6 +1745,8 @@ module Google
1743
1745
  property :subnetwork, as: 'subnetwork'
1744
1746
  property :temp_location, as: 'tempLocation'
1745
1747
  property :use_private_ips, as: 'usePrivateIps'
1748
+ property :worker_region, as: 'workerRegion'
1749
+ property :worker_zone, as: 'workerZone'
1746
1750
  property :zone, as: 'zone'
1747
1751
  end
1748
1752
  end
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataproc/
26
26
  module DataprocV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190823'
28
+ REVISION = '20190920'
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'
@@ -55,6 +55,174 @@ module Google
55
55
  end
56
56
  end
57
57
 
58
+ # Autoscaling Policy config associated with the cluster.
59
+ class AutoscalingConfig
60
+ include Google::Apis::Core::Hashable
61
+
62
+ # Optional. The autoscaling policy used by the cluster.Only resource names
63
+ # including projectid and location (region) are valid. Examples:
64
+ # https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[
65
+ # dataproc_region]/autoscalingPolicies/[policy_id]
66
+ # projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[
67
+ # policy_id]Note that the policy must be in the same project and Cloud Dataproc
68
+ # region.
69
+ # Corresponds to the JSON property `policyUri`
70
+ # @return [String]
71
+ attr_accessor :policy_uri
72
+
73
+ def initialize(**args)
74
+ update!(**args)
75
+ end
76
+
77
+ # Update properties of this object
78
+ def update!(**args)
79
+ @policy_uri = args[:policy_uri] if args.key?(:policy_uri)
80
+ end
81
+ end
82
+
83
+ # Describes an autoscaling policy for Dataproc cluster autoscaler.
84
+ class AutoscalingPolicy
85
+ include Google::Apis::Core::Hashable
86
+
87
+ # Basic algorithm for autoscaling.
88
+ # Corresponds to the JSON property `basicAlgorithm`
89
+ # @return [Google::Apis::DataprocV1::BasicAutoscalingAlgorithm]
90
+ attr_accessor :basic_algorithm
91
+
92
+ # Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (
93
+ # 0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or
94
+ # hyphen. Must consist of between 3 and 50 characters.
95
+ # Corresponds to the JSON property `id`
96
+ # @return [String]
97
+ attr_accessor :id
98
+
99
+ # Output only. The "resource name" of the autoscaling policy, as described in
100
+ # https://cloud.google.com/apis/design/resource_names.
101
+ # For projects.regions.autoscalingPolicies, the resource name of the policy has
102
+ # the following format: projects/`project_id`/regions/`region`/
103
+ # autoscalingPolicies/`policy_id`
104
+ # For projects.locations.autoscalingPolicies, the resource name of the policy
105
+ # has the following format: projects/`project_id`/locations/`location`/
106
+ # autoscalingPolicies/`policy_id`
107
+ # Corresponds to the JSON property `name`
108
+ # @return [String]
109
+ attr_accessor :name
110
+
111
+ # Configuration for the size bounds of an instance group, including its
112
+ # proportional size to other groups.
113
+ # Corresponds to the JSON property `secondaryWorkerConfig`
114
+ # @return [Google::Apis::DataprocV1::InstanceGroupAutoscalingPolicyConfig]
115
+ attr_accessor :secondary_worker_config
116
+
117
+ # Configuration for the size bounds of an instance group, including its
118
+ # proportional size to other groups.
119
+ # Corresponds to the JSON property `workerConfig`
120
+ # @return [Google::Apis::DataprocV1::InstanceGroupAutoscalingPolicyConfig]
121
+ attr_accessor :worker_config
122
+
123
+ def initialize(**args)
124
+ update!(**args)
125
+ end
126
+
127
+ # Update properties of this object
128
+ def update!(**args)
129
+ @basic_algorithm = args[:basic_algorithm] if args.key?(:basic_algorithm)
130
+ @id = args[:id] if args.key?(:id)
131
+ @name = args[:name] if args.key?(:name)
132
+ @secondary_worker_config = args[:secondary_worker_config] if args.key?(:secondary_worker_config)
133
+ @worker_config = args[:worker_config] if args.key?(:worker_config)
134
+ end
135
+ end
136
+
137
+ # Basic algorithm for autoscaling.
138
+ class BasicAutoscalingAlgorithm
139
+ include Google::Apis::Core::Hashable
140
+
141
+ # Optional. Duration between scaling events. A scaling period starts after the
142
+ # update operation from the previous event has completed.Bounds: 2m, 1d. Default:
143
+ # 2m.
144
+ # Corresponds to the JSON property `cooldownPeriod`
145
+ # @return [String]
146
+ attr_accessor :cooldown_period
147
+
148
+ # Basic autoscaling configurations for YARN.
149
+ # Corresponds to the JSON property `yarnConfig`
150
+ # @return [Google::Apis::DataprocV1::BasicYarnAutoscalingConfig]
151
+ attr_accessor :yarn_config
152
+
153
+ def initialize(**args)
154
+ update!(**args)
155
+ end
156
+
157
+ # Update properties of this object
158
+ def update!(**args)
159
+ @cooldown_period = args[:cooldown_period] if args.key?(:cooldown_period)
160
+ @yarn_config = args[:yarn_config] if args.key?(:yarn_config)
161
+ end
162
+ end
163
+
164
+ # Basic autoscaling configurations for YARN.
165
+ class BasicYarnAutoscalingConfig
166
+ include Google::Apis::Core::Hashable
167
+
168
+ # Required. Timeout for YARN graceful decommissioning of Node Managers.
169
+ # Specifies the duration to wait for jobs to complete before forcefully removing
170
+ # workers (and potentially interrupting jobs). Only applicable to downscaling
171
+ # operations.Bounds: 0s, 1d.
172
+ # Corresponds to the JSON property `gracefulDecommissionTimeout`
173
+ # @return [String]
174
+ attr_accessor :graceful_decommission_timeout
175
+
176
+ # Required. Fraction of average pending memory in the last cooldown period for
177
+ # which to remove workers. A scale-down factor of 1 will result in scaling down
178
+ # so that there is no available memory remaining after the update (more
179
+ # aggressive scaling). A scale-down factor of 0 disables removing workers, which
180
+ # can be beneficial for autoscaling a single job.Bounds: 0.0, 1.0.
181
+ # Corresponds to the JSON property `scaleDownFactor`
182
+ # @return [Float]
183
+ attr_accessor :scale_down_factor
184
+
185
+ # Optional. Minimum scale-down threshold as a fraction of total cluster size
186
+ # before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1
187
+ # means the autoscaler must recommend at least a 2 worker scale-down for the
188
+ # cluster to scale. A threshold of 0 means the autoscaler will scale down on any
189
+ # recommended change.Bounds: 0.0, 1.0. Default: 0.0.
190
+ # Corresponds to the JSON property `scaleDownMinWorkerFraction`
191
+ # @return [Float]
192
+ attr_accessor :scale_down_min_worker_fraction
193
+
194
+ # Required. Fraction of average pending memory in the last cooldown period for
195
+ # which to add workers. A scale-up factor of 1.0 will result in scaling up so
196
+ # that there is no pending memory remaining after the update (more aggressive
197
+ # scaling). A scale-up factor closer to 0 will result in a smaller magnitude of
198
+ # scaling up (less aggressive scaling).Bounds: 0.0, 1.0.
199
+ # Corresponds to the JSON property `scaleUpFactor`
200
+ # @return [Float]
201
+ attr_accessor :scale_up_factor
202
+
203
+ # Optional. Minimum scale-up threshold as a fraction of total cluster size
204
+ # before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1
205
+ # means the autoscaler must recommend at least a 2-worker scale-up for the
206
+ # cluster to scale. A threshold of 0 means the autoscaler will scale up on any
207
+ # recommended change.Bounds: 0.0, 1.0. Default: 0.0.
208
+ # Corresponds to the JSON property `scaleUpMinWorkerFraction`
209
+ # @return [Float]
210
+ attr_accessor :scale_up_min_worker_fraction
211
+
212
+ def initialize(**args)
213
+ update!(**args)
214
+ end
215
+
216
+ # Update properties of this object
217
+ def update!(**args)
218
+ @graceful_decommission_timeout = args[:graceful_decommission_timeout] if args.key?(:graceful_decommission_timeout)
219
+ @scale_down_factor = args[:scale_down_factor] if args.key?(:scale_down_factor)
220
+ @scale_down_min_worker_fraction = args[:scale_down_min_worker_fraction] if args.key?(:scale_down_min_worker_fraction)
221
+ @scale_up_factor = args[:scale_up_factor] if args.key?(:scale_up_factor)
222
+ @scale_up_min_worker_fraction = args[:scale_up_min_worker_fraction] if args.key?(:scale_up_min_worker_fraction)
223
+ end
224
+ end
225
+
58
226
  # Associates members with a role.
59
227
  class Binding
60
228
  include Google::Apis::Core::Hashable
@@ -190,6 +358,11 @@ module Google
190
358
  class ClusterConfig
191
359
  include Google::Apis::Core::Hashable
192
360
 
361
+ # Autoscaling Policy config associated with the cluster.
362
+ # Corresponds to the JSON property `autoscalingConfig`
363
+ # @return [Google::Apis::DataprocV1::AutoscalingConfig]
364
+ attr_accessor :autoscaling_config
365
+
193
366
  # Optional. A Google Cloud Storage bucket used to stage job dependencies, config
194
367
  # files, and job driver console output. If you do not specify a staging bucket,
195
368
  # Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for
@@ -265,6 +438,7 @@ module Google
265
438
 
266
439
  # Update properties of this object
267
440
  def update!(**args)
441
+ @autoscaling_config = args[:autoscaling_config] if args.key?(:autoscaling_config)
268
442
  @config_bucket = args[:config_bucket] if args.key?(:config_bucket)
269
443
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
270
444
  @gce_cluster_config = args[:gce_cluster_config] if args.key?(:gce_cluster_config)
@@ -466,7 +640,7 @@ module Google
466
640
  class ClusterStatus
467
641
  include Google::Apis::Core::Hashable
468
642
 
469
- # Output only. Optional details of cluster's state.
643
+ # Optional. Output only. Details of cluster's state.
470
644
  # Corresponds to the JSON property `detail`
471
645
  # @return [String]
472
646
  attr_accessor :detail
@@ -783,9 +957,10 @@ module Google
783
957
  class GetPolicyOptions
784
958
  include Google::Apis::Core::Hashable
785
959
 
786
- # Optional. The policy format version to be returned. Acceptable values are 0, 1,
787
- # and 3. If the value is 0, or the field is omitted, policy format version 1
788
- # will be returned.
960
+ # Optional. The policy format version to be returned.Valid values are 0, 1, and
961
+ # 3. Requests specifying an invalid value will be rejected.Requests for policies
962
+ # with any conditional bindings must specify version 3. Policies without any
963
+ # conditional bindings may specify any valid value or leave the field unset.
789
964
  # Corresponds to the JSON property `requestedPolicyVersion`
790
965
  # @return [Fixnum]
791
966
  attr_accessor :requested_policy_version
@@ -936,6 +1111,57 @@ module Google
936
1111
  end
937
1112
  end
938
1113
 
1114
+ # Configuration for the size bounds of an instance group, including its
1115
+ # proportional size to other groups.
1116
+ class InstanceGroupAutoscalingPolicyConfig
1117
+ include Google::Apis::Core::Hashable
1118
+
1119
+ # Required. Maximum number of instances for this group. Required for primary
1120
+ # workers. Note that by default, clusters will not use secondary workers.
1121
+ # Required for secondary workers if the minimum secondary instances is set.
1122
+ # Primary workers - Bounds: [min_instances, ). Secondary workers - Bounds: [
1123
+ # min_instances, ). Default: 0.
1124
+ # Corresponds to the JSON property `maxInstances`
1125
+ # @return [Fixnum]
1126
+ attr_accessor :max_instances
1127
+
1128
+ # Optional. Minimum number of instances for this group.Primary workers - Bounds:
1129
+ # 2, max_instances. Default: 2. Secondary workers - Bounds: 0, max_instances.
1130
+ # Default: 0.
1131
+ # Corresponds to the JSON property `minInstances`
1132
+ # @return [Fixnum]
1133
+ attr_accessor :min_instances
1134
+
1135
+ # Optional. Weight for the instance group, which is used to determine the
1136
+ # fraction of total workers in the cluster from this instance group. For example,
1137
+ # if primary workers have weight 2, and secondary workers have weight 1, the
1138
+ # cluster will have approximately 2 primary workers for each secondary worker.
1139
+ # The cluster may not reach the specified balance if constrained by min/max
1140
+ # bounds or other autoscaling settings. For example, if max_instances for
1141
+ # secondary workers is 0, then only primary workers will be added. The cluster
1142
+ # can also be out of balance when created.If weight is not set on any instance
1143
+ # group, the cluster will default to equal weight for all groups: the cluster
1144
+ # will attempt to maintain an equal number of workers in each group within the
1145
+ # configured size bounds for each group. If weight is set for one group only,
1146
+ # the cluster will default to zero weight on the unset group. For example if
1147
+ # weight is set only on primary workers, the cluster will use primary workers
1148
+ # only and no secondary workers.
1149
+ # Corresponds to the JSON property `weight`
1150
+ # @return [Fixnum]
1151
+ attr_accessor :weight
1152
+
1153
+ def initialize(**args)
1154
+ update!(**args)
1155
+ end
1156
+
1157
+ # Update properties of this object
1158
+ def update!(**args)
1159
+ @max_instances = args[:max_instances] if args.key?(:max_instances)
1160
+ @min_instances = args[:min_instances] if args.key?(:min_instances)
1161
+ @weight = args[:weight] if args.key?(:weight)
1162
+ end
1163
+ end
1164
+
939
1165
  # Optional. The config settings for Compute Engine resources in an instance
940
1166
  # group, such as a master or worker group.
941
1167
  class InstanceGroupConfig
@@ -1259,7 +1485,7 @@ module Google
1259
1485
  class JobStatus
1260
1486
  include Google::Apis::Core::Hashable
1261
1487
 
1262
- # Output only. Optional job state details, such as an error description if the
1488
+ # Optional. Output only. Job state details, such as an error description if the
1263
1489
  # state is <code>ERROR</code>.
1264
1490
  # Corresponds to the JSON property `details`
1265
1491
  # @return [String]
@@ -1458,6 +1684,32 @@ module Google
1458
1684
  end
1459
1685
  end
1460
1686
 
1687
+ # A response to a request to list autoscaling policies in a project.
1688
+ class ListAutoscalingPoliciesResponse
1689
+ include Google::Apis::Core::Hashable
1690
+
1691
+ # Output only. This token is included in the response if there are more results
1692
+ # to fetch.
1693
+ # Corresponds to the JSON property `nextPageToken`
1694
+ # @return [String]
1695
+ attr_accessor :next_page_token
1696
+
1697
+ # Output only. Autoscaling policies list.
1698
+ # Corresponds to the JSON property `policies`
1699
+ # @return [Array<Google::Apis::DataprocV1::AutoscalingPolicy>]
1700
+ attr_accessor :policies
1701
+
1702
+ def initialize(**args)
1703
+ update!(**args)
1704
+ end
1705
+
1706
+ # Update properties of this object
1707
+ def update!(**args)
1708
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1709
+ @policies = args[:policies] if args.key?(:policies)
1710
+ end
1711
+ end
1712
+
1461
1713
  # The list of all clusters in a project.
1462
1714
  class ListClustersResponse
1463
1715
  include Google::Apis::Core::Hashable
@@ -1921,24 +2173,33 @@ module Google
1921
2173
  end
1922
2174
 
1923
2175
  # Defines an Identity and Access Management (IAM) policy. It is used to specify
1924
- # access control policies for Cloud Platform resources.A Policy consists of a
1925
- # list of bindings. A binding binds a list of members to a role, where the
1926
- # members can be user accounts, Google groups, Google domains, and service
1927
- # accounts. A role is a named list of permissions defined by IAM.JSON Example
2176
+ # access control policies for Cloud Platform resources.A Policy is a collection
2177
+ # of bindings. A binding binds one or more members to a single role. Members can
2178
+ # be user accounts, service accounts, Google groups, and domains (such as G
2179
+ # Suite). A role is a named list of permissions (defined by IAM or configured by
2180
+ # users). A binding can optionally specify a condition, which is a logic
2181
+ # expression that further constrains the role binding based on attributes about
2182
+ # the request and/or target resource.JSON Example
1928
2183
  # `
1929
2184
  # "bindings": [
1930
2185
  # `
1931
- # "role": "roles/owner",
2186
+ # "role": "role/resourcemanager.organizationAdmin",
1932
2187
  # "members": [
1933
2188
  # "user:mike@example.com",
1934
2189
  # "group:admins@example.com",
1935
2190
  # "domain:google.com",
1936
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
2191
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1937
2192
  # ]
1938
2193
  # `,
1939
2194
  # `
1940
- # "role": "roles/viewer",
1941
- # "members": ["user:sean@example.com"]
2195
+ # "role": "roles/resourcemanager.organizationViewer",
2196
+ # "members": ["user:eve@example.com"],
2197
+ # "condition": `
2198
+ # "title": "expirable access",
2199
+ # "description": "Does not grant access after Sep 2020",
2200
+ # "expression": "request.time <
2201
+ # timestamp('2020-10-01T00:00:00.000Z')",
2202
+ # `
1942
2203
  # `
1943
2204
  # ]
1944
2205
  # `
@@ -1948,18 +2209,23 @@ module Google
1948
2209
  # - user:mike@example.com
1949
2210
  # - group:admins@example.com
1950
2211
  # - domain:google.com
1951
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
1952
- # role: roles/owner
2212
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
2213
+ # role: roles/resourcemanager.organizationAdmin
1953
2214
  # - members:
1954
- # - user:sean@example.com
1955
- # role: roles/viewer
2215
+ # - user:eve@example.com
2216
+ # role: roles/resourcemanager.organizationViewer
2217
+ # condition:
2218
+ # title: expirable access
2219
+ # description: Does not grant access after Sep 2020
2220
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1956
2221
  # For a description of IAM and its features, see the IAM developer's guide (
1957
2222
  # https://cloud.google.com/iam/docs).
1958
2223
  class Policy
1959
2224
  include Google::Apis::Core::Hashable
1960
2225
 
1961
- # Associates a list of members to a role. bindings with no members will result
1962
- # in an error.
2226
+ # Associates a list of members to a role. Optionally may specify a condition
2227
+ # that determines when binding is in effect. bindings with no members will
2228
+ # result in an error.
1963
2229
  # Corresponds to the JSON property `bindings`
1964
2230
  # @return [Array<Google::Apis::DataprocV1::Binding>]
1965
2231
  attr_accessor :bindings
@@ -1971,13 +2237,22 @@ module Google
1971
2237
  # in the response to getIamPolicy, and systems are expected to put that etag in
1972
2238
  # the request to setIamPolicy to ensure that their change will be applied to the
1973
2239
  # same version of the policy.If no etag is provided in the call to setIamPolicy,
1974
- # then the existing policy is overwritten.
2240
+ # then the existing policy is overwritten. Due to blind-set semantics of an etag-
2241
+ # less policy, 'setIamPolicy' will not fail even if either of incoming or stored
2242
+ # policy does not meet the version requirements.
1975
2243
  # Corresponds to the JSON property `etag`
1976
2244
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1977
2245
  # @return [String]
1978
2246
  attr_accessor :etag
1979
2247
 
1980
- # Deprecated.
2248
+ # Specifies the format of the policy.Valid values are 0, 1, and 3. Requests
2249
+ # specifying an invalid value will be rejected.Operations affecting conditional
2250
+ # bindings must specify version 3. This can be either setting a conditional
2251
+ # policy, modifying a conditional binding, or removing a conditional binding
2252
+ # from the stored conditional policy. Operations on non-conditional policies may
2253
+ # specify any valid value or leave the field unset.If no etag is provided in the
2254
+ # call to setIamPolicy, any version compliance checks on the incoming and/or
2255
+ # stored policy is skipped.
1981
2256
  # Corresponds to the JSON property `version`
1982
2257
  # @return [Fixnum]
1983
2258
  attr_accessor :version
@@ -2142,24 +2417,33 @@ module Google
2142
2417
  include Google::Apis::Core::Hashable
2143
2418
 
2144
2419
  # Defines an Identity and Access Management (IAM) policy. It is used to specify
2145
- # access control policies for Cloud Platform resources.A Policy consists of a
2146
- # list of bindings. A binding binds a list of members to a role, where the
2147
- # members can be user accounts, Google groups, Google domains, and service
2148
- # accounts. A role is a named list of permissions defined by IAM.JSON Example
2420
+ # access control policies for Cloud Platform resources.A Policy is a collection
2421
+ # of bindings. A binding binds one or more members to a single role. Members can
2422
+ # be user accounts, service accounts, Google groups, and domains (such as G
2423
+ # Suite). A role is a named list of permissions (defined by IAM or configured by
2424
+ # users). A binding can optionally specify a condition, which is a logic
2425
+ # expression that further constrains the role binding based on attributes about
2426
+ # the request and/or target resource.JSON Example
2149
2427
  # `
2150
2428
  # "bindings": [
2151
2429
  # `
2152
- # "role": "roles/owner",
2430
+ # "role": "role/resourcemanager.organizationAdmin",
2153
2431
  # "members": [
2154
2432
  # "user:mike@example.com",
2155
2433
  # "group:admins@example.com",
2156
2434
  # "domain:google.com",
2157
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
2435
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
2158
2436
  # ]
2159
2437
  # `,
2160
2438
  # `
2161
- # "role": "roles/viewer",
2162
- # "members": ["user:sean@example.com"]
2439
+ # "role": "roles/resourcemanager.organizationViewer",
2440
+ # "members": ["user:eve@example.com"],
2441
+ # "condition": `
2442
+ # "title": "expirable access",
2443
+ # "description": "Does not grant access after Sep 2020",
2444
+ # "expression": "request.time <
2445
+ # timestamp('2020-10-01T00:00:00.000Z')",
2446
+ # `
2163
2447
  # `
2164
2448
  # ]
2165
2449
  # `
@@ -2169,11 +2453,15 @@ module Google
2169
2453
  # - user:mike@example.com
2170
2454
  # - group:admins@example.com
2171
2455
  # - domain:google.com
2172
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
2173
- # role: roles/owner
2456
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
2457
+ # role: roles/resourcemanager.organizationAdmin
2174
2458
  # - members:
2175
- # - user:sean@example.com
2176
- # role: roles/viewer
2459
+ # - user:eve@example.com
2460
+ # role: roles/resourcemanager.organizationViewer
2461
+ # condition:
2462
+ # title: expirable access
2463
+ # description: Does not grant access after Sep 2020
2464
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
2177
2465
  # For a description of IAM and its features, see the IAM developer's guide (
2178
2466
  # https://cloud.google.com/iam/docs).
2179
2467
  # Corresponds to the JSON property `policy`
@@ -2202,7 +2490,7 @@ module Google
2202
2490
  # @return [String]
2203
2491
  attr_accessor :image_version
2204
2492
 
2205
- # The set of optional components to activate on the cluster.
2493
+ # Optional. The set of components to activate on the cluster.
2206
2494
  # Corresponds to the JSON property `optionalComponents`
2207
2495
  # @return [Array<String>]
2208
2496
  attr_accessor :optional_components
@@ -2722,9 +3010,7 @@ module Google
2722
3010
  # @return [String]
2723
3011
  attr_accessor :create_time
2724
3012
 
2725
- # Required. The template id.The id must contain only letters (a-z, A-Z), numbers
2726
- # (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore
2727
- # or hyphen. Must consist of between 3 and 50 characters.
3013
+ #
2728
3014
  # Corresponds to the JSON property `id`
2729
3015
  # @return [String]
2730
3016
  attr_accessor :id
@@ -2756,7 +3042,7 @@ module Google
2756
3042
  # @return [String]
2757
3043
  attr_accessor :name
2758
3044
 
2759
- # Optional. Template parameters whose values are substituted into the template.
3045
+ # Optional. emplate parameters whose values are substituted into the template.
2760
3046
  # Values for parameters must be provided when the template is instantiated.
2761
3047
  # Corresponds to the JSON property `parameters`
2762
3048
  # @return [Array<Google::Apis::DataprocV1::TemplateParameter>]