google-api-client 0.28.4 → 0.28.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (426) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/build.sh +3 -5
  3. data/.kokoro/continuous/linux.cfg +1 -1
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/CHANGELOG.md +147 -0
  6. data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
  7. data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
  8. data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
  9. data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
  10. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +46 -30
  12. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2 -2
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
  17. data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
  18. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +3 -2
  20. data/generated/google/apis/alertcenter_v1beta1/service.rb +7 -7
  21. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  22. data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
  23. data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
  24. data/generated/google/apis/analyticsreporting_v4/service.rb +30 -0
  25. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +10 -10
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +8 -0
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
  30. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  31. data/generated/google/apis/androidmanagement_v1/classes.rb +59 -2
  32. data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
  33. data/generated/google/apis/appengine_v1.rb +1 -1
  34. data/generated/google/apis/appengine_v1/classes.rb +43 -98
  35. data/generated/google/apis/appengine_v1/representations.rb +17 -35
  36. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  37. data/generated/google/apis/appengine_v1alpha/classes.rb +0 -97
  38. data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
  39. data/generated/google/apis/appengine_v1beta.rb +1 -1
  40. data/generated/google/apis/appengine_v1beta/classes.rb +3 -99
  41. data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
  42. data/generated/google/apis/bigquery_v2.rb +1 -1
  43. data/generated/google/apis/bigquery_v2/classes.rb +244 -173
  44. data/generated/google/apis/bigquery_v2/representations.rb +79 -58
  45. data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
  46. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +10 -10
  47. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +38 -6
  48. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  49. data/generated/google/apis/bigtableadmin_v2/classes.rb +4 -4
  50. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  51. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
  52. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
  53. data/generated/google/apis/cloudasset_v1.rb +34 -0
  54. data/generated/google/apis/cloudasset_v1/classes.rb +805 -0
  55. data/generated/google/apis/cloudasset_v1/representations.rb +263 -0
  56. data/generated/google/apis/cloudasset_v1/service.rb +190 -0
  57. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  58. data/generated/google/apis/cloudasset_v1beta1/classes.rb +20 -18
  59. data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
  60. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  61. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  62. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1/classes.rb +149 -10
  64. data/generated/google/apis/cloudbuild_v1/representations.rb +65 -0
  65. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -0
  67. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  68. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +1 -1
  69. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  70. data/generated/google/apis/cloudfunctions_v1/classes.rb +11 -4
  71. data/generated/google/apis/cloudfunctions_v1/service.rb +8 -2
  72. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  73. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -1
  74. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +6 -0
  75. data/generated/google/apis/cloudidentity_v1.rb +7 -1
  76. data/generated/google/apis/cloudidentity_v1/classes.rb +13 -13
  77. data/generated/google/apis/cloudidentity_v1/service.rb +6 -15
  78. data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
  79. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +10 -10
  80. data/generated/google/apis/cloudidentity_v1beta1/service.rb +4 -10
  81. data/generated/google/apis/cloudiot_v1.rb +1 -1
  82. data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
  83. data/generated/google/apis/cloudkms_v1.rb +1 -1
  84. data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
  85. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
  86. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
  87. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
  88. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
  89. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
  90. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
  91. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
  92. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
  93. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  94. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +17 -16
  95. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  96. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
  97. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  98. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +14 -15
  99. data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  101. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +14 -15
  102. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
  103. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  104. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +60 -44
  105. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +5 -2
  106. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  107. data/generated/google/apis/cloudsearch_v1/classes.rb +220 -48
  108. data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
  109. data/generated/google/apis/cloudsearch_v1/service.rb +15 -13
  110. data/generated/google/apis/cloudshell_v1.rb +1 -1
  111. data/generated/google/apis/cloudshell_v1/classes.rb +10 -10
  112. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  113. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +17 -10
  114. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
  115. data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
  116. data/generated/google/apis/cloudtasks_v2/classes.rb +1432 -0
  117. data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
  118. data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
  119. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  120. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +119 -88
  121. data/generated/google/apis/cloudtasks_v2beta2/service.rb +3 -2
  122. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  123. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +122 -90
  124. data/generated/google/apis/cloudtasks_v2beta3/service.rb +3 -2
  125. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  126. data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
  127. data/generated/google/apis/composer_v1.rb +1 -1
  128. data/generated/google/apis/composer_v1/classes.rb +21 -15
  129. data/generated/google/apis/composer_v1beta1.rb +1 -1
  130. data/generated/google/apis/composer_v1beta1/classes.rb +165 -29
  131. data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
  132. data/generated/google/apis/compute_alpha.rb +1 -1
  133. data/generated/google/apis/compute_alpha/classes.rb +7147 -4656
  134. data/generated/google/apis/compute_alpha/representations.rb +1205 -236
  135. data/generated/google/apis/compute_alpha/service.rb +4338 -3274
  136. data/generated/google/apis/compute_beta.rb +1 -1
  137. data/generated/google/apis/compute_beta/classes.rb +5974 -4567
  138. data/generated/google/apis/compute_beta/representations.rb +846 -283
  139. data/generated/google/apis/compute_beta/service.rb +4274 -3153
  140. data/generated/google/apis/compute_v1.rb +1 -1
  141. data/generated/google/apis/compute_v1/classes.rb +325 -50
  142. data/generated/google/apis/compute_v1/representations.rb +104 -1
  143. data/generated/google/apis/compute_v1/service.rb +153 -2
  144. data/generated/google/apis/container_v1.rb +1 -1
  145. data/generated/google/apis/container_v1/classes.rb +1 -0
  146. data/generated/google/apis/container_v1/service.rb +4 -4
  147. data/generated/google/apis/container_v1beta1.rb +1 -1
  148. data/generated/google/apis/container_v1beta1/classes.rb +7 -0
  149. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  150. data/generated/google/apis/container_v1beta1/service.rb +4 -4
  151. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  152. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +25 -17
  153. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  154. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  155. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +137 -12
  156. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +33 -0
  157. data/generated/google/apis/content_v2.rb +1 -1
  158. data/generated/google/apis/content_v2/classes.rb +204 -93
  159. data/generated/google/apis/content_v2/representations.rb +49 -0
  160. data/generated/google/apis/content_v2/service.rb +82 -41
  161. data/generated/google/apis/content_v2_1.rb +1 -1
  162. data/generated/google/apis/content_v2_1/classes.rb +360 -209
  163. data/generated/google/apis/content_v2_1/representations.rb +129 -56
  164. data/generated/google/apis/content_v2_1/service.rb +97 -10
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/dataflow_v1b3/classes.rb +51 -19
  167. data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
  168. data/generated/google/apis/dataflow_v1b3/service.rb +133 -25
  169. data/generated/google/apis/dataproc_v1.rb +1 -1
  170. data/generated/google/apis/dataproc_v1/classes.rb +20 -15
  171. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  172. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  173. data/generated/google/apis/dataproc_v1beta2/classes.rb +516 -45
  174. data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
  175. data/generated/google/apis/dataproc_v1beta2/service.rb +575 -6
  176. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
  178. data/generated/google/apis/dialogflow_v2.rb +1 -1
  179. data/generated/google/apis/dialogflow_v2/classes.rb +126 -77
  180. data/generated/google/apis/dialogflow_v2/service.rb +40 -24
  181. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  182. data/generated/google/apis/dialogflow_v2beta1/classes.rb +126 -77
  183. data/generated/google/apis/dialogflow_v2beta1/service.rb +40 -24
  184. data/generated/google/apis/dlp_v2.rb +1 -1
  185. data/generated/google/apis/dlp_v2/classes.rb +44 -41
  186. data/generated/google/apis/dlp_v2/representations.rb +12 -0
  187. data/generated/google/apis/dlp_v2/service.rb +35 -0
  188. data/generated/google/apis/dns_v1.rb +1 -1
  189. data/generated/google/apis/dns_v1/classes.rb +163 -190
  190. data/generated/google/apis/dns_v1/representations.rb +34 -0
  191. data/generated/google/apis/dns_v1/service.rb +15 -110
  192. data/generated/google/apis/dns_v1beta2.rb +1 -1
  193. data/generated/google/apis/dns_v1beta2/classes.rb +117 -248
  194. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  195. data/generated/google/apis/dns_v2beta1.rb +1 -1
  196. data/generated/google/apis/dns_v2beta1/classes.rb +163 -190
  197. data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
  198. data/generated/google/apis/dns_v2beta1/service.rb +15 -110
  199. data/generated/google/apis/docs_v1.rb +1 -1
  200. data/generated/google/apis/docs_v1/classes.rb +118 -47
  201. data/generated/google/apis/docs_v1/representations.rb +39 -0
  202. data/generated/google/apis/drive_v2.rb +1 -1
  203. data/generated/google/apis/drive_v2/service.rb +3 -1
  204. data/generated/google/apis/drive_v3.rb +1 -1
  205. data/generated/google/apis/drive_v3/service.rb +3 -2
  206. data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
  207. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
  208. data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
  209. data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
  210. data/generated/google/apis/file_v1.rb +1 -1
  211. data/generated/google/apis/file_v1/classes.rb +203 -10
  212. data/generated/google/apis/file_v1/representations.rb +70 -0
  213. data/generated/google/apis/file_v1/service.rb +190 -0
  214. data/generated/google/apis/file_v1beta1.rb +1 -1
  215. data/generated/google/apis/file_v1beta1/classes.rb +10 -10
  216. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  217. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +13 -10
  218. data/generated/google/apis/firebaserules_v1.rb +1 -1
  219. data/generated/google/apis/firebaserules_v1/service.rb +1 -1
  220. data/generated/google/apis/fitness_v1.rb +1 -1
  221. data/generated/google/apis/fitness_v1/classes.rb +3 -0
  222. data/generated/google/apis/fitness_v1/service.rb +1 -45
  223. data/generated/google/apis/games_management_v1management.rb +2 -2
  224. data/generated/google/apis/games_v1.rb +2 -2
  225. data/generated/google/apis/genomics_v1.rb +1 -10
  226. data/generated/google/apis/genomics_v1/classes.rb +190 -3321
  227. data/generated/google/apis/genomics_v1/representations.rb +128 -1265
  228. data/generated/google/apis/genomics_v1/service.rb +75 -1982
  229. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  230. data/generated/google/apis/genomics_v1alpha2/classes.rb +11 -51
  231. data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
  232. data/generated/google/apis/genomics_v1alpha2/service.rb +1 -2
  233. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  234. data/generated/google/apis/genomics_v2alpha1/classes.rb +19 -58
  235. data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -26
  236. data/generated/google/apis/genomics_v2alpha1/service.rb +1 -2
  237. data/generated/google/apis/groupssettings_v1.rb +2 -2
  238. data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
  239. data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
  240. data/generated/google/apis/groupssettings_v1/service.rb +1 -1
  241. data/generated/google/apis/iam_v1.rb +1 -1
  242. data/generated/google/apis/iam_v1/classes.rb +123 -1
  243. data/generated/google/apis/iam_v1/representations.rb +67 -0
  244. data/generated/google/apis/iam_v1/service.rb +198 -5
  245. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  246. data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
  247. data/generated/google/apis/iamcredentials_v1/service.rb +10 -5
  248. data/generated/google/apis/iap_v1.rb +1 -1
  249. data/generated/google/apis/iap_v1/classes.rb +1 -1
  250. data/generated/google/apis/iap_v1beta1.rb +1 -1
  251. data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
  252. data/generated/google/apis/jobs_v2.rb +1 -1
  253. data/generated/google/apis/jobs_v2/classes.rb +7 -9
  254. data/generated/google/apis/jobs_v3.rb +1 -1
  255. data/generated/google/apis/jobs_v3/classes.rb +1 -1
  256. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  257. data/generated/google/apis/jobs_v3p1beta1/classes.rb +11 -11
  258. data/generated/google/apis/language_v1.rb +1 -1
  259. data/generated/google/apis/language_v1/classes.rb +5 -5
  260. data/generated/google/apis/language_v1beta1.rb +1 -1
  261. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  262. data/generated/google/apis/language_v1beta2.rb +1 -1
  263. data/generated/google/apis/language_v1beta2/classes.rb +5 -5
  264. data/generated/google/apis/logging_v2.rb +1 -1
  265. data/generated/google/apis/logging_v2/classes.rb +2 -3
  266. data/generated/google/apis/logging_v2beta1.rb +1 -1
  267. data/generated/google/apis/logging_v2beta1/classes.rb +2 -3
  268. data/generated/google/apis/ml_v1.rb +1 -1
  269. data/generated/google/apis/ml_v1/classes.rb +158 -36
  270. data/generated/google/apis/ml_v1/representations.rb +23 -2
  271. data/generated/google/apis/monitoring_v3.rb +1 -1
  272. data/generated/google/apis/monitoring_v3/classes.rb +8 -7
  273. data/generated/google/apis/monitoring_v3/service.rb +6 -1
  274. data/generated/google/apis/oauth2_v1.rb +2 -5
  275. data/generated/google/apis/oauth2_v1/classes.rb +0 -124
  276. data/generated/google/apis/oauth2_v1/representations.rb +0 -62
  277. data/generated/google/apis/oauth2_v1/service.rb +0 -159
  278. data/generated/google/apis/oauth2_v2.rb +2 -5
  279. data/generated/google/apis/people_v1.rb +3 -3
  280. data/generated/google/apis/people_v1/classes.rb +19 -18
  281. data/generated/google/apis/people_v1/service.rb +4 -0
  282. data/generated/google/apis/plus_domains_v1.rb +3 -3
  283. data/generated/google/apis/plus_v1.rb +3 -3
  284. data/generated/google/apis/poly_v1.rb +1 -1
  285. data/generated/google/apis/poly_v1/classes.rb +5 -4
  286. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  287. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
  288. data/generated/google/apis/pubsub_v1.rb +1 -1
  289. data/generated/google/apis/pubsub_v1/classes.rb +53 -38
  290. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  291. data/generated/google/apis/pubsub_v1/service.rb +6 -29
  292. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  293. data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
  294. data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
  295. data/generated/google/apis/redis_v1.rb +1 -1
  296. data/generated/google/apis/redis_v1beta1.rb +1 -1
  297. data/generated/google/apis/redis_v1beta1/classes.rb +0 -10
  298. data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
  299. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  300. data/generated/google/apis/remotebuildexecution_v1/classes.rb +42 -28
  301. data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
  302. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  303. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +42 -28
  304. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
  305. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  306. data/generated/google/apis/remotebuildexecution_v2/classes.rb +52 -38
  307. data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
  308. data/generated/google/apis/reseller_v1.rb +1 -1
  309. data/generated/google/apis/reseller_v1/classes.rb +32 -39
  310. data/generated/google/apis/reseller_v1/service.rb +1 -1
  311. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  312. data/generated/google/apis/runtimeconfig_v1/classes.rb +10 -10
  313. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  314. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +25 -24
  315. data/generated/google/apis/script_v1.rb +1 -1
  316. data/generated/google/apis/script_v1/classes.rb +0 -6
  317. data/generated/google/apis/script_v1/representations.rb +0 -1
  318. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  319. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +73 -151
  320. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +48 -50
  321. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  322. data/generated/google/apis/servicecontrol_v1/classes.rb +108 -24
  323. data/generated/google/apis/servicecontrol_v1/representations.rb +45 -0
  324. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  325. data/generated/google/apis/servicemanagement_v1/classes.rb +35 -113
  326. data/generated/google/apis/servicemanagement_v1/service.rb +6 -3
  327. data/generated/google/apis/servicenetworking_v1.rb +38 -0
  328. data/generated/google/apis/servicenetworking_v1/classes.rb +3591 -0
  329. data/generated/google/apis/servicenetworking_v1/representations.rb +1082 -0
  330. data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
  331. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  332. data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -110
  333. data/generated/google/apis/serviceusage_v1.rb +1 -1
  334. data/generated/google/apis/serviceusage_v1/classes.rb +33 -150
  335. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  336. data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -190
  337. data/generated/google/apis/sheets_v4.rb +1 -1
  338. data/generated/google/apis/sheets_v4/classes.rb +115 -26
  339. data/generated/google/apis/slides_v1.rb +1 -1
  340. data/generated/google/apis/slides_v1/classes.rb +2 -2
  341. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  342. data/generated/google/apis/sourcerepo_v1/classes.rb +1 -1
  343. data/generated/google/apis/spanner_v1.rb +1 -1
  344. data/generated/google/apis/spanner_v1/classes.rb +171 -0
  345. data/generated/google/apis/spanner_v1/representations.rb +49 -0
  346. data/generated/google/apis/spanner_v1/service.rb +51 -1
  347. data/generated/google/apis/speech_v1.rb +1 -1
  348. data/generated/google/apis/speech_v1/classes.rb +107 -10
  349. data/generated/google/apis/speech_v1/representations.rb +24 -0
  350. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  351. data/generated/google/apis/speech_v1p1beta1/classes.rb +16 -10
  352. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  353. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  354. data/generated/google/apis/sqladmin_v1beta4/classes.rb +11 -15
  355. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  356. data/generated/google/apis/storage_v1.rb +1 -1
  357. data/generated/google/apis/storage_v1/classes.rb +57 -4
  358. data/generated/google/apis/storage_v1/representations.rb +19 -1
  359. data/generated/google/apis/storagetransfer_v1.rb +2 -2
  360. data/generated/google/apis/storagetransfer_v1/classes.rb +28 -21
  361. data/generated/google/apis/storagetransfer_v1/service.rb +4 -4
  362. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  363. data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -26
  364. data/generated/google/apis/streetviewpublish_v1/service.rb +27 -31
  365. data/generated/google/apis/tagmanager_v1.rb +1 -1
  366. data/generated/google/apis/tagmanager_v1/service.rb +0 -46
  367. data/generated/google/apis/tagmanager_v2.rb +1 -1
  368. data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
  369. data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
  370. data/generated/google/apis/tagmanager_v2/service.rb +219 -181
  371. data/generated/google/apis/tasks_v1.rb +2 -2
  372. data/generated/google/apis/tasks_v1/service.rb +5 -5
  373. data/generated/google/apis/testing_v1.rb +1 -1
  374. data/generated/google/apis/testing_v1/classes.rb +13 -13
  375. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  376. data/generated/google/apis/toolresults_v1beta3/classes.rb +92 -0
  377. data/generated/google/apis/toolresults_v1beta3/representations.rb +47 -0
  378. data/generated/google/apis/tpu_v1.rb +1 -1
  379. data/generated/google/apis/tpu_v1/classes.rb +10 -10
  380. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  381. data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -10
  382. data/generated/google/apis/vault_v1.rb +1 -1
  383. data/generated/google/apis/vault_v1/classes.rb +7 -0
  384. data/generated/google/apis/vault_v1/representations.rb +1 -0
  385. data/generated/google/apis/videointelligence_v1.rb +3 -2
  386. data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
  387. data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
  388. data/generated/google/apis/videointelligence_v1/service.rb +2 -1
  389. data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
  390. data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
  391. data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
  392. data/generated/google/apis/videointelligence_v1beta2/service.rb +2 -1
  393. data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
  394. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
  395. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
  396. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +2 -1
  397. data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
  398. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
  399. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
  400. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +2 -1
  401. data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
  402. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
  403. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
  404. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
  405. data/generated/google/apis/vision_v1.rb +1 -1
  406. data/generated/google/apis/vision_v1/classes.rb +1977 -40
  407. data/generated/google/apis/vision_v1/representations.rb +833 -0
  408. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  409. data/generated/google/apis/vision_v1p1beta1/classes.rb +1972 -35
  410. data/generated/google/apis/vision_v1p1beta1/representations.rb +833 -0
  411. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  412. data/generated/google/apis/vision_v1p2beta1/classes.rb +1972 -35
  413. data/generated/google/apis/vision_v1p2beta1/representations.rb +833 -0
  414. data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
  415. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
  416. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
  417. data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
  418. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  419. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  420. data/lib/google/apis/core/http_command.rb +1 -0
  421. data/lib/google/apis/generator/model.rb +1 -1
  422. data/lib/google/apis/version.rb +1 -1
  423. metadata +39 -8
  424. data/generated/google/apis/partners_v2/classes.rb +0 -2260
  425. data/generated/google/apis/partners_v2/representations.rb +0 -905
  426. data/generated/google/apis/partners_v2/service.rb +0 -1077
@@ -37,9 +37,11 @@ module Google
37
37
  property :archive_only, as: 'archiveOnly'
38
38
  property :custom_footer_text, as: 'customFooterText'
39
39
  property :custom_reply_to, as: 'customReplyTo'
40
+ property :custom_roles_enabled_for_settings_to_be_merged, as: 'customRolesEnabledForSettingsToBeMerged'
40
41
  property :default_message_deny_notification_text, as: 'defaultMessageDenyNotificationText'
41
42
  property :description, as: 'description'
42
43
  property :email, as: 'email'
44
+ property :enable_collaborative_inbox, as: 'enableCollaborativeInbox'
43
45
  property :favorite_replies_on_top, as: 'favoriteRepliesOnTop'
44
46
  property :include_custom_footer, as: 'includeCustomFooter'
45
47
  property :include_in_global_address_list, as: 'includeInGlobalAddressList'
@@ -57,17 +59,33 @@ module Google
57
59
  property :spam_moderation_level, as: 'spamModerationLevel'
58
60
  property :who_can_add, as: 'whoCanAdd'
59
61
  property :who_can_add_references, as: 'whoCanAddReferences'
62
+ property :who_can_approve_members, as: 'whoCanApproveMembers'
63
+ property :who_can_approve_messages, as: 'whoCanApproveMessages'
60
64
  property :who_can_assign_topics, as: 'whoCanAssignTopics'
65
+ property :who_can_assist_content, as: 'whoCanAssistContent'
66
+ property :who_can_ban_users, as: 'whoCanBanUsers'
61
67
  property :who_can_contact_owner, as: 'whoCanContactOwner'
68
+ property :who_can_delete_any_post, as: 'whoCanDeleteAnyPost'
69
+ property :who_can_delete_topics, as: 'whoCanDeleteTopics'
70
+ property :who_can_discover_group, as: 'whoCanDiscoverGroup'
62
71
  property :who_can_enter_free_form_tags, as: 'whoCanEnterFreeFormTags'
72
+ property :who_can_hide_abuse, as: 'whoCanHideAbuse'
63
73
  property :who_can_invite, as: 'whoCanInvite'
64
74
  property :who_can_join, as: 'whoCanJoin'
65
75
  property :who_can_leave_group, as: 'whoCanLeaveGroup'
76
+ property :who_can_lock_topics, as: 'whoCanLockTopics'
77
+ property :who_can_make_topics_sticky, as: 'whoCanMakeTopicsSticky'
66
78
  property :who_can_mark_duplicate, as: 'whoCanMarkDuplicate'
67
79
  property :who_can_mark_favorite_reply_on_any_topic, as: 'whoCanMarkFavoriteReplyOnAnyTopic'
68
80
  property :who_can_mark_favorite_reply_on_own_topic, as: 'whoCanMarkFavoriteReplyOnOwnTopic'
69
81
  property :who_can_mark_no_response_needed, as: 'whoCanMarkNoResponseNeeded'
82
+ property :who_can_moderate_content, as: 'whoCanModerateContent'
83
+ property :who_can_moderate_members, as: 'whoCanModerateMembers'
84
+ property :who_can_modify_members, as: 'whoCanModifyMembers'
70
85
  property :who_can_modify_tags_and_categories, as: 'whoCanModifyTagsAndCategories'
86
+ property :who_can_move_topics_in, as: 'whoCanMoveTopicsIn'
87
+ property :who_can_move_topics_out, as: 'whoCanMoveTopicsOut'
88
+ property :who_can_post_announcements, as: 'whoCanPostAnnouncements'
71
89
  property :who_can_post_message, as: 'whoCanPostMessage'
72
90
  property :who_can_take_topics, as: 'whoCanTakeTopics'
73
91
  property :who_can_unassign_topic, as: 'whoCanUnassignTopic'
@@ -22,7 +22,7 @@ module Google
22
22
  module GroupssettingsV1
23
23
  # Groups Settings API
24
24
  #
25
- # Lets you manage permission levels and related settings of a group.
25
+ # Manages permission levels and related settings of a group.
26
26
  #
27
27
  # @example
28
28
  # require 'google/apis/groupssettings_v1'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/iam/
28
28
  module IamV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190201'
30
+ REVISION = '20190318'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -203,7 +203,7 @@ module Google
203
203
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
204
204
  # * `group:`emailid``: An email address that represents a Google group.
205
205
  # For example, `admins@example.com`.
206
- # * `domain:`domain``: A Google Apps domain name that represents all the
206
+ # * `domain:`domain``: The G Suite domain (primary) that represents all the
207
207
  # users of that domain. For example, `google.com` or `example.com`.
208
208
  # Corresponds to the JSON property `members`
209
209
  # @return [Array<String>]
@@ -367,6 +367,19 @@ module Google
367
367
  end
368
368
  end
369
369
 
370
+ # The service account disable request.
371
+ class DisableServiceAccountRequest
372
+ include Google::Apis::Core::Hashable
373
+
374
+ def initialize(**args)
375
+ update!(**args)
376
+ end
377
+
378
+ # Update properties of this object
379
+ def update!(**args)
380
+ end
381
+ end
382
+
370
383
  # A generic empty message that you can re-use to avoid defining duplicated
371
384
  # empty messages in your APIs. A typical example is to use it as the request
372
385
  # or the response type of an API method. For instance:
@@ -386,6 +399,19 @@ module Google
386
399
  end
387
400
  end
388
401
 
402
+ # The service account enable request.
403
+ class EnableServiceAccountRequest
404
+ include Google::Apis::Core::Hashable
405
+
406
+ def initialize(**args)
407
+ update!(**args)
408
+ end
409
+
410
+ # Update properties of this object
411
+ def update!(**args)
412
+ end
413
+ end
414
+
389
415
  # Represents an expression text. Example:
390
416
  # title: "User account presence"
391
417
  # description: "Determines whether the request has a user account"
@@ -695,6 +721,43 @@ module Google
695
721
  end
696
722
  end
697
723
 
724
+ # The patch service account request.
725
+ class PatchServiceAccountRequest
726
+ include Google::Apis::Core::Hashable
727
+
728
+ # A service account in the Identity and Access Management API.
729
+ # To create a service account, specify the `project_id` and the `account_id`
730
+ # for the account. The `account_id` is unique within the project, and is used
731
+ # to generate the service account email address and a stable
732
+ # `unique_id`.
733
+ # If the account already exists, the account's resource name is returned
734
+ # in the format of projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`. The caller
735
+ # can use the name in other methods to access the account.
736
+ # All other methods can identify the service account using the format
737
+ # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
738
+ # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
739
+ # the account. The `ACCOUNT` value can be the `email` address or the
740
+ # `unique_id` of the service account.
741
+ # Corresponds to the JSON property `serviceAccount`
742
+ # @return [Google::Apis::IamV1::ServiceAccount]
743
+ attr_accessor :service_account
744
+
745
+ #
746
+ # Corresponds to the JSON property `updateMask`
747
+ # @return [String]
748
+ attr_accessor :update_mask
749
+
750
+ def initialize(**args)
751
+ update!(**args)
752
+ end
753
+
754
+ # Update properties of this object
755
+ def update!(**args)
756
+ @service_account = args[:service_account] if args.key?(:service_account)
757
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
758
+ end
759
+ end
760
+
698
761
  # A permission which can be included by a role.
699
762
  class Permission
700
763
  include Google::Apis::Core::Hashable
@@ -1106,6 +1169,19 @@ module Google
1106
1169
  class ServiceAccount
1107
1170
  include Google::Apis::Core::Hashable
1108
1171
 
1172
+ # Optional. A user-specified opaque description of the service account.
1173
+ # Must be less than or equal to 256 UTF-8 bytes.
1174
+ # Corresponds to the JSON property `description`
1175
+ # @return [String]
1176
+ attr_accessor :description
1177
+
1178
+ # @OutputOnly A bool indicate if the service account is disabled.
1179
+ # The field is currently in alpha phase.
1180
+ # Corresponds to the JSON property `disabled`
1181
+ # @return [Boolean]
1182
+ attr_accessor :disabled
1183
+ alias_method :disabled?, :disabled
1184
+
1109
1185
  # Optional. A user-specified name for the service account.
1110
1186
  # Must be less than or equal to 100 UTF-8 bytes.
1111
1187
  # Corresponds to the JSON property `displayName`
@@ -1158,6 +1234,8 @@ module Google
1158
1234
 
1159
1235
  # Update properties of this object
1160
1236
  def update!(**args)
1237
+ @description = args[:description] if args.key?(:description)
1238
+ @disabled = args[:disabled] if args.key?(:disabled)
1161
1239
  @display_name = args[:display_name] if args.key?(:display_name)
1162
1240
  @email = args[:email] if args.key?(:email)
1163
1241
  @etag = args[:etag] if args.key?(:etag)
@@ -1465,6 +1543,50 @@ module Google
1465
1543
  @etag = args[:etag] if args.key?(:etag)
1466
1544
  end
1467
1545
  end
1546
+
1547
+ # The service account undelete request.
1548
+ class UndeleteServiceAccountRequest
1549
+ include Google::Apis::Core::Hashable
1550
+
1551
+ def initialize(**args)
1552
+ update!(**args)
1553
+ end
1554
+
1555
+ # Update properties of this object
1556
+ def update!(**args)
1557
+ end
1558
+ end
1559
+
1560
+ #
1561
+ class UndeleteServiceAccountResponse
1562
+ include Google::Apis::Core::Hashable
1563
+
1564
+ # A service account in the Identity and Access Management API.
1565
+ # To create a service account, specify the `project_id` and the `account_id`
1566
+ # for the account. The `account_id` is unique within the project, and is used
1567
+ # to generate the service account email address and a stable
1568
+ # `unique_id`.
1569
+ # If the account already exists, the account's resource name is returned
1570
+ # in the format of projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`. The caller
1571
+ # can use the name in other methods to access the account.
1572
+ # All other methods can identify the service account using the format
1573
+ # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1574
+ # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1575
+ # the account. The `ACCOUNT` value can be the `email` address or the
1576
+ # `unique_id` of the service account.
1577
+ # Corresponds to the JSON property `restoredAccount`
1578
+ # @return [Google::Apis::IamV1::ServiceAccount]
1579
+ attr_accessor :restored_account
1580
+
1581
+ def initialize(**args)
1582
+ update!(**args)
1583
+ end
1584
+
1585
+ # Update properties of this object
1586
+ def update!(**args)
1587
+ @restored_account = args[:restored_account] if args.key?(:restored_account)
1588
+ end
1589
+ end
1468
1590
  end
1469
1591
  end
1470
1592
  end
@@ -76,12 +76,24 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class DisableServiceAccountRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class Empty
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
82
88
  include Google::Apis::Core::JsonObjectSupport
83
89
  end
84
90
 
91
+ class EnableServiceAccountRequest
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
85
97
  class Expr
86
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
99
 
@@ -124,6 +136,12 @@ module Google
124
136
  include Google::Apis::Core::JsonObjectSupport
125
137
  end
126
138
 
139
+ class PatchServiceAccountRequest
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
127
145
  class Permission
128
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
147
 
@@ -244,6 +262,18 @@ module Google
244
262
  include Google::Apis::Core::JsonObjectSupport
245
263
  end
246
264
 
265
+ class UndeleteServiceAccountRequest
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class UndeleteServiceAccountResponse
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
247
277
  class AuditConfig
248
278
  # @private
249
279
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -323,12 +353,24 @@ module Google
323
353
  end
324
354
  end
325
355
 
356
+ class DisableServiceAccountRequest
357
+ # @private
358
+ class Representation < Google::Apis::Core::JsonRepresentation
359
+ end
360
+ end
361
+
326
362
  class Empty
327
363
  # @private
328
364
  class Representation < Google::Apis::Core::JsonRepresentation
329
365
  end
330
366
  end
331
367
 
368
+ class EnableServiceAccountRequest
369
+ # @private
370
+ class Representation < Google::Apis::Core::JsonRepresentation
371
+ end
372
+ end
373
+
332
374
  class Expr
333
375
  # @private
334
376
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -400,6 +442,15 @@ module Google
400
442
  end
401
443
  end
402
444
 
445
+ class PatchServiceAccountRequest
446
+ # @private
447
+ class Representation < Google::Apis::Core::JsonRepresentation
448
+ property :service_account, as: 'serviceAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
449
+
450
+ property :update_mask, as: 'updateMask'
451
+ end
452
+ end
453
+
403
454
  class Permission
404
455
  # @private
405
456
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -501,6 +552,8 @@ module Google
501
552
  class ServiceAccount
502
553
  # @private
503
554
  class Representation < Google::Apis::Core::JsonRepresentation
555
+ property :description, as: 'description'
556
+ property :disabled, as: 'disabled'
504
557
  property :display_name, as: 'displayName'
505
558
  property :email, as: 'email'
506
559
  property :etag, :base64 => true, as: 'etag'
@@ -583,6 +636,20 @@ module Google
583
636
  property :etag, :base64 => true, as: 'etag'
584
637
  end
585
638
  end
639
+
640
+ class UndeleteServiceAccountRequest
641
+ # @private
642
+ class Representation < Google::Apis::Core::JsonRepresentation
643
+ end
644
+ end
645
+
646
+ class UndeleteServiceAccountResponse
647
+ # @private
648
+ class Representation < Google::Apis::Core::JsonRepresentation
649
+ property :restored_account, as: 'restoredAccount', class: Google::Apis::IamV1::ServiceAccount, decorator: Google::Apis::IamV1::ServiceAccount::Representation
650
+
651
+ end
652
+ end
586
653
  end
587
654
  end
588
655
  end
@@ -251,7 +251,10 @@ module Google
251
251
  # @param [Boolean] show_deleted
252
252
  # Include Roles that have been deleted.
253
253
  # @param [String] view
254
- # Optional view for the returned Role objects.
254
+ # Optional view for the returned Role objects. When `FULL` is specified,
255
+ # the `includedPermissions` field is returned, which includes a list of all
256
+ # permissions in the role. The default value is `BASIC`, which does not
257
+ # return the `includedPermissions` field.
255
258
  # @param [String] fields
256
259
  # Selector specifying which fields to include in a partial response.
257
260
  # @param [String] quota_user
@@ -510,7 +513,10 @@ module Google
510
513
  # @param [Boolean] show_deleted
511
514
  # Include Roles that have been deleted.
512
515
  # @param [String] view
513
- # Optional view for the returned Role objects.
516
+ # Optional view for the returned Role objects. When `FULL` is specified,
517
+ # the `includedPermissions` field is returned, which includes a list of all
518
+ # permissions in the role. The default value is `BASIC`, which does not
519
+ # return the `includedPermissions` field.
514
520
  # @param [String] fields
515
521
  # Selector specifying which fields to include in a partial response.
516
522
  # @param [String] quota_user
@@ -685,6 +691,81 @@ module Google
685
691
  execute_or_queue_command(command, &block)
686
692
  end
687
693
 
694
+ # Disables a ServiceAccount.
695
+ # The API is currently in alpha phase.
696
+ # @param [String] name
697
+ # The resource name of the service account in the following format:
698
+ # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
699
+ # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
700
+ # the account. The `ACCOUNT` value can be the `email` address or the
701
+ # `unique_id` of the service account.
702
+ # @param [Google::Apis::IamV1::DisableServiceAccountRequest] disable_service_account_request_object
703
+ # @param [String] fields
704
+ # Selector specifying which fields to include in a partial response.
705
+ # @param [String] quota_user
706
+ # Available to use for quota purposes for server-side applications. Can be any
707
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
708
+ # @param [Google::Apis::RequestOptions] options
709
+ # Request-specific options
710
+ #
711
+ # @yield [result, err] Result & error if block supplied
712
+ # @yieldparam result [Google::Apis::IamV1::Empty] parsed result object
713
+ # @yieldparam err [StandardError] error object if request failed
714
+ #
715
+ # @return [Google::Apis::IamV1::Empty]
716
+ #
717
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
718
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
719
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
720
+ def disable_service_account(name, disable_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
721
+ command = make_simple_command(:post, 'v1/{+name}:disable', options)
722
+ command.request_representation = Google::Apis::IamV1::DisableServiceAccountRequest::Representation
723
+ command.request_object = disable_service_account_request_object
724
+ command.response_representation = Google::Apis::IamV1::Empty::Representation
725
+ command.response_class = Google::Apis::IamV1::Empty
726
+ command.params['name'] = name unless name.nil?
727
+ command.query['fields'] = fields unless fields.nil?
728
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
729
+ execute_or_queue_command(command, &block)
730
+ end
731
+
732
+ # Enables a ServiceAccount.
733
+ # The API is currently in alpha phase.
734
+ # @param [String] name
735
+ # The resource name of the service account in the following format:
736
+ # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_UNIQUE_ID`'.
737
+ # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
738
+ # the account.
739
+ # @param [Google::Apis::IamV1::EnableServiceAccountRequest] enable_service_account_request_object
740
+ # @param [String] fields
741
+ # Selector specifying which fields to include in a partial response.
742
+ # @param [String] quota_user
743
+ # Available to use for quota purposes for server-side applications. Can be any
744
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
745
+ # @param [Google::Apis::RequestOptions] options
746
+ # Request-specific options
747
+ #
748
+ # @yield [result, err] Result & error if block supplied
749
+ # @yieldparam result [Google::Apis::IamV1::Empty] parsed result object
750
+ # @yieldparam err [StandardError] error object if request failed
751
+ #
752
+ # @return [Google::Apis::IamV1::Empty]
753
+ #
754
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
755
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
756
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
757
+ def enable_service_account(name, enable_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
758
+ command = make_simple_command(:post, 'v1/{+name}:enable', options)
759
+ command.request_representation = Google::Apis::IamV1::EnableServiceAccountRequest::Representation
760
+ command.request_object = enable_service_account_request_object
761
+ command.response_representation = Google::Apis::IamV1::Empty::Representation
762
+ command.response_class = Google::Apis::IamV1::Empty
763
+ command.params['name'] = name unless name.nil?
764
+ command.query['fields'] = fields unless fields.nil?
765
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
766
+ execute_or_queue_command(command, &block)
767
+ end
768
+
688
769
  # Gets a ServiceAccount.
689
770
  # @param [String] name
690
771
  # The resource name of the service account in the following format:
@@ -719,8 +800,20 @@ module Google
719
800
  execute_or_queue_command(command, &block)
720
801
  end
721
802
 
722
- # Returns the IAM access control policy for a
803
+ # Returns the Cloud IAM access control policy for a
723
804
  # ServiceAccount.
805
+ # Note: Service accounts are both
806
+ # [resources and
807
+ # identities](/iam/docs/service-accounts#service_account_permissions). This
808
+ # method treats the service account as a resource. It returns the Cloud IAM
809
+ # policy that reflects what members have access to the service account.
810
+ # This method does not return what resources the service account has access
811
+ # to. To see if a service account has access to a resource, call the
812
+ # `getIamPolicy` method on the target resource. For example, to view grants
813
+ # for a project, call the
814
+ # [projects.getIamPolicy](/resource-manager/reference/rest/v1/projects/
815
+ # getIamPolicy)
816
+ # method.
724
817
  # @param [String] resource
725
818
  # REQUIRED: The resource for which the policy is being requested.
726
819
  # See the operation documentation for the appropriate value for this field.
@@ -792,8 +885,65 @@ module Google
792
885
  execute_or_queue_command(command, &block)
793
886
  end
794
887
 
795
- # Sets the IAM access control policy for a
888
+ # Patches a ServiceAccount.
889
+ # Currently, only the following fields are updatable:
890
+ # `display_name` and `description`.
891
+ # Only fields specified in the request are guaranteed to be returned in
892
+ # the response. Other fields in the response may be empty.
893
+ # Note: The field mask is required.
894
+ # @param [String] name
895
+ # The resource name of the service account in the following format:
896
+ # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
897
+ # Requests using `-` as a wildcard for the `PROJECT_ID` will infer the
898
+ # project from the `account` and the `ACCOUNT` value can be the `email`
899
+ # address or the `unique_id` of the service account.
900
+ # In responses the resource name will always be in the format
901
+ # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
902
+ # @param [Google::Apis::IamV1::PatchServiceAccountRequest] patch_service_account_request_object
903
+ # @param [String] fields
904
+ # Selector specifying which fields to include in a partial response.
905
+ # @param [String] quota_user
906
+ # Available to use for quota purposes for server-side applications. Can be any
907
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
908
+ # @param [Google::Apis::RequestOptions] options
909
+ # Request-specific options
910
+ #
911
+ # @yield [result, err] Result & error if block supplied
912
+ # @yieldparam result [Google::Apis::IamV1::ServiceAccount] parsed result object
913
+ # @yieldparam err [StandardError] error object if request failed
914
+ #
915
+ # @return [Google::Apis::IamV1::ServiceAccount]
916
+ #
917
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
918
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
919
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
920
+ def patch_service_account(name, patch_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
921
+ command = make_simple_command(:patch, 'v1/{+name}', options)
922
+ command.request_representation = Google::Apis::IamV1::PatchServiceAccountRequest::Representation
923
+ command.request_object = patch_service_account_request_object
924
+ command.response_representation = Google::Apis::IamV1::ServiceAccount::Representation
925
+ command.response_class = Google::Apis::IamV1::ServiceAccount
926
+ command.params['name'] = name unless name.nil?
927
+ command.query['fields'] = fields unless fields.nil?
928
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
929
+ execute_or_queue_command(command, &block)
930
+ end
931
+
932
+ # Sets the Cloud IAM access control policy for a
796
933
  # ServiceAccount.
934
+ # Note: Service accounts are both
935
+ # [resources and
936
+ # identities](/iam/docs/service-accounts#service_account_permissions). This
937
+ # method treats the service account as a resource. Use it to grant members
938
+ # access to the service account, such as when they need to impersonate it.
939
+ # This method does not grant the service account access to other resources,
940
+ # such as projects. To grant a service account access to resources, include
941
+ # the service account in the Cloud IAM policy for the desired resource, then
942
+ # call the appropriate `setIamPolicy` method on the target resource. For
943
+ # example, to grant a service account access to a project, call the
944
+ # [projects.setIamPolicy](/resource-manager/reference/rest/v1/projects/
945
+ # setIamPolicy)
946
+ # method.
797
947
  # @param [String] resource
798
948
  # REQUIRED: The resource for which the policy is being specified.
799
949
  # See the operation documentation for the appropriate value for this field.
@@ -947,6 +1097,46 @@ module Google
947
1097
  execute_or_queue_command(command, &block)
948
1098
  end
949
1099
 
1100
+ # Restores a deleted ServiceAccount.
1101
+ # This is to be used as an action of last resort. A service account may
1102
+ # not always be restorable.
1103
+ # @param [String] name
1104
+ # The resource name of the service account in the following format:
1105
+ # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_UNIQUE_ID`'.
1106
+ # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1107
+ # the account.
1108
+ # @param [Google::Apis::IamV1::UndeleteServiceAccountRequest] undelete_service_account_request_object
1109
+ # @param [String] fields
1110
+ # Selector specifying which fields to include in a partial response.
1111
+ # @param [String] quota_user
1112
+ # Available to use for quota purposes for server-side applications. Can be any
1113
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1114
+ # @param [Google::Apis::RequestOptions] options
1115
+ # Request-specific options
1116
+ #
1117
+ # @yield [result, err] Result & error if block supplied
1118
+ # @yieldparam result [Google::Apis::IamV1::UndeleteServiceAccountResponse] parsed result object
1119
+ # @yieldparam err [StandardError] error object if request failed
1120
+ #
1121
+ # @return [Google::Apis::IamV1::UndeleteServiceAccountResponse]
1122
+ #
1123
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1124
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1125
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1126
+ def undelete_service_account(name, undelete_service_account_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1127
+ command = make_simple_command(:post, 'v1/{+name}:undelete', options)
1128
+ command.request_representation = Google::Apis::IamV1::UndeleteServiceAccountRequest::Representation
1129
+ command.request_object = undelete_service_account_request_object
1130
+ command.response_representation = Google::Apis::IamV1::UndeleteServiceAccountResponse::Representation
1131
+ command.response_class = Google::Apis::IamV1::UndeleteServiceAccountResponse
1132
+ command.params['name'] = name unless name.nil?
1133
+ command.query['fields'] = fields unless fields.nil?
1134
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1135
+ execute_or_queue_command(command, &block)
1136
+ end
1137
+
1138
+ # Note: This method is in the process of being deprecated. Use
1139
+ # PatchServiceAccount instead.
950
1140
  # Updates a ServiceAccount.
951
1141
  # Currently, only the following fields are updatable:
952
1142
  # `display_name` .
@@ -1185,7 +1375,10 @@ module Google
1185
1375
  # @param [Boolean] show_deleted
1186
1376
  # Include Roles that have been deleted.
1187
1377
  # @param [String] view
1188
- # Optional view for the returned Role objects.
1378
+ # Optional view for the returned Role objects. When `FULL` is specified,
1379
+ # the `includedPermissions` field is returned, which includes a list of all
1380
+ # permissions in the role. The default value is `BASIC`, which does not
1381
+ # return the `includedPermissions` field.
1189
1382
  # @param [String] fields
1190
1383
  # Selector specifying which fields to include in a partial response.
1191
1384
  # @param [String] quota_user