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,30 +22,6 @@ module Google
22
22
  module Apis
23
23
  module FirebasedynamiclinksV1
24
24
 
25
- class NavigationInfo
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
- class IosInfo
32
- class Representation < Google::Apis::Core::JsonRepresentation; end
33
-
34
- include Google::Apis::Core::JsonObjectSupport
35
- end
36
-
37
- class AnalyticsInfo
38
- class Representation < Google::Apis::Core::JsonRepresentation; end
39
-
40
- include Google::Apis::Core::JsonObjectSupport
41
- end
42
-
43
- class CreateShortDynamicLinkRequest
44
- class Representation < Google::Apis::Core::JsonRepresentation; end
45
-
46
- include Google::Apis::Core::JsonObjectSupport
47
- end
48
-
49
25
  class CreateShortDynamicLinkResponse
50
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
27
 
@@ -82,65 +58,49 @@ module Google
82
58
  include Google::Apis::Core::JsonObjectSupport
83
59
  end
84
60
 
85
- class DynamicLinkWarning
61
+ class AndroidInfo
86
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
63
 
88
64
  include Google::Apis::Core::JsonObjectSupport
89
65
  end
90
66
 
91
- class AndroidInfo
67
+ class DynamicLinkWarning
92
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
69
 
94
70
  include Google::Apis::Core::JsonObjectSupport
95
71
  end
96
72
 
97
73
  class NavigationInfo
98
- # @private
99
- class Representation < Google::Apis::Core::JsonRepresentation
100
- property :enable_forced_redirect, as: 'enableForcedRedirect'
101
- end
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
102
77
  end
103
78
 
104
79
  class IosInfo
105
- # @private
106
- class Representation < Google::Apis::Core::JsonRepresentation
107
- property :ios_custom_scheme, as: 'iosCustomScheme'
108
- property :ios_bundle_id, as: 'iosBundleId'
109
- property :ios_fallback_link, as: 'iosFallbackLink'
110
- property :ios_app_store_id, as: 'iosAppStoreId'
111
- property :ios_ipad_fallback_link, as: 'iosIpadFallbackLink'
112
- property :ios_ipad_bundle_id, as: 'iosIpadBundleId'
113
- end
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
114
83
  end
115
84
 
116
85
  class AnalyticsInfo
117
- # @private
118
- class Representation < Google::Apis::Core::JsonRepresentation
119
- property :itunes_connect_analytics, as: 'itunesConnectAnalytics', class: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics::Representation
120
-
121
- property :google_play_analytics, as: 'googlePlayAnalytics', class: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics::Representation
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
122
87
 
123
- end
88
+ include Google::Apis::Core::JsonObjectSupport
124
89
  end
125
90
 
126
91
  class CreateShortDynamicLinkRequest
127
- # @private
128
- class Representation < Google::Apis::Core::JsonRepresentation
129
- property :dynamic_link_info, as: 'dynamicLinkInfo', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo::Representation
130
-
131
- property :long_dynamic_link, as: 'longDynamicLink'
132
- property :suffix, as: 'suffix', class: Google::Apis::FirebasedynamiclinksV1::Suffix, decorator: Google::Apis::FirebasedynamiclinksV1::Suffix::Representation
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
133
93
 
134
- end
94
+ include Google::Apis::Core::JsonObjectSupport
135
95
  end
136
96
 
137
97
  class CreateShortDynamicLinkResponse
138
98
  # @private
139
99
  class Representation < Google::Apis::Core::JsonRepresentation
140
- property :short_link, as: 'shortLink'
141
100
  property :preview_link, as: 'previewLink'
142
101
  collection :warning, as: 'warning', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkWarning::Representation
143
102
 
103
+ property :short_link, as: 'shortLink'
144
104
  end
145
105
  end
146
106
 
@@ -166,6 +126,7 @@ module Google
166
126
  class DynamicLinkInfo
167
127
  # @private
168
128
  class Representation < Google::Apis::Core::JsonRepresentation
129
+ property :link, as: 'link'
169
130
  property :ios_info, as: 'iosInfo', class: Google::Apis::FirebasedynamiclinksV1::IosInfo, decorator: Google::Apis::FirebasedynamiclinksV1::IosInfo::Representation
170
131
 
171
132
  property :social_meta_tag_info, as: 'socialMetaTagInfo', class: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo, decorator: Google::Apis::FirebasedynamiclinksV1::SocialMetaTagInfo::Representation
@@ -177,7 +138,6 @@ module Google
177
138
  property :analytics_info, as: 'analyticsInfo', class: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo, decorator: Google::Apis::FirebasedynamiclinksV1::AnalyticsInfo::Representation
178
139
 
179
140
  property :dynamic_link_domain, as: 'dynamicLinkDomain'
180
- property :link, as: 'link'
181
141
  end
182
142
  end
183
143
 
@@ -185,8 +145,8 @@ module Google
185
145
  # @private
186
146
  class Representation < Google::Apis::Core::JsonRepresentation
187
147
  property :at, as: 'at'
188
- property :ct, as: 'ct'
189
148
  property :mt, as: 'mt'
149
+ property :ct, as: 'ct'
190
150
  property :pt, as: 'pt'
191
151
  end
192
152
  end
@@ -194,27 +154,67 @@ module Google
194
154
  class SocialMetaTagInfo
195
155
  # @private
196
156
  class Representation < Google::Apis::Core::JsonRepresentation
197
- property :social_title, as: 'socialTitle'
198
157
  property :social_image_link, as: 'socialImageLink'
158
+ property :social_title, as: 'socialTitle'
199
159
  property :social_description, as: 'socialDescription'
200
160
  end
201
161
  end
202
162
 
163
+ class AndroidInfo
164
+ # @private
165
+ class Representation < Google::Apis::Core::JsonRepresentation
166
+ property :android_link, as: 'androidLink'
167
+ property :android_fallback_link, as: 'androidFallbackLink'
168
+ property :android_package_name, as: 'androidPackageName'
169
+ property :android_min_package_version_code, as: 'androidMinPackageVersionCode'
170
+ end
171
+ end
172
+
203
173
  class DynamicLinkWarning
204
174
  # @private
205
175
  class Representation < Google::Apis::Core::JsonRepresentation
206
- property :warning_message, as: 'warningMessage'
207
176
  property :warning_code, as: 'warningCode'
177
+ property :warning_message, as: 'warningMessage'
208
178
  end
209
179
  end
210
180
 
211
- class AndroidInfo
181
+ class NavigationInfo
212
182
  # @private
213
183
  class Representation < Google::Apis::Core::JsonRepresentation
214
- property :android_link, as: 'androidLink'
215
- property :android_fallback_link, as: 'androidFallbackLink'
216
- property :android_package_name, as: 'androidPackageName'
217
- property :android_min_package_version_code, as: 'androidMinPackageVersionCode'
184
+ property :enable_forced_redirect, as: 'enableForcedRedirect'
185
+ end
186
+ end
187
+
188
+ class IosInfo
189
+ # @private
190
+ class Representation < Google::Apis::Core::JsonRepresentation
191
+ property :ios_ipad_fallback_link, as: 'iosIpadFallbackLink'
192
+ property :ios_ipad_bundle_id, as: 'iosIpadBundleId'
193
+ property :ios_custom_scheme, as: 'iosCustomScheme'
194
+ property :ios_bundle_id, as: 'iosBundleId'
195
+ property :ios_fallback_link, as: 'iosFallbackLink'
196
+ property :ios_app_store_id, as: 'iosAppStoreId'
197
+ end
198
+ end
199
+
200
+ class AnalyticsInfo
201
+ # @private
202
+ class Representation < Google::Apis::Core::JsonRepresentation
203
+ property :itunes_connect_analytics, as: 'itunesConnectAnalytics', class: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::ITunesConnectAnalytics::Representation
204
+
205
+ property :google_play_analytics, as: 'googlePlayAnalytics', class: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics, decorator: Google::Apis::FirebasedynamiclinksV1::GooglePlayAnalytics::Representation
206
+
207
+ end
208
+ end
209
+
210
+ class CreateShortDynamicLinkRequest
211
+ # @private
212
+ class Representation < Google::Apis::Core::JsonRepresentation
213
+ property :long_dynamic_link, as: 'longDynamicLink'
214
+ property :suffix, as: 'suffix', class: Google::Apis::FirebasedynamiclinksV1::Suffix, decorator: Google::Apis::FirebasedynamiclinksV1::Suffix::Representation
215
+
216
+ property :dynamic_link_info, as: 'dynamicLinkInfo', class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo, decorator: Google::Apis::FirebasedynamiclinksV1::DynamicLinkInfo::Representation
217
+
218
218
  end
219
219
  end
220
220
  end
@@ -55,11 +55,11 @@ module Google
55
55
  # The Dynamic Link domain in the request must be owned by requester's
56
56
  # Firebase project.
57
57
  # @param [Google::Apis::FirebasedynamiclinksV1::CreateShortDynamicLinkRequest] create_short_dynamic_link_request_object
58
- # @param [String] fields
59
- # Selector specifying which fields to include in a partial response.
60
58
  # @param [String] quota_user
61
59
  # Available to use for quota purposes for server-side applications. Can be any
62
60
  # arbitrary string assigned to a user, but should not exceed 40 characters.
61
+ # @param [String] fields
62
+ # Selector specifying which fields to include in a partial response.
63
63
  # @param [Google::Apis::RequestOptions] options
64
64
  # Request-specific options
65
65
  #
@@ -72,14 +72,14 @@ module Google
72
72
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
73
73
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
74
74
  # @raise [Google::Apis::AuthorizationError] Authorization is required
75
- def create_short_link_short_dynamic_link(create_short_dynamic_link_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
75
+ def create_short_link_short_dynamic_link(create_short_dynamic_link_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
76
76
  command = make_simple_command(:post, 'v1/shortLinks', options)
77
77
  command.request_representation = Google::Apis::FirebasedynamiclinksV1::CreateShortDynamicLinkRequest::Representation
78
78
  command.request_object = create_short_dynamic_link_request_object
79
79
  command.response_representation = Google::Apis::FirebasedynamiclinksV1::CreateShortDynamicLinkResponse::Representation
80
80
  command.response_class = Google::Apis::FirebasedynamiclinksV1::CreateShortDynamicLinkResponse
81
- command.query['fields'] = fields unless fields.nil?
82
81
  command.query['quotaUser'] = quota_user unless quota_user.nil?
82
+ command.query['fields'] = fields unless fields.nil?
83
83
  execute_or_queue_command(command, &block)
84
84
  end
85
85
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://firebase.google.com/docs/storage/security
27
27
  module FirebaserulesV1
28
28
  VERSION = 'V1'
29
- REVISION = '20170418'
29
+ REVISION = '20170523'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,33 +22,81 @@ module Google
22
22
  module Apis
23
23
  module FirebaserulesV1
24
24
 
25
- # A generic empty message that you can re-use to avoid defining duplicated
26
- # empty messages in your APIs. A typical example is to use it as the request
27
- # or the response type of an API method. For instance:
28
- # service Foo `
29
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
30
- # `
31
- # The JSON representation for `Empty` is empty JSON object ````.
32
- class Empty
25
+ # `Release` is a named reference to a `Ruleset`. Once a `Release` refers to a
26
+ # `Ruleset`, rules-enabled services will be able to enforce the `Ruleset`.
27
+ class Release
33
28
  include Google::Apis::Core::Hashable
34
29
 
30
+ # Time the release was created.
31
+ # Output only.
32
+ # Corresponds to the JSON property `createTime`
33
+ # @return [String]
34
+ attr_accessor :create_time
35
+
36
+ # Time the release was updated.
37
+ # Output only.
38
+ # Corresponds to the JSON property `updateTime`
39
+ # @return [String]
40
+ attr_accessor :update_time
41
+
42
+ # Resource name for the `Release`.
43
+ # `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2`
44
+ # which affords developers a great deal of flexibility in mapping the name
45
+ # to the style that best fits their existing development practices. For
46
+ # example, a name could refer to an environment, an app, a version, or some
47
+ # combination of three.
48
+ # In the table below, for the project name `projects/foo`, the following
49
+ # relative release paths show how flat and structured names might be chosen
50
+ # to match a desired development / deployment strategy.
51
+ # Use Case | Flat Name | Structured Name
52
+ # -------------|---------------------|----------------
53
+ # Environments | releases/qa | releases/qa
54
+ # Apps | releases/app1_qa | releases/app1/qa
55
+ # Versions | releases/app1_v2_qa | releases/app1/v2/qa
56
+ # The delimiter between the release name path elements can be almost anything
57
+ # and it should work equally well with the release name list filter, but in
58
+ # many ways the structured paths provide a clearer picture of the
59
+ # relationship between `Release` instances.
60
+ # Format: `projects/`project_id`/releases/`release_id``
61
+ # Corresponds to the JSON property `name`
62
+ # @return [String]
63
+ attr_accessor :name
64
+
65
+ # Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must
66
+ # exist the `Release` to be created.
67
+ # Corresponds to the JSON property `rulesetName`
68
+ # @return [String]
69
+ attr_accessor :ruleset_name
70
+
35
71
  def initialize(**args)
36
72
  update!(**args)
37
73
  end
38
74
 
39
75
  # Update properties of this object
40
76
  def update!(**args)
77
+ @create_time = args[:create_time] if args.key?(:create_time)
78
+ @update_time = args[:update_time] if args.key?(:update_time)
79
+ @name = args[:name] if args.key?(:name)
80
+ @ruleset_name = args[:ruleset_name] if args.key?(:ruleset_name)
41
81
  end
42
82
  end
43
83
 
44
- # `Source` is one or more `File` messages comprising a logical set of rules.
45
- class Source
84
+ # The response for FirebaseRulesService.TestRuleset.
85
+ class TestRulesetResponse
46
86
  include Google::Apis::Core::Hashable
47
87
 
48
- # `File` set constituting the `Source` bundle.
49
- # Corresponds to the JSON property `files`
50
- # @return [Array<Google::Apis::FirebaserulesV1::File>]
51
- attr_accessor :files
88
+ # The set of test results given the test cases in the `TestSuite`.
89
+ # The results will appear in the same order as the test cases appear in the
90
+ # `TestSuite`.
91
+ # Corresponds to the JSON property `testResults`
92
+ # @return [Array<Google::Apis::FirebaserulesV1::TestResult>]
93
+ attr_accessor :test_results
94
+
95
+ # Syntactic and semantic `Source` issues of varying severity. Issues of
96
+ # `ERROR` severity will prevent tests from executing.
97
+ # Corresponds to the JSON property `issues`
98
+ # @return [Array<Google::Apis::FirebaserulesV1::Issue>]
99
+ attr_accessor :issues
52
100
 
53
101
  def initialize(**args)
54
102
  update!(**args)
@@ -56,29 +104,43 @@ module Google
56
104
 
57
105
  # Update properties of this object
58
106
  def update!(**args)
59
- @files = args[:files] if args.key?(:files)
107
+ @test_results = args[:test_results] if args.key?(:test_results)
108
+ @issues = args[:issues] if args.key?(:issues)
60
109
  end
61
110
  end
62
111
 
63
- # Position in the `Source` content including its line, column number, and an
64
- # index of the `File` in the `Source` message. Used for debug purposes.
65
- class SourcePosition
112
+ # Test result message containing the state of the test as well as a
113
+ # description and source position for test failures.
114
+ class TestResult
66
115
  include Google::Apis::Core::Hashable
67
116
 
68
- # First column on the source line associated with the source fragment.
69
- # Corresponds to the JSON property `column`
70
- # @return [Fixnum]
71
- attr_accessor :column
117
+ # Position in the `Source` content including its line, column number, and an
118
+ # index of the `File` in the `Source` message. Used for debug purposes.
119
+ # Corresponds to the JSON property `errorPosition`
120
+ # @return [Google::Apis::FirebaserulesV1::SourcePosition]
121
+ attr_accessor :error_position
72
122
 
73
- # Name of the `File`.
74
- # Corresponds to the JSON property `fileName`
123
+ # The set of function calls made to service-defined methods.
124
+ # Function calls are included in the order in which they are encountered
125
+ # during evaluation, are provided for both mocked and unmocked functions,
126
+ # and included on the response regardless of the test `state`.
127
+ # Corresponds to the JSON property `functionCalls`
128
+ # @return [Array<Google::Apis::FirebaserulesV1::FunctionCall>]
129
+ attr_accessor :function_calls
130
+
131
+ # State of the test.
132
+ # Corresponds to the JSON property `state`
75
133
  # @return [String]
76
- attr_accessor :file_name
134
+ attr_accessor :state
77
135
 
78
- # Line number of the source fragment. 1-based.
79
- # Corresponds to the JSON property `line`
80
- # @return [Fixnum]
81
- attr_accessor :line
136
+ # Debug messages related to test execution issues encountered during
137
+ # evaluation.
138
+ # Debug messages may be related to too many or too few invocations of
139
+ # function mocks or to runtime errors that occur during evaluation.
140
+ # For example: ```Unable to read variable [name: "resource"]```
141
+ # Corresponds to the JSON property `debugMessages`
142
+ # @return [Array<String>]
143
+ attr_accessor :debug_messages
82
144
 
83
145
  def initialize(**args)
84
146
  update!(**args)
@@ -86,20 +148,27 @@ module Google
86
148
 
87
149
  # Update properties of this object
88
150
  def update!(**args)
89
- @column = args[:column] if args.key?(:column)
90
- @file_name = args[:file_name] if args.key?(:file_name)
91
- @line = args[:line] if args.key?(:line)
151
+ @error_position = args[:error_position] if args.key?(:error_position)
152
+ @function_calls = args[:function_calls] if args.key?(:function_calls)
153
+ @state = args[:state] if args.key?(:state)
154
+ @debug_messages = args[:debug_messages] if args.key?(:debug_messages)
92
155
  end
93
156
  end
94
157
 
95
- # The request for FirebaseRulesService.TestRuleset.
96
- class TestRulesetRequest
158
+ # The response for FirebaseRulesService.ListRulesets.
159
+ class ListRulesetsResponse
97
160
  include Google::Apis::Core::Hashable
98
161
 
99
- # `Source` is one or more `File` messages comprising a logical set of rules.
100
- # Corresponds to the JSON property `source`
101
- # @return [Google::Apis::FirebaserulesV1::Source]
102
- attr_accessor :source
162
+ # List of `Ruleset` instances.
163
+ # Corresponds to the JSON property `rulesets`
164
+ # @return [Array<Google::Apis::FirebaserulesV1::Ruleset>]
165
+ attr_accessor :rulesets
166
+
167
+ # The pagination token to retrieve the next page of results. If the value is
168
+ # empty, no further results remain.
169
+ # Corresponds to the JSON property `nextPageToken`
170
+ # @return [String]
171
+ attr_accessor :next_page_token
103
172
 
104
173
  def initialize(**args)
105
174
  update!(**args)
@@ -107,32 +176,30 @@ module Google
107
176
 
108
177
  # Update properties of this object
109
178
  def update!(**args)
110
- @source = args[:source] if args.key?(:source)
179
+ @rulesets = args[:rulesets] if args.key?(:rulesets)
180
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
111
181
  end
112
182
  end
113
183
 
114
- # `Ruleset` is an immutable copy of `Source` with a globally unique identifier
115
- # and a creation time.
116
- class Ruleset
184
+ # Arg matchers for the mock function.
185
+ class Arg
117
186
  include Google::Apis::Core::Hashable
118
187
 
119
- # Time the `Ruleset` was created.
120
- # Output only.
121
- # Corresponds to the JSON property `createTime`
122
- # @return [String]
123
- attr_accessor :create_time
124
-
125
- # Name of the `Ruleset`. The ruleset_id is auto generated by the service.
126
- # Format: `projects/`project_id`/rulesets/`ruleset_id``
127
- # Output only.
128
- # Corresponds to the JSON property `name`
129
- # @return [String]
130
- attr_accessor :name
131
-
132
- # `Source` is one or more `File` messages comprising a logical set of rules.
133
- # Corresponds to the JSON property `source`
134
- # @return [Google::Apis::FirebaserulesV1::Source]
135
- attr_accessor :source
188
+ # Argument exactly matches value provided.
189
+ # Corresponds to the JSON property `exactValue`
190
+ # @return [Object]
191
+ attr_accessor :exact_value
192
+
193
+ # A generic empty message that you can re-use to avoid defining duplicated
194
+ # empty messages in your APIs. A typical example is to use it as the request
195
+ # or the response type of an API method. For instance:
196
+ # service Foo `
197
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
198
+ # `
199
+ # The JSON representation for `Empty` is empty JSON object ````.
200
+ # Corresponds to the JSON property `anyValue`
201
+ # @return [Google::Apis::FirebaserulesV1::Empty]
202
+ attr_accessor :any_value
136
203
 
137
204
  def initialize(**args)
138
205
  update!(**args)
@@ -140,31 +207,42 @@ module Google
140
207
 
141
208
  # Update properties of this object
142
209
  def update!(**args)
143
- @create_time = args[:create_time] if args.key?(:create_time)
144
- @name = args[:name] if args.key?(:name)
145
- @source = args[:source] if args.key?(:source)
210
+ @exact_value = args[:exact_value] if args.key?(:exact_value)
211
+ @any_value = args[:any_value] if args.key?(:any_value)
146
212
  end
147
213
  end
148
214
 
149
- # Issues include warnings, errors, and deprecation notices.
150
- class Issue
215
+ # `TestSuite` is a collection of `TestCase` instances that validate the logical
216
+ # correctness of a `Ruleset`. The `TestSuite` may be referenced in-line within
217
+ # a `TestRuleset` invocation or as part of a `Release` object as a pre-release
218
+ # check.
219
+ class TestSuite
151
220
  include Google::Apis::Core::Hashable
152
221
 
153
- # Short error description.
154
- # Corresponds to the JSON property `description`
155
- # @return [String]
156
- attr_accessor :description
222
+ # Collection of test cases associated with the `TestSuite`.
223
+ # Corresponds to the JSON property `testCases`
224
+ # @return [Array<Google::Apis::FirebaserulesV1::TestCase>]
225
+ attr_accessor :test_cases
157
226
 
158
- # Position in the `Source` content including its line, column number, and an
159
- # index of the `File` in the `Source` message. Used for debug purposes.
160
- # Corresponds to the JSON property `sourcePosition`
161
- # @return [Google::Apis::FirebaserulesV1::SourcePosition]
162
- attr_accessor :source_position
227
+ def initialize(**args)
228
+ update!(**args)
229
+ end
163
230
 
164
- # The severity of the issue.
165
- # Corresponds to the JSON property `severity`
166
- # @return [String]
167
- attr_accessor :severity
231
+ # Update properties of this object
232
+ def update!(**args)
233
+ @test_cases = args[:test_cases] if args.key?(:test_cases)
234
+ end
235
+ end
236
+
237
+ # A generic empty message that you can re-use to avoid defining duplicated
238
+ # empty messages in your APIs. A typical example is to use it as the request
239
+ # or the response type of an API method. For instance:
240
+ # service Foo `
241
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
242
+ # `
243
+ # The JSON representation for `Empty` is empty JSON object ````.
244
+ class Empty
245
+ include Google::Apis::Core::Hashable
168
246
 
169
247
  def initialize(**args)
170
248
  update!(**args)
@@ -172,27 +250,38 @@ module Google
172
250
 
173
251
  # Update properties of this object
174
252
  def update!(**args)
175
- @description = args[:description] if args.key?(:description)
176
- @source_position = args[:source_position] if args.key?(:source_position)
177
- @severity = args[:severity] if args.key?(:severity)
178
253
  end
179
254
  end
180
255
 
181
- # Represents a service-defined function call that was invoked during test
182
- # execution.
183
- class FunctionCall
256
+ # Mock function definition.
257
+ # Mocks must refer to a function declared by the target service. The type of
258
+ # the function args and result will be inferred at test time. If either the
259
+ # arg or result values are not compatible with function type declaration, the
260
+ # request will be considered invalid.
261
+ # More than one `FunctionMock` may be provided for a given function name so
262
+ # long as the `Arg` matchers are distinct. There may be only one function
263
+ # for a given overload where all `Arg` values are `Arg.any_value`.
264
+ class FunctionMock
184
265
  include Google::Apis::Core::Hashable
185
266
 
186
- # The arguments that were provided to the function.
267
+ # The list of `Arg` values to match. The order in which the arguments are
268
+ # provided is the order in which they must appear in the function
269
+ # invocation.
187
270
  # Corresponds to the JSON property `args`
188
- # @return [Array<Object>]
271
+ # @return [Array<Google::Apis::FirebaserulesV1::Arg>]
189
272
  attr_accessor :args
190
273
 
191
- # Name of the function invoked.
274
+ # The name of the function.
275
+ # The function name must match one provided by a service declaration.
192
276
  # Corresponds to the JSON property `function`
193
277
  # @return [String]
194
278
  attr_accessor :function
195
279
 
280
+ # Possible result values from the function mock invocation.
281
+ # Corresponds to the JSON property `result`
282
+ # @return [Google::Apis::FirebaserulesV1::Result]
283
+ attr_accessor :result
284
+
196
285
  def initialize(**args)
197
286
  update!(**args)
198
287
  end
@@ -201,23 +290,49 @@ module Google
201
290
  def update!(**args)
202
291
  @args = args[:args] if args.key?(:args)
203
292
  @function = args[:function] if args.key?(:function)
293
+ @result = args[:result] if args.key?(:result)
204
294
  end
205
295
  end
206
296
 
207
- # The response for FirebaseRulesService.ListReleases.
208
- class ListReleasesResponse
297
+ # `Source` is one or more `File` messages comprising a logical set of rules.
298
+ class Source
209
299
  include Google::Apis::Core::Hashable
210
300
 
211
- # List of `Release` instances.
212
- # Corresponds to the JSON property `releases`
213
- # @return [Array<Google::Apis::FirebaserulesV1::Release>]
214
- attr_accessor :releases
301
+ # `File` set constituting the `Source` bundle.
302
+ # Corresponds to the JSON property `files`
303
+ # @return [Array<Google::Apis::FirebaserulesV1::File>]
304
+ attr_accessor :files
215
305
 
216
- # The pagination token to retrieve the next page of results. If the value is
217
- # empty, no further results remain.
218
- # Corresponds to the JSON property `nextPageToken`
219
- # @return [String]
220
- attr_accessor :next_page_token
306
+ def initialize(**args)
307
+ update!(**args)
308
+ end
309
+
310
+ # Update properties of this object
311
+ def update!(**args)
312
+ @files = args[:files] if args.key?(:files)
313
+ end
314
+ end
315
+
316
+ # Possible result values from the function mock invocation.
317
+ class Result
318
+ include Google::Apis::Core::Hashable
319
+
320
+ # The result is an actual value. The type of the value must match that
321
+ # of the type declared by the service.
322
+ # Corresponds to the JSON property `value`
323
+ # @return [Object]
324
+ attr_accessor :value
325
+
326
+ # A generic empty message that you can re-use to avoid defining duplicated
327
+ # empty messages in your APIs. A typical example is to use it as the request
328
+ # or the response type of an API method. For instance:
329
+ # service Foo `
330
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
331
+ # `
332
+ # The JSON representation for `Empty` is empty JSON object ````.
333
+ # Corresponds to the JSON property `undefined`
334
+ # @return [Google::Apis::FirebaserulesV1::Empty]
335
+ attr_accessor :undefined
221
336
 
222
337
  def initialize(**args)
223
338
  update!(**args)
@@ -225,30 +340,30 @@ module Google
225
340
 
226
341
  # Update properties of this object
227
342
  def update!(**args)
228
- @releases = args[:releases] if args.key?(:releases)
229
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
343
+ @value = args[:value] if args.key?(:value)
344
+ @undefined = args[:undefined] if args.key?(:undefined)
230
345
  end
231
346
  end
232
347
 
233
- # `File` containing source content.
234
- class File
348
+ # Position in the `Source` content including its line, column number, and an
349
+ # index of the `File` in the `Source` message. Used for debug purposes.
350
+ class SourcePosition
235
351
  include Google::Apis::Core::Hashable
236
352
 
237
- # File name.
238
- # Corresponds to the JSON property `name`
239
- # @return [String]
240
- attr_accessor :name
353
+ # Line number of the source fragment. 1-based.
354
+ # Corresponds to the JSON property `line`
355
+ # @return [Fixnum]
356
+ attr_accessor :line
241
357
 
242
- # Textual Content.
243
- # Corresponds to the JSON property `content`
244
- # @return [String]
245
- attr_accessor :content
358
+ # First column on the source line associated with the source fragment.
359
+ # Corresponds to the JSON property `column`
360
+ # @return [Fixnum]
361
+ attr_accessor :column
246
362
 
247
- # Fingerprint (e.g. github sha) associated with the `File`.
248
- # Corresponds to the JSON property `fingerprint`
249
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
363
+ # Name of the `File`.
364
+ # Corresponds to the JSON property `fileName`
250
365
  # @return [String]
251
- attr_accessor :fingerprint
366
+ attr_accessor :file_name
252
367
 
253
368
  def initialize(**args)
254
369
  update!(**args)
@@ -256,57 +371,96 @@ module Google
256
371
 
257
372
  # Update properties of this object
258
373
  def update!(**args)
259
- @name = args[:name] if args.key?(:name)
260
- @content = args[:content] if args.key?(:content)
261
- @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
374
+ @line = args[:line] if args.key?(:line)
375
+ @column = args[:column] if args.key?(:column)
376
+ @file_name = args[:file_name] if args.key?(:file_name)
262
377
  end
263
378
  end
264
379
 
265
- # `Release` is a named reference to a `Ruleset`. Once a `Release` refers to a
266
- # `Ruleset`, rules-enabled services will be able to enforce the `Ruleset`.
267
- class Release
380
+ # `TestCase` messages provide the request context and an expectation as to
381
+ # whether the given context will be allowed or denied. Test cases may specify
382
+ # the `request`, `resource`, and `function_mocks` to mock a function call to
383
+ # a service-provided function.
384
+ # The `request` object represents context present at request-time.
385
+ # The `resource` is the value of the target resource as it appears in
386
+ # persistent storage before the request is executed.
387
+ class TestCase
268
388
  include Google::Apis::Core::Hashable
269
389
 
270
- # Time the release was created.
271
- # Output only.
272
- # Corresponds to the JSON property `createTime`
390
+ # Optional resource value as it appears in persistent storage before the
391
+ # request is fulfilled.
392
+ # The resource type depends on the `request.path` value.
393
+ # Corresponds to the JSON property `resource`
394
+ # @return [Object]
395
+ attr_accessor :resource
396
+
397
+ # Optional function mocks for service-defined functions. If not set, any
398
+ # service defined function is expected to return an error, which may or may
399
+ # not influence the test outcome.
400
+ # Corresponds to the JSON property `functionMocks`
401
+ # @return [Array<Google::Apis::FirebaserulesV1::FunctionMock>]
402
+ attr_accessor :function_mocks
403
+
404
+ # Test expectation.
405
+ # Corresponds to the JSON property `expectation`
273
406
  # @return [String]
274
- attr_accessor :create_time
407
+ attr_accessor :expectation
408
+
409
+ # Request context.
410
+ # The exact format of the request context is service-dependent. See the
411
+ # appropriate service documentation for information about the supported
412
+ # fields and types on the request. Minimally, all services support the
413
+ # following fields and types:
414
+ # Request field | Type
415
+ # ---------------|-----------------
416
+ # auth.uid | `string`
417
+ # auth.token | `map<string, string>`
418
+ # headers | `map<string, string>`
419
+ # method | `string`
420
+ # params | `map<string, string>`
421
+ # path | `string`
422
+ # time | `google.protobuf.Timestamp`
423
+ # If the request value is not well-formed for the service, the request will
424
+ # be rejected as an invalid argument.
425
+ # Corresponds to the JSON property `request`
426
+ # @return [Object]
427
+ attr_accessor :request
275
428
 
276
- # Time the release was updated.
277
- # Output only.
278
- # Corresponds to the JSON property `updateTime`
279
- # @return [String]
280
- attr_accessor :update_time
429
+ def initialize(**args)
430
+ update!(**args)
431
+ end
281
432
 
282
- # Resource name for the `Release`.
283
- # `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2`
284
- # which affords developers a great deal of flexibility in mapping the name
285
- # to the style that best fits their existing development practices. For
286
- # example, a name could refer to an environment, an app, a version, or some
287
- # combination of three.
288
- # In the table below, for the project name `projects/foo`, the following
289
- # relative release paths show how flat and structured names might be chosen
290
- # to match a desired development / deployment strategy.
291
- # Use Case | Flat Name | Structured Name
292
- # -------------|---------------------|----------------
293
- # Environments | releases/qa | releases/qa
294
- # Apps | releases/app1_qa | releases/app1/qa
295
- # Versions | releases/app1_v2_qa | releases/app1/v2/qa
296
- # The delimiter between the release name path elements can be almost anything
297
- # and it should work equally well with the release name list filter, but in
298
- # many ways the structured paths provide a clearer picture of the
299
- # relationship between `Release` instances.
300
- # Format: `projects/`project_id`/releases/`release_id``
433
+ # Update properties of this object
434
+ def update!(**args)
435
+ @resource = args[:resource] if args.key?(:resource)
436
+ @function_mocks = args[:function_mocks] if args.key?(:function_mocks)
437
+ @expectation = args[:expectation] if args.key?(:expectation)
438
+ @request = args[:request] if args.key?(:request)
439
+ end
440
+ end
441
+
442
+ # `Ruleset` is an immutable copy of `Source` with a globally unique identifier
443
+ # and a creation time.
444
+ class Ruleset
445
+ include Google::Apis::Core::Hashable
446
+
447
+ # Name of the `Ruleset`. The ruleset_id is auto generated by the service.
448
+ # Format: `projects/`project_id`/rulesets/`ruleset_id``
449
+ # Output only.
301
450
  # Corresponds to the JSON property `name`
302
451
  # @return [String]
303
452
  attr_accessor :name
304
453
 
305
- # Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must
306
- # exist the `Release` to be created.
307
- # Corresponds to the JSON property `rulesetName`
454
+ # `Source` is one or more `File` messages comprising a logical set of rules.
455
+ # Corresponds to the JSON property `source`
456
+ # @return [Google::Apis::FirebaserulesV1::Source]
457
+ attr_accessor :source
458
+
459
+ # Time the `Ruleset` was created.
460
+ # Output only.
461
+ # Corresponds to the JSON property `createTime`
308
462
  # @return [String]
309
- attr_accessor :ruleset_name
463
+ attr_accessor :create_time
310
464
 
311
465
  def initialize(**args)
312
466
  update!(**args)
@@ -314,29 +468,28 @@ module Google
314
468
 
315
469
  # Update properties of this object
316
470
  def update!(**args)
317
- @create_time = args[:create_time] if args.key?(:create_time)
318
- @update_time = args[:update_time] if args.key?(:update_time)
319
471
  @name = args[:name] if args.key?(:name)
320
- @ruleset_name = args[:ruleset_name] if args.key?(:ruleset_name)
472
+ @source = args[:source] if args.key?(:source)
473
+ @create_time = args[:create_time] if args.key?(:create_time)
321
474
  end
322
475
  end
323
476
 
324
- # The response for FirebaseRulesService.TestRuleset.
325
- class TestRulesetResponse
477
+ # The request for FirebaseRulesService.TestRuleset.
478
+ class TestRulesetRequest
326
479
  include Google::Apis::Core::Hashable
327
480
 
328
- # The set of test results given the test cases in the `TestSuite`.
329
- # The results will appear in the same order as the test cases appear in the
330
- # `TestSuite`.
331
- # Corresponds to the JSON property `testResults`
332
- # @return [Array<Google::Apis::FirebaserulesV1::TestResult>]
333
- attr_accessor :test_results
481
+ # `Source` is one or more `File` messages comprising a logical set of rules.
482
+ # Corresponds to the JSON property `source`
483
+ # @return [Google::Apis::FirebaserulesV1::Source]
484
+ attr_accessor :source
334
485
 
335
- # Syntactic and semantic `Source` issues of varying severity. Issues of
336
- # `ERROR` severity will prevent tests from executing.
337
- # Corresponds to the JSON property `issues`
338
- # @return [Array<Google::Apis::FirebaserulesV1::Issue>]
339
- attr_accessor :issues
486
+ # `TestSuite` is a collection of `TestCase` instances that validate the logical
487
+ # correctness of a `Ruleset`. The `TestSuite` may be referenced in-line within
488
+ # a `TestRuleset` invocation or as part of a `Release` object as a pre-release
489
+ # check.
490
+ # Corresponds to the JSON property `testSuite`
491
+ # @return [Google::Apis::FirebaserulesV1::TestSuite]
492
+ attr_accessor :test_suite
340
493
 
341
494
  def initialize(**args)
342
495
  update!(**args)
@@ -344,13 +497,45 @@ module Google
344
497
 
345
498
  # Update properties of this object
346
499
  def update!(**args)
347
- @test_results = args[:test_results] if args.key?(:test_results)
348
- @issues = args[:issues] if args.key?(:issues)
500
+ @source = args[:source] if args.key?(:source)
501
+ @test_suite = args[:test_suite] if args.key?(:test_suite)
349
502
  end
350
503
  end
351
504
 
352
- # The response for FirebaseRulesService.ListRulesets.
353
- class ListRulesetsResponse
505
+ # Issues include warnings, errors, and deprecation notices.
506
+ class Issue
507
+ include Google::Apis::Core::Hashable
508
+
509
+ # Position in the `Source` content including its line, column number, and an
510
+ # index of the `File` in the `Source` message. Used for debug purposes.
511
+ # Corresponds to the JSON property `sourcePosition`
512
+ # @return [Google::Apis::FirebaserulesV1::SourcePosition]
513
+ attr_accessor :source_position
514
+
515
+ # The severity of the issue.
516
+ # Corresponds to the JSON property `severity`
517
+ # @return [String]
518
+ attr_accessor :severity
519
+
520
+ # Short error description.
521
+ # Corresponds to the JSON property `description`
522
+ # @return [String]
523
+ attr_accessor :description
524
+
525
+ def initialize(**args)
526
+ update!(**args)
527
+ end
528
+
529
+ # Update properties of this object
530
+ def update!(**args)
531
+ @source_position = args[:source_position] if args.key?(:source_position)
532
+ @severity = args[:severity] if args.key?(:severity)
533
+ @description = args[:description] if args.key?(:description)
534
+ end
535
+ end
536
+
537
+ # The response for FirebaseRulesService.ListReleases.
538
+ class ListReleasesResponse
354
539
  include Google::Apis::Core::Hashable
355
540
 
356
541
  # The pagination token to retrieve the next page of results. If the value is
@@ -359,10 +544,10 @@ module Google
359
544
  # @return [String]
360
545
  attr_accessor :next_page_token
361
546
 
362
- # List of `Ruleset` instances.
363
- # Corresponds to the JSON property `rulesets`
364
- # @return [Array<Google::Apis::FirebaserulesV1::Ruleset>]
365
- attr_accessor :rulesets
547
+ # List of `Release` instances.
548
+ # Corresponds to the JSON property `releases`
549
+ # @return [Array<Google::Apis::FirebaserulesV1::Release>]
550
+ attr_accessor :releases
366
551
 
367
552
  def initialize(**args)
368
553
  update!(**args)
@@ -371,42 +556,55 @@ module Google
371
556
  # Update properties of this object
372
557
  def update!(**args)
373
558
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
374
- @rulesets = args[:rulesets] if args.key?(:rulesets)
559
+ @releases = args[:releases] if args.key?(:releases)
375
560
  end
376
561
  end
377
562
 
378
- # Test result message containing the state of the test as well as a
379
- # description and source position for test failures.
380
- class TestResult
563
+ # Represents a service-defined function call that was invoked during test
564
+ # execution.
565
+ class FunctionCall
381
566
  include Google::Apis::Core::Hashable
382
567
 
383
- # The set of function calls made to service-defined methods.
384
- # Function calls are included in the order in which they are encountered
385
- # during evaluation, are provided for both mocked and unmocked functions,
386
- # and included on the response regardless of the test `state`.
387
- # Corresponds to the JSON property `functionCalls`
388
- # @return [Array<Google::Apis::FirebaserulesV1::FunctionCall>]
389
- attr_accessor :function_calls
568
+ # Name of the function invoked.
569
+ # Corresponds to the JSON property `function`
570
+ # @return [String]
571
+ attr_accessor :function
390
572
 
391
- # State of the test.
392
- # Corresponds to the JSON property `state`
573
+ # The arguments that were provided to the function.
574
+ # Corresponds to the JSON property `args`
575
+ # @return [Array<Object>]
576
+ attr_accessor :args
577
+
578
+ def initialize(**args)
579
+ update!(**args)
580
+ end
581
+
582
+ # Update properties of this object
583
+ def update!(**args)
584
+ @function = args[:function] if args.key?(:function)
585
+ @args = args[:args] if args.key?(:args)
586
+ end
587
+ end
588
+
589
+ # `File` containing source content.
590
+ class File
591
+ include Google::Apis::Core::Hashable
592
+
593
+ # Fingerprint (e.g. github sha) associated with the `File`.
594
+ # Corresponds to the JSON property `fingerprint`
595
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
393
596
  # @return [String]
394
- attr_accessor :state
597
+ attr_accessor :fingerprint
395
598
 
396
- # Debug messages related to test execution issues encountered during
397
- # evaluation.
398
- # Debug messages may be related to too many or too few invocations of
399
- # function mocks or to runtime errors that occur during evaluation.
400
- # For example: ```Unable to read variable [name: "resource"]```
401
- # Corresponds to the JSON property `debugMessages`
402
- # @return [Array<String>]
403
- attr_accessor :debug_messages
599
+ # File name.
600
+ # Corresponds to the JSON property `name`
601
+ # @return [String]
602
+ attr_accessor :name
404
603
 
405
- # Position in the `Source` content including its line, column number, and an
406
- # index of the `File` in the `Source` message. Used for debug purposes.
407
- # Corresponds to the JSON property `errorPosition`
408
- # @return [Google::Apis::FirebaserulesV1::SourcePosition]
409
- attr_accessor :error_position
604
+ # Textual Content.
605
+ # Corresponds to the JSON property `content`
606
+ # @return [String]
607
+ attr_accessor :content
410
608
 
411
609
  def initialize(**args)
412
610
  update!(**args)
@@ -414,10 +612,9 @@ module Google
414
612
 
415
613
  # Update properties of this object
416
614
  def update!(**args)
417
- @function_calls = args[:function_calls] if args.key?(:function_calls)
418
- @state = args[:state] if args.key?(:state)
419
- @debug_messages = args[:debug_messages] if args.key?(:debug_messages)
420
- @error_position = args[:error_position] if args.key?(:error_position)
615
+ @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
616
+ @name = args[:name] if args.key?(:name)
617
+ @content = args[:content] if args.key?(:content)
421
618
  end
422
619
  end
423
620
  end