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
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/resource-manager
27
27
  module CloudresourcemanagerV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20170705'
29
+ REVISION = '20170821'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,6 +22,28 @@ module Google
22
22
  module Apis
23
23
  module CloudresourcemanagerV1beta1
24
24
 
25
+ # Identifying information for a single ancestor of a project.
26
+ class Ancestor
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # A container to reference an id for any resource type. A `resource` in Google
30
+ # Cloud Platform is a generic term for something you (a developer) may want to
31
+ # interact with through one of our API's. Some examples are an App Engine app,
32
+ # a Compute Engine instance, a Cloud SQL database, and so on.
33
+ # Corresponds to the JSON property `resourceId`
34
+ # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
35
+ attr_accessor :resource_id
36
+
37
+ def initialize(**args)
38
+ update!(**args)
39
+ end
40
+
41
+ # Update properties of this object
42
+ def update!(**args)
43
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
44
+ end
45
+ end
46
+
25
47
  # Specifies the audit configuration for a service.
26
48
  # The configuration determines which permission types are logged, and what
27
49
  # identities, if any, are exempted from logging.
@@ -72,69 +94,18 @@ module Google
72
94
  class AuditConfig
73
95
  include Google::Apis::Core::Hashable
74
96
 
75
- # Specifies a service that will be enabled for audit logging.
76
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
77
- # `allServices` is a special value that covers all services.
78
- # Corresponds to the JSON property `service`
79
- # @return [String]
80
- attr_accessor :service
81
-
82
97
  # The configuration for logging of each type of permission.
83
98
  # Next ID: 4
84
99
  # Corresponds to the JSON property `auditLogConfigs`
85
100
  # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditLogConfig>]
86
101
  attr_accessor :audit_log_configs
87
102
 
88
- def initialize(**args)
89
- update!(**args)
90
- end
91
-
92
- # Update properties of this object
93
- def update!(**args)
94
- @service = args[:service] if args.key?(:service)
95
- @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
96
- end
97
- end
98
-
99
- # Identifying information for a single ancestor of a project.
100
- class Ancestor
101
- include Google::Apis::Core::Hashable
102
-
103
- # A container to reference an id for any resource type. A `resource` in Google
104
- # Cloud Platform is a generic term for something you (a developer) may want to
105
- # interact with through one of our API's. Some examples are an App Engine app,
106
- # a Compute Engine instance, a Cloud SQL database, and so on.
107
- # Corresponds to the JSON property `resourceId`
108
- # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
109
- attr_accessor :resource_id
110
-
111
- def initialize(**args)
112
- update!(**args)
113
- end
114
-
115
- # Update properties of this object
116
- def update!(**args)
117
- @resource_id = args[:resource_id] if args.key?(:resource_id)
118
- end
119
- end
120
-
121
- # The response returned from the `ListOrganizations` method.
122
- class ListOrganizationsResponse
123
- include Google::Apis::Core::Hashable
124
-
125
- # A pagination token to be used to retrieve the next page of results. If the
126
- # result is too large to fit within the page size specified in the request,
127
- # this field will be set with a token that can be used to fetch the next page
128
- # of results. If this field is empty, it indicates that this response
129
- # contains the last page of results.
130
- # Corresponds to the JSON property `nextPageToken`
103
+ # Specifies a service that will be enabled for audit logging.
104
+ # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
105
+ # `allServices` is a special value that covers all services.
106
+ # Corresponds to the JSON property `service`
131
107
  # @return [String]
132
- attr_accessor :next_page_token
133
-
134
- # The list of Organizations that matched the list query, possibly paginated.
135
- # Corresponds to the JSON property `organizations`
136
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Organization>]
137
- attr_accessor :organizations
108
+ attr_accessor :service
138
109
 
139
110
  def initialize(**args)
140
111
  update!(**args)
@@ -142,53 +113,42 @@ module Google
142
113
 
143
114
  # Update properties of this object
144
115
  def update!(**args)
145
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
146
- @organizations = args[:organizations] if args.key?(:organizations)
116
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
117
+ @service = args[:service] if args.key?(:service)
147
118
  end
148
119
  end
149
120
 
150
- # Request message for `SetIamPolicy` method.
151
- class SetIamPolicyRequest
121
+ # Provides the configuration for logging a type of permissions.
122
+ # Example:
123
+ # `
124
+ # "audit_log_configs": [
125
+ # `
126
+ # "log_type": "DATA_READ",
127
+ # "exempted_members": [
128
+ # "user:foo@gmail.com"
129
+ # ]
130
+ # `,
131
+ # `
132
+ # "log_type": "DATA_WRITE",
133
+ # `
134
+ # ]
135
+ # `
136
+ # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
137
+ # foo@gmail.com from DATA_READ logging.
138
+ class AuditLogConfig
152
139
  include Google::Apis::Core::Hashable
153
140
 
154
- # Defines an Identity and Access Management (IAM) policy. It is used to
155
- # specify access control policies for Cloud Platform resources.
156
- # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
157
- # `members` to a `role`, where the members can be user accounts, Google groups,
158
- # Google domains, and service accounts. A `role` is a named list of permissions
159
- # defined by IAM.
160
- # **Example**
161
- # `
162
- # "bindings": [
163
- # `
164
- # "role": "roles/owner",
165
- # "members": [
166
- # "user:mike@example.com",
167
- # "group:admins@example.com",
168
- # "domain:google.com",
169
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
170
- # ]
171
- # `,
172
- # `
173
- # "role": "roles/viewer",
174
- # "members": ["user:sean@example.com"]
175
- # `
176
- # ]
177
- # `
178
- # For a description of IAM and its features, see the
179
- # [IAM developer's guide](https://cloud.google.com/iam).
180
- # Corresponds to the JSON property `policy`
181
- # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
182
- attr_accessor :policy
141
+ # Specifies the identities that do not cause logging for this type of
142
+ # permission.
143
+ # Follows the same format of Binding.members.
144
+ # Corresponds to the JSON property `exemptedMembers`
145
+ # @return [Array<String>]
146
+ attr_accessor :exempted_members
183
147
 
184
- # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
185
- # the fields in the mask will be modified. If no mask is provided, the
186
- # following default mask is used:
187
- # paths: "bindings, etag"
188
- # This field is only used by Cloud IAM.
189
- # Corresponds to the JSON property `updateMask`
148
+ # The log type that this config enables.
149
+ # Corresponds to the JSON property `logType`
190
150
  # @return [String]
191
- attr_accessor :update_mask
151
+ attr_accessor :log_type
192
152
 
193
153
  def initialize(**args)
194
154
  update!(**args)
@@ -196,8 +156,8 @@ module Google
196
156
 
197
157
  # Update properties of this object
198
158
  def update!(**args)
199
- @policy = args[:policy] if args.key?(:policy)
200
- @update_mask = args[:update_mask] if args.key?(:update_mask)
159
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
160
+ @log_type = args[:log_type] if args.key?(:log_type)
201
161
  end
202
162
  end
203
163
 
@@ -260,67 +220,69 @@ module Google
260
220
  end
261
221
  end
262
222
 
263
- # The request sent to the UndeleteProject
264
- # method.
265
- class UndeleteProjectRequest
223
+ # Metadata describing a long running folder operation
224
+ class FolderOperation
266
225
  include Google::Apis::Core::Hashable
267
226
 
227
+ # The resource name of the folder or organization we are either creating
228
+ # the folder under or moving the folder to.
229
+ # Corresponds to the JSON property `destinationParent`
230
+ # @return [String]
231
+ attr_accessor :destination_parent
232
+
233
+ # The display name of the folder.
234
+ # Corresponds to the JSON property `displayName`
235
+ # @return [String]
236
+ attr_accessor :display_name
237
+
238
+ # The type of this operation.
239
+ # Corresponds to the JSON property `operationType`
240
+ # @return [String]
241
+ attr_accessor :operation_type
242
+
243
+ # The resource name of the folder's parent.
244
+ # Only applicable when the operation_type is MOVE.
245
+ # Corresponds to the JSON property `sourceParent`
246
+ # @return [String]
247
+ attr_accessor :source_parent
248
+
268
249
  def initialize(**args)
269
250
  update!(**args)
270
251
  end
271
252
 
272
253
  # Update properties of this object
273
254
  def update!(**args)
255
+ @destination_parent = args[:destination_parent] if args.key?(:destination_parent)
256
+ @display_name = args[:display_name] if args.key?(:display_name)
257
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
258
+ @source_parent = args[:source_parent] if args.key?(:source_parent)
274
259
  end
275
260
  end
276
261
 
277
- # The root node in the resource hierarchy to which a particular entity's
278
- # (e.g., company) resources belong.
279
- class Organization
262
+ # A classification of the Folder Operation error.
263
+ class FolderOperationError
280
264
  include Google::Apis::Core::Hashable
281
265
 
282
- # Timestamp when the Organization was created. Assigned by the server.
283
- # @OutputOnly
284
- # Corresponds to the JSON property `creationTime`
285
- # @return [String]
286
- attr_accessor :creation_time
287
-
288
- # The entity that owns an Organization. The lifetime of the Organization and
289
- # all of its descendants are bound to the `OrganizationOwner`. If the
290
- # `OrganizationOwner` is deleted, the Organization and all its descendants will
291
- # be deleted.
292
- # Corresponds to the JSON property `owner`
293
- # @return [Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner]
294
- attr_accessor :owner
295
-
296
- # Output Only. The resource name of the organization. This is the
297
- # organization's relative path in the API. Its format is
298
- # "organizations/[organization_id]". For example, "organizations/1234".
299
- # Corresponds to the JSON property `name`
266
+ # The type of operation error experienced.
267
+ # Corresponds to the JSON property `errorMessageId`
300
268
  # @return [String]
301
- attr_accessor :name
269
+ attr_accessor :error_message_id
302
270
 
303
- # An immutable id for the Organization that is assigned on creation. This
304
- # should be omitted when creating a new Organization.
305
- # This field is read-only.
306
- # This field is deprecated and will be removed in v1. Use name instead.
307
- # Corresponds to the JSON property `organizationId`
308
- # @return [String]
309
- attr_accessor :organization_id
271
+ def initialize(**args)
272
+ update!(**args)
273
+ end
310
274
 
311
- # The organization's current lifecycle state. Assigned by the server.
312
- # @OutputOnly
313
- # Corresponds to the JSON property `lifecycleState`
314
- # @return [String]
315
- attr_accessor :lifecycle_state
275
+ # Update properties of this object
276
+ def update!(**args)
277
+ @error_message_id = args[:error_message_id] if args.key?(:error_message_id)
278
+ end
279
+ end
316
280
 
317
- # A friendly string to be used to refer to the Organization in the UI.
318
- # Assigned by the server, set to the primary domain of the G Suite
319
- # customer that owns the organization.
320
- # @OutputOnly
321
- # Corresponds to the JSON property `displayName`
322
- # @return [String]
323
- attr_accessor :display_name
281
+ # The request sent to the
282
+ # GetAncestry
283
+ # method.
284
+ class GetAncestryRequest
285
+ include Google::Apis::Core::Hashable
324
286
 
325
287
  def initialize(**args)
326
288
  update!(**args)
@@ -328,39 +290,19 @@ module Google
328
290
 
329
291
  # Update properties of this object
330
292
  def update!(**args)
331
- @creation_time = args[:creation_time] if args.key?(:creation_time)
332
- @owner = args[:owner] if args.key?(:owner)
333
- @name = args[:name] if args.key?(:name)
334
- @organization_id = args[:organization_id] if args.key?(:organization_id)
335
- @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
336
- @display_name = args[:display_name] if args.key?(:display_name)
337
293
  end
338
294
  end
339
295
 
340
- # A status object which is used as the `metadata` field for the Operation
341
- # returned by CreateProject. It provides insight for when significant phases of
342
- # Project creation have completed.
343
- class ProjectCreationStatus
296
+ # Response from the GetAncestry method.
297
+ class GetAncestryResponse
344
298
  include Google::Apis::Core::Hashable
345
299
 
346
- # True if the project creation process is complete.
347
- # Corresponds to the JSON property `ready`
348
- # @return [Boolean]
349
- attr_accessor :ready
350
- alias_method :ready?, :ready
351
-
352
- # True if the project can be retrieved using GetProject. No other operations
353
- # on the project are guaranteed to work until the project creation is
354
- # complete.
355
- # Corresponds to the JSON property `gettable`
356
- # @return [Boolean]
357
- attr_accessor :gettable
358
- alias_method :gettable?, :gettable
359
-
360
- # Creation time of the project creation workflow.
361
- # Corresponds to the JSON property `createTime`
362
- # @return [String]
363
- attr_accessor :create_time
300
+ # Ancestors are ordered from bottom to top of the resource hierarchy. The
301
+ # first ancestor is the project itself, followed by the project's parent,
302
+ # etc.
303
+ # Corresponds to the JSON property `ancestor`
304
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Ancestor>]
305
+ attr_accessor :ancestor
364
306
 
365
307
  def initialize(**args)
366
308
  update!(**args)
@@ -368,55 +310,78 @@ module Google
368
310
 
369
311
  # Update properties of this object
370
312
  def update!(**args)
371
- @ready = args[:ready] if args.key?(:ready)
372
- @gettable = args[:gettable] if args.key?(:gettable)
373
- @create_time = args[:create_time] if args.key?(:create_time)
313
+ @ancestor = args[:ancestor] if args.key?(:ancestor)
374
314
  end
375
315
  end
376
316
 
377
- # Response message for `TestIamPermissions` method.
378
- class TestIamPermissionsResponse
317
+ # Request message for `GetIamPolicy` method.
318
+ class GetIamPolicyRequest
379
319
  include Google::Apis::Core::Hashable
380
320
 
381
- # A subset of `TestPermissionsRequest.permissions` that the caller is
382
- # allowed.
383
- # Corresponds to the JSON property `permissions`
384
- # @return [Array<String>]
385
- attr_accessor :permissions
386
-
387
321
  def initialize(**args)
388
322
  update!(**args)
389
323
  end
390
324
 
391
325
  # Update properties of this object
392
326
  def update!(**args)
393
- @permissions = args[:permissions] if args.key?(:permissions)
394
327
  end
395
328
  end
396
329
 
397
- # Request message for `GetIamPolicy` method.
398
- class GetIamPolicyRequest
330
+ # The response returned from the `ListOrganizations` method.
331
+ class ListOrganizationsResponse
399
332
  include Google::Apis::Core::Hashable
400
333
 
334
+ # A pagination token to be used to retrieve the next page of results. If the
335
+ # result is too large to fit within the page size specified in the request,
336
+ # this field will be set with a token that can be used to fetch the next page
337
+ # of results. If this field is empty, it indicates that this response
338
+ # contains the last page of results.
339
+ # Corresponds to the JSON property `nextPageToken`
340
+ # @return [String]
341
+ attr_accessor :next_page_token
342
+
343
+ # The list of Organizations that matched the list query, possibly paginated.
344
+ # Corresponds to the JSON property `organizations`
345
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Organization>]
346
+ attr_accessor :organizations
347
+
401
348
  def initialize(**args)
402
349
  update!(**args)
403
350
  end
404
351
 
405
352
  # Update properties of this object
406
353
  def update!(**args)
354
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
355
+ @organizations = args[:organizations] if args.key?(:organizations)
407
356
  end
408
357
  end
409
358
 
410
- # Response from the GetAncestry method.
411
- class GetAncestryResponse
359
+ # A page of the response received from the
360
+ # ListProjects
361
+ # method.
362
+ # A paginated response where more pages are available has
363
+ # `next_page_token` set. This token can be used in a subsequent request to
364
+ # retrieve the next request page.
365
+ class ListProjectsResponse
412
366
  include Google::Apis::Core::Hashable
413
367
 
414
- # Ancestors are ordered from bottom to top of the resource hierarchy. The
415
- # first ancestor is the project itself, followed by the project's parent,
416
- # etc.
417
- # Corresponds to the JSON property `ancestor`
418
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Ancestor>]
419
- attr_accessor :ancestor
368
+ # Pagination token.
369
+ # If the result set is too large to fit in a single response, this token
370
+ # is returned. It encodes the position of the current result cursor.
371
+ # Feeding this value into a new list request with the `page_token` parameter
372
+ # gives the next page of the results.
373
+ # When `next_page_token` is not filled in, there is no next page and
374
+ # the list returned is the last page in the result set.
375
+ # Pagination tokens have a limited lifetime.
376
+ # Corresponds to the JSON property `nextPageToken`
377
+ # @return [String]
378
+ attr_accessor :next_page_token
379
+
380
+ # The list of Projects that matched the list filter. This list can
381
+ # be paginated.
382
+ # Corresponds to the JSON property `projects`
383
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Project>]
384
+ attr_accessor :projects
420
385
 
421
386
  def initialize(**args)
422
387
  update!(**args)
@@ -424,21 +389,58 @@ module Google
424
389
 
425
390
  # Update properties of this object
426
391
  def update!(**args)
427
- @ancestor = args[:ancestor] if args.key?(:ancestor)
392
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
393
+ @projects = args[:projects] if args.key?(:projects)
428
394
  end
429
395
  end
430
396
 
431
- # The entity that owns an Organization. The lifetime of the Organization and
432
- # all of its descendants are bound to the `OrganizationOwner`. If the
433
- # `OrganizationOwner` is deleted, the Organization and all its descendants will
434
- # be deleted.
435
- class OrganizationOwner
397
+ # The root node in the resource hierarchy to which a particular entity's
398
+ # (e.g., company) resources belong.
399
+ class Organization
436
400
  include Google::Apis::Core::Hashable
437
401
 
438
- # The Google for Work customer id used in the Directory API.
439
- # Corresponds to the JSON property `directoryCustomerId`
402
+ # Timestamp when the Organization was created. Assigned by the server.
403
+ # @OutputOnly
404
+ # Corresponds to the JSON property `creationTime`
440
405
  # @return [String]
441
- attr_accessor :directory_customer_id
406
+ attr_accessor :creation_time
407
+
408
+ # A friendly string to be used to refer to the Organization in the UI.
409
+ # Assigned by the server, set to the primary domain of the G Suite
410
+ # customer that owns the organization.
411
+ # @OutputOnly
412
+ # Corresponds to the JSON property `displayName`
413
+ # @return [String]
414
+ attr_accessor :display_name
415
+
416
+ # The organization's current lifecycle state. Assigned by the server.
417
+ # @OutputOnly
418
+ # Corresponds to the JSON property `lifecycleState`
419
+ # @return [String]
420
+ attr_accessor :lifecycle_state
421
+
422
+ # Output Only. The resource name of the organization. This is the
423
+ # organization's relative path in the API. Its format is
424
+ # "organizations/[organization_id]". For example, "organizations/1234".
425
+ # Corresponds to the JSON property `name`
426
+ # @return [String]
427
+ attr_accessor :name
428
+
429
+ # An immutable id for the Organization that is assigned on creation. This
430
+ # should be omitted when creating a new Organization.
431
+ # This field is read-only.
432
+ # This field is deprecated and will be removed in v1. Use name instead.
433
+ # Corresponds to the JSON property `organizationId`
434
+ # @return [String]
435
+ attr_accessor :organization_id
436
+
437
+ # The entity that owns an Organization. The lifetime of the Organization and
438
+ # all of its descendants are bound to the `OrganizationOwner`. If the
439
+ # `OrganizationOwner` is deleted, the Organization and all its descendants will
440
+ # be deleted.
441
+ # Corresponds to the JSON property `owner`
442
+ # @return [Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner]
443
+ attr_accessor :owner
442
444
 
443
445
  def initialize(**args)
444
446
  update!(**args)
@@ -446,36 +448,26 @@ module Google
446
448
 
447
449
  # Update properties of this object
448
450
  def update!(**args)
449
- @directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id)
451
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
452
+ @display_name = args[:display_name] if args.key?(:display_name)
453
+ @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
454
+ @name = args[:name] if args.key?(:name)
455
+ @organization_id = args[:organization_id] if args.key?(:organization_id)
456
+ @owner = args[:owner] if args.key?(:owner)
450
457
  end
451
458
  end
452
459
 
453
- # A page of the response received from the
454
- # ListProjects
455
- # method.
456
- # A paginated response where more pages are available has
457
- # `next_page_token` set. This token can be used in a subsequent request to
458
- # retrieve the next request page.
459
- class ListProjectsResponse
460
+ # The entity that owns an Organization. The lifetime of the Organization and
461
+ # all of its descendants are bound to the `OrganizationOwner`. If the
462
+ # `OrganizationOwner` is deleted, the Organization and all its descendants will
463
+ # be deleted.
464
+ class OrganizationOwner
460
465
  include Google::Apis::Core::Hashable
461
466
 
462
- # The list of Projects that matched the list filter. This list can
463
- # be paginated.
464
- # Corresponds to the JSON property `projects`
465
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Project>]
466
- attr_accessor :projects
467
-
468
- # Pagination token.
469
- # If the result set is too large to fit in a single response, this token
470
- # is returned. It encodes the position of the current result cursor.
471
- # Feeding this value into a new list request with the `page_token` parameter
472
- # gives the next page of the results.
473
- # When `next_page_token` is not filled in, there is no next page and
474
- # the list returned is the last page in the result set.
475
- # Pagination tokens have a limited lifetime.
476
- # Corresponds to the JSON property `nextPageToken`
467
+ # The Google for Work customer id used in the Directory API.
468
+ # Corresponds to the JSON property `directoryCustomerId`
477
469
  # @return [String]
478
- attr_accessor :next_page_token
470
+ attr_accessor :directory_customer_id
479
471
 
480
472
  def initialize(**args)
481
473
  update!(**args)
@@ -483,59 +475,68 @@ module Google
483
475
 
484
476
  # Update properties of this object
485
477
  def update!(**args)
486
- @projects = args[:projects] if args.key?(:projects)
487
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
478
+ @directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id)
488
479
  end
489
480
  end
490
481
 
491
- # Provides the configuration for logging a type of permissions.
492
- # Example:
482
+ # Defines an Identity and Access Management (IAM) policy. It is used to
483
+ # specify access control policies for Cloud Platform resources.
484
+ # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
485
+ # `members` to a `role`, where the members can be user accounts, Google groups,
486
+ # Google domains, and service accounts. A `role` is a named list of permissions
487
+ # defined by IAM.
488
+ # **Example**
493
489
  # `
494
- # "audit_log_configs": [
490
+ # "bindings": [
495
491
  # `
496
- # "log_type": "DATA_READ",
497
- # "exempted_members": [
498
- # "user:foo@gmail.com"
492
+ # "role": "roles/owner",
493
+ # "members": [
494
+ # "user:mike@example.com",
495
+ # "group:admins@example.com",
496
+ # "domain:google.com",
497
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
499
498
  # ]
500
499
  # `,
501
500
  # `
502
- # "log_type": "DATA_WRITE",
501
+ # "role": "roles/viewer",
502
+ # "members": ["user:sean@example.com"]
503
503
  # `
504
504
  # ]
505
505
  # `
506
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
507
- # foo@gmail.com from DATA_READ logging.
508
- class AuditLogConfig
506
+ # For a description of IAM and its features, see the
507
+ # [IAM developer's guide](https://cloud.google.com/iam).
508
+ class Policy
509
509
  include Google::Apis::Core::Hashable
510
510
 
511
- # Specifies the identities that do not cause logging for this type of
512
- # permission.
513
- # Follows the same format of Binding.members.
514
- # Corresponds to the JSON property `exemptedMembers`
515
- # @return [Array<String>]
516
- attr_accessor :exempted_members
517
-
518
- # The log type that this config enables.
519
- # Corresponds to the JSON property `logType`
520
- # @return [String]
521
- attr_accessor :log_type
511
+ # Specifies cloud audit logging configuration for this policy.
512
+ # Corresponds to the JSON property `auditConfigs`
513
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditConfig>]
514
+ attr_accessor :audit_configs
522
515
 
523
- def initialize(**args)
524
- update!(**args)
525
- end
516
+ # Associates a list of `members` to a `role`.
517
+ # `bindings` with no members will result in an error.
518
+ # Corresponds to the JSON property `bindings`
519
+ # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
520
+ attr_accessor :bindings
526
521
 
527
- # Update properties of this object
528
- def update!(**args)
529
- @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
530
- @log_type = args[:log_type] if args.key?(:log_type)
531
- end
532
- end
522
+ # `etag` is used for optimistic concurrency control as a way to help
523
+ # prevent simultaneous updates of a policy from overwriting each other.
524
+ # It is strongly suggested that systems make use of the `etag` in the
525
+ # read-modify-write cycle to perform policy updates in order to avoid race
526
+ # conditions: An `etag` is returned in the response to `getIamPolicy`, and
527
+ # systems are expected to put that etag in the request to `setIamPolicy` to
528
+ # ensure that their change will be applied to the same version of the policy.
529
+ # If no `etag` is provided in the call to `setIamPolicy`, then the existing
530
+ # policy is overwritten blindly.
531
+ # Corresponds to the JSON property `etag`
532
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
533
+ # @return [String]
534
+ attr_accessor :etag
533
535
 
534
- # The request sent to the
535
- # GetAncestry
536
- # method.
537
- class GetAncestryRequest
538
- include Google::Apis::Core::Hashable
536
+ # Version of the `Policy`. The default version is 0.
537
+ # Corresponds to the JSON property `version`
538
+ # @return [Fixnum]
539
+ attr_accessor :version
539
540
 
540
541
  def initialize(**args)
541
542
  update!(**args)
@@ -543,6 +544,10 @@ module Google
543
544
 
544
545
  # Update properties of this object
545
546
  def update!(**args)
547
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
548
+ @bindings = args[:bindings] if args.key?(:bindings)
549
+ @etag = args[:etag] if args.key?(:etag)
550
+ @version = args[:version] if args.key?(:version)
546
551
  end
547
552
  end
548
553
 
@@ -552,26 +557,11 @@ module Google
552
557
  class Project
553
558
  include Google::Apis::Core::Hashable
554
559
 
555
- # The Project lifecycle state.
560
+ # Creation time.
556
561
  # Read-only.
557
- # Corresponds to the JSON property `lifecycleState`
562
+ # Corresponds to the JSON property `createTime`
558
563
  # @return [String]
559
- attr_accessor :lifecycle_state
560
-
561
- # The number uniquely identifying the project.
562
- # Example: <code>415104041262</code>
563
- # Read-only.
564
- # Corresponds to the JSON property `projectNumber`
565
- # @return [Fixnum]
566
- attr_accessor :project_number
567
-
568
- # A container to reference an id for any resource type. A `resource` in Google
569
- # Cloud Platform is a generic term for something you (a developer) may want to
570
- # interact with through one of our API's. Some examples are an App Engine app,
571
- # a Compute Engine instance, a Cloud SQL database, and so on.
572
- # Corresponds to the JSON property `parent`
573
- # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
574
- attr_accessor :parent
564
+ attr_accessor :create_time
575
565
 
576
566
  # The labels associated with this Project.
577
567
  # Label keys must be between 1 and 63 characters long and must conform
@@ -587,11 +577,11 @@ module Google
587
577
  # @return [Hash<String,String>]
588
578
  attr_accessor :labels
589
579
 
590
- # Creation time.
580
+ # The Project lifecycle state.
591
581
  # Read-only.
592
- # Corresponds to the JSON property `createTime`
582
+ # Corresponds to the JSON property `lifecycleState`
593
583
  # @return [String]
594
- attr_accessor :create_time
584
+ attr_accessor :lifecycle_state
595
585
 
596
586
  # The user-assigned display name of the Project.
597
587
  # It must be 4 to 30 characters.
@@ -603,6 +593,14 @@ module Google
603
593
  # @return [String]
604
594
  attr_accessor :name
605
595
 
596
+ # A container to reference an id for any resource type. A `resource` in Google
597
+ # Cloud Platform is a generic term for something you (a developer) may want to
598
+ # interact with through one of our API's. Some examples are an App Engine app,
599
+ # a Compute Engine instance, a Cloud SQL database, and so on.
600
+ # Corresponds to the JSON property `parent`
601
+ # @return [Google::Apis::CloudresourcemanagerV1beta1::ResourceId]
602
+ attr_accessor :parent
603
+
606
604
  # The unique, user-assigned ID of the Project.
607
605
  # It must be 6 to 30 lowercase letters, digits, or hyphens.
608
606
  # It must start with a letter.
@@ -613,33 +611,53 @@ module Google
613
611
  # @return [String]
614
612
  attr_accessor :project_id
615
613
 
614
+ # The number uniquely identifying the project.
615
+ # Example: <code>415104041262</code>
616
+ # Read-only.
617
+ # Corresponds to the JSON property `projectNumber`
618
+ # @return [Fixnum]
619
+ attr_accessor :project_number
620
+
616
621
  def initialize(**args)
617
622
  update!(**args)
618
623
  end
619
624
 
620
625
  # Update properties of this object
621
626
  def update!(**args)
622
- @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
623
- @project_number = args[:project_number] if args.key?(:project_number)
624
- @parent = args[:parent] if args.key?(:parent)
625
- @labels = args[:labels] if args.key?(:labels)
626
627
  @create_time = args[:create_time] if args.key?(:create_time)
628
+ @labels = args[:labels] if args.key?(:labels)
629
+ @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state)
627
630
  @name = args[:name] if args.key?(:name)
631
+ @parent = args[:parent] if args.key?(:parent)
628
632
  @project_id = args[:project_id] if args.key?(:project_id)
633
+ @project_number = args[:project_number] if args.key?(:project_number)
629
634
  end
630
635
  end
631
636
 
632
- # Request message for `TestIamPermissions` method.
633
- class TestIamPermissionsRequest
637
+ # A status object which is used as the `metadata` field for the Operation
638
+ # returned by CreateProject. It provides insight for when significant phases of
639
+ # Project creation have completed.
640
+ class ProjectCreationStatus
634
641
  include Google::Apis::Core::Hashable
635
642
 
636
- # The set of permissions to check for the `resource`. Permissions with
637
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
638
- # information see
639
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
640
- # Corresponds to the JSON property `permissions`
641
- # @return [Array<String>]
642
- attr_accessor :permissions
643
+ # Creation time of the project creation workflow.
644
+ # Corresponds to the JSON property `createTime`
645
+ # @return [String]
646
+ attr_accessor :create_time
647
+
648
+ # True if the project can be retrieved using GetProject. No other operations
649
+ # on the project are guaranteed to work until the project creation is
650
+ # complete.
651
+ # Corresponds to the JSON property `gettable`
652
+ # @return [Boolean]
653
+ attr_accessor :gettable
654
+ alias_method :gettable?, :gettable
655
+
656
+ # True if the project creation process is complete.
657
+ # Corresponds to the JSON property `ready`
658
+ # @return [Boolean]
659
+ attr_accessor :ready
660
+ alias_method :ready?, :ready
643
661
 
644
662
  def initialize(**args)
645
663
  update!(**args)
@@ -647,18 +665,30 @@ module Google
647
665
 
648
666
  # Update properties of this object
649
667
  def update!(**args)
650
- @permissions = args[:permissions] if args.key?(:permissions)
668
+ @create_time = args[:create_time] if args.key?(:create_time)
669
+ @gettable = args[:gettable] if args.key?(:gettable)
670
+ @ready = args[:ready] if args.key?(:ready)
651
671
  end
652
672
  end
653
673
 
654
- # A classification of the Folder Operation error.
655
- class FolderOperationError
674
+ # A container to reference an id for any resource type. A `resource` in Google
675
+ # Cloud Platform is a generic term for something you (a developer) may want to
676
+ # interact with through one of our API's. Some examples are an App Engine app,
677
+ # a Compute Engine instance, a Cloud SQL database, and so on.
678
+ class ResourceId
656
679
  include Google::Apis::Core::Hashable
657
680
 
658
- # The type of operation error experienced.
659
- # Corresponds to the JSON property `errorMessageId`
681
+ # Required field for the type-specific id. This should correspond to the id
682
+ # used in the type-specific API's.
683
+ # Corresponds to the JSON property `id`
660
684
  # @return [String]
661
- attr_accessor :error_message_id
685
+ attr_accessor :id
686
+
687
+ # Required field representing the resource type this id is for.
688
+ # At present, the valid types are "project", "folder", and "organization".
689
+ # Corresponds to the JSON property `type`
690
+ # @return [String]
691
+ attr_accessor :type
662
692
 
663
693
  def initialize(**args)
664
694
  update!(**args)
@@ -666,35 +696,53 @@ module Google
666
696
 
667
697
  # Update properties of this object
668
698
  def update!(**args)
669
- @error_message_id = args[:error_message_id] if args.key?(:error_message_id)
699
+ @id = args[:id] if args.key?(:id)
700
+ @type = args[:type] if args.key?(:type)
670
701
  end
671
702
  end
672
703
 
673
- # Metadata describing a long running folder operation
674
- class FolderOperation
704
+ # Request message for `SetIamPolicy` method.
705
+ class SetIamPolicyRequest
675
706
  include Google::Apis::Core::Hashable
676
707
 
677
- # The type of this operation.
678
- # Corresponds to the JSON property `operationType`
679
- # @return [String]
680
- attr_accessor :operation_type
681
-
682
- # The resource name of the folder's parent.
683
- # Only applicable when the operation_type is MOVE.
684
- # Corresponds to the JSON property `sourceParent`
685
- # @return [String]
686
- attr_accessor :source_parent
687
-
688
- # The display name of the folder.
689
- # Corresponds to the JSON property `displayName`
690
- # @return [String]
691
- attr_accessor :display_name
708
+ # Defines an Identity and Access Management (IAM) policy. It is used to
709
+ # specify access control policies for Cloud Platform resources.
710
+ # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
711
+ # `members` to a `role`, where the members can be user accounts, Google groups,
712
+ # Google domains, and service accounts. A `role` is a named list of permissions
713
+ # defined by IAM.
714
+ # **Example**
715
+ # `
716
+ # "bindings": [
717
+ # `
718
+ # "role": "roles/owner",
719
+ # "members": [
720
+ # "user:mike@example.com",
721
+ # "group:admins@example.com",
722
+ # "domain:google.com",
723
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
724
+ # ]
725
+ # `,
726
+ # `
727
+ # "role": "roles/viewer",
728
+ # "members": ["user:sean@example.com"]
729
+ # `
730
+ # ]
731
+ # `
732
+ # For a description of IAM and its features, see the
733
+ # [IAM developer's guide](https://cloud.google.com/iam).
734
+ # Corresponds to the JSON property `policy`
735
+ # @return [Google::Apis::CloudresourcemanagerV1beta1::Policy]
736
+ attr_accessor :policy
692
737
 
693
- # The resource name of the folder or organization we are either creating
694
- # the folder under or moving the folder to.
695
- # Corresponds to the JSON property `destinationParent`
738
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
739
+ # the fields in the mask will be modified. If no mask is provided, the
740
+ # following default mask is used:
741
+ # paths: "bindings, etag"
742
+ # This field is only used by Cloud IAM.
743
+ # Corresponds to the JSON property `updateMask`
696
744
  # @return [String]
697
- attr_accessor :destination_parent
745
+ attr_accessor :update_mask
698
746
 
699
747
  def initialize(**args)
700
748
  update!(**args)
@@ -702,71 +750,42 @@ module Google
702
750
 
703
751
  # Update properties of this object
704
752
  def update!(**args)
705
- @operation_type = args[:operation_type] if args.key?(:operation_type)
706
- @source_parent = args[:source_parent] if args.key?(:source_parent)
707
- @display_name = args[:display_name] if args.key?(:display_name)
708
- @destination_parent = args[:destination_parent] if args.key?(:destination_parent)
753
+ @policy = args[:policy] if args.key?(:policy)
754
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
709
755
  end
710
756
  end
711
757
 
712
- # Defines an Identity and Access Management (IAM) policy. It is used to
713
- # specify access control policies for Cloud Platform resources.
714
- # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
715
- # `members` to a `role`, where the members can be user accounts, Google groups,
716
- # Google domains, and service accounts. A `role` is a named list of permissions
717
- # defined by IAM.
718
- # **Example**
719
- # `
720
- # "bindings": [
721
- # `
722
- # "role": "roles/owner",
723
- # "members": [
724
- # "user:mike@example.com",
725
- # "group:admins@example.com",
726
- # "domain:google.com",
727
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
728
- # ]
729
- # `,
730
- # `
731
- # "role": "roles/viewer",
732
- # "members": ["user:sean@example.com"]
733
- # `
734
- # ]
735
- # `
736
- # For a description of IAM and its features, see the
737
- # [IAM developer's guide](https://cloud.google.com/iam).
738
- class Policy
758
+ # Request message for `TestIamPermissions` method.
759
+ class TestIamPermissionsRequest
739
760
  include Google::Apis::Core::Hashable
740
761
 
741
- # `etag` is used for optimistic concurrency control as a way to help
742
- # prevent simultaneous updates of a policy from overwriting each other.
743
- # It is strongly suggested that systems make use of the `etag` in the
744
- # read-modify-write cycle to perform policy updates in order to avoid race
745
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
746
- # systems are expected to put that etag in the request to `setIamPolicy` to
747
- # ensure that their change will be applied to the same version of the policy.
748
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
749
- # policy is overwritten blindly.
750
- # Corresponds to the JSON property `etag`
751
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
752
- # @return [String]
753
- attr_accessor :etag
762
+ # The set of permissions to check for the `resource`. Permissions with
763
+ # wildcards (such as '*' or 'storage.*') are not allowed. For more
764
+ # information see
765
+ # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
766
+ # Corresponds to the JSON property `permissions`
767
+ # @return [Array<String>]
768
+ attr_accessor :permissions
754
769
 
755
- # Version of the `Policy`. The default version is 0.
756
- # Corresponds to the JSON property `version`
757
- # @return [Fixnum]
758
- attr_accessor :version
770
+ def initialize(**args)
771
+ update!(**args)
772
+ end
759
773
 
760
- # Specifies cloud audit logging configuration for this policy.
761
- # Corresponds to the JSON property `auditConfigs`
762
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::AuditConfig>]
763
- attr_accessor :audit_configs
774
+ # Update properties of this object
775
+ def update!(**args)
776
+ @permissions = args[:permissions] if args.key?(:permissions)
777
+ end
778
+ end
764
779
 
765
- # Associates a list of `members` to a `role`.
766
- # `bindings` with no members will result in an error.
767
- # Corresponds to the JSON property `bindings`
768
- # @return [Array<Google::Apis::CloudresourcemanagerV1beta1::Binding>]
769
- attr_accessor :bindings
780
+ # Response message for `TestIamPermissions` method.
781
+ class TestIamPermissionsResponse
782
+ include Google::Apis::Core::Hashable
783
+
784
+ # A subset of `TestPermissionsRequest.permissions` that the caller is
785
+ # allowed.
786
+ # Corresponds to the JSON property `permissions`
787
+ # @return [Array<String>]
788
+ attr_accessor :permissions
770
789
 
771
790
  def initialize(**args)
772
791
  update!(**args)
@@ -774,40 +793,21 @@ module Google
774
793
 
775
794
  # Update properties of this object
776
795
  def update!(**args)
777
- @etag = args[:etag] if args.key?(:etag)
778
- @version = args[:version] if args.key?(:version)
779
- @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
780
- @bindings = args[:bindings] if args.key?(:bindings)
796
+ @permissions = args[:permissions] if args.key?(:permissions)
781
797
  end
782
798
  end
783
799
 
784
- # A container to reference an id for any resource type. A `resource` in Google
785
- # Cloud Platform is a generic term for something you (a developer) may want to
786
- # interact with through one of our API's. Some examples are an App Engine app,
787
- # a Compute Engine instance, a Cloud SQL database, and so on.
788
- class ResourceId
800
+ # The request sent to the UndeleteProject
801
+ # method.
802
+ class UndeleteProjectRequest
789
803
  include Google::Apis::Core::Hashable
790
804
 
791
- # Required field representing the resource type this id is for.
792
- # At present, the valid types are "project" and "organization".
793
- # Corresponds to the JSON property `type`
794
- # @return [String]
795
- attr_accessor :type
796
-
797
- # Required field for the type-specific id. This should correspond to the id
798
- # used in the type-specific API's.
799
- # Corresponds to the JSON property `id`
800
- # @return [String]
801
- attr_accessor :id
802
-
803
805
  def initialize(**args)
804
806
  update!(**args)
805
807
  end
806
808
 
807
809
  # Update properties of this object
808
810
  def update!(**args)
809
- @type = args[:type] if args.key?(:type)
810
- @id = args[:id] if args.key?(:id)
811
811
  end
812
812
  end
813
813
  end