google-api-client 0.10.3 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (385) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +12 -18
  3. data/CHANGELOG.md +22 -2
  4. data/Gemfile +5 -7
  5. data/MIGRATING.md +33 -0
  6. data/README.md +10 -2
  7. data/Rakefile +1 -0
  8. data/bin/generate-api +7 -1
  9. data/dl.rb +0 -0
  10. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +6 -6
  11. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +1 -1
  12. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +759 -759
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +152 -152
  16. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +376 -375
  17. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +58 -58
  18. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +45 -45
  19. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -21
  20. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +5 -5
  21. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +5 -5
  22. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -0
  23. data/generated/google/apis/admin_datatransfer_v1/classes.rb +2 -2
  24. data/generated/google/apis/admin_datatransfer_v1/representations.rb +2 -2
  25. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -1
  26. data/generated/google/apis/admin_directory_v1/classes.rb +11 -11
  27. data/generated/google/apis/admin_directory_v1/representations.rb +11 -11
  28. data/generated/google/apis/admin_directory_v1/service.rb +1 -0
  29. data/generated/google/apis/admin_reports_v1/classes.rb +5 -5
  30. data/generated/google/apis/admin_reports_v1/representations.rb +4 -4
  31. data/generated/google/apis/admin_reports_v1/service.rb +1 -0
  32. data/generated/google/apis/adsense_v1_4.rb +1 -1
  33. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  34. data/generated/google/apis/adsense_v1_4/representations.rb +2 -2
  35. data/generated/google/apis/adsense_v1_4/service.rb +1 -0
  36. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  37. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -1
  38. data/generated/google/apis/adsensehost_v4_1/representations.rb +1 -1
  39. data/generated/google/apis/adsensehost_v4_1/service.rb +1 -0
  40. data/generated/google/apis/analytics_v3/classes.rb +10 -10
  41. data/generated/google/apis/analytics_v3/representations.rb +10 -10
  42. data/generated/google/apis/analytics_v3/service.rb +1 -0
  43. data/generated/google/apis/analyticsreporting_v4/classes.rb +933 -933
  44. data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
  45. data/generated/google/apis/analyticsreporting_v4/service.rb +5 -4
  46. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  47. data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
  48. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/service.rb +1 -0
  50. data/generated/google/apis/androidpublisher_v2/classes.rb +13 -13
  51. data/generated/google/apis/androidpublisher_v2/representations.rb +13 -13
  52. data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
  53. data/generated/google/apis/appengine_v1/classes.rb +2 -2
  54. data/generated/google/apis/appengine_v1/representations.rb +2 -2
  55. data/generated/google/apis/appengine_v1/service.rb +1 -0
  56. data/generated/google/apis/appsactivity_v1/classes.rb +1 -1
  57. data/generated/google/apis/appsactivity_v1/representations.rb +1 -1
  58. data/generated/google/apis/appsactivity_v1/service.rb +1 -0
  59. data/generated/google/apis/appsmarket_v2.rb +35 -0
  60. data/generated/google/apis/appsmarket_v2/classes.rb +396 -0
  61. data/generated/google/apis/appsmarket_v2/representations.rb +180 -0
  62. data/generated/google/apis/appsmarket_v2/service.rb +187 -0
  63. data/generated/google/apis/appstate_v1.rb +1 -1
  64. data/generated/google/apis/appstate_v1/service.rb +1 -0
  65. data/generated/google/apis/bigquery_v2/classes.rb +39 -39
  66. data/generated/google/apis/bigquery_v2/representations.rb +38 -38
  67. data/generated/google/apis/bigquery_v2/service.rb +3 -2
  68. data/generated/google/apis/blogger_v3/classes.rb +2 -2
  69. data/generated/google/apis/blogger_v3/representations.rb +2 -2
  70. data/generated/google/apis/blogger_v3/service.rb +1 -0
  71. data/generated/google/apis/books_v1/classes.rb +5 -5
  72. data/generated/google/apis/books_v1/representations.rb +4 -4
  73. data/generated/google/apis/books_v1/service.rb +1 -0
  74. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  75. data/generated/google/apis/calendar_v3/representations.rb +1 -1
  76. data/generated/google/apis/calendar_v3/service.rb +1 -0
  77. data/generated/google/apis/civicinfo_v2/classes.rb +6 -6
  78. data/generated/google/apis/civicinfo_v2/representations.rb +6 -6
  79. data/generated/google/apis/civicinfo_v2/service.rb +2 -1
  80. data/generated/google/apis/classroom_v1/service.rb +1 -0
  81. data/generated/google/apis/cloudbilling_v1/service.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1/classes.rb +626 -626
  84. data/generated/google/apis/cloudbuild_v1/representations.rb +109 -109
  85. data/generated/google/apis/cloudbuild_v1/service.rb +159 -158
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +358 -358
  87. data/generated/google/apis/clouddebugger_v2/representations.rb +99 -99
  88. data/generated/google/apis/clouddebugger_v2/service.rb +42 -41
  89. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  90. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +220 -220
  91. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +52 -52
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +59 -58
  93. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -7
  94. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -1
  95. data/generated/google/apis/cloudfunctions_v1/service.rb +5 -4
  96. data/generated/google/apis/cloudkms_v1/classes.rb +311 -311
  97. data/generated/google/apis/cloudkms_v1/representations.rb +87 -87
  98. data/generated/google/apis/cloudkms_v1/service.rb +168 -167
  99. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +4 -4
  100. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +4 -4
  101. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -0
  102. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  103. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +341 -341
  104. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +62 -62
  105. data/generated/google/apis/cloudresourcemanager_v1/service.rb +458 -457
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +327 -327
  107. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +71 -71
  108. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +237 -236
  109. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  110. data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
  111. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  112. data/generated/google/apis/cloudtrace_v1/service.rb +14 -13
  113. data/generated/google/apis/clouduseraccounts_beta/classes.rb +4 -4
  114. data/generated/google/apis/clouduseraccounts_beta/representations.rb +4 -4
  115. data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -0
  116. data/generated/google/apis/compute_beta/classes.rb +52 -52
  117. data/generated/google/apis/compute_beta/representations.rb +52 -52
  118. data/generated/google/apis/compute_beta/service.rb +2 -1
  119. data/generated/google/apis/compute_v1/classes.rb +48 -48
  120. data/generated/google/apis/compute_v1/representations.rb +48 -48
  121. data/generated/google/apis/compute_v1/service.rb +2 -1
  122. data/generated/google/apis/container_v1/service.rb +1 -0
  123. data/generated/google/apis/content_v2.rb +1 -1
  124. data/generated/google/apis/content_v2/classes.rb +38 -660
  125. data/generated/google/apis/content_v2/representations.rb +37 -303
  126. data/generated/google/apis/content_v2/service.rb +63 -279
  127. data/generated/google/apis/customsearch_v1/classes.rb +2 -2
  128. data/generated/google/apis/customsearch_v1/representations.rb +2 -2
  129. data/generated/google/apis/customsearch_v1/service.rb +1 -0
  130. data/generated/google/apis/dataflow_v1b3/classes.rb +3281 -3281
  131. data/generated/google/apis/dataflow_v1b3/representations.rb +777 -777
  132. data/generated/google/apis/dataflow_v1b3/service.rb +106 -105
  133. data/generated/google/apis/dataproc_v1/classes.rb +395 -395
  134. data/generated/google/apis/dataproc_v1/representations.rb +91 -91
  135. data/generated/google/apis/dataproc_v1/service.rb +356 -355
  136. data/generated/google/apis/datastore_v1/classes.rb +506 -506
  137. data/generated/google/apis/datastore_v1/representations.rb +147 -147
  138. data/generated/google/apis/datastore_v1/service.rb +46 -45
  139. data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
  140. data/generated/google/apis/deploymentmanager_v2/representations.rb +6 -6
  141. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -0
  142. data/generated/google/apis/dfareporting_v2_6/classes.rb +280 -280
  143. data/generated/google/apis/dfareporting_v2_6/representations.rb +266 -266
  144. data/generated/google/apis/dfareporting_v2_6/service.rb +421 -420
  145. data/generated/google/apis/dfareporting_v2_7/classes.rb +280 -280
  146. data/generated/google/apis/dfareporting_v2_7/representations.rb +266 -266
  147. data/generated/google/apis/dfareporting_v2_7/service.rb +423 -422
  148. data/generated/google/apis/discovery_v1/service.rb +1 -0
  149. data/generated/google/apis/dns_v1/classes.rb +2 -2
  150. data/generated/google/apis/dns_v1/representations.rb +2 -2
  151. data/generated/google/apis/dns_v1/service.rb +1 -0
  152. data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
  153. data/generated/google/apis/dns_v2beta1/representations.rb +2 -2
  154. data/generated/google/apis/dns_v2beta1/service.rb +1 -0
  155. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +15 -15
  156. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +13 -13
  157. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +5 -4
  158. data/generated/google/apis/doubleclicksearch_v2/classes.rb +28 -28
  159. data/generated/google/apis/doubleclicksearch_v2/representations.rb +28 -28
  160. data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -12
  161. data/generated/google/apis/drive_v2/classes.rb +17 -17
  162. data/generated/google/apis/drive_v2/representations.rb +17 -17
  163. data/generated/google/apis/drive_v2/service.rb +5 -4
  164. data/generated/google/apis/drive_v3/classes.rb +13 -13
  165. data/generated/google/apis/drive_v3/representations.rb +12 -12
  166. data/generated/google/apis/drive_v3/service.rb +1 -0
  167. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  168. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +81 -81
  169. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +24 -24
  170. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -0
  171. data/generated/google/apis/firebaserules_v1/classes.rb +201 -201
  172. data/generated/google/apis/firebaserules_v1/representations.rb +61 -61
  173. data/generated/google/apis/firebaserules_v1/service.rb +1 -0
  174. data/generated/google/apis/fitness_v1/classes.rb +18 -18
  175. data/generated/google/apis/fitness_v1/representations.rb +18 -18
  176. data/generated/google/apis/fitness_v1/service.rb +6 -5
  177. data/generated/google/apis/fusiontables_v2/classes.rb +2 -2
  178. data/generated/google/apis/fusiontables_v2/representations.rb +2 -2
  179. data/generated/google/apis/fusiontables_v2/service.rb +1 -0
  180. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  181. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  182. data/generated/google/apis/games_configuration_v1configuration/representations.rb +2 -2
  183. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -0
  184. data/generated/google/apis/games_management_v1management.rb +1 -1
  185. data/generated/google/apis/games_management_v1management/classes.rb +6 -6
  186. data/generated/google/apis/games_management_v1management/representations.rb +6 -6
  187. data/generated/google/apis/games_management_v1management/service.rb +1 -0
  188. data/generated/google/apis/games_v1.rb +1 -1
  189. data/generated/google/apis/games_v1/classes.rb +47 -47
  190. data/generated/google/apis/games_v1/representations.rb +47 -47
  191. data/generated/google/apis/games_v1/service.rb +58 -57
  192. data/generated/google/apis/genomics_v1.rb +6 -6
  193. data/generated/google/apis/genomics_v1/classes.rb +2354 -2354
  194. data/generated/google/apis/genomics_v1/representations.rb +487 -487
  195. data/generated/google/apis/genomics_v1/service.rb +1188 -1187
  196. data/generated/google/apis/gmail_v1/classes.rb +11 -11
  197. data/generated/google/apis/gmail_v1/representations.rb +11 -11
  198. data/generated/google/apis/gmail_v1/service.rb +2 -1
  199. data/generated/google/apis/groupsmigration_v1/service.rb +1 -0
  200. data/generated/google/apis/groupssettings_v1/service.rb +1 -0
  201. data/generated/google/apis/iam_v1/classes.rb +437 -437
  202. data/generated/google/apis/iam_v1/representations.rb +95 -95
  203. data/generated/google/apis/iam_v1/service.rb +87 -86
  204. data/generated/google/apis/identitytoolkit_v3/classes.rb +20 -20
  205. data/generated/google/apis/identitytoolkit_v3/representations.rb +20 -20
  206. data/generated/google/apis/identitytoolkit_v3/service.rb +1 -0
  207. data/generated/google/apis/kgsearch_v1/service.rb +9 -8
  208. data/generated/google/apis/language_v1.rb +1 -1
  209. data/generated/google/apis/language_v1/classes.rb +245 -245
  210. data/generated/google/apis/language_v1/representations.rb +65 -65
  211. data/generated/google/apis/language_v1/service.rb +1 -0
  212. data/generated/google/apis/language_v1beta1.rb +1 -1
  213. data/generated/google/apis/language_v1beta1/classes.rb +277 -277
  214. data/generated/google/apis/language_v1beta1/representations.rb +83 -83
  215. data/generated/google/apis/language_v1beta1/service.rb +31 -30
  216. data/generated/google/apis/licensing_v1/service.rb +1 -0
  217. data/generated/google/apis/logging_v2/classes.rb +408 -408
  218. data/generated/google/apis/logging_v2/representations.rb +93 -93
  219. data/generated/google/apis/logging_v2/service.rb +408 -407
  220. data/generated/google/apis/logging_v2beta1.rb +3 -3
  221. data/generated/google/apis/logging_v2beta1/classes.rb +892 -892
  222. data/generated/google/apis/logging_v2beta1/representations.rb +128 -128
  223. data/generated/google/apis/logging_v2beta1/service.rb +89 -88
  224. data/generated/google/apis/manufacturers_v1/classes.rb +309 -309
  225. data/generated/google/apis/manufacturers_v1/representations.rb +64 -64
  226. data/generated/google/apis/manufacturers_v1/service.rb +1 -0
  227. data/generated/google/apis/mirror_v1/service.rb +1 -0
  228. data/generated/google/apis/ml_v1/classes.rb +1185 -1185
  229. data/generated/google/apis/ml_v1/representations.rb +171 -171
  230. data/generated/google/apis/ml_v1/service.rb +282 -281
  231. data/generated/google/apis/monitoring_v3.rb +3 -3
  232. data/generated/google/apis/monitoring_v3/classes.rb +334 -334
  233. data/generated/google/apis/monitoring_v3/representations.rb +86 -86
  234. data/generated/google/apis/monitoring_v3/service.rb +344 -343
  235. data/generated/google/apis/mybusiness_v3/service.rb +1 -0
  236. data/generated/google/apis/oauth2_v2/service.rb +1 -0
  237. data/generated/google/apis/pagespeedonline_v2/classes.rb +8 -8
  238. data/generated/google/apis/pagespeedonline_v2/representations.rb +8 -8
  239. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -0
  240. data/generated/google/apis/partners_v2/classes.rb +1466 -1466
  241. data/generated/google/apis/partners_v2/representations.rb +371 -371
  242. data/generated/google/apis/partners_v2/service.rb +530 -529
  243. data/generated/google/apis/people_v1.rb +4 -4
  244. data/generated/google/apis/people_v1/classes.rb +1009 -1009
  245. data/generated/google/apis/people_v1/representations.rb +249 -249
  246. data/generated/google/apis/people_v1/service.rb +13 -12
  247. data/generated/google/apis/plus_domains_v1/classes.rb +2 -2
  248. data/generated/google/apis/plus_domains_v1/representations.rb +2 -2
  249. data/generated/google/apis/plus_domains_v1/service.rb +1 -0
  250. data/generated/google/apis/plus_v1/service.rb +1 -0
  251. data/generated/google/apis/prediction_v1_6/classes.rb +9 -9
  252. data/generated/google/apis/prediction_v1_6/representations.rb +9 -9
  253. data/generated/google/apis/prediction_v1_6/service.rb +1 -0
  254. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +221 -221
  255. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +55 -55
  256. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +378 -377
  257. data/generated/google/apis/pubsub_v1/classes.rb +99 -99
  258. data/generated/google/apis/pubsub_v1/representations.rb +25 -25
  259. data/generated/google/apis/pubsub_v1/service.rb +236 -235
  260. data/generated/google/apis/qpx_express_v1/service.rb +1 -0
  261. data/generated/google/apis/replicapool_v1beta2/classes.rb +3 -3
  262. data/generated/google/apis/replicapool_v1beta2/representations.rb +3 -3
  263. data/generated/google/apis/replicapool_v1beta2/service.rb +1 -0
  264. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +2 -2
  265. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +2 -2
  266. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -0
  267. data/generated/google/apis/reseller_v1/classes.rb +5 -5
  268. data/generated/google/apis/reseller_v1/representations.rb +5 -5
  269. data/generated/google/apis/reseller_v1/service.rb +1 -0
  270. data/generated/google/apis/resourceviews_v1beta2/classes.rb +2 -2
  271. data/generated/google/apis/resourceviews_v1beta2/representations.rb +2 -2
  272. data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -0
  273. data/generated/google/apis/runtimeconfig_v1.rb +3 -3
  274. data/generated/google/apis/runtimeconfig_v1/classes.rb +28 -28
  275. data/generated/google/apis/runtimeconfig_v1/representations.rb +3 -3
  276. data/generated/google/apis/runtimeconfig_v1/service.rb +53 -52
  277. data/generated/google/apis/script_v1.rb +18 -18
  278. data/generated/google/apis/script_v1/classes.rb +84 -84
  279. data/generated/google/apis/script_v1/representations.rb +18 -18
  280. data/generated/google/apis/script_v1/service.rb +11 -10
  281. data/generated/google/apis/searchconsole_v1/classes.rb +75 -75
  282. data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
  283. data/generated/google/apis/searchconsole_v1/service.rb +11 -10
  284. data/generated/google/apis/servicecontrol_v1/classes.rb +582 -582
  285. data/generated/google/apis/servicecontrol_v1/representations.rb +113 -113
  286. data/generated/google/apis/servicecontrol_v1/service.rb +71 -70
  287. data/generated/google/apis/servicemanagement_v1.rb +3 -3
  288. data/generated/google/apis/servicemanagement_v1/classes.rb +3725 -3725
  289. data/generated/google/apis/servicemanagement_v1/representations.rb +255 -255
  290. data/generated/google/apis/servicemanagement_v1/service.rb +179 -178
  291. data/generated/google/apis/serviceuser_v1.rb +3 -3
  292. data/generated/google/apis/serviceuser_v1/classes.rb +2845 -2845
  293. data/generated/google/apis/serviceuser_v1/representations.rb +228 -228
  294. data/generated/google/apis/serviceuser_v1/service.rb +47 -46
  295. data/generated/google/apis/sheets_v4.rb +1 -1
  296. data/generated/google/apis/sheets_v4/classes.rb +4456 -4456
  297. data/generated/google/apis/sheets_v4/representations.rb +859 -859
  298. data/generated/google/apis/sheets_v4/service.rb +180 -179
  299. data/generated/google/apis/site_verification_v1/service.rb +1 -0
  300. data/generated/google/apis/slides_v1.rb +1 -1
  301. data/generated/google/apis/slides_v1/classes.rb +2856 -2856
  302. data/generated/google/apis/slides_v1/representations.rb +683 -683
  303. data/generated/google/apis/slides_v1/service.rb +27 -26
  304. data/generated/google/apis/sourcerepo_v1/classes.rb +281 -281
  305. data/generated/google/apis/sourcerepo_v1/representations.rb +79 -79
  306. data/generated/google/apis/sourcerepo_v1/service.rb +112 -111
  307. data/generated/google/apis/spanner_v1/classes.rb +2177 -2177
  308. data/generated/google/apis/spanner_v1/representations.rb +325 -325
  309. data/generated/google/apis/spanner_v1/service.rb +374 -373
  310. data/generated/google/apis/speech_v1beta1/classes.rb +197 -197
  311. data/generated/google/apis/speech_v1beta1/representations.rb +36 -36
  312. data/generated/google/apis/speech_v1beta1/service.rb +27 -26
  313. data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -14
  314. data/generated/google/apis/sqladmin_v1beta4/representations.rb +14 -14
  315. data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -2
  316. data/generated/google/apis/storage_v1.rb +1 -1
  317. data/generated/google/apis/storage_v1/classes.rb +11 -11
  318. data/generated/google/apis/storage_v1/representations.rb +11 -11
  319. data/generated/google/apis/storage_v1/service.rb +65 -64
  320. data/generated/google/apis/storagetransfer_v1/classes.rb +239 -239
  321. data/generated/google/apis/storagetransfer_v1/representations.rb +79 -79
  322. data/generated/google/apis/storagetransfer_v1/service.rb +133 -132
  323. data/generated/google/apis/surveys_v2/classes.rb +4 -4
  324. data/generated/google/apis/surveys_v2/representations.rb +4 -4
  325. data/generated/google/apis/surveys_v2/service.rb +1 -0
  326. data/generated/google/apis/tagmanager_v1/classes.rb +7 -7
  327. data/generated/google/apis/tagmanager_v1/representations.rb +7 -7
  328. data/generated/google/apis/tagmanager_v1/service.rb +1 -0
  329. data/generated/google/apis/tagmanager_v2/classes.rb +6 -6
  330. data/generated/google/apis/tagmanager_v2/representations.rb +6 -6
  331. data/generated/google/apis/tagmanager_v2/service.rb +1 -0
  332. data/generated/google/apis/taskqueue_v1beta2/classes.rb +5 -5
  333. data/generated/google/apis/taskqueue_v1beta2/representations.rb +5 -5
  334. data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -0
  335. data/generated/google/apis/tasks_v1/service.rb +3 -2
  336. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  337. data/generated/google/apis/toolresults_v1beta3/classes.rb +4 -4
  338. data/generated/google/apis/toolresults_v1beta3/representations.rb +4 -4
  339. data/generated/google/apis/toolresults_v1beta3/service.rb +1 -0
  340. data/generated/google/apis/tracing_v1/classes.rb +421 -421
  341. data/generated/google/apis/tracing_v1/representations.rb +86 -86
  342. data/generated/google/apis/tracing_v1/service.rb +60 -59
  343. data/generated/google/apis/translate_v2/service.rb +1 -0
  344. data/generated/google/apis/urlshortener_v1/classes.rb +3 -3
  345. data/generated/google/apis/urlshortener_v1/representations.rb +3 -3
  346. data/generated/google/apis/urlshortener_v1/service.rb +1 -0
  347. data/generated/google/apis/vision_v1/classes.rb +1290 -1290
  348. data/generated/google/apis/vision_v1/representations.rb +184 -184
  349. data/generated/google/apis/vision_v1/service.rb +11 -10
  350. data/generated/google/apis/webfonts_v1/service.rb +1 -0
  351. data/generated/google/apis/webmasters_v3/classes.rb +5 -5
  352. data/generated/google/apis/webmasters_v3/representations.rb +5 -5
  353. data/generated/google/apis/webmasters_v3/service.rb +1 -0
  354. data/generated/google/apis/youtube_analytics_v1/classes.rb +1 -1
  355. data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -1
  356. data/generated/google/apis/youtube_analytics_v1/service.rb +1 -0
  357. data/generated/google/apis/youtube_partner_v1/classes.rb +13 -13
  358. data/generated/google/apis/youtube_partner_v1/representations.rb +13 -13
  359. data/generated/google/apis/youtube_partner_v1/service.rb +1 -0
  360. data/generated/google/apis/youtube_v3/classes.rb +31 -31
  361. data/generated/google/apis/youtube_v3/representations.rb +31 -31
  362. data/generated/google/apis/youtube_v3/service.rb +2 -1
  363. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  364. data/generated/google/apis/youtubereporting_v1/classes.rb +73 -73
  365. data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
  366. data/generated/google/apis/youtubereporting_v1/service.rb +77 -76
  367. data/google-api-client.gemspec +4 -6
  368. data/lib/google/apis/core/api_command.rb +8 -3
  369. data/lib/google/apis/core/base_service.rb +47 -18
  370. data/lib/google/apis/core/batch.rb +13 -18
  371. data/lib/google/apis/core/composite_io.rb +97 -0
  372. data/lib/google/apis/core/download.rb +24 -20
  373. data/lib/google/apis/core/http_command.rb +49 -38
  374. data/lib/google/apis/core/json_representation.rb +5 -1
  375. data/lib/google/apis/core/multipart.rb +43 -95
  376. data/lib/google/apis/core/upload.rb +59 -84
  377. data/lib/google/apis/generator/model.rb +2 -0
  378. data/lib/google/apis/generator/templates/_representation.tmpl +1 -1
  379. data/lib/google/apis/generator/templates/service.rb.tmpl +1 -0
  380. data/lib/google/apis/options.rb +24 -12
  381. data/lib/google/apis/version.rb +1 -1
  382. data/samples/web/Gemfile +0 -1
  383. metadata +39 -37
  384. data/lib/google/apis/core/http_client_adapter.rb +0 -82
  385. data/third_party/hurley_patches.rb +0 -103
@@ -44,16 +44,12 @@ module Google
44
44
 
45
45
  def initialize
46
46
  super('https://people.googleapis.com/', '')
47
+ @batch_path = 'batch'
47
48
  end
48
49
 
49
50
  # Provides information about a list of specific people by specifying a list
50
51
  # of requested resource names. Use `people/me` to indicate the authenticated
51
52
  # user.
52
- # @param [Array<String>, String] resource_names
53
- # The resource name, such as one returned by
54
- # [`people.connections.list`](/people/api/rest/v1/people.connections/list),
55
- # of one of the people to provide information about. You can include this
56
- # parameter up to 50 times in one request.
57
53
  # @param [String] request_mask_include_field
58
54
  # Comma-separated list of fields to be included in the response. Omitting
59
55
  # this field will include all fields except for connections.list requests,
@@ -61,6 +57,11 @@ module Google
61
57
  # photo, and profile url.
62
58
  # Each path should start with `person.`: for example, `person.names` or
63
59
  # `person.photos`.
60
+ # @param [Array<String>, String] resource_names
61
+ # The resource name, such as one returned by
62
+ # [`people.connections.list`](/people/api/rest/v1/people.connections/list),
63
+ # of one of the people to provide information about. You can include this
64
+ # parameter up to 50 times in one request.
64
65
  # @param [String] fields
65
66
  # Selector specifying which fields to include in a partial response.
66
67
  # @param [String] quota_user
@@ -78,12 +79,12 @@ module Google
78
79
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
79
80
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
80
81
  # @raise [Google::Apis::AuthorizationError] Authorization is required
81
- def get_people(resource_names: nil, request_mask_include_field: nil, fields: nil, quota_user: nil, options: nil, &block)
82
+ def get_people(request_mask_include_field: nil, resource_names: nil, fields: nil, quota_user: nil, options: nil, &block)
82
83
  command = make_simple_command(:get, 'v1/people:batchGet', options)
83
84
  command.response_representation = Google::Apis::PeopleV1::GetPeopleResponse::Representation
84
85
  command.response_class = Google::Apis::PeopleV1::GetPeopleResponse
85
- command.query['resourceNames'] = resource_names unless resource_names.nil?
86
86
  command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
87
+ command.query['resourceNames'] = resource_names unless resource_names.nil?
87
88
  command.query['fields'] = fields unless fields.nil?
88
89
  command.query['quotaUser'] = quota_user unless quota_user.nil?
89
90
  execute_or_queue_command(command, &block)
@@ -136,6 +137,9 @@ module Google
136
137
  # linked profiles.
137
138
  # @param [String] resource_name
138
139
  # The resource name to return connections for. Only `people/me` is valid.
140
+ # @param [String] sort_order
141
+ # The order in which the connections should be sorted. Defaults to
142
+ # `LAST_MODIFIED_ASCENDING`.
139
143
  # @param [Boolean] request_sync_token
140
144
  # Whether the response should include a sync token, which can be used to get
141
145
  # all changes since the last request.
@@ -154,9 +158,6 @@ module Google
154
158
  # @param [String] sync_token
155
159
  # A sync token, returned by a previous call to `people.connections.list`.
156
160
  # Only resources changed since the sync token was created will be returned.
157
- # @param [String] sort_order
158
- # The order in which the connections should be sorted. Defaults to
159
- # `LAST_MODIFIED_ASCENDING`.
160
161
  # @param [String] fields
161
162
  # Selector specifying which fields to include in a partial response.
162
163
  # @param [String] quota_user
@@ -174,17 +175,17 @@ module Google
174
175
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
175
176
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
176
177
  # @raise [Google::Apis::AuthorizationError] Authorization is required
177
- def list_person_connections(resource_name, request_sync_token: nil, page_token: nil, request_mask_include_field: nil, page_size: nil, sync_token: nil, sort_order: nil, fields: nil, quota_user: nil, options: nil, &block)
178
+ def list_person_connections(resource_name, sort_order: nil, request_sync_token: nil, page_token: nil, request_mask_include_field: nil, page_size: nil, sync_token: nil, fields: nil, quota_user: nil, options: nil, &block)
178
179
  command = make_simple_command(:get, 'v1/{+resourceName}/connections', options)
179
180
  command.response_representation = Google::Apis::PeopleV1::ListConnectionsResponse::Representation
180
181
  command.response_class = Google::Apis::PeopleV1::ListConnectionsResponse
181
182
  command.params['resourceName'] = resource_name unless resource_name.nil?
183
+ command.query['sortOrder'] = sort_order unless sort_order.nil?
182
184
  command.query['requestSyncToken'] = request_sync_token unless request_sync_token.nil?
183
185
  command.query['pageToken'] = page_token unless page_token.nil?
184
186
  command.query['requestMask.includeField'] = request_mask_include_field unless request_mask_include_field.nil?
185
187
  command.query['pageSize'] = page_size unless page_size.nil?
186
188
  command.query['syncToken'] = sync_token unless sync_token.nil?
187
- command.query['sortOrder'] = sort_order unless sort_order.nil?
188
189
  command.query['fields'] = fields unless fields.nil?
189
190
  command.query['quotaUser'] = quota_user unless quota_user.nil?
190
191
  execute_or_queue_command(command, &block)
@@ -1693,7 +1693,7 @@ module Google
1693
1693
 
1694
1694
  # The size in bytes of this video.
1695
1695
  # Corresponds to the JSON property `sizeBytes`
1696
- # @return [String]
1696
+ # @return [Fixnum]
1697
1697
  attr_accessor :size_bytes
1698
1698
 
1699
1699
  # The list of video streams for this video. There might be several different
@@ -1720,7 +1720,7 @@ module Google
1720
1720
 
1721
1721
  # The duration in milliseconds of this video.
1722
1722
  # Corresponds to the JSON property `videoDuration`
1723
- # @return [String]
1723
+ # @return [Fixnum]
1724
1724
  attr_accessor :video_duration
1725
1725
 
1726
1726
  # The encoding status of this video. Possible values are:
@@ -878,14 +878,14 @@ module Google
878
878
  property :media_url, as: 'mediaUrl'
879
879
  property :published, as: 'published', type: DateTime
880
880
 
881
- property :size_bytes, as: 'sizeBytes'
881
+ property :size_bytes, :numeric_string => true, as: 'sizeBytes'
882
882
  collection :streams, as: 'streams', class: Google::Apis::PlusDomainsV1::Videostream, decorator: Google::Apis::PlusDomainsV1::Videostream::Representation
883
883
 
884
884
  property :summary, as: 'summary'
885
885
  property :updated, as: 'updated', type: DateTime
886
886
 
887
887
  property :url, as: 'url'
888
- property :video_duration, as: 'videoDuration'
888
+ property :video_duration, :numeric_string => true, as: 'videoDuration'
889
889
  property :video_status, as: 'videoStatus'
890
890
  property :width, as: 'width'
891
891
  end
@@ -50,6 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'plusDomains/v1/')
53
+ @batch_path = 'batch'
53
54
  end
54
55
 
55
56
  # Get an activity.
@@ -50,6 +50,7 @@ module Google
50
50
 
51
51
  def initialize
52
52
  super('https://www.googleapis.com/', 'plus/v1/')
53
+ @batch_path = 'batch'
53
54
  end
54
55
 
55
56
  # Get an activity.
@@ -105,7 +105,7 @@ module Google
105
105
 
106
106
  # The feature index.
107
107
  # Corresponds to the JSON property `index`
108
- # @return [String]
108
+ # @return [Fixnum]
109
109
  attr_accessor :index
110
110
 
111
111
  # Description of the numeric values of this feature.
@@ -136,7 +136,7 @@ module Google
136
136
 
137
137
  # Number of categorical values for this feature in the data.
138
138
  # Corresponds to the JSON property `count`
139
- # @return [String]
139
+ # @return [Fixnum]
140
140
  attr_accessor :count
141
141
 
142
142
  # List of all the categories for this feature in the data set.
@@ -160,7 +160,7 @@ module Google
160
160
 
161
161
  # Number of times this feature had this value.
162
162
  # Corresponds to the JSON property `count`
163
- # @return [String]
163
+ # @return [Fixnum]
164
164
  attr_accessor :count
165
165
 
166
166
  # The category name.
@@ -186,7 +186,7 @@ module Google
186
186
 
187
187
  # Number of numeric values for this feature in the data set.
188
188
  # Corresponds to the JSON property `count`
189
- # @return [String]
189
+ # @return [Fixnum]
190
190
  attr_accessor :count
191
191
 
192
192
  # Mean of the numeric values of this feature in the data set.
@@ -217,7 +217,7 @@ module Google
217
217
 
218
218
  # Number of multiple-word text values for this feature.
219
219
  # Corresponds to the JSON property `count`
220
- # @return [String]
220
+ # @return [Fixnum]
221
221
  attr_accessor :count
222
222
 
223
223
  def initialize(**args)
@@ -261,7 +261,7 @@ module Google
261
261
 
262
262
  # Number of numeric output values in the data set.
263
263
  # Corresponds to the JSON property `count`
264
- # @return [String]
264
+ # @return [Fixnum]
265
265
  attr_accessor :count
266
266
 
267
267
  # Mean of the output values in the data set.
@@ -292,7 +292,7 @@ module Google
292
292
 
293
293
  # Number of times the output label occurred in the data set.
294
294
  # Corresponds to the JSON property `count`
295
- # @return [String]
295
+ # @return [Fixnum]
296
296
  attr_accessor :count
297
297
 
298
298
  # The output label.
@@ -586,12 +586,12 @@ module Google
586
586
 
587
587
  # Number of valid data instances used in the trained model.
588
588
  # Corresponds to the JSON property `numberInstances`
589
- # @return [String]
589
+ # @return [Fixnum]
590
590
  attr_accessor :number_instances
591
591
 
592
592
  # Number of class labels in the trained model (Categorical models only).
593
593
  # Corresponds to the JSON property `numberLabels`
594
- # @return [String]
594
+ # @return [Fixnum]
595
595
  attr_accessor :number_labels
596
596
 
597
597
  def initialize(**args)
@@ -175,7 +175,7 @@ module Google
175
175
  class Representation < Google::Apis::Core::JsonRepresentation
176
176
  property :categorical, as: 'categorical', class: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Categorical, decorator: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Categorical::Representation
177
177
 
178
- property :index, as: 'index'
178
+ property :index, :numeric_string => true, as: 'index'
179
179
  property :numeric, as: 'numeric', class: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Numeric, decorator: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Numeric::Representation
180
180
 
181
181
  property :text, as: 'text', class: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Text, decorator: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Text::Representation
@@ -185,7 +185,7 @@ module Google
185
185
  class Categorical
186
186
  # @private
187
187
  class Representation < Google::Apis::Core::JsonRepresentation
188
- property :count, as: 'count'
188
+ property :count, :numeric_string => true, as: 'count'
189
189
  collection :values, as: 'values', class: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Categorical::Value, decorator: Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Categorical::Value::Representation
190
190
 
191
191
  end
@@ -193,7 +193,7 @@ module Google
193
193
  class Value
194
194
  # @private
195
195
  class Representation < Google::Apis::Core::JsonRepresentation
196
- property :count, as: 'count'
196
+ property :count, :numeric_string => true, as: 'count'
197
197
  property :value, as: 'value'
198
198
  end
199
199
  end
@@ -202,7 +202,7 @@ module Google
202
202
  class Numeric
203
203
  # @private
204
204
  class Representation < Google::Apis::Core::JsonRepresentation
205
- property :count, as: 'count'
205
+ property :count, :numeric_string => true, as: 'count'
206
206
  property :mean, as: 'mean'
207
207
  property :variance, as: 'variance'
208
208
  end
@@ -211,7 +211,7 @@ module Google
211
211
  class Text
212
212
  # @private
213
213
  class Representation < Google::Apis::Core::JsonRepresentation
214
- property :count, as: 'count'
214
+ property :count, :numeric_string => true, as: 'count'
215
215
  end
216
216
  end
217
217
  end
@@ -228,7 +228,7 @@ module Google
228
228
  class Numeric
229
229
  # @private
230
230
  class Representation < Google::Apis::Core::JsonRepresentation
231
- property :count, as: 'count'
231
+ property :count, :numeric_string => true, as: 'count'
232
232
  property :mean, as: 'mean'
233
233
  property :variance, as: 'variance'
234
234
  end
@@ -237,7 +237,7 @@ module Google
237
237
  class Text
238
238
  # @private
239
239
  class Representation < Google::Apis::Core::JsonRepresentation
240
- property :count, as: 'count'
240
+ property :count, :numeric_string => true, as: 'count'
241
241
  property :value, as: 'value'
242
242
  end
243
243
  end
@@ -319,8 +319,8 @@ module Google
319
319
  property :classification_accuracy, as: 'classificationAccuracy'
320
320
  property :mean_squared_error, as: 'meanSquaredError'
321
321
  property :model_type, as: 'modelType'
322
- property :number_instances, as: 'numberInstances'
323
- property :number_labels, as: 'numberLabels'
322
+ property :number_instances, :numeric_string => true, as: 'numberInstances'
323
+ property :number_labels, :numeric_string => true, as: 'numberLabels'
324
324
  end
325
325
  end
326
326
  end
@@ -51,6 +51,7 @@ module Google
51
51
 
52
52
  def initialize
53
53
  super('https://www.googleapis.com/', 'prediction/v1.6/projects/')
54
+ @batch_path = 'batch'
54
55
  end
55
56
 
56
57
  # Submit input and request an output against a hosted model.
@@ -22,49 +22,32 @@ module Google
22
22
  module Apis
23
23
  module ProximitybeaconV1beta1
24
24
 
25
- # Information about the requested beacons, optionally including attachment
26
- # data.
27
- class GetInfoForObservedBeaconsResponse
28
- include Google::Apis::Core::Hashable
29
-
30
- # Public information about beacons.
31
- # May be empty if the request matched no beacons.
32
- # Corresponds to the JSON property `beacons`
33
- # @return [Array<Google::Apis::ProximitybeaconV1beta1::BeaconInfo>]
34
- attr_accessor :beacons
35
-
36
- def initialize(**args)
37
- update!(**args)
38
- end
39
-
40
- # Update properties of this object
41
- def update!(**args)
42
- @beacons = args[:beacons] if args.key?(:beacons)
43
- end
44
- end
45
-
46
25
  # Details of a beacon device.
47
26
  class Beacon
48
27
  include Google::Apis::Core::Hashable
49
28
 
29
+ # Resource name of this beacon. A beacon name has the format
30
+ # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
31
+ # the beacon and N is a code for the beacon's type. Possible values are
32
+ # `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon.
33
+ # This field must be left empty when registering. After reading a beacon,
34
+ # clients can use the name for future operations.
35
+ # Corresponds to the JSON property `beaconName`
36
+ # @return [String]
37
+ attr_accessor :beacon_name
38
+
39
+ # Expected location stability. This is set when the beacon is registered or
40
+ # updated, not automatically detected in any way.
41
+ # Optional.
42
+ # Corresponds to the JSON property `expectedStability`
43
+ # @return [String]
44
+ attr_accessor :expected_stability
45
+
50
46
  # Defines a unique identifier of a beacon as broadcast by the device.
51
47
  # Corresponds to the JSON property `advertisedId`
52
48
  # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId]
53
49
  attr_accessor :advertised_id
54
50
 
55
- # Some beacons may require a user to provide an authorization key before
56
- # changing any of its configuration (e.g. broadcast frames, transmit power).
57
- # This field provides a place to store and control access to that key.
58
- # This field is populated in responses to `GET /v1beta1/beacons/3!beaconId`
59
- # from users with write access to the given beacon. That is to say: If the
60
- # user is authorized to write the beacon's confidential data in the service,
61
- # the service considers them authorized to configure the beacon. Note
62
- # that this key grants nothing on the service, only on the beacon itself.
63
- # Corresponds to the JSON property `provisioningKey`
64
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
65
- # @return [String]
66
- attr_accessor :provisioning_key
67
-
68
51
  # Write-only registration parameters for beacons using Eddystone-EID format.
69
52
  # Two ways of securely registering an Eddystone-EID beacon with the service
70
53
  # are supported:
@@ -89,6 +72,34 @@ module Google
89
72
  # @return [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration]
90
73
  attr_accessor :ephemeral_id_registration
91
74
 
75
+ # Some beacons may require a user to provide an authorization key before
76
+ # changing any of its configuration (e.g. broadcast frames, transmit power).
77
+ # This field provides a place to store and control access to that key.
78
+ # This field is populated in responses to `GET /v1beta1/beacons/3!beaconId`
79
+ # from users with write access to the given beacon. That is to say: If the
80
+ # user is authorized to write the beacon's confidential data in the service,
81
+ # the service considers them authorized to configure the beacon. Note
82
+ # that this key grants nothing on the service, only on the beacon itself.
83
+ # Corresponds to the JSON property `provisioningKey`
84
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
85
+ # @return [String]
86
+ attr_accessor :provisioning_key
87
+
88
+ # Free text used to identify and describe the beacon. Maximum length 140
89
+ # characters.
90
+ # Optional.
91
+ # Corresponds to the JSON property `description`
92
+ # @return [String]
93
+ attr_accessor :description
94
+
95
+ # The [Google Places API](/places/place-id) Place ID of the place where
96
+ # the beacon is deployed. This is given when the beacon is registered or
97
+ # updated, not automatically detected in any way.
98
+ # Optional.
99
+ # Corresponds to the JSON property `placeId`
100
+ # @return [String]
101
+ attr_accessor :place_id
102
+
92
103
  # An object representing a latitude/longitude pair. This is expressed as a pair
93
104
  # of doubles representing degrees latitude and degrees longitude. Unless
94
105
  # specified otherwise, this must conform to the
@@ -130,21 +141,6 @@ module Google
130
141
  # @return [Google::Apis::ProximitybeaconV1beta1::LatLng]
131
142
  attr_accessor :lat_lng
132
143
 
133
- # Free text used to identify and describe the beacon. Maximum length 140
134
- # characters.
135
- # Optional.
136
- # Corresponds to the JSON property `description`
137
- # @return [String]
138
- attr_accessor :description
139
-
140
- # The [Google Places API](/places/place-id) Place ID of the place where
141
- # the beacon is deployed. This is given when the beacon is registered or
142
- # updated, not automatically detected in any way.
143
- # Optional.
144
- # Corresponds to the JSON property `placeId`
145
- # @return [String]
146
- attr_accessor :place_id
147
-
148
144
  # Properties of the beacon device, for example battery type or firmware
149
145
  # version.
150
146
  # Optional.
@@ -164,40 +160,23 @@ module Google
164
160
  # @return [Google::Apis::ProximitybeaconV1beta1::IndoorLevel]
165
161
  attr_accessor :indoor_level
166
162
 
167
- # Resource name of this beacon. A beacon name has the format
168
- # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
169
- # the beacon and N is a code for the beacon's type. Possible values are
170
- # `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon.
171
- # This field must be left empty when registering. After reading a beacon,
172
- # clients can use the name for future operations.
173
- # Corresponds to the JSON property `beaconName`
174
- # @return [String]
175
- attr_accessor :beacon_name
176
-
177
- # Expected location stability. This is set when the beacon is registered or
178
- # updated, not automatically detected in any way.
179
- # Optional.
180
- # Corresponds to the JSON property `expectedStability`
181
- # @return [String]
182
- attr_accessor :expected_stability
183
-
184
163
  def initialize(**args)
185
164
  update!(**args)
186
165
  end
187
166
 
188
167
  # Update properties of this object
189
168
  def update!(**args)
169
+ @beacon_name = args[:beacon_name] if args.key?(:beacon_name)
170
+ @expected_stability = args[:expected_stability] if args.key?(:expected_stability)
190
171
  @advertised_id = args[:advertised_id] if args.key?(:advertised_id)
191
- @provisioning_key = args[:provisioning_key] if args.key?(:provisioning_key)
192
172
  @ephemeral_id_registration = args[:ephemeral_id_registration] if args.key?(:ephemeral_id_registration)
193
- @lat_lng = args[:lat_lng] if args.key?(:lat_lng)
173
+ @provisioning_key = args[:provisioning_key] if args.key?(:provisioning_key)
194
174
  @description = args[:description] if args.key?(:description)
195
175
  @place_id = args[:place_id] if args.key?(:place_id)
176
+ @lat_lng = args[:lat_lng] if args.key?(:lat_lng)
196
177
  @properties = args[:properties] if args.key?(:properties)
197
178
  @status = args[:status] if args.key?(:status)
198
179
  @indoor_level = args[:indoor_level] if args.key?(:indoor_level)
199
- @beacon_name = args[:beacon_name] if args.key?(:beacon_name)
200
- @expected_stability = args[:expected_stability] if args.key?(:expected_stability)
201
180
  end
202
181
  end
203
182
 
@@ -311,43 +290,16 @@ module Google
311
290
  end
312
291
  end
313
292
 
314
- # Response that contains list beacon results and pagination help.
315
- class ListBeaconsResponse
316
- include Google::Apis::Core::Hashable
317
-
318
- # An opaque pagination token that the client may provide in their next
319
- # request to retrieve the next page of results.
320
- # Corresponds to the JSON property `nextPageToken`
321
- # @return [String]
322
- attr_accessor :next_page_token
323
-
324
- # The beacons that matched the search criteria.
325
- # Corresponds to the JSON property `beacons`
326
- # @return [Array<Google::Apis::ProximitybeaconV1beta1::Beacon>]
327
- attr_accessor :beacons
328
-
329
- # Estimate of the total number of beacons matched by the query. Higher
330
- # values may be less accurate.
331
- # Corresponds to the JSON property `totalCount`
332
- # @return [String]
333
- attr_accessor :total_count
334
-
335
- def initialize(**args)
336
- update!(**args)
337
- end
338
-
339
- # Update properties of this object
340
- def update!(**args)
341
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
342
- @beacons = args[:beacons] if args.key?(:beacons)
343
- @total_count = args[:total_count] if args.key?(:total_count)
344
- end
345
- end
346
-
347
293
  # Diagnostics for a single beacon.
348
294
  class Diagnostics
349
295
  include Google::Apis::Core::Hashable
350
296
 
297
+ # Resource name of the beacon. For Eddystone-EID beacons, this may
298
+ # be the beacon's current EID, or the beacon's "stable" Eddystone-UID.
299
+ # Corresponds to the JSON property `beaconName`
300
+ # @return [String]
301
+ attr_accessor :beacon_name
302
+
351
303
  # An unordered list of Alerts that the beacon has.
352
304
  # Corresponds to the JSON property `alerts`
353
305
  # @return [Array<String>]
@@ -364,40 +316,48 @@ module Google
364
316
  # @return [Google::Apis::ProximitybeaconV1beta1::Date]
365
317
  attr_accessor :estimated_low_battery_date
366
318
 
367
- # Resource name of the beacon. For Eddystone-EID beacons, this may
368
- # be the beacon's current EID, or the beacon's "stable" Eddystone-UID.
369
- # Corresponds to the JSON property `beaconName`
370
- # @return [String]
371
- attr_accessor :beacon_name
372
-
373
319
  def initialize(**args)
374
320
  update!(**args)
375
321
  end
376
322
 
377
323
  # Update properties of this object
378
324
  def update!(**args)
325
+ @beacon_name = args[:beacon_name] if args.key?(:beacon_name)
379
326
  @alerts = args[:alerts] if args.key?(:alerts)
380
327
  @estimated_low_battery_date = args[:estimated_low_battery_date] if args.key?(:estimated_low_battery_date)
381
- @beacon_name = args[:beacon_name] if args.key?(:beacon_name)
382
328
  end
383
329
  end
384
330
 
385
- # A generic empty message that you can re-use to avoid defining duplicated
386
- # empty messages in your APIs. A typical example is to use it as the request
387
- # or the response type of an API method. For instance:
388
- # service Foo `
389
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
390
- # `
391
- # The JSON representation for `Empty` is empty JSON object ````.
392
- class Empty
331
+ # Response that contains list beacon results and pagination help.
332
+ class ListBeaconsResponse
393
333
  include Google::Apis::Core::Hashable
394
334
 
335
+ # An opaque pagination token that the client may provide in their next
336
+ # request to retrieve the next page of results.
337
+ # Corresponds to the JSON property `nextPageToken`
338
+ # @return [String]
339
+ attr_accessor :next_page_token
340
+
341
+ # The beacons that matched the search criteria.
342
+ # Corresponds to the JSON property `beacons`
343
+ # @return [Array<Google::Apis::ProximitybeaconV1beta1::Beacon>]
344
+ attr_accessor :beacons
345
+
346
+ # Estimate of the total number of beacons matched by the query. Higher
347
+ # values may be less accurate.
348
+ # Corresponds to the JSON property `totalCount`
349
+ # @return [Fixnum]
350
+ attr_accessor :total_count
351
+
395
352
  def initialize(**args)
396
353
  update!(**args)
397
354
  end
398
355
 
399
356
  # Update properties of this object
400
357
  def update!(**args)
358
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
359
+ @beacons = args[:beacons] if args.key?(:beacons)
360
+ @total_count = args[:total_count] if args.key?(:total_count)
401
361
  end
402
362
  end
403
363
 
@@ -433,6 +393,25 @@ module Google
433
393
  end
434
394
  end
435
395
 
396
+ # A generic empty message that you can re-use to avoid defining duplicated
397
+ # empty messages in your APIs. A typical example is to use it as the request
398
+ # or the response type of an API method. For instance:
399
+ # service Foo `
400
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
401
+ # `
402
+ # The JSON representation for `Empty` is empty JSON object ````.
403
+ class Empty
404
+ include Google::Apis::Core::Hashable
405
+
406
+ def initialize(**args)
407
+ update!(**args)
408
+ end
409
+
410
+ # Update properties of this object
411
+ def update!(**args)
412
+ end
413
+ end
414
+
436
415
  # Project-specific data associated with a beacon.
437
416
  class BeaconAttachment
438
417
  include Google::Apis::Core::Hashable
@@ -504,32 +483,6 @@ module Google
504
483
  class EphemeralIdRegistration
505
484
  include Google::Apis::Core::Hashable
506
485
 
507
- # The service's public key used for the Elliptic curve Diffie-Hellman
508
- # key exchange. When this field is populated, `beacon_ecdh_public_key`
509
- # must also be populated, and `beacon_identity_key` must not be.
510
- # Corresponds to the JSON property `serviceEcdhPublicKey`
511
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
512
- # @return [String]
513
- attr_accessor :service_ecdh_public_key
514
-
515
- # The private key of the beacon. If this field is populated,
516
- # `beacon_ecdh_public_key` and `service_ecdh_public_key` must not be
517
- # populated.
518
- # Corresponds to the JSON property `beaconIdentityKey`
519
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
520
- # @return [String]
521
- attr_accessor :beacon_identity_key
522
-
523
- # An initial ephemeral ID calculated using the clock value submitted as
524
- # `initial_clock_value`, and the secret key generated by the
525
- # Diffie-Hellman key exchange using `service_ecdh_public_key` and
526
- # `service_ecdh_public_key`. This initial EID value will be used by the
527
- # service to confirm that the key exchange process was successful.
528
- # Corresponds to the JSON property `initialEid`
529
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
530
- # @return [String]
531
- attr_accessor :initial_eid
532
-
533
486
  # The beacon's public key used for the Elliptic curve Diffie-Hellman
534
487
  # key exchange. When this field is populated, `service_ecdh_public_key`
535
488
  # must also be populated, and `beacon_identity_key` must not be.
@@ -544,7 +497,7 @@ module Google
544
497
  # value to the service risks registration or resolution failures. If a
545
498
  # value is not provided, the default is zero.
546
499
  # Corresponds to the JSON property `initialClockValue`
547
- # @return [String]
500
+ # @return [Fixnum]
548
501
  attr_accessor :initial_clock_value
549
502
 
550
503
  # Indicates the nominal period between each rotation of the beacon's
@@ -558,18 +511,44 @@ module Google
558
511
  # @return [Fixnum]
559
512
  attr_accessor :rotation_period_exponent
560
513
 
514
+ # The service's public key used for the Elliptic curve Diffie-Hellman
515
+ # key exchange. When this field is populated, `beacon_ecdh_public_key`
516
+ # must also be populated, and `beacon_identity_key` must not be.
517
+ # Corresponds to the JSON property `serviceEcdhPublicKey`
518
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
519
+ # @return [String]
520
+ attr_accessor :service_ecdh_public_key
521
+
522
+ # The private key of the beacon. If this field is populated,
523
+ # `beacon_ecdh_public_key` and `service_ecdh_public_key` must not be
524
+ # populated.
525
+ # Corresponds to the JSON property `beaconIdentityKey`
526
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
527
+ # @return [String]
528
+ attr_accessor :beacon_identity_key
529
+
530
+ # An initial ephemeral ID calculated using the clock value submitted as
531
+ # `initial_clock_value`, and the secret key generated by the
532
+ # Diffie-Hellman key exchange using `service_ecdh_public_key` and
533
+ # `service_ecdh_public_key`. This initial EID value will be used by the
534
+ # service to confirm that the key exchange process was successful.
535
+ # Corresponds to the JSON property `initialEid`
536
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
537
+ # @return [String]
538
+ attr_accessor :initial_eid
539
+
561
540
  def initialize(**args)
562
541
  update!(**args)
563
542
  end
564
543
 
565
544
  # Update properties of this object
566
545
  def update!(**args)
567
- @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key)
568
- @beacon_identity_key = args[:beacon_identity_key] if args.key?(:beacon_identity_key)
569
- @initial_eid = args[:initial_eid] if args.key?(:initial_eid)
570
546
  @beacon_ecdh_public_key = args[:beacon_ecdh_public_key] if args.key?(:beacon_ecdh_public_key)
571
547
  @initial_clock_value = args[:initial_clock_value] if args.key?(:initial_clock_value)
572
548
  @rotation_period_exponent = args[:rotation_period_exponent] if args.key?(:rotation_period_exponent)
549
+ @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key)
550
+ @beacon_identity_key = args[:beacon_identity_key] if args.key?(:beacon_identity_key)
551
+ @initial_eid = args[:initial_eid] if args.key?(:initial_eid)
573
552
  end
574
553
  end
575
554
 
@@ -613,24 +592,24 @@ module Google
613
592
  class LatLng
614
593
  include Google::Apis::Core::Hashable
615
594
 
616
- # The latitude in degrees. It must be in the range [-90.0, +90.0].
617
- # Corresponds to the JSON property `latitude`
618
- # @return [Float]
619
- attr_accessor :latitude
620
-
621
595
  # The longitude in degrees. It must be in the range [-180.0, +180.0].
622
596
  # Corresponds to the JSON property `longitude`
623
597
  # @return [Float]
624
598
  attr_accessor :longitude
625
599
 
600
+ # The latitude in degrees. It must be in the range [-90.0, +90.0].
601
+ # Corresponds to the JSON property `latitude`
602
+ # @return [Float]
603
+ attr_accessor :latitude
604
+
626
605
  def initialize(**args)
627
606
  update!(**args)
628
607
  end
629
608
 
630
609
  # Update properties of this object
631
610
  def update!(**args)
632
- @latitude = args[:latitude] if args.key?(:latitude)
633
611
  @longitude = args[:longitude] if args.key?(:longitude)
612
+ @latitude = args[:latitude] if args.key?(:latitude)
634
613
  end
635
614
  end
636
615
 
@@ -682,12 +661,51 @@ module Google
682
661
  end
683
662
  end
684
663
 
664
+ # A subset of beacon information served via the `beaconinfo.getforobserved`
665
+ # method, which you call when users of your app encounter your beacons.
666
+ class BeaconInfo
667
+ include Google::Apis::Core::Hashable
668
+
669
+ # The name under which the beacon is registered.
670
+ # Corresponds to the JSON property `beaconName`
671
+ # @return [String]
672
+ attr_accessor :beacon_name
673
+
674
+ # Defines a unique identifier of a beacon as broadcast by the device.
675
+ # Corresponds to the JSON property `advertisedId`
676
+ # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId]
677
+ attr_accessor :advertised_id
678
+
679
+ # Attachments matching the type(s) requested.
680
+ # May be empty if no attachment types were requested.
681
+ # Corresponds to the JSON property `attachments`
682
+ # @return [Array<Google::Apis::ProximitybeaconV1beta1::AttachmentInfo>]
683
+ attr_accessor :attachments
684
+
685
+ def initialize(**args)
686
+ update!(**args)
687
+ end
688
+
689
+ # Update properties of this object
690
+ def update!(**args)
691
+ @beacon_name = args[:beacon_name] if args.key?(:beacon_name)
692
+ @advertised_id = args[:advertised_id] if args.key?(:advertised_id)
693
+ @attachments = args[:attachments] if args.key?(:attachments)
694
+ end
695
+ end
696
+
685
697
  # A subset of attachment information served via the
686
698
  # `beaconinfo.getforobserved` method, used when your users encounter your
687
699
  # beacons.
688
700
  class AttachmentInfo
689
701
  include Google::Apis::Core::Hashable
690
702
 
703
+ # An opaque data container for client-provided data.
704
+ # Corresponds to the JSON property `data`
705
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
706
+ # @return [String]
707
+ attr_accessor :data
708
+
691
709
  # Specifies what kind of attachment this is. Tells a client how to
692
710
  # interpret the `data` field. Format is <var>namespace/type</var>, for
693
711
  # example <code>scrupulous-wombat-12345/welcome-message</code>
@@ -695,43 +713,25 @@ module Google
695
713
  # @return [String]
696
714
  attr_accessor :namespaced_type
697
715
 
698
- # An opaque data container for client-provided data.
699
- # Corresponds to the JSON property `data`
700
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
701
- # @return [String]
702
- attr_accessor :data
703
-
704
716
  def initialize(**args)
705
717
  update!(**args)
706
718
  end
707
719
 
708
720
  # Update properties of this object
709
721
  def update!(**args)
710
- @namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type)
711
722
  @data = args[:data] if args.key?(:data)
723
+ @namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type)
712
724
  end
713
725
  end
714
726
 
715
- # A subset of beacon information served via the `beaconinfo.getforobserved`
716
- # method, which you call when users of your app encounter your beacons.
717
- class BeaconInfo
727
+ # Response for a request to delete attachments.
728
+ class DeleteAttachmentsResponse
718
729
  include Google::Apis::Core::Hashable
719
730
 
720
- # Defines a unique identifier of a beacon as broadcast by the device.
721
- # Corresponds to the JSON property `advertisedId`
722
- # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId]
723
- attr_accessor :advertised_id
724
-
725
- # Attachments matching the type(s) requested.
726
- # May be empty if no attachment types were requested.
727
- # Corresponds to the JSON property `attachments`
728
- # @return [Array<Google::Apis::ProximitybeaconV1beta1::AttachmentInfo>]
729
- attr_accessor :attachments
730
-
731
- # The name under which the beacon is registered.
732
- # Corresponds to the JSON property `beaconName`
733
- # @return [String]
734
- attr_accessor :beacon_name
731
+ # The number of attachments that were deleted.
732
+ # Corresponds to the JSON property `numDeleted`
733
+ # @return [Fixnum]
734
+ attr_accessor :num_deleted
735
735
 
736
736
  def initialize(**args)
737
737
  update!(**args)
@@ -739,9 +739,7 @@ module Google
739
739
 
740
740
  # Update properties of this object
741
741
  def update!(**args)
742
- @advertised_id = args[:advertised_id] if args.key?(:advertised_id)
743
- @attachments = args[:attachments] if args.key?(:attachments)
744
- @beacon_name = args[:beacon_name] if args.key?(:beacon_name)
742
+ @num_deleted = args[:num_deleted] if args.key?(:num_deleted)
745
743
  end
746
744
  end
747
745
 
@@ -753,13 +751,6 @@ module Google
753
751
  class EphemeralIdRegistrationParams
754
752
  include Google::Apis::Core::Hashable
755
753
 
756
- # The beacon service's public key for use by a beacon to derive its
757
- # Identity Key using Elliptic Curve Diffie-Hellman key exchange.
758
- # Corresponds to the JSON property `serviceEcdhPublicKey`
759
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
760
- # @return [String]
761
- attr_accessor :service_ecdh_public_key
762
-
763
754
  # Indicates the minimum rotation period supported by the service.
764
755
  # See EddystoneEidRegistration.rotation_period_exponent
765
756
  # Corresponds to the JSON property `minRotationPeriodExponent`
@@ -772,34 +763,22 @@ module Google
772
763
  # @return [Fixnum]
773
764
  attr_accessor :max_rotation_period_exponent
774
765
 
766
+ # The beacon service's public key for use by a beacon to derive its
767
+ # Identity Key using Elliptic Curve Diffie-Hellman key exchange.
768
+ # Corresponds to the JSON property `serviceEcdhPublicKey`
769
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
770
+ # @return [String]
771
+ attr_accessor :service_ecdh_public_key
772
+
775
773
  def initialize(**args)
776
774
  update!(**args)
777
775
  end
778
776
 
779
777
  # Update properties of this object
780
778
  def update!(**args)
781
- @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key)
782
779
  @min_rotation_period_exponent = args[:min_rotation_period_exponent] if args.key?(:min_rotation_period_exponent)
783
780
  @max_rotation_period_exponent = args[:max_rotation_period_exponent] if args.key?(:max_rotation_period_exponent)
784
- end
785
- end
786
-
787
- # Response for a request to delete attachments.
788
- class DeleteAttachmentsResponse
789
- include Google::Apis::Core::Hashable
790
-
791
- # The number of attachments that were deleted.
792
- # Corresponds to the JSON property `numDeleted`
793
- # @return [Fixnum]
794
- attr_accessor :num_deleted
795
-
796
- def initialize(**args)
797
- update!(**args)
798
- end
799
-
800
- # Update properties of this object
801
- def update!(**args)
802
- @num_deleted = args[:num_deleted] if args.key?(:num_deleted)
781
+ @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key)
803
782
  end
804
783
  end
805
784
 
@@ -807,11 +786,6 @@ module Google
807
786
  class Observation
808
787
  include Google::Apis::Core::Hashable
809
788
 
810
- # Defines a unique identifier of a beacon as broadcast by the device.
811
- # Corresponds to the JSON property `advertisedId`
812
- # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId]
813
- attr_accessor :advertised_id
814
-
815
789
  # The array of telemetry bytes received from the beacon. The server is
816
790
  # responsible for parsing it. This field may frequently be empty, as
817
791
  # with a beacon that transmits telemetry only occasionally.
@@ -825,15 +799,20 @@ module Google
825
799
  # @return [String]
826
800
  attr_accessor :timestamp_ms
827
801
 
802
+ # Defines a unique identifier of a beacon as broadcast by the device.
803
+ # Corresponds to the JSON property `advertisedId`
804
+ # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId]
805
+ attr_accessor :advertised_id
806
+
828
807
  def initialize(**args)
829
808
  update!(**args)
830
809
  end
831
810
 
832
811
  # Update properties of this object
833
812
  def update!(**args)
834
- @advertised_id = args[:advertised_id] if args.key?(:advertised_id)
835
813
  @telemetry = args[:telemetry] if args.key?(:telemetry)
836
814
  @timestamp_ms = args[:timestamp_ms] if args.key?(:timestamp_ms)
815
+ @advertised_id = args[:advertised_id] if args.key?(:advertised_id)
837
816
  end
838
817
  end
839
818
 
@@ -841,25 +820,46 @@ module Google
841
820
  class ListDiagnosticsResponse
842
821
  include Google::Apis::Core::Hashable
843
822
 
844
- # The diagnostics matching the given request.
845
- # Corresponds to the JSON property `diagnostics`
846
- # @return [Array<Google::Apis::ProximitybeaconV1beta1::Diagnostics>]
847
- attr_accessor :diagnostics
848
-
849
823
  # Token that can be used for pagination. Returned only if the
850
824
  # request matches more beacons than can be returned in this response.
851
825
  # Corresponds to the JSON property `nextPageToken`
852
826
  # @return [String]
853
827
  attr_accessor :next_page_token
854
828
 
829
+ # The diagnostics matching the given request.
830
+ # Corresponds to the JSON property `diagnostics`
831
+ # @return [Array<Google::Apis::ProximitybeaconV1beta1::Diagnostics>]
832
+ attr_accessor :diagnostics
833
+
855
834
  def initialize(**args)
856
835
  update!(**args)
857
836
  end
858
837
 
859
838
  # Update properties of this object
860
839
  def update!(**args)
861
- @diagnostics = args[:diagnostics] if args.key?(:diagnostics)
862
840
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
841
+ @diagnostics = args[:diagnostics] if args.key?(:diagnostics)
842
+ end
843
+ end
844
+
845
+ # Information about the requested beacons, optionally including attachment
846
+ # data.
847
+ class GetInfoForObservedBeaconsResponse
848
+ include Google::Apis::Core::Hashable
849
+
850
+ # Public information about beacons.
851
+ # May be empty if the request matched no beacons.
852
+ # Corresponds to the JSON property `beacons`
853
+ # @return [Array<Google::Apis::ProximitybeaconV1beta1::BeaconInfo>]
854
+ attr_accessor :beacons
855
+
856
+ def initialize(**args)
857
+ update!(**args)
858
+ end
859
+
860
+ # Update properties of this object
861
+ def update!(**args)
862
+ @beacons = args[:beacons] if args.key?(:beacons)
863
863
  end
864
864
  end
865
865
  end