google-api-client 0.13.2 → 0.13.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (524) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +149 -0
  3. data/bin/generate-api +6 -2
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
  12. data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
  13. data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
  14. data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
  15. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
  16. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
  20. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
  22. data/generated/google/apis/adexchangeseller_v1.rb +37 -0
  23. data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
  24. data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
  25. data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
  26. data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
  27. data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
  28. data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
  29. data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
  30. data/generated/google/apis/adexperiencereport_v1.rb +35 -0
  31. data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
  32. data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
  33. data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
  34. data/generated/google/apis/admin_directory_v1.rb +1 -1
  35. data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
  36. data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
  37. data/generated/google/apis/admin_directory_v1/service.rb +39 -0
  38. data/generated/google/apis/adsense_v1_4.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  40. data/generated/google/apis/analytics_v2_4.rb +37 -0
  41. data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
  42. data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
  43. data/generated/google/apis/analytics_v2_4/service.rb +345 -0
  44. data/generated/google/apis/analytics_v3.rb +1 -1
  45. data/generated/google/apis/analytics_v3/classes.rb +15 -2
  46. data/generated/google/apis/analytics_v3/representations.rb +3 -0
  47. data/generated/google/apis/analyticsreporting_v4.rb +4 -4
  48. data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
  49. data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
  50. data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
  51. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
  52. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
  53. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
  54. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  55. data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
  56. data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
  57. data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
  58. data/generated/google/apis/androidmanagement_v1.rb +35 -0
  59. data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
  60. data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
  61. data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
  62. data/generated/google/apis/androidpublisher_v1.rb +34 -0
  63. data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
  64. data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
  65. data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
  66. data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
  67. data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
  68. data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
  69. data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
  70. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  71. data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
  72. data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
  73. data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
  74. data/generated/google/apis/appengine_v1.rb +4 -4
  75. data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
  76. data/generated/google/apis/appengine_v1/representations.rb +351 -335
  77. data/generated/google/apis/appengine_v1/service.rb +255 -239
  78. data/generated/google/apis/appengine_v1alpha.rb +41 -0
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
  80. data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
  81. data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
  82. data/generated/google/apis/appengine_v1beta.rb +41 -0
  83. data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
  84. data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
  85. data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
  86. data/generated/google/apis/appengine_v1beta4.rb +41 -0
  87. data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
  88. data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
  89. data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
  90. data/generated/google/apis/appengine_v1beta5.rb +41 -0
  91. data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
  92. data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
  93. data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
  94. data/generated/google/apis/appsactivity_v1.rb +1 -1
  95. data/generated/google/apis/appstate_v1.rb +1 -1
  96. data/generated/google/apis/bigquery_v2.rb +1 -1
  97. data/generated/google/apis/bigquery_v2/classes.rb +106 -18
  98. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  99. data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
  100. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
  101. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
  102. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
  103. data/generated/google/apis/blogger_v2.rb +34 -0
  104. data/generated/google/apis/blogger_v2/classes.rb +947 -0
  105. data/generated/google/apis/blogger_v2/representations.rb +465 -0
  106. data/generated/google/apis/blogger_v2/service.rb +424 -0
  107. data/generated/google/apis/calendar_v3.rb +1 -1
  108. data/generated/google/apis/calendar_v3/classes.rb +4 -207
  109. data/generated/google/apis/calendar_v3/representations.rb +0 -97
  110. data/generated/google/apis/calendar_v3/service.rb +8 -4
  111. data/generated/google/apis/classroom_v1.rb +27 -27
  112. data/generated/google/apis/classroom_v1/classes.rb +1037 -926
  113. data/generated/google/apis/classroom_v1/representations.rb +294 -244
  114. data/generated/google/apis/classroom_v1/service.rb +1114 -1109
  115. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  116. data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
  117. data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
  118. data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
  119. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  120. data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
  121. data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
  122. data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
  123. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  124. data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
  125. data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
  126. data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
  127. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  128. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
  129. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
  130. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
  131. data/generated/google/apis/cloudfunctions_v1.rb +4 -1
  132. data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
  133. data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
  135. data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
  136. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
  137. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
  138. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
  139. data/generated/google/apis/cloudkms_v1.rb +1 -1
  140. data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
  141. data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
  142. data/generated/google/apis/cloudkms_v1/service.rb +320 -320
  143. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  145. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
  146. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
  147. data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
  148. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  149. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
  150. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
  151. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
  152. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
  153. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
  154. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
  155. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
  156. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  157. data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
  158. data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
  159. data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
  160. data/generated/google/apis/cloudtrace_v2.rb +43 -0
  161. data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
  162. data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
  163. data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
  164. data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
  165. data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
  166. data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
  167. data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
  168. data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
  169. data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
  170. data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
  171. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
  172. data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
  173. data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
  174. data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
  175. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
  176. data/generated/google/apis/compute_alpha.rb +49 -0
  177. data/generated/google/apis/compute_alpha/classes.rb +23796 -0
  178. data/generated/google/apis/compute_alpha/representations.rb +9391 -0
  179. data/generated/google/apis/compute_alpha/service.rb +24188 -0
  180. data/generated/google/apis/compute_beta.rb +1 -1
  181. data/generated/google/apis/compute_beta/classes.rb +1597 -235
  182. data/generated/google/apis/compute_beta/representations.rb +477 -0
  183. data/generated/google/apis/compute_beta/service.rb +2875 -1677
  184. data/generated/google/apis/compute_v1.rb +1 -1
  185. data/generated/google/apis/compute_v1/classes.rb +319 -197
  186. data/generated/google/apis/compute_v1/representations.rb +51 -0
  187. data/generated/google/apis/compute_v1/service.rb +2057 -172
  188. data/generated/google/apis/consumersurveys_v2.rb +40 -0
  189. data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
  190. data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
  191. data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
  192. data/generated/google/apis/container_v1.rb +1 -1
  193. data/generated/google/apis/container_v1/classes.rb +1072 -936
  194. data/generated/google/apis/container_v1/representations.rb +266 -202
  195. data/generated/google/apis/container_v1/service.rb +243 -243
  196. data/generated/google/apis/container_v1beta1.rb +35 -0
  197. data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
  198. data/generated/google/apis/container_v1beta1/representations.rb +662 -0
  199. data/generated/google/apis/container_v1beta1/service.rb +1875 -0
  200. data/generated/google/apis/content_v2.rb +1 -1
  201. data/generated/google/apis/content_v2/classes.rb +72 -3
  202. data/generated/google/apis/content_v2/representations.rb +23 -0
  203. data/generated/google/apis/content_v2/service.rb +23 -18
  204. data/generated/google/apis/content_v2sandbox.rb +35 -0
  205. data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
  206. data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
  207. data/generated/google/apis/content_v2sandbox/service.rb +709 -0
  208. data/generated/google/apis/dataflow_v1b3.rb +5 -5
  209. data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
  210. data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
  211. data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
  212. data/generated/google/apis/dataproc_v1.rb +1 -1
  213. data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
  214. data/generated/google/apis/dataproc_v1/representations.rb +227 -227
  215. data/generated/google/apis/dataproc_v1/service.rb +254 -254
  216. data/generated/google/apis/dataproc_v1beta2.rb +34 -0
  217. data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
  218. data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
  219. data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
  220. data/generated/google/apis/datastore_v1.rb +4 -4
  221. data/generated/google/apis/datastore_v1/classes.rb +1311 -773
  222. data/generated/google/apis/datastore_v1/representations.rb +351 -148
  223. data/generated/google/apis/datastore_v1/service.rb +206 -55
  224. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  225. data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
  226. data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
  227. data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
  228. data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
  229. data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
  230. data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
  231. data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
  232. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  233. data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
  234. data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
  235. data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
  236. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
  237. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
  238. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
  239. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  240. data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
  241. data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
  242. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  243. data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
  244. data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
  245. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
  246. data/generated/google/apis/dlp_v2beta1.rb +36 -0
  247. data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
  248. data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
  249. data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
  250. data/generated/google/apis/dns_v1.rb +1 -1
  251. data/generated/google/apis/dns_v2beta1.rb +1 -1
  252. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  253. data/generated/google/apis/drive_v2.rb +1 -1
  254. data/generated/google/apis/drive_v3.rb +1 -1
  255. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  256. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
  257. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
  258. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
  259. data/generated/google/apis/firebaserules_v1.rb +1 -1
  260. data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
  261. data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
  262. data/generated/google/apis/firebaserules_v1/service.rb +113 -113
  263. data/generated/google/apis/fitness_v1.rb +1 -1
  264. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  265. data/generated/google/apis/fusiontables_v1.rb +37 -0
  266. data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
  267. data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
  268. data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
  269. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  270. data/generated/google/apis/games_management_v1management.rb +1 -1
  271. data/generated/google/apis/games_v1.rb +1 -1
  272. data/generated/google/apis/genomics_v1.rb +8 -8
  273. data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
  274. data/generated/google/apis/genomics_v1/representations.rb +482 -482
  275. data/generated/google/apis/genomics_v1/service.rb +966 -966
  276. data/generated/google/apis/genomics_v1alpha2.rb +40 -0
  277. data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
  278. data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
  279. data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
  280. data/generated/google/apis/gmail_v1.rb +1 -1
  281. data/generated/google/apis/iam_v1.rb +1 -1
  282. data/generated/google/apis/iam_v1/classes.rb +664 -395
  283. data/generated/google/apis/iam_v1/representations.rb +194 -81
  284. data/generated/google/apis/iam_v1/service.rb +657 -92
  285. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  286. data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
  287. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  288. data/generated/google/apis/kgsearch_v1/service.rb +8 -8
  289. data/generated/google/apis/language_v1.rb +4 -1
  290. data/generated/google/apis/language_v1/classes.rb +393 -393
  291. data/generated/google/apis/language_v1/representations.rb +95 -95
  292. data/generated/google/apis/language_v1/service.rb +42 -42
  293. data/generated/google/apis/language_v1beta1.rb +4 -1
  294. data/generated/google/apis/language_v1beta1/classes.rb +457 -457
  295. data/generated/google/apis/language_v1beta1/representations.rb +114 -114
  296. data/generated/google/apis/language_v1beta1/service.rb +48 -48
  297. data/generated/google/apis/language_v1beta2.rb +39 -0
  298. data/generated/google/apis/language_v1beta2/classes.rb +824 -0
  299. data/generated/google/apis/language_v1beta2/representations.rb +373 -0
  300. data/generated/google/apis/language_v1beta2/service.rb +217 -0
  301. data/generated/google/apis/logging_v2.rb +9 -9
  302. data/generated/google/apis/logging_v2/classes.rb +840 -834
  303. data/generated/google/apis/logging_v2/representations.rb +168 -167
  304. data/generated/google/apis/logging_v2/service.rb +667 -463
  305. data/generated/google/apis/logging_v2beta1.rb +9 -9
  306. data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
  307. data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
  308. data/generated/google/apis/logging_v2beta1/service.rb +253 -255
  309. data/generated/google/apis/manufacturers_v1.rb +1 -1
  310. data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
  311. data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
  312. data/generated/google/apis/manufacturers_v1/service.rb +8 -7
  313. data/generated/google/apis/ml_v1.rb +1 -1
  314. data/generated/google/apis/ml_v1/classes.rb +1487 -1676
  315. data/generated/google/apis/ml_v1/representations.rb +229 -299
  316. data/generated/google/apis/ml_v1/service.rb +359 -253
  317. data/generated/google/apis/ml_v1beta1.rb +34 -0
  318. data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
  319. data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
  320. data/generated/google/apis/ml_v1beta1/service.rb +975 -0
  321. data/generated/google/apis/monitoring_v3.rb +6 -6
  322. data/generated/google/apis/monitoring_v3/classes.rb +834 -834
  323. data/generated/google/apis/monitoring_v3/representations.rb +168 -168
  324. data/generated/google/apis/monitoring_v3/service.rb +330 -330
  325. data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
  326. data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
  327. data/generated/google/apis/mybusiness_v3/service.rb +241 -241
  328. data/generated/google/apis/oauth2_v1.rb +43 -0
  329. data/generated/google/apis/oauth2_v1/classes.rb +321 -0
  330. data/generated/google/apis/oauth2_v1/representations.rb +135 -0
  331. data/generated/google/apis/oauth2_v1/service.rb +337 -0
  332. data/generated/google/apis/oauth2_v2.rb +1 -1
  333. data/generated/google/apis/oslogin_v1alpha.rb +37 -0
  334. data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
  335. data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
  336. data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
  337. data/generated/google/apis/pagespeedonline_v1.rb +32 -0
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
  341. data/generated/google/apis/partners_v2.rb +1 -1
  342. data/generated/google/apis/partners_v2/classes.rb +1512 -1512
  343. data/generated/google/apis/partners_v2/representations.rb +368 -368
  344. data/generated/google/apis/partners_v2/service.rb +596 -596
  345. data/generated/google/apis/people_v1.rb +15 -15
  346. data/generated/google/apis/people_v1/classes.rb +1384 -1383
  347. data/generated/google/apis/people_v1/representations.rb +311 -311
  348. data/generated/google/apis/people_v1/service.rb +208 -202
  349. data/generated/google/apis/playcustomapp_v1.rb +34 -0
  350. data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
  351. data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
  352. data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
  353. data/generated/google/apis/playmoviespartner_v1.rb +34 -0
  354. data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
  355. data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
  356. data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
  357. data/generated/google/apis/plus_domains_v1.rb +1 -1
  358. data/generated/google/apis/plus_v1.rb +1 -1
  359. data/generated/google/apis/prediction_v1_2.rb +44 -0
  360. data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
  361. data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
  362. data/generated/google/apis/prediction_v1_2/service.rb +287 -0
  363. data/generated/google/apis/prediction_v1_3.rb +44 -0
  364. data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
  365. data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
  366. data/generated/google/apis/prediction_v1_3/service.rb +284 -0
  367. data/generated/google/apis/prediction_v1_4.rb +44 -0
  368. data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
  369. data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
  370. data/generated/google/apis/prediction_v1_4/service.rb +284 -0
  371. data/generated/google/apis/prediction_v1_5.rb +44 -0
  372. data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
  373. data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
  374. data/generated/google/apis/prediction_v1_5/service.rb +357 -0
  375. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  376. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
  377. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
  378. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
  379. data/generated/google/apis/pubsub_v1.rb +4 -4
  380. data/generated/google/apis/pubsub_v1/classes.rb +352 -352
  381. data/generated/google/apis/pubsub_v1/representations.rb +77 -77
  382. data/generated/google/apis/pubsub_v1/service.rb +346 -346
  383. data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
  384. data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
  385. data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
  386. data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
  387. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  388. data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
  389. data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
  390. data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
  391. data/generated/google/apis/replicapool_v1beta1.rb +50 -0
  392. data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
  393. data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
  394. data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
  395. data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
  396. data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
  397. data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
  398. data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
  399. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  400. data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
  401. data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
  402. data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
  403. data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
  404. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
  405. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
  406. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
  407. data/generated/google/apis/safebrowsing_v4.rb +32 -0
  408. data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
  409. data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
  410. data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
  411. data/generated/google/apis/script_v1.rb +19 -19
  412. data/generated/google/apis/script_v1/classes.rb +99 -157
  413. data/generated/google/apis/script_v1/representations.rb +17 -47
  414. data/generated/google/apis/script_v1/service.rb +12 -12
  415. data/generated/google/apis/searchconsole_v1.rb +1 -1
  416. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  417. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  418. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  419. data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
  420. data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
  421. data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
  422. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  423. data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
  424. data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
  425. data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
  426. data/generated/google/apis/serviceuser_v1.rb +5 -5
  427. data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
  428. data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
  429. data/generated/google/apis/serviceuser_v1/service.rb +43 -43
  430. data/generated/google/apis/sheets_v4.rb +7 -7
  431. data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
  432. data/generated/google/apis/sheets_v4/representations.rb +931 -930
  433. data/generated/google/apis/sheets_v4/service.rb +244 -244
  434. data/generated/google/apis/slides_v1.rb +10 -10
  435. data/generated/google/apis/slides_v1/classes.rb +2915 -2915
  436. data/generated/google/apis/slides_v1/representations.rb +698 -698
  437. data/generated/google/apis/slides_v1/service.rb +35 -35
  438. data/generated/google/apis/sourcerepo_v1.rb +3 -3
  439. data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
  440. data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
  441. data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
  442. data/generated/google/apis/spanner_v1.rb +4 -4
  443. data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
  444. data/generated/google/apis/spanner_v1/representations.rb +338 -323
  445. data/generated/google/apis/spanner_v1/service.rb +689 -689
  446. data/generated/google/apis/spectrum_v1explorer.rb +31 -0
  447. data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
  448. data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
  449. data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
  450. data/generated/google/apis/speech_v1.rb +34 -0
  451. data/generated/google/apis/speech_v1/classes.rb +572 -0
  452. data/generated/google/apis/speech_v1/representations.rb +236 -0
  453. data/generated/google/apis/speech_v1/service.rb +277 -0
  454. data/generated/google/apis/speech_v1beta1.rb +1 -1
  455. data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
  456. data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
  457. data/generated/google/apis/speech_v1beta1/service.rb +46 -46
  458. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  459. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
  460. data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
  461. data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
  462. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  463. data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
  464. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  465. data/generated/google/apis/storage_v1.rb +1 -1
  466. data/generated/google/apis/storage_v1/classes.rb +7 -6
  467. data/generated/google/apis/storage_v1/service.rb +51 -29
  468. data/generated/google/apis/storage_v1beta1.rb +40 -0
  469. data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
  470. data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
  471. data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
  472. data/generated/google/apis/storage_v1beta2.rb +40 -0
  473. data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
  474. data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
  475. data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
  476. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  477. data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
  478. data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
  479. data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
  480. data/generated/google/apis/streetviewpublish_v1.rb +36 -0
  481. data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
  482. data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
  483. data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
  484. data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
  485. data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
  486. data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
  487. data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
  488. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  489. data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
  490. data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
  491. data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
  492. data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
  493. data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
  494. data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
  495. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
  496. data/generated/google/apis/translate_v2/classes.rb +111 -111
  497. data/generated/google/apis/translate_v2/representations.rb +49 -49
  498. data/generated/google/apis/translate_v2/service.rb +94 -94
  499. data/generated/google/apis/vault_v1.rb +31 -0
  500. data/generated/google/apis/vault_v1/classes.rb +554 -0
  501. data/generated/google/apis/vault_v1/representations.rb +318 -0
  502. data/generated/google/apis/vault_v1/service.rb +677 -0
  503. data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
  504. data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
  505. data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
  506. data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
  507. data/generated/google/apis/vision_v1.rb +4 -4
  508. data/generated/google/apis/vision_v1/classes.rb +1176 -1178
  509. data/generated/google/apis/vision_v1/representations.rb +235 -235
  510. data/generated/google/apis/webmasters_v3.rb +1 -1
  511. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  512. data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
  513. data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
  514. data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
  515. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
  516. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  517. data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
  518. data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
  519. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  520. data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
  521. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  522. data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
  523. data/lib/google/apis/version.rb +1 -1
  524. metadata +246 -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 = '20170626'
28
+ REVISION = '20170620'
29
29
 
30
30
  # Read, send, delete, and manage your email
31
31
  AUTH_SCOPE = 'https://mail.google.com/'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/iam/
28
28
  module IamV1
29
29
  VERSION = 'V1'
30
- REVISION = '20170622'
30
+ REVISION = '20170811'
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'
@@ -22,6 +22,166 @@ module Google
22
22
  module Apis
23
23
  module IamV1
24
24
 
25
+ # Audit log information specific to Cloud IAM. This message is serialized
26
+ # as an `Any` type in the `ServiceData` message of an
27
+ # `AuditLog` message.
28
+ class AuditData
29
+ include Google::Apis::Core::Hashable
30
+
31
+ # The difference delta between two policies.
32
+ # Corresponds to the JSON property `policyDelta`
33
+ # @return [Google::Apis::IamV1::PolicyDelta]
34
+ attr_accessor :policy_delta
35
+
36
+ def initialize(**args)
37
+ update!(**args)
38
+ end
39
+
40
+ # Update properties of this object
41
+ def update!(**args)
42
+ @policy_delta = args[:policy_delta] if args.key?(:policy_delta)
43
+ end
44
+ end
45
+
46
+ # Associates `members` with a `role`.
47
+ class Binding
48
+ include Google::Apis::Core::Hashable
49
+
50
+ # Specifies the identities requesting access for a Cloud Platform resource.
51
+ # `members` can have the following values:
52
+ # * `allUsers`: A special identifier that represents anyone who is
53
+ # on the internet; with or without a Google account.
54
+ # * `allAuthenticatedUsers`: A special identifier that represents anyone
55
+ # who is authenticated with a Google account or a service account.
56
+ # * `user:`emailid``: An email address that represents a specific Google
57
+ # account. For example, `alice@gmail.com` or `joe@example.com`.
58
+ # * `serviceAccount:`emailid``: An email address that represents a service
59
+ # account. For example, `my-other-app@appspot.gserviceaccount.com`.
60
+ # * `group:`emailid``: An email address that represents a Google group.
61
+ # For example, `admins@example.com`.
62
+ # * `domain:`domain``: A Google Apps domain name that represents all the
63
+ # users of that domain. For example, `google.com` or `example.com`.
64
+ # Corresponds to the JSON property `members`
65
+ # @return [Array<String>]
66
+ attr_accessor :members
67
+
68
+ # Role that is assigned to `members`.
69
+ # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
70
+ # Required
71
+ # Corresponds to the JSON property `role`
72
+ # @return [String]
73
+ attr_accessor :role
74
+
75
+ def initialize(**args)
76
+ update!(**args)
77
+ end
78
+
79
+ # Update properties of this object
80
+ def update!(**args)
81
+ @members = args[:members] if args.key?(:members)
82
+ @role = args[:role] if args.key?(:role)
83
+ end
84
+ end
85
+
86
+ # One delta entry for Binding. Each individual change (only one member in each
87
+ # entry) to a binding will be a separate entry.
88
+ class BindingDelta
89
+ include Google::Apis::Core::Hashable
90
+
91
+ # The action that was performed on a Binding.
92
+ # Required
93
+ # Corresponds to the JSON property `action`
94
+ # @return [String]
95
+ attr_accessor :action
96
+
97
+ # Represents an expression text. Example:
98
+ # title: "User account presence"
99
+ # description: "Determines whether the request has a user account"
100
+ # expression: "size(request.user) > 0"
101
+ # Corresponds to the JSON property `condition`
102
+ # @return [Google::Apis::IamV1::Expr]
103
+ attr_accessor :condition
104
+
105
+ # A single identity requesting access for a Cloud Platform resource.
106
+ # Follows the same format of Binding.members.
107
+ # Required
108
+ # Corresponds to the JSON property `member`
109
+ # @return [String]
110
+ attr_accessor :member
111
+
112
+ # Role that is assigned to `members`.
113
+ # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
114
+ # Required
115
+ # Corresponds to the JSON property `role`
116
+ # @return [String]
117
+ attr_accessor :role
118
+
119
+ def initialize(**args)
120
+ update!(**args)
121
+ end
122
+
123
+ # Update properties of this object
124
+ def update!(**args)
125
+ @action = args[:action] if args.key?(:action)
126
+ @condition = args[:condition] if args.key?(:condition)
127
+ @member = args[:member] if args.key?(:member)
128
+ @role = args[:role] if args.key?(:role)
129
+ end
130
+ end
131
+
132
+ # The request to create a new role.
133
+ class CreateRoleRequest
134
+ include Google::Apis::Core::Hashable
135
+
136
+ # A role in the Identity and Access Management API.
137
+ # Corresponds to the JSON property `role`
138
+ # @return [Google::Apis::IamV1::Role]
139
+ attr_accessor :role
140
+
141
+ # The role id to use for this role.
142
+ # Corresponds to the JSON property `roleId`
143
+ # @return [String]
144
+ attr_accessor :role_id
145
+
146
+ def initialize(**args)
147
+ update!(**args)
148
+ end
149
+
150
+ # Update properties of this object
151
+ def update!(**args)
152
+ @role = args[:role] if args.key?(:role)
153
+ @role_id = args[:role_id] if args.key?(:role_id)
154
+ end
155
+ end
156
+
157
+ # The service account key create request.
158
+ class CreateServiceAccountKeyRequest
159
+ include Google::Apis::Core::Hashable
160
+
161
+ # Which type of key and algorithm to use for the key.
162
+ # The default is currently a 2K RSA key. However this may change in the
163
+ # future.
164
+ # Corresponds to the JSON property `keyAlgorithm`
165
+ # @return [String]
166
+ attr_accessor :key_algorithm
167
+
168
+ # The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the
169
+ # default output format.
170
+ # Corresponds to the JSON property `privateKeyType`
171
+ # @return [String]
172
+ attr_accessor :private_key_type
173
+
174
+ def initialize(**args)
175
+ update!(**args)
176
+ end
177
+
178
+ # Update properties of this object
179
+ def update!(**args)
180
+ @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm)
181
+ @private_key_type = args[:private_key_type] if args.key?(:private_key_type)
182
+ end
183
+ end
184
+
25
185
  # The service account create request.
26
186
  class CreateServiceAccountRequest
27
187
  include Google::Apis::Core::Hashable
@@ -63,21 +223,58 @@ module Google
63
223
  end
64
224
  end
65
225
 
66
- # The service account list response.
67
- class ListServiceAccountsResponse
226
+ # A generic empty message that you can re-use to avoid defining duplicated
227
+ # empty messages in your APIs. A typical example is to use it as the request
228
+ # or the response type of an API method. For instance:
229
+ # service Foo `
230
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
231
+ # `
232
+ # The JSON representation for `Empty` is empty JSON object ````.
233
+ class Empty
68
234
  include Google::Apis::Core::Hashable
69
235
 
70
- # To retrieve the next page of results, set
71
- # ListServiceAccountsRequest.page_token
72
- # to this value.
73
- # Corresponds to the JSON property `nextPageToken`
236
+ def initialize(**args)
237
+ update!(**args)
238
+ end
239
+
240
+ # Update properties of this object
241
+ def update!(**args)
242
+ end
243
+ end
244
+
245
+ # Represents an expression text. Example:
246
+ # title: "User account presence"
247
+ # description: "Determines whether the request has a user account"
248
+ # expression: "size(request.user) > 0"
249
+ class Expr
250
+ include Google::Apis::Core::Hashable
251
+
252
+ # An optional description of the expression. This is a longer text which
253
+ # describes the expression, e.g. when hovered over it in a UI.
254
+ # Corresponds to the JSON property `description`
74
255
  # @return [String]
75
- attr_accessor :next_page_token
256
+ attr_accessor :description
76
257
 
77
- # The list of matching service accounts.
78
- # Corresponds to the JSON property `accounts`
79
- # @return [Array<Google::Apis::IamV1::ServiceAccount>]
80
- attr_accessor :accounts
258
+ # Textual representation of an expression in
259
+ # Common Expression Language syntax.
260
+ # The application context of the containing message determines which
261
+ # well-known feature set of CEL is supported.
262
+ # Corresponds to the JSON property `expression`
263
+ # @return [String]
264
+ attr_accessor :expression
265
+
266
+ # An optional string indicating the location of the expression for error
267
+ # reporting, e.g. a file name and a position in the file.
268
+ # Corresponds to the JSON property `location`
269
+ # @return [String]
270
+ attr_accessor :location
271
+
272
+ # An optional title for the expression, i.e. a short string describing
273
+ # its purpose. This can be used e.g. in UIs which allow to enter the
274
+ # expression.
275
+ # Corresponds to the JSON property `title`
276
+ # @return [String]
277
+ attr_accessor :title
81
278
 
82
279
  def initialize(**args)
83
280
  update!(**args)
@@ -85,22 +282,24 @@ module Google
85
282
 
86
283
  # Update properties of this object
87
284
  def update!(**args)
88
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
89
- @accounts = args[:accounts] if args.key?(:accounts)
285
+ @description = args[:description] if args.key?(:description)
286
+ @expression = args[:expression] if args.key?(:expression)
287
+ @location = args[:location] if args.key?(:location)
288
+ @title = args[:title] if args.key?(:title)
90
289
  end
91
290
  end
92
291
 
93
- # The grantable role query response.
94
- class QueryGrantableRolesResponse
292
+ # The response containing the roles defined under a resource.
293
+ class ListRolesResponse
95
294
  include Google::Apis::Core::Hashable
96
295
 
97
296
  # To retrieve the next page of results, set
98
- # `QueryGrantableRolesRequest.page_token` to this value.
297
+ # `ListRolesRequest.page_token` to this value.
99
298
  # Corresponds to the JSON property `nextPageToken`
100
299
  # @return [String]
101
300
  attr_accessor :next_page_token
102
301
 
103
- # The list of matching roles.
302
+ # The Roles defined on this resource.
104
303
  # Corresponds to the JSON property `roles`
105
304
  # @return [Array<Google::Apis::IamV1::Role>]
106
305
  attr_accessor :roles
@@ -116,15 +315,40 @@ module Google
116
315
  end
117
316
  end
118
317
 
119
- # The service account sign blob request.
120
- class SignBlobRequest
318
+ # The service account keys list response.
319
+ class ListServiceAccountKeysResponse
121
320
  include Google::Apis::Core::Hashable
122
321
 
123
- # The bytes to sign.
124
- # Corresponds to the JSON property `bytesToSign`
125
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
322
+ # The public keys for the service account.
323
+ # Corresponds to the JSON property `keys`
324
+ # @return [Array<Google::Apis::IamV1::ServiceAccountKey>]
325
+ attr_accessor :keys
326
+
327
+ def initialize(**args)
328
+ update!(**args)
329
+ end
330
+
331
+ # Update properties of this object
332
+ def update!(**args)
333
+ @keys = args[:keys] if args.key?(:keys)
334
+ end
335
+ end
336
+
337
+ # The service account list response.
338
+ class ListServiceAccountsResponse
339
+ include Google::Apis::Core::Hashable
340
+
341
+ # The list of matching service accounts.
342
+ # Corresponds to the JSON property `accounts`
343
+ # @return [Array<Google::Apis::IamV1::ServiceAccount>]
344
+ attr_accessor :accounts
345
+
346
+ # To retrieve the next page of results, set
347
+ # ListServiceAccountsRequest.page_token
348
+ # to this value.
349
+ # Corresponds to the JSON property `nextPageToken`
126
350
  # @return [String]
127
- attr_accessor :bytes_to_sign
351
+ attr_accessor :next_page_token
128
352
 
129
353
  def initialize(**args)
130
354
  update!(**args)
@@ -132,33 +356,45 @@ module Google
132
356
 
133
357
  # Update properties of this object
134
358
  def update!(**args)
135
- @bytes_to_sign = args[:bytes_to_sign] if args.key?(:bytes_to_sign)
359
+ @accounts = args[:accounts] if args.key?(:accounts)
360
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
136
361
  end
137
362
  end
138
363
 
139
- # A role in the Identity and Access Management API.
140
- class Role
364
+ # A permission which can be included by a role.
365
+ class Permission
141
366
  include Google::Apis::Core::Hashable
142
367
 
143
- # Optional. A human-readable title for the role. Typically this
144
- # is limited to 100 UTF-8 bytes.
145
- # Corresponds to the JSON property `title`
368
+ # The current custom role support level.
369
+ # Corresponds to the JSON property `customRolesSupportLevel`
146
370
  # @return [String]
147
- attr_accessor :title
371
+ attr_accessor :custom_roles_support_level
148
372
 
149
- # The name of the role.
150
- # When Role is used in CreateRole, the role name must not be set.
151
- # When Role is used in output and other input such as UpdateRole, the role
152
- # name is the complete path, e.g., roles/logging.viewer for curated roles
153
- # and organizations/`ORGANIZATION_ID`/roles/logging.viewer for custom roles.
373
+ # A brief description of what this Permission is used for.
374
+ # Corresponds to the JSON property `description`
375
+ # @return [String]
376
+ attr_accessor :description
377
+
378
+ # The name of this Permission.
154
379
  # Corresponds to the JSON property `name`
155
380
  # @return [String]
156
381
  attr_accessor :name
157
382
 
158
- # Optional. A human-readable description for the role.
159
- # Corresponds to the JSON property `description`
383
+ # This permission can ONLY be used in predefined roles.
384
+ # Corresponds to the JSON property `onlyInPredefinedRoles`
385
+ # @return [Boolean]
386
+ attr_accessor :only_in_predefined_roles
387
+ alias_method :only_in_predefined_roles?, :only_in_predefined_roles
388
+
389
+ # The current launch stage of the permission.
390
+ # Corresponds to the JSON property `stage`
160
391
  # @return [String]
161
- attr_accessor :description
392
+ attr_accessor :stage
393
+
394
+ # The title of this Permission.
395
+ # Corresponds to the JSON property `title`
396
+ # @return [String]
397
+ attr_accessor :title
162
398
 
163
399
  def initialize(**args)
164
400
  update!(**args)
@@ -166,45 +402,190 @@ module Google
166
402
 
167
403
  # Update properties of this object
168
404
  def update!(**args)
169
- @title = args[:title] if args.key?(:title)
170
- @name = args[:name] if args.key?(:name)
405
+ @custom_roles_support_level = args[:custom_roles_support_level] if args.key?(:custom_roles_support_level)
171
406
  @description = args[:description] if args.key?(:description)
407
+ @name = args[:name] if args.key?(:name)
408
+ @only_in_predefined_roles = args[:only_in_predefined_roles] if args.key?(:only_in_predefined_roles)
409
+ @stage = args[:stage] if args.key?(:stage)
410
+ @title = args[:title] if args.key?(:title)
172
411
  end
173
412
  end
174
413
 
175
- # Request message for `SetIamPolicy` method.
176
- class SetIamPolicyRequest
414
+ # Defines an Identity and Access Management (IAM) policy. It is used to
415
+ # specify access control policies for Cloud Platform resources.
416
+ # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
417
+ # `members` to a `role`, where the members can be user accounts, Google groups,
418
+ # Google domains, and service accounts. A `role` is a named list of permissions
419
+ # defined by IAM.
420
+ # **Example**
421
+ # `
422
+ # "bindings": [
423
+ # `
424
+ # "role": "roles/owner",
425
+ # "members": [
426
+ # "user:mike@example.com",
427
+ # "group:admins@example.com",
428
+ # "domain:google.com",
429
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
430
+ # ]
431
+ # `,
432
+ # `
433
+ # "role": "roles/viewer",
434
+ # "members": ["user:sean@example.com"]
435
+ # `
436
+ # ]
437
+ # `
438
+ # For a description of IAM and its features, see the
439
+ # [IAM developer's guide](https://cloud.google.com/iam).
440
+ class Policy
177
441
  include Google::Apis::Core::Hashable
178
442
 
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
443
+ # Associates a list of `members` to a `role`.
444
+ # `bindings` with no members will result in an error.
445
+ # Corresponds to the JSON property `bindings`
446
+ # @return [Array<Google::Apis::IamV1::Binding>]
447
+ attr_accessor :bindings
448
+
449
+ # `etag` is used for optimistic concurrency control as a way to help
450
+ # prevent simultaneous updates of a policy from overwriting each other.
451
+ # It is strongly suggested that systems make use of the `etag` in the
452
+ # read-modify-write cycle to perform policy updates in order to avoid race
453
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
454
+ # systems are expected to put that etag in the request to `setIamPolicy` to
455
+ # ensure that their change will be applied to the same version of the policy.
456
+ # If no `etag` is provided in the call to `setIamPolicy`, then the existing
457
+ # policy is overwritten blindly.
458
+ # Corresponds to the JSON property `etag`
459
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
460
+ # @return [String]
461
+ attr_accessor :etag
462
+
463
+ # Version of the `Policy`. The default version is 0.
464
+ # Corresponds to the JSON property `version`
465
+ # @return [Fixnum]
466
+ attr_accessor :version
467
+
468
+ def initialize(**args)
469
+ update!(**args)
470
+ end
471
+
472
+ # Update properties of this object
473
+ def update!(**args)
474
+ @bindings = args[:bindings] if args.key?(:bindings)
475
+ @etag = args[:etag] if args.key?(:etag)
476
+ @version = args[:version] if args.key?(:version)
477
+ end
478
+ end
479
+
480
+ # The difference delta between two policies.
481
+ class PolicyDelta
482
+ include Google::Apis::Core::Hashable
483
+
484
+ # The delta for Bindings between two policies.
485
+ # Corresponds to the JSON property `bindingDeltas`
486
+ # @return [Array<Google::Apis::IamV1::BindingDelta>]
487
+ attr_accessor :binding_deltas
488
+
489
+ def initialize(**args)
490
+ update!(**args)
491
+ end
492
+
493
+ # Update properties of this object
494
+ def update!(**args)
495
+ @binding_deltas = args[:binding_deltas] if args.key?(:binding_deltas)
496
+ end
497
+ end
498
+
499
+ # The grantable role query request.
500
+ class QueryGrantableRolesRequest
501
+ include Google::Apis::Core::Hashable
502
+
503
+ # Required. The full resource name to query from the list of grantable roles.
504
+ # The name follows the Google Cloud Platform resource format.
505
+ # For example, a Cloud Platform project with id `my-project` will be named
506
+ # `//cloudresourcemanager.googleapis.com/projects/my-project`.
507
+ # Corresponds to the JSON property `fullResourceName`
508
+ # @return [String]
509
+ attr_accessor :full_resource_name
510
+
511
+ # Optional limit on the number of roles to include in the response.
512
+ # Corresponds to the JSON property `pageSize`
513
+ # @return [Fixnum]
514
+ attr_accessor :page_size
515
+
516
+ # Optional pagination token returned in an earlier
517
+ # QueryGrantableRolesResponse.
518
+ # Corresponds to the JSON property `pageToken`
519
+ # @return [String]
520
+ attr_accessor :page_token
521
+
522
+ #
523
+ # Corresponds to the JSON property `view`
524
+ # @return [String]
525
+ attr_accessor :view
526
+
527
+ def initialize(**args)
528
+ update!(**args)
529
+ end
530
+
531
+ # Update properties of this object
532
+ def update!(**args)
533
+ @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
534
+ @page_size = args[:page_size] if args.key?(:page_size)
535
+ @page_token = args[:page_token] if args.key?(:page_token)
536
+ @view = args[:view] if args.key?(:view)
537
+ end
538
+ end
539
+
540
+ # The grantable role query response.
541
+ class QueryGrantableRolesResponse
542
+ include Google::Apis::Core::Hashable
543
+
544
+ # To retrieve the next page of results, set
545
+ # `QueryGrantableRolesRequest.page_token` to this value.
546
+ # Corresponds to the JSON property `nextPageToken`
547
+ # @return [String]
548
+ attr_accessor :next_page_token
549
+
550
+ # The list of matching roles.
551
+ # Corresponds to the JSON property `roles`
552
+ # @return [Array<Google::Apis::IamV1::Role>]
553
+ attr_accessor :roles
554
+
555
+ def initialize(**args)
556
+ update!(**args)
557
+ end
558
+
559
+ # Update properties of this object
560
+ def update!(**args)
561
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
562
+ @roles = args[:roles] if args.key?(:roles)
563
+ end
564
+ end
565
+
566
+ # A request to get permissions which can be tested on a resource.
567
+ class QueryTestablePermissionsRequest
568
+ include Google::Apis::Core::Hashable
569
+
570
+ # Required. The full resource name to query from the list of testable
571
+ # permissions.
572
+ # The name follows the Google Cloud Platform resource format.
573
+ # For example, a Cloud Platform project with id `my-project` will be named
574
+ # `//cloudresourcemanager.googleapis.com/projects/my-project`.
575
+ # Corresponds to the JSON property `fullResourceName`
576
+ # @return [String]
577
+ attr_accessor :full_resource_name
578
+
579
+ # Optional limit on the number of permissions to include in the response.
580
+ # Corresponds to the JSON property `pageSize`
581
+ # @return [Fixnum]
582
+ attr_accessor :page_size
583
+
584
+ # Optional pagination token returned in an earlier
585
+ # QueryTestablePermissionsRequest.
586
+ # Corresponds to the JSON property `pageToken`
587
+ # @return [String]
588
+ attr_accessor :page_token
208
589
 
209
590
  def initialize(**args)
210
591
  update!(**args)
@@ -212,38 +593,84 @@ module Google
212
593
 
213
594
  # Update properties of this object
214
595
  def update!(**args)
215
- @policy = args[:policy] if args.key?(:policy)
596
+ @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
597
+ @page_size = args[:page_size] if args.key?(:page_size)
598
+ @page_token = args[:page_token] if args.key?(:page_token)
216
599
  end
217
600
  end
218
601
 
219
- # Associates `members` with a `role`.
220
- class Binding
602
+ # The response containing permissions which can be tested on a resource.
603
+ class QueryTestablePermissionsResponse
221
604
  include Google::Apis::Core::Hashable
222
605
 
223
- # Specifies the identities requesting access for a Cloud Platform resource.
224
- # `members` can have the following values:
225
- # * `allUsers`: A special identifier that represents anyone who is
226
- # on the internet; with or without a Google account.
227
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
228
- # who is authenticated with a Google account or a service account.
229
- # * `user:`emailid``: An email address that represents a specific Google
230
- # account. For example, `alice@gmail.com` or `joe@example.com`.
231
- # * `serviceAccount:`emailid``: An email address that represents a service
232
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
233
- # * `group:`emailid``: An email address that represents a Google group.
234
- # For example, `admins@example.com`.
235
- # * `domain:`domain``: A Google Apps domain name that represents all the
236
- # users of that domain. For example, `google.com` or `example.com`.
237
- # Corresponds to the JSON property `members`
606
+ # To retrieve the next page of results, set
607
+ # `QueryTestableRolesRequest.page_token` to this value.
608
+ # Corresponds to the JSON property `nextPageToken`
609
+ # @return [String]
610
+ attr_accessor :next_page_token
611
+
612
+ # The Permissions testable on the requested resource.
613
+ # Corresponds to the JSON property `permissions`
614
+ # @return [Array<Google::Apis::IamV1::Permission>]
615
+ attr_accessor :permissions
616
+
617
+ def initialize(**args)
618
+ update!(**args)
619
+ end
620
+
621
+ # Update properties of this object
622
+ def update!(**args)
623
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
624
+ @permissions = args[:permissions] if args.key?(:permissions)
625
+ end
626
+ end
627
+
628
+ # A role in the Identity and Access Management API.
629
+ class Role
630
+ include Google::Apis::Core::Hashable
631
+
632
+ # The current deleted state of the role. This field is read only.
633
+ # It will be ignored in calls to CreateRole and UpdateRole.
634
+ # Corresponds to the JSON property `deleted`
635
+ # @return [Boolean]
636
+ attr_accessor :deleted
637
+ alias_method :deleted?, :deleted
638
+
639
+ # Optional. A human-readable description for the role.
640
+ # Corresponds to the JSON property `description`
641
+ # @return [String]
642
+ attr_accessor :description
643
+
644
+ # Used to perform a consistent read-modify-write.
645
+ # Corresponds to the JSON property `etag`
646
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
647
+ # @return [String]
648
+ attr_accessor :etag
649
+
650
+ # The names of the permissions this role grants when bound in an IAM policy.
651
+ # Corresponds to the JSON property `includedPermissions`
238
652
  # @return [Array<String>]
239
- attr_accessor :members
653
+ attr_accessor :included_permissions
240
654
 
241
- # Role that is assigned to `members`.
242
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
243
- # Required
244
- # Corresponds to the JSON property `role`
655
+ # The name of the role.
656
+ # When Role is used in CreateRole, the role name must not be set.
657
+ # When Role is used in output and other input such as UpdateRole, the role
658
+ # name is the complete path, e.g., roles/logging.viewer for curated roles
659
+ # and organizations/`ORGANIZATION_ID`/roles/logging.viewer for custom roles.
660
+ # Corresponds to the JSON property `name`
245
661
  # @return [String]
246
- attr_accessor :role
662
+ attr_accessor :name
663
+
664
+ # The current launch stage of the role.
665
+ # Corresponds to the JSON property `stage`
666
+ # @return [String]
667
+ attr_accessor :stage
668
+
669
+ # Optional. A human-readable title for the role. Typically this
670
+ # is limited to 100 UTF-8 bytes.
671
+ # Corresponds to the JSON property `title`
672
+ # @return [String]
673
+ attr_accessor :title
247
674
 
248
675
  def initialize(**args)
249
676
  update!(**args)
@@ -251,8 +678,13 @@ module Google
251
678
 
252
679
  # Update properties of this object
253
680
  def update!(**args)
254
- @members = args[:members] if args.key?(:members)
255
- @role = args[:role] if args.key?(:role)
681
+ @deleted = args[:deleted] if args.key?(:deleted)
682
+ @description = args[:description] if args.key?(:description)
683
+ @etag = args[:etag] if args.key?(:etag)
684
+ @included_permissions = args[:included_permissions] if args.key?(:included_permissions)
685
+ @name = args[:name] if args.key?(:name)
686
+ @stage = args[:stage] if args.key?(:stage)
687
+ @title = args[:title] if args.key?(:title)
256
688
  end
257
689
  end
258
690
 
@@ -273,35 +705,23 @@ module Google
273
705
  class ServiceAccount
274
706
  include Google::Apis::Core::Hashable
275
707
 
276
- # @OutputOnly The unique and stable id of the service account.
277
- # Corresponds to the JSON property `uniqueId`
278
- # @return [String]
279
- attr_accessor :unique_id
280
-
281
- # @OutputOnly. The OAuth2 client id for the service account.
282
- # This is used in conjunction with the OAuth2 clientconfig API to make
283
- # three legged OAuth2 (3LO) flows to access the data of Google users.
284
- # Corresponds to the JSON property `oauth2ClientId`
285
- # @return [String]
286
- attr_accessor :oauth2_client_id
287
-
288
708
  # Optional. A user-specified description of the service account. Must be
289
709
  # fewer than 100 UTF-8 bytes.
290
710
  # Corresponds to the JSON property `displayName`
291
711
  # @return [String]
292
712
  attr_accessor :display_name
293
713
 
714
+ # @OutputOnly The email address of the service account.
715
+ # Corresponds to the JSON property `email`
716
+ # @return [String]
717
+ attr_accessor :email
718
+
294
719
  # Used to perform a consistent read-modify-write.
295
720
  # Corresponds to the JSON property `etag`
296
721
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
297
722
  # @return [String]
298
723
  attr_accessor :etag
299
724
 
300
- # @OutputOnly The email address of the service account.
301
- # Corresponds to the JSON property `email`
302
- # @return [String]
303
- attr_accessor :email
304
-
305
725
  # The resource name of the service account in the following format:
306
726
  # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL``.
307
727
  # Requests using `-` as a wildcard for the project will infer the project
@@ -313,117 +733,36 @@ module Google
313
733
  # @return [String]
314
734
  attr_accessor :name
315
735
 
736
+ # @OutputOnly. The OAuth2 client id for the service account.
737
+ # This is used in conjunction with the OAuth2 clientconfig API to make
738
+ # three legged OAuth2 (3LO) flows to access the data of Google users.
739
+ # Corresponds to the JSON property `oauth2ClientId`
740
+ # @return [String]
741
+ attr_accessor :oauth2_client_id
742
+
316
743
  # @OutputOnly The id of the project that owns the service account.
317
744
  # Corresponds to the JSON property `projectId`
318
745
  # @return [String]
319
746
  attr_accessor :project_id
320
747
 
748
+ # @OutputOnly The unique and stable id of the service account.
749
+ # Corresponds to the JSON property `uniqueId`
750
+ # @return [String]
751
+ attr_accessor :unique_id
752
+
321
753
  def initialize(**args)
322
754
  update!(**args)
323
755
  end
324
756
 
325
757
  # Update properties of this object
326
758
  def update!(**args)
327
- @unique_id = args[:unique_id] if args.key?(:unique_id)
328
- @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
329
759
  @display_name = args[:display_name] if args.key?(:display_name)
330
- @etag = args[:etag] if args.key?(:etag)
331
760
  @email = args[:email] if args.key?(:email)
761
+ @etag = args[:etag] if args.key?(:etag)
332
762
  @name = args[:name] if args.key?(:name)
763
+ @oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
333
764
  @project_id = args[:project_id] if args.key?(:project_id)
334
- end
335
- end
336
-
337
- # A generic empty message that you can re-use to avoid defining duplicated
338
- # empty messages in your APIs. A typical example is to use it as the request
339
- # or the response type of an API method. For instance:
340
- # service Foo `
341
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
342
- # `
343
- # The JSON representation for `Empty` is empty JSON object ````.
344
- class Empty
345
- include Google::Apis::Core::Hashable
346
-
347
- def initialize(**args)
348
- update!(**args)
349
- end
350
-
351
- # Update properties of this object
352
- def update!(**args)
353
- end
354
- end
355
-
356
- # The grantable role query request.
357
- class QueryGrantableRolesRequest
358
- include Google::Apis::Core::Hashable
359
-
360
- # Required. The full resource name to query from the list of grantable roles.
361
- # The name follows the Google Cloud Platform resource format.
362
- # For example, a Cloud Platform project with id `my-project` will be named
363
- # `//cloudresourcemanager.googleapis.com/projects/my-project`.
364
- # Corresponds to the JSON property `fullResourceName`
365
- # @return [String]
366
- attr_accessor :full_resource_name
367
-
368
- # Optional pagination token returned in an earlier
369
- # QueryGrantableRolesResponse.
370
- # Corresponds to the JSON property `pageToken`
371
- # @return [String]
372
- attr_accessor :page_token
373
-
374
- # Optional limit on the number of roles to include in the response.
375
- # Corresponds to the JSON property `pageSize`
376
- # @return [Fixnum]
377
- attr_accessor :page_size
378
-
379
- def initialize(**args)
380
- update!(**args)
381
- end
382
-
383
- # Update properties of this object
384
- def update!(**args)
385
- @full_resource_name = args[:full_resource_name] if args.key?(:full_resource_name)
386
- @page_token = args[:page_token] if args.key?(:page_token)
387
- @page_size = args[:page_size] if args.key?(:page_size)
388
- end
389
- end
390
-
391
- # The service account keys list response.
392
- class ListServiceAccountKeysResponse
393
- include Google::Apis::Core::Hashable
394
-
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
399
-
400
- def initialize(**args)
401
- update!(**args)
402
- end
403
-
404
- # Update properties of this object
405
- def update!(**args)
406
- @keys = args[:keys] if args.key?(:keys)
407
- end
408
- end
409
-
410
- # Response message for `TestIamPermissions` method.
411
- class TestIamPermissionsResponse
412
- include Google::Apis::Core::Hashable
413
-
414
- # A subset of `TestPermissionsRequest.permissions` that the caller is
415
- # allowed.
416
- # Corresponds to the JSON property `permissions`
417
- # @return [Array<String>]
418
- attr_accessor :permissions
419
-
420
- def initialize(**args)
421
- update!(**args)
422
- end
423
-
424
- # Update properties of this object
425
- def update!(**args)
426
- @permissions = args[:permissions] if args.key?(:permissions)
765
+ @unique_id = args[:unique_id] if args.key?(:unique_id)
427
766
  end
428
767
  end
429
768
 
@@ -442,11 +781,10 @@ module Google
442
781
  class ServiceAccountKey
443
782
  include Google::Apis::Core::Hashable
444
783
 
445
- # The public key data. Only provided in `GetServiceAccountKey` responses.
446
- # Corresponds to the JSON property `publicKeyData`
447
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
784
+ # Specifies the algorithm (and possibly key size) for the key.
785
+ # Corresponds to the JSON property `keyAlgorithm`
448
786
  # @return [String]
449
- attr_accessor :public_key_data
787
+ attr_accessor :key_algorithm
450
788
 
451
789
  # The resource name of the service account key in the following format
452
790
  # `projects/`PROJECT_ID`/serviceAccounts/`SERVICE_ACCOUNT_EMAIL`/keys/`key``.
@@ -454,20 +792,17 @@ module Google
454
792
  # @return [String]
455
793
  attr_accessor :name
456
794
 
457
- # The key can be used before this timestamp.
458
- # Corresponds to the JSON property `validBeforeTime`
459
- # @return [String]
460
- attr_accessor :valid_before_time
461
-
462
- # Specifies the algorithm (and possibly key size) for the key.
463
- # Corresponds to the JSON property `keyAlgorithm`
464
- # @return [String]
465
- attr_accessor :key_algorithm
466
-
467
- # The key can be used after this timestamp.
468
- # Corresponds to the JSON property `validAfterTime`
795
+ # The private key data. Only provided in `CreateServiceAccountKey`
796
+ # responses. Make sure to keep the private key data secure because it
797
+ # allows for the assertion of the service account identity.
798
+ # When decoded, the private key data can be used to authenticate with
799
+ # Google API client libraries and with
800
+ # <a href="/sdk/gcloud/reference/auth/activate-service-account">gcloud
801
+ # auth activate-service-account</a>.
802
+ # Corresponds to the JSON property `privateKeyData`
803
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
469
804
  # @return [String]
470
- attr_accessor :valid_after_time
805
+ attr_accessor :private_key_data
471
806
 
472
807
  # The output format for the private key.
473
808
  # Only provided in `CreateServiceAccountKey` responses, not
@@ -476,15 +811,23 @@ module Google
476
811
  # user-managed private keys.
477
812
  # Corresponds to the JSON property `privateKeyType`
478
813
  # @return [String]
479
- attr_accessor :private_key_type
814
+ attr_accessor :private_key_type
815
+
816
+ # The public key data. Only provided in `GetServiceAccountKey` responses.
817
+ # Corresponds to the JSON property `publicKeyData`
818
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
819
+ # @return [String]
820
+ attr_accessor :public_key_data
821
+
822
+ # The key can be used after this timestamp.
823
+ # Corresponds to the JSON property `validAfterTime`
824
+ # @return [String]
825
+ attr_accessor :valid_after_time
480
826
 
481
- # The private key data. Only provided in `CreateServiceAccountKey`
482
- # responses. Make sure to keep the private key data secure because it
483
- # allows for the assertion of the service account identity.
484
- # Corresponds to the JSON property `privateKeyData`
485
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
827
+ # The key can be used before this timestamp.
828
+ # Corresponds to the JSON property `validBeforeTime`
486
829
  # @return [String]
487
- attr_accessor :private_key_data
830
+ attr_accessor :valid_before_time
488
831
 
489
832
  def initialize(**args)
490
833
  update!(**args)
@@ -492,38 +835,49 @@ module Google
492
835
 
493
836
  # Update properties of this object
494
837
  def update!(**args)
495
- @public_key_data = args[:public_key_data] if args.key?(:public_key_data)
496
- @name = args[:name] if args.key?(:name)
497
- @valid_before_time = args[:valid_before_time] if args.key?(:valid_before_time)
498
838
  @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm)
499
- @valid_after_time = args[:valid_after_time] if args.key?(:valid_after_time)
500
- @private_key_type = args[:private_key_type] if args.key?(:private_key_type)
839
+ @name = args[:name] if args.key?(:name)
501
840
  @private_key_data = args[:private_key_data] if args.key?(:private_key_data)
841
+ @private_key_type = args[:private_key_type] if args.key?(:private_key_type)
842
+ @public_key_data = args[:public_key_data] if args.key?(:public_key_data)
843
+ @valid_after_time = args[:valid_after_time] if args.key?(:valid_after_time)
844
+ @valid_before_time = args[:valid_before_time] if args.key?(:valid_before_time)
502
845
  end
503
846
  end
504
847
 
505
- # The service account key create request.
506
- class CreateServiceAccountKeyRequest
848
+ # Request message for `SetIamPolicy` method.
849
+ class SetIamPolicyRequest
507
850
  include Google::Apis::Core::Hashable
508
851
 
509
- #
510
- # Corresponds to the JSON property `includePublicKeyData`
511
- # @return [Boolean]
512
- attr_accessor :include_public_key_data
513
- alias_method :include_public_key_data?, :include_public_key_data
514
-
515
- # Which type of key and algorithm to use for the key.
516
- # The default is currently a 2K RSA key. However this may change in the
517
- # future.
518
- # Corresponds to the JSON property `keyAlgorithm`
519
- # @return [String]
520
- attr_accessor :key_algorithm
521
-
522
- # The output format of the private key. `GOOGLE_CREDENTIALS_FILE` is the
523
- # default output format.
524
- # Corresponds to the JSON property `privateKeyType`
525
- # @return [String]
526
- attr_accessor :private_key_type
852
+ # Defines an Identity and Access Management (IAM) policy. It is used to
853
+ # specify access control policies for Cloud Platform resources.
854
+ # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
855
+ # `members` to a `role`, where the members can be user accounts, Google groups,
856
+ # Google domains, and service accounts. A `role` is a named list of permissions
857
+ # defined by IAM.
858
+ # **Example**
859
+ # `
860
+ # "bindings": [
861
+ # `
862
+ # "role": "roles/owner",
863
+ # "members": [
864
+ # "user:mike@example.com",
865
+ # "group:admins@example.com",
866
+ # "domain:google.com",
867
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
868
+ # ]
869
+ # `,
870
+ # `
871
+ # "role": "roles/viewer",
872
+ # "members": ["user:sean@example.com"]
873
+ # `
874
+ # ]
875
+ # `
876
+ # For a description of IAM and its features, see the
877
+ # [IAM developer's guide](https://cloud.google.com/iam).
878
+ # Corresponds to the JSON property `policy`
879
+ # @return [Google::Apis::IamV1::Policy]
880
+ attr_accessor :policy
527
881
 
528
882
  def initialize(**args)
529
883
  update!(**args)
@@ -531,23 +885,19 @@ module Google
531
885
 
532
886
  # Update properties of this object
533
887
  def update!(**args)
534
- @include_public_key_data = args[:include_public_key_data] if args.key?(:include_public_key_data)
535
- @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm)
536
- @private_key_type = args[:private_key_type] if args.key?(:private_key_type)
888
+ @policy = args[:policy] if args.key?(:policy)
537
889
  end
538
890
  end
539
891
 
540
- # Request message for `TestIamPermissions` method.
541
- class TestIamPermissionsRequest
892
+ # The service account sign blob request.
893
+ class SignBlobRequest
542
894
  include Google::Apis::Core::Hashable
543
895
 
544
- # The set of permissions to check for the `resource`. Permissions with
545
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
546
- # information see
547
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
548
- # Corresponds to the JSON property `permissions`
549
- # @return [Array<String>]
550
- attr_accessor :permissions
896
+ # The bytes to sign.
897
+ # Corresponds to the JSON property `bytesToSign`
898
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
899
+ # @return [String]
900
+ attr_accessor :bytes_to_sign
551
901
 
552
902
  def initialize(**args)
553
903
  update!(**args)
@@ -555,7 +905,7 @@ module Google
555
905
 
556
906
  # Update properties of this object
557
907
  def update!(**args)
558
- @permissions = args[:permissions] if args.key?(:permissions)
908
+ @bytes_to_sign = args[:bytes_to_sign] if args.key?(:bytes_to_sign)
559
909
  end
560
910
  end
561
911
 
@@ -585,19 +935,14 @@ module Google
585
935
  end
586
936
  end
587
937
 
588
- # The service account sign JWT response.
589
- class SignJwtResponse
938
+ # The service account sign JWT request.
939
+ class SignJwtRequest
590
940
  include Google::Apis::Core::Hashable
591
941
 
592
- # The signed JWT.
593
- # Corresponds to the JSON property `signedJwt`
594
- # @return [String]
595
- attr_accessor :signed_jwt
596
-
597
- # The id of the key used to sign the JWT.
598
- # Corresponds to the JSON property `keyId`
942
+ # The JWT payload to sign, a JSON JWT Claim set.
943
+ # Corresponds to the JSON property `payload`
599
944
  # @return [String]
600
- attr_accessor :key_id
945
+ attr_accessor :payload
601
946
 
602
947
  def initialize(**args)
603
948
  update!(**args)
@@ -605,85 +950,23 @@ module Google
605
950
 
606
951
  # Update properties of this object
607
952
  def update!(**args)
608
- @signed_jwt = args[:signed_jwt] if args.key?(:signed_jwt)
609
- @key_id = args[:key_id] if args.key?(:key_id)
953
+ @payload = args[:payload] if args.key?(:payload)
610
954
  end
611
955
  end
612
956
 
613
- # Defines an Identity and Access Management (IAM) policy. It is used to
614
- # specify access control policies for Cloud Platform resources.
615
- # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
616
- # `members` to a `role`, where the members can be user accounts, Google groups,
617
- # Google domains, and service accounts. A `role` is a named list of permissions
618
- # defined by IAM.
619
- # **Example**
620
- # `
621
- # "bindings": [
622
- # `
623
- # "role": "roles/owner",
624
- # "members": [
625
- # "user:mike@example.com",
626
- # "group:admins@example.com",
627
- # "domain:google.com",
628
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
629
- # ]
630
- # `,
631
- # `
632
- # "role": "roles/viewer",
633
- # "members": ["user:sean@example.com"]
634
- # `
635
- # ]
636
- # `
637
- # For a description of IAM and its features, see the
638
- # [IAM developer's guide](https://cloud.google.com/iam).
639
- class Policy
957
+ # The service account sign JWT response.
958
+ class SignJwtResponse
640
959
  include Google::Apis::Core::Hashable
641
960
 
642
- # `etag` is used for optimistic concurrency control as a way to help
643
- # prevent simultaneous updates of a policy from overwriting each other.
644
- # It is strongly suggested that systems make use of the `etag` in the
645
- # read-modify-write cycle to perform policy updates in order to avoid race
646
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
647
- # systems are expected to put that etag in the request to `setIamPolicy` to
648
- # ensure that their change will be applied to the same version of the policy.
649
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
650
- # policy is overwritten blindly.
651
- # Corresponds to the JSON property `etag`
652
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
961
+ # The id of the key used to sign the JWT.
962
+ # Corresponds to the JSON property `keyId`
653
963
  # @return [String]
654
- attr_accessor :etag
655
-
656
- # Version of the `Policy`. The default version is 0.
657
- # Corresponds to the JSON property `version`
658
- # @return [Fixnum]
659
- attr_accessor :version
660
-
661
- # Associates a list of `members` to a `role`.
662
- # `bindings` with no members will result in an error.
663
- # Corresponds to the JSON property `bindings`
664
- # @return [Array<Google::Apis::IamV1::Binding>]
665
- attr_accessor :bindings
666
-
667
- def initialize(**args)
668
- update!(**args)
669
- end
670
-
671
- # Update properties of this object
672
- def update!(**args)
673
- @etag = args[:etag] if args.key?(:etag)
674
- @version = args[:version] if args.key?(:version)
675
- @bindings = args[:bindings] if args.key?(:bindings)
676
- end
677
- end
678
-
679
- # The service account sign JWT request.
680
- class SignJwtRequest
681
- include Google::Apis::Core::Hashable
964
+ attr_accessor :key_id
682
965
 
683
- # The JWT payload to sign, a JSON JWT Claim set.
684
- # Corresponds to the JSON property `payload`
966
+ # The signed JWT.
967
+ # Corresponds to the JSON property `signedJwt`
685
968
  # @return [String]
686
- attr_accessor :payload
969
+ attr_accessor :signed_jwt
687
970
 
688
971
  def initialize(**args)
689
972
  update!(**args)
@@ -691,20 +974,22 @@ module Google
691
974
 
692
975
  # Update properties of this object
693
976
  def update!(**args)
694
- @payload = args[:payload] if args.key?(:payload)
977
+ @key_id = args[:key_id] if args.key?(:key_id)
978
+ @signed_jwt = args[:signed_jwt] if args.key?(:signed_jwt)
695
979
  end
696
980
  end
697
981
 
698
- # Audit log information specific to Cloud IAM. This message is serialized
699
- # as an `Any` type in the `ServiceData` message of an
700
- # `AuditLog` message.
701
- class AuditData
982
+ # Request message for `TestIamPermissions` method.
983
+ class TestIamPermissionsRequest
702
984
  include Google::Apis::Core::Hashable
703
985
 
704
- # The difference delta between two policies.
705
- # Corresponds to the JSON property `policyDelta`
706
- # @return [Google::Apis::IamV1::PolicyDelta]
707
- attr_accessor :policy_delta
986
+ # The set of permissions to check for the `resource`. Permissions with
987
+ # wildcards (such as '*' or 'storage.*') are not allowed. For more
988
+ # information see
989
+ # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
990
+ # Corresponds to the JSON property `permissions`
991
+ # @return [Array<String>]
992
+ attr_accessor :permissions
708
993
 
709
994
  def initialize(**args)
710
995
  update!(**args)
@@ -712,34 +997,19 @@ module Google
712
997
 
713
998
  # Update properties of this object
714
999
  def update!(**args)
715
- @policy_delta = args[:policy_delta] if args.key?(:policy_delta)
1000
+ @permissions = args[:permissions] if args.key?(:permissions)
716
1001
  end
717
1002
  end
718
1003
 
719
- # One delta entry for Binding. Each individual change (only one member in each
720
- # entry) to a binding will be a separate entry.
721
- class BindingDelta
1004
+ # Response message for `TestIamPermissions` method.
1005
+ class TestIamPermissionsResponse
722
1006
  include Google::Apis::Core::Hashable
723
1007
 
724
- # A single identity requesting access for a Cloud Platform resource.
725
- # Follows the same format of Binding.members.
726
- # Required
727
- # Corresponds to the JSON property `member`
728
- # @return [String]
729
- attr_accessor :member
730
-
731
- # Role that is assigned to `members`.
732
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
733
- # Required
734
- # Corresponds to the JSON property `role`
735
- # @return [String]
736
- attr_accessor :role
737
-
738
- # The action that was performed on a Binding.
739
- # Required
740
- # Corresponds to the JSON property `action`
741
- # @return [String]
742
- attr_accessor :action
1008
+ # A subset of `TestPermissionsRequest.permissions` that the caller is
1009
+ # allowed.
1010
+ # Corresponds to the JSON property `permissions`
1011
+ # @return [Array<String>]
1012
+ attr_accessor :permissions
743
1013
 
744
1014
  def initialize(**args)
745
1015
  update!(**args)
@@ -747,20 +1017,19 @@ module Google
747
1017
 
748
1018
  # Update properties of this object
749
1019
  def update!(**args)
750
- @member = args[:member] if args.key?(:member)
751
- @role = args[:role] if args.key?(:role)
752
- @action = args[:action] if args.key?(:action)
1020
+ @permissions = args[:permissions] if args.key?(:permissions)
753
1021
  end
754
1022
  end
755
1023
 
756
- # The difference delta between two policies.
757
- class PolicyDelta
1024
+ # The request to undelete an existing role.
1025
+ class UndeleteRoleRequest
758
1026
  include Google::Apis::Core::Hashable
759
1027
 
760
- # The delta for Bindings between two policies.
761
- # Corresponds to the JSON property `bindingDeltas`
762
- # @return [Array<Google::Apis::IamV1::BindingDelta>]
763
- attr_accessor :binding_deltas
1028
+ # Used to perform a consistent read-modify-write.
1029
+ # Corresponds to the JSON property `etag`
1030
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1031
+ # @return [String]
1032
+ attr_accessor :etag
764
1033
 
765
1034
  def initialize(**args)
766
1035
  update!(**args)
@@ -768,7 +1037,7 @@ module Google
768
1037
 
769
1038
  # Update properties of this object
770
1039
  def update!(**args)
771
- @binding_deltas = args[:binding_deltas] if args.key?(:binding_deltas)
1040
+ @etag = args[:etag] if args.key?(:etag)
772
1041
  end
773
1042
  end
774
1043
  end