google-api-client 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/api_names.yaml +945 -41609
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
  10. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  11. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  12. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  13. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  14. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  17. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  18. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  19. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  21. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  22. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  23. data/generated/google/apis/analytics_v3/service.rb +82 -82
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
  25. data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
  26. data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  30. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  32. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  33. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  34. data/generated/google/apis/appengine_v1.rb +4 -4
  35. data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
  36. data/generated/google/apis/appengine_v1/representations.rb +362 -343
  37. data/generated/google/apis/appengine_v1/service.rb +220 -220
  38. data/generated/google/apis/appstate_v1.rb +1 -1
  39. data/generated/google/apis/bigquery_v2.rb +1 -1
  40. data/generated/google/apis/bigquery_v2/classes.rb +5 -5
  41. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  42. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  43. data/generated/google/apis/blogger_v3/service.rb +3 -3
  44. data/generated/google/apis/books_v1/classes.rb +55 -55
  45. data/generated/google/apis/books_v1/representations.rb +67 -67
  46. data/generated/google/apis/books_v1/service.rb +82 -82
  47. data/generated/google/apis/calendar_v3.rb +1 -1
  48. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  49. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  50. data/generated/google/apis/calendar_v3/service.rb +2 -2
  51. data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
  52. data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
  53. data/generated/google/apis/civicinfo_v2/service.rb +12 -12
  54. data/generated/google/apis/classroom_v1.rb +7 -7
  55. data/generated/google/apis/classroom_v1/classes.rb +1013 -991
  56. data/generated/google/apis/classroom_v1/representations.rb +207 -204
  57. data/generated/google/apis/classroom_v1/service.rb +709 -709
  58. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  59. data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
  60. data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
  61. data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
  62. data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
  63. data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
  64. data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
  65. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  66. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
  67. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
  68. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
  69. data/generated/google/apis/cloudkms_v1.rb +1 -1
  70. data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
  71. data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
  72. data/generated/google/apis/cloudkms_v1/service.rb +267 -267
  73. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  74. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
  75. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
  76. data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
  77. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
  79. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
  80. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
  81. data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +163 -15
  84. data/generated/google/apis/compute_beta/representations.rb +54 -14
  85. data/generated/google/apis/compute_beta/service.rb +2258 -482
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +465 -13
  88. data/generated/google/apis/compute_v1/representations.rb +202 -16
  89. data/generated/google/apis/compute_v1/service.rb +573 -309
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +635 -589
  92. data/generated/google/apis/container_v1/representations.rb +139 -111
  93. data/generated/google/apis/container_v1/service.rb +272 -227
  94. data/generated/google/apis/content_v2.rb +1 -1
  95. data/generated/google/apis/content_v2/classes.rb +86 -74
  96. data/generated/google/apis/content_v2/representations.rb +107 -105
  97. data/generated/google/apis/content_v2/service.rb +131 -130
  98. data/generated/google/apis/customsearch_v1.rb +2 -2
  99. data/generated/google/apis/customsearch_v1/classes.rb +0 -6
  100. data/generated/google/apis/customsearch_v1/representations.rb +0 -1
  101. data/generated/google/apis/customsearch_v1/service.rb +2 -5
  102. data/generated/google/apis/dataflow_v1b3.rb +7 -4
  103. data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
  104. data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
  105. data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +543 -691
  108. data/generated/google/apis/dataproc_v1/representations.rb +129 -185
  109. data/generated/google/apis/dataproc_v1/service.rb +347 -347
  110. data/generated/google/apis/datastore_v1.rb +4 -4
  111. data/generated/google/apis/datastore_v1/classes.rb +833 -833
  112. data/generated/google/apis/datastore_v1/representations.rb +182 -182
  113. data/generated/google/apis/datastore_v1/service.rb +45 -45
  114. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  115. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  116. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  117. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  118. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  119. data/generated/google/apis/discovery_v1/service.rb +1 -1
  120. data/generated/google/apis/dns_v1.rb +1 -1
  121. data/generated/google/apis/dns_v1/classes.rb +3 -3
  122. data/generated/google/apis/dns_v1/representations.rb +6 -6
  123. data/generated/google/apis/dns_v1/service.rb +12 -12
  124. data/generated/google/apis/dns_v2beta1.rb +1 -1
  125. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  126. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  127. data/generated/google/apis/drive_v2.rb +1 -1
  128. data/generated/google/apis/drive_v2/classes.rb +1 -1
  129. data/generated/google/apis/drive_v2/service.rb +1 -1
  130. data/generated/google/apis/drive_v3.rb +1 -1
  131. data/generated/google/apis/drive_v3/service.rb +1 -1
  132. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  133. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
  136. data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
  137. data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
  138. data/generated/google/apis/firebaserules_v1/service.rb +103 -103
  139. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  140. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  141. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  142. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  143. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  144. data/generated/google/apis/games_management_v1management.rb +1 -1
  145. data/generated/google/apis/games_v1.rb +1 -1
  146. data/generated/google/apis/games_v1/classes.rb +23 -23
  147. data/generated/google/apis/games_v1/representations.rb +43 -43
  148. data/generated/google/apis/games_v1/service.rb +72 -72
  149. data/generated/google/apis/genomics_v1.rb +1 -1
  150. data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
  151. data/generated/google/apis/genomics_v1/representations.rb +291 -291
  152. data/generated/google/apis/genomics_v1/service.rb +821 -821
  153. data/generated/google/apis/gmail_v1.rb +1 -1
  154. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  155. data/generated/google/apis/groupssettings_v1.rb +1 -1
  156. data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
  157. data/generated/google/apis/groupssettings_v1/service.rb +3 -0
  158. data/generated/google/apis/iam_v1/classes.rb +338 -338
  159. data/generated/google/apis/iam_v1/representations.rb +98 -98
  160. data/generated/google/apis/iam_v1/service.rb +35 -35
  161. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  162. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  163. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  164. data/generated/google/apis/kgsearch_v1/service.rb +13 -13
  165. data/generated/google/apis/language_v1.rb +1 -1
  166. data/generated/google/apis/language_v1/classes.rb +374 -374
  167. data/generated/google/apis/language_v1/representations.rb +97 -97
  168. data/generated/google/apis/language_v1/service.rb +16 -16
  169. data/generated/google/apis/language_v1beta1.rb +1 -1
  170. data/generated/google/apis/language_v1beta1/classes.rb +441 -441
  171. data/generated/google/apis/language_v1beta1/representations.rb +108 -108
  172. data/generated/google/apis/language_v1beta1/service.rb +30 -30
  173. data/generated/google/apis/licensing_v1/service.rb +2 -2
  174. data/generated/google/apis/logging_v2.rb +1 -1
  175. data/generated/google/apis/logging_v2/classes.rb +712 -712
  176. data/generated/google/apis/logging_v2/representations.rb +109 -109
  177. data/generated/google/apis/logging_v2/service.rb +543 -539
  178. data/generated/google/apis/logging_v2beta1.rb +1 -1
  179. data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
  180. data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
  181. data/generated/google/apis/logging_v2beta1/service.rb +257 -256
  182. data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
  183. data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
  184. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  185. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  186. data/generated/google/apis/mirror_v1/service.rb +20 -20
  187. data/generated/google/apis/ml_v1.rb +1 -1
  188. data/generated/google/apis/ml_v1/classes.rb +1830 -1210
  189. data/generated/google/apis/ml_v1/representations.rb +342 -120
  190. data/generated/google/apis/ml_v1/service.rb +365 -258
  191. data/generated/google/apis/monitoring_v3.rb +4 -4
  192. data/generated/google/apis/monitoring_v3/classes.rb +889 -889
  193. data/generated/google/apis/monitoring_v3/representations.rb +174 -174
  194. data/generated/google/apis/monitoring_v3/service.rb +119 -119
  195. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  196. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  197. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  198. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  199. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  200. data/generated/google/apis/partners_v2.rb +1 -1
  201. data/generated/google/apis/partners_v2/classes.rb +550 -536
  202. data/generated/google/apis/partners_v2/representations.rb +118 -116
  203. data/generated/google/apis/partners_v2/service.rb +439 -439
  204. data/generated/google/apis/people_v1.rb +4 -4
  205. data/generated/google/apis/people_v1/classes.rb +414 -413
  206. data/generated/google/apis/people_v1/representations.rb +85 -85
  207. data/generated/google/apis/people_v1/service.rb +111 -18
  208. data/generated/google/apis/plus_domains_v1.rb +1 -1
  209. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  210. data/generated/google/apis/plus_v1.rb +1 -1
  211. data/generated/google/apis/plus_v1/service.rb +1 -1
  212. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  213. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  214. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
  215. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
  216. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
  217. data/generated/google/apis/pubsub_v1/classes.rb +249 -249
  218. data/generated/google/apis/pubsub_v1/representations.rb +80 -80
  219. data/generated/google/apis/pubsub_v1/service.rb +415 -415
  220. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  221. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  222. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  223. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  226. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  227. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  228. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  229. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  230. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  231. data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
  232. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  233. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  234. data/generated/google/apis/script_v1.rb +17 -17
  235. data/generated/google/apis/script_v1/classes.rb +27 -27
  236. data/generated/google/apis/script_v1/representations.rb +5 -5
  237. data/generated/google/apis/script_v1/service.rb +4 -4
  238. data/generated/google/apis/searchconsole_v1.rb +1 -1
  239. data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
  240. data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
  241. data/generated/google/apis/searchconsole_v1/service.rb +4 -4
  242. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  243. data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
  244. data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
  245. data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
  246. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  247. data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
  248. data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
  249. data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
  250. data/generated/google/apis/serviceuser_v1.rb +1 -1
  251. data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
  252. data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
  253. data/generated/google/apis/serviceuser_v1/service.rb +37 -37
  254. data/generated/google/apis/sheets_v4.rb +1 -1
  255. data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
  256. data/generated/google/apis/sheets_v4/representations.rb +994 -824
  257. data/generated/google/apis/sheets_v4/service.rb +80 -80
  258. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  259. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  260. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  261. data/generated/google/apis/slides_v1.rb +1 -1
  262. data/generated/google/apis/slides_v1/classes.rb +2885 -2885
  263. data/generated/google/apis/slides_v1/representations.rb +310 -310
  264. data/generated/google/apis/slides_v1/service.rb +54 -54
  265. data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
  266. data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
  267. data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
  268. data/generated/google/apis/spanner_v1.rb +1 -1
  269. data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
  270. data/generated/google/apis/spanner_v1/representations.rb +174 -174
  271. data/generated/google/apis/spanner_v1/service.rb +497 -497
  272. data/generated/google/apis/speech_v1beta1.rb +1 -1
  273. data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
  274. data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
  275. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  276. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  277. data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
  278. data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
  279. data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
  280. data/generated/google/apis/storage_v1.rb +1 -1
  281. data/generated/google/apis/storage_v1/classes.rb +40 -6
  282. data/generated/google/apis/storage_v1/representations.rb +20 -4
  283. data/generated/google/apis/storage_v1/service.rb +61 -46
  284. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  285. data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
  286. data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
  287. data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
  288. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  289. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  290. data/generated/google/apis/translate_v2/classes.rb +12 -12
  291. data/generated/google/apis/translate_v2/representations.rb +10 -10
  292. data/generated/google/apis/translate_v2/service.rb +62 -62
  293. data/generated/google/apis/vision_v1.rb +1 -1
  294. data/generated/google/apis/vision_v1/classes.rb +1267 -1267
  295. data/generated/google/apis/vision_v1/representations.rb +200 -200
  296. data/generated/google/apis/vision_v1/service.rb +10 -10
  297. data/generated/google/apis/webmasters_v3.rb +1 -1
  298. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  299. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  300. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  301. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  302. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  303. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  304. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  305. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  306. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  307. data/generated/google/apis/youtube_v3/service.rb +80 -80
  308. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  309. data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
  310. data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
  311. data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
  312. data/lib/google/apis/generator/annotator.rb +2 -2
  313. data/lib/google/apis/generator/model.rb +2 -2
  314. data/lib/google/apis/version.rb +1 -1
  315. metadata +2 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/gmail/api/
26
26
  module GmailV1
27
27
  VERSION = 'V1'
28
- REVISION = '20170510'
28
+ REVISION = '20170606'
29
29
 
30
30
  # Read, send, delete, and manage your email
31
31
  AUTH_SCOPE = 'https://mail.google.com/'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/groups-migration/
26
26
  module GroupsmigrationV1
27
27
  VERSION = 'V1'
28
- REVISION = '20140416'
28
+ REVISION = '20170607'
29
29
 
30
30
  # Manage messages in groups on your domain
31
31
  AUTH_APPS_GROUPS_MIGRATION = 'https://www.googleapis.com/auth/apps.groups.migration'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/groups-settings/get_started
26
26
  module GroupssettingsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20160525'
28
+ REVISION = '20170607'
29
29
 
30
30
  # View and manage the settings of a G Suite group
31
31
  AUTH_APPS_GROUPS_SETTINGS = 'https://www.googleapis.com/auth/apps.groups.settings'
@@ -178,8 +178,8 @@ module Google
178
178
  attr_accessor :who_can_leave_group
179
179
 
180
180
  # Permissions to post messages to the group. Possible values are: NONE_CAN_POST
181
- # ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_IN_DOMAIN_CAN_POST
182
- # ANYONE_CAN_POST
181
+ # ALL_MANAGERS_CAN_POST ALL_MEMBERS_CAN_POST ALL_OWNERS_CAN_POST
182
+ # ALL_IN_DOMAIN_CAN_POST ANYONE_CAN_POST
183
183
  # Corresponds to the JSON property `whoCanPostMessage`
184
184
  # @return [String]
185
185
  attr_accessor :who_can_post_message
@@ -79,6 +79,7 @@ module Google
79
79
  # @raise [Google::Apis::AuthorizationError] Authorization is required
80
80
  def get_group(group_unique_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
81
81
  command = make_simple_command(:get, '{groupUniqueId}', options)
82
+ command.query['alt'] = 'json'
82
83
  command.response_representation = Google::Apis::GroupssettingsV1::Groups::Representation
83
84
  command.response_class = Google::Apis::GroupssettingsV1::Groups
84
85
  command.params['groupUniqueId'] = group_unique_id unless group_unique_id.nil?
@@ -117,6 +118,7 @@ module Google
117
118
  command = make_simple_command(:patch, '{groupUniqueId}', options)
118
119
  command.request_representation = Google::Apis::GroupssettingsV1::Groups::Representation
119
120
  command.request_object = groups_object
121
+ command.query['alt'] = 'json'
120
122
  command.response_representation = Google::Apis::GroupssettingsV1::Groups::Representation
121
123
  command.response_class = Google::Apis::GroupssettingsV1::Groups
122
124
  command.params['groupUniqueId'] = group_unique_id unless group_unique_id.nil?
@@ -155,6 +157,7 @@ module Google
155
157
  command = make_simple_command(:put, '{groupUniqueId}', options)
156
158
  command.request_representation = Google::Apis::GroupssettingsV1::Groups::Representation
157
159
  command.request_object = groups_object
160
+ command.query['alt'] = 'json'
158
161
  command.response_representation = Google::Apis::GroupssettingsV1::Groups::Representation
159
162
  command.response_class = Google::Apis::GroupssettingsV1::Groups
160
163
  command.params['groupUniqueId'] = group_unique_id unless group_unique_id.nil?
@@ -22,200 +22,6 @@ module Google
22
22
  module Apis
23
23
  module IamV1
24
24
 
25
- # The service account list response.
26
- class ListServiceAccountsResponse
27
- include Google::Apis::Core::Hashable
28
-
29
- # To retrieve the next page of results, set
30
- # ListServiceAccountsRequest.page_token
31
- # to this value.
32
- # Corresponds to the JSON property `nextPageToken`
33
- # @return [String]
34
- attr_accessor :next_page_token
35
-
36
- # The list of matching service accounts.
37
- # Corresponds to the JSON property `accounts`
38
- # @return [Array<Google::Apis::IamV1::ServiceAccount>]
39
- attr_accessor :accounts
40
-
41
- def initialize(**args)
42
- update!(**args)
43
- end
44
-
45
- # Update properties of this object
46
- def update!(**args)
47
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
48
- @accounts = args[:accounts] if args.key?(:accounts)
49
- end
50
- end
51
-
52
- # The service account create request.
53
- class CreateServiceAccountRequest
54
- include Google::Apis::Core::Hashable
55
-
56
- # Required. The account id that is used to generate the service account
57
- # email address and a stable unique id. It is unique within a project,
58
- # must be 6-30 characters long, and match the regular expression
59
- # `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.
60
- # Corresponds to the JSON property `accountId`
61
- # @return [String]
62
- attr_accessor :account_id
63
-
64
- # A service account in the Identity and Access Management API.
65
- # To create a service account, specify the `project_id` and the `account_id`
66
- # for the account. The `account_id` is unique within the project, and is used
67
- # to generate the service account email address and a stable
68
- # `unique_id`.
69
- # If the account already exists, the account's resource name is returned
70
- # in util::Status's ResourceInfo.resource_name in the format of
71
- # projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`. The caller can
72
- # use the name in other methods to access the account.
73
- # All other methods can identify the service account using the format
74
- # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``.
75
- # Using `-` as a wildcard for the project will infer the project from
76
- # the account. The `account` value can be the `email` address or the
77
- # `unique_id` of the service account.
78
- # Corresponds to the JSON property `serviceAccount`
79
- # @return [Google::Apis::IamV1::ServiceAccount]
80
- attr_accessor :service_account
81
-
82
- def initialize(**args)
83
- update!(**args)
84
- end
85
-
86
- # Update properties of this object
87
- def update!(**args)
88
- @account_id = args[:account_id] if args.key?(:account_id)
89
- @service_account = args[:service_account] if args.key?(:service_account)
90
- end
91
- end
92
-
93
- # The grantable role query response.
94
- class QueryGrantableRolesResponse
95
- include Google::Apis::Core::Hashable
96
-
97
- # The list of matching roles.
98
- # Corresponds to the JSON property `roles`
99
- # @return [Array<Google::Apis::IamV1::Role>]
100
- attr_accessor :roles
101
-
102
- # To retrieve the next page of results, set
103
- # `QueryGrantableRolesRequest.page_token` to this value.
104
- # Corresponds to the JSON property `nextPageToken`
105
- # @return [String]
106
- attr_accessor :next_page_token
107
-
108
- def initialize(**args)
109
- update!(**args)
110
- end
111
-
112
- # Update properties of this object
113
- def update!(**args)
114
- @roles = args[:roles] if args.key?(:roles)
115
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
116
- end
117
- end
118
-
119
- # A role in the Identity and Access Management API.
120
- class Role
121
- include Google::Apis::Core::Hashable
122
-
123
- # Optional. A human-readable title for the role. Typically this
124
- # is limited to 100 UTF-8 bytes.
125
- # Corresponds to the JSON property `title`
126
- # @return [String]
127
- attr_accessor :title
128
-
129
- # The name of the role.
130
- # When Role is used in CreateRole, the role name must not be set.
131
- # When Role is used in output and other input such as UpdateRole, the role
132
- # name is the complete path, e.g., roles/logging.viewer for curated roles
133
- # and organizations/`ORGANIZATION_ID`/roles/logging.viewer for custom roles.
134
- # Corresponds to the JSON property `name`
135
- # @return [String]
136
- attr_accessor :name
137
-
138
- # Optional. A human-readable description for the role.
139
- # Corresponds to the JSON property `description`
140
- # @return [String]
141
- attr_accessor :description
142
-
143
- def initialize(**args)
144
- update!(**args)
145
- end
146
-
147
- # Update properties of this object
148
- def update!(**args)
149
- @title = args[:title] if args.key?(:title)
150
- @name = args[:name] if args.key?(:name)
151
- @description = args[:description] if args.key?(:description)
152
- end
153
- end
154
-
155
- # The service account sign blob request.
156
- class SignBlobRequest
157
- include Google::Apis::Core::Hashable
158
-
159
- # The bytes to sign.
160
- # Corresponds to the JSON property `bytesToSign`
161
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
162
- # @return [String]
163
- attr_accessor :bytes_to_sign
164
-
165
- def initialize(**args)
166
- update!(**args)
167
- end
168
-
169
- # Update properties of this object
170
- def update!(**args)
171
- @bytes_to_sign = args[:bytes_to_sign] if args.key?(:bytes_to_sign)
172
- end
173
- end
174
-
175
- # Request message for `SetIamPolicy` method.
176
- class SetIamPolicyRequest
177
- include Google::Apis::Core::Hashable
178
-
179
- # Defines an Identity and Access Management (IAM) policy. It is used to
180
- # specify access control policies for Cloud Platform resources.
181
- # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
182
- # `members` to a `role`, where the members can be user accounts, Google groups,
183
- # Google domains, and service accounts. A `role` is a named list of permissions
184
- # defined by IAM.
185
- # **Example**
186
- # `
187
- # "bindings": [
188
- # `
189
- # "role": "roles/owner",
190
- # "members": [
191
- # "user:mike@example.com",
192
- # "group:admins@example.com",
193
- # "domain:google.com",
194
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
195
- # ]
196
- # `,
197
- # `
198
- # "role": "roles/viewer",
199
- # "members": ["user:sean@example.com"]
200
- # `
201
- # ]
202
- # `
203
- # For a description of IAM and its features, see the
204
- # [IAM developer's guide](https://cloud.google.com/iam).
205
- # Corresponds to the JSON property `policy`
206
- # @return [Google::Apis::IamV1::Policy]
207
- attr_accessor :policy
208
-
209
- def initialize(**args)
210
- update!(**args)
211
- end
212
-
213
- # Update properties of this object
214
- def update!(**args)
215
- @policy = args[:policy] if args.key?(:policy)
216
- end
217
- end
218
-
219
25
  # Associates `members` with a `role`.
220
26
  class Binding
221
27
  include Google::Apis::Core::Hashable
@@ -256,60 +62,6 @@ module Google
256
62
  end
257
63
  end
258
64
 
259
- # The grantable role query request.
260
- class QueryGrantableRolesRequest
261
- include Google::Apis::Core::Hashable
262
-
263
- # Optional pagination token returned in an earlier
264
- # QueryGrantableRolesResponse.
265
- # Corresponds to the JSON property `pageToken`
266
- # @return [String]
267
- attr_accessor :page_token
268
-
269
- # Optional limit on the number of roles to include in the response.
270
- # Corresponds to the JSON property `pageSize`
271
- # @return [Fixnum]
272
- attr_accessor :page_size
273
-
274
- # Required. The full resource name to query from the list of grantable roles.
275
- # The name follows the Google Cloud Platform resource format.
276
- # For example, a Cloud Platform project with id `my-project` will be named
277
- # `//cloudresourcemanager.googleapis.com/projects/my-project`.
278
- # Corresponds to the JSON property `fullResourceName`
279
- # @return [String]
280
- attr_accessor :full_resource_name
281
-
282
- def initialize(**args)
283
- update!(**args)
284
- end
285
-
286
- # Update properties of this object
287
- def update!(**args)
288
- @page_token = args[:page_token] if args.key?(:page_token)
289
- @page_size = args[:page_size] if args.key?(:page_size)
290
- @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
291
- end
292
- end
293
-
294
- # A generic empty message that you can re-use to avoid defining duplicated
295
- # empty messages in your APIs. A typical example is to use it as the request
296
- # or the response type of an API method. For instance:
297
- # service Foo `
298
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
299
- # `
300
- # The JSON representation for `Empty` is empty JSON object ````.
301
- class Empty
302
- include Google::Apis::Core::Hashable
303
-
304
- def initialize(**args)
305
- update!(**args)
306
- end
307
-
308
- # Update properties of this object
309
- def update!(**args)
310
- end
311
- end
312
-
313
65
  # A service account in the Identity and Access Management API.
314
66
  # To create a service account, specify the `project_id` and the `account_id`
315
67
  # for the account. The `account_id` is unique within the project, and is used
@@ -327,11 +79,6 @@ module Google
327
79
  class ServiceAccount
328
80
  include Google::Apis::Core::Hashable
329
81
 
330
- # @OutputOnly The id of the project that owns the service account.
331
- # Corresponds to the JSON property `projectId`
332
- # @return [String]
333
- attr_accessor :project_id
334
-
335
82
  # @OutputOnly. The OAuth2 client id for the service account.
336
83
  # This is used in conjunction with the OAuth2 clientconfig API to make
337
84
  # three legged OAuth2 (3LO) flows to access the data of Google users.
@@ -372,30 +119,68 @@ module Google
372
119
  # @return [String]
373
120
  attr_accessor :email
374
121
 
122
+ # @OutputOnly The id of the project that owns the service account.
123
+ # Corresponds to the JSON property `projectId`
124
+ # @return [String]
125
+ attr_accessor :project_id
126
+
375
127
  def initialize(**args)
376
128
  update!(**args)
377
129
  end
378
130
 
379
131
  # Update properties of this object
380
132
  def update!(**args)
381
- @project_id = args[:project_id] if args.key?(:project_id)
382
133
  @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
383
134
  @unique_id = args[:unique_id] if args.key?(:unique_id)
384
135
  @display_name = args[:display_name] if args.key?(:display_name)
385
136
  @etag = args[:etag] if args.key?(:etag)
386
137
  @name = args[:name] if args.key?(:name)
387
138
  @email = args[:email] if args.key?(:email)
139
+ @project_id = args[:project_id] if args.key?(:project_id)
388
140
  end
389
141
  end
390
142
 
391
- # The service account keys list response.
392
- class ListServiceAccountKeysResponse
143
+ # A generic empty message that you can re-use to avoid defining duplicated
144
+ # empty messages in your APIs. A typical example is to use it as the request
145
+ # or the response type of an API method. For instance:
146
+ # service Foo `
147
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
148
+ # `
149
+ # The JSON representation for `Empty` is empty JSON object ````.
150
+ class Empty
393
151
  include Google::Apis::Core::Hashable
394
152
 
395
- # The public keys for the service account.
396
- # Corresponds to the JSON property `keys`
397
- # @return [Array<Google::Apis::IamV1::ServiceAccountKey>]
398
- attr_accessor :keys
153
+ def initialize(**args)
154
+ update!(**args)
155
+ end
156
+
157
+ # Update properties of this object
158
+ def update!(**args)
159
+ end
160
+ end
161
+
162
+ # The grantable role query request.
163
+ class QueryGrantableRolesRequest
164
+ include Google::Apis::Core::Hashable
165
+
166
+ # Required. The full resource name to query from the list of grantable roles.
167
+ # The name follows the Google Cloud Platform resource format.
168
+ # For example, a Cloud Platform project with id `my-project` will be named
169
+ # `//cloudresourcemanager.googleapis.com/projects/my-project`.
170
+ # Corresponds to the JSON property `fullResourceName`
171
+ # @return [String]
172
+ attr_accessor :full_resource_name
173
+
174
+ # Optional pagination token returned in an earlier
175
+ # QueryGrantableRolesResponse.
176
+ # Corresponds to the JSON property `pageToken`
177
+ # @return [String]
178
+ attr_accessor :page_token
179
+
180
+ # Optional limit on the number of roles to include in the response.
181
+ # Corresponds to the JSON property `pageSize`
182
+ # @return [Fixnum]
183
+ attr_accessor :page_size
399
184
 
400
185
  def initialize(**args)
401
186
  update!(**args)
@@ -403,7 +188,9 @@ module Google
403
188
 
404
189
  # Update properties of this object
405
190
  def update!(**args)
406
- @keys = args[:keys] if args.key?(:keys)
191
+ @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
192
+ @page_token = args[:page_token] if args.key?(:page_token)
193
+ @page_size = args[:page_size] if args.key?(:page_size)
407
194
  end
408
195
  end
409
196
 
@@ -427,6 +214,25 @@ module Google
427
214
  end
428
215
  end
429
216
 
217
+ # The service account keys list response.
218
+ class ListServiceAccountKeysResponse
219
+ include Google::Apis::Core::Hashable
220
+
221
+ # The public keys for the service account.
222
+ # Corresponds to the JSON property `keys`
223
+ # @return [Array<Google::Apis::IamV1::ServiceAccountKey>]
224
+ attr_accessor :keys
225
+
226
+ def initialize(**args)
227
+ update!(**args)
228
+ end
229
+
230
+ # Update properties of this object
231
+ def update!(**args)
232
+ @keys = args[:keys] if args.key?(:keys)
233
+ end
234
+ end
235
+
430
236
  # Represents a service account key.
431
237
  # A service account has two sets of key-pairs: user-managed, and
432
238
  # system-managed.
@@ -442,13 +248,6 @@ module Google
442
248
  class ServiceAccountKey
443
249
  include Google::Apis::Core::Hashable
444
250
 
445
- # The private key data. Only provided in `CreateServiceAccountKey`
446
- # responses.
447
- # Corresponds to the JSON property `privateKeyData`
448
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
449
- # @return [String]
450
- attr_accessor :private_key_data
451
-
452
251
  # The public key data. Only provided in `GetServiceAccountKey` responses.
453
252
  # Corresponds to the JSON property `publicKeyData`
454
253
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
@@ -471,6 +270,11 @@ module Google
471
270
  # @return [String]
472
271
  attr_accessor :key_algorithm
473
272
 
273
+ # The key can be used after this timestamp.
274
+ # Corresponds to the JSON property `validAfterTime`
275
+ # @return [String]
276
+ attr_accessor :valid_after_time
277
+
474
278
  # The output format for the private key.
475
279
  # Only provided in `CreateServiceAccountKey` responses, not
476
280
  # in `GetServiceAccountKey` or `ListServiceAccountKey` responses.
@@ -480,10 +284,12 @@ module Google
480
284
  # @return [String]
481
285
  attr_accessor :private_key_type
482
286
 
483
- # The key can be used after this timestamp.
484
- # Corresponds to the JSON property `validAfterTime`
287
+ # The private key data. Only provided in `CreateServiceAccountKey`
288
+ # responses.
289
+ # Corresponds to the JSON property `privateKeyData`
290
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
485
291
  # @return [String]
486
- attr_accessor :valid_after_time
292
+ attr_accessor :private_key_data
487
293
 
488
294
  def initialize(**args)
489
295
  update!(**args)
@@ -491,13 +297,13 @@ module Google
491
297
 
492
298
  # Update properties of this object
493
299
  def update!(**args)
494
- @private_key_data = args[:private_key_data] if args.key?(:private_key_data)
495
300
  @public_key_data = args[:public_key_data] if args.key?(:public_key_data)
496
301
  @name = args[:name] if args.key?(:name)
497
302
  @valid_before_time = args[:valid_before_time] if args.key?(:valid_before_time)
498
303
  @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm)
499
- @private_key_type = args[:private_key_type] if args.key?(:private_key_type)
500
304
  @valid_after_time = args[:valid_after_time] if args.key?(:valid_after_time)
305
+ @private_key_type = args[:private_key_type] if args.key?(:private_key_type)
306
+ @private_key_data = args[:private_key_data] if args.key?(:private_key_data)
501
307
  end
502
308
  end
503
309
 
@@ -505,13 +311,6 @@ module Google
505
311
  class CreateServiceAccountKeyRequest
506
312
  include Google::Apis::Core::Hashable
507
313
 
508
- # Which type of key and algorithm to use for the key.
509
- # The default is currently a 2K RSA key. However this may change in the
510
- # future.
511
- # Corresponds to the JSON property `keyAlgorithm`
512
- # @return [String]
513
- attr_accessor :key_algorithm
514
-
515
314
  # The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the
516
315
  # default output format.
517
316
  # Corresponds to the JSON property `privateKeyType`
@@ -524,31 +323,36 @@ module Google
524
323
  attr_accessor :include_public_key_data
525
324
  alias_method :include_public_key_data?, :include_public_key_data
526
325
 
326
+ # Which type of key and algorithm to use for the key.
327
+ # The default is currently a 2K RSA key. However this may change in the
328
+ # future.
329
+ # Corresponds to the JSON property `keyAlgorithm`
330
+ # @return [String]
331
+ attr_accessor :key_algorithm
332
+
527
333
  def initialize(**args)
528
334
  update!(**args)
529
335
  end
530
336
 
531
337
  # Update properties of this object
532
338
  def update!(**args)
533
- @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm)
534
339
  @private_key_type = args[:private_key_type] if args.key?(:private_key_type)
535
340
  @include_public_key_data = args[:include_public_key_data] if args.key?(:include_public_key_data)
341
+ @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm)
536
342
  end
537
343
  end
538
344
 
539
- # The service account sign JWT response.
540
- class SignJwtResponse
345
+ # Request message for `TestIamPermissions` method.
346
+ class TestIamPermissionsRequest
541
347
  include Google::Apis::Core::Hashable
542
348
 
543
- # The id of the key used to sign the JWT.
544
- # Corresponds to the JSON property `keyId`
545
- # @return [String]
546
- attr_accessor :key_id
547
-
548
- # The signed JWT.
549
- # Corresponds to the JSON property `signedJwt`
550
- # @return [String]
551
- attr_accessor :signed_jwt
349
+ # The set of permissions to check for the `resource`. Permissions with
350
+ # wildcards (such as '*' or 'storage.*') are not allowed. For more
351
+ # information see
352
+ # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
353
+ # Corresponds to the JSON property `permissions`
354
+ # @return [Array<String>]
355
+ attr_accessor :permissions
552
356
 
553
357
  def initialize(**args)
554
358
  update!(**args)
@@ -556,8 +360,7 @@ module Google
556
360
 
557
361
  # Update properties of this object
558
362
  def update!(**args)
559
- @key_id = args[:key_id] if args.key?(:key_id)
560
- @signed_jwt = args[:signed_jwt] if args.key?(:signed_jwt)
363
+ @permissions = args[:permissions] if args.key?(:permissions)
561
364
  end
562
365
  end
563
366
 
@@ -565,58 +368,41 @@ module Google
565
368
  class SignBlobResponse
566
369
  include Google::Apis::Core::Hashable
567
370
 
568
- # The signed blob.
569
- # Corresponds to the JSON property `signature`
570
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
571
- # @return [String]
572
- attr_accessor :signature
573
-
574
371
  # The id of the key used to sign the blob.
575
372
  # Corresponds to the JSON property `keyId`
576
373
  # @return [String]
577
374
  attr_accessor :key_id
578
375
 
376
+ # The signed blob.
377
+ # Corresponds to the JSON property `signature`
378
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
379
+ # @return [String]
380
+ attr_accessor :signature
381
+
579
382
  def initialize(**args)
580
383
  update!(**args)
581
384
  end
582
385
 
583
386
  # Update properties of this object
584
387
  def update!(**args)
585
- @signature = args[:signature] if args.key?(:signature)
586
- @key_id = args[:key_id] if args.key?(:key_id)
587
- end
588
- end
589
-
590
- # Request message for `TestIamPermissions` method.
591
- class TestIamPermissionsRequest
592
- include Google::Apis::Core::Hashable
593
-
594
- # The set of permissions to check for the `resource`. Permissions with
595
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
596
- # information see
597
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
598
- # Corresponds to the JSON property `permissions`
599
- # @return [Array<String>]
600
- attr_accessor :permissions
601
-
602
- def initialize(**args)
603
- update!(**args)
604
- end
605
-
606
- # Update properties of this object
607
- def update!(**args)
608
- @permissions = args[:permissions] if args.key?(:permissions)
388
+ @key_id = args[:key_id] if args.key?(:key_id)
389
+ @signature = args[:signature] if args.key?(:signature)
609
390
  end
610
391
  end
611
392
 
612
- # The service account sign JWT request.
613
- class SignJwtRequest
393
+ # The service account sign JWT response.
394
+ class SignJwtResponse
614
395
  include Google::Apis::Core::Hashable
615
396
 
616
- # The JWT payload to sign, a JSON JWT Claim set.
617
- # Corresponds to the JSON property `payload`
397
+ # The id of the key used to sign the JWT.
398
+ # Corresponds to the JSON property `keyId`
618
399
  # @return [String]
619
- attr_accessor :payload
400
+ attr_accessor :key_id
401
+
402
+ # The signed JWT.
403
+ # Corresponds to the JSON property `signedJwt`
404
+ # @return [String]
405
+ attr_accessor :signed_jwt
620
406
 
621
407
  def initialize(**args)
622
408
  update!(**args)
@@ -624,7 +410,8 @@ module Google
624
410
 
625
411
  # Update properties of this object
626
412
  def update!(**args)
627
- @payload = args[:payload] if args.key?(:payload)
413
+ @key_id = args[:key_id] if args.key?(:key_id)
414
+ @signed_jwt = args[:signed_jwt] if args.key?(:signed_jwt)
628
415
  end
629
416
  end
630
417
 
@@ -695,6 +482,25 @@ module Google
695
482
  end
696
483
  end
697
484
 
485
+ # The service account sign JWT request.
486
+ class SignJwtRequest
487
+ include Google::Apis::Core::Hashable
488
+
489
+ # The JWT payload to sign, a JSON JWT Claim set.
490
+ # Corresponds to the JSON property `payload`
491
+ # @return [String]
492
+ attr_accessor :payload
493
+
494
+ def initialize(**args)
495
+ update!(**args)
496
+ end
497
+
498
+ # Update properties of this object
499
+ def update!(**args)
500
+ @payload = args[:payload] if args.key?(:payload)
501
+ end
502
+ end
503
+
698
504
  # Audit log information specific to Cloud IAM. This message is serialized
699
505
  # as an `Any` type in the `ServiceData` message of an
700
506
  # `AuditLog` message.
@@ -721,13 +527,6 @@ module Google
721
527
  class BindingDelta
722
528
  include Google::Apis::Core::Hashable
723
529
 
724
- # Role that is assigned to `members`.
725
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
726
- # Required
727
- # Corresponds to the JSON property `role`
728
- # @return [String]
729
- attr_accessor :role
730
-
731
530
  # The action that was performed on a Binding.
732
531
  # Required
733
532
  # Corresponds to the JSON property `action`
@@ -741,15 +540,22 @@ module Google
741
540
  # @return [String]
742
541
  attr_accessor :member
743
542
 
543
+ # Role that is assigned to `members`.
544
+ # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
545
+ # Required
546
+ # Corresponds to the JSON property `role`
547
+ # @return [String]
548
+ attr_accessor :role
549
+
744
550
  def initialize(**args)
745
551
  update!(**args)
746
552
  end
747
553
 
748
554
  # Update properties of this object
749
555
  def update!(**args)
750
- @role = args[:role] if args.key?(:role)
751
556
  @action = args[:action] if args.key?(:action)
752
557
  @member = args[:member] if args.key?(:member)
558
+ @role = args[:role] if args.key?(:role)
753
559
  end
754
560
  end
755
561
 
@@ -771,6 +577,200 @@ module Google
771
577
  @binding_deltas = args[:binding_deltas] if args.key?(:binding_deltas)
772
578
  end
773
579
  end
580
+
581
+ # The service account list response.
582
+ class ListServiceAccountsResponse
583
+ include Google::Apis::Core::Hashable
584
+
585
+ # To retrieve the next page of results, set
586
+ # ListServiceAccountsRequest.page_token
587
+ # to this value.
588
+ # Corresponds to the JSON property `nextPageToken`
589
+ # @return [String]
590
+ attr_accessor :next_page_token
591
+
592
+ # The list of matching service accounts.
593
+ # Corresponds to the JSON property `accounts`
594
+ # @return [Array<Google::Apis::IamV1::ServiceAccount>]
595
+ attr_accessor :accounts
596
+
597
+ def initialize(**args)
598
+ update!(**args)
599
+ end
600
+
601
+ # Update properties of this object
602
+ def update!(**args)
603
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
604
+ @accounts = args[:accounts] if args.key?(:accounts)
605
+ end
606
+ end
607
+
608
+ # The service account create request.
609
+ class CreateServiceAccountRequest
610
+ include Google::Apis::Core::Hashable
611
+
612
+ # A service account in the Identity and Access Management API.
613
+ # To create a service account, specify the `project_id` and the `account_id`
614
+ # for the account. The `account_id` is unique within the project, and is used
615
+ # to generate the service account email address and a stable
616
+ # `unique_id`.
617
+ # If the account already exists, the account's resource name is returned
618
+ # in util::Status's ResourceInfo.resource_name in the format of
619
+ # projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`. The caller can
620
+ # use the name in other methods to access the account.
621
+ # All other methods can identify the service account using the format
622
+ # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``.
623
+ # Using `-` as a wildcard for the project will infer the project from
624
+ # the account. The `account` value can be the `email` address or the
625
+ # `unique_id` of the service account.
626
+ # Corresponds to the JSON property `serviceAccount`
627
+ # @return [Google::Apis::IamV1::ServiceAccount]
628
+ attr_accessor :service_account
629
+
630
+ # Required. The account id that is used to generate the service account
631
+ # email address and a stable unique id. It is unique within a project,
632
+ # must be 6-30 characters long, and match the regular expression
633
+ # `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.
634
+ # Corresponds to the JSON property `accountId`
635
+ # @return [String]
636
+ attr_accessor :account_id
637
+
638
+ def initialize(**args)
639
+ update!(**args)
640
+ end
641
+
642
+ # Update properties of this object
643
+ def update!(**args)
644
+ @service_account = args[:service_account] if args.key?(:service_account)
645
+ @account_id = args[:account_id] if args.key?(:account_id)
646
+ end
647
+ end
648
+
649
+ # The grantable role query response.
650
+ class QueryGrantableRolesResponse
651
+ include Google::Apis::Core::Hashable
652
+
653
+ # The list of matching roles.
654
+ # Corresponds to the JSON property `roles`
655
+ # @return [Array<Google::Apis::IamV1::Role>]
656
+ attr_accessor :roles
657
+
658
+ # To retrieve the next page of results, set
659
+ # `QueryGrantableRolesRequest.page_token` to this value.
660
+ # Corresponds to the JSON property `nextPageToken`
661
+ # @return [String]
662
+ attr_accessor :next_page_token
663
+
664
+ def initialize(**args)
665
+ update!(**args)
666
+ end
667
+
668
+ # Update properties of this object
669
+ def update!(**args)
670
+ @roles = args[:roles] if args.key?(:roles)
671
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
672
+ end
673
+ end
674
+
675
+ # The service account sign blob request.
676
+ class SignBlobRequest
677
+ include Google::Apis::Core::Hashable
678
+
679
+ # The bytes to sign.
680
+ # Corresponds to the JSON property `bytesToSign`
681
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
682
+ # @return [String]
683
+ attr_accessor :bytes_to_sign
684
+
685
+ def initialize(**args)
686
+ update!(**args)
687
+ end
688
+
689
+ # Update properties of this object
690
+ def update!(**args)
691
+ @bytes_to_sign = args[:bytes_to_sign] if args.key?(:bytes_to_sign)
692
+ end
693
+ end
694
+
695
+ # A role in the Identity and Access Management API.
696
+ class Role
697
+ include Google::Apis::Core::Hashable
698
+
699
+ # The name of the role.
700
+ # When Role is used in CreateRole, the role name must not be set.
701
+ # When Role is used in output and other input such as UpdateRole, the role
702
+ # name is the complete path, e.g., roles/logging.viewer for curated roles
703
+ # and organizations/`ORGANIZATION_ID`/roles/logging.viewer for custom roles.
704
+ # Corresponds to the JSON property `name`
705
+ # @return [String]
706
+ attr_accessor :name
707
+
708
+ # Optional. A human-readable description for the role.
709
+ # Corresponds to the JSON property `description`
710
+ # @return [String]
711
+ attr_accessor :description
712
+
713
+ # Optional. A human-readable title for the role. Typically this
714
+ # is limited to 100 UTF-8 bytes.
715
+ # Corresponds to the JSON property `title`
716
+ # @return [String]
717
+ attr_accessor :title
718
+
719
+ def initialize(**args)
720
+ update!(**args)
721
+ end
722
+
723
+ # Update properties of this object
724
+ def update!(**args)
725
+ @name = args[:name] if args.key?(:name)
726
+ @description = args[:description] if args.key?(:description)
727
+ @title = args[:title] if args.key?(:title)
728
+ end
729
+ end
730
+
731
+ # Request message for `SetIamPolicy` method.
732
+ class SetIamPolicyRequest
733
+ include Google::Apis::Core::Hashable
734
+
735
+ # Defines an Identity and Access Management (IAM) policy. It is used to
736
+ # specify access control policies for Cloud Platform resources.
737
+ # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
738
+ # `members` to a `role`, where the members can be user accounts, Google groups,
739
+ # Google domains, and service accounts. A `role` is a named list of permissions
740
+ # defined by IAM.
741
+ # **Example**
742
+ # `
743
+ # "bindings": [
744
+ # `
745
+ # "role": "roles/owner",
746
+ # "members": [
747
+ # "user:mike@example.com",
748
+ # "group:admins@example.com",
749
+ # "domain:google.com",
750
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
751
+ # ]
752
+ # `,
753
+ # `
754
+ # "role": "roles/viewer",
755
+ # "members": ["user:sean@example.com"]
756
+ # `
757
+ # ]
758
+ # `
759
+ # For a description of IAM and its features, see the
760
+ # [IAM developer's guide](https://cloud.google.com/iam).
761
+ # Corresponds to the JSON property `policy`
762
+ # @return [Google::Apis::IamV1::Policy]
763
+ attr_accessor :policy
764
+
765
+ def initialize(**args)
766
+ update!(**args)
767
+ end
768
+
769
+ # Update properties of this object
770
+ def update!(**args)
771
+ @policy = args[:policy] if args.key?(:policy)
772
+ end
773
+ end
774
774
  end
775
775
  end
776
776
  end