google-api-client 0.40.0 → 0.41.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/iam/
28
28
  module IamV1
29
29
  VERSION = 'V1'
30
- REVISION = '20200515'
30
+ REVISION = '20200611'
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'
@@ -56,7 +56,7 @@ module Google
56
56
  # `
57
57
  # "audit_configs": [
58
58
  # `
59
- # "service": "allServices"
59
+ # "service": "allServices",
60
60
  # "audit_log_configs": [
61
61
  # `
62
62
  # "log_type": "DATA_READ",
@@ -65,18 +65,18 @@ module Google
65
65
  # ]
66
66
  # `,
67
67
  # `
68
- # "log_type": "DATA_WRITE",
68
+ # "log_type": "DATA_WRITE"
69
69
  # `,
70
70
  # `
71
- # "log_type": "ADMIN_READ",
71
+ # "log_type": "ADMIN_READ"
72
72
  # `
73
73
  # ]
74
74
  # `,
75
75
  # `
76
- # "service": "sampleservice.googleapis.com"
76
+ # "service": "sampleservice.googleapis.com",
77
77
  # "audit_log_configs": [
78
78
  # `
79
- # "log_type": "DATA_READ",
79
+ # "log_type": "DATA_READ"
80
80
  # `,
81
81
  # `
82
82
  # "log_type": "DATA_WRITE",
@@ -149,7 +149,7 @@ module Google
149
149
  # ]
150
150
  # `,
151
151
  # `
152
- # "log_type": "DATA_WRITE",
152
+ # "log_type": "DATA_WRITE"
153
153
  # `
154
154
  # ]
155
155
  # `
@@ -358,6 +358,9 @@ module Google
358
358
  attr_accessor :role
359
359
 
360
360
  # The role ID to use for this role.
361
+ # A role ID may contain alphanumeric characters, underscores (`_`), and
362
+ # periods (`.`). It must contain a minimum of 3 characters and a maximum of
363
+ # 64 characters.
361
364
  # Corresponds to the JSON property `roleId`
362
365
  # @return [String]
363
366
  attr_accessor :role_id
@@ -414,19 +417,15 @@ module Google
414
417
  # @return [String]
415
418
  attr_accessor :account_id
416
419
 
417
- # A service account in the Identity and Access Management API.
418
- # To create a service account, specify the `project_id` and the `account_id`
419
- # for the account. The `account_id` is unique within the project, and is used
420
- # to generate the service account email address and a stable
421
- # `unique_id`.
422
- # If the account already exists, the account's resource name is returned
423
- # in the format of projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`. The caller
424
- # can use the name in other methods to access the account.
425
- # All other methods can identify the service account using the format
426
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
427
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
428
- # the account. The `ACCOUNT` value can be the `email` address or the
429
- # `unique_id` of the service account.
420
+ # An IAM service account.
421
+ # A service account is an account for an application or a virtual machine (VM)
422
+ # instance, not a person. You can use a service account to call Google APIs. To
423
+ # learn more, read the [overview of service
424
+ # accounts](https://cloud.google.com/iam/help/service-accounts/overview).
425
+ # When you create a service account, you specify the project ID that owns the
426
+ # service account, as well as a name that must be unique within the project.
427
+ # IAM uses these values to create an email address that identifies the service
428
+ # account.
430
429
  # Corresponds to the JSON property `serviceAccount`
431
430
  # @return [Google::Apis::IamV1::ServiceAccount]
432
431
  attr_accessor :service_account
@@ -751,23 +750,24 @@ module Google
751
750
  end
752
751
  end
753
752
 
754
- # The patch service account request.
753
+ # The request for
754
+ # PatchServiceAccount.
755
+ # You can patch only the `display_name` and `description` fields. You must use
756
+ # the `update_mask` field to specify which of these fields you want to patch.
757
+ # Only the fields specified in the request are guaranteed to be returned in
758
+ # the response. Other fields may be empty in the response.
755
759
  class PatchServiceAccountRequest
756
760
  include Google::Apis::Core::Hashable
757
761
 
758
- # A service account in the Identity and Access Management API.
759
- # To create a service account, specify the `project_id` and the `account_id`
760
- # for the account. The `account_id` is unique within the project, and is used
761
- # to generate the service account email address and a stable
762
- # `unique_id`.
763
- # If the account already exists, the account's resource name is returned
764
- # in the format of projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`. The caller
765
- # can use the name in other methods to access the account.
766
- # All other methods can identify the service account using the format
767
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
768
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
769
- # the account. The `ACCOUNT` value can be the `email` address or the
770
- # `unique_id` of the service account.
762
+ # An IAM service account.
763
+ # A service account is an account for an application or a virtual machine (VM)
764
+ # instance, not a person. You can use a service account to call Google APIs. To
765
+ # learn more, read the [overview of service
766
+ # accounts](https://cloud.google.com/iam/help/service-accounts/overview).
767
+ # When you create a service account, you specify the project ID that owns the
768
+ # service account, as well as a name that must be unique within the project.
769
+ # IAM uses these values to create an email address that identifies the service
770
+ # account.
771
771
  # Corresponds to the JSON property `serviceAccount`
772
772
  # @return [Google::Apis::IamV1::ServiceAccount]
773
773
  attr_accessor :service_account
@@ -1081,6 +1081,7 @@ module Google
1081
1081
  attr_accessor :full_resource_name
1082
1082
 
1083
1083
  # Optional limit on the number of roles to include in the response.
1084
+ # The default is 300, and the maximum is 1,000.
1084
1085
  # Corresponds to the JSON property `pageSize`
1085
1086
  # @return [Fixnum]
1086
1087
  attr_accessor :page_size
@@ -1149,6 +1150,7 @@ module Google
1149
1150
  attr_accessor :full_resource_name
1150
1151
 
1151
1152
  # Optional limit on the number of permissions to include in the response.
1153
+ # The default is 100, and the maximum is 1,000.
1152
1154
  # Corresponds to the JSON property `pageSize`
1153
1155
  # @return [Fixnum]
1154
1156
  attr_accessor :page_size
@@ -1262,77 +1264,82 @@ module Google
1262
1264
  end
1263
1265
  end
1264
1266
 
1265
- # A service account in the Identity and Access Management API.
1266
- # To create a service account, specify the `project_id` and the `account_id`
1267
- # for the account. The `account_id` is unique within the project, and is used
1268
- # to generate the service account email address and a stable
1269
- # `unique_id`.
1270
- # If the account already exists, the account's resource name is returned
1271
- # in the format of projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`. The caller
1272
- # can use the name in other methods to access the account.
1273
- # All other methods can identify the service account using the format
1274
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1275
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1276
- # the account. The `ACCOUNT` value can be the `email` address or the
1277
- # `unique_id` of the service account.
1267
+ # An IAM service account.
1268
+ # A service account is an account for an application or a virtual machine (VM)
1269
+ # instance, not a person. You can use a service account to call Google APIs. To
1270
+ # learn more, read the [overview of service
1271
+ # accounts](https://cloud.google.com/iam/help/service-accounts/overview).
1272
+ # When you create a service account, you specify the project ID that owns the
1273
+ # service account, as well as a name that must be unique within the project.
1274
+ # IAM uses these values to create an email address that identifies the service
1275
+ # account.
1278
1276
  class ServiceAccount
1279
1277
  include Google::Apis::Core::Hashable
1280
1278
 
1281
- # Optional. A user-specified opaque description of the service account.
1282
- # Must be less than or equal to 256 UTF-8 bytes.
1279
+ # Optional. A user-specified, human-readable description of the service account.
1280
+ # The
1281
+ # maximum length is 256 UTF-8 bytes.
1283
1282
  # Corresponds to the JSON property `description`
1284
1283
  # @return [String]
1285
1284
  attr_accessor :description
1286
1285
 
1287
- # @OutputOnly A bool indicate if the service account is disabled.
1288
- # The field is currently in alpha phase.
1286
+ # Output only. Whether the service account is disabled.
1289
1287
  # Corresponds to the JSON property `disabled`
1290
1288
  # @return [Boolean]
1291
1289
  attr_accessor :disabled
1292
1290
  alias_method :disabled?, :disabled
1293
1291
 
1294
- # Optional. A user-specified name for the service account.
1295
- # Must be less than or equal to 100 UTF-8 bytes.
1292
+ # Optional. A user-specified, human-readable name for the service account. The
1293
+ # maximum
1294
+ # length is 100 UTF-8 bytes.
1296
1295
  # Corresponds to the JSON property `displayName`
1297
1296
  # @return [String]
1298
1297
  attr_accessor :display_name
1299
1298
 
1300
- # @OutputOnly The email address of the service account.
1299
+ # Output only. The email address of the service account.
1301
1300
  # Corresponds to the JSON property `email`
1302
1301
  # @return [String]
1303
1302
  attr_accessor :email
1304
1303
 
1305
- # Optional. Note: `etag` is an inoperable legacy field that is only returned
1306
- # for backwards compatibility.
1304
+ # Deprecated. Do not use.
1307
1305
  # Corresponds to the JSON property `etag`
1308
1306
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1309
1307
  # @return [String]
1310
1308
  attr_accessor :etag
1311
1309
 
1312
- # The resource name of the service account in the following format:
1313
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1314
- # Requests using `-` as a wildcard for the `PROJECT_ID` will infer the
1315
- # project from the `account` and the `ACCOUNT` value can be the `email`
1316
- # address or the `unique_id` of the service account.
1317
- # In responses the resource name will always be in the format
1318
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1310
+ # The resource name of the service account.
1311
+ # Use one of the following formats:
1312
+ # * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS``
1313
+ # * `projects/`PROJECT_ID`/serviceAccounts/`UNIQUE_ID``
1314
+ # As an alternative, you can use the `-` wildcard character instead of the
1315
+ # project ID:
1316
+ # * `projects/-/serviceAccounts/`EMAIL_ADDRESS``
1317
+ # * `projects/-/serviceAccounts/`UNIQUE_ID``
1318
+ # When possible, avoid using the `-` wildcard character, because it can cause
1319
+ # response messages to contain misleading error codes. For example, if you
1320
+ # try to get the service account
1321
+ # `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
1322
+ # response contains an HTTP `403 Forbidden` error instead of a `404 Not
1323
+ # Found` error.
1319
1324
  # Corresponds to the JSON property `name`
1320
1325
  # @return [String]
1321
1326
  attr_accessor :name
1322
1327
 
1323
- # @OutputOnly The OAuth2 client id for the service account.
1324
- # This is used in conjunction with the OAuth2 clientconfig API to make
1325
- # three legged OAuth2 (3LO) flows to access the data of Google users.
1328
+ # Output only. The OAuth 2.0 client ID for the service account.
1326
1329
  # Corresponds to the JSON property `oauth2ClientId`
1327
1330
  # @return [String]
1328
1331
  attr_accessor :oauth2_client_id
1329
1332
 
1330
- # @OutputOnly The id of the project that owns the service account.
1333
+ # Output only. The ID of the project that owns the service account.
1331
1334
  # Corresponds to the JSON property `projectId`
1332
1335
  # @return [String]
1333
1336
  attr_accessor :project_id
1334
1337
 
1335
- # @OutputOnly The unique and stable id of the service account.
1338
+ # Output only. The unique, stable numeric ID for the service account.
1339
+ # Each service account retains its unique ID even if you delete the service
1340
+ # account. For example, if you delete a service account, then create a new
1341
+ # service account with the same name, the new service account has a different
1342
+ # unique ID than the deleted service account.
1336
1343
  # Corresponds to the JSON property `uniqueId`
1337
1344
  # @return [String]
1338
1345
  attr_accessor :unique_id
@@ -1589,7 +1596,15 @@ module Google
1589
1596
  class SignJwtRequest
1590
1597
  include Google::Apis::Core::Hashable
1591
1598
 
1592
- # Required. The JWT payload to sign, a JSON JWT Claim set.
1599
+ # Required. The JWT payload to sign. Must be a serialized JSON object that
1600
+ # contains a
1601
+ # JWT Claims Set. For example: ``"sub": "user@example.com", "iat": 313435``
1602
+ # If the JWT Claims Set contains an expiration time (`exp`) claim, it must be
1603
+ # an integer timestamp that is not in the past and no more than 1 hour in the
1604
+ # future.
1605
+ # If the JWT Claims Set does not contain an expiration time (`exp`) claim,
1606
+ # this claim is added automatically, with a timestamp that is 1 hour in the
1607
+ # future.
1593
1608
  # Corresponds to the JSON property `payload`
1594
1609
  # @return [String]
1595
1610
  attr_accessor :payload
@@ -1708,19 +1723,15 @@ module Google
1708
1723
  class UndeleteServiceAccountResponse
1709
1724
  include Google::Apis::Core::Hashable
1710
1725
 
1711
- # A service account in the Identity and Access Management API.
1712
- # To create a service account, specify the `project_id` and the `account_id`
1713
- # for the account. The `account_id` is unique within the project, and is used
1714
- # to generate the service account email address and a stable
1715
- # `unique_id`.
1716
- # If the account already exists, the account's resource name is returned
1717
- # in the format of projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`. The caller
1718
- # can use the name in other methods to access the account.
1719
- # All other methods can identify the service account using the format
1720
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1721
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1722
- # the account. The `ACCOUNT` value can be the `email` address or the
1723
- # `unique_id` of the service account.
1726
+ # An IAM service account.
1727
+ # A service account is an account for an application or a virtual machine (VM)
1728
+ # instance, not a person. You can use a service account to call Google APIs. To
1729
+ # learn more, read the [overview of service
1730
+ # accounts](https://cloud.google.com/iam/help/service-accounts/overview).
1731
+ # When you create a service account, you specify the project ID that owns the
1732
+ # service account, as well as a name that must be unique within the project.
1733
+ # IAM uses these values to create an email address that identifies the service
1734
+ # account.
1724
1735
  # Corresponds to the JSON property `restoredAccount`
1725
1736
  # @return [Google::Apis::IamV1::ServiceAccount]
1726
1737
  attr_accessor :restored_account
@@ -49,16 +49,11 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
- # Lints a Cloud IAM policy object or its sub fields. Currently supports
53
- # google.iam.v1.Binding.condition.
54
- # Each lint operation consists of multiple lint validation units.
55
- # Each unit inspects the input object in regard to a particular linting
56
- # aspect and issues a google.iam.admin.v1.LintResult disclosing the
57
- # result.
58
- # The set of applicable validation units is determined by the Cloud IAM
59
- # server and is not configurable.
60
- # Regardless of any lint issues or their severities, successful calls to
61
- # `lintPolicy` return an HTTP 200 OK status code.
52
+ # Lints, or validates, an IAM policy. Currently checks the
53
+ # google.iam.v1.Binding.condition field, which contains a condition
54
+ # expression for a role binding.
55
+ # Successful calls to this method always return an HTTP `200 OK` status code,
56
+ # even if the linter detects an issue in the IAM policy.
62
57
  # @param [Google::Apis::IamV1::LintPolicyRequest] lint_policy_request_object
63
58
  # @param [String] fields
64
59
  # Selector specifying which fields to include in a partial response.
@@ -88,8 +83,10 @@ module Google
88
83
  execute_or_queue_command(command, &block)
89
84
  end
90
85
 
91
- # Returns a list of services that support service level audit logging
92
- # configuration for the given resource.
86
+ # Returns a list of services that allow you to opt into audit logs that are
87
+ # not generated by default.
88
+ # To learn more about audit logs, see the [Logging
89
+ # documentation](https://cloud.google.com/logging/docs/audit).
93
90
  # @param [Google::Apis::IamV1::QueryAuditableServicesRequest] query_auditable_services_request_object
94
91
  # @param [String] fields
95
92
  # Selector specifying which fields to include in a partial response.
@@ -119,7 +116,7 @@ module Google
119
116
  execute_or_queue_command(command, &block)
120
117
  end
121
118
 
122
- # Creates a new Role.
119
+ # Creates a new custom Role.
123
120
  # @param [String] parent
124
121
  # The `parent` parameter's value depends on the target resource for the
125
122
  # request, namely
@@ -169,13 +166,19 @@ module Google
169
166
  execute_or_queue_command(command, &block)
170
167
  end
171
168
 
172
- # Soft deletes a role. The role is suspended and cannot be used to create new
173
- # IAM Policy Bindings.
174
- # The Role will not be included in `ListRoles()` unless `show_deleted` is set
175
- # in the `ListRolesRequest`. The Role contains the deleted boolean set.
176
- # Existing Bindings remains, but are inactive. The Role can be undeleted
177
- # within 7 days. After 7 days the Role is deleted and all Bindings associated
178
- # with the role are removed.
169
+ # Deletes a custom Role.
170
+ # When you delete a custom role, the following changes occur immediately:
171
+ # * You cannot bind a member to the custom role in an IAM
172
+ # Policy.
173
+ # * Existing bindings to the custom role are not changed, but they have no
174
+ # effect.
175
+ # * By default, the response from ListRoles does not include the custom
176
+ # role.
177
+ # You have 7 days to undelete the custom role. After 7 days, the following
178
+ # changes occur:
179
+ # * The custom role is permanently deleted and cannot be recovered.
180
+ # * If an IAM policy contains a binding to the custom role, the binding is
181
+ # permanently removed.
179
182
  # @param [String] name
180
183
  # The `name` parameter's value depends on the target resource for the
181
184
  # request, namely
@@ -226,7 +229,7 @@ module Google
226
229
  execute_or_queue_command(command, &block)
227
230
  end
228
231
 
229
- # Gets a Role definition.
232
+ # Gets the definition of a Role.
230
233
  # @param [String] name
231
234
  # The `name` parameter's value depends on the target resource for the
232
235
  # request, namely
@@ -280,7 +283,8 @@ module Google
280
283
  execute_or_queue_command(command, &block)
281
284
  end
282
285
 
283
- # Lists the Roles defined on a resource.
286
+ # Lists every predefined Role that IAM supports, or every custom role
287
+ # that is defined for an organization or project.
284
288
  # @param [String] parent
285
289
  # The `parent` parameter's value depends on the target resource for the
286
290
  # request, namely
@@ -308,6 +312,7 @@ module Google
308
312
  # ID or organization ID.
309
313
  # @param [Fixnum] page_size
310
314
  # Optional limit on the number of roles to include in the response.
315
+ # The default is 300, and the maximum is 1,000.
311
316
  # @param [String] page_token
312
317
  # Optional pagination token returned in an earlier ListRolesResponse.
313
318
  # @param [Boolean] show_deleted
@@ -348,7 +353,7 @@ module Google
348
353
  execute_or_queue_command(command, &block)
349
354
  end
350
355
 
351
- # Updates a Role definition.
356
+ # Updates the definition of a custom Role.
352
357
  # @param [String] name
353
358
  # The `name` parameter's value depends on the target resource for the
354
359
  # request, namely
@@ -402,7 +407,7 @@ module Google
402
407
  execute_or_queue_command(command, &block)
403
408
  end
404
409
 
405
- # Undelete a Role, bringing it back in its previous state.
410
+ # Undeletes a custom Role.
406
411
  # @param [String] name
407
412
  # The `name` parameter's value depends on the target resource for the
408
413
  # request, namely
@@ -454,8 +459,9 @@ module Google
454
459
  execute_or_queue_command(command, &block)
455
460
  end
456
461
 
457
- # Lists the permissions testable on a resource.
458
- # A permission is testable if it can be tested for an identity on a resource.
462
+ # Lists every permission that you can test on a resource. A permission is
463
+ # testable if you can check whether a member has that permission on the
464
+ # resource.
459
465
  # @param [Google::Apis::IamV1::QueryTestablePermissionsRequest] query_testable_permissions_request_object
460
466
  # @param [String] fields
461
467
  # Selector specifying which fields to include in a partial response.
@@ -485,7 +491,7 @@ module Google
485
491
  execute_or_queue_command(command, &block)
486
492
  end
487
493
 
488
- # Creates a new Role.
494
+ # Creates a new custom Role.
489
495
  # @param [String] parent
490
496
  # The `parent` parameter's value depends on the target resource for the
491
497
  # request, namely
@@ -535,13 +541,19 @@ module Google
535
541
  execute_or_queue_command(command, &block)
536
542
  end
537
543
 
538
- # Soft deletes a role. The role is suspended and cannot be used to create new
539
- # IAM Policy Bindings.
540
- # The Role will not be included in `ListRoles()` unless `show_deleted` is set
541
- # in the `ListRolesRequest`. The Role contains the deleted boolean set.
542
- # Existing Bindings remains, but are inactive. The Role can be undeleted
543
- # within 7 days. After 7 days the Role is deleted and all Bindings associated
544
- # with the role are removed.
544
+ # Deletes a custom Role.
545
+ # When you delete a custom role, the following changes occur immediately:
546
+ # * You cannot bind a member to the custom role in an IAM
547
+ # Policy.
548
+ # * Existing bindings to the custom role are not changed, but they have no
549
+ # effect.
550
+ # * By default, the response from ListRoles does not include the custom
551
+ # role.
552
+ # You have 7 days to undelete the custom role. After 7 days, the following
553
+ # changes occur:
554
+ # * The custom role is permanently deleted and cannot be recovered.
555
+ # * If an IAM policy contains a binding to the custom role, the binding is
556
+ # permanently removed.
545
557
  # @param [String] name
546
558
  # The `name` parameter's value depends on the target resource for the
547
559
  # request, namely
@@ -592,7 +604,7 @@ module Google
592
604
  execute_or_queue_command(command, &block)
593
605
  end
594
606
 
595
- # Gets a Role definition.
607
+ # Gets the definition of a Role.
596
608
  # @param [String] name
597
609
  # The `name` parameter's value depends on the target resource for the
598
610
  # request, namely
@@ -646,7 +658,8 @@ module Google
646
658
  execute_or_queue_command(command, &block)
647
659
  end
648
660
 
649
- # Lists the Roles defined on a resource.
661
+ # Lists every predefined Role that IAM supports, or every custom role
662
+ # that is defined for an organization or project.
650
663
  # @param [String] parent
651
664
  # The `parent` parameter's value depends on the target resource for the
652
665
  # request, namely
@@ -674,6 +687,7 @@ module Google
674
687
  # ID or organization ID.
675
688
  # @param [Fixnum] page_size
676
689
  # Optional limit on the number of roles to include in the response.
690
+ # The default is 300, and the maximum is 1,000.
677
691
  # @param [String] page_token
678
692
  # Optional pagination token returned in an earlier ListRolesResponse.
679
693
  # @param [Boolean] show_deleted
@@ -714,7 +728,7 @@ module Google
714
728
  execute_or_queue_command(command, &block)
715
729
  end
716
730
 
717
- # Updates a Role definition.
731
+ # Updates the definition of a custom Role.
718
732
  # @param [String] name
719
733
  # The `name` parameter's value depends on the target resource for the
720
734
  # request, namely
@@ -768,7 +782,7 @@ module Google
768
782
  execute_or_queue_command(command, &block)
769
783
  end
770
784
 
771
- # Undelete a Role, bringing it back in its previous state.
785
+ # Undeletes a custom Role.
772
786
  # @param [String] name
773
787
  # The `name` parameter's value depends on the target resource for the
774
788
  # request, namely
@@ -820,8 +834,7 @@ module Google
820
834
  execute_or_queue_command(command, &block)
821
835
  end
822
836
 
823
- # Creates a ServiceAccount
824
- # and returns it.
837
+ # Creates a ServiceAccount.
825
838
  # @param [String] name
826
839
  # Required. The resource name of the project associated with the service
827
840
  # accounts, such as `projects/my-project-123`.
@@ -856,6 +869,17 @@ module Google
856
869
  end
857
870
 
858
871
  # Deletes a ServiceAccount.
872
+ # **Warning:** After you delete a service account, you might not be able to
873
+ # undelete it. If you know that you need to re-enable the service account in
874
+ # the future, use DisableServiceAccount instead.
875
+ # If you delete a service account, IAM permanently removes the service
876
+ # account 30 days later. Google Cloud cannot recover the service account
877
+ # after it is permanently removed, even if you file a support request.
878
+ # To help avoid unplanned outages, we recommend that you disable the service
879
+ # account before you delete it. Use DisableServiceAccount to disable the
880
+ # service account, then wait at least 24 hours and watch for unintended
881
+ # consequences. If there are no unintended consequences, you can delete the
882
+ # service account.
859
883
  # @param [String] name
860
884
  # Required. The resource name of the service account in the following format:
861
885
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -889,24 +913,19 @@ module Google
889
913
  execute_or_queue_command(command, &block)
890
914
  end
891
915
 
892
- # DisableServiceAccount is currently in the alpha launch stage.
893
- # Disables a ServiceAccount,
894
- # which immediately prevents the service account from authenticating and
895
- # gaining access to APIs.
896
- # Disabled service accounts can be safely restored by using
897
- # EnableServiceAccount at any point. Deleted service accounts cannot be
898
- # restored using this method.
899
- # Disabling a service account that is bound to VMs, Apps, Functions, or
900
- # other jobs will cause those jobs to lose access to resources if they are
901
- # using the disabled service account.
902
- # Previously issued Access tokens for a service account will be rejected
903
- # while the service account is disabled but will start working again if the
904
- # account is re-enabled. Issuance of new tokens will fail while the account
905
- # is disabled.
906
- # To improve reliability of your services and avoid unexpected outages, it
907
- # is recommended to first disable a service account rather than delete it.
908
- # After disabling the service account, wait at least 24 hours to verify there
909
- # are no unintended consequences, and then delete the service account.
916
+ # Disables a ServiceAccount immediately.
917
+ # If an application uses the service account to authenticate, that
918
+ # application can no longer call Google APIs or access Google Cloud
919
+ # resources. Existing access tokens for the service account are rejected, and
920
+ # requests for new access tokens will fail.
921
+ # To re-enable the service account, use EnableServiceAccount. After you
922
+ # re-enable the service account, its existing access tokens will be accepted,
923
+ # and you can request new access tokens.
924
+ # To help avoid unplanned outages, we recommend that you disable the service
925
+ # account before you delete it. Use this method to disable the service
926
+ # account, then wait at least 24 hours and watch for unintended consequences.
927
+ # If there are no unintended consequences, you can delete the service account
928
+ # with DeleteServiceAccount.
910
929
  # @param [String] name
911
930
  # The resource name of the service account in the following format:
912
931
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -943,14 +962,12 @@ module Google
943
962
  execute_or_queue_command(command, &block)
944
963
  end
945
964
 
946
- # EnableServiceAccount is currently in the alpha launch stage.
947
- # Restores a disabled ServiceAccount
948
- # that has been manually disabled by using DisableServiceAccount. Service
949
- # accounts that have been disabled by other means or for other reasons,
950
- # such as abuse, cannot be restored using this method.
951
- # EnableServiceAccount will have no effect on a service account that is
952
- # not disabled. Enabling an already enabled service account will have no
953
- # effect.
965
+ # Enables a ServiceAccount that was disabled by
966
+ # DisableServiceAccount.
967
+ # If the service account is already enabled, then this method has no effect.
968
+ # If the service account was disabled by other means—for example, if Google
969
+ # disabled the service account because it was compromised—you cannot use this
970
+ # method to enable the service account.
954
971
  # @param [String] name
955
972
  # The resource name of the service account in the following format:
956
973
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -1021,19 +1038,15 @@ module Google
1021
1038
  execute_or_queue_command(command, &block)
1022
1039
  end
1023
1040
 
1024
- # Returns the Cloud IAM access control policy for a
1025
- # ServiceAccount.
1026
- # Note: Service accounts are both
1027
- # [resources and
1028
- # identities](/iam/docs/service-accounts#service_account_permissions). This
1029
- # method treats the service account as a resource. It returns the Cloud IAM
1030
- # policy that reflects what members have access to the service account.
1031
- # This method does not return what resources the service account has access
1032
- # to. To see if a service account has access to a resource, call the
1033
- # `getIamPolicy` method on the target resource. For example, to view grants
1034
- # for a project, call the
1035
- # [projects.getIamPolicy](/resource-manager/reference/rest/v1/projects/
1036
- # getIamPolicy)
1041
+ # Gets the IAM policy that is attached to a ServiceAccount. This IAM
1042
+ # policy specifies which members have access to the service account.
1043
+ # This method does not tell you whether the service account has been granted
1044
+ # any roles on other resources. To check whether a service account has role
1045
+ # grants on a resource, use the `getIamPolicy` method for that resource. For
1046
+ # example, to view the role grants for a project, call the Resource Manager
1047
+ # API's
1048
+ # [`projects.getIamPolicy`](https://cloud.google.com/resource-manager/reference/
1049
+ # rest/v1/projects/getIamPolicy)
1037
1050
  # method.
1038
1051
  # @param [String] resource
1039
1052
  # REQUIRED: The resource for which the policy is being requested.
@@ -1076,7 +1089,7 @@ module Google
1076
1089
  execute_or_queue_command(command, &block)
1077
1090
  end
1078
1091
 
1079
- # Lists ServiceAccounts for a project.
1092
+ # Lists every ServiceAccount that belongs to a specific project.
1080
1093
  # @param [String] name
1081
1094
  # Required. The resource name of the project associated with the service
1082
1095
  # accounts, such as `projects/my-project-123`.
@@ -1085,6 +1098,7 @@ module Google
1085
1098
  # response. Further accounts can subsequently be obtained by including the
1086
1099
  # ListServiceAccountsResponse.next_page_token
1087
1100
  # in a subsequent request.
1101
+ # The default is 20, and the maximum is 100.
1088
1102
  # @param [String] page_token
1089
1103
  # Optional pagination token returned in an earlier
1090
1104
  # ListServiceAccountsResponse.next_page_token.
@@ -1118,19 +1132,21 @@ module Google
1118
1132
  end
1119
1133
 
1120
1134
  # Patches a ServiceAccount.
1121
- # Currently, only the following fields are updatable:
1122
- # `display_name` and `description`.
1123
- # Only fields specified in the request are guaranteed to be returned in
1124
- # the response. Other fields in the response may be empty.
1125
- # Note: The field mask is required.
1126
1135
  # @param [String] name
1127
- # The resource name of the service account in the following format:
1128
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1129
- # Requests using `-` as a wildcard for the `PROJECT_ID` will infer the
1130
- # project from the `account` and the `ACCOUNT` value can be the `email`
1131
- # address or the `unique_id` of the service account.
1132
- # In responses the resource name will always be in the format
1133
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1136
+ # The resource name of the service account.
1137
+ # Use one of the following formats:
1138
+ # * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS``
1139
+ # * `projects/`PROJECT_ID`/serviceAccounts/`UNIQUE_ID``
1140
+ # As an alternative, you can use the `-` wildcard character instead of the
1141
+ # project ID:
1142
+ # * `projects/-/serviceAccounts/`EMAIL_ADDRESS``
1143
+ # * `projects/-/serviceAccounts/`UNIQUE_ID``
1144
+ # When possible, avoid using the `-` wildcard character, because it can cause
1145
+ # response messages to contain misleading error codes. For example, if you
1146
+ # try to get the service account
1147
+ # `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
1148
+ # response contains an HTTP `403 Forbidden` error instead of a `404 Not
1149
+ # Found` error.
1134
1150
  # @param [Google::Apis::IamV1::PatchServiceAccountRequest] patch_service_account_request_object
1135
1151
  # @param [String] fields
1136
1152
  # Selector specifying which fields to include in a partial response.
@@ -1161,21 +1177,20 @@ module Google
1161
1177
  execute_or_queue_command(command, &block)
1162
1178
  end
1163
1179
 
1164
- # Sets the Cloud IAM access control policy for a
1165
- # ServiceAccount.
1166
- # Note: Service accounts are both
1167
- # [resources and
1168
- # identities](/iam/docs/service-accounts#service_account_permissions). This
1169
- # method treats the service account as a resource. Use it to grant members
1170
- # access to the service account, such as when they need to impersonate it.
1171
- # This method does not grant the service account access to other resources,
1172
- # such as projects. To grant a service account access to resources, include
1173
- # the service account in the Cloud IAM policy for the desired resource, then
1174
- # call the appropriate `setIamPolicy` method on the target resource. For
1175
- # example, to grant a service account access to a project, call the
1176
- # [projects.setIamPolicy](/resource-manager/reference/rest/v1/projects/
1177
- # setIamPolicy)
1178
- # method.
1180
+ # Sets the IAM policy that is attached to a ServiceAccount.
1181
+ # Use this method to grant or revoke access to the service account. For
1182
+ # example, you could grant a member the ability to impersonate the service
1183
+ # account.
1184
+ # This method does not enable the service account to access other resources.
1185
+ # To grant roles to a service account on a resource, follow these steps:
1186
+ # 1. Call the resource's `getIamPolicy` method to get its current IAM policy.
1187
+ # 2. Edit the policy so that it binds the service account to an IAM role for
1188
+ # the resource.
1189
+ # 3. Call the resource's `setIamPolicy` method to update its IAM policy.
1190
+ # For detailed instructions, see
1191
+ # [Granting roles to a service account for specific
1192
+ # resources](https://cloud.google.com/iam/help/service-accounts/granting-access-
1193
+ # to-service-accounts).
1179
1194
  # @param [String] resource
1180
1195
  # REQUIRED: The resource for which the policy is being specified.
1181
1196
  # See the operation documentation for the appropriate value for this field.
@@ -1209,11 +1224,11 @@ module Google
1209
1224
  execute_or_queue_command(command, &block)
1210
1225
  end
1211
1226
 
1212
- # **Note**: This method is in the process of being deprecated. Call the
1213
- # [`signBlob()`](/iam/credentials/reference/rest/v1/projects.serviceAccounts/
1214
- # signBlob)
1215
- # method of the Cloud IAM Service Account Credentials API instead.
1216
- # Signs a blob using a service account's system-managed private key.
1227
+ # **Note:** We are in the process of deprecating this method. Use the
1228
+ # [`signBlob`](https://cloud.google.com/iam/help/rest-credentials/v1/projects.
1229
+ # serviceAccounts/signBlob)
1230
+ # method in the IAM Service Account Credentials API instead.
1231
+ # Signs a blob using the system-managed private key for a ServiceAccount.
1217
1232
  # @param [String] name
1218
1233
  # Required. The resource name of the service account in the following format:
1219
1234
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -1250,14 +1265,12 @@ module Google
1250
1265
  execute_or_queue_command(command, &block)
1251
1266
  end
1252
1267
 
1253
- # **Note**: This method is in the process of being deprecated. Call the
1254
- # [`signJwt()`](/iam/credentials/reference/rest/v1/projects.serviceAccounts/
1255
- # signJwt)
1256
- # method of the Cloud IAM Service Account Credentials API instead.
1257
- # Signs a JWT using a service account's system-managed private key.
1258
- # If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an
1259
- # an expiry time of one hour by default. If you request an expiry time of
1260
- # more than one hour, the request will fail.
1268
+ # **Note:** We are in the process of deprecating this method. Use the
1269
+ # [`signJwt`](https://cloud.google.com/iam/help/rest-credentials/v1/projects.
1270
+ # serviceAccounts/signJwt)
1271
+ # method in the IAM Service Account Credentials API instead.
1272
+ # Signs a JSON Web Token (JWT) using the system-managed private key for a
1273
+ # ServiceAccount.
1261
1274
  # @param [String] name
1262
1275
  # Required. The resource name of the service account in the following format:
1263
1276
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -1294,8 +1307,8 @@ module Google
1294
1307
  execute_or_queue_command(command, &block)
1295
1308
  end
1296
1309
 
1297
- # Tests the specified permissions against the IAM access control policy
1298
- # for a ServiceAccount.
1310
+ # Tests whether the caller has the specified permissions on a
1311
+ # ServiceAccount.
1299
1312
  # @param [String] resource
1300
1313
  # REQUIRED: The resource for which the policy detail is being requested.
1301
1314
  # See the operation documentation for the appropriate value for this field.
@@ -1330,8 +1343,11 @@ module Google
1330
1343
  end
1331
1344
 
1332
1345
  # Restores a deleted ServiceAccount.
1333
- # This is to be used as an action of last resort. A service account may
1334
- # not always be restorable.
1346
+ # **Important:** It is not always possible to restore a deleted service
1347
+ # account. Use this method only as a last resort.
1348
+ # After you delete a service account, IAM permanently removes the service
1349
+ # account 30 days later. There is no way to restore a deleted service account
1350
+ # that has been permanently removed.
1335
1351
  # @param [String] name
1336
1352
  # The resource name of the service account in the following format:
1337
1353
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_UNIQUE_ID``.
@@ -1367,19 +1383,25 @@ module Google
1367
1383
  execute_or_queue_command(command, &block)
1368
1384
  end
1369
1385
 
1370
- # Note: This method is in the process of being deprecated. Use
1386
+ # **Note:** We are in the process of deprecating this method. Use
1371
1387
  # PatchServiceAccount instead.
1372
1388
  # Updates a ServiceAccount.
1373
- # Currently, only the following fields are updatable:
1374
- # `display_name` and `description`.
1389
+ # You can update only the `display_name` and `description` fields.
1375
1390
  # @param [String] name
1376
- # The resource name of the service account in the following format:
1377
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1378
- # Requests using `-` as a wildcard for the `PROJECT_ID` will infer the
1379
- # project from the `account` and the `ACCOUNT` value can be the `email`
1380
- # address or the `unique_id` of the service account.
1381
- # In responses the resource name will always be in the format
1382
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1391
+ # The resource name of the service account.
1392
+ # Use one of the following formats:
1393
+ # * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS``
1394
+ # * `projects/`PROJECT_ID`/serviceAccounts/`UNIQUE_ID``
1395
+ # As an alternative, you can use the `-` wildcard character instead of the
1396
+ # project ID:
1397
+ # * `projects/-/serviceAccounts/`EMAIL_ADDRESS``
1398
+ # * `projects/-/serviceAccounts/`UNIQUE_ID``
1399
+ # When possible, avoid using the `-` wildcard character, because it can cause
1400
+ # response messages to contain misleading error codes. For example, if you
1401
+ # try to get the service account
1402
+ # `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
1403
+ # response contains an HTTP `403 Forbidden` error instead of a `404 Not
1404
+ # Found` error.
1383
1405
  # @param [Google::Apis::IamV1::ServiceAccount] service_account_object
1384
1406
  # @param [String] fields
1385
1407
  # Selector specifying which fields to include in a partial response.
@@ -1410,8 +1432,7 @@ module Google
1410
1432
  execute_or_queue_command(command, &block)
1411
1433
  end
1412
1434
 
1413
- # Creates a ServiceAccountKey
1414
- # and returns it.
1435
+ # Creates a ServiceAccountKey.
1415
1436
  # @param [String] name
1416
1437
  # Required. The resource name of the service account in the following format:
1417
1438
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -1482,8 +1503,7 @@ module Google
1482
1503
  execute_or_queue_command(command, &block)
1483
1504
  end
1484
1505
 
1485
- # Gets the ServiceAccountKey
1486
- # by key id.
1506
+ # Gets a ServiceAccountKey.
1487
1507
  # @param [String] name
1488
1508
  # Required. The resource name of the service account key in the following format:
1489
1509
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``.
@@ -1521,7 +1541,7 @@ module Google
1521
1541
  execute_or_queue_command(command, &block)
1522
1542
  end
1523
1543
 
1524
- # Lists ServiceAccountKeys.
1544
+ # Lists every ServiceAccountKey for a service account.
1525
1545
  # @param [String] name
1526
1546
  # Required. The resource name of the service account in the following format:
1527
1547
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -1560,10 +1580,7 @@ module Google
1560
1580
  execute_or_queue_command(command, &block)
1561
1581
  end
1562
1582
 
1563
- # Upload public key for a given service account.
1564
- # This rpc will create a
1565
- # ServiceAccountKey that has the
1566
- # provided public key and returns it.
1583
+ # Creates a ServiceAccountKey, using a public key that you provide.
1567
1584
  # @param [String] name
1568
1585
  # The resource name of the service account in the following format:
1569
1586
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -1600,7 +1617,7 @@ module Google
1600
1617
  execute_or_queue_command(command, &block)
1601
1618
  end
1602
1619
 
1603
- # Gets a Role definition.
1620
+ # Gets the definition of a Role.
1604
1621
  # @param [String] name
1605
1622
  # The `name` parameter's value depends on the target resource for the
1606
1623
  # request, namely
@@ -1654,9 +1671,11 @@ module Google
1654
1671
  execute_or_queue_command(command, &block)
1655
1672
  end
1656
1673
 
1657
- # Lists the Roles defined on a resource.
1674
+ # Lists every predefined Role that IAM supports, or every custom role
1675
+ # that is defined for an organization or project.
1658
1676
  # @param [Fixnum] page_size
1659
1677
  # Optional limit on the number of roles to include in the response.
1678
+ # The default is 300, and the maximum is 1,000.
1660
1679
  # @param [String] page_token
1661
1680
  # Optional pagination token returned in an earlier ListRolesResponse.
1662
1681
  # @param [String] parent
@@ -1722,9 +1741,9 @@ module Google
1722
1741
  execute_or_queue_command(command, &block)
1723
1742
  end
1724
1743
 
1725
- # Queries roles that can be granted on a particular resource.
1726
- # A role is grantable if it can be used as the role in a binding for a policy
1727
- # for that resource.
1744
+ # Lists roles that can be granted on a Google Cloud resource. A role is
1745
+ # grantable if the IAM policy for the resource can contain bindings to the
1746
+ # role.
1728
1747
  # @param [Google::Apis::IamV1::QueryGrantableRolesRequest] query_grantable_roles_request_object
1729
1748
  # @param [String] fields
1730
1749
  # Selector specifying which fields to include in a partial response.