google-api-client 0.28.7 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/build.bat +9 -6
  3. data/.kokoro/build.sh +2 -32
  4. data/.kokoro/continuous/common.cfg +6 -1
  5. data/.kokoro/continuous/windows.cfg +17 -1
  6. data/.kokoro/osx.sh +2 -33
  7. data/.kokoro/presubmit/common.cfg +6 -1
  8. data/.kokoro/presubmit/windows.cfg +17 -1
  9. data/.kokoro/trampoline.bat +10 -0
  10. data/.kokoro/trampoline.sh +3 -23
  11. data/CHANGELOG.md +138 -0
  12. data/Rakefile +31 -0
  13. data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
  14. data/generated/google/apis/accessapproval_v1beta1/classes.rb +306 -0
  15. data/generated/google/apis/accessapproval_v1beta1/representations.rb +159 -0
  16. data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +96 -131
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -42
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  22. data/generated/google/apis/alertcenter_v1beta1/classes.rb +98 -0
  23. data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
  24. data/generated/google/apis/alertcenter_v1beta1/service.rb +2 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +40 -0
  27. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
  28. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  29. data/generated/google/apis/androidenterprise_v1/classes.rb +0 -26
  30. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -14
  31. data/generated/google/apis/androidenterprise_v1/service.rb +0 -36
  32. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
  34. data/generated/google/apis/androidmanagement_v1/representations.rb +82 -0
  35. data/generated/google/apis/androidmanagement_v1/service.rb +170 -0
  36. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v2/service.rb +6 -12
  38. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  39. data/generated/google/apis/androidpublisher_v3/service.rb +6 -12
  40. data/generated/google/apis/appengine_v1.rb +1 -1
  41. data/generated/google/apis/appengine_v1/service.rb +7 -1
  42. data/generated/google/apis/appengine_v1beta.rb +1 -1
  43. data/generated/google/apis/appengine_v1beta/classes.rb +2 -1
  44. data/generated/google/apis/appengine_v1beta/service.rb +7 -1
  45. data/generated/google/apis/appsactivity_v1.rb +1 -1
  46. data/generated/google/apis/appsactivity_v1/service.rb +4 -3
  47. data/generated/google/apis/bigquery_v2.rb +1 -1
  48. data/generated/google/apis/bigquery_v2/classes.rb +28 -4
  49. data/generated/google/apis/bigquery_v2/representations.rb +13 -0
  50. data/generated/google/apis/bigtableadmin_v1.rb +2 -2
  51. data/generated/google/apis/bigtableadmin_v1/service.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2.rb +2 -2
  53. data/generated/google/apis/bigtableadmin_v2/classes.rb +10 -10
  54. data/generated/google/apis/bigtableadmin_v2/service.rb +111 -2
  55. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/calendar_v3/service.rb +16 -16
  58. data/generated/google/apis/classroom_v1.rb +7 -1
  59. data/generated/google/apis/classroom_v1/classes.rb +77 -0
  60. data/generated/google/apis/classroom_v1/representations.rb +32 -0
  61. data/generated/google/apis/classroom_v1/service.rb +224 -0
  62. data/generated/google/apis/cloudasset_v1.rb +1 -1
  63. data/generated/google/apis/cloudasset_v1/classes.rb +15 -2
  64. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  65. data/generated/google/apis/cloudasset_v1/service.rb +3 -2
  66. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudasset_v1beta1/classes.rb +13 -0
  68. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  69. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  70. data/generated/google/apis/cloudbilling_v1/service.rb +2 -2
  71. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  72. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1 -1
  73. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  74. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
  75. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -5
  76. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  77. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -10
  78. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  79. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -4
  80. data/generated/google/apis/cloudiot_v1.rb +1 -1
  81. data/generated/google/apis/cloudkms_v1.rb +1 -1
  82. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  83. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  84. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
  85. data/generated/google/apis/cloudresourcemanager_v1/service.rb +30 -21
  86. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  87. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +37 -26
  88. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  90. data/generated/google/apis/cloudscheduler_v1.rb +34 -0
  91. data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
  92. data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
  93. data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
  94. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  95. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -2
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +25 -11
  98. data/generated/google/apis/cloudsearch_v1/service.rb +36 -32
  99. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2/service.rb +13 -13
  101. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  102. data/generated/google/apis/cloudtasks_v2beta2/service.rb +13 -13
  103. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  104. data/generated/google/apis/cloudtasks_v2beta3/service.rb +13 -13
  105. data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
  106. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
  107. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
  108. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
  109. data/generated/google/apis/compute_alpha.rb +1 -1
  110. data/generated/google/apis/compute_alpha/classes.rb +328 -25
  111. data/generated/google/apis/compute_alpha/representations.rb +134 -0
  112. data/generated/google/apis/compute_alpha/service.rb +465 -0
  113. data/generated/google/apis/compute_beta.rb +1 -1
  114. data/generated/google/apis/compute_beta/classes.rb +86 -20
  115. data/generated/google/apis/compute_beta/representations.rb +7 -0
  116. data/generated/google/apis/compute_v1.rb +1 -1
  117. data/generated/google/apis/compute_v1/classes.rb +994 -103
  118. data/generated/google/apis/compute_v1/representations.rb +346 -0
  119. data/generated/google/apis/compute_v1/service.rb +533 -0
  120. data/generated/google/apis/container_v1.rb +1 -1
  121. data/generated/google/apis/container_v1/classes.rb +167 -21
  122. data/generated/google/apis/container_v1/representations.rb +66 -0
  123. data/generated/google/apis/container_v1/service.rb +85 -36
  124. data/generated/google/apis/container_v1beta1.rb +1 -1
  125. data/generated/google/apis/container_v1beta1/classes.rb +86 -21
  126. data/generated/google/apis/container_v1beta1/representations.rb +32 -0
  127. data/generated/google/apis/container_v1beta1/service.rb +38 -38
  128. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  129. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  130. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +95 -6
  131. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +25 -0
  132. data/generated/google/apis/content_v2.rb +1 -1
  133. data/generated/google/apis/content_v2/classes.rb +5 -5
  134. data/generated/google/apis/content_v2/service.rb +6 -6
  135. data/generated/google/apis/content_v2_1.rb +1 -1
  136. data/generated/google/apis/content_v2_1/classes.rb +18 -4
  137. data/generated/google/apis/content_v2_1/representations.rb +2 -0
  138. data/generated/google/apis/content_v2_1/service.rb +6 -6
  139. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  140. data/generated/google/apis/dataflow_v1b3/classes.rb +56 -1
  141. data/generated/google/apis/dataflow_v1b3/representations.rb +39 -0
  142. data/generated/google/apis/dataflow_v1b3/service.rb +251 -0
  143. data/generated/google/apis/datafusion_v1beta1.rb +43 -0
  144. data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
  145. data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
  146. data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
  147. data/generated/google/apis/dataproc_v1.rb +1 -1
  148. data/generated/google/apis/dataproc_v1/classes.rb +5 -5
  149. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  150. data/generated/google/apis/dataproc_v1beta2/classes.rb +37 -24
  151. data/generated/google/apis/datastore_v1.rb +1 -1
  152. data/generated/google/apis/datastore_v1/classes.rb +20 -16
  153. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  154. data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
  155. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  156. data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
  157. data/generated/google/apis/dialogflow_v2.rb +1 -1
  158. data/generated/google/apis/dialogflow_v2/classes.rb +236 -0
  159. data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
  160. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  161. data/generated/google/apis/dialogflow_v2beta1/classes.rb +64 -2
  162. data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
  163. data/generated/google/apis/dlp_v2.rb +1 -1
  164. data/generated/google/apis/dlp_v2/classes.rb +19 -2
  165. data/generated/google/apis/dns_v1.rb +1 -1
  166. data/generated/google/apis/dns_v1/classes.rb +202 -93
  167. data/generated/google/apis/dns_v1/service.rb +110 -15
  168. data/generated/google/apis/dns_v1beta2.rb +1 -1
  169. data/generated/google/apis/dns_v1beta2/classes.rb +262 -122
  170. data/generated/google/apis/dns_v1beta2/service.rb +141 -21
  171. data/generated/google/apis/dns_v2beta1.rb +1 -1
  172. data/generated/google/apis/dns_v2beta1/classes.rb +202 -93
  173. data/generated/google/apis/dns_v2beta1/service.rb +110 -15
  174. data/generated/google/apis/docs_v1.rb +1 -1
  175. data/generated/google/apis/docs_v1/classes.rb +10 -0
  176. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  177. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
  178. data/generated/google/apis/drive_v2.rb +1 -1
  179. data/generated/google/apis/drive_v2/classes.rb +601 -69
  180. data/generated/google/apis/drive_v2/representations.rb +152 -0
  181. data/generated/google/apis/drive_v2/service.rb +452 -96
  182. data/generated/google/apis/drive_v3.rb +1 -1
  183. data/generated/google/apis/drive_v3/classes.rb +591 -64
  184. data/generated/google/apis/drive_v3/representations.rb +151 -0
  185. data/generated/google/apis/drive_v3/service.rb +407 -77
  186. data/generated/google/apis/driveactivity_v2.rb +1 -1
  187. data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
  188. data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
  189. data/generated/google/apis/file_v1.rb +1 -1
  190. data/generated/google/apis/file_v1/classes.rb +399 -8
  191. data/generated/google/apis/file_v1/representations.rb +121 -0
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +399 -8
  194. data/generated/google/apis/file_v1beta1/representations.rb +121 -0
  195. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  196. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +28 -4
  197. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
  198. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  199. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
  200. data/generated/google/apis/firebaserules_v1.rb +1 -1
  201. data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
  202. data/generated/google/apis/firestore_v1.rb +1 -1
  203. data/generated/google/apis/firestore_v1/classes.rb +15 -15
  204. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  205. data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
  206. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  207. data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
  208. data/generated/google/apis/fitness_v1.rb +1 -1
  209. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  210. data/generated/google/apis/games_v1.rb +2 -2
  211. data/generated/google/apis/gmail_v1.rb +1 -1
  212. data/generated/google/apis/gmail_v1/classes.rb +29 -0
  213. data/generated/google/apis/gmail_v1/representations.rb +13 -0
  214. data/generated/google/apis/gmail_v1/service.rb +76 -0
  215. data/generated/google/apis/healthcare_v1beta1.rb +34 -0
  216. data/generated/google/apis/healthcare_v1beta1/classes.rb +2462 -0
  217. data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
  218. data/generated/google/apis/healthcare_v1beta1/service.rb +3403 -0
  219. data/generated/google/apis/iap_v1.rb +1 -1
  220. data/generated/google/apis/iap_v1beta1.rb +1 -1
  221. data/generated/google/apis/jobs_v2.rb +1 -1
  222. data/generated/google/apis/jobs_v2/classes.rb +9 -8
  223. data/generated/google/apis/jobs_v3.rb +1 -1
  224. data/generated/google/apis/jobs_v3/classes.rb +13 -7
  225. data/generated/google/apis/jobs_v3/service.rb +1 -2
  226. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  227. data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -7
  228. data/generated/google/apis/jobs_v3p1beta1/service.rb +1 -2
  229. data/generated/google/apis/language_v1.rb +1 -1
  230. data/generated/google/apis/language_v1/classes.rb +3 -2
  231. data/generated/google/apis/language_v1beta2.rb +1 -1
  232. data/generated/google/apis/language_v1beta2/classes.rb +3 -2
  233. data/generated/google/apis/ml_v1.rb +1 -1
  234. data/generated/google/apis/ml_v1/classes.rb +64 -16
  235. data/generated/google/apis/ml_v1/representations.rb +2 -0
  236. data/generated/google/apis/ml_v1/service.rb +5 -5
  237. data/generated/google/apis/monitoring_v3.rb +1 -1
  238. data/generated/google/apis/monitoring_v3/classes.rb +0 -10
  239. data/generated/google/apis/monitoring_v3/representations.rb +0 -1
  240. data/generated/google/apis/oauth2_v1.rb +1 -1
  241. data/generated/google/apis/oauth2_v2.rb +1 -1
  242. data/generated/google/apis/oslogin_v1.rb +3 -2
  243. data/generated/google/apis/oslogin_v1/service.rb +2 -1
  244. data/generated/google/apis/oslogin_v1alpha.rb +3 -2
  245. data/generated/google/apis/oslogin_v1alpha/service.rb +2 -1
  246. data/generated/google/apis/oslogin_v1beta.rb +3 -2
  247. data/generated/google/apis/oslogin_v1beta/service.rb +2 -1
  248. data/generated/google/apis/people_v1.rb +1 -4
  249. data/generated/google/apis/people_v1/classes.rb +19 -11
  250. data/generated/google/apis/people_v1/representations.rb +1 -0
  251. data/generated/google/apis/people_v1/service.rb +1 -0
  252. data/generated/google/apis/plus_domains_v1.rb +2 -5
  253. data/generated/google/apis/plus_domains_v1/service.rb +8 -90
  254. data/generated/google/apis/plus_v1.rb +2 -2
  255. data/generated/google/apis/plus_v1/service.rb +7 -7
  256. data/generated/google/apis/poly_v1.rb +1 -1
  257. data/generated/google/apis/poly_v1/classes.rb +3 -2
  258. data/generated/google/apis/poly_v1/service.rb +11 -8
  259. data/generated/google/apis/pubsub_v1.rb +1 -1
  260. data/generated/google/apis/pubsub_v1/classes.rb +2 -1
  261. data/generated/google/apis/pubsub_v1/service.rb +8 -8
  262. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  263. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  264. data/generated/google/apis/remotebuildexecution_v1/classes.rb +7 -6
  265. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  266. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -4
  267. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  268. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -4
  269. data/generated/google/apis/run_v1alpha1.rb +1 -1
  270. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1.rb +35 -0
  272. data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
  273. data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
  274. data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
  275. data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
  276. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
  277. data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
  278. data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
  279. data/generated/google/apis/servicebroker_v1.rb +1 -1
  280. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  281. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  282. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  283. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +324 -13
  284. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +174 -0
  285. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +5 -0
  286. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  287. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
  288. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  289. data/generated/google/apis/servicemanagement_v1/classes.rb +101 -20
  290. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  291. data/generated/google/apis/servicenetworking_v1/classes.rb +16 -13
  292. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  293. data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -13
  294. data/generated/google/apis/serviceusage_v1.rb +1 -1
  295. data/generated/google/apis/serviceusage_v1/classes.rb +110 -13
  296. data/generated/google/apis/serviceusage_v1/representations.rb +43 -0
  297. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  298. data/generated/google/apis/serviceusage_v1beta1/classes.rb +110 -13
  299. data/generated/google/apis/serviceusage_v1beta1/representations.rb +43 -0
  300. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  301. data/generated/google/apis/sourcerepo_v1/classes.rb +182 -0
  302. data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
  303. data/generated/google/apis/sourcerepo_v1/service.rb +35 -0
  304. data/generated/google/apis/spanner_v1.rb +1 -1
  305. data/generated/google/apis/spanner_v1/classes.rb +20 -19
  306. data/generated/google/apis/spanner_v1/service.rb +1 -1
  307. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  308. data/generated/google/apis/sqladmin_v1beta4/classes.rb +9 -2
  309. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  310. data/generated/google/apis/storage_v1.rb +1 -1
  311. data/generated/google/apis/storage_v1/classes.rb +144 -0
  312. data/generated/google/apis/storage_v1/representations.rb +56 -0
  313. data/generated/google/apis/storage_v1/service.rb +441 -46
  314. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  315. data/generated/google/apis/storagetransfer_v1/classes.rb +3 -3
  316. data/generated/google/apis/testing_v1.rb +1 -1
  317. data/generated/google/apis/testing_v1/classes.rb +6 -0
  318. data/generated/google/apis/testing_v1/representations.rb +1 -0
  319. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  320. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  321. data/generated/google/apis/toolresults_v1beta3/classes.rb +240 -0
  322. data/generated/google/apis/toolresults_v1beta3/representations.rb +43 -0
  323. data/generated/google/apis/toolresults_v1beta3/service.rb +116 -0
  324. data/generated/google/apis/tpu_v1.rb +1 -1
  325. data/generated/google/apis/tpu_v1/classes.rb +10 -4
  326. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  327. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  328. data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -4
  329. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  330. data/generated/google/apis/vault_v1.rb +1 -1
  331. data/generated/google/apis/vault_v1/classes.rb +37 -18
  332. data/generated/google/apis/vault_v1/representations.rb +3 -0
  333. data/generated/google/apis/vision_v1.rb +1 -1
  334. data/generated/google/apis/vision_v1/classes.rb +84 -47
  335. data/generated/google/apis/vision_v1/service.rb +68 -4
  336. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  337. data/generated/google/apis/vision_v1p1beta1/classes.rb +84 -47
  338. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  339. data/generated/google/apis/vision_v1p2beta1/classes.rb +84 -47
  340. data/generated/google/apis/webmasters_v3.rb +1 -1
  341. data/generated/google/apis/webmasters_v3/classes.rb +0 -166
  342. data/generated/google/apis/webmasters_v3/representations.rb +0 -93
  343. data/generated/google/apis/webmasters_v3/service.rb +0 -171
  344. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  345. data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
  346. data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
  347. data/generated/google/apis/youtube_v3.rb +1 -1
  348. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  349. data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
  350. data/google-api-client.gemspec +1 -1
  351. data/lib/google/apis/version.rb +1 -1
  352. metadata +31 -9
  353. data/.kokoro/common.cfg +0 -22
  354. data/.kokoro/windows.sh +0 -32
  355. data/generated/google/apis/logging_v2beta1.rb +0 -46
  356. data/generated/google/apis/logging_v2beta1/classes.rb +0 -1764
  357. data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
  358. data/generated/google/apis/logging_v2beta1/service.rb +0 -570
@@ -0,0 +1,43 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/datafusion_v1beta1/service.rb'
16
+ require 'google/apis/datafusion_v1beta1/classes.rb'
17
+ require 'google/apis/datafusion_v1beta1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Cloud Data Fusion API
22
+ #
23
+ # Cloud Data Fusion is a fully-managed, cloud native, enterprise data
24
+ # integration service for
25
+ # quickly building and managing data pipelines. It provides a graphical
26
+ # interface to increase
27
+ # time efficiency and reduce complexity, and allows business users,
28
+ # developers, and data
29
+ # scientists to easily and reliably build scalable data integration
30
+ # solutions to cleanse,
31
+ # prepare, blend, transfer and transform data without having to wrestle with
32
+ # infrastructure.
33
+ #
34
+ # @see https://cloud.google.com/data-fusion/docs
35
+ module DatafusionV1beta1
36
+ VERSION = 'V1beta1'
37
+ REVISION = '20190424'
38
+
39
+ # View and manage your data across Google Cloud Platform services
40
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,1304 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module DatafusionV1beta1
24
+
25
+ # Specifies the audit configuration for a service.
26
+ # The configuration determines which permission types are logged, and what
27
+ # identities, if any, are exempted from logging.
28
+ # An AuditConfig must have one or more AuditLogConfigs.
29
+ # If there are AuditConfigs for both `allServices` and a specific service,
30
+ # the union of the two AuditConfigs is used for that service: the log_types
31
+ # specified in each AuditConfig are enabled, and the exempted_members in each
32
+ # AuditLogConfig are exempted.
33
+ # Example Policy with multiple AuditConfigs:
34
+ # `
35
+ # "audit_configs": [
36
+ # `
37
+ # "service": "allServices"
38
+ # "audit_log_configs": [
39
+ # `
40
+ # "log_type": "DATA_READ",
41
+ # "exempted_members": [
42
+ # "user:foo@gmail.com"
43
+ # ]
44
+ # `,
45
+ # `
46
+ # "log_type": "DATA_WRITE",
47
+ # `,
48
+ # `
49
+ # "log_type": "ADMIN_READ",
50
+ # `
51
+ # ]
52
+ # `,
53
+ # `
54
+ # "service": "fooservice.googleapis.com"
55
+ # "audit_log_configs": [
56
+ # `
57
+ # "log_type": "DATA_READ",
58
+ # `,
59
+ # `
60
+ # "log_type": "DATA_WRITE",
61
+ # "exempted_members": [
62
+ # "user:bar@gmail.com"
63
+ # ]
64
+ # `
65
+ # ]
66
+ # `
67
+ # ]
68
+ # `
69
+ # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
70
+ # logging. It also exempts foo@gmail.com from DATA_READ logging, and
71
+ # bar@gmail.com from DATA_WRITE logging.
72
+ class AuditConfig
73
+ include Google::Apis::Core::Hashable
74
+
75
+ # The configuration for logging of each type of permission.
76
+ # Corresponds to the JSON property `auditLogConfigs`
77
+ # @return [Array<Google::Apis::DatafusionV1beta1::AuditLogConfig>]
78
+ attr_accessor :audit_log_configs
79
+
80
+ #
81
+ # Corresponds to the JSON property `exemptedMembers`
82
+ # @return [Array<String>]
83
+ attr_accessor :exempted_members
84
+
85
+ # Specifies a service that will be enabled for audit logging.
86
+ # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
87
+ # `allServices` is a special value that covers all services.
88
+ # Corresponds to the JSON property `service`
89
+ # @return [String]
90
+ attr_accessor :service
91
+
92
+ def initialize(**args)
93
+ update!(**args)
94
+ end
95
+
96
+ # Update properties of this object
97
+ def update!(**args)
98
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
99
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
100
+ @service = args[:service] if args.key?(:service)
101
+ end
102
+ end
103
+
104
+ # Provides the configuration for logging a type of permissions.
105
+ # Example:
106
+ # `
107
+ # "audit_log_configs": [
108
+ # `
109
+ # "log_type": "DATA_READ",
110
+ # "exempted_members": [
111
+ # "user:foo@gmail.com"
112
+ # ]
113
+ # `,
114
+ # `
115
+ # "log_type": "DATA_WRITE",
116
+ # `
117
+ # ]
118
+ # `
119
+ # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
120
+ # foo@gmail.com from DATA_READ logging.
121
+ class AuditLogConfig
122
+ include Google::Apis::Core::Hashable
123
+
124
+ # Specifies the identities that do not cause logging for this type of
125
+ # permission.
126
+ # Follows the same format of Binding.members.
127
+ # Corresponds to the JSON property `exemptedMembers`
128
+ # @return [Array<String>]
129
+ attr_accessor :exempted_members
130
+
131
+ # The log type that this config enables.
132
+ # Corresponds to the JSON property `logType`
133
+ # @return [String]
134
+ attr_accessor :log_type
135
+
136
+ def initialize(**args)
137
+ update!(**args)
138
+ end
139
+
140
+ # Update properties of this object
141
+ def update!(**args)
142
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
143
+ @log_type = args[:log_type] if args.key?(:log_type)
144
+ end
145
+ end
146
+
147
+ # Authorization-related information used by Cloud Audit Logging.
148
+ class AuthorizationLoggingOptions
149
+ include Google::Apis::Core::Hashable
150
+
151
+ # The type of the permission that was checked.
152
+ # Corresponds to the JSON property `permissionType`
153
+ # @return [String]
154
+ attr_accessor :permission_type
155
+
156
+ def initialize(**args)
157
+ update!(**args)
158
+ end
159
+
160
+ # Update properties of this object
161
+ def update!(**args)
162
+ @permission_type = args[:permission_type] if args.key?(:permission_type)
163
+ end
164
+ end
165
+
166
+ # Associates `members` with a `role`.
167
+ class Binding
168
+ include Google::Apis::Core::Hashable
169
+
170
+ # Represents an expression text. Example:
171
+ # title: "User account presence"
172
+ # description: "Determines whether the request has a user account"
173
+ # expression: "size(request.user) > 0"
174
+ # Corresponds to the JSON property `condition`
175
+ # @return [Google::Apis::DatafusionV1beta1::Expr]
176
+ attr_accessor :condition
177
+
178
+ # Specifies the identities requesting access for a Cloud Platform resource.
179
+ # `members` can have the following values:
180
+ # * `allUsers`: A special identifier that represents anyone who is
181
+ # on the internet; with or without a Google account.
182
+ # * `allAuthenticatedUsers`: A special identifier that represents anyone
183
+ # who is authenticated with a Google account or a service account.
184
+ # * `user:`emailid``: An email address that represents a specific Google
185
+ # account. For example, `alice@gmail.com` .
186
+ # * `serviceAccount:`emailid``: An email address that represents a service
187
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`.
188
+ # * `group:`emailid``: An email address that represents a Google group.
189
+ # For example, `admins@example.com`.
190
+ # * `domain:`domain``: The G Suite domain (primary) that represents all the
191
+ # users of that domain. For example, `google.com` or `example.com`.
192
+ # Corresponds to the JSON property `members`
193
+ # @return [Array<String>]
194
+ attr_accessor :members
195
+
196
+ # Role that is assigned to `members`.
197
+ # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
198
+ # Corresponds to the JSON property `role`
199
+ # @return [String]
200
+ attr_accessor :role
201
+
202
+ def initialize(**args)
203
+ update!(**args)
204
+ end
205
+
206
+ # Update properties of this object
207
+ def update!(**args)
208
+ @condition = args[:condition] if args.key?(:condition)
209
+ @members = args[:members] if args.key?(:members)
210
+ @role = args[:role] if args.key?(:role)
211
+ end
212
+ end
213
+
214
+ # The request message for Operations.CancelOperation.
215
+ class CancelOperationRequest
216
+ include Google::Apis::Core::Hashable
217
+
218
+ def initialize(**args)
219
+ update!(**args)
220
+ end
221
+
222
+ # Update properties of this object
223
+ def update!(**args)
224
+ end
225
+ end
226
+
227
+ # Write a Cloud Audit log
228
+ class CloudAuditOptions
229
+ include Google::Apis::Core::Hashable
230
+
231
+ # Authorization-related information used by Cloud Audit Logging.
232
+ # Corresponds to the JSON property `authorizationLoggingOptions`
233
+ # @return [Google::Apis::DatafusionV1beta1::AuthorizationLoggingOptions]
234
+ attr_accessor :authorization_logging_options
235
+
236
+ # The log_name to populate in the Cloud Audit Record.
237
+ # Corresponds to the JSON property `logName`
238
+ # @return [String]
239
+ attr_accessor :log_name
240
+
241
+ def initialize(**args)
242
+ update!(**args)
243
+ end
244
+
245
+ # Update properties of this object
246
+ def update!(**args)
247
+ @authorization_logging_options = args[:authorization_logging_options] if args.key?(:authorization_logging_options)
248
+ @log_name = args[:log_name] if args.key?(:log_name)
249
+ end
250
+ end
251
+
252
+ # A condition to be met.
253
+ class Condition
254
+ include Google::Apis::Core::Hashable
255
+
256
+ # Trusted attributes supplied by the IAM system.
257
+ # Corresponds to the JSON property `iam`
258
+ # @return [String]
259
+ attr_accessor :iam
260
+
261
+ # An operator to apply the subject with.
262
+ # Corresponds to the JSON property `op`
263
+ # @return [String]
264
+ attr_accessor :op
265
+
266
+ # Trusted attributes discharged by the service.
267
+ # Corresponds to the JSON property `svc`
268
+ # @return [String]
269
+ attr_accessor :svc
270
+
271
+ # Trusted attributes supplied by any service that owns resources and uses
272
+ # the IAM system for access control.
273
+ # Corresponds to the JSON property `sys`
274
+ # @return [String]
275
+ attr_accessor :sys
276
+
277
+ # The objects of the condition.
278
+ # Corresponds to the JSON property `values`
279
+ # @return [Array<String>]
280
+ attr_accessor :values
281
+
282
+ def initialize(**args)
283
+ update!(**args)
284
+ end
285
+
286
+ # Update properties of this object
287
+ def update!(**args)
288
+ @iam = args[:iam] if args.key?(:iam)
289
+ @op = args[:op] if args.key?(:op)
290
+ @svc = args[:svc] if args.key?(:svc)
291
+ @sys = args[:sys] if args.key?(:sys)
292
+ @values = args[:values] if args.key?(:values)
293
+ end
294
+ end
295
+
296
+ # Increment a streamz counter with the specified metric and field names.
297
+ # Metric names should start with a '/', generally be lowercase-only,
298
+ # and end in "_count". Field names should not contain an initial slash.
299
+ # The actual exported metric names will have "/iam/policy" prepended.
300
+ # Field names correspond to IAM request parameters and field values are
301
+ # their respective values.
302
+ # Supported field names:
303
+ # - "authority", which is "[token]" if IAMContext.token is present,
304
+ # otherwise the value of IAMContext.authority_selector if present, and
305
+ # otherwise a representation of IAMContext.principal; or
306
+ # - "iam_principal", a representation of IAMContext.principal even if a
307
+ # token or authority selector is present; or
308
+ # - "" (empty string), resulting in a counter with no fields.
309
+ # Examples:
310
+ # counter ` metric: "/debug_access_count" field: "iam_principal" `
311
+ # ==> increment counter /iam/policy/backend_debug_access_count
312
+ # `iam_principal=[value of IAMContext.principal]`
313
+ # At this time we do not support multiple field names (though this may be
314
+ # supported in the future).
315
+ class CounterOptions
316
+ include Google::Apis::Core::Hashable
317
+
318
+ # The field value to attribute.
319
+ # Corresponds to the JSON property `field`
320
+ # @return [String]
321
+ attr_accessor :field
322
+
323
+ # The metric to update.
324
+ # Corresponds to the JSON property `metric`
325
+ # @return [String]
326
+ attr_accessor :metric
327
+
328
+ def initialize(**args)
329
+ update!(**args)
330
+ end
331
+
332
+ # Update properties of this object
333
+ def update!(**args)
334
+ @field = args[:field] if args.key?(:field)
335
+ @metric = args[:metric] if args.key?(:metric)
336
+ end
337
+ end
338
+
339
+ # Write a Data Access (Gin) log
340
+ class DataAccessOptions
341
+ include Google::Apis::Core::Hashable
342
+
343
+ # Whether Gin logging should happen in a fail-closed manner at the caller.
344
+ # This is relevant only in the LocalIAM implementation, for now.
345
+ # Corresponds to the JSON property `logMode`
346
+ # @return [String]
347
+ attr_accessor :log_mode
348
+
349
+ def initialize(**args)
350
+ update!(**args)
351
+ end
352
+
353
+ # Update properties of this object
354
+ def update!(**args)
355
+ @log_mode = args[:log_mode] if args.key?(:log_mode)
356
+ end
357
+ end
358
+
359
+ # A generic empty message that you can re-use to avoid defining duplicated
360
+ # empty messages in your APIs. A typical example is to use it as the request
361
+ # or the response type of an API method. For instance:
362
+ # service Foo `
363
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
364
+ # `
365
+ # The JSON representation for `Empty` is empty JSON object ````.
366
+ class Empty
367
+ include Google::Apis::Core::Hashable
368
+
369
+ def initialize(**args)
370
+ update!(**args)
371
+ end
372
+
373
+ # Update properties of this object
374
+ def update!(**args)
375
+ end
376
+ end
377
+
378
+ # Represents an expression text. Example:
379
+ # title: "User account presence"
380
+ # description: "Determines whether the request has a user account"
381
+ # expression: "size(request.user) > 0"
382
+ class Expr
383
+ include Google::Apis::Core::Hashable
384
+
385
+ # An optional description of the expression. This is a longer text which
386
+ # describes the expression, e.g. when hovered over it in a UI.
387
+ # Corresponds to the JSON property `description`
388
+ # @return [String]
389
+ attr_accessor :description
390
+
391
+ # Textual representation of an expression in
392
+ # Common Expression Language syntax.
393
+ # The application context of the containing message determines which
394
+ # well-known feature set of CEL is supported.
395
+ # Corresponds to the JSON property `expression`
396
+ # @return [String]
397
+ attr_accessor :expression
398
+
399
+ # An optional string indicating the location of the expression for error
400
+ # reporting, e.g. a file name and a position in the file.
401
+ # Corresponds to the JSON property `location`
402
+ # @return [String]
403
+ attr_accessor :location
404
+
405
+ # An optional title for the expression, i.e. a short string describing
406
+ # its purpose. This can be used e.g. in UIs which allow to enter the
407
+ # expression.
408
+ # Corresponds to the JSON property `title`
409
+ # @return [String]
410
+ attr_accessor :title
411
+
412
+ def initialize(**args)
413
+ update!(**args)
414
+ end
415
+
416
+ # Update properties of this object
417
+ def update!(**args)
418
+ @description = args[:description] if args.key?(:description)
419
+ @expression = args[:expression] if args.key?(:expression)
420
+ @location = args[:location] if args.key?(:location)
421
+ @title = args[:title] if args.key?(:title)
422
+ end
423
+ end
424
+
425
+ # Represents a Data Fusion instance.
426
+ class Instance
427
+ include Google::Apis::Core::Hashable
428
+
429
+ # Output only. The time the instance was created.
430
+ # Corresponds to the JSON property `createTime`
431
+ # @return [String]
432
+ attr_accessor :create_time
433
+
434
+ # An optional description of this instance.
435
+ # Corresponds to the JSON property `description`
436
+ # @return [String]
437
+ attr_accessor :description
438
+
439
+ # Display name for an instance.
440
+ # Corresponds to the JSON property `displayName`
441
+ # @return [String]
442
+ attr_accessor :display_name
443
+
444
+ # Option to enable Stackdriver Logging.
445
+ # Corresponds to the JSON property `enableStackdriverLogging`
446
+ # @return [Boolean]
447
+ attr_accessor :enable_stackdriver_logging
448
+ alias_method :enable_stackdriver_logging?, :enable_stackdriver_logging
449
+
450
+ # Option to enable Stackdriver Monitoring.
451
+ # Corresponds to the JSON property `enableStackdriverMonitoring`
452
+ # @return [Boolean]
453
+ attr_accessor :enable_stackdriver_monitoring
454
+ alias_method :enable_stackdriver_monitoring?, :enable_stackdriver_monitoring
455
+
456
+ # The resource labels for instance to use to annotate any related underlying
457
+ # resources such as GCE VMs. The character '=' is not allowed to be used
458
+ # within the labels.
459
+ # Corresponds to the JSON property `labels`
460
+ # @return [Hash<String,String>]
461
+ attr_accessor :labels
462
+
463
+ # Output only. The name of this instance is in the form of
464
+ # projects/`project`/locations/`location`/instances/`instance`.
465
+ # Corresponds to the JSON property `name`
466
+ # @return [String]
467
+ attr_accessor :name
468
+
469
+ # Network configuration for a Data Fusion instance. These configurations
470
+ # are used for peering with the customer network. Configurations are optional
471
+ # when a public Data Fusion instance is to be created. However, providing
472
+ # these configurations allows several benefits, such as reduced network latency
473
+ # while accessing the customer resources from managed Data Fusion instance
474
+ # nodes, as well as access to the customer on-prem resources.
475
+ # Corresponds to the JSON property `networkConfig`
476
+ # @return [Google::Apis::DatafusionV1beta1::NetworkConfig]
477
+ attr_accessor :network_config
478
+
479
+ # Map of additional options used to configure the behavior of
480
+ # Data Fusion instance.
481
+ # Corresponds to the JSON property `options`
482
+ # @return [Hash<String,String>]
483
+ attr_accessor :options
484
+
485
+ # Specifies whether the Data Fusion instance should be private. If set to
486
+ # true, all Data Fusion nodes will have private IP addresses and will not be
487
+ # able to access the public internet.
488
+ # Corresponds to the JSON property `privateInstance`
489
+ # @return [Boolean]
490
+ attr_accessor :private_instance
491
+ alias_method :private_instance?, :private_instance
492
+
493
+ # Output only. Service account which will be used to access resources in
494
+ # the customer project."
495
+ # Corresponds to the JSON property `serviceAccount`
496
+ # @return [String]
497
+ attr_accessor :service_account
498
+
499
+ # Output only. Endpoint on which the Data Fusion UI and REST APIs are
500
+ # accessible.
501
+ # Corresponds to the JSON property `serviceEndpoint`
502
+ # @return [String]
503
+ attr_accessor :service_endpoint
504
+
505
+ # Output only. The current state of this Data Fusion instance.
506
+ # Corresponds to the JSON property `state`
507
+ # @return [String]
508
+ attr_accessor :state
509
+
510
+ # Output only. Additional information about the current state of this Data
511
+ # Fusion instance if available.
512
+ # Corresponds to the JSON property `stateMessage`
513
+ # @return [String]
514
+ attr_accessor :state_message
515
+
516
+ # Required. Instance type.
517
+ # Corresponds to the JSON property `type`
518
+ # @return [String]
519
+ attr_accessor :type
520
+
521
+ # Output only. The time the instance was last updated.
522
+ # Corresponds to the JSON property `updateTime`
523
+ # @return [String]
524
+ attr_accessor :update_time
525
+
526
+ # Output only. Current version of the Data Fusion.
527
+ # Corresponds to the JSON property `version`
528
+ # @return [String]
529
+ attr_accessor :version
530
+
531
+ # Name of the zone in which the Data Fusion instance will be created.
532
+ # Corresponds to the JSON property `zone`
533
+ # @return [String]
534
+ attr_accessor :zone
535
+
536
+ def initialize(**args)
537
+ update!(**args)
538
+ end
539
+
540
+ # Update properties of this object
541
+ def update!(**args)
542
+ @create_time = args[:create_time] if args.key?(:create_time)
543
+ @description = args[:description] if args.key?(:description)
544
+ @display_name = args[:display_name] if args.key?(:display_name)
545
+ @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
546
+ @enable_stackdriver_monitoring = args[:enable_stackdriver_monitoring] if args.key?(:enable_stackdriver_monitoring)
547
+ @labels = args[:labels] if args.key?(:labels)
548
+ @name = args[:name] if args.key?(:name)
549
+ @network_config = args[:network_config] if args.key?(:network_config)
550
+ @options = args[:options] if args.key?(:options)
551
+ @private_instance = args[:private_instance] if args.key?(:private_instance)
552
+ @service_account = args[:service_account] if args.key?(:service_account)
553
+ @service_endpoint = args[:service_endpoint] if args.key?(:service_endpoint)
554
+ @state = args[:state] if args.key?(:state)
555
+ @state_message = args[:state_message] if args.key?(:state_message)
556
+ @type = args[:type] if args.key?(:type)
557
+ @update_time = args[:update_time] if args.key?(:update_time)
558
+ @version = args[:version] if args.key?(:version)
559
+ @zone = args[:zone] if args.key?(:zone)
560
+ end
561
+ end
562
+
563
+ # Response message for the list instance request.
564
+ class ListInstancesResponse
565
+ include Google::Apis::Core::Hashable
566
+
567
+ # Represents a list of Data Fusion instances.
568
+ # Corresponds to the JSON property `instances`
569
+ # @return [Array<Google::Apis::DatafusionV1beta1::Instance>]
570
+ attr_accessor :instances
571
+
572
+ # Token to retrieve the next page of results or empty if there are no more
573
+ # results in the list.
574
+ # Corresponds to the JSON property `nextPageToken`
575
+ # @return [String]
576
+ attr_accessor :next_page_token
577
+
578
+ # Locations that could not be reached.
579
+ # Corresponds to the JSON property `unreachable`
580
+ # @return [Array<String>]
581
+ attr_accessor :unreachable
582
+
583
+ def initialize(**args)
584
+ update!(**args)
585
+ end
586
+
587
+ # Update properties of this object
588
+ def update!(**args)
589
+ @instances = args[:instances] if args.key?(:instances)
590
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
591
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
592
+ end
593
+ end
594
+
595
+ # The response message for Locations.ListLocations.
596
+ class ListLocationsResponse
597
+ include Google::Apis::Core::Hashable
598
+
599
+ # A list of locations that matches the specified filter in the request.
600
+ # Corresponds to the JSON property `locations`
601
+ # @return [Array<Google::Apis::DatafusionV1beta1::Location>]
602
+ attr_accessor :locations
603
+
604
+ # The standard List next-page token.
605
+ # Corresponds to the JSON property `nextPageToken`
606
+ # @return [String]
607
+ attr_accessor :next_page_token
608
+
609
+ def initialize(**args)
610
+ update!(**args)
611
+ end
612
+
613
+ # Update properties of this object
614
+ def update!(**args)
615
+ @locations = args[:locations] if args.key?(:locations)
616
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
617
+ end
618
+ end
619
+
620
+ # The response message for Operations.ListOperations.
621
+ class ListOperationsResponse
622
+ include Google::Apis::Core::Hashable
623
+
624
+ # The standard List next-page token.
625
+ # Corresponds to the JSON property `nextPageToken`
626
+ # @return [String]
627
+ attr_accessor :next_page_token
628
+
629
+ # A list of operations that matches the specified filter in the request.
630
+ # Corresponds to the JSON property `operations`
631
+ # @return [Array<Google::Apis::DatafusionV1beta1::Operation>]
632
+ attr_accessor :operations
633
+
634
+ def initialize(**args)
635
+ update!(**args)
636
+ end
637
+
638
+ # Update properties of this object
639
+ def update!(**args)
640
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
641
+ @operations = args[:operations] if args.key?(:operations)
642
+ end
643
+ end
644
+
645
+ # A resource that represents Google Cloud Platform location.
646
+ class Location
647
+ include Google::Apis::Core::Hashable
648
+
649
+ # The friendly name for this location, typically a nearby city name.
650
+ # For example, "Tokyo".
651
+ # Corresponds to the JSON property `displayName`
652
+ # @return [String]
653
+ attr_accessor :display_name
654
+
655
+ # Cross-service attributes for the location. For example
656
+ # `"cloud.googleapis.com/region": "us-east1"`
657
+ # Corresponds to the JSON property `labels`
658
+ # @return [Hash<String,String>]
659
+ attr_accessor :labels
660
+
661
+ # The canonical id for this location. For example: `"us-east1"`.
662
+ # Corresponds to the JSON property `locationId`
663
+ # @return [String]
664
+ attr_accessor :location_id
665
+
666
+ # Service-specific metadata. For example the available capacity at the given
667
+ # location.
668
+ # Corresponds to the JSON property `metadata`
669
+ # @return [Hash<String,Object>]
670
+ attr_accessor :metadata
671
+
672
+ # Resource name for the location, which may vary between implementations.
673
+ # For example: `"projects/example-project/locations/us-east1"`
674
+ # Corresponds to the JSON property `name`
675
+ # @return [String]
676
+ attr_accessor :name
677
+
678
+ def initialize(**args)
679
+ update!(**args)
680
+ end
681
+
682
+ # Update properties of this object
683
+ def update!(**args)
684
+ @display_name = args[:display_name] if args.key?(:display_name)
685
+ @labels = args[:labels] if args.key?(:labels)
686
+ @location_id = args[:location_id] if args.key?(:location_id)
687
+ @metadata = args[:metadata] if args.key?(:metadata)
688
+ @name = args[:name] if args.key?(:name)
689
+ end
690
+ end
691
+
692
+ # Specifies what kind of log the caller must write
693
+ class LogConfig
694
+ include Google::Apis::Core::Hashable
695
+
696
+ # Write a Cloud Audit log
697
+ # Corresponds to the JSON property `cloudAudit`
698
+ # @return [Google::Apis::DatafusionV1beta1::CloudAuditOptions]
699
+ attr_accessor :cloud_audit
700
+
701
+ # Increment a streamz counter with the specified metric and field names.
702
+ # Metric names should start with a '/', generally be lowercase-only,
703
+ # and end in "_count". Field names should not contain an initial slash.
704
+ # The actual exported metric names will have "/iam/policy" prepended.
705
+ # Field names correspond to IAM request parameters and field values are
706
+ # their respective values.
707
+ # Supported field names:
708
+ # - "authority", which is "[token]" if IAMContext.token is present,
709
+ # otherwise the value of IAMContext.authority_selector if present, and
710
+ # otherwise a representation of IAMContext.principal; or
711
+ # - "iam_principal", a representation of IAMContext.principal even if a
712
+ # token or authority selector is present; or
713
+ # - "" (empty string), resulting in a counter with no fields.
714
+ # Examples:
715
+ # counter ` metric: "/debug_access_count" field: "iam_principal" `
716
+ # ==> increment counter /iam/policy/backend_debug_access_count
717
+ # `iam_principal=[value of IAMContext.principal]`
718
+ # At this time we do not support multiple field names (though this may be
719
+ # supported in the future).
720
+ # Corresponds to the JSON property `counter`
721
+ # @return [Google::Apis::DatafusionV1beta1::CounterOptions]
722
+ attr_accessor :counter
723
+
724
+ # Write a Data Access (Gin) log
725
+ # Corresponds to the JSON property `dataAccess`
726
+ # @return [Google::Apis::DatafusionV1beta1::DataAccessOptions]
727
+ attr_accessor :data_access
728
+
729
+ def initialize(**args)
730
+ update!(**args)
731
+ end
732
+
733
+ # Update properties of this object
734
+ def update!(**args)
735
+ @cloud_audit = args[:cloud_audit] if args.key?(:cloud_audit)
736
+ @counter = args[:counter] if args.key?(:counter)
737
+ @data_access = args[:data_access] if args.key?(:data_access)
738
+ end
739
+ end
740
+
741
+ # Network configuration for a Data Fusion instance. These configurations
742
+ # are used for peering with the customer network. Configurations are optional
743
+ # when a public Data Fusion instance is to be created. However, providing
744
+ # these configurations allows several benefits, such as reduced network latency
745
+ # while accessing the customer resources from managed Data Fusion instance
746
+ # nodes, as well as access to the customer on-prem resources.
747
+ class NetworkConfig
748
+ include Google::Apis::Core::Hashable
749
+
750
+ # The IP range in CIDR notation to use for the managed Data Fusion instance
751
+ # nodes. This range must not overlap with any other ranges used in the Data
752
+ # Fusion instance network.
753
+ # Corresponds to the JSON property `ipAllocation`
754
+ # @return [String]
755
+ attr_accessor :ip_allocation
756
+
757
+ # Name of the network in the customer project with which the Tenant Project
758
+ # will be peered for executing pipelines.
759
+ # Corresponds to the JSON property `network`
760
+ # @return [String]
761
+ attr_accessor :network
762
+
763
+ def initialize(**args)
764
+ update!(**args)
765
+ end
766
+
767
+ # Update properties of this object
768
+ def update!(**args)
769
+ @ip_allocation = args[:ip_allocation] if args.key?(:ip_allocation)
770
+ @network = args[:network] if args.key?(:network)
771
+ end
772
+ end
773
+
774
+ # This resource represents a long-running operation that is the result of a
775
+ # network API call.
776
+ class Operation
777
+ include Google::Apis::Core::Hashable
778
+
779
+ # If the value is `false`, it means the operation is still in progress.
780
+ # If `true`, the operation is completed, and either `error` or `response` is
781
+ # available.
782
+ # Corresponds to the JSON property `done`
783
+ # @return [Boolean]
784
+ attr_accessor :done
785
+ alias_method :done?, :done
786
+
787
+ # The `Status` type defines a logical error model that is suitable for
788
+ # different programming environments, including REST APIs and RPC APIs. It is
789
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
790
+ # - Simple to use and understand for most users
791
+ # - Flexible enough to meet unexpected needs
792
+ # # Overview
793
+ # The `Status` message contains three pieces of data: error code, error
794
+ # message, and error details. The error code should be an enum value of
795
+ # google.rpc.Code, but it may accept additional error codes if needed. The
796
+ # error message should be a developer-facing English message that helps
797
+ # developers *understand* and *resolve* the error. If a localized user-facing
798
+ # error message is needed, put the localized message in the error details or
799
+ # localize it in the client. The optional error details may contain arbitrary
800
+ # information about the error. There is a predefined set of error detail types
801
+ # in the package `google.rpc` that can be used for common error conditions.
802
+ # # Language mapping
803
+ # The `Status` message is the logical representation of the error model, but it
804
+ # is not necessarily the actual wire format. When the `Status` message is
805
+ # exposed in different client libraries and different wire protocols, it can be
806
+ # mapped differently. For example, it will likely be mapped to some exceptions
807
+ # in Java, but more likely mapped to some error codes in C.
808
+ # # Other uses
809
+ # The error model and the `Status` message can be used in a variety of
810
+ # environments, either with or without APIs, to provide a
811
+ # consistent developer experience across different environments.
812
+ # Example uses of this error model include:
813
+ # - Partial errors. If a service needs to return partial errors to the client,
814
+ # it may embed the `Status` in the normal response to indicate the partial
815
+ # errors.
816
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
817
+ # have a `Status` message for error reporting.
818
+ # - Batch operations. If a client uses batch request and batch response, the
819
+ # `Status` message should be used directly inside batch response, one for
820
+ # each error sub-response.
821
+ # - Asynchronous operations. If an API call embeds asynchronous operation
822
+ # results in its response, the status of those operations should be
823
+ # represented directly using the `Status` message.
824
+ # - Logging. If some API errors are stored in logs, the message `Status` could
825
+ # be used directly after any stripping needed for security/privacy reasons.
826
+ # Corresponds to the JSON property `error`
827
+ # @return [Google::Apis::DatafusionV1beta1::Status]
828
+ attr_accessor :error
829
+
830
+ # Service-specific metadata associated with the operation. It typically
831
+ # contains progress information and common metadata such as create time.
832
+ # Some services might not provide such metadata. Any method that returns a
833
+ # long-running operation should document the metadata type, if any.
834
+ # Corresponds to the JSON property `metadata`
835
+ # @return [Hash<String,Object>]
836
+ attr_accessor :metadata
837
+
838
+ # The server-assigned name, which is only unique within the same service that
839
+ # originally returns it. If you use the default HTTP mapping, the
840
+ # `name` should have the format of `operations/some/unique/name`.
841
+ # Corresponds to the JSON property `name`
842
+ # @return [String]
843
+ attr_accessor :name
844
+
845
+ # The normal response of the operation in case of success. If the original
846
+ # method returns no data on success, such as `Delete`, the response is
847
+ # `google.protobuf.Empty`. If the original method is standard
848
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
849
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
850
+ # is the original method name. For example, if the original method name
851
+ # is `TakeSnapshot()`, the inferred response type is
852
+ # `TakeSnapshotResponse`.
853
+ # Corresponds to the JSON property `response`
854
+ # @return [Hash<String,Object>]
855
+ attr_accessor :response
856
+
857
+ def initialize(**args)
858
+ update!(**args)
859
+ end
860
+
861
+ # Update properties of this object
862
+ def update!(**args)
863
+ @done = args[:done] if args.key?(:done)
864
+ @error = args[:error] if args.key?(:error)
865
+ @metadata = args[:metadata] if args.key?(:metadata)
866
+ @name = args[:name] if args.key?(:name)
867
+ @response = args[:response] if args.key?(:response)
868
+ end
869
+ end
870
+
871
+ # Represents the metadata of a long-running operation.
872
+ class OperationMetadata
873
+ include Google::Apis::Core::Hashable
874
+
875
+ # API version used to start the operation.
876
+ # Corresponds to the JSON property `apiVersion`
877
+ # @return [String]
878
+ attr_accessor :api_version
879
+
880
+ # The time the operation was created.
881
+ # Corresponds to the JSON property `createTime`
882
+ # @return [String]
883
+ attr_accessor :create_time
884
+
885
+ # The time the operation finished running.
886
+ # Corresponds to the JSON property `endTime`
887
+ # @return [String]
888
+ attr_accessor :end_time
889
+
890
+ # Identifies whether the user has requested cancellation
891
+ # of the operation. Operations that have successfully been cancelled
892
+ # have Operation.error value with a google.rpc.Status.code of 1,
893
+ # corresponding to `Code.CANCELLED`.
894
+ # Corresponds to the JSON property `requestedCancellation`
895
+ # @return [Boolean]
896
+ attr_accessor :requested_cancellation
897
+ alias_method :requested_cancellation?, :requested_cancellation
898
+
899
+ # Human-readable status of the operation if any.
900
+ # Corresponds to the JSON property `statusDetail`
901
+ # @return [String]
902
+ attr_accessor :status_detail
903
+
904
+ # Server-defined resource path for the target of the operation.
905
+ # Corresponds to the JSON property `target`
906
+ # @return [String]
907
+ attr_accessor :target
908
+
909
+ # Name of the verb executed by the operation.
910
+ # Corresponds to the JSON property `verb`
911
+ # @return [String]
912
+ attr_accessor :verb
913
+
914
+ def initialize(**args)
915
+ update!(**args)
916
+ end
917
+
918
+ # Update properties of this object
919
+ def update!(**args)
920
+ @api_version = args[:api_version] if args.key?(:api_version)
921
+ @create_time = args[:create_time] if args.key?(:create_time)
922
+ @end_time = args[:end_time] if args.key?(:end_time)
923
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
924
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
925
+ @target = args[:target] if args.key?(:target)
926
+ @verb = args[:verb] if args.key?(:verb)
927
+ end
928
+ end
929
+
930
+ # Defines an Identity and Access Management (IAM) policy. It is used to
931
+ # specify access control policies for Cloud Platform resources.
932
+ # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
933
+ # `members` to a `role`, where the members can be user accounts, Google groups,
934
+ # Google domains, and service accounts. A `role` is a named list of permissions
935
+ # defined by IAM.
936
+ # **JSON Example**
937
+ # `
938
+ # "bindings": [
939
+ # `
940
+ # "role": "roles/owner",
941
+ # "members": [
942
+ # "user:mike@example.com",
943
+ # "group:admins@example.com",
944
+ # "domain:google.com",
945
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
946
+ # ]
947
+ # `,
948
+ # `
949
+ # "role": "roles/viewer",
950
+ # "members": ["user:sean@example.com"]
951
+ # `
952
+ # ]
953
+ # `
954
+ # **YAML Example**
955
+ # bindings:
956
+ # - members:
957
+ # - user:mike@example.com
958
+ # - group:admins@example.com
959
+ # - domain:google.com
960
+ # - serviceAccount:my-other-app@appspot.gserviceaccount.com
961
+ # role: roles/owner
962
+ # - members:
963
+ # - user:sean@example.com
964
+ # role: roles/viewer
965
+ # For a description of IAM and its features, see the
966
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
967
+ class Policy
968
+ include Google::Apis::Core::Hashable
969
+
970
+ # Specifies cloud audit logging configuration for this policy.
971
+ # Corresponds to the JSON property `auditConfigs`
972
+ # @return [Array<Google::Apis::DatafusionV1beta1::AuditConfig>]
973
+ attr_accessor :audit_configs
974
+
975
+ # Associates a list of `members` to a `role`.
976
+ # `bindings` with no members will result in an error.
977
+ # Corresponds to the JSON property `bindings`
978
+ # @return [Array<Google::Apis::DatafusionV1beta1::Binding>]
979
+ attr_accessor :bindings
980
+
981
+ # `etag` is used for optimistic concurrency control as a way to help
982
+ # prevent simultaneous updates of a policy from overwriting each other.
983
+ # It is strongly suggested that systems make use of the `etag` in the
984
+ # read-modify-write cycle to perform policy updates in order to avoid race
985
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
986
+ # systems are expected to put that etag in the request to `setIamPolicy` to
987
+ # ensure that their change will be applied to the same version of the policy.
988
+ # If no `etag` is provided in the call to `setIamPolicy`, then the existing
989
+ # policy is overwritten blindly.
990
+ # Corresponds to the JSON property `etag`
991
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
992
+ # @return [String]
993
+ attr_accessor :etag
994
+
995
+ #
996
+ # Corresponds to the JSON property `iamOwned`
997
+ # @return [Boolean]
998
+ attr_accessor :iam_owned
999
+ alias_method :iam_owned?, :iam_owned
1000
+
1001
+ # If more than one rule is specified, the rules are applied in the following
1002
+ # manner:
1003
+ # - All matching LOG rules are always applied.
1004
+ # - If any DENY/DENY_WITH_LOG rule matches, permission is denied.
1005
+ # Logging will be applied if one or more matching rule requires logging.
1006
+ # - Otherwise, if any ALLOW/ALLOW_WITH_LOG rule matches, permission is
1007
+ # granted.
1008
+ # Logging will be applied if one or more matching rule requires logging.
1009
+ # - Otherwise, if no rule applies, permission is denied.
1010
+ # Corresponds to the JSON property `rules`
1011
+ # @return [Array<Google::Apis::DatafusionV1beta1::Rule>]
1012
+ attr_accessor :rules
1013
+
1014
+ # Deprecated.
1015
+ # Corresponds to the JSON property `version`
1016
+ # @return [Fixnum]
1017
+ attr_accessor :version
1018
+
1019
+ def initialize(**args)
1020
+ update!(**args)
1021
+ end
1022
+
1023
+ # Update properties of this object
1024
+ def update!(**args)
1025
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
1026
+ @bindings = args[:bindings] if args.key?(:bindings)
1027
+ @etag = args[:etag] if args.key?(:etag)
1028
+ @iam_owned = args[:iam_owned] if args.key?(:iam_owned)
1029
+ @rules = args[:rules] if args.key?(:rules)
1030
+ @version = args[:version] if args.key?(:version)
1031
+ end
1032
+ end
1033
+
1034
+ # Request message for restarting a Data Fusion instance.
1035
+ class RestartInstanceRequest
1036
+ include Google::Apis::Core::Hashable
1037
+
1038
+ def initialize(**args)
1039
+ update!(**args)
1040
+ end
1041
+
1042
+ # Update properties of this object
1043
+ def update!(**args)
1044
+ end
1045
+ end
1046
+
1047
+ # A rule to be applied in a Policy.
1048
+ class Rule
1049
+ include Google::Apis::Core::Hashable
1050
+
1051
+ # Required
1052
+ # Corresponds to the JSON property `action`
1053
+ # @return [String]
1054
+ attr_accessor :action
1055
+
1056
+ # Additional restrictions that must be met. All conditions must pass for the
1057
+ # rule to match.
1058
+ # Corresponds to the JSON property `conditions`
1059
+ # @return [Array<Google::Apis::DatafusionV1beta1::Condition>]
1060
+ attr_accessor :conditions
1061
+
1062
+ # Human-readable description of the rule.
1063
+ # Corresponds to the JSON property `description`
1064
+ # @return [String]
1065
+ attr_accessor :description
1066
+
1067
+ # If one or more 'in' clauses are specified, the rule matches if
1068
+ # the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
1069
+ # Corresponds to the JSON property `in`
1070
+ # @return [Array<String>]
1071
+ attr_accessor :in
1072
+
1073
+ # The config returned to callers of tech.iam.IAM.CheckPolicy for any entries
1074
+ # that match the LOG action.
1075
+ # Corresponds to the JSON property `logConfig`
1076
+ # @return [Array<Google::Apis::DatafusionV1beta1::LogConfig>]
1077
+ attr_accessor :log_config
1078
+
1079
+ # If one or more 'not_in' clauses are specified, the rule matches
1080
+ # if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
1081
+ # The format for in and not_in entries can be found at in the Local IAM
1082
+ # documentation (see go/local-iam#features).
1083
+ # Corresponds to the JSON property `notIn`
1084
+ # @return [Array<String>]
1085
+ attr_accessor :not_in
1086
+
1087
+ # A permission is a string of form '<service>.<resource type>.<verb>'
1088
+ # (e.g., 'storage.buckets.list'). A value of '*' matches all permissions,
1089
+ # and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
1090
+ # Corresponds to the JSON property `permissions`
1091
+ # @return [Array<String>]
1092
+ attr_accessor :permissions
1093
+
1094
+ def initialize(**args)
1095
+ update!(**args)
1096
+ end
1097
+
1098
+ # Update properties of this object
1099
+ def update!(**args)
1100
+ @action = args[:action] if args.key?(:action)
1101
+ @conditions = args[:conditions] if args.key?(:conditions)
1102
+ @description = args[:description] if args.key?(:description)
1103
+ @in = args[:in] if args.key?(:in)
1104
+ @log_config = args[:log_config] if args.key?(:log_config)
1105
+ @not_in = args[:not_in] if args.key?(:not_in)
1106
+ @permissions = args[:permissions] if args.key?(:permissions)
1107
+ end
1108
+ end
1109
+
1110
+ # Request message for `SetIamPolicy` method.
1111
+ class SetIamPolicyRequest
1112
+ include Google::Apis::Core::Hashable
1113
+
1114
+ # Defines an Identity and Access Management (IAM) policy. It is used to
1115
+ # specify access control policies for Cloud Platform resources.
1116
+ # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
1117
+ # `members` to a `role`, where the members can be user accounts, Google groups,
1118
+ # Google domains, and service accounts. A `role` is a named list of permissions
1119
+ # defined by IAM.
1120
+ # **JSON Example**
1121
+ # `
1122
+ # "bindings": [
1123
+ # `
1124
+ # "role": "roles/owner",
1125
+ # "members": [
1126
+ # "user:mike@example.com",
1127
+ # "group:admins@example.com",
1128
+ # "domain:google.com",
1129
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
1130
+ # ]
1131
+ # `,
1132
+ # `
1133
+ # "role": "roles/viewer",
1134
+ # "members": ["user:sean@example.com"]
1135
+ # `
1136
+ # ]
1137
+ # `
1138
+ # **YAML Example**
1139
+ # bindings:
1140
+ # - members:
1141
+ # - user:mike@example.com
1142
+ # - group:admins@example.com
1143
+ # - domain:google.com
1144
+ # - serviceAccount:my-other-app@appspot.gserviceaccount.com
1145
+ # role: roles/owner
1146
+ # - members:
1147
+ # - user:sean@example.com
1148
+ # role: roles/viewer
1149
+ # For a description of IAM and its features, see the
1150
+ # [IAM developer's guide](https://cloud.google.com/iam/docs).
1151
+ # Corresponds to the JSON property `policy`
1152
+ # @return [Google::Apis::DatafusionV1beta1::Policy]
1153
+ attr_accessor :policy
1154
+
1155
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
1156
+ # the fields in the mask will be modified. If no mask is provided, the
1157
+ # following default mask is used:
1158
+ # paths: "bindings, etag"
1159
+ # This field is only used by Cloud IAM.
1160
+ # Corresponds to the JSON property `updateMask`
1161
+ # @return [String]
1162
+ attr_accessor :update_mask
1163
+
1164
+ def initialize(**args)
1165
+ update!(**args)
1166
+ end
1167
+
1168
+ # Update properties of this object
1169
+ def update!(**args)
1170
+ @policy = args[:policy] if args.key?(:policy)
1171
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
1172
+ end
1173
+ end
1174
+
1175
+ # The `Status` type defines a logical error model that is suitable for
1176
+ # different programming environments, including REST APIs and RPC APIs. It is
1177
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1178
+ # - Simple to use and understand for most users
1179
+ # - Flexible enough to meet unexpected needs
1180
+ # # Overview
1181
+ # The `Status` message contains three pieces of data: error code, error
1182
+ # message, and error details. The error code should be an enum value of
1183
+ # google.rpc.Code, but it may accept additional error codes if needed. The
1184
+ # error message should be a developer-facing English message that helps
1185
+ # developers *understand* and *resolve* the error. If a localized user-facing
1186
+ # error message is needed, put the localized message in the error details or
1187
+ # localize it in the client. The optional error details may contain arbitrary
1188
+ # information about the error. There is a predefined set of error detail types
1189
+ # in the package `google.rpc` that can be used for common error conditions.
1190
+ # # Language mapping
1191
+ # The `Status` message is the logical representation of the error model, but it
1192
+ # is not necessarily the actual wire format. When the `Status` message is
1193
+ # exposed in different client libraries and different wire protocols, it can be
1194
+ # mapped differently. For example, it will likely be mapped to some exceptions
1195
+ # in Java, but more likely mapped to some error codes in C.
1196
+ # # Other uses
1197
+ # The error model and the `Status` message can be used in a variety of
1198
+ # environments, either with or without APIs, to provide a
1199
+ # consistent developer experience across different environments.
1200
+ # Example uses of this error model include:
1201
+ # - Partial errors. If a service needs to return partial errors to the client,
1202
+ # it may embed the `Status` in the normal response to indicate the partial
1203
+ # errors.
1204
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
1205
+ # have a `Status` message for error reporting.
1206
+ # - Batch operations. If a client uses batch request and batch response, the
1207
+ # `Status` message should be used directly inside batch response, one for
1208
+ # each error sub-response.
1209
+ # - Asynchronous operations. If an API call embeds asynchronous operation
1210
+ # results in its response, the status of those operations should be
1211
+ # represented directly using the `Status` message.
1212
+ # - Logging. If some API errors are stored in logs, the message `Status` could
1213
+ # be used directly after any stripping needed for security/privacy reasons.
1214
+ class Status
1215
+ include Google::Apis::Core::Hashable
1216
+
1217
+ # The status code, which should be an enum value of google.rpc.Code.
1218
+ # Corresponds to the JSON property `code`
1219
+ # @return [Fixnum]
1220
+ attr_accessor :code
1221
+
1222
+ # A list of messages that carry the error details. There is a common set of
1223
+ # message types for APIs to use.
1224
+ # Corresponds to the JSON property `details`
1225
+ # @return [Array<Hash<String,Object>>]
1226
+ attr_accessor :details
1227
+
1228
+ # A developer-facing error message, which should be in English. Any
1229
+ # user-facing error message should be localized and sent in the
1230
+ # google.rpc.Status.details field, or localized by the client.
1231
+ # Corresponds to the JSON property `message`
1232
+ # @return [String]
1233
+ attr_accessor :message
1234
+
1235
+ def initialize(**args)
1236
+ update!(**args)
1237
+ end
1238
+
1239
+ # Update properties of this object
1240
+ def update!(**args)
1241
+ @code = args[:code] if args.key?(:code)
1242
+ @details = args[:details] if args.key?(:details)
1243
+ @message = args[:message] if args.key?(:message)
1244
+ end
1245
+ end
1246
+
1247
+ # Request message for `TestIamPermissions` method.
1248
+ class TestIamPermissionsRequest
1249
+ include Google::Apis::Core::Hashable
1250
+
1251
+ # The set of permissions to check for the `resource`. Permissions with
1252
+ # wildcards (such as '*' or 'storage.*') are not allowed. For more
1253
+ # information see
1254
+ # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
1255
+ # Corresponds to the JSON property `permissions`
1256
+ # @return [Array<String>]
1257
+ attr_accessor :permissions
1258
+
1259
+ def initialize(**args)
1260
+ update!(**args)
1261
+ end
1262
+
1263
+ # Update properties of this object
1264
+ def update!(**args)
1265
+ @permissions = args[:permissions] if args.key?(:permissions)
1266
+ end
1267
+ end
1268
+
1269
+ # Response message for `TestIamPermissions` method.
1270
+ class TestIamPermissionsResponse
1271
+ include Google::Apis::Core::Hashable
1272
+
1273
+ # A subset of `TestPermissionsRequest.permissions` that the caller is
1274
+ # allowed.
1275
+ # Corresponds to the JSON property `permissions`
1276
+ # @return [Array<String>]
1277
+ attr_accessor :permissions
1278
+
1279
+ def initialize(**args)
1280
+ update!(**args)
1281
+ end
1282
+
1283
+ # Update properties of this object
1284
+ def update!(**args)
1285
+ @permissions = args[:permissions] if args.key?(:permissions)
1286
+ end
1287
+ end
1288
+
1289
+ # Request message for upgrading a Data Fusion instance.
1290
+ # To change the instance properties, instance update should be used.
1291
+ class UpgradeInstanceRequest
1292
+ include Google::Apis::Core::Hashable
1293
+
1294
+ def initialize(**args)
1295
+ update!(**args)
1296
+ end
1297
+
1298
+ # Update properties of this object
1299
+ def update!(**args)
1300
+ end
1301
+ end
1302
+ end
1303
+ end
1304
+ end