google-api-client 0.12.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (315) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/api_names.yaml +945 -41609
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
  10. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  11. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  12. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  13. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  14. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  15. data/generated/google/apis/adsense_v1_4.rb +1 -1
  16. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  17. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  18. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  19. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  21. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  22. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  23. data/generated/google/apis/analytics_v3/service.rb +82 -82
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
  25. data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
  26. data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  30. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  32. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  33. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  34. data/generated/google/apis/appengine_v1.rb +4 -4
  35. data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
  36. data/generated/google/apis/appengine_v1/representations.rb +362 -343
  37. data/generated/google/apis/appengine_v1/service.rb +220 -220
  38. data/generated/google/apis/appstate_v1.rb +1 -1
  39. data/generated/google/apis/bigquery_v2.rb +1 -1
  40. data/generated/google/apis/bigquery_v2/classes.rb +5 -5
  41. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  42. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  43. data/generated/google/apis/blogger_v3/service.rb +3 -3
  44. data/generated/google/apis/books_v1/classes.rb +55 -55
  45. data/generated/google/apis/books_v1/representations.rb +67 -67
  46. data/generated/google/apis/books_v1/service.rb +82 -82
  47. data/generated/google/apis/calendar_v3.rb +1 -1
  48. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  49. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  50. data/generated/google/apis/calendar_v3/service.rb +2 -2
  51. data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
  52. data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
  53. data/generated/google/apis/civicinfo_v2/service.rb +12 -12
  54. data/generated/google/apis/classroom_v1.rb +7 -7
  55. data/generated/google/apis/classroom_v1/classes.rb +1013 -991
  56. data/generated/google/apis/classroom_v1/representations.rb +207 -204
  57. data/generated/google/apis/classroom_v1/service.rb +709 -709
  58. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  59. data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
  60. data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
  61. data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
  62. data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
  63. data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
  64. data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
  65. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  66. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
  67. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
  68. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
  69. data/generated/google/apis/cloudkms_v1.rb +1 -1
  70. data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
  71. data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
  72. data/generated/google/apis/cloudkms_v1/service.rb +267 -267
  73. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  74. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
  75. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
  76. data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
  77. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
  79. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
  80. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
  81. data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
  82. data/generated/google/apis/compute_beta.rb +1 -1
  83. data/generated/google/apis/compute_beta/classes.rb +163 -15
  84. data/generated/google/apis/compute_beta/representations.rb +54 -14
  85. data/generated/google/apis/compute_beta/service.rb +2258 -482
  86. data/generated/google/apis/compute_v1.rb +1 -1
  87. data/generated/google/apis/compute_v1/classes.rb +465 -13
  88. data/generated/google/apis/compute_v1/representations.rb +202 -16
  89. data/generated/google/apis/compute_v1/service.rb +573 -309
  90. data/generated/google/apis/container_v1.rb +1 -1
  91. data/generated/google/apis/container_v1/classes.rb +635 -589
  92. data/generated/google/apis/container_v1/representations.rb +139 -111
  93. data/generated/google/apis/container_v1/service.rb +272 -227
  94. data/generated/google/apis/content_v2.rb +1 -1
  95. data/generated/google/apis/content_v2/classes.rb +86 -74
  96. data/generated/google/apis/content_v2/representations.rb +107 -105
  97. data/generated/google/apis/content_v2/service.rb +131 -130
  98. data/generated/google/apis/customsearch_v1.rb +2 -2
  99. data/generated/google/apis/customsearch_v1/classes.rb +0 -6
  100. data/generated/google/apis/customsearch_v1/representations.rb +0 -1
  101. data/generated/google/apis/customsearch_v1/service.rb +2 -5
  102. data/generated/google/apis/dataflow_v1b3.rb +7 -4
  103. data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
  104. data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
  105. data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
  106. data/generated/google/apis/dataproc_v1.rb +1 -1
  107. data/generated/google/apis/dataproc_v1/classes.rb +543 -691
  108. data/generated/google/apis/dataproc_v1/representations.rb +129 -185
  109. data/generated/google/apis/dataproc_v1/service.rb +347 -347
  110. data/generated/google/apis/datastore_v1.rb +4 -4
  111. data/generated/google/apis/datastore_v1/classes.rb +833 -833
  112. data/generated/google/apis/datastore_v1/representations.rb +182 -182
  113. data/generated/google/apis/datastore_v1/service.rb +45 -45
  114. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  115. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  116. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  117. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  118. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  119. data/generated/google/apis/discovery_v1/service.rb +1 -1
  120. data/generated/google/apis/dns_v1.rb +1 -1
  121. data/generated/google/apis/dns_v1/classes.rb +3 -3
  122. data/generated/google/apis/dns_v1/representations.rb +6 -6
  123. data/generated/google/apis/dns_v1/service.rb +12 -12
  124. data/generated/google/apis/dns_v2beta1.rb +1 -1
  125. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  126. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  127. data/generated/google/apis/drive_v2.rb +1 -1
  128. data/generated/google/apis/drive_v2/classes.rb +1 -1
  129. data/generated/google/apis/drive_v2/service.rb +1 -1
  130. data/generated/google/apis/drive_v3.rb +1 -1
  131. data/generated/google/apis/drive_v3/service.rb +1 -1
  132. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  133. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
  136. data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
  137. data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
  138. data/generated/google/apis/firebaserules_v1/service.rb +103 -103
  139. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  140. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  141. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  142. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  143. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  144. data/generated/google/apis/games_management_v1management.rb +1 -1
  145. data/generated/google/apis/games_v1.rb +1 -1
  146. data/generated/google/apis/games_v1/classes.rb +23 -23
  147. data/generated/google/apis/games_v1/representations.rb +43 -43
  148. data/generated/google/apis/games_v1/service.rb +72 -72
  149. data/generated/google/apis/genomics_v1.rb +1 -1
  150. data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
  151. data/generated/google/apis/genomics_v1/representations.rb +291 -291
  152. data/generated/google/apis/genomics_v1/service.rb +821 -821
  153. data/generated/google/apis/gmail_v1.rb +1 -1
  154. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  155. data/generated/google/apis/groupssettings_v1.rb +1 -1
  156. data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
  157. data/generated/google/apis/groupssettings_v1/service.rb +3 -0
  158. data/generated/google/apis/iam_v1/classes.rb +338 -338
  159. data/generated/google/apis/iam_v1/representations.rb +98 -98
  160. data/generated/google/apis/iam_v1/service.rb +35 -35
  161. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  162. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  163. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  164. data/generated/google/apis/kgsearch_v1/service.rb +13 -13
  165. data/generated/google/apis/language_v1.rb +1 -1
  166. data/generated/google/apis/language_v1/classes.rb +374 -374
  167. data/generated/google/apis/language_v1/representations.rb +97 -97
  168. data/generated/google/apis/language_v1/service.rb +16 -16
  169. data/generated/google/apis/language_v1beta1.rb +1 -1
  170. data/generated/google/apis/language_v1beta1/classes.rb +441 -441
  171. data/generated/google/apis/language_v1beta1/representations.rb +108 -108
  172. data/generated/google/apis/language_v1beta1/service.rb +30 -30
  173. data/generated/google/apis/licensing_v1/service.rb +2 -2
  174. data/generated/google/apis/logging_v2.rb +1 -1
  175. data/generated/google/apis/logging_v2/classes.rb +712 -712
  176. data/generated/google/apis/logging_v2/representations.rb +109 -109
  177. data/generated/google/apis/logging_v2/service.rb +543 -539
  178. data/generated/google/apis/logging_v2beta1.rb +1 -1
  179. data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
  180. data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
  181. data/generated/google/apis/logging_v2beta1/service.rb +257 -256
  182. data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
  183. data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
  184. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  185. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  186. data/generated/google/apis/mirror_v1/service.rb +20 -20
  187. data/generated/google/apis/ml_v1.rb +1 -1
  188. data/generated/google/apis/ml_v1/classes.rb +1830 -1210
  189. data/generated/google/apis/ml_v1/representations.rb +342 -120
  190. data/generated/google/apis/ml_v1/service.rb +365 -258
  191. data/generated/google/apis/monitoring_v3.rb +4 -4
  192. data/generated/google/apis/monitoring_v3/classes.rb +889 -889
  193. data/generated/google/apis/monitoring_v3/representations.rb +174 -174
  194. data/generated/google/apis/monitoring_v3/service.rb +119 -119
  195. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  196. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  197. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  198. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  199. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  200. data/generated/google/apis/partners_v2.rb +1 -1
  201. data/generated/google/apis/partners_v2/classes.rb +550 -536
  202. data/generated/google/apis/partners_v2/representations.rb +118 -116
  203. data/generated/google/apis/partners_v2/service.rb +439 -439
  204. data/generated/google/apis/people_v1.rb +4 -4
  205. data/generated/google/apis/people_v1/classes.rb +414 -413
  206. data/generated/google/apis/people_v1/representations.rb +85 -85
  207. data/generated/google/apis/people_v1/service.rb +111 -18
  208. data/generated/google/apis/plus_domains_v1.rb +1 -1
  209. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  210. data/generated/google/apis/plus_v1.rb +1 -1
  211. data/generated/google/apis/plus_v1/service.rb +1 -1
  212. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  213. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  214. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
  215. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
  216. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
  217. data/generated/google/apis/pubsub_v1/classes.rb +249 -249
  218. data/generated/google/apis/pubsub_v1/representations.rb +80 -80
  219. data/generated/google/apis/pubsub_v1/service.rb +415 -415
  220. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  221. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  222. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  223. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  226. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  227. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  228. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  229. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  230. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  231. data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
  232. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  233. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  234. data/generated/google/apis/script_v1.rb +17 -17
  235. data/generated/google/apis/script_v1/classes.rb +27 -27
  236. data/generated/google/apis/script_v1/representations.rb +5 -5
  237. data/generated/google/apis/script_v1/service.rb +4 -4
  238. data/generated/google/apis/searchconsole_v1.rb +1 -1
  239. data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
  240. data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
  241. data/generated/google/apis/searchconsole_v1/service.rb +4 -4
  242. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  243. data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
  244. data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
  245. data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
  246. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  247. data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
  248. data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
  249. data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
  250. data/generated/google/apis/serviceuser_v1.rb +1 -1
  251. data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
  252. data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
  253. data/generated/google/apis/serviceuser_v1/service.rb +37 -37
  254. data/generated/google/apis/sheets_v4.rb +1 -1
  255. data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
  256. data/generated/google/apis/sheets_v4/representations.rb +994 -824
  257. data/generated/google/apis/sheets_v4/service.rb +80 -80
  258. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  259. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  260. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  261. data/generated/google/apis/slides_v1.rb +1 -1
  262. data/generated/google/apis/slides_v1/classes.rb +2885 -2885
  263. data/generated/google/apis/slides_v1/representations.rb +310 -310
  264. data/generated/google/apis/slides_v1/service.rb +54 -54
  265. data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
  266. data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
  267. data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
  268. data/generated/google/apis/spanner_v1.rb +1 -1
  269. data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
  270. data/generated/google/apis/spanner_v1/representations.rb +174 -174
  271. data/generated/google/apis/spanner_v1/service.rb +497 -497
  272. data/generated/google/apis/speech_v1beta1.rb +1 -1
  273. data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
  274. data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
  275. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  276. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  277. data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
  278. data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
  279. data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
  280. data/generated/google/apis/storage_v1.rb +1 -1
  281. data/generated/google/apis/storage_v1/classes.rb +40 -6
  282. data/generated/google/apis/storage_v1/representations.rb +20 -4
  283. data/generated/google/apis/storage_v1/service.rb +61 -46
  284. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  285. data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
  286. data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
  287. data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
  288. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  289. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  290. data/generated/google/apis/translate_v2/classes.rb +12 -12
  291. data/generated/google/apis/translate_v2/representations.rb +10 -10
  292. data/generated/google/apis/translate_v2/service.rb +62 -62
  293. data/generated/google/apis/vision_v1.rb +1 -1
  294. data/generated/google/apis/vision_v1/classes.rb +1267 -1267
  295. data/generated/google/apis/vision_v1/representations.rb +200 -200
  296. data/generated/google/apis/vision_v1/service.rb +10 -10
  297. data/generated/google/apis/webmasters_v3.rb +1 -1
  298. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  299. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  300. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  301. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  302. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  303. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  304. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  305. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  306. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  307. data/generated/google/apis/youtube_v3/service.rb +80 -80
  308. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  309. data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
  310. data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
  311. data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
  312. data/lib/google/apis/generator/annotator.rb +2 -2
  313. data/lib/google/apis/generator/model.rb +2 -2
  314. data/lib/google/apis/version.rb +1 -1
  315. metadata +2 -2
@@ -22,279 +22,279 @@ module Google
22
22
  module Apis
23
23
  module FirebaserulesV1
24
24
 
25
- class Release
25
+ class Result
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 TestRulesetResponse
31
+ class SourcePosition
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 TestResult
37
+ class TestCase
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 ListRulesetsResponse
43
+ class Ruleset
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 Arg
49
+ class TestRulesetRequest
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 TestSuite
55
+ class Issue
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 Empty
61
+ class ListReleasesResponse
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 FunctionMock
67
+ class File
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 Source
73
+ class FunctionCall
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 Result
79
+ class Release
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 SourcePosition
85
+ class TestRulesetResponse
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 TestCase
91
+ class TestResult
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 Ruleset
97
+ class ListRulesetsResponse
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 TestRulesetRequest
103
+ class Arg
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 Issue
109
+ class TestSuite
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 ListReleasesResponse
115
+ class Empty
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 FunctionCall
121
+ class FunctionMock
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 File
127
+ class Source
128
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
129
 
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class Release
133
+ class Result
134
134
  # @private
135
135
  class Representation < Google::Apis::Core::JsonRepresentation
136
- property :create_time, as: 'createTime'
137
- property :update_time, as: 'updateTime'
138
- property :name, as: 'name'
139
- property :ruleset_name, as: 'rulesetName'
136
+ property :value, as: 'value'
137
+ property :undefined, as: 'undefined', class: Google::Apis::FirebaserulesV1::Empty, decorator: Google::Apis::FirebaserulesV1::Empty::Representation
138
+
140
139
  end
141
140
  end
142
141
 
143
- class TestRulesetResponse
142
+ class SourcePosition
144
143
  # @private
145
144
  class Representation < Google::Apis::Core::JsonRepresentation
146
- collection :test_results, as: 'testResults', class: Google::Apis::FirebaserulesV1::TestResult, decorator: Google::Apis::FirebaserulesV1::TestResult::Representation
147
-
148
- collection :issues, as: 'issues', class: Google::Apis::FirebaserulesV1::Issue, decorator: Google::Apis::FirebaserulesV1::Issue::Representation
149
-
145
+ property :line, as: 'line'
146
+ property :column, as: 'column'
147
+ property :file_name, as: 'fileName'
150
148
  end
151
149
  end
152
150
 
153
- class TestResult
151
+ class TestCase
154
152
  # @private
155
153
  class Representation < Google::Apis::Core::JsonRepresentation
156
- property :error_position, as: 'errorPosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation
157
-
158
- collection :function_calls, as: 'functionCalls', class: Google::Apis::FirebaserulesV1::FunctionCall, decorator: Google::Apis::FirebaserulesV1::FunctionCall::Representation
154
+ property :resource, as: 'resource'
155
+ collection :function_mocks, as: 'functionMocks', class: Google::Apis::FirebaserulesV1::FunctionMock, decorator: Google::Apis::FirebaserulesV1::FunctionMock::Representation
159
156
 
160
- property :state, as: 'state'
161
- collection :debug_messages, as: 'debugMessages'
157
+ property :expectation, as: 'expectation'
158
+ property :request, as: 'request'
162
159
  end
163
160
  end
164
161
 
165
- class ListRulesetsResponse
162
+ class Ruleset
166
163
  # @private
167
164
  class Representation < Google::Apis::Core::JsonRepresentation
168
- collection :rulesets, as: 'rulesets', class: Google::Apis::FirebaserulesV1::Ruleset, decorator: Google::Apis::FirebaserulesV1::Ruleset::Representation
165
+ property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
169
166
 
170
- property :next_page_token, as: 'nextPageToken'
167
+ property :create_time, as: 'createTime'
168
+ property :name, as: 'name'
171
169
  end
172
170
  end
173
171
 
174
- class Arg
172
+ class TestRulesetRequest
175
173
  # @private
176
174
  class Representation < Google::Apis::Core::JsonRepresentation
177
- property :exact_value, as: 'exactValue'
178
- property :any_value, as: 'anyValue', class: Google::Apis::FirebaserulesV1::Empty, decorator: Google::Apis::FirebaserulesV1::Empty::Representation
175
+ property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
176
+
177
+ property :test_suite, as: 'testSuite', class: Google::Apis::FirebaserulesV1::TestSuite, decorator: Google::Apis::FirebaserulesV1::TestSuite::Representation
179
178
 
180
179
  end
181
180
  end
182
181
 
183
- class TestSuite
182
+ class Issue
184
183
  # @private
185
184
  class Representation < Google::Apis::Core::JsonRepresentation
186
- collection :test_cases, as: 'testCases', class: Google::Apis::FirebaserulesV1::TestCase, decorator: Google::Apis::FirebaserulesV1::TestCase::Representation
185
+ property :description, as: 'description'
186
+ property :source_position, as: 'sourcePosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation
187
187
 
188
+ property :severity, as: 'severity'
188
189
  end
189
190
  end
190
191
 
191
- class Empty
192
+ class ListReleasesResponse
192
193
  # @private
193
194
  class Representation < Google::Apis::Core::JsonRepresentation
195
+ collection :releases, as: 'releases', class: Google::Apis::FirebaserulesV1::Release, decorator: Google::Apis::FirebaserulesV1::Release::Representation
196
+
197
+ property :next_page_token, as: 'nextPageToken'
194
198
  end
195
199
  end
196
200
 
197
- class FunctionMock
201
+ class File
198
202
  # @private
199
203
  class Representation < Google::Apis::Core::JsonRepresentation
200
- collection :args, as: 'args', class: Google::Apis::FirebaserulesV1::Arg, decorator: Google::Apis::FirebaserulesV1::Arg::Representation
201
-
202
- property :function, as: 'function'
203
- property :result, as: 'result', class: Google::Apis::FirebaserulesV1::Result, decorator: Google::Apis::FirebaserulesV1::Result::Representation
204
-
204
+ property :name, as: 'name'
205
+ property :content, as: 'content'
206
+ property :fingerprint, :base64 => true, as: 'fingerprint'
205
207
  end
206
208
  end
207
209
 
208
- class Source
210
+ class FunctionCall
209
211
  # @private
210
212
  class Representation < Google::Apis::Core::JsonRepresentation
211
- collection :files, as: 'files', class: Google::Apis::FirebaserulesV1::File, decorator: Google::Apis::FirebaserulesV1::File::Representation
212
-
213
+ collection :args, as: 'args'
214
+ property :function, as: 'function'
213
215
  end
214
216
  end
215
217
 
216
- class Result
218
+ class Release
217
219
  # @private
218
220
  class Representation < Google::Apis::Core::JsonRepresentation
219
- property :value, as: 'value'
220
- property :undefined, as: 'undefined', class: Google::Apis::FirebaserulesV1::Empty, decorator: Google::Apis::FirebaserulesV1::Empty::Representation
221
-
221
+ property :create_time, as: 'createTime'
222
+ property :update_time, as: 'updateTime'
223
+ property :name, as: 'name'
224
+ property :ruleset_name, as: 'rulesetName'
222
225
  end
223
226
  end
224
227
 
225
- class SourcePosition
228
+ class TestRulesetResponse
226
229
  # @private
227
230
  class Representation < Google::Apis::Core::JsonRepresentation
228
- property :line, as: 'line'
229
- property :column, as: 'column'
230
- property :file_name, as: 'fileName'
231
+ collection :test_results, as: 'testResults', class: Google::Apis::FirebaserulesV1::TestResult, decorator: Google::Apis::FirebaserulesV1::TestResult::Representation
232
+
233
+ collection :issues, as: 'issues', class: Google::Apis::FirebaserulesV1::Issue, decorator: Google::Apis::FirebaserulesV1::Issue::Representation
234
+
231
235
  end
232
236
  end
233
237
 
234
- class TestCase
238
+ class TestResult
235
239
  # @private
236
240
  class Representation < Google::Apis::Core::JsonRepresentation
237
- property :resource, as: 'resource'
238
- collection :function_mocks, as: 'functionMocks', class: Google::Apis::FirebaserulesV1::FunctionMock, decorator: Google::Apis::FirebaserulesV1::FunctionMock::Representation
241
+ collection :function_calls, as: 'functionCalls', class: Google::Apis::FirebaserulesV1::FunctionCall, decorator: Google::Apis::FirebaserulesV1::FunctionCall::Representation
242
+
243
+ property :state, as: 'state'
244
+ collection :debug_messages, as: 'debugMessages'
245
+ property :error_position, as: 'errorPosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation
239
246
 
240
- property :expectation, as: 'expectation'
241
- property :request, as: 'request'
242
247
  end
243
248
  end
244
249
 
245
- class Ruleset
250
+ class ListRulesetsResponse
246
251
  # @private
247
252
  class Representation < Google::Apis::Core::JsonRepresentation
248
- property :name, as: 'name'
249
- property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
253
+ collection :rulesets, as: 'rulesets', class: Google::Apis::FirebaserulesV1::Ruleset, decorator: Google::Apis::FirebaserulesV1::Ruleset::Representation
250
254
 
251
- property :create_time, as: 'createTime'
255
+ property :next_page_token, as: 'nextPageToken'
252
256
  end
253
257
  end
254
258
 
255
- class TestRulesetRequest
259
+ class Arg
256
260
  # @private
257
261
  class Representation < Google::Apis::Core::JsonRepresentation
258
- property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
259
-
260
- property :test_suite, as: 'testSuite', class: Google::Apis::FirebaserulesV1::TestSuite, decorator: Google::Apis::FirebaserulesV1::TestSuite::Representation
262
+ property :exact_value, as: 'exactValue'
263
+ property :any_value, as: 'anyValue', class: Google::Apis::FirebaserulesV1::Empty, decorator: Google::Apis::FirebaserulesV1::Empty::Representation
261
264
 
262
265
  end
263
266
  end
264
267
 
265
- class Issue
268
+ class TestSuite
266
269
  # @private
267
270
  class Representation < Google::Apis::Core::JsonRepresentation
268
- property :source_position, as: 'sourcePosition', class: Google::Apis::FirebaserulesV1::SourcePosition, decorator: Google::Apis::FirebaserulesV1::SourcePosition::Representation
271
+ collection :test_cases, as: 'testCases', class: Google::Apis::FirebaserulesV1::TestCase, decorator: Google::Apis::FirebaserulesV1::TestCase::Representation
269
272
 
270
- property :severity, as: 'severity'
271
- property :description, as: 'description'
272
273
  end
273
274
  end
274
275
 
275
- class ListReleasesResponse
276
+ class Empty
276
277
  # @private
277
278
  class Representation < Google::Apis::Core::JsonRepresentation
278
- property :next_page_token, as: 'nextPageToken'
279
- collection :releases, as: 'releases', class: Google::Apis::FirebaserulesV1::Release, decorator: Google::Apis::FirebaserulesV1::Release::Representation
280
-
281
279
  end
282
280
  end
283
281
 
284
- class FunctionCall
282
+ class FunctionMock
285
283
  # @private
286
284
  class Representation < Google::Apis::Core::JsonRepresentation
287
285
  property :function, as: 'function'
288
- collection :args, as: 'args'
286
+ property :result, as: 'result', class: Google::Apis::FirebaserulesV1::Result, decorator: Google::Apis::FirebaserulesV1::Result::Representation
287
+
288
+ collection :args, as: 'args', class: Google::Apis::FirebaserulesV1::Arg, decorator: Google::Apis::FirebaserulesV1::Arg::Representation
289
+
289
290
  end
290
291
  end
291
292
 
292
- class File
293
+ class Source
293
294
  # @private
294
295
  class Representation < Google::Apis::Core::JsonRepresentation
295
- property :fingerprint, :base64 => true, as: 'fingerprint'
296
- property :name, as: 'name'
297
- property :content, as: 'content'
296
+ collection :files, as: 'files', class: Google::Apis::FirebaserulesV1::File, decorator: Google::Apis::FirebaserulesV1::File::Representation
297
+
298
298
  end
299
299
  end
300
300
  end
@@ -172,12 +172,6 @@ module Google
172
172
  # @param [String] name
173
173
  # Resource name for the project.
174
174
  # Format: `projects/`project_id``
175
- # @param [String] filter
176
- # `Ruleset` filter. The list method supports filters with restrictions on
177
- # `Ruleset.name`.
178
- # Filters on `Ruleset.create_time` should use the `date` function which
179
- # parses strings that conform to the RFC 3339 date/time specifications.
180
- # Example: `create_time > date("2017-01-01") AND name=UUID-*`
181
175
  # @param [String] page_token
182
176
  # Next page token for loading the next batch of `Ruleset` instances.
183
177
  # @param [Fixnum] page_size
@@ -185,6 +179,12 @@ module Google
185
179
  # Note: `page_size` is just a hint and the service may choose to load less
186
180
  # than `page_size` due to the size of the output. To traverse all of the
187
181
  # releases, caller should iterate until the `page_token` is empty.
182
+ # @param [String] filter
183
+ # `Ruleset` filter. The list method supports filters with restrictions on
184
+ # `Ruleset.name`.
185
+ # Filters on `Ruleset.create_time` should use the `date` function which
186
+ # parses strings that conform to the RFC 3339 date/time specifications.
187
+ # Example: `create_time > date("2017-01-01") AND name=UUID-*`
188
188
  # @param [String] fields
189
189
  # Selector specifying which fields to include in a partial response.
190
190
  # @param [String] quota_user
@@ -202,14 +202,14 @@ module Google
202
202
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
203
203
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
204
204
  # @raise [Google::Apis::AuthorizationError] Authorization is required
205
- def list_project_rulesets(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
205
+ def list_project_rulesets(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
206
206
  command = make_simple_command(:get, 'v1/{+name}/rulesets', options)
207
207
  command.response_representation = Google::Apis::FirebaserulesV1::ListRulesetsResponse::Representation
208
208
  command.response_class = Google::Apis::FirebaserulesV1::ListRulesetsResponse
209
209
  command.params['name'] = name unless name.nil?
210
- command.query['filter'] = filter unless filter.nil?
211
210
  command.query['pageToken'] = page_token unless page_token.nil?
212
211
  command.query['pageSize'] = page_size unless page_size.nil?
212
+ command.query['filter'] = filter unless filter.nil?
213
213
  command.query['fields'] = fields unless fields.nil?
214
214
  command.query['quotaUser'] = quota_user unless quota_user.nil?
215
215
  execute_or_queue_command(command, &block)
@@ -253,101 +253,6 @@ module Google
253
253
  execute_or_queue_command(command, &block)
254
254
  end
255
255
 
256
- # Get a `Release` by name.
257
- # @param [String] name
258
- # Resource name of the `Release`.
259
- # Format: `projects/`project_id`/releases/`release_id``
260
- # @param [String] fields
261
- # Selector specifying which fields to include in a partial response.
262
- # @param [String] quota_user
263
- # Available to use for quota purposes for server-side applications. Can be any
264
- # arbitrary string assigned to a user, but should not exceed 40 characters.
265
- # @param [Google::Apis::RequestOptions] options
266
- # Request-specific options
267
- #
268
- # @yield [result, err] Result & error if block supplied
269
- # @yieldparam result [Google::Apis::FirebaserulesV1::Release] parsed result object
270
- # @yieldparam err [StandardError] error object if request failed
271
- #
272
- # @return [Google::Apis::FirebaserulesV1::Release]
273
- #
274
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
275
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
276
- # @raise [Google::Apis::AuthorizationError] Authorization is required
277
- def get_project_release(name, fields: nil, quota_user: nil, options: nil, &block)
278
- command = make_simple_command(:get, 'v1/{+name}', options)
279
- command.response_representation = Google::Apis::FirebaserulesV1::Release::Representation
280
- command.response_class = Google::Apis::FirebaserulesV1::Release
281
- command.params['name'] = name unless name.nil?
282
- command.query['fields'] = fields unless fields.nil?
283
- command.query['quotaUser'] = quota_user unless quota_user.nil?
284
- execute_or_queue_command(command, &block)
285
- end
286
-
287
- # List the `Release` values for a project. This list may optionally be
288
- # filtered by `Release` name, `Ruleset` name, `TestSuite` name, or any
289
- # combination thereof.
290
- # @param [String] name
291
- # Resource name for the project.
292
- # Format: `projects/`project_id``
293
- # @param [String] page_token
294
- # Next page token for the next batch of `Release` instances.
295
- # @param [Fixnum] page_size
296
- # Page size to load. Maximum of 100. Defaults to 10.
297
- # Note: `page_size` is just a hint and the service may choose to load fewer
298
- # than `page_size` results due to the size of the output. To traverse all of
299
- # the releases, the caller should iterate until the `page_token` on the
300
- # response is empty.
301
- # @param [String] filter
302
- # `Release` filter. The list method supports filters with restrictions on the
303
- # `Release.name`, `Release.ruleset_name`, and `Release.test_suite_name`.
304
- # Example 1: A filter of 'name=prod*' might return `Release`s with names
305
- # within 'projects/foo' prefixed with 'prod':
306
- # Name | Ruleset Name
307
- # ------------------------------|-------------
308
- # projects/foo/releases/prod | projects/foo/rulesets/uuid1234
309
- # projects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234
310
- # projects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888
311
- # Example 2: A filter of `name=prod* ruleset_name=uuid1234` would return only
312
- # `Release` instances for 'projects/foo' with names prefixed with 'prod'
313
- # referring to the same `Ruleset` name of 'uuid1234':
314
- # Name | Ruleset Name
315
- # ------------------------------|-------------
316
- # projects/foo/releases/prod | projects/foo/rulesets/1234
317
- # projects/foo/releases/prod/v1 | projects/foo/rulesets/1234
318
- # In the examples, the filter parameters refer to the search filters are
319
- # relative to the project. Fully qualified prefixed may also be used. e.g.
320
- # `test_suite_name=projects/foo/testsuites/uuid1`
321
- # @param [String] fields
322
- # Selector specifying which fields to include in a partial response.
323
- # @param [String] quota_user
324
- # Available to use for quota purposes for server-side applications. Can be any
325
- # arbitrary string assigned to a user, but should not exceed 40 characters.
326
- # @param [Google::Apis::RequestOptions] options
327
- # Request-specific options
328
- #
329
- # @yield [result, err] Result & error if block supplied
330
- # @yieldparam result [Google::Apis::FirebaserulesV1::ListReleasesResponse] parsed result object
331
- # @yieldparam err [StandardError] error object if request failed
332
- #
333
- # @return [Google::Apis::FirebaserulesV1::ListReleasesResponse]
334
- #
335
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
336
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
337
- # @raise [Google::Apis::AuthorizationError] Authorization is required
338
- def list_project_releases(name, page_token: nil, page_size: nil, filter: nil, fields: nil, quota_user: nil, options: nil, &block)
339
- command = make_simple_command(:get, 'v1/{+name}/releases', options)
340
- command.response_representation = Google::Apis::FirebaserulesV1::ListReleasesResponse::Representation
341
- command.response_class = Google::Apis::FirebaserulesV1::ListReleasesResponse
342
- command.params['name'] = name unless name.nil?
343
- command.query['pageToken'] = page_token unless page_token.nil?
344
- command.query['pageSize'] = page_size unless page_size.nil?
345
- command.query['filter'] = filter unless filter.nil?
346
- command.query['fields'] = fields unless fields.nil?
347
- command.query['quotaUser'] = quota_user unless quota_user.nil?
348
- execute_or_queue_command(command, &block)
349
- end
350
-
351
256
  # Update a `Release`.
352
257
  # Only updates to the `ruleset_name` and `test_suite_name` fields will be
353
258
  # honored. `Release` rename is not supported. To create a `Release` use the
@@ -483,6 +388,101 @@ module Google
483
388
  command.query['quotaUser'] = quota_user unless quota_user.nil?
484
389
  execute_or_queue_command(command, &block)
485
390
  end
391
+
392
+ # Get a `Release` by name.
393
+ # @param [String] name
394
+ # Resource name of the `Release`.
395
+ # Format: `projects/`project_id`/releases/`release_id``
396
+ # @param [String] fields
397
+ # Selector specifying which fields to include in a partial response.
398
+ # @param [String] quota_user
399
+ # Available to use for quota purposes for server-side applications. Can be any
400
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
401
+ # @param [Google::Apis::RequestOptions] options
402
+ # Request-specific options
403
+ #
404
+ # @yield [result, err] Result & error if block supplied
405
+ # @yieldparam result [Google::Apis::FirebaserulesV1::Release] parsed result object
406
+ # @yieldparam err [StandardError] error object if request failed
407
+ #
408
+ # @return [Google::Apis::FirebaserulesV1::Release]
409
+ #
410
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
411
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
412
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
413
+ def get_project_release(name, fields: nil, quota_user: nil, options: nil, &block)
414
+ command = make_simple_command(:get, 'v1/{+name}', options)
415
+ command.response_representation = Google::Apis::FirebaserulesV1::Release::Representation
416
+ command.response_class = Google::Apis::FirebaserulesV1::Release
417
+ command.params['name'] = name unless name.nil?
418
+ command.query['fields'] = fields unless fields.nil?
419
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
420
+ execute_or_queue_command(command, &block)
421
+ end
422
+
423
+ # List the `Release` values for a project. This list may optionally be
424
+ # filtered by `Release` name, `Ruleset` name, `TestSuite` name, or any
425
+ # combination thereof.
426
+ # @param [String] name
427
+ # Resource name for the project.
428
+ # Format: `projects/`project_id``
429
+ # @param [String] filter
430
+ # `Release` filter. The list method supports filters with restrictions on the
431
+ # `Release.name`, `Release.ruleset_name`, and `Release.test_suite_name`.
432
+ # Example 1: A filter of 'name=prod*' might return `Release`s with names
433
+ # within 'projects/foo' prefixed with 'prod':
434
+ # Name | Ruleset Name
435
+ # ------------------------------|-------------
436
+ # projects/foo/releases/prod | projects/foo/rulesets/uuid1234
437
+ # projects/foo/releases/prod/v1 | projects/foo/rulesets/uuid1234
438
+ # projects/foo/releases/prod/v2 | projects/foo/rulesets/uuid8888
439
+ # Example 2: A filter of `name=prod* ruleset_name=uuid1234` would return only
440
+ # `Release` instances for 'projects/foo' with names prefixed with 'prod'
441
+ # referring to the same `Ruleset` name of 'uuid1234':
442
+ # Name | Ruleset Name
443
+ # ------------------------------|-------------
444
+ # projects/foo/releases/prod | projects/foo/rulesets/1234
445
+ # projects/foo/releases/prod/v1 | projects/foo/rulesets/1234
446
+ # In the examples, the filter parameters refer to the search filters are
447
+ # relative to the project. Fully qualified prefixed may also be used. e.g.
448
+ # `test_suite_name=projects/foo/testsuites/uuid1`
449
+ # @param [String] page_token
450
+ # Next page token for the next batch of `Release` instances.
451
+ # @param [Fixnum] page_size
452
+ # Page size to load. Maximum of 100. Defaults to 10.
453
+ # Note: `page_size` is just a hint and the service may choose to load fewer
454
+ # than `page_size` results due to the size of the output. To traverse all of
455
+ # the releases, the caller should iterate until the `page_token` on the
456
+ # response is empty.
457
+ # @param [String] fields
458
+ # Selector specifying which fields to include in a partial response.
459
+ # @param [String] quota_user
460
+ # Available to use for quota purposes for server-side applications. Can be any
461
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
462
+ # @param [Google::Apis::RequestOptions] options
463
+ # Request-specific options
464
+ #
465
+ # @yield [result, err] Result & error if block supplied
466
+ # @yieldparam result [Google::Apis::FirebaserulesV1::ListReleasesResponse] parsed result object
467
+ # @yieldparam err [StandardError] error object if request failed
468
+ #
469
+ # @return [Google::Apis::FirebaserulesV1::ListReleasesResponse]
470
+ #
471
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
472
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
473
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
474
+ def list_project_releases(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
475
+ command = make_simple_command(:get, 'v1/{+name}/releases', options)
476
+ command.response_representation = Google::Apis::FirebaserulesV1::ListReleasesResponse::Representation
477
+ command.response_class = Google::Apis::FirebaserulesV1::ListReleasesResponse
478
+ command.params['name'] = name unless name.nil?
479
+ command.query['filter'] = filter unless filter.nil?
480
+ command.query['pageToken'] = page_token unless page_token.nil?
481
+ command.query['pageSize'] = page_size unless page_size.nil?
482
+ command.query['fields'] = fields unless fields.nil?
483
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
484
+ execute_or_queue_command(command, &block)
485
+ end
486
486
 
487
487
  protected
488
488