google-api-client 0.13.2 → 0.13.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (524) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +149 -0
  3. data/bin/generate-api +6 -2
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
  12. data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
  13. data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
  14. data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
  15. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
  16. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  17. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
  18. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
  19. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
  20. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
  22. data/generated/google/apis/adexchangeseller_v1.rb +37 -0
  23. data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
  24. data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
  25. data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
  26. data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
  27. data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
  28. data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
  29. data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
  30. data/generated/google/apis/adexperiencereport_v1.rb +35 -0
  31. data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
  32. data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
  33. data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
  34. data/generated/google/apis/admin_directory_v1.rb +1 -1
  35. data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
  36. data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
  37. data/generated/google/apis/admin_directory_v1/service.rb +39 -0
  38. data/generated/google/apis/adsense_v1_4.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  40. data/generated/google/apis/analytics_v2_4.rb +37 -0
  41. data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
  42. data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
  43. data/generated/google/apis/analytics_v2_4/service.rb +345 -0
  44. data/generated/google/apis/analytics_v3.rb +1 -1
  45. data/generated/google/apis/analytics_v3/classes.rb +15 -2
  46. data/generated/google/apis/analytics_v3/representations.rb +3 -0
  47. data/generated/google/apis/analyticsreporting_v4.rb +4 -4
  48. data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
  49. data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
  50. data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
  51. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
  52. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
  53. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
  54. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  55. data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
  56. data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
  57. data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
  58. data/generated/google/apis/androidmanagement_v1.rb +35 -0
  59. data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
  60. data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
  61. data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
  62. data/generated/google/apis/androidpublisher_v1.rb +34 -0
  63. data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
  64. data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
  65. data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
  66. data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
  67. data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
  68. data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
  69. data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
  70. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  71. data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
  72. data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
  73. data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
  74. data/generated/google/apis/appengine_v1.rb +4 -4
  75. data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
  76. data/generated/google/apis/appengine_v1/representations.rb +351 -335
  77. data/generated/google/apis/appengine_v1/service.rb +255 -239
  78. data/generated/google/apis/appengine_v1alpha.rb +41 -0
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
  80. data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
  81. data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
  82. data/generated/google/apis/appengine_v1beta.rb +41 -0
  83. data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
  84. data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
  85. data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
  86. data/generated/google/apis/appengine_v1beta4.rb +41 -0
  87. data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
  88. data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
  89. data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
  90. data/generated/google/apis/appengine_v1beta5.rb +41 -0
  91. data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
  92. data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
  93. data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
  94. data/generated/google/apis/appsactivity_v1.rb +1 -1
  95. data/generated/google/apis/appstate_v1.rb +1 -1
  96. data/generated/google/apis/bigquery_v2.rb +1 -1
  97. data/generated/google/apis/bigquery_v2/classes.rb +106 -18
  98. data/generated/google/apis/bigquery_v2/representations.rb +15 -0
  99. data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
  100. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
  101. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
  102. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
  103. data/generated/google/apis/blogger_v2.rb +34 -0
  104. data/generated/google/apis/blogger_v2/classes.rb +947 -0
  105. data/generated/google/apis/blogger_v2/representations.rb +465 -0
  106. data/generated/google/apis/blogger_v2/service.rb +424 -0
  107. data/generated/google/apis/calendar_v3.rb +1 -1
  108. data/generated/google/apis/calendar_v3/classes.rb +4 -207
  109. data/generated/google/apis/calendar_v3/representations.rb +0 -97
  110. data/generated/google/apis/calendar_v3/service.rb +8 -4
  111. data/generated/google/apis/classroom_v1.rb +27 -27
  112. data/generated/google/apis/classroom_v1/classes.rb +1037 -926
  113. data/generated/google/apis/classroom_v1/representations.rb +294 -244
  114. data/generated/google/apis/classroom_v1/service.rb +1114 -1109
  115. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  116. data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
  117. data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
  118. data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
  119. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  120. data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
  121. data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
  122. data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
  123. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  124. data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
  125. data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
  126. data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
  127. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  128. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
  129. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
  130. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
  131. data/generated/google/apis/cloudfunctions_v1.rb +4 -1
  132. data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
  133. data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
  134. data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
  135. data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
  136. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
  137. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
  138. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
  139. data/generated/google/apis/cloudkms_v1.rb +1 -1
  140. data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
  141. data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
  142. data/generated/google/apis/cloudkms_v1/service.rb +320 -320
  143. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  145. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
  146. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
  147. data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
  148. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  149. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
  150. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
  151. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
  152. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
  153. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
  154. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
  155. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
  156. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  157. data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
  158. data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
  159. data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
  160. data/generated/google/apis/cloudtrace_v2.rb +43 -0
  161. data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
  162. data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
  163. data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
  164. data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
  165. data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
  166. data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
  167. data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
  168. data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
  169. data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
  170. data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
  171. data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
  172. data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
  173. data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
  174. data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
  175. data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
  176. data/generated/google/apis/compute_alpha.rb +49 -0
  177. data/generated/google/apis/compute_alpha/classes.rb +23796 -0
  178. data/generated/google/apis/compute_alpha/representations.rb +9391 -0
  179. data/generated/google/apis/compute_alpha/service.rb +24188 -0
  180. data/generated/google/apis/compute_beta.rb +1 -1
  181. data/generated/google/apis/compute_beta/classes.rb +1597 -235
  182. data/generated/google/apis/compute_beta/representations.rb +477 -0
  183. data/generated/google/apis/compute_beta/service.rb +2875 -1677
  184. data/generated/google/apis/compute_v1.rb +1 -1
  185. data/generated/google/apis/compute_v1/classes.rb +319 -197
  186. data/generated/google/apis/compute_v1/representations.rb +51 -0
  187. data/generated/google/apis/compute_v1/service.rb +2057 -172
  188. data/generated/google/apis/consumersurveys_v2.rb +40 -0
  189. data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
  190. data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
  191. data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
  192. data/generated/google/apis/container_v1.rb +1 -1
  193. data/generated/google/apis/container_v1/classes.rb +1072 -936
  194. data/generated/google/apis/container_v1/representations.rb +266 -202
  195. data/generated/google/apis/container_v1/service.rb +243 -243
  196. data/generated/google/apis/container_v1beta1.rb +35 -0
  197. data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
  198. data/generated/google/apis/container_v1beta1/representations.rb +662 -0
  199. data/generated/google/apis/container_v1beta1/service.rb +1875 -0
  200. data/generated/google/apis/content_v2.rb +1 -1
  201. data/generated/google/apis/content_v2/classes.rb +72 -3
  202. data/generated/google/apis/content_v2/representations.rb +23 -0
  203. data/generated/google/apis/content_v2/service.rb +23 -18
  204. data/generated/google/apis/content_v2sandbox.rb +35 -0
  205. data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
  206. data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
  207. data/generated/google/apis/content_v2sandbox/service.rb +709 -0
  208. data/generated/google/apis/dataflow_v1b3.rb +5 -5
  209. data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
  210. data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
  211. data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
  212. data/generated/google/apis/dataproc_v1.rb +1 -1
  213. data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
  214. data/generated/google/apis/dataproc_v1/representations.rb +227 -227
  215. data/generated/google/apis/dataproc_v1/service.rb +254 -254
  216. data/generated/google/apis/dataproc_v1beta2.rb +34 -0
  217. data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
  218. data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
  219. data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
  220. data/generated/google/apis/datastore_v1.rb +4 -4
  221. data/generated/google/apis/datastore_v1/classes.rb +1311 -773
  222. data/generated/google/apis/datastore_v1/representations.rb +351 -148
  223. data/generated/google/apis/datastore_v1/service.rb +206 -55
  224. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  225. data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
  226. data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
  227. data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
  228. data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
  229. data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
  230. data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
  231. data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
  232. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  233. data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
  234. data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
  235. data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
  236. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
  237. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
  238. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
  239. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  240. data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
  241. data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
  242. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  243. data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
  244. data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
  245. data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
  246. data/generated/google/apis/dlp_v2beta1.rb +36 -0
  247. data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
  248. data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
  249. data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
  250. data/generated/google/apis/dns_v1.rb +1 -1
  251. data/generated/google/apis/dns_v2beta1.rb +1 -1
  252. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  253. data/generated/google/apis/drive_v2.rb +1 -1
  254. data/generated/google/apis/drive_v3.rb +1 -1
  255. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  256. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
  257. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
  258. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
  259. data/generated/google/apis/firebaserules_v1.rb +1 -1
  260. data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
  261. data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
  262. data/generated/google/apis/firebaserules_v1/service.rb +113 -113
  263. data/generated/google/apis/fitness_v1.rb +1 -1
  264. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  265. data/generated/google/apis/fusiontables_v1.rb +37 -0
  266. data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
  267. data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
  268. data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
  269. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  270. data/generated/google/apis/games_management_v1management.rb +1 -1
  271. data/generated/google/apis/games_v1.rb +1 -1
  272. data/generated/google/apis/genomics_v1.rb +8 -8
  273. data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
  274. data/generated/google/apis/genomics_v1/representations.rb +482 -482
  275. data/generated/google/apis/genomics_v1/service.rb +966 -966
  276. data/generated/google/apis/genomics_v1alpha2.rb +40 -0
  277. data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
  278. data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
  279. data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
  280. data/generated/google/apis/gmail_v1.rb +1 -1
  281. data/generated/google/apis/iam_v1.rb +1 -1
  282. data/generated/google/apis/iam_v1/classes.rb +664 -395
  283. data/generated/google/apis/iam_v1/representations.rb +194 -81
  284. data/generated/google/apis/iam_v1/service.rb +657 -92
  285. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  286. data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
  287. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  288. data/generated/google/apis/kgsearch_v1/service.rb +8 -8
  289. data/generated/google/apis/language_v1.rb +4 -1
  290. data/generated/google/apis/language_v1/classes.rb +393 -393
  291. data/generated/google/apis/language_v1/representations.rb +95 -95
  292. data/generated/google/apis/language_v1/service.rb +42 -42
  293. data/generated/google/apis/language_v1beta1.rb +4 -1
  294. data/generated/google/apis/language_v1beta1/classes.rb +457 -457
  295. data/generated/google/apis/language_v1beta1/representations.rb +114 -114
  296. data/generated/google/apis/language_v1beta1/service.rb +48 -48
  297. data/generated/google/apis/language_v1beta2.rb +39 -0
  298. data/generated/google/apis/language_v1beta2/classes.rb +824 -0
  299. data/generated/google/apis/language_v1beta2/representations.rb +373 -0
  300. data/generated/google/apis/language_v1beta2/service.rb +217 -0
  301. data/generated/google/apis/logging_v2.rb +9 -9
  302. data/generated/google/apis/logging_v2/classes.rb +840 -834
  303. data/generated/google/apis/logging_v2/representations.rb +168 -167
  304. data/generated/google/apis/logging_v2/service.rb +667 -463
  305. data/generated/google/apis/logging_v2beta1.rb +9 -9
  306. data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
  307. data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
  308. data/generated/google/apis/logging_v2beta1/service.rb +253 -255
  309. data/generated/google/apis/manufacturers_v1.rb +1 -1
  310. data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
  311. data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
  312. data/generated/google/apis/manufacturers_v1/service.rb +8 -7
  313. data/generated/google/apis/ml_v1.rb +1 -1
  314. data/generated/google/apis/ml_v1/classes.rb +1487 -1676
  315. data/generated/google/apis/ml_v1/representations.rb +229 -299
  316. data/generated/google/apis/ml_v1/service.rb +359 -253
  317. data/generated/google/apis/ml_v1beta1.rb +34 -0
  318. data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
  319. data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
  320. data/generated/google/apis/ml_v1beta1/service.rb +975 -0
  321. data/generated/google/apis/monitoring_v3.rb +6 -6
  322. data/generated/google/apis/monitoring_v3/classes.rb +834 -834
  323. data/generated/google/apis/monitoring_v3/representations.rb +168 -168
  324. data/generated/google/apis/monitoring_v3/service.rb +330 -330
  325. data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
  326. data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
  327. data/generated/google/apis/mybusiness_v3/service.rb +241 -241
  328. data/generated/google/apis/oauth2_v1.rb +43 -0
  329. data/generated/google/apis/oauth2_v1/classes.rb +321 -0
  330. data/generated/google/apis/oauth2_v1/representations.rb +135 -0
  331. data/generated/google/apis/oauth2_v1/service.rb +337 -0
  332. data/generated/google/apis/oauth2_v2.rb +1 -1
  333. data/generated/google/apis/oslogin_v1alpha.rb +37 -0
  334. data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
  335. data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
  336. data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
  337. data/generated/google/apis/pagespeedonline_v1.rb +32 -0
  338. data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
  339. data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
  340. data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
  341. data/generated/google/apis/partners_v2.rb +1 -1
  342. data/generated/google/apis/partners_v2/classes.rb +1512 -1512
  343. data/generated/google/apis/partners_v2/representations.rb +368 -368
  344. data/generated/google/apis/partners_v2/service.rb +596 -596
  345. data/generated/google/apis/people_v1.rb +15 -15
  346. data/generated/google/apis/people_v1/classes.rb +1384 -1383
  347. data/generated/google/apis/people_v1/representations.rb +311 -311
  348. data/generated/google/apis/people_v1/service.rb +208 -202
  349. data/generated/google/apis/playcustomapp_v1.rb +34 -0
  350. data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
  351. data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
  352. data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
  353. data/generated/google/apis/playmoviespartner_v1.rb +34 -0
  354. data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
  355. data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
  356. data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
  357. data/generated/google/apis/plus_domains_v1.rb +1 -1
  358. data/generated/google/apis/plus_v1.rb +1 -1
  359. data/generated/google/apis/prediction_v1_2.rb +44 -0
  360. data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
  361. data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
  362. data/generated/google/apis/prediction_v1_2/service.rb +287 -0
  363. data/generated/google/apis/prediction_v1_3.rb +44 -0
  364. data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
  365. data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
  366. data/generated/google/apis/prediction_v1_3/service.rb +284 -0
  367. data/generated/google/apis/prediction_v1_4.rb +44 -0
  368. data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
  369. data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
  370. data/generated/google/apis/prediction_v1_4/service.rb +284 -0
  371. data/generated/google/apis/prediction_v1_5.rb +44 -0
  372. data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
  373. data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
  374. data/generated/google/apis/prediction_v1_5/service.rb +357 -0
  375. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  376. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
  377. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
  378. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
  379. data/generated/google/apis/pubsub_v1.rb +4 -4
  380. data/generated/google/apis/pubsub_v1/classes.rb +352 -352
  381. data/generated/google/apis/pubsub_v1/representations.rb +77 -77
  382. data/generated/google/apis/pubsub_v1/service.rb +346 -346
  383. data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
  384. data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
  385. data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
  386. data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
  387. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  388. data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
  389. data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
  390. data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
  391. data/generated/google/apis/replicapool_v1beta1.rb +50 -0
  392. data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
  393. data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
  394. data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
  395. data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
  396. data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
  397. data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
  398. data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
  399. data/generated/google/apis/runtimeconfig_v1.rb +4 -4
  400. data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
  401. data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
  402. data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
  403. data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
  404. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
  405. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
  406. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
  407. data/generated/google/apis/safebrowsing_v4.rb +32 -0
  408. data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
  409. data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
  410. data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
  411. data/generated/google/apis/script_v1.rb +19 -19
  412. data/generated/google/apis/script_v1/classes.rb +99 -157
  413. data/generated/google/apis/script_v1/representations.rb +17 -47
  414. data/generated/google/apis/script_v1/service.rb +12 -12
  415. data/generated/google/apis/searchconsole_v1.rb +1 -1
  416. data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
  417. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  418. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  419. data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
  420. data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
  421. data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
  422. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  423. data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
  424. data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
  425. data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
  426. data/generated/google/apis/serviceuser_v1.rb +5 -5
  427. data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
  428. data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
  429. data/generated/google/apis/serviceuser_v1/service.rb +43 -43
  430. data/generated/google/apis/sheets_v4.rb +7 -7
  431. data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
  432. data/generated/google/apis/sheets_v4/representations.rb +931 -930
  433. data/generated/google/apis/sheets_v4/service.rb +244 -244
  434. data/generated/google/apis/slides_v1.rb +10 -10
  435. data/generated/google/apis/slides_v1/classes.rb +2915 -2915
  436. data/generated/google/apis/slides_v1/representations.rb +698 -698
  437. data/generated/google/apis/slides_v1/service.rb +35 -35
  438. data/generated/google/apis/sourcerepo_v1.rb +3 -3
  439. data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
  440. data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
  441. data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
  442. data/generated/google/apis/spanner_v1.rb +4 -4
  443. data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
  444. data/generated/google/apis/spanner_v1/representations.rb +338 -323
  445. data/generated/google/apis/spanner_v1/service.rb +689 -689
  446. data/generated/google/apis/spectrum_v1explorer.rb +31 -0
  447. data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
  448. data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
  449. data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
  450. data/generated/google/apis/speech_v1.rb +34 -0
  451. data/generated/google/apis/speech_v1/classes.rb +572 -0
  452. data/generated/google/apis/speech_v1/representations.rb +236 -0
  453. data/generated/google/apis/speech_v1/service.rb +277 -0
  454. data/generated/google/apis/speech_v1beta1.rb +1 -1
  455. data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
  456. data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
  457. data/generated/google/apis/speech_v1beta1/service.rb +46 -46
  458. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  459. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
  460. data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
  461. data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
  462. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  463. data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
  464. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  465. data/generated/google/apis/storage_v1.rb +1 -1
  466. data/generated/google/apis/storage_v1/classes.rb +7 -6
  467. data/generated/google/apis/storage_v1/service.rb +51 -29
  468. data/generated/google/apis/storage_v1beta1.rb +40 -0
  469. data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
  470. data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
  471. data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
  472. data/generated/google/apis/storage_v1beta2.rb +40 -0
  473. data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
  474. data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
  475. data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
  476. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  477. data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
  478. data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
  479. data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
  480. data/generated/google/apis/streetviewpublish_v1.rb +36 -0
  481. data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
  482. data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
  483. data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
  484. data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
  485. data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
  486. data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
  487. data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
  488. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  489. data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
  490. data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
  491. data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
  492. data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
  493. data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
  494. data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
  495. data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
  496. data/generated/google/apis/translate_v2/classes.rb +111 -111
  497. data/generated/google/apis/translate_v2/representations.rb +49 -49
  498. data/generated/google/apis/translate_v2/service.rb +94 -94
  499. data/generated/google/apis/vault_v1.rb +31 -0
  500. data/generated/google/apis/vault_v1/classes.rb +554 -0
  501. data/generated/google/apis/vault_v1/representations.rb +318 -0
  502. data/generated/google/apis/vault_v1/service.rb +677 -0
  503. data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
  504. data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
  505. data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
  506. data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
  507. data/generated/google/apis/vision_v1.rb +4 -4
  508. data/generated/google/apis/vision_v1/classes.rb +1176 -1178
  509. data/generated/google/apis/vision_v1/representations.rb +235 -235
  510. data/generated/google/apis/webmasters_v3.rb +1 -1
  511. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  512. data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
  513. data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
  514. data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
  515. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
  516. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  517. data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
  518. data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
  519. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  520. data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
  521. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  522. data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
  523. data/lib/google/apis/version.rb +1 -1
  524. metadata +246 -2
@@ -22,237 +22,231 @@ module Google
22
22
  module Apis
23
23
  module ProximitybeaconV1beta1
24
24
 
25
- class ListNamespacesResponse
25
+ class AdvertisedId
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 Diagnostics
31
+ class AttachmentInfo
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 ListBeaconsResponse
37
+ class Beacon
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 GetInfoForObservedBeaconsRequest
43
+ class BeaconAttachment
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 Empty
49
+ class BeaconInfo
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 BeaconAttachment
55
+ class Date
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 EphemeralIdRegistration
61
+ class DeleteAttachmentsResponse
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 LatLng
67
+ class Diagnostics
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 ListBeaconAttachmentsResponse
73
+ class Empty
74
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
75
 
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class Namespace
79
+ class EphemeralIdRegistration
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 AttachmentInfo
85
+ class EphemeralIdRegistrationParams
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 BeaconInfo
91
+ class GetInfoForObservedBeaconsRequest
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 EphemeralIdRegistrationParams
97
+ class GetInfoForObservedBeaconsResponse
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 DeleteAttachmentsResponse
103
+ class IndoorLevel
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 Observation
109
+ class LatLng
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 ListDiagnosticsResponse
115
+ class ListBeaconAttachmentsResponse
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 GetInfoForObservedBeaconsResponse
121
+ class ListBeaconsResponse
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 Beacon
127
+ class ListDiagnosticsResponse
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 AdvertisedId
133
+ class ListNamespacesResponse
134
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
135
 
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
- class Date
139
+ class Namespace
140
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
141
 
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
- class IndoorLevel
145
+ class Observation
146
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
147
 
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
- class ListNamespacesResponse
151
+ class AdvertisedId
152
152
  # @private
153
153
  class Representation < Google::Apis::Core::JsonRepresentation
154
- collection :namespaces, as: 'namespaces', class: Google::Apis::ProximitybeaconV1beta1::Namespace, decorator: Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
155
-
154
+ property :id, :base64 => true, as: 'id'
155
+ property :type, as: 'type'
156
156
  end
157
157
  end
158
158
 
159
- class Diagnostics
159
+ class AttachmentInfo
160
160
  # @private
161
161
  class Representation < Google::Apis::Core::JsonRepresentation
162
- property :estimated_low_battery_date, as: 'estimatedLowBatteryDate', class: Google::Apis::ProximitybeaconV1beta1::Date, decorator: Google::Apis::ProximitybeaconV1beta1::Date::Representation
163
-
164
- property :beacon_name, as: 'beaconName'
165
- collection :alerts, as: 'alerts'
162
+ property :data, :base64 => true, as: 'data'
163
+ property :namespaced_type, as: 'namespacedType'
166
164
  end
167
165
  end
168
166
 
169
- class ListBeaconsResponse
167
+ class Beacon
170
168
  # @private
171
169
  class Representation < Google::Apis::Core::JsonRepresentation
172
- property :next_page_token, as: 'nextPageToken'
173
- property :total_count, :numeric_string => true, as: 'totalCount'
174
- collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::Beacon, decorator: Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
170
+ property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
175
171
 
176
- end
177
- end
172
+ property :beacon_name, as: 'beaconName'
173
+ property :description, as: 'description'
174
+ property :ephemeral_id_registration, as: 'ephemeralIdRegistration', class: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration, decorator: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration::Representation
178
175
 
179
- class GetInfoForObservedBeaconsRequest
180
- # @private
181
- class Representation < Google::Apis::Core::JsonRepresentation
182
- collection :observations, as: 'observations', class: Google::Apis::ProximitybeaconV1beta1::Observation, decorator: Google::Apis::ProximitybeaconV1beta1::Observation::Representation
176
+ property :expected_stability, as: 'expectedStability'
177
+ property :indoor_level, as: 'indoorLevel', class: Google::Apis::ProximitybeaconV1beta1::IndoorLevel, decorator: Google::Apis::ProximitybeaconV1beta1::IndoorLevel::Representation
183
178
 
184
- collection :namespaced_types, as: 'namespacedTypes'
185
- end
186
- end
179
+ property :lat_lng, as: 'latLng', class: Google::Apis::ProximitybeaconV1beta1::LatLng, decorator: Google::Apis::ProximitybeaconV1beta1::LatLng::Representation
187
180
 
188
- class Empty
189
- # @private
190
- class Representation < Google::Apis::Core::JsonRepresentation
181
+ property :place_id, as: 'placeId'
182
+ hash :properties, as: 'properties'
183
+ property :provisioning_key, :base64 => true, as: 'provisioningKey'
184
+ property :status, as: 'status'
191
185
  end
192
186
  end
193
187
 
194
188
  class BeaconAttachment
195
189
  # @private
196
190
  class Representation < Google::Apis::Core::JsonRepresentation
197
- property :creation_time_ms, as: 'creationTimeMs'
198
191
  property :attachment_name, as: 'attachmentName'
199
- property :namespaced_type, as: 'namespacedType'
192
+ property :creation_time_ms, as: 'creationTimeMs'
200
193
  property :data, :base64 => true, as: 'data'
194
+ property :namespaced_type, as: 'namespacedType'
201
195
  end
202
196
  end
203
197
 
204
- class EphemeralIdRegistration
198
+ class BeaconInfo
205
199
  # @private
206
200
  class Representation < Google::Apis::Core::JsonRepresentation
207
- property :initial_clock_value, :numeric_string => true, as: 'initialClockValue'
208
- property :beacon_ecdh_public_key, :base64 => true, as: 'beaconEcdhPublicKey'
209
- property :rotation_period_exponent, as: 'rotationPeriodExponent'
210
- property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey'
211
- property :beacon_identity_key, :base64 => true, as: 'beaconIdentityKey'
212
- property :initial_eid, :base64 => true, as: 'initialEid'
201
+ property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
202
+
203
+ collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo, decorator: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo::Representation
204
+
205
+ property :beacon_name, as: 'beaconName'
213
206
  end
214
207
  end
215
208
 
216
- class LatLng
209
+ class Date
217
210
  # @private
218
211
  class Representation < Google::Apis::Core::JsonRepresentation
219
- property :longitude, as: 'longitude'
220
- property :latitude, as: 'latitude'
212
+ property :day, as: 'day'
213
+ property :month, as: 'month'
214
+ property :year, as: 'year'
221
215
  end
222
216
  end
223
217
 
224
- class ListBeaconAttachmentsResponse
218
+ class DeleteAttachmentsResponse
225
219
  # @private
226
220
  class Representation < Google::Apis::Core::JsonRepresentation
227
- collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::BeaconAttachment, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconAttachment::Representation
228
-
221
+ property :num_deleted, as: 'numDeleted'
229
222
  end
230
223
  end
231
224
 
232
- class Namespace
225
+ class Diagnostics
233
226
  # @private
234
227
  class Representation < Google::Apis::Core::JsonRepresentation
235
- property :namespace_name, as: 'namespaceName'
236
- property :serving_visibility, as: 'servingVisibility'
228
+ collection :alerts, as: 'alerts'
229
+ property :beacon_name, as: 'beaconName'
230
+ property :estimated_low_battery_date, as: 'estimatedLowBatteryDate', class: Google::Apis::ProximitybeaconV1beta1::Date, decorator: Google::Apis::ProximitybeaconV1beta1::Date::Representation
231
+
237
232
  end
238
233
  end
239
234
 
240
- class AttachmentInfo
235
+ class Empty
241
236
  # @private
242
237
  class Representation < Google::Apis::Core::JsonRepresentation
243
- property :data, :base64 => true, as: 'data'
244
- property :namespaced_type, as: 'namespacedType'
245
238
  end
246
239
  end
247
240
 
248
- class BeaconInfo
241
+ class EphemeralIdRegistration
249
242
  # @private
250
243
  class Representation < Google::Apis::Core::JsonRepresentation
251
- property :beacon_name, as: 'beaconName'
252
- collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo, decorator: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo::Representation
253
-
254
- property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
255
-
244
+ property :beacon_ecdh_public_key, :base64 => true, as: 'beaconEcdhPublicKey'
245
+ property :beacon_identity_key, :base64 => true, as: 'beaconIdentityKey'
246
+ property :initial_clock_value, :numeric_string => true, as: 'initialClockValue'
247
+ property :initial_eid, :base64 => true, as: 'initialEid'
248
+ property :rotation_period_exponent, as: 'rotationPeriodExponent'
249
+ property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey'
256
250
  end
257
251
  end
258
252
 
@@ -265,82 +259,88 @@ module Google
265
259
  end
266
260
  end
267
261
 
268
- class DeleteAttachmentsResponse
262
+ class GetInfoForObservedBeaconsRequest
269
263
  # @private
270
264
  class Representation < Google::Apis::Core::JsonRepresentation
271
- property :num_deleted, as: 'numDeleted'
265
+ collection :namespaced_types, as: 'namespacedTypes'
266
+ collection :observations, as: 'observations', class: Google::Apis::ProximitybeaconV1beta1::Observation, decorator: Google::Apis::ProximitybeaconV1beta1::Observation::Representation
267
+
272
268
  end
273
269
  end
274
270
 
275
- class Observation
271
+ class GetInfoForObservedBeaconsResponse
276
272
  # @private
277
273
  class Representation < Google::Apis::Core::JsonRepresentation
278
- property :timestamp_ms, as: 'timestampMs'
279
- property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
274
+ collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::BeaconInfo, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconInfo::Representation
280
275
 
281
- property :telemetry, :base64 => true, as: 'telemetry'
282
276
  end
283
277
  end
284
278
 
285
- class ListDiagnosticsResponse
279
+ class IndoorLevel
286
280
  # @private
287
281
  class Representation < Google::Apis::Core::JsonRepresentation
288
- collection :diagnostics, as: 'diagnostics', class: Google::Apis::ProximitybeaconV1beta1::Diagnostics, decorator: Google::Apis::ProximitybeaconV1beta1::Diagnostics::Representation
282
+ property :name, as: 'name'
283
+ end
284
+ end
289
285
 
290
- property :next_page_token, as: 'nextPageToken'
286
+ class LatLng
287
+ # @private
288
+ class Representation < Google::Apis::Core::JsonRepresentation
289
+ property :latitude, as: 'latitude'
290
+ property :longitude, as: 'longitude'
291
291
  end
292
292
  end
293
293
 
294
- class GetInfoForObservedBeaconsResponse
294
+ class ListBeaconAttachmentsResponse
295
295
  # @private
296
296
  class Representation < Google::Apis::Core::JsonRepresentation
297
- collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::BeaconInfo, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconInfo::Representation
297
+ collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::BeaconAttachment, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconAttachment::Representation
298
298
 
299
299
  end
300
300
  end
301
301
 
302
- class Beacon
302
+ class ListBeaconsResponse
303
303
  # @private
304
304
  class Representation < Google::Apis::Core::JsonRepresentation
305
- property :status, as: 'status'
306
- property :indoor_level, as: 'indoorLevel', class: Google::Apis::ProximitybeaconV1beta1::IndoorLevel, decorator: Google::Apis::ProximitybeaconV1beta1::IndoorLevel::Representation
307
-
308
- property :beacon_name, as: 'beaconName'
309
- property :expected_stability, as: 'expectedStability'
310
- property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
305
+ collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::Beacon, decorator: Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
311
306
 
312
- property :provisioning_key, :base64 => true, as: 'provisioningKey'
313
- property :ephemeral_id_registration, as: 'ephemeralIdRegistration', class: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration, decorator: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration::Representation
307
+ property :next_page_token, as: 'nextPageToken'
308
+ property :total_count, :numeric_string => true, as: 'totalCount'
309
+ end
310
+ end
314
311
 
315
- property :lat_lng, as: 'latLng', class: Google::Apis::ProximitybeaconV1beta1::LatLng, decorator: Google::Apis::ProximitybeaconV1beta1::LatLng::Representation
312
+ class ListDiagnosticsResponse
313
+ # @private
314
+ class Representation < Google::Apis::Core::JsonRepresentation
315
+ collection :diagnostics, as: 'diagnostics', class: Google::Apis::ProximitybeaconV1beta1::Diagnostics, decorator: Google::Apis::ProximitybeaconV1beta1::Diagnostics::Representation
316
316
 
317
- property :place_id, as: 'placeId'
318
- property :description, as: 'description'
319
- hash :properties, as: 'properties'
317
+ property :next_page_token, as: 'nextPageToken'
320
318
  end
321
319
  end
322
320
 
323
- class AdvertisedId
321
+ class ListNamespacesResponse
324
322
  # @private
325
323
  class Representation < Google::Apis::Core::JsonRepresentation
326
- property :id, :base64 => true, as: 'id'
327
- property :type, as: 'type'
324
+ collection :namespaces, as: 'namespaces', class: Google::Apis::ProximitybeaconV1beta1::Namespace, decorator: Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
325
+
328
326
  end
329
327
  end
330
328
 
331
- class Date
329
+ class Namespace
332
330
  # @private
333
331
  class Representation < Google::Apis::Core::JsonRepresentation
334
- property :day, as: 'day'
335
- property :year, as: 'year'
336
- property :month, as: 'month'
332
+ property :namespace_name, as: 'namespaceName'
333
+ property :serving_visibility, as: 'servingVisibility'
337
334
  end
338
335
  end
339
336
 
340
- class IndoorLevel
337
+ class Observation
341
338
  # @private
342
339
  class Representation < Google::Apis::Core::JsonRepresentation
343
- property :name, as: 'name'
340
+ property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
341
+
342
+ property :telemetry, :base64 => true, as: 'telemetry'
343
+ property :timestamp_ms, as: 'timestampMs'
344
344
  end
345
345
  end
346
346
  end
@@ -81,117 +81,6 @@ module Google
81
81
  execute_or_queue_command(command, &block)
82
82
  end
83
83
 
84
- # Lists all attachment namespaces owned by your Google Developers Console
85
- # project. Attachment data associated with a beacon must include a
86
- # namespaced type, and the namespace must be owned by your project.
87
- # Authenticate using an [OAuth access token](https://developers.google.com/
88
- # identity/protocols/OAuth2)
89
- # from a signed-in user with **viewer**, **Is owner** or **Can edit**
90
- # permissions in the Google Developers Console project.
91
- # @param [String] project_id
92
- # The project id to list namespaces under.
93
- # Optional.
94
- # @param [String] fields
95
- # Selector specifying which fields to include in a partial response.
96
- # @param [String] quota_user
97
- # Available to use for quota purposes for server-side applications. Can be any
98
- # arbitrary string assigned to a user, but should not exceed 40 characters.
99
- # @param [Google::Apis::RequestOptions] options
100
- # Request-specific options
101
- #
102
- # @yield [result, err] Result & error if block supplied
103
- # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse] parsed result object
104
- # @yieldparam err [StandardError] error object if request failed
105
- #
106
- # @return [Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse]
107
- #
108
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
109
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
110
- # @raise [Google::Apis::AuthorizationError] Authorization is required
111
- def list_namespaces(project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
112
- command = make_simple_command(:get, 'v1beta1/namespaces', options)
113
- command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse::Representation
114
- command.response_class = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse
115
- command.query['projectId'] = project_id unless project_id.nil?
116
- command.query['fields'] = fields unless fields.nil?
117
- command.query['quotaUser'] = quota_user unless quota_user.nil?
118
- execute_or_queue_command(command, &block)
119
- end
120
-
121
- # Updates the information about the specified namespace. Only the namespace
122
- # visibility can be updated.
123
- # @param [String] namespace_name
124
- # Resource name of this namespace. Namespaces names have the format:
125
- # <code>namespaces/<var>namespace</var></code>.
126
- # @param [Google::Apis::ProximitybeaconV1beta1::Namespace] namespace_object
127
- # @param [String] project_id
128
- # The project id of the namespace to update. If the project id is not
129
- # specified then the project making the request is used. The project id
130
- # must match the project that owns the beacon.
131
- # Optional.
132
- # @param [String] fields
133
- # Selector specifying which fields to include in a partial response.
134
- # @param [String] quota_user
135
- # Available to use for quota purposes for server-side applications. Can be any
136
- # arbitrary string assigned to a user, but should not exceed 40 characters.
137
- # @param [Google::Apis::RequestOptions] options
138
- # Request-specific options
139
- #
140
- # @yield [result, err] Result & error if block supplied
141
- # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Namespace] parsed result object
142
- # @yieldparam err [StandardError] error object if request failed
143
- #
144
- # @return [Google::Apis::ProximitybeaconV1beta1::Namespace]
145
- #
146
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
147
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
148
- # @raise [Google::Apis::AuthorizationError] Authorization is required
149
- def update_namespace(namespace_name, namespace_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
150
- command = make_simple_command(:put, 'v1beta1/{+namespaceName}', options)
151
- command.request_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
152
- command.request_object = namespace_object
153
- command.response_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
154
- command.response_class = Google::Apis::ProximitybeaconV1beta1::Namespace
155
- command.params['namespaceName'] = namespace_name unless namespace_name.nil?
156
- command.query['projectId'] = project_id unless project_id.nil?
157
- command.query['fields'] = fields unless fields.nil?
158
- command.query['quotaUser'] = quota_user unless quota_user.nil?
159
- execute_or_queue_command(command, &block)
160
- end
161
-
162
- # Gets the Proximity Beacon API's current public key and associated
163
- # parameters used to initiate the Diffie-Hellman key exchange required to
164
- # register a beacon that broadcasts the Eddystone-EID format. This key
165
- # changes periodically; clients may cache it and re-use the same public key
166
- # to provision and register multiple beacons. However, clients should be
167
- # prepared to refresh this key when they encounter an error registering an
168
- # Eddystone-EID beacon.
169
- # @param [String] fields
170
- # Selector specifying which fields to include in a partial response.
171
- # @param [String] quota_user
172
- # Available to use for quota purposes for server-side applications. Can be any
173
- # arbitrary string assigned to a user, but should not exceed 40 characters.
174
- # @param [Google::Apis::RequestOptions] options
175
- # Request-specific options
176
- #
177
- # @yield [result, err] Result & error if block supplied
178
- # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams] parsed result object
179
- # @yieldparam err [StandardError] error object if request failed
180
- #
181
- # @return [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams]
182
- #
183
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
184
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
185
- # @raise [Google::Apis::AuthorizationError] Authorization is required
186
- def get_eidparams(fields: nil, quota_user: nil, options: nil, &block)
187
- command = make_simple_command(:get, 'v1beta1/eidparams', options)
188
- command.response_representation = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams::Representation
189
- command.response_class = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams
190
- command.query['fields'] = fields unless fields.nil?
191
- command.query['quotaUser'] = quota_user unless quota_user.nil?
192
- execute_or_queue_command(command, &block)
193
- end
194
-
195
84
  # Activates a beacon. A beacon that is active will return information
196
85
  # and attachment data when queried via `beaconinfo.getforobserved`.
197
86
  # Calling this method on an already active beacon will do nothing (but
@@ -241,18 +130,16 @@ module Google
241
130
  execute_or_queue_command(command, &block)
242
131
  end
243
132
 
244
- # Returns detailed information about the specified beacon.
133
+ # Deactivates a beacon. Once deactivated, the API will not return
134
+ # information nor attachment data for the beacon when queried via
135
+ # `beaconinfo.getforobserved`. Calling this method on an already inactive
136
+ # beacon will do nothing (but will return a successful response code).
245
137
  # Authenticate using an [OAuth access token](https://developers.google.com/
246
138
  # identity/protocols/OAuth2)
247
- # from a signed-in user with **viewer**, **Is owner** or **Can edit**
248
- # permissions in the Google Developers Console project.
249
- # Requests may supply an Eddystone-EID beacon name in the form:
250
- # `beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID
251
- # broadcast by the beacon. The returned `Beacon` object will contain the
252
- # beacon's stable Eddystone-UID. Clients not authorized to resolve the
253
- # beacon's ephemeral Eddystone-EID broadcast will receive an error.
139
+ # from a signed-in user with **Is owner** or **Can edit** permissions in the
140
+ # Google Developers Console project.
254
141
  # @param [String] beacon_name
255
- # Resource name of this beacon. A beacon name has the format
142
+ # Beacon that should be deactivated. A beacon name has the format
256
143
  # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
257
144
  # the beacon and N is a code for the beacon's type. Possible values are
258
145
  # `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
@@ -260,61 +147,9 @@ module Google
260
147
  # current EID or the beacon's "stable" UID.
261
148
  # Required.
262
149
  # @param [String] project_id
263
- # The project id of the beacon to request. If the project id is not specified
264
- # then the project making the request is used. The project id must match the
265
- # project that owns the beacon.
266
- # Optional.
267
- # @param [String] fields
268
- # Selector specifying which fields to include in a partial response.
269
- # @param [String] quota_user
270
- # Available to use for quota purposes for server-side applications. Can be any
271
- # arbitrary string assigned to a user, but should not exceed 40 characters.
272
- # @param [Google::Apis::RequestOptions] options
273
- # Request-specific options
274
- #
275
- # @yield [result, err] Result & error if block supplied
276
- # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object
277
- # @yieldparam err [StandardError] error object if request failed
278
- #
279
- # @return [Google::Apis::ProximitybeaconV1beta1::Beacon]
280
- #
281
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
282
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
283
- # @raise [Google::Apis::AuthorizationError] Authorization is required
284
- def get_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
285
- command = make_simple_command(:get, 'v1beta1/{+beaconName}', options)
286
- command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
287
- command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
288
- command.params['beaconName'] = beacon_name unless beacon_name.nil?
289
- command.query['projectId'] = project_id unless project_id.nil?
290
- command.query['fields'] = fields unless fields.nil?
291
- command.query['quotaUser'] = quota_user unless quota_user.nil?
292
- execute_or_queue_command(command, &block)
293
- end
294
-
295
- # Updates the information about the specified beacon. **Any field that you do
296
- # not populate in the submitted beacon will be permanently erased**, so you
297
- # should follow the "read, modify, write" pattern to avoid inadvertently
298
- # destroying data.
299
- # Changes to the beacon status via this method will be silently ignored.
300
- # To update beacon status, use the separate methods on this API for
301
- # activation, deactivation, and decommissioning.
302
- # Authenticate using an [OAuth access token](https://developers.google.com/
303
- # identity/protocols/OAuth2)
304
- # from a signed-in user with **Is owner** or **Can edit** permissions in the
305
- # Google Developers Console project.
306
- # @param [String] beacon_name
307
- # Resource name of this beacon. A beacon name has the format
308
- # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
309
- # the beacon and N is a code for the beacon's type. Possible values are
310
- # `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon.
311
- # This field must be left empty when registering. After reading a beacon,
312
- # clients can use the name for future operations.
313
- # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object
314
- # @param [String] project_id
315
- # The project id of the beacon to update. If the project id is not
316
- # specified then the project making the request is used. The project id
317
- # must match the project that owns the beacon.
150
+ # The project id of the beacon to deactivate. If the project id is not
151
+ # specified then the project making the request is used. The project id must
152
+ # match the project that owns the beacon.
318
153
  # Optional.
319
154
  # @param [String] fields
320
155
  # Selector specifying which fields to include in a partial response.
@@ -325,20 +160,18 @@ module Google
325
160
  # Request-specific options
326
161
  #
327
162
  # @yield [result, err] Result & error if block supplied
328
- # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object
163
+ # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object
329
164
  # @yieldparam err [StandardError] error object if request failed
330
165
  #
331
- # @return [Google::Apis::ProximitybeaconV1beta1::Beacon]
166
+ # @return [Google::Apis::ProximitybeaconV1beta1::Empty]
332
167
  #
333
168
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
334
169
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
335
170
  # @raise [Google::Apis::AuthorizationError] Authorization is required
336
- def update_beacon(beacon_name, beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
337
- command = make_simple_command(:put, 'v1beta1/{+beaconName}', options)
338
- command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
339
- command.request_object = beacon_object
340
- command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
341
- command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
171
+ def deactivate_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
172
+ command = make_simple_command(:post, 'v1beta1/{+beaconName}:deactivate', options)
173
+ command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
174
+ command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
342
175
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
343
176
  command.query['projectId'] = project_id unless project_id.nil?
344
177
  command.query['fields'] = fields unless fields.nil?
@@ -442,16 +275,18 @@ module Google
442
275
  execute_or_queue_command(command, &block)
443
276
  end
444
277
 
445
- # Deactivates a beacon. Once deactivated, the API will not return
446
- # information nor attachment data for the beacon when queried via
447
- # `beaconinfo.getforobserved`. Calling this method on an already inactive
448
- # beacon will do nothing (but will return a successful response code).
278
+ # Returns detailed information about the specified beacon.
449
279
  # Authenticate using an [OAuth access token](https://developers.google.com/
450
280
  # identity/protocols/OAuth2)
451
- # from a signed-in user with **Is owner** or **Can edit** permissions in the
452
- # Google Developers Console project.
281
+ # from a signed-in user with **viewer**, **Is owner** or **Can edit**
282
+ # permissions in the Google Developers Console project.
283
+ # Requests may supply an Eddystone-EID beacon name in the form:
284
+ # `beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID
285
+ # broadcast by the beacon. The returned `Beacon` object will contain the
286
+ # beacon's stable Eddystone-UID. Clients not authorized to resolve the
287
+ # beacon's ephemeral Eddystone-EID broadcast will receive an error.
453
288
  # @param [String] beacon_name
454
- # Beacon that should be deactivated. A beacon name has the format
289
+ # Resource name of this beacon. A beacon name has the format
455
290
  # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
456
291
  # the beacon and N is a code for the beacon's type. Possible values are
457
292
  # `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
@@ -459,9 +294,9 @@ module Google
459
294
  # current EID or the beacon's "stable" UID.
460
295
  # Required.
461
296
  # @param [String] project_id
462
- # The project id of the beacon to deactivate. If the project id is not
463
- # specified then the project making the request is used. The project id must
464
- # match the project that owns the beacon.
297
+ # The project id of the beacon to request. If the project id is not specified
298
+ # then the project making the request is used. The project id must match the
299
+ # project that owns the beacon.
465
300
  # Optional.
466
301
  # @param [String] fields
467
302
  # Selector specifying which fields to include in a partial response.
@@ -472,18 +307,18 @@ module Google
472
307
  # Request-specific options
473
308
  #
474
309
  # @yield [result, err] Result & error if block supplied
475
- # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object
310
+ # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object
476
311
  # @yieldparam err [StandardError] error object if request failed
477
312
  #
478
- # @return [Google::Apis::ProximitybeaconV1beta1::Empty]
313
+ # @return [Google::Apis::ProximitybeaconV1beta1::Beacon]
479
314
  #
480
315
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
481
316
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
482
317
  # @raise [Google::Apis::AuthorizationError] Authorization is required
483
- def deactivate_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
484
- command = make_simple_command(:post, 'v1beta1/{+beaconName}:deactivate', options)
485
- command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
486
- command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
318
+ def get_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
319
+ command = make_simple_command(:get, 'v1beta1/{+beaconName}', options)
320
+ command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
321
+ command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
487
322
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
488
323
  command.query['projectId'] = project_id unless project_id.nil?
489
324
  command.query['fields'] = fields unless fields.nil?
@@ -491,59 +326,22 @@ module Google
491
326
  execute_or_queue_command(command, &block)
492
327
  end
493
328
 
494
- # Registers a previously unregistered beacon given its `advertisedId`.
495
- # These IDs are unique within the system. An ID can be registered only once.
329
+ # Searches the beacon registry for beacons that match the given search
330
+ # criteria. Only those beacons that the client has permission to list
331
+ # will be returned.
496
332
  # Authenticate using an [OAuth access token](https://developers.google.com/
497
333
  # identity/protocols/OAuth2)
498
- # from a signed-in user with **Is owner** or **Can edit** permissions in the
499
- # Google Developers Console project.
500
- # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object
334
+ # from a signed-in user with **viewer**, **Is owner** or **Can edit**
335
+ # permissions in the Google Developers Console project.
336
+ # @param [Fixnum] page_size
337
+ # The maximum number of records to return for this request, up to a
338
+ # server-defined upper limit.
339
+ # @param [String] page_token
340
+ # A pagination token obtained from a previous request to list beacons.
501
341
  # @param [String] project_id
502
- # The project id of the project the beacon will be registered to. If
503
- # the project id is not specified then the project making the request
504
- # is used.
342
+ # The project id to list beacons under. If not present then the project
343
+ # credential that made the request is used as the project.
505
344
  # Optional.
506
- # @param [String] fields
507
- # Selector specifying which fields to include in a partial response.
508
- # @param [String] quota_user
509
- # Available to use for quota purposes for server-side applications. Can be any
510
- # arbitrary string assigned to a user, but should not exceed 40 characters.
511
- # @param [Google::Apis::RequestOptions] options
512
- # Request-specific options
513
- #
514
- # @yield [result, err] Result & error if block supplied
515
- # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object
516
- # @yieldparam err [StandardError] error object if request failed
517
- #
518
- # @return [Google::Apis::ProximitybeaconV1beta1::Beacon]
519
- #
520
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
521
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
522
- # @raise [Google::Apis::AuthorizationError] Authorization is required
523
- def register_beacon(beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
524
- command = make_simple_command(:post, 'v1beta1/beacons:register', options)
525
- command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
526
- command.request_object = beacon_object
527
- command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
528
- command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
529
- command.query['projectId'] = project_id unless project_id.nil?
530
- command.query['fields'] = fields unless fields.nil?
531
- command.query['quotaUser'] = quota_user unless quota_user.nil?
532
- execute_or_queue_command(command, &block)
533
- end
534
-
535
- # Searches the beacon registry for beacons that match the given search
536
- # criteria. Only those beacons that the client has permission to list
537
- # will be returned.
538
- # Authenticate using an [OAuth access token](https://developers.google.com/
539
- # identity/protocols/OAuth2)
540
- # from a signed-in user with **viewer**, **Is owner** or **Can edit**
541
- # permissions in the Google Developers Console project.
542
- # @param [String] page_token
543
- # A pagination token obtained from a previous request to list beacons.
544
- # @param [Fixnum] page_size
545
- # The maximum number of records to return for this request, up to a
546
- # server-defined upper limit.
547
345
  # @param [String] q
548
346
  # Filter query string that supports the following field filters:
549
347
  # * **description:`"<string>"`**
@@ -608,10 +406,6 @@ module Google
608
406
  # be URL-encoded.
609
407
  # Example REST request:
610
408
  # `GET /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000`
611
- # @param [String] project_id
612
- # The project id to list beacons under. If not present then the project
613
- # credential that made the request is used as the project.
614
- # Optional.
615
409
  # @param [String] fields
616
410
  # Selector specifying which fields to include in a partial response.
617
411
  # @param [String] quota_user
@@ -629,38 +423,30 @@ module Google
629
423
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
630
424
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
631
425
  # @raise [Google::Apis::AuthorizationError] Authorization is required
632
- def list_beacons(page_token: nil, page_size: nil, q: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
426
+ def list_beacons(page_size: nil, page_token: nil, project_id: nil, q: nil, fields: nil, quota_user: nil, options: nil, &block)
633
427
  command = make_simple_command(:get, 'v1beta1/beacons', options)
634
428
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse::Representation
635
429
  command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse
636
- command.query['pageToken'] = page_token unless page_token.nil?
637
430
  command.query['pageSize'] = page_size unless page_size.nil?
638
- command.query['q'] = q unless q.nil?
431
+ command.query['pageToken'] = page_token unless page_token.nil?
639
432
  command.query['projectId'] = project_id unless project_id.nil?
433
+ command.query['q'] = q unless q.nil?
640
434
  command.query['fields'] = fields unless fields.nil?
641
435
  command.query['quotaUser'] = quota_user unless quota_user.nil?
642
436
  execute_or_queue_command(command, &block)
643
437
  end
644
438
 
645
- # Deletes the specified attachment for the given beacon. Each attachment has
646
- # a unique attachment name (`attachmentName`) which is returned when you
647
- # fetch the attachment data via this API. You specify this with the delete
648
- # request to control which attachment is removed. This operation cannot be
649
- # undone.
439
+ # Registers a previously unregistered beacon given its `advertisedId`.
440
+ # These IDs are unique within the system. An ID can be registered only once.
650
441
  # Authenticate using an [OAuth access token](https://developers.google.com/
651
442
  # identity/protocols/OAuth2)
652
443
  # from a signed-in user with **Is owner** or **Can edit** permissions in the
653
444
  # Google Developers Console project.
654
- # @param [String] attachment_name
655
- # The attachment name (`attachmentName`) of
656
- # the attachment to remove. For example:
657
- # `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For
658
- # Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the
659
- # beacon's current EID, or its "stable" Eddystone-UID.
660
- # Required.
445
+ # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object
661
446
  # @param [String] project_id
662
- # The project id of the attachment to delete. If not provided, the project
663
- # that is making the request is used.
447
+ # The project id of the project the beacon will be registered to. If
448
+ # the project id is not specified then the project making the request
449
+ # is used.
664
450
  # Optional.
665
451
  # @param [String] fields
666
452
  # Selector specifying which fields to include in a partial response.
@@ -671,53 +457,49 @@ module Google
671
457
  # Request-specific options
672
458
  #
673
459
  # @yield [result, err] Result & error if block supplied
674
- # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object
460
+ # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object
675
461
  # @yieldparam err [StandardError] error object if request failed
676
462
  #
677
- # @return [Google::Apis::ProximitybeaconV1beta1::Empty]
463
+ # @return [Google::Apis::ProximitybeaconV1beta1::Beacon]
678
464
  #
679
465
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
680
466
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
681
467
  # @raise [Google::Apis::AuthorizationError] Authorization is required
682
- def delete_beacon_attachment(attachment_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
683
- command = make_simple_command(:delete, 'v1beta1/{+attachmentName}', options)
684
- command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
685
- command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
686
- command.params['attachmentName'] = attachment_name unless attachment_name.nil?
468
+ def register_beacon(beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
469
+ command = make_simple_command(:post, 'v1beta1/beacons:register', options)
470
+ command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
471
+ command.request_object = beacon_object
472
+ command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
473
+ command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
687
474
  command.query['projectId'] = project_id unless project_id.nil?
688
475
  command.query['fields'] = fields unless fields.nil?
689
476
  command.query['quotaUser'] = quota_user unless quota_user.nil?
690
477
  execute_or_queue_command(command, &block)
691
478
  end
692
479
 
693
- # Returns the attachments for the specified beacon that match the specified
694
- # namespaced-type pattern.
695
- # To control which namespaced types are returned, you add the
696
- # `namespacedType` query parameter to the request. You must either use
697
- # `*/*`, to return all attachments, or the namespace must be one of
698
- # the ones returned from the `namespaces` endpoint.
480
+ # Updates the information about the specified beacon. **Any field that you do
481
+ # not populate in the submitted beacon will be permanently erased**, so you
482
+ # should follow the "read, modify, write" pattern to avoid inadvertently
483
+ # destroying data.
484
+ # Changes to the beacon status via this method will be silently ignored.
485
+ # To update beacon status, use the separate methods on this API for
486
+ # activation, deactivation, and decommissioning.
699
487
  # Authenticate using an [OAuth access token](https://developers.google.com/
700
488
  # identity/protocols/OAuth2)
701
- # from a signed-in user with **viewer**, **Is owner** or **Can edit**
702
- # permissions in the Google Developers Console project.
489
+ # from a signed-in user with **Is owner** or **Can edit** permissions in the
490
+ # Google Developers Console project.
703
491
  # @param [String] beacon_name
704
- # Beacon whose attachments should be fetched. A beacon name has the
705
- # format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast
706
- # by the beacon and N is a code for the beacon's type. Possible values are
707
- # `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
708
- # for AltBeacon. For Eddystone-EID beacons, you may use either the
709
- # current EID or the beacon's "stable" UID.
710
- # Required.
711
- # @param [String] namespaced_type
712
- # Specifies the namespace and type of attachment to include in response in
713
- # <var>namespace/type</var> format. Accepts `*/*` to specify
714
- # "all types in all namespaces".
492
+ # Resource name of this beacon. A beacon name has the format
493
+ # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
494
+ # the beacon and N is a code for the beacon's type. Possible values are
495
+ # `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon.
496
+ # This field must be left empty when registering. After reading a beacon,
497
+ # clients can use the name for future operations.
498
+ # @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object
715
499
  # @param [String] project_id
716
- # The project id to list beacon attachments under. This field can be
717
- # used when "*" is specified to mean all attachment namespaces. Projects
718
- # may have multiple attachments with multiple namespaces. If "*" is
719
- # specified and the projectId string is empty, then the project
720
- # making the request is used.
500
+ # The project id of the beacon to update. If the project id is not
501
+ # specified then the project making the request is used. The project id
502
+ # must match the project that owns the beacon.
721
503
  # Optional.
722
504
  # @param [String] fields
723
505
  # Selector specifying which fields to include in a partial response.
@@ -728,20 +510,21 @@ module Google
728
510
  # Request-specific options
729
511
  #
730
512
  # @yield [result, err] Result & error if block supplied
731
- # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse] parsed result object
513
+ # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object
732
514
  # @yieldparam err [StandardError] error object if request failed
733
515
  #
734
- # @return [Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse]
516
+ # @return [Google::Apis::ProximitybeaconV1beta1::Beacon]
735
517
  #
736
518
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
737
519
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
738
520
  # @raise [Google::Apis::AuthorizationError] Authorization is required
739
- def list_beacon_attachments(beacon_name, namespaced_type: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
740
- command = make_simple_command(:get, 'v1beta1/{+beaconName}/attachments', options)
741
- command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse::Representation
742
- command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse
521
+ def update_beacon(beacon_name, beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
522
+ command = make_simple_command(:put, 'v1beta1/{+beaconName}', options)
523
+ command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
524
+ command.request_object = beacon_object
525
+ command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
526
+ command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
743
527
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
744
- command.query['namespacedType'] = namespaced_type unless namespaced_type.nil?
745
528
  command.query['projectId'] = project_id unless project_id.nil?
746
529
  command.query['fields'] = fields unless fields.nil?
747
530
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -866,6 +649,112 @@ module Google
866
649
  execute_or_queue_command(command, &block)
867
650
  end
868
651
 
652
+ # Deletes the specified attachment for the given beacon. Each attachment has
653
+ # a unique attachment name (`attachmentName`) which is returned when you
654
+ # fetch the attachment data via this API. You specify this with the delete
655
+ # request to control which attachment is removed. This operation cannot be
656
+ # undone.
657
+ # Authenticate using an [OAuth access token](https://developers.google.com/
658
+ # identity/protocols/OAuth2)
659
+ # from a signed-in user with **Is owner** or **Can edit** permissions in the
660
+ # Google Developers Console project.
661
+ # @param [String] attachment_name
662
+ # The attachment name (`attachmentName`) of
663
+ # the attachment to remove. For example:
664
+ # `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For
665
+ # Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the
666
+ # beacon's current EID, or its "stable" Eddystone-UID.
667
+ # Required.
668
+ # @param [String] project_id
669
+ # The project id of the attachment to delete. If not provided, the project
670
+ # that is making the request is used.
671
+ # Optional.
672
+ # @param [String] fields
673
+ # Selector specifying which fields to include in a partial response.
674
+ # @param [String] quota_user
675
+ # Available to use for quota purposes for server-side applications. Can be any
676
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
677
+ # @param [Google::Apis::RequestOptions] options
678
+ # Request-specific options
679
+ #
680
+ # @yield [result, err] Result & error if block supplied
681
+ # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object
682
+ # @yieldparam err [StandardError] error object if request failed
683
+ #
684
+ # @return [Google::Apis::ProximitybeaconV1beta1::Empty]
685
+ #
686
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
687
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
688
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
689
+ def delete_beacon_attachment(attachment_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
690
+ command = make_simple_command(:delete, 'v1beta1/{+attachmentName}', options)
691
+ command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
692
+ command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
693
+ command.params['attachmentName'] = attachment_name unless attachment_name.nil?
694
+ command.query['projectId'] = project_id unless project_id.nil?
695
+ command.query['fields'] = fields unless fields.nil?
696
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
697
+ execute_or_queue_command(command, &block)
698
+ end
699
+
700
+ # Returns the attachments for the specified beacon that match the specified
701
+ # namespaced-type pattern.
702
+ # To control which namespaced types are returned, you add the
703
+ # `namespacedType` query parameter to the request. You must either use
704
+ # `*/*`, to return all attachments, or the namespace must be one of
705
+ # the ones returned from the `namespaces` endpoint.
706
+ # Authenticate using an [OAuth access token](https://developers.google.com/
707
+ # identity/protocols/OAuth2)
708
+ # from a signed-in user with **viewer**, **Is owner** or **Can edit**
709
+ # permissions in the Google Developers Console project.
710
+ # @param [String] beacon_name
711
+ # Beacon whose attachments should be fetched. A beacon name has the
712
+ # format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast
713
+ # by the beacon and N is a code for the beacon's type. Possible values are
714
+ # `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
715
+ # for AltBeacon. For Eddystone-EID beacons, you may use either the
716
+ # current EID or the beacon's "stable" UID.
717
+ # Required.
718
+ # @param [String] namespaced_type
719
+ # Specifies the namespace and type of attachment to include in response in
720
+ # <var>namespace/type</var> format. Accepts `*/*` to specify
721
+ # "all types in all namespaces".
722
+ # @param [String] project_id
723
+ # The project id to list beacon attachments under. This field can be
724
+ # used when "*" is specified to mean all attachment namespaces. Projects
725
+ # may have multiple attachments with multiple namespaces. If "*" is
726
+ # specified and the projectId string is empty, then the project
727
+ # making the request is used.
728
+ # Optional.
729
+ # @param [String] fields
730
+ # Selector specifying which fields to include in a partial response.
731
+ # @param [String] quota_user
732
+ # Available to use for quota purposes for server-side applications. Can be any
733
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
734
+ # @param [Google::Apis::RequestOptions] options
735
+ # Request-specific options
736
+ #
737
+ # @yield [result, err] Result & error if block supplied
738
+ # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse] parsed result object
739
+ # @yieldparam err [StandardError] error object if request failed
740
+ #
741
+ # @return [Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse]
742
+ #
743
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
744
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
745
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
746
+ def list_beacon_attachments(beacon_name, namespaced_type: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
747
+ command = make_simple_command(:get, 'v1beta1/{+beaconName}/attachments', options)
748
+ command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse::Representation
749
+ command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse
750
+ command.params['beaconName'] = beacon_name unless beacon_name.nil?
751
+ command.query['namespacedType'] = namespaced_type unless namespaced_type.nil?
752
+ command.query['projectId'] = project_id unless project_id.nil?
753
+ command.query['fields'] = fields unless fields.nil?
754
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
755
+ execute_or_queue_command(command, &block)
756
+ end
757
+
869
758
  # List the diagnostics for a single beacon. You can also list diagnostics for
870
759
  # all the beacons owned by your Google Developers Console project by using
871
760
  # the beacon name `beacons/-`.
@@ -881,13 +770,13 @@ module Google
881
770
  # @param [Fixnum] page_size
882
771
  # Specifies the maximum number of results to return. Defaults to
883
772
  # 10. Maximum 1000. Optional.
773
+ # @param [String] page_token
774
+ # Requests results that occur after the `page_token`, obtained from the
775
+ # response to a previous request. Optional.
884
776
  # @param [String] project_id
885
777
  # Requests only diagnostic records for the given project id. If not set,
886
778
  # then the project making the request will be used for looking up
887
779
  # diagnostic records. Optional.
888
- # @param [String] page_token
889
- # Requests results that occur after the `page_token`, obtained from the
890
- # response to a previous request. Optional.
891
780
  # @param [String] fields
892
781
  # Selector specifying which fields to include in a partial response.
893
782
  # @param [String] quota_user
@@ -905,15 +794,126 @@ module Google
905
794
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
906
795
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
907
796
  # @raise [Google::Apis::AuthorizationError] Authorization is required
908
- def list_beacon_diagnostics(beacon_name, alert_filter: nil, page_size: nil, project_id: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
797
+ def list_beacon_diagnostics(beacon_name, alert_filter: nil, page_size: nil, page_token: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
909
798
  command = make_simple_command(:get, 'v1beta1/{+beaconName}/diagnostics', options)
910
799
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse::Representation
911
800
  command.response_class = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse
912
801
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
913
802
  command.query['alertFilter'] = alert_filter unless alert_filter.nil?
914
803
  command.query['pageSize'] = page_size unless page_size.nil?
915
- command.query['projectId'] = project_id unless project_id.nil?
916
804
  command.query['pageToken'] = page_token unless page_token.nil?
805
+ command.query['projectId'] = project_id unless project_id.nil?
806
+ command.query['fields'] = fields unless fields.nil?
807
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
808
+ execute_or_queue_command(command, &block)
809
+ end
810
+
811
+ # Lists all attachment namespaces owned by your Google Developers Console
812
+ # project. Attachment data associated with a beacon must include a
813
+ # namespaced type, and the namespace must be owned by your project.
814
+ # Authenticate using an [OAuth access token](https://developers.google.com/
815
+ # identity/protocols/OAuth2)
816
+ # from a signed-in user with **viewer**, **Is owner** or **Can edit**
817
+ # permissions in the Google Developers Console project.
818
+ # @param [String] project_id
819
+ # The project id to list namespaces under.
820
+ # Optional.
821
+ # @param [String] fields
822
+ # Selector specifying which fields to include in a partial response.
823
+ # @param [String] quota_user
824
+ # Available to use for quota purposes for server-side applications. Can be any
825
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
826
+ # @param [Google::Apis::RequestOptions] options
827
+ # Request-specific options
828
+ #
829
+ # @yield [result, err] Result & error if block supplied
830
+ # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse] parsed result object
831
+ # @yieldparam err [StandardError] error object if request failed
832
+ #
833
+ # @return [Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse]
834
+ #
835
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
836
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
837
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
838
+ def list_namespaces(project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
839
+ command = make_simple_command(:get, 'v1beta1/namespaces', options)
840
+ command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse::Representation
841
+ command.response_class = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse
842
+ command.query['projectId'] = project_id unless project_id.nil?
843
+ command.query['fields'] = fields unless fields.nil?
844
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
845
+ execute_or_queue_command(command, &block)
846
+ end
847
+
848
+ # Updates the information about the specified namespace. Only the namespace
849
+ # visibility can be updated.
850
+ # @param [String] namespace_name
851
+ # Resource name of this namespace. Namespaces names have the format:
852
+ # <code>namespaces/<var>namespace</var></code>.
853
+ # @param [Google::Apis::ProximitybeaconV1beta1::Namespace] namespace_object
854
+ # @param [String] project_id
855
+ # The project id of the namespace to update. If the project id is not
856
+ # specified then the project making the request is used. The project id
857
+ # must match the project that owns the beacon.
858
+ # Optional.
859
+ # @param [String] fields
860
+ # Selector specifying which fields to include in a partial response.
861
+ # @param [String] quota_user
862
+ # Available to use for quota purposes for server-side applications. Can be any
863
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
864
+ # @param [Google::Apis::RequestOptions] options
865
+ # Request-specific options
866
+ #
867
+ # @yield [result, err] Result & error if block supplied
868
+ # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Namespace] parsed result object
869
+ # @yieldparam err [StandardError] error object if request failed
870
+ #
871
+ # @return [Google::Apis::ProximitybeaconV1beta1::Namespace]
872
+ #
873
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
874
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
875
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
876
+ def update_namespace(namespace_name, namespace_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
877
+ command = make_simple_command(:put, 'v1beta1/{+namespaceName}', options)
878
+ command.request_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
879
+ command.request_object = namespace_object
880
+ command.response_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
881
+ command.response_class = Google::Apis::ProximitybeaconV1beta1::Namespace
882
+ command.params['namespaceName'] = namespace_name unless namespace_name.nil?
883
+ command.query['projectId'] = project_id unless project_id.nil?
884
+ command.query['fields'] = fields unless fields.nil?
885
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
886
+ execute_or_queue_command(command, &block)
887
+ end
888
+
889
+ # Gets the Proximity Beacon API's current public key and associated
890
+ # parameters used to initiate the Diffie-Hellman key exchange required to
891
+ # register a beacon that broadcasts the Eddystone-EID format. This key
892
+ # changes periodically; clients may cache it and re-use the same public key
893
+ # to provision and register multiple beacons. However, clients should be
894
+ # prepared to refresh this key when they encounter an error registering an
895
+ # Eddystone-EID beacon.
896
+ # @param [String] fields
897
+ # Selector specifying which fields to include in a partial response.
898
+ # @param [String] quota_user
899
+ # Available to use for quota purposes for server-side applications. Can be any
900
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
901
+ # @param [Google::Apis::RequestOptions] options
902
+ # Request-specific options
903
+ #
904
+ # @yield [result, err] Result & error if block supplied
905
+ # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams] parsed result object
906
+ # @yieldparam err [StandardError] error object if request failed
907
+ #
908
+ # @return [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams]
909
+ #
910
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
911
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
912
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
913
+ def get_eidparams(fields: nil, quota_user: nil, options: nil, &block)
914
+ command = make_simple_command(:get, 'v1beta1/eidparams', options)
915
+ command.response_representation = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams::Representation
916
+ command.response_class = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams
917
917
  command.query['fields'] = fields unless fields.nil?
918
918
  command.query['quotaUser'] = quota_user unless quota_user.nil?
919
919
  execute_or_queue_command(command, &block)