google-api-client 0.39.3 → 0.40.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (416) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +242 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/admob_v1.rb +1 -1
  6. data/generated/google/apis/admob_v1/classes.rb +5 -6
  7. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  8. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  9. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  10. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  11. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  12. data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
  13. data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
  14. data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
  15. data/generated/google/apis/apigee_v1.rb +1 -1
  16. data/generated/google/apis/apigee_v1/classes.rb +58 -10
  17. data/generated/google/apis/apigee_v1/representations.rb +7 -0
  18. data/generated/google/apis/apigee_v1/service.rb +24 -14
  19. data/generated/google/apis/appsmarket_v2.rb +3 -3
  20. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  21. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  22. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  23. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  24. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1123 -0
  25. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +441 -0
  26. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  27. data/generated/google/apis/bigquery_v2.rb +1 -1
  28. data/generated/google/apis/bigquery_v2/classes.rb +54 -1
  29. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  30. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  31. data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
  32. data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
  33. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  34. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -14
  35. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  36. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  38. data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
  39. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  40. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  41. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  42. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  43. data/generated/google/apis/books_v1.rb +1 -1
  44. data/generated/google/apis/books_v1/service.rb +2 -2
  45. data/generated/google/apis/calendar_v3.rb +1 -1
  46. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  47. data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
  48. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  49. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  50. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  51. data/generated/google/apis/cloudasset_v1.rb +1 -1
  52. data/generated/google/apis/cloudasset_v1/classes.rb +70 -43
  53. data/generated/google/apis/cloudasset_v1/representations.rb +2 -0
  54. data/generated/google/apis/cloudasset_v1/service.rb +14 -11
  55. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudasset_v1beta1/classes.rb +29 -16
  57. data/generated/google/apis/cloudasset_v1beta1/service.rb +16 -7
  58. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  59. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +48 -16
  60. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  61. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  62. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  63. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +26 -8
  64. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +24 -3
  65. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1/classes.rb +17 -4
  67. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  68. data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
  69. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  70. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +156 -2
  71. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
  72. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  73. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  74. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +156 -2
  75. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
  76. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  77. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  79. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  80. data/generated/google/apis/cloudiot_v1.rb +1 -1
  81. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  82. data/generated/google/apis/cloudkms_v1.rb +1 -1
  83. data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
  84. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  85. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  86. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -6
  87. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -8
  88. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -6
  90. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  91. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  93. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  94. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  95. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  96. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
  97. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  98. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  99. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
  100. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
  102. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  103. data/generated/google/apis/composer_v1beta1.rb +1 -1
  104. data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
  105. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  106. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  107. data/generated/google/apis/compute_alpha.rb +1 -1
  108. data/generated/google/apis/compute_alpha/classes.rb +318 -166
  109. data/generated/google/apis/compute_alpha/representations.rb +80 -33
  110. data/generated/google/apis/compute_alpha/service.rb +194 -0
  111. data/generated/google/apis/compute_beta.rb +1 -1
  112. data/generated/google/apis/compute_beta/classes.rb +237 -83
  113. data/generated/google/apis/compute_beta/representations.rb +52 -0
  114. data/generated/google/apis/compute_v1.rb +1 -1
  115. data/generated/google/apis/compute_v1/classes.rb +155 -58
  116. data/generated/google/apis/compute_v1/representations.rb +21 -0
  117. data/generated/google/apis/compute_v1/service.rb +83 -0
  118. data/generated/google/apis/container_v1.rb +1 -1
  119. data/generated/google/apis/container_v1/classes.rb +2 -4
  120. data/generated/google/apis/container_v1beta1.rb +1 -1
  121. data/generated/google/apis/container_v1beta1/classes.rb +62 -4
  122. data/generated/google/apis/container_v1beta1/representations.rb +33 -0
  123. data/generated/google/apis/content_v2.rb +1 -1
  124. data/generated/google/apis/content_v2/classes.rb +34 -0
  125. data/generated/google/apis/content_v2/representations.rb +16 -0
  126. data/generated/google/apis/content_v2/service.rb +5 -1
  127. data/generated/google/apis/content_v2_1.rb +1 -1
  128. data/generated/google/apis/content_v2_1/classes.rb +363 -5
  129. data/generated/google/apis/content_v2_1/representations.rb +136 -0
  130. data/generated/google/apis/content_v2_1/service.rb +85 -1
  131. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  132. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
  133. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  134. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  135. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  136. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  137. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  138. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  139. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  140. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  141. data/generated/google/apis/dataproc_v1.rb +1 -1
  142. data/generated/google/apis/dataproc_v1/classes.rb +22 -22
  143. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  144. data/generated/google/apis/dataproc_v1beta2/classes.rb +49 -35
  145. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  146. data/generated/google/apis/datastore_v1.rb +1 -1
  147. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  148. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  149. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  150. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  151. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  152. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  153. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  154. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  155. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  156. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  157. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  158. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  159. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  160. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  161. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  167. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  168. data/generated/google/apis/dialogflow_v2.rb +1 -1
  169. data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
  170. data/generated/google/apis/dialogflow_v2/representations.rb +234 -0
  171. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  172. data/generated/google/apis/dialogflow_v2beta1/classes.rb +540 -8
  173. data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
  175. data/generated/google/apis/displayvideo_v1.rb +1 -1
  176. data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
  177. data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
  178. data/generated/google/apis/displayvideo_v1/service.rb +1968 -337
  179. data/generated/google/apis/dlp_v2.rb +1 -1
  180. data/generated/google/apis/dlp_v2/classes.rb +17 -27
  181. data/generated/google/apis/dlp_v2/service.rb +247 -204
  182. data/generated/google/apis/dns_v1.rb +1 -1
  183. data/generated/google/apis/dns_v1/classes.rb +160 -261
  184. data/generated/google/apis/dns_v1/representations.rb +17 -0
  185. data/generated/google/apis/dns_v1/service.rb +21 -141
  186. data/generated/google/apis/dns_v1beta2.rb +1 -1
  187. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  188. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  189. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  190. data/generated/google/apis/dns_v2beta1.rb +1 -1
  191. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  192. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  193. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  194. data/generated/google/apis/fcm_v1.rb +1 -1
  195. data/generated/google/apis/file_v1.rb +1 -1
  196. data/generated/google/apis/file_v1/classes.rb +31 -0
  197. data/generated/google/apis/file_v1/representations.rb +15 -0
  198. data/generated/google/apis/file_v1beta1.rb +1 -1
  199. data/generated/google/apis/file_v1beta1/classes.rb +98 -0
  200. data/generated/google/apis/file_v1beta1/representations.rb +34 -0
  201. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  202. data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
  203. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  204. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  205. data/generated/google/apis/{pagespeedonline_v4.rb → firebaseml_v1.rb} +12 -10
  206. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  207. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  208. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  209. data/generated/google/apis/fitness_v1.rb +4 -4
  210. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  211. data/generated/google/apis/fitness_v1/service.rb +187 -215
  212. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  213. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  214. data/generated/google/apis/games_management_v1management.rb +1 -1
  215. data/generated/google/apis/games_management_v1management/service.rb +1 -1
  216. data/generated/google/apis/games_v1.rb +1 -1
  217. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  218. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  219. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  220. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  221. data/generated/google/apis/gmail_v1.rb +3 -2
  222. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  223. data/generated/google/apis/gmail_v1/service.rb +551 -743
  224. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  225. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  226. data/generated/google/apis/healthcare_v1.rb +1 -1
  227. data/generated/google/apis/healthcare_v1/classes.rb +39 -30
  228. data/generated/google/apis/healthcare_v1/service.rb +64 -32
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +41 -37
  231. data/generated/google/apis/healthcare_v1beta1/service.rb +165 -147
  232. data/generated/google/apis/homegraph_v1.rb +1 -1
  233. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  234. data/generated/google/apis/iam_v1.rb +1 -1
  235. data/generated/google/apis/iam_v1/classes.rb +111 -93
  236. data/generated/google/apis/iam_v1/service.rb +166 -144
  237. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  238. data/generated/google/apis/iamcredentials_v1/classes.rb +30 -5
  239. data/generated/google/apis/jobs_v3.rb +1 -1
  240. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  241. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  242. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  243. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  244. data/generated/google/apis/memcache_v1beta2/classes.rb +66 -23
  245. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  246. data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
  247. data/generated/google/apis/ml_v1.rb +1 -1
  248. data/generated/google/apis/ml_v1/classes.rb +84 -18
  249. data/generated/google/apis/ml_v1/representations.rb +4 -0
  250. data/generated/google/apis/ml_v1/service.rb +11 -6
  251. data/generated/google/apis/monitoring_v1.rb +1 -1
  252. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  253. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  254. data/generated/google/apis/monitoring_v3.rb +1 -1
  255. data/generated/google/apis/monitoring_v3/classes.rb +17 -0
  256. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  257. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  258. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  259. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  260. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  261. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  262. data/generated/google/apis/osconfig_v1.rb +1 -1
  263. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  264. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  265. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  266. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  267. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  268. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  269. data/generated/google/apis/people_v1.rb +1 -1
  270. data/generated/google/apis/people_v1/classes.rb +216 -0
  271. data/generated/google/apis/people_v1/representations.rb +82 -0
  272. data/generated/google/apis/people_v1/service.rb +371 -9
  273. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  274. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  275. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  276. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  277. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  278. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  279. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  280. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  281. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  282. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
  283. data/generated/google/apis/pubsub_v1.rb +1 -1
  284. data/generated/google/apis/pubsub_v1/classes.rb +70 -15
  285. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  286. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  287. data/generated/google/apis/{pagespeedonline_v1.rb → recommender_v1.rb} +11 -9
  288. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  289. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  290. data/generated/google/apis/recommender_v1/service.rb +266 -0
  291. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  292. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  293. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  294. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  295. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  296. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  297. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  298. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  299. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  300. data/generated/google/apis/run_v1.rb +1 -1
  301. data/generated/google/apis/run_v1/classes.rb +9 -0
  302. data/generated/google/apis/run_v1/representations.rb +1 -0
  303. data/generated/google/apis/run_v1alpha1.rb +1 -1
  304. data/generated/google/apis/run_v1alpha1/classes.rb +9 -0
  305. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  306. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  307. data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
  308. data/generated/google/apis/secretmanager_v1.rb +1 -1
  309. data/generated/google/apis/secretmanager_v1/classes.rb +32 -19
  310. data/generated/google/apis/secretmanager_v1/service.rb +3 -0
  311. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  312. data/generated/google/apis/secretmanager_v1beta1/classes.rb +29 -16
  313. data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
  314. data/generated/google/apis/securitycenter_v1.rb +1 -1
  315. data/generated/google/apis/securitycenter_v1/classes.rb +133 -18
  316. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  317. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  318. data/generated/google/apis/securitycenter_v1beta1/classes.rb +133 -18
  319. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  320. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  321. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  322. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  323. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  324. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +133 -18
  325. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  326. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  327. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +205 -75
  328. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -2
  329. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  330. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +211 -75
  331. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +33 -2
  332. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  333. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
  334. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  335. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -43
  336. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -2
  337. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  338. data/generated/google/apis/servicenetworking_v1/classes.rb +488 -75
  339. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -2
  340. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  341. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  342. data/generated/google/apis/servicenetworking_v1beta/classes.rb +297 -75
  343. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -2
  344. data/generated/google/apis/serviceusage_v1.rb +1 -1
  345. data/generated/google/apis/serviceusage_v1/classes.rb +197 -75
  346. data/generated/google/apis/serviceusage_v1/representations.rb +32 -2
  347. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  348. data/generated/google/apis/serviceusage_v1beta1/classes.rb +203 -75
  349. data/generated/google/apis/serviceusage_v1beta1/representations.rb +33 -2
  350. data/generated/google/apis/serviceusage_v1beta1/service.rb +34 -0
  351. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  352. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  353. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  354. data/generated/google/apis/spanner_v1.rb +1 -1
  355. data/generated/google/apis/spanner_v1/classes.rb +30 -12
  356. data/generated/google/apis/spanner_v1/service.rb +8 -8
  357. data/generated/google/apis/sql_v1beta4.rb +1 -1
  358. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  359. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  360. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  361. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  362. data/generated/google/apis/tasks_v1.rb +3 -3
  363. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  364. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  365. data/generated/google/apis/tasks_v1/service.rb +79 -128
  366. data/generated/google/apis/testing_v1.rb +1 -1
  367. data/generated/google/apis/testing_v1/classes.rb +2 -1
  368. data/generated/google/apis/texttospeech_v1.rb +1 -1
  369. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  370. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  371. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  372. data/generated/google/apis/tpu_v1.rb +1 -1
  373. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  374. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  375. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  376. data/generated/google/apis/translate_v3.rb +1 -1
  377. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  378. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  379. data/generated/google/apis/videointelligence_v1.rb +1 -1
  380. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  381. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  382. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  383. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  384. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  385. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  386. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  387. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  388. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  389. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  390. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  391. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  392. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  393. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  394. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  395. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  396. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  397. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  398. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  399. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  400. data/generated/google/apis/youtube_v3.rb +5 -5
  401. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  402. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  403. data/generated/google/apis/youtube_v3/service.rb +1827 -2154
  404. data/lib/google/apis/core/api_command.rb +12 -7
  405. data/lib/google/apis/options.rb +5 -1
  406. data/lib/google/apis/version.rb +1 -1
  407. metadata +23 -15
  408. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  409. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  410. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  411. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  412. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  413. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  414. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  415. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  416. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/actions/smarthome/create-app#request-sync
26
26
  module HomegraphV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200415'
28
+ REVISION = '20200522'
29
29
  end
30
30
  end
31
31
  end
@@ -476,6 +476,9 @@ module Google
476
476
  attr_accessor :event_id
477
477
 
478
478
  # Token to maintain state in the follow up notification response.
479
+ # Deprecated. See the [notifications
480
+ # guide](https://developers.google.com/assistant/smarthome/develop/notifications)
481
+ # for details on implementing follow up notifications.
479
482
  # Corresponds to the JSON property `followUpToken`
480
483
  # @return [String]
481
484
  attr_accessor :follow_up_token
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/iam/
28
28
  module IamV1
29
29
  VERSION = 'V1'
30
- REVISION = '20200221'
30
+ REVISION = '20200605'
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
  # `
@@ -414,19 +414,15 @@ module Google
414
414
  # @return [String]
415
415
  attr_accessor :account_id
416
416
 
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.
417
+ # An IAM service account.
418
+ # A service account is an account for an application or a virtual machine (VM)
419
+ # instance, not a person. You can use a service account to call Google APIs. To
420
+ # learn more, read the [overview of service
421
+ # accounts](https://cloud.google.com/iam/help/service-accounts/overview).
422
+ # When you create a service account, you specify the project ID that owns the
423
+ # service account, as well as a name that must be unique within the project.
424
+ # IAM uses these values to create an email address that identifies the service
425
+ # account.
430
426
  # Corresponds to the JSON property `serviceAccount`
431
427
  # @return [Google::Apis::IamV1::ServiceAccount]
432
428
  attr_accessor :service_account
@@ -751,23 +747,24 @@ module Google
751
747
  end
752
748
  end
753
749
 
754
- # The patch service account request.
750
+ # The request for
751
+ # PatchServiceAccount.
752
+ # You can patch only the `display_name` and `description` fields. You must use
753
+ # the `update_mask` field to specify which of these fields you want to patch.
754
+ # Only the fields specified in the request are guaranteed to be returned in
755
+ # the response. Other fields may be empty in the response.
755
756
  class PatchServiceAccountRequest
756
757
  include Google::Apis::Core::Hashable
757
758
 
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.
759
+ # An IAM service account.
760
+ # A service account is an account for an application or a virtual machine (VM)
761
+ # instance, not a person. You can use a service account to call Google APIs. To
762
+ # learn more, read the [overview of service
763
+ # accounts](https://cloud.google.com/iam/help/service-accounts/overview).
764
+ # When you create a service account, you specify the project ID that owns the
765
+ # service account, as well as a name that must be unique within the project.
766
+ # IAM uses these values to create an email address that identifies the service
767
+ # account.
771
768
  # Corresponds to the JSON property `serviceAccount`
772
769
  # @return [Google::Apis::IamV1::ServiceAccount]
773
770
  attr_accessor :service_account
@@ -886,10 +883,13 @@ module Google
886
883
  # Google groups, and domains (such as G Suite). A `role` is a named list of
887
884
  # permissions; each `role` can be an IAM predefined role or a user-created
888
885
  # custom role.
889
- # Optionally, a `binding` can specify a `condition`, which is a logical
890
- # expression that allows access to a resource only if the expression evaluates
891
- # to `true`. A condition can add constraints based on attributes of the
892
- # request, the resource, or both.
886
+ # For some types of Google Cloud resources, a `binding` can also specify a
887
+ # `condition`, which is a logical expression that allows access to a resource
888
+ # only if the expression evaluates to `true`. A condition can add constraints
889
+ # based on attributes of the request, the resource, or both. To learn which
890
+ # resources support conditions in their IAM policies, see the
891
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
892
+ # policies).
893
893
  # **JSON example:**
894
894
  # `
895
895
  # "bindings": [
@@ -904,7 +904,9 @@ module Google
904
904
  # `,
905
905
  # `
906
906
  # "role": "roles/resourcemanager.organizationViewer",
907
- # "members": ["user:eve@example.com"],
907
+ # "members": [
908
+ # "user:eve@example.com"
909
+ # ],
908
910
  # "condition": `
909
911
  # "title": "expirable access",
910
912
  # "description": "Does not grant access after Sep 2020",
@@ -982,6 +984,9 @@ module Google
982
984
  # the conditions in the version `3` policy are lost.
983
985
  # If a policy does not include any conditions, operations on that policy may
984
986
  # specify any valid version or leave the field unset.
987
+ # To learn which resources support conditions in their IAM policies, see the
988
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
989
+ # policies).
985
990
  # Corresponds to the JSON property `version`
986
991
  # @return [Fixnum]
987
992
  attr_accessor :version
@@ -1254,77 +1259,82 @@ module Google
1254
1259
  end
1255
1260
  end
1256
1261
 
1257
- # A service account in the Identity and Access Management API.
1258
- # To create a service account, specify the `project_id` and the `account_id`
1259
- # for the account. The `account_id` is unique within the project, and is used
1260
- # to generate the service account email address and a stable
1261
- # `unique_id`.
1262
- # If the account already exists, the account's resource name is returned
1263
- # in the format of projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`. The caller
1264
- # can use the name in other methods to access the account.
1265
- # All other methods can identify the service account using the format
1266
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1267
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1268
- # the account. The `ACCOUNT` value can be the `email` address or the
1269
- # `unique_id` of the service account.
1262
+ # An IAM service account.
1263
+ # A service account is an account for an application or a virtual machine (VM)
1264
+ # instance, not a person. You can use a service account to call Google APIs. To
1265
+ # learn more, read the [overview of service
1266
+ # accounts](https://cloud.google.com/iam/help/service-accounts/overview).
1267
+ # When you create a service account, you specify the project ID that owns the
1268
+ # service account, as well as a name that must be unique within the project.
1269
+ # IAM uses these values to create an email address that identifies the service
1270
+ # account.
1270
1271
  class ServiceAccount
1271
1272
  include Google::Apis::Core::Hashable
1272
1273
 
1273
- # Optional. A user-specified opaque description of the service account.
1274
- # Must be less than or equal to 256 UTF-8 bytes.
1274
+ # Optional. A user-specified, human-readable description of the service account.
1275
+ # The
1276
+ # maximum length is 256 UTF-8 bytes.
1275
1277
  # Corresponds to the JSON property `description`
1276
1278
  # @return [String]
1277
1279
  attr_accessor :description
1278
1280
 
1279
- # @OutputOnly A bool indicate if the service account is disabled.
1280
- # The field is currently in alpha phase.
1281
+ # Output only. Whether the service account is disabled.
1281
1282
  # Corresponds to the JSON property `disabled`
1282
1283
  # @return [Boolean]
1283
1284
  attr_accessor :disabled
1284
1285
  alias_method :disabled?, :disabled
1285
1286
 
1286
- # Optional. A user-specified name for the service account.
1287
- # Must be less than or equal to 100 UTF-8 bytes.
1287
+ # Optional. A user-specified, human-readable name for the service account. The
1288
+ # maximum
1289
+ # length is 100 UTF-8 bytes.
1288
1290
  # Corresponds to the JSON property `displayName`
1289
1291
  # @return [String]
1290
1292
  attr_accessor :display_name
1291
1293
 
1292
- # @OutputOnly The email address of the service account.
1294
+ # Output only. The email address of the service account.
1293
1295
  # Corresponds to the JSON property `email`
1294
1296
  # @return [String]
1295
1297
  attr_accessor :email
1296
1298
 
1297
- # Optional. Note: `etag` is an inoperable legacy field that is only returned
1298
- # for backwards compatibility.
1299
+ # Deprecated. Do not use.
1299
1300
  # Corresponds to the JSON property `etag`
1300
1301
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1301
1302
  # @return [String]
1302
1303
  attr_accessor :etag
1303
1304
 
1304
- # The resource name of the service account in the following format:
1305
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1306
- # Requests using `-` as a wildcard for the `PROJECT_ID` will infer the
1307
- # project from the `account` and the `ACCOUNT` value can be the `email`
1308
- # address or the `unique_id` of the service account.
1309
- # In responses the resource name will always be in the format
1310
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1305
+ # The resource name of the service account.
1306
+ # Use one of the following formats:
1307
+ # * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS``
1308
+ # * `projects/`PROJECT_ID`/serviceAccounts/`UNIQUE_ID``
1309
+ # As an alternative, you can use the `-` wildcard character instead of the
1310
+ # project ID:
1311
+ # * `projects/-/serviceAccounts/`EMAIL_ADDRESS``
1312
+ # * `projects/-/serviceAccounts/`UNIQUE_ID``
1313
+ # When possible, avoid using the `-` wildcard character, because it can cause
1314
+ # response messages to contain misleading error codes. For example, if you
1315
+ # try to get the service account
1316
+ # `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
1317
+ # response contains an HTTP `403 Forbidden` error instead of a `404 Not
1318
+ # Found` error.
1311
1319
  # Corresponds to the JSON property `name`
1312
1320
  # @return [String]
1313
1321
  attr_accessor :name
1314
1322
 
1315
- # @OutputOnly The OAuth2 client id for the service account.
1316
- # This is used in conjunction with the OAuth2 clientconfig API to make
1317
- # three legged OAuth2 (3LO) flows to access the data of Google users.
1323
+ # Output only. The OAuth 2.0 client ID for the service account.
1318
1324
  # Corresponds to the JSON property `oauth2ClientId`
1319
1325
  # @return [String]
1320
1326
  attr_accessor :oauth2_client_id
1321
1327
 
1322
- # @OutputOnly The id of the project that owns the service account.
1328
+ # Output only. The ID of the project that owns the service account.
1323
1329
  # Corresponds to the JSON property `projectId`
1324
1330
  # @return [String]
1325
1331
  attr_accessor :project_id
1326
1332
 
1327
- # @OutputOnly The unique and stable id of the service account.
1333
+ # Output only. The unique, stable numeric ID for the service account.
1334
+ # Each service account retains its unique ID even if you delete the service
1335
+ # account. For example, if you delete a service account, then create a new
1336
+ # service account with the same name, the new service account has a different
1337
+ # unique ID than the deleted service account.
1328
1338
  # Corresponds to the JSON property `uniqueId`
1329
1339
  # @return [String]
1330
1340
  attr_accessor :unique_id
@@ -1454,10 +1464,13 @@ module Google
1454
1464
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1455
1465
  # permissions; each `role` can be an IAM predefined role or a user-created
1456
1466
  # custom role.
1457
- # Optionally, a `binding` can specify a `condition`, which is a logical
1458
- # expression that allows access to a resource only if the expression evaluates
1459
- # to `true`. A condition can add constraints based on attributes of the
1460
- # request, the resource, or both.
1467
+ # For some types of Google Cloud resources, a `binding` can also specify a
1468
+ # `condition`, which is a logical expression that allows access to a resource
1469
+ # only if the expression evaluates to `true`. A condition can add constraints
1470
+ # based on attributes of the request, the resource, or both. To learn which
1471
+ # resources support conditions in their IAM policies, see the
1472
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
1473
+ # policies).
1461
1474
  # **JSON example:**
1462
1475
  # `
1463
1476
  # "bindings": [
@@ -1472,7 +1485,9 @@ module Google
1472
1485
  # `,
1473
1486
  # `
1474
1487
  # "role": "roles/resourcemanager.organizationViewer",
1475
- # "members": ["user:eve@example.com"],
1488
+ # "members": [
1489
+ # "user:eve@example.com"
1490
+ # ],
1476
1491
  # "condition": `
1477
1492
  # "title": "expirable access",
1478
1493
  # "description": "Does not grant access after Sep 2020",
@@ -1510,8 +1525,7 @@ module Google
1510
1525
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
1511
1526
  # the fields in the mask will be modified. If no mask is provided, the
1512
1527
  # following default mask is used:
1513
- # paths: "bindings, etag"
1514
- # This field is only used by Cloud IAM.
1528
+ # `paths: "bindings, etag"`
1515
1529
  # Corresponds to the JSON property `updateMask`
1516
1530
  # @return [String]
1517
1531
  attr_accessor :update_mask
@@ -1577,7 +1591,15 @@ module Google
1577
1591
  class SignJwtRequest
1578
1592
  include Google::Apis::Core::Hashable
1579
1593
 
1580
- # Required. The JWT payload to sign, a JSON JWT Claim set.
1594
+ # Required. The JWT payload to sign. Must be a serialized JSON object that
1595
+ # contains a
1596
+ # JWT Claims Set. For example: ``"sub": "user@example.com", "iat": 313435``
1597
+ # If the JWT Claims Set contains an expiration time (`exp`) claim, it must be
1598
+ # an integer timestamp that is not in the past and no more than 1 hour in the
1599
+ # future.
1600
+ # If the JWT Claims Set does not contain an expiration time (`exp`) claim,
1601
+ # this claim is added automatically, with a timestamp that is 1 hour in the
1602
+ # future.
1581
1603
  # Corresponds to the JSON property `payload`
1582
1604
  # @return [String]
1583
1605
  attr_accessor :payload
@@ -1696,19 +1718,15 @@ module Google
1696
1718
  class UndeleteServiceAccountResponse
1697
1719
  include Google::Apis::Core::Hashable
1698
1720
 
1699
- # A service account in the Identity and Access Management API.
1700
- # To create a service account, specify the `project_id` and the `account_id`
1701
- # for the account. The `account_id` is unique within the project, and is used
1702
- # to generate the service account email address and a stable
1703
- # `unique_id`.
1704
- # If the account already exists, the account's resource name is returned
1705
- # in the format of projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`. The caller
1706
- # can use the name in other methods to access the account.
1707
- # All other methods can identify the service account using the format
1708
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1709
- # Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
1710
- # the account. The `ACCOUNT` value can be the `email` address or the
1711
- # `unique_id` of the service account.
1721
+ # An IAM service account.
1722
+ # A service account is an account for an application or a virtual machine (VM)
1723
+ # instance, not a person. You can use a service account to call Google APIs. To
1724
+ # learn more, read the [overview of service
1725
+ # accounts](https://cloud.google.com/iam/help/service-accounts/overview).
1726
+ # When you create a service account, you specify the project ID that owns the
1727
+ # service account, as well as a name that must be unique within the project.
1728
+ # IAM uses these values to create an email address that identifies the service
1729
+ # account.
1712
1730
  # Corresponds to the JSON property `restoredAccount`
1713
1731
  # @return [Google::Apis::IamV1::ServiceAccount]
1714
1732
  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
@@ -348,7 +352,7 @@ module Google
348
352
  execute_or_queue_command(command, &block)
349
353
  end
350
354
 
351
- # Updates a Role definition.
355
+ # Updates the definition of a custom Role.
352
356
  # @param [String] name
353
357
  # The `name` parameter's value depends on the target resource for the
354
358
  # request, namely
@@ -402,7 +406,7 @@ module Google
402
406
  execute_or_queue_command(command, &block)
403
407
  end
404
408
 
405
- # Undelete a Role, bringing it back in its previous state.
409
+ # Undeletes a custom Role.
406
410
  # @param [String] name
407
411
  # The `name` parameter's value depends on the target resource for the
408
412
  # request, namely
@@ -454,8 +458,9 @@ module Google
454
458
  execute_or_queue_command(command, &block)
455
459
  end
456
460
 
457
- # Lists the permissions testable on a resource.
458
- # A permission is testable if it can be tested for an identity on a resource.
461
+ # Lists every permission that you can test on a resource. A permission is
462
+ # testable if you can check whether a member has that permission on the
463
+ # resource.
459
464
  # @param [Google::Apis::IamV1::QueryTestablePermissionsRequest] query_testable_permissions_request_object
460
465
  # @param [String] fields
461
466
  # Selector specifying which fields to include in a partial response.
@@ -485,7 +490,7 @@ module Google
485
490
  execute_or_queue_command(command, &block)
486
491
  end
487
492
 
488
- # Creates a new Role.
493
+ # Creates a new custom Role.
489
494
  # @param [String] parent
490
495
  # The `parent` parameter's value depends on the target resource for the
491
496
  # request, namely
@@ -535,13 +540,19 @@ module Google
535
540
  execute_or_queue_command(command, &block)
536
541
  end
537
542
 
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.
543
+ # Deletes a custom Role.
544
+ # When you delete a custom role, the following changes occur immediately:
545
+ # * You cannot bind a member to the custom role in an IAM
546
+ # Policy.
547
+ # * Existing bindings to the custom role are not changed, but they have no
548
+ # effect.
549
+ # * By default, the response from ListRoles does not include the custom
550
+ # role.
551
+ # You have 7 days to undelete the custom role. After 7 days, the following
552
+ # changes occur:
553
+ # * The custom role is permanently deleted and cannot be recovered.
554
+ # * If an IAM policy contains a binding to the custom role, the binding is
555
+ # permanently removed.
545
556
  # @param [String] name
546
557
  # The `name` parameter's value depends on the target resource for the
547
558
  # request, namely
@@ -592,7 +603,7 @@ module Google
592
603
  execute_or_queue_command(command, &block)
593
604
  end
594
605
 
595
- # Gets a Role definition.
606
+ # Gets the definition of a Role.
596
607
  # @param [String] name
597
608
  # The `name` parameter's value depends on the target resource for the
598
609
  # request, namely
@@ -646,7 +657,8 @@ module Google
646
657
  execute_or_queue_command(command, &block)
647
658
  end
648
659
 
649
- # Lists the Roles defined on a resource.
660
+ # Lists every predefined Role that IAM supports, or every custom role
661
+ # that is defined for an organization or project.
650
662
  # @param [String] parent
651
663
  # The `parent` parameter's value depends on the target resource for the
652
664
  # request, namely
@@ -714,7 +726,7 @@ module Google
714
726
  execute_or_queue_command(command, &block)
715
727
  end
716
728
 
717
- # Updates a Role definition.
729
+ # Updates the definition of a custom Role.
718
730
  # @param [String] name
719
731
  # The `name` parameter's value depends on the target resource for the
720
732
  # request, namely
@@ -768,7 +780,7 @@ module Google
768
780
  execute_or_queue_command(command, &block)
769
781
  end
770
782
 
771
- # Undelete a Role, bringing it back in its previous state.
783
+ # Undeletes a custom Role.
772
784
  # @param [String] name
773
785
  # The `name` parameter's value depends on the target resource for the
774
786
  # request, namely
@@ -820,8 +832,7 @@ module Google
820
832
  execute_or_queue_command(command, &block)
821
833
  end
822
834
 
823
- # Creates a ServiceAccount
824
- # and returns it.
835
+ # Creates a ServiceAccount.
825
836
  # @param [String] name
826
837
  # Required. The resource name of the project associated with the service
827
838
  # accounts, such as `projects/my-project-123`.
@@ -856,6 +867,17 @@ module Google
856
867
  end
857
868
 
858
869
  # Deletes a ServiceAccount.
870
+ # **Warning:** After you delete a service account, you might not be able to
871
+ # undelete it. If you know that you need to re-enable the service account in
872
+ # the future, use DisableServiceAccount instead.
873
+ # If you delete a service account, IAM permanently removes the service
874
+ # account 30 days later. Google Cloud cannot recover the service account
875
+ # after it is permanently removed, even if you file a support request.
876
+ # To help avoid unplanned outages, we recommend that you disable the service
877
+ # account before you delete it. Use DisableServiceAccount to disable the
878
+ # service account, then wait at least 24 hours and watch for unintended
879
+ # consequences. If there are no unintended consequences, you can delete the
880
+ # service account.
859
881
  # @param [String] name
860
882
  # Required. The resource name of the service account in the following format:
861
883
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -889,20 +911,19 @@ module Google
889
911
  execute_or_queue_command(command, &block)
890
912
  end
891
913
 
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
- # To improve reliability of your services and avoid unexpected outages, it
903
- # is recommended to first disable a service account rather than delete it.
904
- # After disabling the service account, wait at least 24 hours to verify there
905
- # are no unintended consequences, and then delete the service account.
914
+ # Disables a ServiceAccount immediately.
915
+ # If an application uses the service account to authenticate, that
916
+ # application can no longer call Google APIs or access Google Cloud
917
+ # resources. Existing access tokens for the service account are rejected, and
918
+ # requests for new access tokens will fail.
919
+ # To re-enable the service account, use EnableServiceAccount. After you
920
+ # re-enable the service account, its existing access tokens will be accepted,
921
+ # and you can request new access tokens.
922
+ # To help avoid unplanned outages, we recommend that you disable the service
923
+ # account before you delete it. Use this method to disable the service
924
+ # account, then wait at least 24 hours and watch for unintended consequences.
925
+ # If there are no unintended consequences, you can delete the service account
926
+ # with DeleteServiceAccount.
906
927
  # @param [String] name
907
928
  # The resource name of the service account in the following format:
908
929
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -939,14 +960,12 @@ module Google
939
960
  execute_or_queue_command(command, &block)
940
961
  end
941
962
 
942
- # EnableServiceAccount is currently in the alpha launch stage.
943
- # Restores a disabled ServiceAccount
944
- # that has been manually disabled by using DisableServiceAccount. Service
945
- # accounts that have been disabled by other means or for other reasons,
946
- # such as abuse, cannot be restored using this method.
947
- # EnableServiceAccount will have no effect on a service account that is
948
- # not disabled. Enabling an already enabled service account will have no
949
- # effect.
963
+ # Enables a ServiceAccount that was disabled by
964
+ # DisableServiceAccount.
965
+ # If the service account is already enabled, then this method has no effect.
966
+ # If the service account was disabled by other means—for example, if Google
967
+ # disabled the service account because it was compromised—you cannot use this
968
+ # method to enable the service account.
950
969
  # @param [String] name
951
970
  # The resource name of the service account in the following format:
952
971
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -1017,19 +1036,15 @@ module Google
1017
1036
  execute_or_queue_command(command, &block)
1018
1037
  end
1019
1038
 
1020
- # Returns the Cloud IAM access control policy for a
1021
- # ServiceAccount.
1022
- # Note: Service accounts are both
1023
- # [resources and
1024
- # identities](/iam/docs/service-accounts#service_account_permissions). This
1025
- # method treats the service account as a resource. It returns the Cloud IAM
1026
- # policy that reflects what members have access to the service account.
1027
- # This method does not return what resources the service account has access
1028
- # to. To see if a service account has access to a resource, call the
1029
- # `getIamPolicy` method on the target resource. For example, to view grants
1030
- # for a project, call the
1031
- # [projects.getIamPolicy](/resource-manager/reference/rest/v1/projects/
1032
- # getIamPolicy)
1039
+ # Gets the IAM policy that is attached to a ServiceAccount. This IAM
1040
+ # policy specifies which members have access to the service account.
1041
+ # This method does not tell you whether the service account has been granted
1042
+ # any roles on other resources. To check whether a service account has role
1043
+ # grants on a resource, use the `getIamPolicy` method for that resource. For
1044
+ # example, to view the role grants for a project, call the Resource Manager
1045
+ # API's
1046
+ # [`projects.getIamPolicy`](https://cloud.google.com/resource-manager/reference/
1047
+ # rest/v1/projects/getIamPolicy)
1033
1048
  # method.
1034
1049
  # @param [String] resource
1035
1050
  # REQUIRED: The resource for which the policy is being requested.
@@ -1041,6 +1056,9 @@ module Google
1041
1056
  # Requests for policies with any conditional bindings must specify version 3.
1042
1057
  # Policies without any conditional bindings may specify any valid value or
1043
1058
  # leave the field unset.
1059
+ # To learn which resources support conditions in their IAM policies, see the
1060
+ # [IAM
1061
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1044
1062
  # @param [String] fields
1045
1063
  # Selector specifying which fields to include in a partial response.
1046
1064
  # @param [String] quota_user
@@ -1069,7 +1087,7 @@ module Google
1069
1087
  execute_or_queue_command(command, &block)
1070
1088
  end
1071
1089
 
1072
- # Lists ServiceAccounts for a project.
1090
+ # Lists every ServiceAccount that belongs to a specific project.
1073
1091
  # @param [String] name
1074
1092
  # Required. The resource name of the project associated with the service
1075
1093
  # accounts, such as `projects/my-project-123`.
@@ -1111,19 +1129,21 @@ module Google
1111
1129
  end
1112
1130
 
1113
1131
  # Patches a ServiceAccount.
1114
- # Currently, only the following fields are updatable:
1115
- # `display_name` and `description`.
1116
- # Only fields specified in the request are guaranteed to be returned in
1117
- # the response. Other fields in the response may be empty.
1118
- # Note: The field mask is required.
1119
1132
  # @param [String] name
1120
- # The resource name of the service account in the following format:
1121
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1122
- # Requests using `-` as a wildcard for the `PROJECT_ID` will infer the
1123
- # project from the `account` and the `ACCOUNT` value can be the `email`
1124
- # address or the `unique_id` of the service account.
1125
- # In responses the resource name will always be in the format
1126
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1133
+ # The resource name of the service account.
1134
+ # Use one of the following formats:
1135
+ # * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS``
1136
+ # * `projects/`PROJECT_ID`/serviceAccounts/`UNIQUE_ID``
1137
+ # As an alternative, you can use the `-` wildcard character instead of the
1138
+ # project ID:
1139
+ # * `projects/-/serviceAccounts/`EMAIL_ADDRESS``
1140
+ # * `projects/-/serviceAccounts/`UNIQUE_ID``
1141
+ # When possible, avoid using the `-` wildcard character, because it can cause
1142
+ # response messages to contain misleading error codes. For example, if you
1143
+ # try to get the service account
1144
+ # `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
1145
+ # response contains an HTTP `403 Forbidden` error instead of a `404 Not
1146
+ # Found` error.
1127
1147
  # @param [Google::Apis::IamV1::PatchServiceAccountRequest] patch_service_account_request_object
1128
1148
  # @param [String] fields
1129
1149
  # Selector specifying which fields to include in a partial response.
@@ -1154,21 +1174,20 @@ module Google
1154
1174
  execute_or_queue_command(command, &block)
1155
1175
  end
1156
1176
 
1157
- # Sets the Cloud IAM access control policy for a
1158
- # ServiceAccount.
1159
- # Note: Service accounts are both
1160
- # [resources and
1161
- # identities](/iam/docs/service-accounts#service_account_permissions). This
1162
- # method treats the service account as a resource. Use it to grant members
1163
- # access to the service account, such as when they need to impersonate it.
1164
- # This method does not grant the service account access to other resources,
1165
- # such as projects. To grant a service account access to resources, include
1166
- # the service account in the Cloud IAM policy for the desired resource, then
1167
- # call the appropriate `setIamPolicy` method on the target resource. For
1168
- # example, to grant a service account access to a project, call the
1169
- # [projects.setIamPolicy](/resource-manager/reference/rest/v1/projects/
1170
- # setIamPolicy)
1171
- # method.
1177
+ # Sets the IAM policy that is attached to a ServiceAccount.
1178
+ # Use this method to grant or revoke access to the service account. For
1179
+ # example, you could grant a member the ability to impersonate the service
1180
+ # account.
1181
+ # This method does not enable the service account to access other resources.
1182
+ # To grant roles to a service account on a resource, follow these steps:
1183
+ # 1. Call the resource's `getIamPolicy` method to get its current IAM policy.
1184
+ # 2. Edit the policy so that it binds the service account to an IAM role for
1185
+ # the resource.
1186
+ # 3. Call the resource's `setIamPolicy` method to update its IAM policy.
1187
+ # For detailed instructions, see
1188
+ # [Granting roles to a service account for specific
1189
+ # resources](https://cloud.google.com/iam/help/service-accounts/granting-access-
1190
+ # to-service-accounts).
1172
1191
  # @param [String] resource
1173
1192
  # REQUIRED: The resource for which the policy is being specified.
1174
1193
  # See the operation documentation for the appropriate value for this field.
@@ -1202,11 +1221,11 @@ module Google
1202
1221
  execute_or_queue_command(command, &block)
1203
1222
  end
1204
1223
 
1205
- # **Note**: This method is in the process of being deprecated. Call the
1206
- # [`signBlob()`](/iam/credentials/reference/rest/v1/projects.serviceAccounts/
1207
- # signBlob)
1208
- # method of the Cloud IAM Service Account Credentials API instead.
1209
- # Signs a blob using a service account's system-managed private key.
1224
+ # **Note:** We are in the process of deprecating this method. Use the
1225
+ # [`signBlob`](https://cloud.google.com/iam/help/rest-credentials/v1/projects.
1226
+ # serviceAccounts/signBlob)
1227
+ # method in the IAM Service Account Credentials API instead.
1228
+ # Signs a blob using the system-managed private key for a ServiceAccount.
1210
1229
  # @param [String] name
1211
1230
  # Required. The resource name of the service account in the following format:
1212
1231
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -1243,14 +1262,12 @@ module Google
1243
1262
  execute_or_queue_command(command, &block)
1244
1263
  end
1245
1264
 
1246
- # **Note**: This method is in the process of being deprecated. Call the
1247
- # [`signJwt()`](/iam/credentials/reference/rest/v1/projects.serviceAccounts/
1248
- # signJwt)
1249
- # method of the Cloud IAM Service Account Credentials API instead.
1250
- # Signs a JWT using a service account's system-managed private key.
1251
- # If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an
1252
- # an expiry time of one hour by default. If you request an expiry time of
1253
- # more than one hour, the request will fail.
1265
+ # **Note:** We are in the process of deprecating this method. Use the
1266
+ # [`signJwt`](https://cloud.google.com/iam/help/rest-credentials/v1/projects.
1267
+ # serviceAccounts/signJwt)
1268
+ # method in the IAM Service Account Credentials API instead.
1269
+ # Signs a JSON Web Token (JWT) using the system-managed private key for a
1270
+ # ServiceAccount.
1254
1271
  # @param [String] name
1255
1272
  # Required. The resource name of the service account in the following format:
1256
1273
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -1287,8 +1304,8 @@ module Google
1287
1304
  execute_or_queue_command(command, &block)
1288
1305
  end
1289
1306
 
1290
- # Tests the specified permissions against the IAM access control policy
1291
- # for a ServiceAccount.
1307
+ # Tests whether the caller has the specified permissions on a
1308
+ # ServiceAccount.
1292
1309
  # @param [String] resource
1293
1310
  # REQUIRED: The resource for which the policy detail is being requested.
1294
1311
  # See the operation documentation for the appropriate value for this field.
@@ -1323,8 +1340,11 @@ module Google
1323
1340
  end
1324
1341
 
1325
1342
  # Restores a deleted ServiceAccount.
1326
- # This is to be used as an action of last resort. A service account may
1327
- # not always be restorable.
1343
+ # **Important:** It is not always possible to restore a deleted service
1344
+ # account. Use this method only as a last resort.
1345
+ # After you delete a service account, IAM permanently removes the service
1346
+ # account 30 days later. There is no way to restore a deleted service account
1347
+ # that has been permanently removed.
1328
1348
  # @param [String] name
1329
1349
  # The resource name of the service account in the following format:
1330
1350
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_UNIQUE_ID``.
@@ -1360,19 +1380,25 @@ module Google
1360
1380
  execute_or_queue_command(command, &block)
1361
1381
  end
1362
1382
 
1363
- # Note: This method is in the process of being deprecated. Use
1383
+ # **Note:** We are in the process of deprecating this method. Use
1364
1384
  # PatchServiceAccount instead.
1365
1385
  # Updates a ServiceAccount.
1366
- # Currently, only the following fields are updatable:
1367
- # `display_name` and `description`.
1386
+ # You can update only the `display_name` and `description` fields.
1368
1387
  # @param [String] name
1369
- # The resource name of the service account in the following format:
1370
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1371
- # Requests using `-` as a wildcard for the `PROJECT_ID` will infer the
1372
- # project from the `account` and the `ACCOUNT` value can be the `email`
1373
- # address or the `unique_id` of the service account.
1374
- # In responses the resource name will always be in the format
1375
- # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
1388
+ # The resource name of the service account.
1389
+ # Use one of the following formats:
1390
+ # * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS``
1391
+ # * `projects/`PROJECT_ID`/serviceAccounts/`UNIQUE_ID``
1392
+ # As an alternative, you can use the `-` wildcard character instead of the
1393
+ # project ID:
1394
+ # * `projects/-/serviceAccounts/`EMAIL_ADDRESS``
1395
+ # * `projects/-/serviceAccounts/`UNIQUE_ID``
1396
+ # When possible, avoid using the `-` wildcard character, because it can cause
1397
+ # response messages to contain misleading error codes. For example, if you
1398
+ # try to get the service account
1399
+ # `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
1400
+ # response contains an HTTP `403 Forbidden` error instead of a `404 Not
1401
+ # Found` error.
1376
1402
  # @param [Google::Apis::IamV1::ServiceAccount] service_account_object
1377
1403
  # @param [String] fields
1378
1404
  # Selector specifying which fields to include in a partial response.
@@ -1403,8 +1429,7 @@ module Google
1403
1429
  execute_or_queue_command(command, &block)
1404
1430
  end
1405
1431
 
1406
- # Creates a ServiceAccountKey
1407
- # and returns it.
1432
+ # Creates a ServiceAccountKey.
1408
1433
  # @param [String] name
1409
1434
  # Required. The resource name of the service account in the following format:
1410
1435
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -1475,8 +1500,7 @@ module Google
1475
1500
  execute_or_queue_command(command, &block)
1476
1501
  end
1477
1502
 
1478
- # Gets the ServiceAccountKey
1479
- # by key id.
1503
+ # Gets a ServiceAccountKey.
1480
1504
  # @param [String] name
1481
1505
  # Required. The resource name of the service account key in the following format:
1482
1506
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``.
@@ -1514,7 +1538,7 @@ module Google
1514
1538
  execute_or_queue_command(command, &block)
1515
1539
  end
1516
1540
 
1517
- # Lists ServiceAccountKeys.
1541
+ # Lists every ServiceAccountKey for a service account.
1518
1542
  # @param [String] name
1519
1543
  # Required. The resource name of the service account in the following format:
1520
1544
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -1553,10 +1577,7 @@ module Google
1553
1577
  execute_or_queue_command(command, &block)
1554
1578
  end
1555
1579
 
1556
- # Upload public key for a given service account.
1557
- # This rpc will create a
1558
- # ServiceAccountKey that has the
1559
- # provided public key and returns it.
1580
+ # Creates a ServiceAccountKey, using a public key that you provide.
1560
1581
  # @param [String] name
1561
1582
  # The resource name of the service account in the following format:
1562
1583
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
@@ -1593,7 +1614,7 @@ module Google
1593
1614
  execute_or_queue_command(command, &block)
1594
1615
  end
1595
1616
 
1596
- # Gets a Role definition.
1617
+ # Gets the definition of a Role.
1597
1618
  # @param [String] name
1598
1619
  # The `name` parameter's value depends on the target resource for the
1599
1620
  # request, namely
@@ -1647,7 +1668,8 @@ module Google
1647
1668
  execute_or_queue_command(command, &block)
1648
1669
  end
1649
1670
 
1650
- # Lists the Roles defined on a resource.
1671
+ # Lists every predefined Role that IAM supports, or every custom role
1672
+ # that is defined for an organization or project.
1651
1673
  # @param [Fixnum] page_size
1652
1674
  # Optional limit on the number of roles to include in the response.
1653
1675
  # @param [String] page_token
@@ -1715,9 +1737,9 @@ module Google
1715
1737
  execute_or_queue_command(command, &block)
1716
1738
  end
1717
1739
 
1718
- # Queries roles that can be granted on a particular resource.
1719
- # A role is grantable if it can be used as the role in a binding for a policy
1720
- # for that resource.
1740
+ # Lists roles that can be granted on a Google Cloud resource. A role is
1741
+ # grantable if the IAM policy for the resource can contain bindings to the
1742
+ # role.
1721
1743
  # @param [Google::Apis::IamV1::QueryGrantableRolesRequest] query_grantable_roles_request_object
1722
1744
  # @param [String] fields
1723
1745
  # Selector specifying which fields to include in a partial response.