google-api-client 0.11.3 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (397) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +51 -0
  3. data/api_names.yaml +32317 -34465
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  13. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  14. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  15. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  18. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  19. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  22. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  23. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  24. data/generated/google/apis/analytics_v3/service.rb +82 -82
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
  27. data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
  28. data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
  29. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  30. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  31. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  32. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  33. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  34. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  35. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  36. data/generated/google/apis/appengine_v1.rb +1 -1
  37. data/generated/google/apis/appengine_v1/classes.rb +825 -817
  38. data/generated/google/apis/appengine_v1/representations.rb +185 -184
  39. data/generated/google/apis/appengine_v1/service.rb +220 -216
  40. data/generated/google/apis/appstate_v1.rb +1 -1
  41. data/generated/google/apis/bigquery_v2.rb +1 -1
  42. data/generated/google/apis/bigquery_v2/classes.rb +9 -7
  43. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  44. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  45. data/generated/google/apis/blogger_v3/service.rb +3 -3
  46. data/generated/google/apis/books_v1/classes.rb +55 -55
  47. data/generated/google/apis/books_v1/representations.rb +67 -67
  48. data/generated/google/apis/books_v1/service.rb +82 -82
  49. data/generated/google/apis/calendar_v3.rb +1 -1
  50. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  51. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  52. data/generated/google/apis/calendar_v3/service.rb +2 -2
  53. data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
  54. data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
  55. data/generated/google/apis/civicinfo_v2/service.rb +8 -8
  56. data/generated/google/apis/classroom_v1.rb +24 -24
  57. data/generated/google/apis/classroom_v1/classes.rb +381 -381
  58. data/generated/google/apis/classroom_v1/representations.rb +108 -108
  59. data/generated/google/apis/classroom_v1/service.rb +503 -503
  60. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  61. data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
  62. data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
  63. data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
  64. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  65. data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
  66. data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
  67. data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
  68. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  69. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
  70. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
  71. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
  72. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  73. data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
  74. data/generated/google/apis/cloudkms_v1.rb +3 -3
  75. data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
  76. data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
  77. data/generated/google/apis/cloudkms_v1/service.rb +224 -224
  78. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  79. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
  80. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
  81. data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
  83. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
  84. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
  85. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  86. data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
  87. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  88. data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
  89. data/generated/google/apis/compute_beta.rb +1 -1
  90. data/generated/google/apis/compute_beta/classes.rb +57 -15
  91. data/generated/google/apis/compute_beta/representations.rb +30 -14
  92. data/generated/google/apis/compute_beta/service.rb +52 -52
  93. data/generated/google/apis/compute_v1.rb +1 -1
  94. data/generated/google/apis/compute_v1/classes.rb +223 -10
  95. data/generated/google/apis/compute_v1/representations.rb +85 -16
  96. data/generated/google/apis/compute_v1/service.rb +327 -51
  97. data/generated/google/apis/container_v1/classes.rb +267 -267
  98. data/generated/google/apis/container_v1/representations.rb +61 -61
  99. data/generated/google/apis/container_v1/service.rb +123 -123
  100. data/generated/google/apis/content_v2.rb +1 -1
  101. data/generated/google/apis/content_v2/classes.rb +71 -71
  102. data/generated/google/apis/content_v2/representations.rb +105 -105
  103. data/generated/google/apis/content_v2/service.rb +120 -120
  104. data/generated/google/apis/dataflow_v1b3.rb +4 -4
  105. data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
  106. data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
  107. data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
  108. data/generated/google/apis/dataproc_v1.rb +1 -1
  109. data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
  110. data/generated/google/apis/dataproc_v1/representations.rb +147 -147
  111. data/generated/google/apis/dataproc_v1/service.rb +309 -305
  112. data/generated/google/apis/datastore_v1.rb +1 -1
  113. data/generated/google/apis/datastore_v1/classes.rb +818 -818
  114. data/generated/google/apis/datastore_v1/representations.rb +151 -151
  115. data/generated/google/apis/datastore_v1/service.rb +62 -62
  116. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  117. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  118. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  119. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  120. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  121. data/generated/google/apis/discovery_v1/service.rb +1 -1
  122. data/generated/google/apis/dns_v1.rb +1 -1
  123. data/generated/google/apis/dns_v1/classes.rb +3 -3
  124. data/generated/google/apis/dns_v1/representations.rb +6 -6
  125. data/generated/google/apis/dns_v1/service.rb +12 -12
  126. data/generated/google/apis/dns_v2beta1.rb +1 -1
  127. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  128. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  129. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  130. data/generated/google/apis/drive_v2/service.rb +1 -1
  131. data/generated/google/apis/drive_v3/service.rb +1 -1
  132. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  133. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +188 -188
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
  136. data/generated/google/apis/firebaserules_v1.rb +1 -1
  137. data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
  138. data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
  139. data/generated/google/apis/firebaserules_v1/service.rb +89 -89
  140. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  141. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  142. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  143. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  144. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  145. data/generated/google/apis/games_management_v1management.rb +1 -1
  146. data/generated/google/apis/games_v1.rb +1 -1
  147. data/generated/google/apis/games_v1/classes.rb +23 -23
  148. data/generated/google/apis/games_v1/representations.rb +43 -43
  149. data/generated/google/apis/games_v1/service.rb +72 -72
  150. data/generated/google/apis/genomics_v1.rb +7 -7
  151. data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
  152. data/generated/google/apis/genomics_v1/representations.rb +298 -298
  153. data/generated/google/apis/genomics_v1/service.rb +1160 -1160
  154. data/generated/google/apis/groupssettings_v1/service.rb +0 -3
  155. data/generated/google/apis/iam_v1.rb +1 -1
  156. data/generated/google/apis/iam_v1/classes.rb +235 -235
  157. data/generated/google/apis/iam_v1/representations.rb +72 -72
  158. data/generated/google/apis/iam_v1/service.rb +189 -189
  159. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  160. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  161. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  162. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  163. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  164. data/generated/google/apis/kgsearch_v1/service.rb +10 -10
  165. data/generated/google/apis/language_v1/classes.rb +220 -220
  166. data/generated/google/apis/language_v1/representations.rb +81 -81
  167. data/generated/google/apis/language_v1/service.rb +43 -43
  168. data/generated/google/apis/language_v1beta1/classes.rb +448 -448
  169. data/generated/google/apis/language_v1beta1/representations.rb +106 -106
  170. data/generated/google/apis/language_v1beta1/service.rb +31 -31
  171. data/generated/google/apis/licensing_v1/service.rb +2 -2
  172. data/generated/google/apis/logging_v2/classes.rb +737 -737
  173. data/generated/google/apis/logging_v2/representations.rb +120 -120
  174. data/generated/google/apis/logging_v2/service.rb +479 -479
  175. data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
  176. data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
  177. data/generated/google/apis/logging_v2beta1/service.rb +349 -349
  178. data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
  179. data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
  180. data/generated/google/apis/manufacturers_v1/service.rb +8 -8
  181. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  182. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  183. data/generated/google/apis/mirror_v1/service.rb +20 -20
  184. data/generated/google/apis/ml_v1.rb +1 -1
  185. data/generated/google/apis/ml_v1/classes.rb +1285 -1205
  186. data/generated/google/apis/ml_v1/representations.rb +204 -174
  187. data/generated/google/apis/ml_v1/service.rb +150 -145
  188. data/generated/google/apis/monitoring_v3.rb +1 -1
  189. data/generated/google/apis/monitoring_v3/classes.rb +880 -880
  190. data/generated/google/apis/monitoring_v3/representations.rb +154 -154
  191. data/generated/google/apis/monitoring_v3/service.rb +299 -299
  192. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  193. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  194. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  195. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  196. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  197. data/generated/google/apis/partners_v2.rb +1 -1
  198. data/generated/google/apis/partners_v2/classes.rb +524 -509
  199. data/generated/google/apis/partners_v2/representations.rb +115 -111
  200. data/generated/google/apis/partners_v2/service.rb +287 -287
  201. data/generated/google/apis/people_v1.rb +13 -13
  202. data/generated/google/apis/people_v1/classes.rb +1150 -1150
  203. data/generated/google/apis/people_v1/representations.rb +258 -258
  204. data/generated/google/apis/people_v1/service.rb +7 -7
  205. data/generated/google/apis/plus_domains_v1.rb +1 -1
  206. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  207. data/generated/google/apis/plus_v1.rb +1 -1
  208. data/generated/google/apis/plus_v1/service.rb +1 -1
  209. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  210. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
  211. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
  212. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
  213. data/generated/google/apis/pubsub_v1/classes.rb +228 -228
  214. data/generated/google/apis/pubsub_v1/representations.rb +69 -69
  215. data/generated/google/apis/pubsub_v1/service.rb +182 -182
  216. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  217. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  218. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  219. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  220. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  221. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  222. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  223. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  226. data/generated/google/apis/runtimeconfig_v1.rb +3 -3
  227. data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
  228. data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
  229. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  230. data/generated/google/apis/script_v1.rb +9 -9
  231. data/generated/google/apis/script_v1/classes.rb +94 -94
  232. data/generated/google/apis/script_v1/representations.rb +26 -26
  233. data/generated/google/apis/searchconsole_v1.rb +1 -1
  234. data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
  235. data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
  236. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  237. data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
  238. data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
  239. data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
  240. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  241. data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
  242. data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
  243. data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
  244. data/generated/google/apis/serviceuser_v1.rb +4 -4
  245. data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
  246. data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
  247. data/generated/google/apis/serviceuser_v1/service.rb +16 -16
  248. data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
  249. data/generated/google/apis/sheets_v4/representations.rb +324 -324
  250. data/generated/google/apis/sheets_v4/service.rb +49 -49
  251. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  252. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  253. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  254. data/generated/google/apis/slides_v1.rb +4 -4
  255. data/generated/google/apis/slides_v1/classes.rb +2907 -2907
  256. data/generated/google/apis/slides_v1/representations.rb +695 -695
  257. data/generated/google/apis/slides_v1/service.rb +40 -40
  258. data/generated/google/apis/sourcerepo_v1.rb +7 -1
  259. data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
  260. data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
  261. data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
  262. data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
  263. data/generated/google/apis/spanner_v1/representations.rb +205 -205
  264. data/generated/google/apis/spanner_v1/service.rb +525 -525
  265. data/generated/google/apis/speech_v1beta1.rb +1 -1
  266. data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
  267. data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
  268. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  269. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  270. data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
  271. data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
  272. data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
  273. data/generated/google/apis/storage_v1/classes.rb +6 -6
  274. data/generated/google/apis/storage_v1/representations.rb +4 -4
  275. data/generated/google/apis/storage_v1/service.rb +1 -1
  276. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  277. data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
  278. data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
  279. data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
  280. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  281. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  282. data/generated/google/apis/translate_v2.rb +1 -1
  283. data/generated/google/apis/translate_v2/classes.rb +46 -46
  284. data/generated/google/apis/translate_v2/representations.rb +22 -22
  285. data/generated/google/apis/translate_v2/service.rb +81 -74
  286. data/generated/google/apis/vision_v1/classes.rb +1290 -1290
  287. data/generated/google/apis/vision_v1/representations.rb +166 -166
  288. data/generated/google/apis/vision_v1/service.rb +6 -6
  289. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  290. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  291. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  292. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  293. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  294. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  295. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  296. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  297. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  298. data/generated/google/apis/youtube_v3/service.rb +80 -80
  299. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  300. data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
  301. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  302. data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
  303. data/google-api-client.gemspec +3 -3
  304. data/lib/google/apis/core/base_service.rb +6 -0
  305. data/lib/google/apis/generator/annotator.rb +2 -2
  306. data/lib/google/apis/generator/model.rb +2 -2
  307. data/lib/google/apis/version.rb +1 -1
  308. metadata +11 -94
  309. data/dl.rb +0 -0
  310. data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
  311. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
  312. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
  313. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
  314. data/generated/google/apis/appengine_v1beta4.rb +0 -35
  315. data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
  316. data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
  317. data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
  318. data/generated/google/apis/appengine_v1beta5.rb +0 -40
  319. data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
  320. data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
  321. data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
  322. data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
  323. data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
  324. data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
  325. data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
  326. data/generated/google/apis/classroom_v1beta1.rb +0 -49
  327. data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
  328. data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
  329. data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
  330. data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
  331. data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
  332. data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
  333. data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
  334. data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
  335. data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
  336. data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
  337. data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
  338. data/generated/google/apis/container_v1beta1.rb +0 -35
  339. data/generated/google/apis/container_v1beta1/classes.rb +0 -466
  340. data/generated/google/apis/container_v1beta1/representations.rb +0 -177
  341. data/generated/google/apis/container_v1beta1/service.rb +0 -394
  342. data/generated/google/apis/coordinate_v1.rb +0 -37
  343. data/generated/google/apis/coordinate_v1/classes.rb +0 -669
  344. data/generated/google/apis/coordinate_v1/representations.rb +0 -321
  345. data/generated/google/apis/coordinate_v1/service.rb +0 -678
  346. data/generated/google/apis/datastore_v1beta2.rb +0 -40
  347. data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
  348. data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
  349. data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
  350. data/generated/google/apis/datastore_v1beta3.rb +0 -38
  351. data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
  352. data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
  353. data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
  354. data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
  355. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
  356. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
  357. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
  358. data/generated/google/apis/dfareporting_v2_1.rb +0 -37
  359. data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
  360. data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
  361. data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
  362. data/generated/google/apis/dfareporting_v2_3.rb +0 -37
  363. data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
  364. data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
  365. data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
  366. data/generated/google/apis/dfareporting_v2_5.rb +0 -40
  367. data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
  368. data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
  369. data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
  370. data/generated/google/apis/dfareporting_v2_6.rb +0 -40
  371. data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
  372. data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
  373. data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
  374. data/generated/google/apis/gan_v1beta1.rb +0 -31
  375. data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
  376. data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
  377. data/generated/google/apis/gan_v1beta1/service.rb +0 -682
  378. data/generated/google/apis/genomics_v1beta2.rb +0 -46
  379. data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
  380. data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
  381. data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
  382. data/generated/google/apis/logging_v1beta3.rb +0 -47
  383. data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
  384. data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
  385. data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
  386. data/generated/google/apis/manager_v1beta2.rb +0 -53
  387. data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
  388. data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
  389. data/generated/google/apis/manager_v1beta2/service.rb +0 -372
  390. data/generated/google/apis/pubsub_v1beta2.rb +0 -37
  391. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
  392. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
  393. data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
  394. data/generated/google/apis/tracing_v1.rb +0 -40
  395. data/generated/google/apis/tracing_v1/classes.rb +0 -664
  396. data/generated/google/apis/tracing_v1/representations.rb +0 -279
  397. data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -22,263 +22,264 @@ module Google
22
22
  module Apis
23
23
  module SourcerepoV1
24
24
 
25
- class Repo
25
+ class TestIamPermissionsRequest
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class Condition
31
+ class Policy
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class ListReposResponse
37
+ class DataAccessOptions
38
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
39
 
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class TestIamPermissionsResponse
43
+ class AuditConfig
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class CounterOptions
49
+ class SetIamPolicyRequest
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class AuditLogConfig
55
+ class CloudAuditOptions
56
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
57
 
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class Rule
61
+ class Binding
62
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
63
 
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
- class LogConfig
67
+ class MirrorConfig
68
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
69
 
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class TestIamPermissionsRequest
73
+ class Empty
74
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
75
 
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class Policy
79
+ class Repo
80
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
81
 
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
- class DataAccessOptions
85
+ class ListReposResponse
86
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
87
 
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class AuditConfig
91
+ class Condition
92
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
93
 
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
- class SetIamPolicyRequest
97
+ class TestIamPermissionsResponse
98
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
99
 
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class CloudAuditOptions
103
+ class CounterOptions
104
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
105
 
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
- class Binding
109
+ class AuditLogConfig
110
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
111
 
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
- class Empty
115
+ class Rule
116
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
117
 
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class MirrorConfig
121
+ class LogConfig
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
- class Repo
127
+ class TestIamPermissionsRequest
128
128
  # @private
129
129
  class Representation < Google::Apis::Core::JsonRepresentation
130
- property :mirror_config, as: 'mirrorConfig', class: Google::Apis::SourcerepoV1::MirrorConfig, decorator: Google::Apis::SourcerepoV1::MirrorConfig::Representation
131
-
132
- property :url, as: 'url'
133
- property :size, :numeric_string => true, as: 'size'
134
- property :name, as: 'name'
130
+ collection :permissions, as: 'permissions'
135
131
  end
136
132
  end
137
133
 
138
- class Condition
134
+ class Policy
139
135
  # @private
140
136
  class Representation < Google::Apis::Core::JsonRepresentation
141
- property :sys, as: 'sys'
142
- property :value, as: 'value'
143
- property :iam, as: 'iam'
144
- collection :values, as: 'values'
145
- property :op, as: 'op'
146
- property :svc, as: 'svc'
137
+ property :version, as: 'version'
138
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SourcerepoV1::AuditConfig, decorator: Google::Apis::SourcerepoV1::AuditConfig::Representation
139
+
140
+ collection :bindings, as: 'bindings', class: Google::Apis::SourcerepoV1::Binding, decorator: Google::Apis::SourcerepoV1::Binding::Representation
141
+
142
+ property :etag, :base64 => true, as: 'etag'
143
+ property :iam_owned, as: 'iamOwned'
144
+ collection :rules, as: 'rules', class: Google::Apis::SourcerepoV1::Rule, decorator: Google::Apis::SourcerepoV1::Rule::Representation
145
+
147
146
  end
148
147
  end
149
148
 
150
- class ListReposResponse
149
+ class DataAccessOptions
151
150
  # @private
152
151
  class Representation < Google::Apis::Core::JsonRepresentation
153
- property :next_page_token, as: 'nextPageToken'
154
- collection :repos, as: 'repos', class: Google::Apis::SourcerepoV1::Repo, decorator: Google::Apis::SourcerepoV1::Repo::Representation
155
-
156
152
  end
157
153
  end
158
154
 
159
- class TestIamPermissionsResponse
155
+ class AuditConfig
160
156
  # @private
161
157
  class Representation < Google::Apis::Core::JsonRepresentation
162
- collection :permissions, as: 'permissions'
158
+ property :service, as: 'service'
159
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SourcerepoV1::AuditLogConfig, decorator: Google::Apis::SourcerepoV1::AuditLogConfig::Representation
160
+
161
+ collection :exempted_members, as: 'exemptedMembers'
163
162
  end
164
163
  end
165
164
 
166
- class CounterOptions
165
+ class SetIamPolicyRequest
167
166
  # @private
168
167
  class Representation < Google::Apis::Core::JsonRepresentation
169
- property :metric, as: 'metric'
170
- property :field, as: 'field'
168
+ property :policy, as: 'policy', class: Google::Apis::SourcerepoV1::Policy, decorator: Google::Apis::SourcerepoV1::Policy::Representation
169
+
170
+ property :update_mask, as: 'updateMask'
171
171
  end
172
172
  end
173
173
 
174
- class AuditLogConfig
174
+ class CloudAuditOptions
175
175
  # @private
176
176
  class Representation < Google::Apis::Core::JsonRepresentation
177
- collection :exempted_members, as: 'exemptedMembers'
178
- property :log_type, as: 'logType'
177
+ property :log_name, as: 'logName'
179
178
  end
180
179
  end
181
180
 
182
- class Rule
181
+ class Binding
183
182
  # @private
184
183
  class Representation < Google::Apis::Core::JsonRepresentation
185
- collection :not_in, as: 'notIn'
186
- property :description, as: 'description'
187
- collection :conditions, as: 'conditions', class: Google::Apis::SourcerepoV1::Condition, decorator: Google::Apis::SourcerepoV1::Condition::Representation
188
-
189
- collection :log_config, as: 'logConfig', class: Google::Apis::SourcerepoV1::LogConfig, decorator: Google::Apis::SourcerepoV1::LogConfig::Representation
190
-
191
- collection :in, as: 'in'
192
- collection :permissions, as: 'permissions'
193
- property :action, as: 'action'
184
+ collection :members, as: 'members'
185
+ property :role, as: 'role'
194
186
  end
195
187
  end
196
188
 
197
- class LogConfig
189
+ class MirrorConfig
198
190
  # @private
199
191
  class Representation < Google::Apis::Core::JsonRepresentation
200
- property :data_access, as: 'dataAccess', class: Google::Apis::SourcerepoV1::DataAccessOptions, decorator: Google::Apis::SourcerepoV1::DataAccessOptions::Representation
201
-
202
- property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SourcerepoV1::CloudAuditOptions, decorator: Google::Apis::SourcerepoV1::CloudAuditOptions::Representation
203
-
204
- property :counter, as: 'counter', class: Google::Apis::SourcerepoV1::CounterOptions, decorator: Google::Apis::SourcerepoV1::CounterOptions::Representation
205
-
192
+ property :url, as: 'url'
193
+ property :webhook_id, as: 'webhookId'
194
+ property :deploy_key_id, as: 'deployKeyId'
206
195
  end
207
196
  end
208
197
 
209
- class TestIamPermissionsRequest
198
+ class Empty
210
199
  # @private
211
200
  class Representation < Google::Apis::Core::JsonRepresentation
212
- collection :permissions, as: 'permissions'
213
201
  end
214
202
  end
215
203
 
216
- class Policy
204
+ class Repo
217
205
  # @private
218
206
  class Representation < Google::Apis::Core::JsonRepresentation
219
- collection :bindings, as: 'bindings', class: Google::Apis::SourcerepoV1::Binding, decorator: Google::Apis::SourcerepoV1::Binding::Representation
220
-
221
- property :etag, :base64 => true, as: 'etag'
222
- property :iam_owned, as: 'iamOwned'
223
- collection :rules, as: 'rules', class: Google::Apis::SourcerepoV1::Rule, decorator: Google::Apis::SourcerepoV1::Rule::Representation
224
-
225
- property :version, as: 'version'
226
- collection :audit_configs, as: 'auditConfigs', class: Google::Apis::SourcerepoV1::AuditConfig, decorator: Google::Apis::SourcerepoV1::AuditConfig::Representation
207
+ property :url, as: 'url'
208
+ property :size, :numeric_string => true, as: 'size'
209
+ property :name, as: 'name'
210
+ property :mirror_config, as: 'mirrorConfig', class: Google::Apis::SourcerepoV1::MirrorConfig, decorator: Google::Apis::SourcerepoV1::MirrorConfig::Representation
227
211
 
228
212
  end
229
213
  end
230
214
 
231
- class DataAccessOptions
215
+ class ListReposResponse
232
216
  # @private
233
217
  class Representation < Google::Apis::Core::JsonRepresentation
218
+ collection :repos, as: 'repos', class: Google::Apis::SourcerepoV1::Repo, decorator: Google::Apis::SourcerepoV1::Repo::Representation
219
+
220
+ property :next_page_token, as: 'nextPageToken'
234
221
  end
235
222
  end
236
223
 
237
- class AuditConfig
224
+ class Condition
238
225
  # @private
239
226
  class Representation < Google::Apis::Core::JsonRepresentation
240
- property :service, as: 'service'
241
- collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::SourcerepoV1::AuditLogConfig, decorator: Google::Apis::SourcerepoV1::AuditLogConfig::Representation
242
-
243
- collection :exempted_members, as: 'exemptedMembers'
227
+ property :op, as: 'op'
228
+ property :svc, as: 'svc'
229
+ property :value, as: 'value'
230
+ property :sys, as: 'sys'
231
+ property :iam, as: 'iam'
232
+ collection :values, as: 'values'
244
233
  end
245
234
  end
246
235
 
247
- class SetIamPolicyRequest
236
+ class TestIamPermissionsResponse
248
237
  # @private
249
238
  class Representation < Google::Apis::Core::JsonRepresentation
250
- property :policy, as: 'policy', class: Google::Apis::SourcerepoV1::Policy, decorator: Google::Apis::SourcerepoV1::Policy::Representation
251
-
252
- property :update_mask, as: 'updateMask'
239
+ collection :permissions, as: 'permissions'
253
240
  end
254
241
  end
255
242
 
256
- class CloudAuditOptions
243
+ class CounterOptions
257
244
  # @private
258
245
  class Representation < Google::Apis::Core::JsonRepresentation
246
+ property :metric, as: 'metric'
247
+ property :field, as: 'field'
259
248
  end
260
249
  end
261
250
 
262
- class Binding
251
+ class AuditLogConfig
263
252
  # @private
264
253
  class Representation < Google::Apis::Core::JsonRepresentation
265
- collection :members, as: 'members'
266
- property :role, as: 'role'
254
+ property :log_type, as: 'logType'
255
+ collection :exempted_members, as: 'exemptedMembers'
267
256
  end
268
257
  end
269
258
 
270
- class Empty
259
+ class Rule
271
260
  # @private
272
261
  class Representation < Google::Apis::Core::JsonRepresentation
262
+ collection :not_in, as: 'notIn'
263
+ property :description, as: 'description'
264
+ collection :conditions, as: 'conditions', class: Google::Apis::SourcerepoV1::Condition, decorator: Google::Apis::SourcerepoV1::Condition::Representation
265
+
266
+ collection :log_config, as: 'logConfig', class: Google::Apis::SourcerepoV1::LogConfig, decorator: Google::Apis::SourcerepoV1::LogConfig::Representation
267
+
268
+ collection :in, as: 'in'
269
+ collection :permissions, as: 'permissions'
270
+ property :action, as: 'action'
273
271
  end
274
272
  end
275
273
 
276
- class MirrorConfig
274
+ class LogConfig
277
275
  # @private
278
276
  class Representation < Google::Apis::Core::JsonRepresentation
279
- property :webhook_id, as: 'webhookId'
280
- property :deploy_key_id, as: 'deployKeyId'
281
- property :url, as: 'url'
277
+ property :counter, as: 'counter', class: Google::Apis::SourcerepoV1::CounterOptions, decorator: Google::Apis::SourcerepoV1::CounterOptions::Representation
278
+
279
+ property :data_access, as: 'dataAccess', class: Google::Apis::SourcerepoV1::DataAccessOptions, decorator: Google::Apis::SourcerepoV1::DataAccessOptions::Representation
280
+
281
+ property :cloud_audit, as: 'cloudAudit', class: Google::Apis::SourcerepoV1::CloudAuditOptions, decorator: Google::Apis::SourcerepoV1::CloudAuditOptions::Representation
282
+
282
283
  end
283
284
  end
284
285
  end
@@ -47,10 +47,12 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
- # Deletes a repo.
51
- # @param [String] name
52
- # The name of the repo to delete. Values are of the form
53
- # `projects/<project>/repos/<repo>`.
50
+ # Gets the access control policy for a resource.
51
+ # Returns an empty policy if the resource exists and does not have a policy
52
+ # set.
53
+ # @param [String] resource
54
+ # REQUIRED: The resource for which the policy is being requested.
55
+ # See the operation documentation for the appropriate value for this field.
54
56
  # @param [String] fields
55
57
  # Selector specifying which fields to include in a partial response.
56
58
  # @param [String] quota_user
@@ -60,35 +62,28 @@ module Google
60
62
  # Request-specific options
61
63
  #
62
64
  # @yield [result, err] Result & error if block supplied
63
- # @yieldparam result [Google::Apis::SourcerepoV1::Empty] parsed result object
65
+ # @yieldparam result [Google::Apis::SourcerepoV1::Policy] parsed result object
64
66
  # @yieldparam err [StandardError] error object if request failed
65
67
  #
66
- # @return [Google::Apis::SourcerepoV1::Empty]
68
+ # @return [Google::Apis::SourcerepoV1::Policy]
67
69
  #
68
70
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
69
71
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
70
72
  # @raise [Google::Apis::AuthorizationError] Authorization is required
71
- def delete_project_repo(name, fields: nil, quota_user: nil, options: nil, &block)
72
- command = make_simple_command(:delete, 'v1/{+name}', options)
73
- command.response_representation = Google::Apis::SourcerepoV1::Empty::Representation
74
- command.response_class = Google::Apis::SourcerepoV1::Empty
75
- command.params['name'] = name unless name.nil?
73
+ def get_project_repo_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
74
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
75
+ command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
76
+ command.response_class = Google::Apis::SourcerepoV1::Policy
77
+ command.params['resource'] = resource unless resource.nil?
76
78
  command.query['fields'] = fields unless fields.nil?
77
79
  command.query['quotaUser'] = quota_user unless quota_user.nil?
78
80
  execute_or_queue_command(command, &block)
79
81
  end
80
82
 
81
- # Returns all repos belonging to a project.
83
+ # Returns information about a repo.
82
84
  # @param [String] name
83
- # The project ID whose repos should be listed. Values are of the form
84
- # `projects/<project>`.
85
- # @param [String] page_token
86
- # Resume listing repositories where a prior ListReposResponse
87
- # left off. This is an opaque token that must be obtained from
88
- # a recent, prior ListReposResponse's next_page_token field.
89
- # @param [Fixnum] page_size
90
- # Maximum number of repositories to return; between 1 and 500.
91
- # If not set or zero, defaults to 100 at the server.
85
+ # The name of the requested repository. Values are of the form
86
+ # `projects/<project>/repos/<repo>`.
92
87
  # @param [String] fields
93
88
  # Selector specifying which fields to include in a partial response.
94
89
  # @param [String] quota_user
@@ -98,33 +93,31 @@ module Google
98
93
  # Request-specific options
99
94
  #
100
95
  # @yield [result, err] Result & error if block supplied
101
- # @yieldparam result [Google::Apis::SourcerepoV1::ListReposResponse] parsed result object
96
+ # @yieldparam result [Google::Apis::SourcerepoV1::Repo] parsed result object
102
97
  # @yieldparam err [StandardError] error object if request failed
103
98
  #
104
- # @return [Google::Apis::SourcerepoV1::ListReposResponse]
99
+ # @return [Google::Apis::SourcerepoV1::Repo]
105
100
  #
106
101
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
107
102
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
108
103
  # @raise [Google::Apis::AuthorizationError] Authorization is required
109
- def list_project_repos(name, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
110
- command = make_simple_command(:get, 'v1/{+name}/repos', options)
111
- command.response_representation = Google::Apis::SourcerepoV1::ListReposResponse::Representation
112
- command.response_class = Google::Apis::SourcerepoV1::ListReposResponse
104
+ def get_project_repo(name, fields: nil, quota_user: nil, options: nil, &block)
105
+ command = make_simple_command(:get, 'v1/{+name}', options)
106
+ command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
107
+ command.response_class = Google::Apis::SourcerepoV1::Repo
113
108
  command.params['name'] = name unless name.nil?
114
- command.query['pageToken'] = page_token unless page_token.nil?
115
- command.query['pageSize'] = page_size unless page_size.nil?
116
109
  command.query['fields'] = fields unless fields.nil?
117
110
  command.query['quotaUser'] = quota_user unless quota_user.nil?
118
111
  execute_or_queue_command(command, &block)
119
112
  end
120
113
 
121
- # Creates a repo in the given project with the given name..
122
- # If the named repository already exists, `CreateRepo` returns
123
- # `ALREADY_EXISTS`.
124
- # @param [String] parent
125
- # The project in which to create the repo. Values are of the form
126
- # `projects/<project>`.
127
- # @param [Google::Apis::SourcerepoV1::Repo] repo_object
114
+ # Returns permissions that a caller has on the specified resource.
115
+ # If the resource does not exist, this will return an empty set of
116
+ # permissions, not a NOT_FOUND error.
117
+ # @param [String] resource
118
+ # REQUIRED: The resource for which the policy detail is being requested.
119
+ # See the operation documentation for the appropriate value for this field.
120
+ # @param [Google::Apis::SourcerepoV1::TestIamPermissionsRequest] test_iam_permissions_request_object
128
121
  # @param [String] fields
129
122
  # Selector specifying which fields to include in a partial response.
130
123
  # @param [String] quota_user
@@ -134,32 +127,30 @@ module Google
134
127
  # Request-specific options
135
128
  #
136
129
  # @yield [result, err] Result & error if block supplied
137
- # @yieldparam result [Google::Apis::SourcerepoV1::Repo] parsed result object
130
+ # @yieldparam result [Google::Apis::SourcerepoV1::TestIamPermissionsResponse] parsed result object
138
131
  # @yieldparam err [StandardError] error object if request failed
139
132
  #
140
- # @return [Google::Apis::SourcerepoV1::Repo]
133
+ # @return [Google::Apis::SourcerepoV1::TestIamPermissionsResponse]
141
134
  #
142
135
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
143
136
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
144
137
  # @raise [Google::Apis::AuthorizationError] Authorization is required
145
- def create_project_repo(parent, repo_object = nil, fields: nil, quota_user: nil, options: nil, &block)
146
- command = make_simple_command(:post, 'v1/{+parent}/repos', options)
147
- command.request_representation = Google::Apis::SourcerepoV1::Repo::Representation
148
- command.request_object = repo_object
149
- command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
150
- command.response_class = Google::Apis::SourcerepoV1::Repo
151
- command.params['parent'] = parent unless parent.nil?
138
+ def test_repo_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
139
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
140
+ command.request_representation = Google::Apis::SourcerepoV1::TestIamPermissionsRequest::Representation
141
+ command.request_object = test_iam_permissions_request_object
142
+ command.response_representation = Google::Apis::SourcerepoV1::TestIamPermissionsResponse::Representation
143
+ command.response_class = Google::Apis::SourcerepoV1::TestIamPermissionsResponse
144
+ command.params['resource'] = resource unless resource.nil?
152
145
  command.query['fields'] = fields unless fields.nil?
153
146
  command.query['quotaUser'] = quota_user unless quota_user.nil?
154
147
  execute_or_queue_command(command, &block)
155
148
  end
156
149
 
157
- # Sets the access control policy on the specified resource. Replaces any
158
- # existing policy.
159
- # @param [String] resource
160
- # REQUIRED: The resource for which the policy is being specified.
161
- # See the operation documentation for the appropriate value for this field.
162
- # @param [Google::Apis::SourcerepoV1::SetIamPolicyRequest] set_iam_policy_request_object
150
+ # Deletes a repo.
151
+ # @param [String] name
152
+ # The name of the repo to delete. Values are of the form
153
+ # `projects/<project>/repos/<repo>`.
163
154
  # @param [String] fields
164
155
  # Selector specifying which fields to include in a partial response.
165
156
  # @param [String] quota_user
@@ -169,32 +160,36 @@ module Google
169
160
  # Request-specific options
170
161
  #
171
162
  # @yield [result, err] Result & error if block supplied
172
- # @yieldparam result [Google::Apis::SourcerepoV1::Policy] parsed result object
163
+ # @yieldparam result [Google::Apis::SourcerepoV1::Empty] parsed result object
173
164
  # @yieldparam err [StandardError] error object if request failed
174
165
  #
175
- # @return [Google::Apis::SourcerepoV1::Policy]
166
+ # @return [Google::Apis::SourcerepoV1::Empty]
176
167
  #
177
168
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
178
169
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
179
170
  # @raise [Google::Apis::AuthorizationError] Authorization is required
180
- def set_repo_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
181
- command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
182
- command.request_representation = Google::Apis::SourcerepoV1::SetIamPolicyRequest::Representation
183
- command.request_object = set_iam_policy_request_object
184
- command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
185
- command.response_class = Google::Apis::SourcerepoV1::Policy
186
- command.params['resource'] = resource unless resource.nil?
171
+ def delete_project_repo(name, fields: nil, quota_user: nil, options: nil, &block)
172
+ command = make_simple_command(:delete, 'v1/{+name}', options)
173
+ command.response_representation = Google::Apis::SourcerepoV1::Empty::Representation
174
+ command.response_class = Google::Apis::SourcerepoV1::Empty
175
+ command.params['name'] = name unless name.nil?
187
176
  command.query['fields'] = fields unless fields.nil?
188
177
  command.query['quotaUser'] = quota_user unless quota_user.nil?
189
178
  execute_or_queue_command(command, &block)
190
179
  end
191
180
 
192
- # Gets the access control policy for a resource.
193
- # Returns an empty policy if the resource exists and does not have a policy
194
- # set.
195
- # @param [String] resource
196
- # REQUIRED: The resource for which the policy is being requested.
197
- # See the operation documentation for the appropriate value for this field.
181
+ # Returns all repos belonging to a project. The sizes of the repos are
182
+ # not set by ListRepos. To get the size of a repo, use GetRepo.
183
+ # @param [String] name
184
+ # The project ID whose repos should be listed. Values are of the form
185
+ # `projects/<project>`.
186
+ # @param [String] page_token
187
+ # Resume listing repositories where a prior ListReposResponse
188
+ # left off. This is an opaque token that must be obtained from
189
+ # a recent, prior ListReposResponse's next_page_token field.
190
+ # @param [Fixnum] page_size
191
+ # Maximum number of repositories to return; between 1 and 500.
192
+ # If not set or zero, defaults to 100 at the server.
198
193
  # @param [String] fields
199
194
  # Selector specifying which fields to include in a partial response.
200
195
  # @param [String] quota_user
@@ -204,28 +199,32 @@ module Google
204
199
  # Request-specific options
205
200
  #
206
201
  # @yield [result, err] Result & error if block supplied
207
- # @yieldparam result [Google::Apis::SourcerepoV1::Policy] parsed result object
202
+ # @yieldparam result [Google::Apis::SourcerepoV1::ListReposResponse] parsed result object
208
203
  # @yieldparam err [StandardError] error object if request failed
209
204
  #
210
- # @return [Google::Apis::SourcerepoV1::Policy]
205
+ # @return [Google::Apis::SourcerepoV1::ListReposResponse]
211
206
  #
212
207
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
213
208
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
214
209
  # @raise [Google::Apis::AuthorizationError] Authorization is required
215
- def get_project_repo_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
216
- command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
217
- command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
218
- command.response_class = Google::Apis::SourcerepoV1::Policy
219
- command.params['resource'] = resource unless resource.nil?
210
+ def list_project_repos(name, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
211
+ command = make_simple_command(:get, 'v1/{+name}/repos', options)
212
+ command.response_representation = Google::Apis::SourcerepoV1::ListReposResponse::Representation
213
+ command.response_class = Google::Apis::SourcerepoV1::ListReposResponse
214
+ command.params['name'] = name unless name.nil?
215
+ command.query['pageToken'] = page_token unless page_token.nil?
216
+ command.query['pageSize'] = page_size unless page_size.nil?
220
217
  command.query['fields'] = fields unless fields.nil?
221
218
  command.query['quotaUser'] = quota_user unless quota_user.nil?
222
219
  execute_or_queue_command(command, &block)
223
220
  end
224
221
 
225
- # Returns information about a repo.
226
- # @param [String] name
227
- # The name of the requested repository. Values are of the form
228
- # `projects/<project>/repos/<repo>`.
222
+ # Sets the access control policy on the specified resource. Replaces any
223
+ # existing policy.
224
+ # @param [String] resource
225
+ # REQUIRED: The resource for which the policy is being specified.
226
+ # See the operation documentation for the appropriate value for this field.
227
+ # @param [Google::Apis::SourcerepoV1::SetIamPolicyRequest] set_iam_policy_request_object
229
228
  # @param [String] fields
230
229
  # Selector specifying which fields to include in a partial response.
231
230
  # @param [String] quota_user
@@ -235,31 +234,33 @@ module Google
235
234
  # Request-specific options
236
235
  #
237
236
  # @yield [result, err] Result & error if block supplied
238
- # @yieldparam result [Google::Apis::SourcerepoV1::Repo] parsed result object
237
+ # @yieldparam result [Google::Apis::SourcerepoV1::Policy] parsed result object
239
238
  # @yieldparam err [StandardError] error object if request failed
240
239
  #
241
- # @return [Google::Apis::SourcerepoV1::Repo]
240
+ # @return [Google::Apis::SourcerepoV1::Policy]
242
241
  #
243
242
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
244
243
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
245
244
  # @raise [Google::Apis::AuthorizationError] Authorization is required
246
- def get_project_repo(name, fields: nil, quota_user: nil, options: nil, &block)
247
- command = make_simple_command(:get, 'v1/{+name}', options)
248
- command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
249
- command.response_class = Google::Apis::SourcerepoV1::Repo
250
- command.params['name'] = name unless name.nil?
245
+ def set_repo_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
246
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
247
+ command.request_representation = Google::Apis::SourcerepoV1::SetIamPolicyRequest::Representation
248
+ command.request_object = set_iam_policy_request_object
249
+ command.response_representation = Google::Apis::SourcerepoV1::Policy::Representation
250
+ command.response_class = Google::Apis::SourcerepoV1::Policy
251
+ command.params['resource'] = resource unless resource.nil?
251
252
  command.query['fields'] = fields unless fields.nil?
252
253
  command.query['quotaUser'] = quota_user unless quota_user.nil?
253
254
  execute_or_queue_command(command, &block)
254
255
  end
255
256
 
256
- # Returns permissions that a caller has on the specified resource.
257
- # If the resource does not exist, this will return an empty set of
258
- # permissions, not a NOT_FOUND error.
259
- # @param [String] resource
260
- # REQUIRED: The resource for which the policy detail is being requested.
261
- # See the operation documentation for the appropriate value for this field.
262
- # @param [Google::Apis::SourcerepoV1::TestIamPermissionsRequest] test_iam_permissions_request_object
257
+ # Creates a repo in the given project with the given name.
258
+ # If the named repository already exists, `CreateRepo` returns
259
+ # `ALREADY_EXISTS`.
260
+ # @param [String] parent
261
+ # The project in which to create the repo. Values are of the form
262
+ # `projects/<project>`.
263
+ # @param [Google::Apis::SourcerepoV1::Repo] repo_object
263
264
  # @param [String] fields
264
265
  # Selector specifying which fields to include in a partial response.
265
266
  # @param [String] quota_user
@@ -269,21 +270,21 @@ module Google
269
270
  # Request-specific options
270
271
  #
271
272
  # @yield [result, err] Result & error if block supplied
272
- # @yieldparam result [Google::Apis::SourcerepoV1::TestIamPermissionsResponse] parsed result object
273
+ # @yieldparam result [Google::Apis::SourcerepoV1::Repo] parsed result object
273
274
  # @yieldparam err [StandardError] error object if request failed
274
275
  #
275
- # @return [Google::Apis::SourcerepoV1::TestIamPermissionsResponse]
276
+ # @return [Google::Apis::SourcerepoV1::Repo]
276
277
  #
277
278
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
278
279
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
279
280
  # @raise [Google::Apis::AuthorizationError] Authorization is required
280
- def test_repo_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
281
- command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
282
- command.request_representation = Google::Apis::SourcerepoV1::TestIamPermissionsRequest::Representation
283
- command.request_object = test_iam_permissions_request_object
284
- command.response_representation = Google::Apis::SourcerepoV1::TestIamPermissionsResponse::Representation
285
- command.response_class = Google::Apis::SourcerepoV1::TestIamPermissionsResponse
286
- command.params['resource'] = resource unless resource.nil?
281
+ def create_project_repo(parent, repo_object = nil, fields: nil, quota_user: nil, options: nil, &block)
282
+ command = make_simple_command(:post, 'v1/{+parent}/repos', options)
283
+ command.request_representation = Google::Apis::SourcerepoV1::Repo::Representation
284
+ command.request_object = repo_object
285
+ command.response_representation = Google::Apis::SourcerepoV1::Repo::Representation
286
+ command.response_class = Google::Apis::SourcerepoV1::Repo
287
+ command.params['parent'] = parent unless parent.nil?
287
288
  command.query['fields'] = fields unless fields.nil?
288
289
  command.query['quotaUser'] = quota_user unless quota_user.nil?
289
290
  execute_or_queue_command(command, &block)