google-api-client 0.40.0 → 0.41.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (452) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +297 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/admin_directory_v1.rb +1 -1
  5. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  6. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  7. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  8. data/generated/google/apis/admob_v1.rb +1 -1
  9. data/generated/google/apis/admob_v1/classes.rb +5 -6
  10. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  11. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  12. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  13. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  14. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  15. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  18. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  19. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  20. data/generated/google/apis/androidpublisher_v3/classes.rb +499 -684
  21. data/generated/google/apis/androidpublisher_v3/representations.rb +19 -166
  22. data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
  23. data/generated/google/apis/apigee_v1.rb +1 -1
  24. data/generated/google/apis/apigee_v1/classes.rb +144 -48
  25. data/generated/google/apis/apigee_v1/representations.rb +17 -0
  26. data/generated/google/apis/apigee_v1/service.rb +23 -24
  27. data/generated/google/apis/appsmarket_v2.rb +3 -3
  28. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  29. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  30. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  31. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  32. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  33. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  34. data/generated/google/apis/bigquery_v2.rb +1 -1
  35. data/generated/google/apis/bigquery_v2/classes.rb +51 -13
  36. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  37. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  39. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  40. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  45. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  46. data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
  47. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  48. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  49. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  50. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  51. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  52. data/generated/google/apis/books_v1.rb +1 -1
  53. data/generated/google/apis/books_v1/service.rb +2 -2
  54. data/generated/google/apis/calendar_v3.rb +1 -1
  55. data/generated/google/apis/chat_v1.rb +1 -1
  56. data/generated/google/apis/chat_v1/classes.rb +2 -0
  57. data/generated/google/apis/civicinfo_v2.rb +2 -2
  58. data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
  59. data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
  60. data/generated/google/apis/civicinfo_v2/service.rb +27 -62
  61. data/generated/google/apis/cloudasset_v1.rb +1 -1
  62. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  63. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  64. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  65. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  66. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  67. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  68. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  69. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  70. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  71. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  72. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  74. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  75. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  76. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  77. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  78. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  79. data/generated/google/apis/cloudbuild_v1/classes.rb +287 -15
  80. data/generated/google/apis/cloudbuild_v1/representations.rb +131 -4
  81. data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
  82. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +298 -26
  84. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +136 -9
  85. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  86. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  87. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +298 -26
  88. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +136 -9
  89. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  90. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  91. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
  95. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
  98. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  99. data/generated/google/apis/cloudkms_v1.rb +1 -1
  100. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  101. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  102. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  103. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  104. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  105. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  107. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  108. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  111. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  112. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  113. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  114. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  115. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  116. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  117. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  118. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
  119. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  120. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
  121. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  122. data/generated/google/apis/composer_v1beta1.rb +1 -1
  123. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  124. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  125. data/generated/google/apis/compute_alpha.rb +1 -1
  126. data/generated/google/apis/compute_alpha/classes.rb +801 -219
  127. data/generated/google/apis/compute_alpha/representations.rb +220 -32
  128. data/generated/google/apis/compute_alpha/service.rb +899 -113
  129. data/generated/google/apis/compute_beta.rb +1 -1
  130. data/generated/google/apis/compute_beta/classes.rb +490 -131
  131. data/generated/google/apis/compute_beta/representations.rb +97 -0
  132. data/generated/google/apis/compute_beta/service.rb +308 -33
  133. data/generated/google/apis/compute_v1.rb +1 -1
  134. data/generated/google/apis/compute_v1/classes.rb +706 -76
  135. data/generated/google/apis/compute_v1/representations.rb +200 -0
  136. data/generated/google/apis/compute_v1/service.rb +522 -33
  137. data/generated/google/apis/container_v1.rb +1 -1
  138. data/generated/google/apis/container_v1/classes.rb +123 -5
  139. data/generated/google/apis/container_v1/representations.rb +50 -0
  140. data/generated/google/apis/container_v1beta1.rb +1 -1
  141. data/generated/google/apis/container_v1beta1/classes.rb +142 -24
  142. data/generated/google/apis/container_v1beta1/representations.rb +37 -0
  143. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  144. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  145. data/generated/google/apis/content_v2.rb +1 -1
  146. data/generated/google/apis/content_v2/classes.rb +41 -1
  147. data/generated/google/apis/content_v2/representations.rb +17 -0
  148. data/generated/google/apis/content_v2/service.rb +15 -6
  149. data/generated/google/apis/content_v2_1.rb +1 -1
  150. data/generated/google/apis/content_v2_1/classes.rb +616 -6
  151. data/generated/google/apis/content_v2_1/representations.rb +243 -0
  152. data/generated/google/apis/content_v2_1/service.rb +95 -6
  153. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  154. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  155. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  156. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  157. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  158. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
  159. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  160. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  161. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  162. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  163. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  164. data/generated/google/apis/dataproc_v1.rb +1 -1
  165. data/generated/google/apis/dataproc_v1/classes.rb +71 -24
  166. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  167. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  168. data/generated/google/apis/dataproc_v1beta2/classes.rb +65 -23
  169. data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
  170. data/generated/google/apis/dialogflow_v2.rb +1 -1
  171. data/generated/google/apis/dialogflow_v2/classes.rb +277 -57
  172. data/generated/google/apis/dialogflow_v2/representations.rb +93 -4
  173. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  174. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  175. data/generated/google/apis/dialogflow_v2beta1/classes.rb +268 -56
  176. data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -4
  177. data/generated/google/apis/dialogflow_v2beta1/service.rb +70 -46
  178. data/generated/google/apis/displayvideo_v1.rb +1 -1
  179. data/generated/google/apis/displayvideo_v1/classes.rb +569 -6
  180. data/generated/google/apis/displayvideo_v1/representations.rb +249 -0
  181. data/generated/google/apis/displayvideo_v1/service.rb +1496 -77
  182. data/generated/google/apis/dlp_v2.rb +1 -1
  183. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  184. data/generated/google/apis/dlp_v2/service.rb +170 -64
  185. data/generated/google/apis/dns_v1beta2.rb +4 -4
  186. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  187. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  188. data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
  189. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  190. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  191. data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
  192. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  193. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  194. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  195. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  196. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  197. data/generated/google/apis/drive_v2.rb +1 -1
  198. data/generated/google/apis/drive_v2/classes.rb +9 -0
  199. data/generated/google/apis/drive_v2/representations.rb +1 -0
  200. data/generated/google/apis/drive_v2/service.rb +26 -78
  201. data/generated/google/apis/drive_v3.rb +1 -1
  202. data/generated/google/apis/drive_v3/classes.rb +9 -0
  203. data/generated/google/apis/drive_v3/representations.rb +1 -0
  204. data/generated/google/apis/drive_v3/service.rb +18 -54
  205. data/generated/google/apis/fcm_v1.rb +1 -1
  206. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  207. data/generated/google/apis/file_v1.rb +1 -1
  208. data/generated/google/apis/file_v1/classes.rb +0 -1156
  209. data/generated/google/apis/file_v1/representations.rb +0 -381
  210. data/generated/google/apis/file_v1beta1.rb +1 -1
  211. data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
  212. data/generated/google/apis/file_v1beta1/representations.rb +14 -376
  213. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  214. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  215. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  216. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  217. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  218. data/generated/google/apis/fitness_v1.rb +1 -1
  219. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  220. data/generated/google/apis/games_v1.rb +1 -1
  221. data/generated/google/apis/gameservices_v1.rb +34 -0
  222. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  223. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  224. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  225. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  226. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  227. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  228. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  229. data/generated/google/apis/gmail_v1.rb +3 -2
  230. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  231. data/generated/google/apis/gmail_v1/service.rb +551 -743
  232. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
  233. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  234. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  235. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  236. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  237. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  238. data/generated/google/apis/healthcare_v1.rb +1 -1
  239. data/generated/google/apis/healthcare_v1/classes.rb +9 -9
  240. data/generated/google/apis/healthcare_v1/service.rb +5 -3
  241. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  242. data/generated/google/apis/healthcare_v1beta1/classes.rb +919 -52
  243. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  244. data/generated/google/apis/healthcare_v1beta1/service.rb +520 -3
  245. data/generated/google/apis/iam_v1.rb +1 -1
  246. data/generated/google/apis/iam_v1/classes.rb +92 -81
  247. data/generated/google/apis/iam_v1/service.rb +167 -148
  248. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  249. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  250. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  251. data/generated/google/apis/jobs_v3.rb +1 -1
  252. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  253. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  254. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  255. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  256. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  257. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  258. data/generated/google/apis/logging_v2.rb +1 -1
  259. data/generated/google/apis/logging_v2/classes.rb +69 -21
  260. data/generated/google/apis/managedidentities_v1.rb +1 -1
  261. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  262. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  263. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  264. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  265. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  266. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  267. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  268. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  269. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  270. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  271. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  272. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  273. data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
  274. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  275. data/generated/google/apis/ml_v1.rb +1 -1
  276. data/generated/google/apis/ml_v1/classes.rb +8 -0
  277. data/generated/google/apis/ml_v1/representations.rb +1 -0
  278. data/generated/google/apis/monitoring_v1.rb +1 -1
  279. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  280. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  281. data/generated/google/apis/monitoring_v3.rb +1 -1
  282. data/generated/google/apis/monitoring_v3/classes.rb +68 -19
  283. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  284. data/generated/google/apis/osconfig_v1.rb +1 -1
  285. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  286. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  287. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  288. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  289. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  290. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  291. data/generated/google/apis/people_v1.rb +4 -1
  292. data/generated/google/apis/people_v1/classes.rb +216 -0
  293. data/generated/google/apis/people_v1/representations.rb +82 -0
  294. data/generated/google/apis/people_v1/service.rb +371 -8
  295. data/generated/google/apis/playablelocations_v3.rb +31 -0
  296. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  297. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  298. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  299. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  300. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  301. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  302. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  303. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  304. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  305. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  306. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  307. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  308. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
  309. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
  310. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +507 -0
  311. data/generated/google/apis/pubsub_v1.rb +1 -1
  312. data/generated/google/apis/pubsub_v1/classes.rb +68 -10
  313. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  314. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  315. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  316. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  317. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  318. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  319. data/generated/google/apis/recommender_v1.rb +34 -0
  320. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  321. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  322. data/generated/google/apis/recommender_v1/service.rb +266 -0
  323. data/generated/google/apis/redis_v1.rb +1 -1
  324. data/generated/google/apis/redis_v1/classes.rb +1 -1
  325. data/generated/google/apis/redis_v1/service.rb +1 -1
  326. data/generated/google/apis/redis_v1beta1.rb +1 -1
  327. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  328. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  329. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  330. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  331. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  332. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  333. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  334. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  335. data/generated/google/apis/run_v1.rb +1 -1
  336. data/generated/google/apis/run_v1/classes.rb +16 -9
  337. data/generated/google/apis/run_v1/representations.rb +1 -0
  338. data/generated/google/apis/run_v1alpha1.rb +1 -1
  339. data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
  340. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  341. data/generated/google/apis/run_v1beta1.rb +1 -1
  342. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  343. data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
  344. data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
  345. data/generated/google/apis/sasportal_v1alpha1/service.rb +507 -0
  346. data/generated/google/apis/secretmanager_v1.rb +1 -1
  347. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  348. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  349. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  350. data/generated/google/apis/securitycenter_v1.rb +1 -1
  351. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  352. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  353. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  354. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  355. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  356. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  357. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  358. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  359. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  360. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  361. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  362. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  363. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  364. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  365. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
  366. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
  367. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  368. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
  369. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
  370. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  371. data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
  372. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  373. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  374. data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
  375. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  376. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  377. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  378. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  379. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  380. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  381. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  382. data/generated/google/apis/serviceusage_v1.rb +1 -1
  383. data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
  384. data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
  385. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  386. data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
  387. data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
  388. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  389. data/generated/google/apis/sheets_v4.rb +1 -1
  390. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  391. data/generated/google/apis/slides_v1.rb +1 -1
  392. data/generated/google/apis/slides_v1/classes.rb +4 -0
  393. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  394. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  395. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  396. data/generated/google/apis/spanner_v1.rb +1 -1
  397. data/generated/google/apis/spanner_v1/classes.rb +26 -22
  398. data/generated/google/apis/spanner_v1/service.rb +15 -8
  399. data/generated/google/apis/speech_v1.rb +1 -1
  400. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  401. data/generated/google/apis/sql_v1beta4.rb +1 -1
  402. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  403. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  404. data/generated/google/apis/storage_v1.rb +1 -1
  405. data/generated/google/apis/storage_v1/service.rb +2 -3
  406. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  407. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  408. data/generated/google/apis/testing_v1.rb +1 -1
  409. data/generated/google/apis/testing_v1/classes.rb +2 -1
  410. data/generated/google/apis/texttospeech_v1.rb +1 -1
  411. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  412. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  413. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  414. data/generated/google/apis/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
  415. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  416. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  417. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  418. data/generated/google/apis/videointelligence_v1.rb +1 -1
  419. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  420. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  421. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  422. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  423. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  424. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  425. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  426. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  427. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  428. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  429. data/generated/google/apis/vision_v1.rb +1 -1
  430. data/generated/google/apis/vision_v1/classes.rb +18 -0
  431. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  432. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  433. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  434. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  435. data/generated/google/apis/webfonts_v1.rb +5 -5
  436. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  437. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  438. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  439. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  440. data/generated/google/apis/youtube_v3.rb +1 -1
  441. data/generated/google/apis/youtube_v3/classes.rb +38 -0
  442. data/generated/google/apis/youtube_v3/representations.rb +27 -0
  443. data/generated/google/apis/youtube_v3/service.rb +32 -0
  444. data/lib/google/apis/core/api_command.rb +12 -7
  445. data/lib/google/apis/options.rb +5 -1
  446. data/lib/google/apis/version.rb +1 -1
  447. metadata +31 -11
  448. data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
  449. data/generated/google/apis/customsearch_v1/representations.rb +0 -372
  450. data/generated/google/apis/customsearch_v1/service.rb +0 -608
  451. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
  452. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/data-catalog/docs/
27
27
  module DatacatalogV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200510'
29
+ REVISION = '20200618'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -579,12 +579,13 @@ module Google
579
579
  class GoogleCloudDatacatalogV1beta1FieldTypeEnumType
580
580
  include Google::Apis::Core::Hashable
581
581
 
582
- # Required on create; optional on update. The set of allowed values for
583
- # this enum. This set must not be empty, the display names of the values in
584
- # this set must not be empty and the display names of the values must be
585
- # case-insensitively unique within this set. Currently, enum values can
586
- # only be added to the list of allowed values. Deletion and renaming of
587
- # enum values are not supported. Can have up to 500 allowed values.
582
+ # The set of allowed values for this enum. This set must not be empty, the
583
+ # display names of the values in this set must not be empty and the display
584
+ # names of the values must be case-insensitively unique within this set.
585
+ # The order of items in this list is preserved. This field can be used to
586
+ # create, remove and reorder enum values. In order to rename enum value use
587
+ # RenameTagTemplateFieldEnumValue method. Can have up to 500 allowed
588
+ # values.
588
589
  # Corresponds to the JSON property `allowedValues`
589
590
  # @return [Array<Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1FieldTypeEnumTypeEnumValue>]
590
591
  attr_accessor :allowed_values
@@ -653,10 +654,12 @@ module Google
653
654
  class GoogleCloudDatacatalogV1beta1GcsFilesetSpec
654
655
  include Google::Apis::Core::Hashable
655
656
 
656
- # Required. Patterns to identify a set of files in Google Cloud Storage. See [
657
- # Cloud
658
- # Storage documentation](/storage/docs/gsutil/addlhelp/WildcardNames) for
659
- # more information. Note that bucket wildcards are currently not supported.
657
+ # Required. Patterns to identify a set of files in Google Cloud Storage.
658
+ # See [Cloud Storage
659
+ # documentation](https://cloud.google.com/storage/docs/gsutil/addlhelp/
660
+ # WildcardNames)
661
+ # for more information. Note that bucket wildcards are currently not
662
+ # supported.
660
663
  # Examples of valid file_patterns:
661
664
  # * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir`
662
665
  # directory.
@@ -952,6 +955,27 @@ module Google
952
955
  end
953
956
  end
954
957
 
958
+ # Request message for
959
+ # RenameTagTemplateFieldEnumValue.
960
+ class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest
961
+ include Google::Apis::Core::Hashable
962
+
963
+ # Required. The new display name of the enum value. For example, `
964
+ # my_new_enum_value`.
965
+ # Corresponds to the JSON property `newEnumValueDisplayName`
966
+ # @return [String]
967
+ attr_accessor :new_enum_value_display_name
968
+
969
+ def initialize(**args)
970
+ update!(**args)
971
+ end
972
+
973
+ # Update properties of this object
974
+ def update!(**args)
975
+ @new_enum_value_display_name = args[:new_enum_value_display_name] if args.key?(:new_enum_value_display_name)
976
+ end
977
+ end
978
+
955
979
  # Request message for
956
980
  # RenameTagTemplateField.
957
981
  class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest
@@ -172,6 +172,12 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
175
181
  class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest
176
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
183
 
@@ -537,6 +543,13 @@ module Google
537
543
  end
538
544
  end
539
545
 
546
+ class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest
547
+ # @private
548
+ class Representation < Google::Apis::Core::JsonRepresentation
549
+ property :new_enum_value_display_name, as: 'newEnumValueDisplayName'
550
+ end
551
+ end
552
+
540
553
  class GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldRequest
541
554
  # @private
542
555
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1602,6 +1602,43 @@ module Google
1602
1602
  execute_or_queue_command(command, &block)
1603
1603
  end
1604
1604
 
1605
+ # Renames an enum value in a tag template. The enum values have to be unique
1606
+ # within one enum field. Thus, an enum value cannot be renamed with a name
1607
+ # used in any other enum value within the same enum field.
1608
+ # @param [String] name
1609
+ # Required. The name of the enum field value. Example:
1610
+ # * projects/`project_id`/locations/`location`/tagTemplates/`tag_template_id`/
1611
+ # fields/`tag_template_field_id`/enumValues/`enum_value_display_name`
1612
+ # @param [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest] google_cloud_datacatalog_v1beta1_rename_tag_template_field_enum_value_request_object
1613
+ # @param [String] fields
1614
+ # Selector specifying which fields to include in a partial response.
1615
+ # @param [String] quota_user
1616
+ # Available to use for quota purposes for server-side applications. Can be any
1617
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1618
+ # @param [Google::Apis::RequestOptions] options
1619
+ # Request-specific options
1620
+ #
1621
+ # @yield [result, err] Result & error if block supplied
1622
+ # @yieldparam result [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField] parsed result object
1623
+ # @yieldparam err [StandardError] error object if request failed
1624
+ #
1625
+ # @return [Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField]
1626
+ #
1627
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1628
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1629
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1630
+ def rename_project_location_tag_template_field_enum_value(name, google_cloud_datacatalog_v1beta1_rename_tag_template_field_enum_value_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1631
+ command = make_simple_command(:post, 'v1beta1/{+name}:rename', options)
1632
+ command.request_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1RenameTagTemplateFieldEnumValueRequest::Representation
1633
+ command.request_object = google_cloud_datacatalog_v1beta1_rename_tag_template_field_enum_value_request_object
1634
+ command.response_representation = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField::Representation
1635
+ command.response_class = Google::Apis::DatacatalogV1beta1::GoogleCloudDatacatalogV1beta1TagTemplateField
1636
+ command.params['name'] = name unless name.nil?
1637
+ command.query['fields'] = fields unless fields.nil?
1638
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1639
+ execute_or_queue_command(command, &block)
1640
+ end
1641
+
1605
1642
  # Creates a taxonomy in the specified project.
1606
1643
  # @param [String] parent
1607
1644
  # Required. Resource name of the project that the taxonomy will belong to.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataflow
26
26
  module DataflowV1b3
27
27
  VERSION = 'V1b3'
28
- REVISION = '20200507'
28
+ REVISION = '20200619'
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'
@@ -2376,6 +2376,13 @@ module Google
2376
2376
  # @return [String]
2377
2377
  attr_accessor :job_name
2378
2378
 
2379
+ # Launch options for this flex template job. This is a common set of options
2380
+ # across languages and templates. This should not be used to pass job
2381
+ # parameters.
2382
+ # Corresponds to the JSON property `launchOptions`
2383
+ # @return [Hash<String,String>]
2384
+ attr_accessor :launch_options
2385
+
2379
2386
  # The parameters for FlexTemplate.
2380
2387
  # Ex. `"num_workers":"5"`
2381
2388
  # Corresponds to the JSON property `parameters`
@@ -2391,6 +2398,7 @@ module Google
2391
2398
  @container_spec = args[:container_spec] if args.key?(:container_spec)
2392
2399
  @container_spec_gcs_path = args[:container_spec_gcs_path] if args.key?(:container_spec_gcs_path)
2393
2400
  @job_name = args[:job_name] if args.key?(:job_name)
2401
+ @launch_options = args[:launch_options] if args.key?(:launch_options)
2394
2402
  @parameters = args[:parameters] if args.key?(:parameters)
2395
2403
  end
2396
2404
  end
@@ -5887,6 +5895,16 @@ module Google
5887
5895
  class WorkItemServiceState
5888
5896
  include Google::Apis::Core::Hashable
5889
5897
 
5898
+ # The `Status` type defines a logical error model that is suitable for
5899
+ # different programming environments, including REST APIs and RPC APIs. It is
5900
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
5901
+ # three pieces of data: error code, error message, and error details.
5902
+ # You can find out more about this error model and how to work with it in the
5903
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
5904
+ # Corresponds to the JSON property `completeWorkStatus`
5905
+ # @return [Google::Apis::DataflowV1b3::Status]
5906
+ attr_accessor :complete_work_status
5907
+
5890
5908
  # Other data returned by the service, specific to the particular
5891
5909
  # worker harness.
5892
5910
  # Corresponds to the JSON property `harnessData`
@@ -5948,6 +5966,7 @@ module Google
5948
5966
 
5949
5967
  # Update properties of this object
5950
5968
  def update!(**args)
5969
+ @complete_work_status = args[:complete_work_status] if args.key?(:complete_work_status)
5951
5970
  @harness_data = args[:harness_data] if args.key?(:harness_data)
5952
5971
  @hot_key_detection = args[:hot_key_detection] if args.key?(:hot_key_detection)
5953
5972
  @lease_expire_time = args[:lease_expire_time] if args.key?(:lease_expire_time)
@@ -1629,6 +1629,7 @@ module Google
1629
1629
 
1630
1630
  property :container_spec_gcs_path, as: 'containerSpecGcsPath'
1631
1631
  property :job_name, as: 'jobName'
1632
+ hash :launch_options, as: 'launchOptions'
1632
1633
  hash :parameters, as: 'parameters'
1633
1634
  end
1634
1635
  end
@@ -2596,6 +2597,8 @@ module Google
2596
2597
  class WorkItemServiceState
2597
2598
  # @private
2598
2599
  class Representation < Google::Apis::Core::JsonRepresentation
2600
+ property :complete_work_status, as: 'completeWorkStatus', class: Google::Apis::DataflowV1b3::Status, decorator: Google::Apis::DataflowV1b3::Status::Representation
2601
+
2599
2602
  hash :harness_data, as: 'harnessData'
2600
2603
  property :hot_key_detection, as: 'hotKeyDetection', class: Google::Apis::DataflowV1b3::HotKeyDetection, decorator: Google::Apis::DataflowV1b3::HotKeyDetection::Representation
2601
2604
 
@@ -34,7 +34,7 @@ module Google
34
34
  # @see https://cloud.google.com/data-fusion/docs
35
35
  module DatafusionV1beta1
36
36
  VERSION = 'V1beta1'
37
- REVISION = '20200311'
37
+ REVISION = '20200609'
38
38
 
39
39
  # View and manage your data across Google Cloud Platform services
40
40
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -53,7 +53,7 @@ module Google
53
53
  # `
54
54
  # "audit_configs": [
55
55
  # `
56
- # "service": "allServices"
56
+ # "service": "allServices",
57
57
  # "audit_log_configs": [
58
58
  # `
59
59
  # "log_type": "DATA_READ",
@@ -62,18 +62,18 @@ module Google
62
62
  # ]
63
63
  # `,
64
64
  # `
65
- # "log_type": "DATA_WRITE",
65
+ # "log_type": "DATA_WRITE"
66
66
  # `,
67
67
  # `
68
- # "log_type": "ADMIN_READ",
68
+ # "log_type": "ADMIN_READ"
69
69
  # `
70
70
  # ]
71
71
  # `,
72
72
  # `
73
- # "service": "sampleservice.googleapis.com"
73
+ # "service": "sampleservice.googleapis.com",
74
74
  # "audit_log_configs": [
75
75
  # `
76
- # "log_type": "DATA_READ",
76
+ # "log_type": "DATA_READ"
77
77
  # `,
78
78
  # `
79
79
  # "log_type": "DATA_WRITE",
@@ -125,7 +125,7 @@ module Google
125
125
  # ]
126
126
  # `,
127
127
  # `
128
- # "log_type": "DATA_WRITE",
128
+ # "log_type": "DATA_WRITE"
129
129
  # `
130
130
  # ]
131
131
  # `
@@ -361,7 +361,7 @@ module Google
361
361
  # @return [String]
362
362
  attr_accessor :create_time
363
363
 
364
- # Optional. An optional description of this instance.
364
+ # A description of this instance.
365
365
  # Corresponds to the JSON property `description`
366
366
  # @return [String]
367
367
  attr_accessor :description
@@ -499,6 +499,32 @@ module Google
499
499
  end
500
500
  end
501
501
 
502
+ # Response message for the list available versions request.
503
+ class ListAvailableVersionsResponse
504
+ include Google::Apis::Core::Hashable
505
+
506
+ # Represents a list of versions that are supported.
507
+ # Corresponds to the JSON property `availableVersions`
508
+ # @return [Array<Google::Apis::DatafusionV1beta1::Version>]
509
+ attr_accessor :available_versions
510
+
511
+ # Token to retrieve the next page of results or empty if there are no more
512
+ # results in the list.
513
+ # Corresponds to the JSON property `nextPageToken`
514
+ # @return [String]
515
+ attr_accessor :next_page_token
516
+
517
+ def initialize(**args)
518
+ update!(**args)
519
+ end
520
+
521
+ # Update properties of this object
522
+ def update!(**args)
523
+ @available_versions = args[:available_versions] if args.key?(:available_versions)
524
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
525
+ end
526
+ end
527
+
502
528
  # Response message for the list instance request.
503
529
  class ListInstancesResponse
504
530
  include Google::Apis::Core::Hashable
@@ -793,10 +819,13 @@ module Google
793
819
  # Google groups, and domains (such as G Suite). A `role` is a named list of
794
820
  # permissions; each `role` can be an IAM predefined role or a user-created
795
821
  # custom role.
796
- # Optionally, a `binding` can specify a `condition`, which is a logical
797
- # expression that allows access to a resource only if the expression evaluates
798
- # to `true`. A condition can add constraints based on attributes of the
799
- # request, the resource, or both.
822
+ # For some types of Google Cloud resources, a `binding` can also specify a
823
+ # `condition`, which is a logical expression that allows access to a resource
824
+ # only if the expression evaluates to `true`. A condition can add constraints
825
+ # based on attributes of the request, the resource, or both. To learn which
826
+ # resources support conditions in their IAM policies, see the
827
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
828
+ # policies).
800
829
  # **JSON example:**
801
830
  # `
802
831
  # "bindings": [
@@ -811,7 +840,9 @@ module Google
811
840
  # `,
812
841
  # `
813
842
  # "role": "roles/resourcemanager.organizationViewer",
814
- # "members": ["user:eve@example.com"],
843
+ # "members": [
844
+ # "user:eve@example.com"
845
+ # ],
815
846
  # "condition": `
816
847
  # "title": "expirable access",
817
848
  # "description": "Does not grant access after Sep 2020",
@@ -889,6 +920,9 @@ module Google
889
920
  # the conditions in the version `3` policy are lost.
890
921
  # If a policy does not include any conditions, operations on that policy may
891
922
  # specify any valid version or leave the field unset.
923
+ # To learn which resources support conditions in their IAM policies, see the
924
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
925
+ # policies).
892
926
  # Corresponds to the JSON property `version`
893
927
  # @return [Fixnum]
894
928
  attr_accessor :version
@@ -930,10 +964,13 @@ module Google
930
964
  # Google groups, and domains (such as G Suite). A `role` is a named list of
931
965
  # permissions; each `role` can be an IAM predefined role or a user-created
932
966
  # custom role.
933
- # Optionally, a `binding` can specify a `condition`, which is a logical
934
- # expression that allows access to a resource only if the expression evaluates
935
- # to `true`. A condition can add constraints based on attributes of the
936
- # request, the resource, or both.
967
+ # For some types of Google Cloud resources, a `binding` can also specify a
968
+ # `condition`, which is a logical expression that allows access to a resource
969
+ # only if the expression evaluates to `true`. A condition can add constraints
970
+ # based on attributes of the request, the resource, or both. To learn which
971
+ # resources support conditions in their IAM policies, see the
972
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
973
+ # policies).
937
974
  # **JSON example:**
938
975
  # `
939
976
  # "bindings": [
@@ -948,7 +985,9 @@ module Google
948
985
  # `,
949
986
  # `
950
987
  # "role": "roles/resourcemanager.organizationViewer",
951
- # "members": ["user:eve@example.com"],
988
+ # "members": [
989
+ # "user:eve@example.com"
990
+ # ],
952
991
  # "condition": `
953
992
  # "title": "expirable access",
954
993
  # "description": "Does not grant access after Sep 2020",
@@ -986,8 +1025,7 @@ module Google
986
1025
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
987
1026
  # the fields in the mask will be modified. If no mask is provided, the
988
1027
  # following default mask is used:
989
- # paths: "bindings, etag"
990
- # This field is only used by Cloud IAM.
1028
+ # `paths: "bindings, etag"`
991
1029
  # Corresponds to the JSON property `updateMask`
992
1030
  # @return [String]
993
1031
  attr_accessor :update_mask
@@ -1102,6 +1140,12 @@ module Google
1102
1140
  class Version
1103
1141
  include Google::Apis::Core::Hashable
1104
1142
 
1143
+ # Whether this is currently the default version for Cloud Data Fusion
1144
+ # Corresponds to the JSON property `defaultVersion`
1145
+ # @return [Boolean]
1146
+ attr_accessor :default_version
1147
+ alias_method :default_version?, :default_version
1148
+
1105
1149
  # The version number of the Data Fusion instance, such as '6.0.1.0'.
1106
1150
  # Corresponds to the JSON property `versionNumber`
1107
1151
  # @return [String]
@@ -1113,6 +1157,7 @@ module Google
1113
1157
 
1114
1158
  # Update properties of this object
1115
1159
  def update!(**args)
1160
+ @default_version = args[:default_version] if args.key?(:default_version)
1116
1161
  @version_number = args[:version_number] if args.key?(:version_number)
1117
1162
  end
1118
1163
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class ListAvailableVersionsResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class ListInstancesResponse
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -247,6 +253,15 @@ module Google
247
253
  end
248
254
  end
249
255
 
256
+ class ListAvailableVersionsResponse
257
+ # @private
258
+ class Representation < Google::Apis::Core::JsonRepresentation
259
+ collection :available_versions, as: 'availableVersions', class: Google::Apis::DatafusionV1beta1::Version, decorator: Google::Apis::DatafusionV1beta1::Version::Representation
260
+
261
+ property :next_page_token, as: 'nextPageToken'
262
+ end
263
+ end
264
+
250
265
  class ListInstancesResponse
251
266
  # @private
252
267
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -378,6 +393,7 @@ module Google
378
393
  class Version
379
394
  # @private
380
395
  class Representation < Google::Apis::Core::JsonRepresentation
396
+ property :default_version, as: 'defaultVersion'
381
397
  property :version_number, as: 'versionNumber'
382
398
  end
383
399
  end
@@ -241,6 +241,9 @@ module Google
241
241
  # Requests for policies with any conditional bindings must specify version 3.
242
242
  # Policies without any conditional bindings may specify any valid value or
243
243
  # leave the field unset.
244
+ # To learn which resources support conditions in their IAM policies, see the
245
+ # [IAM
246
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
244
247
  # @param [String] fields
245
248
  # Selector specifying which fields to include in a partial response.
246
249
  # @param [String] quota_user
@@ -394,7 +397,7 @@ module Google
394
397
 
395
398
  # Sets the access control policy on the specified resource. Replaces any
396
399
  # existing policy.
397
- # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
400
+ # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
398
401
  # @param [String] resource
399
402
  # REQUIRED: The resource for which the policy is being specified.
400
403
  # See the operation documentation for the appropriate value for this field.
@@ -430,7 +433,7 @@ module Google
430
433
 
431
434
  # Returns permissions that a caller has on the specified resource.
432
435
  # If the resource does not exist, this will return an empty set of
433
- # permissions, not a NOT_FOUND error.
436
+ # permissions, not a `NOT_FOUND` error.
434
437
  # Note: This operation is designed to be used for building permission-aware
435
438
  # UIs and command-line tools, not for authorization checking. This operation
436
439
  # may "fail open" without warning.
@@ -657,6 +660,50 @@ module Google
657
660
  command.query['quotaUser'] = quota_user unless quota_user.nil?
658
661
  execute_or_queue_command(command, &block)
659
662
  end
663
+
664
+ # Lists possible versions for Data Fusion instances in the specified project
665
+ # and location.
666
+ # @param [String] parent
667
+ # Required. The project and location for which to retrieve instance information
668
+ # in the format projects/`project`/locations/`location`.
669
+ # @param [Boolean] latest_patch_only
670
+ # Whether or not to return the latest patch of every available minor version.
671
+ # If true, only the latest patch will be returned. Ex. if allowed versions is
672
+ # [6.1.1, 6.1.2, 6.2.0] then response will be [6.1.2, 6.2.0]
673
+ # @param [Fixnum] page_size
674
+ # The maximum number of items to return.
675
+ # @param [String] page_token
676
+ # The next_page_token value to use if there are additional
677
+ # results to retrieve for this list request.
678
+ # @param [String] fields
679
+ # Selector specifying which fields to include in a partial response.
680
+ # @param [String] quota_user
681
+ # Available to use for quota purposes for server-side applications. Can be any
682
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
683
+ # @param [Google::Apis::RequestOptions] options
684
+ # Request-specific options
685
+ #
686
+ # @yield [result, err] Result & error if block supplied
687
+ # @yieldparam result [Google::Apis::DatafusionV1beta1::ListAvailableVersionsResponse] parsed result object
688
+ # @yieldparam err [StandardError] error object if request failed
689
+ #
690
+ # @return [Google::Apis::DatafusionV1beta1::ListAvailableVersionsResponse]
691
+ #
692
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
693
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
694
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
695
+ def list_project_location_versions(parent, latest_patch_only: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
696
+ command = make_simple_command(:get, 'v1beta1/{+parent}/versions', options)
697
+ command.response_representation = Google::Apis::DatafusionV1beta1::ListAvailableVersionsResponse::Representation
698
+ command.response_class = Google::Apis::DatafusionV1beta1::ListAvailableVersionsResponse
699
+ command.params['parent'] = parent unless parent.nil?
700
+ command.query['latestPatchOnly'] = latest_patch_only unless latest_patch_only.nil?
701
+ command.query['pageSize'] = page_size unless page_size.nil?
702
+ command.query['pageToken'] = page_token unless page_token.nil?
703
+ command.query['fields'] = fields unless fields.nil?
704
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
705
+ execute_or_queue_command(command, &block)
706
+ end
660
707
 
661
708
  protected
662
709