google-api-client 0.37.3 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (440) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +146 -0
  3. data/api_list_config.yaml +2 -0
  4. data/api_names.yaml +2 -0
  5. data/bin/generate-api +9 -1
  6. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  7. data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
  8. data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
  9. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
  11. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
  17. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  18. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  19. data/generated/google/apis/adsense_v1_4.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
  28. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  29. data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  32. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  36. data/generated/google/apis/appengine_v1beta.rb +1 -1
  37. data/generated/google/apis/bigquery_v2.rb +1 -1
  38. data/generated/google/apis/bigquery_v2/classes.rb +224 -5
  39. data/generated/google/apis/bigquery_v2/representations.rb +65 -0
  40. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
  43. data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
  44. data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
  47. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
  48. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
  49. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  50. data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
  51. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
  53. data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
  54. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  55. data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
  56. data/generated/google/apis/blogger_v2.rb +5 -4
  57. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  58. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  59. data/generated/google/apis/blogger_v2/service.rb +79 -134
  60. data/generated/google/apis/blogger_v3.rb +4 -3
  61. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  62. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  63. data/generated/google/apis/blogger_v3/service.rb +183 -463
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +1 -14
  66. data/generated/google/apis/chat_v1.rb +1 -1
  67. data/generated/google/apis/chat_v1/classes.rb +1 -1
  68. data/generated/google/apis/cloudasset_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
  70. data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
  71. data/generated/google/apis/cloudasset_v1/service.rb +2 -2
  72. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  73. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
  74. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
  75. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
  76. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  77. data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
  78. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  79. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
  81. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  87. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  88. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
  89. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
  90. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  91. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
  92. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
  93. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
  94. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
  98. data/generated/google/apis/cloudshell_v1.rb +1 -1
  99. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  102. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  103. data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
  104. data/generated/google/apis/cloudtrace_v2.rb +3 -3
  105. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  106. data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
  107. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
  108. data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
  109. data/generated/google/apis/composer_v1.rb +1 -1
  110. data/generated/google/apis/composer_v1/classes.rb +178 -0
  111. data/generated/google/apis/composer_v1/representations.rb +54 -0
  112. data/generated/google/apis/composer_v1beta1.rb +1 -1
  113. data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
  114. data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
  115. data/generated/google/apis/compute_alpha.rb +1 -1
  116. data/generated/google/apis/compute_alpha/classes.rb +1320 -307
  117. data/generated/google/apis/compute_alpha/representations.rb +284 -18
  118. data/generated/google/apis/compute_alpha/service.rb +4914 -3211
  119. data/generated/google/apis/compute_beta.rb +1 -1
  120. data/generated/google/apis/compute_beta/classes.rb +819 -236
  121. data/generated/google/apis/compute_beta/representations.rb +245 -16
  122. data/generated/google/apis/compute_beta/service.rb +3369 -2227
  123. data/generated/google/apis/compute_v1.rb +1 -1
  124. data/generated/google/apis/compute_v1/classes.rb +837 -133
  125. data/generated/google/apis/compute_v1/representations.rb +307 -0
  126. data/generated/google/apis/compute_v1/service.rb +3155 -2026
  127. data/generated/google/apis/container_v1.rb +1 -1
  128. data/generated/google/apis/container_v1/classes.rb +42 -22
  129. data/generated/google/apis/container_v1/service.rb +2 -2
  130. data/generated/google/apis/container_v1beta1.rb +1 -1
  131. data/generated/google/apis/container_v1beta1/classes.rb +116 -136
  132. data/generated/google/apis/container_v1beta1/representations.rb +23 -51
  133. data/generated/google/apis/container_v1beta1/service.rb +2 -2
  134. data/generated/google/apis/content_v2.rb +1 -1
  135. data/generated/google/apis/content_v2/classes.rb +1030 -113
  136. data/generated/google/apis/content_v2_1.rb +1 -1
  137. data/generated/google/apis/content_v2_1/classes.rb +987 -138
  138. data/generated/google/apis/content_v2_1/representations.rb +87 -0
  139. data/generated/google/apis/content_v2_1/service.rb +73 -0
  140. data/generated/google/apis/customsearch_v1.rb +3 -3
  141. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  142. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  143. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  144. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  145. data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
  146. data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
  147. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  148. data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
  149. data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
  150. data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
  151. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  152. data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
  153. data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
  154. data/generated/google/apis/dataproc_v1.rb +1 -1
  155. data/generated/google/apis/dataproc_v1/classes.rb +76 -7
  156. data/generated/google/apis/dataproc_v1/representations.rb +21 -0
  157. data/generated/google/apis/dataproc_v1/service.rb +72 -15
  158. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  159. data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
  160. data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
  161. data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
  167. data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
  168. data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
  169. data/generated/google/apis/dialogflow_v2.rb +1 -1
  170. data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
  171. data/generated/google/apis/dialogflow_v2/service.rb +49 -49
  172. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  173. data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
  175. data/generated/google/apis/dlp_v2.rb +1 -1
  176. data/generated/google/apis/dlp_v2/classes.rb +80 -14
  177. data/generated/google/apis/dlp_v2/representations.rb +32 -0
  178. data/generated/google/apis/dlp_v2/service.rb +3 -0
  179. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  180. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
  181. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  182. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  183. data/generated/google/apis/drive_v2.rb +1 -1
  184. data/generated/google/apis/drive_v2/classes.rb +54 -2
  185. data/generated/google/apis/drive_v2/representations.rb +18 -0
  186. data/generated/google/apis/drive_v2/service.rb +81 -9
  187. data/generated/google/apis/drive_v3.rb +1 -1
  188. data/generated/google/apis/drive_v3/classes.rb +54 -2
  189. data/generated/google/apis/drive_v3/representations.rb +18 -0
  190. data/generated/google/apis/drive_v3/service.rb +37 -4
  191. data/generated/google/apis/file_v1.rb +1 -1
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +2 -2
  194. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  195. data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
  196. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  197. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
  198. data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
  199. data/generated/google/apis/firestore_v1.rb +1 -1
  200. data/generated/google/apis/firestore_v1/classes.rb +11 -2
  201. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  202. data/generated/google/apis/firestore_v1/service.rb +2 -2
  203. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  204. data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
  205. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  206. data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
  207. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  208. data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
  209. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  210. data/generated/google/apis/games_management_v1management.rb +1 -1
  211. data/generated/google/apis/games_management_v1management/classes.rb +7 -0
  212. data/generated/google/apis/games_management_v1management/representations.rb +1 -0
  213. data/generated/google/apis/games_v1.rb +1 -1
  214. data/generated/google/apis/games_v1/classes.rb +13 -0
  215. data/generated/google/apis/games_v1/representations.rb +2 -0
  216. data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
  217. data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
  218. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  219. data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
  220. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  221. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  222. data/generated/google/apis/gmail_v1.rb +3 -2
  223. data/generated/google/apis/gmail_v1/classes.rb +258 -199
  224. data/generated/google/apis/gmail_v1/service.rb +552 -744
  225. data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
  226. data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
  227. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  228. data/generated/google/apis/healthcare_v1/service.rb +3470 -0
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
  231. data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
  232. data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
  233. data/generated/google/apis/homegraph_v1.rb +1 -1
  234. data/generated/google/apis/homegraph_v1/classes.rb +67 -63
  235. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  236. data/generated/google/apis/iap_v1.rb +1 -1
  237. data/generated/google/apis/iap_v1/classes.rb +190 -0
  238. data/generated/google/apis/iap_v1/representations.rb +66 -0
  239. data/generated/google/apis/jobs_v2.rb +1 -1
  240. data/generated/google/apis/language_v1.rb +1 -1
  241. data/generated/google/apis/language_v1/classes.rb +6 -6
  242. data/generated/google/apis/language_v1beta1.rb +1 -1
  243. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  244. data/generated/google/apis/language_v1beta2.rb +1 -1
  245. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  246. data/generated/google/apis/logging_v2.rb +3 -3
  247. data/generated/google/apis/logging_v2/classes.rb +3 -4
  248. data/generated/google/apis/logging_v2/service.rb +2 -2
  249. data/generated/google/apis/managedidentities_v1.rb +1 -1
  250. data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
  251. data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
  252. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  253. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
  254. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
  255. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  256. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
  257. data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
  258. data/generated/google/apis/manufacturers_v1.rb +1 -1
  259. data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
  260. data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
  261. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  262. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
  263. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  264. data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
  265. data/generated/google/apis/ml_v1.rb +1 -1
  266. data/generated/google/apis/ml_v1/classes.rb +47 -7
  267. data/generated/google/apis/ml_v1/representations.rb +4 -0
  268. data/generated/google/apis/monitoring_v1.rb +7 -8
  269. data/generated/google/apis/monitoring_v1/classes.rb +54 -15
  270. data/generated/google/apis/monitoring_v1/representations.rb +3 -0
  271. data/generated/google/apis/monitoring_v1/service.rb +7 -8
  272. data/generated/google/apis/monitoring_v3.rb +7 -8
  273. data/generated/google/apis/monitoring_v3/classes.rb +300 -27
  274. data/generated/google/apis/monitoring_v3/representations.rb +128 -0
  275. data/generated/google/apis/monitoring_v3/service.rb +52 -17
  276. data/generated/google/apis/oauth2_v2.rb +4 -4
  277. data/generated/google/apis/oauth2_v2/classes.rb +1 -13
  278. data/generated/google/apis/oauth2_v2/representations.rb +2 -4
  279. data/generated/google/apis/oauth2_v2/service.rb +10 -12
  280. data/generated/google/apis/osconfig_v1.rb +35 -0
  281. data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
  282. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  283. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  284. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  285. data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
  286. data/generated/google/apis/people_v1.rb +1 -1
  287. data/generated/google/apis/people_v1/classes.rb +30 -12
  288. data/generated/google/apis/people_v1/representations.rb +1 -0
  289. data/generated/google/apis/people_v1/service.rb +12 -24
  290. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  291. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
  292. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
  293. data/generated/google/apis/pubsub_v1.rb +1 -1
  294. data/generated/google/apis/pubsub_v1/classes.rb +9 -5
  295. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  296. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  297. data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
  298. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  299. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
  300. data/generated/google/apis/redis_v1.rb +1 -1
  301. data/generated/google/apis/redis_v1/classes.rb +30 -7
  302. data/generated/google/apis/redis_v1/representations.rb +13 -0
  303. data/generated/google/apis/redis_v1/service.rb +36 -0
  304. data/generated/google/apis/redis_v1beta1.rb +1 -1
  305. data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
  306. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  307. data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
  308. data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
  309. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  310. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
  311. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
  312. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  313. data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
  314. data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
  315. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  316. data/generated/google/apis/run_v1.rb +1 -1
  317. data/generated/google/apis/run_v1/classes.rb +6 -13
  318. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  319. data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
  320. data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
  321. data/generated/google/apis/secretmanager_v1.rb +2 -2
  322. data/generated/google/apis/secretmanager_v1/service.rb +4 -1
  323. data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
  324. data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
  325. data/generated/google/apis/securitycenter_v1.rb +4 -4
  326. data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
  327. data/generated/google/apis/securitycenter_v1/service.rb +11 -3
  328. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  329. data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
  330. data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
  331. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  332. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
  333. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  334. data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
  335. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
  336. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
  337. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  338. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
  339. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  340. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
  341. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
  342. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
  343. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  344. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  345. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
  346. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
  347. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
  348. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
  349. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  350. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  351. data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
  352. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  353. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  354. data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
  355. data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
  356. data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
  357. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  358. data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
  359. data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
  360. data/generated/google/apis/serviceusage_v1.rb +1 -1
  361. data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
  362. data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
  363. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  364. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  365. data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
  366. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
  367. data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
  368. data/generated/google/apis/sheets_v4.rb +1 -1
  369. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  370. data/generated/google/apis/spanner_v1.rb +1 -1
  371. data/generated/google/apis/spanner_v1/classes.rb +463 -1
  372. data/generated/google/apis/spanner_v1/representations.rb +178 -0
  373. data/generated/google/apis/spanner_v1/service.rb +498 -10
  374. data/generated/google/apis/speech_v1.rb +1 -1
  375. data/generated/google/apis/speech_v1/classes.rb +7 -3
  376. data/generated/google/apis/speech_v1/representations.rb +1 -0
  377. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  378. data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
  379. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  380. data/generated/google/apis/speech_v2beta1.rb +1 -1
  381. data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
  382. data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
  383. data/generated/google/apis/sql_v1beta4.rb +1 -1
  384. data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
  385. data/generated/google/apis/sql_v1beta4/service.rb +54 -384
  386. data/generated/google/apis/storage_v1.rb +1 -1
  387. data/generated/google/apis/storage_v1/classes.rb +18 -0
  388. data/generated/google/apis/storage_v1/representations.rb +2 -0
  389. data/generated/google/apis/storage_v1/service.rb +28 -3
  390. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  391. data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
  392. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  393. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  394. data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
  395. data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
  396. data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
  397. data/generated/google/apis/vault_v1.rb +1 -1
  398. data/generated/google/apis/videointelligence_v1.rb +1 -1
  399. data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
  400. data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
  401. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  402. data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
  403. data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
  404. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
  406. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
  407. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  408. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
  409. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
  410. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  411. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
  412. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
  413. data/generated/google/apis/vision_v1.rb +1 -1
  414. data/generated/google/apis/vision_v1/classes.rb +1 -1
  415. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  416. data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
  417. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  418. data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
  419. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  420. data/generated/google/apis/youtube_v3.rb +4 -1
  421. data/generated/google/apis/youtube_v3/classes.rb +7 -0
  422. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  423. data/lib/google/apis/generator/annotator.rb +1 -1
  424. data/lib/google/apis/version.rb +1 -1
  425. metadata +32 -23
  426. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  427. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
  428. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  429. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
  430. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  431. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  432. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  433. data/generated/google/apis/mirror_v1/service.rb +0 -928
  434. data/generated/google/apis/oauth2_v1.rb +0 -40
  435. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  436. data/generated/google/apis/oauth2_v1/representations.rb +0 -73
  437. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  438. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  439. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  440. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -1,845 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module ProximitybeaconV1beta1
24
-
25
- # Defines a unique identifier of a beacon as broadcast by the device.
26
- class AdvertisedId
27
- include Google::Apis::Core::Hashable
28
-
29
- # The actual beacon identifier, as broadcast by the beacon hardware. Must be
30
- # [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP
31
- # requests, and will be so encoded (with padding) in responses. The base64
32
- # encoding should be of the binary byte-stream and not any textual (such as
33
- # hex) representation thereof.
34
- # Required.
35
- # Corresponds to the JSON property `id`
36
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
37
- # @return [String]
38
- attr_accessor :id
39
-
40
- # Specifies the identifier type.
41
- # Required.
42
- # Corresponds to the JSON property `type`
43
- # @return [String]
44
- attr_accessor :type
45
-
46
- def initialize(**args)
47
- update!(**args)
48
- end
49
-
50
- # Update properties of this object
51
- def update!(**args)
52
- @id = args[:id] if args.key?(:id)
53
- @type = args[:type] if args.key?(:type)
54
- end
55
- end
56
-
57
- # A subset of attachment information served via the
58
- # `beaconinfo.getforobserved` method, used when your users encounter your
59
- # beacons.
60
- class AttachmentInfo
61
- include Google::Apis::Core::Hashable
62
-
63
- # An opaque data container for client-provided data.
64
- # Corresponds to the JSON property `data`
65
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
66
- # @return [String]
67
- attr_accessor :data
68
-
69
- # The distance away from the beacon at which this attachment should be
70
- # delivered to a mobile app.
71
- # Setting this to a value greater than zero indicates that the app should
72
- # behave as if the beacon is "seen" when the mobile device is less than this
73
- # distance away from the beacon.
74
- # Different attachments on the same beacon can have different max distances.
75
- # Note that even though this value is expressed with fractional meter
76
- # precision, real-world behavior is likley to be much less precise than one
77
- # meter, due to the nature of current Bluetooth radio technology.
78
- # Optional. When not set or zero, the attachment should be delivered at the
79
- # beacon's outer limit of detection.
80
- # Corresponds to the JSON property `maxDistanceMeters`
81
- # @return [Float]
82
- attr_accessor :max_distance_meters
83
-
84
- # Specifies what kind of attachment this is. Tells a client how to
85
- # interpret the `data` field. Format is <var>namespace/type</var>, for
86
- # example <code>scrupulous-wombat-12345/welcome-message</code>
87
- # Corresponds to the JSON property `namespacedType`
88
- # @return [String]
89
- attr_accessor :namespaced_type
90
-
91
- def initialize(**args)
92
- update!(**args)
93
- end
94
-
95
- # Update properties of this object
96
- def update!(**args)
97
- @data = args[:data] if args.key?(:data)
98
- @max_distance_meters = args[:max_distance_meters] if args.key?(:max_distance_meters)
99
- @namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type)
100
- end
101
- end
102
-
103
- # Details of a beacon device.
104
- class Beacon
105
- include Google::Apis::Core::Hashable
106
-
107
- # Defines a unique identifier of a beacon as broadcast by the device.
108
- # Corresponds to the JSON property `advertisedId`
109
- # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId]
110
- attr_accessor :advertised_id
111
-
112
- # Resource name of this beacon. A beacon name has the format
113
- # "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
114
- # the beacon and N is a code for the beacon's type. Possible values are
115
- # `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon.
116
- # This field must be left empty when registering. After reading a beacon,
117
- # clients can use the name for future operations.
118
- # Corresponds to the JSON property `beaconName`
119
- # @return [String]
120
- attr_accessor :beacon_name
121
-
122
- # Free text used to identify and describe the beacon. Maximum length 140
123
- # characters.
124
- # Optional.
125
- # Corresponds to the JSON property `description`
126
- # @return [String]
127
- attr_accessor :description
128
-
129
- # Write-only registration parameters for beacons using Eddystone-EID format.
130
- # Two ways of securely registering an Eddystone-EID beacon with the service
131
- # are supported:
132
- # 1. Perform an ECDH key exchange via this API, including a previous call
133
- # to `GET /v1beta1/eidparams`. In this case the fields
134
- # `beacon_ecdh_public_key` and `service_ecdh_public_key` should be
135
- # populated and `beacon_identity_key` should not be populated. This
136
- # method ensures that only the two parties in the ECDH key exchange can
137
- # compute the identity key, which becomes a secret between them.
138
- # 2. Derive or obtain the beacon's identity key via other secure means
139
- # (perhaps an ECDH key exchange between the beacon and a mobile device
140
- # or any other secure method), and then submit the resulting identity key
141
- # to the service. In this case `beacon_identity_key` field should be
142
- # populated, and neither of `beacon_ecdh_public_key` nor
143
- # `service_ecdh_public_key` fields should be. The security of this method
144
- # depends on how securely the parties involved (in particular the
145
- # bluetooth client) handle the identity key, and obviously on how
146
- # securely the identity key was generated.
147
- # See [the Eddystone
148
- # specification](https://github.com/google/eddystone/tree/master/eddystone-eid)
149
- # at GitHub.
150
- # Corresponds to the JSON property `ephemeralIdRegistration`
151
- # @return [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration]
152
- attr_accessor :ephemeral_id_registration
153
-
154
- # Expected location stability. This is set when the beacon is registered or
155
- # updated, not automatically detected in any way.
156
- # Optional.
157
- # Corresponds to the JSON property `expectedStability`
158
- # @return [String]
159
- attr_accessor :expected_stability
160
-
161
- # Indoor level, a human-readable string as returned by Google Maps APIs,
162
- # useful to indicate which floor of a building a beacon is located on.
163
- # Corresponds to the JSON property `indoorLevel`
164
- # @return [Google::Apis::ProximitybeaconV1beta1::IndoorLevel]
165
- attr_accessor :indoor_level
166
-
167
- # An object representing a latitude/longitude pair. This is expressed as a pair
168
- # of doubles representing degrees latitude and degrees longitude. Unless
169
- # specified otherwise, this must conform to the
170
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
171
- # standard</a>. Values must be within normalized ranges.
172
- # Corresponds to the JSON property `latLng`
173
- # @return [Google::Apis::ProximitybeaconV1beta1::LatLng]
174
- attr_accessor :lat_lng
175
-
176
- # The [Google Places API](/places/place-id) Place ID of the place where
177
- # the beacon is deployed. This is given when the beacon is registered or
178
- # updated, not automatically detected in any way.
179
- # Optional.
180
- # Corresponds to the JSON property `placeId`
181
- # @return [String]
182
- attr_accessor :place_id
183
-
184
- # Properties of the beacon device, for example battery type or firmware
185
- # version.
186
- # Optional.
187
- # Corresponds to the JSON property `properties`
188
- # @return [Hash<String,String>]
189
- attr_accessor :properties
190
-
191
- # Some beacons may require a user to provide an authorization key before
192
- # changing any of its configuration (e.g. broadcast frames, transmit power).
193
- # This field provides a place to store and control access to that key.
194
- # This field is populated in responses to `GET /v1beta1/beacons/3!beaconId`
195
- # from users with write access to the given beacon. That is to say: If the
196
- # user is authorized to write the beacon's confidential data in the service,
197
- # the service considers them authorized to configure the beacon. Note
198
- # that this key grants nothing on the service, only on the beacon itself.
199
- # Corresponds to the JSON property `provisioningKey`
200
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
201
- # @return [String]
202
- attr_accessor :provisioning_key
203
-
204
- # Current status of the beacon.
205
- # Required.
206
- # Corresponds to the JSON property `status`
207
- # @return [String]
208
- attr_accessor :status
209
-
210
- def initialize(**args)
211
- update!(**args)
212
- end
213
-
214
- # Update properties of this object
215
- def update!(**args)
216
- @advertised_id = args[:advertised_id] if args.key?(:advertised_id)
217
- @beacon_name = args[:beacon_name] if args.key?(:beacon_name)
218
- @description = args[:description] if args.key?(:description)
219
- @ephemeral_id_registration = args[:ephemeral_id_registration] if args.key?(:ephemeral_id_registration)
220
- @expected_stability = args[:expected_stability] if args.key?(:expected_stability)
221
- @indoor_level = args[:indoor_level] if args.key?(:indoor_level)
222
- @lat_lng = args[:lat_lng] if args.key?(:lat_lng)
223
- @place_id = args[:place_id] if args.key?(:place_id)
224
- @properties = args[:properties] if args.key?(:properties)
225
- @provisioning_key = args[:provisioning_key] if args.key?(:provisioning_key)
226
- @status = args[:status] if args.key?(:status)
227
- end
228
- end
229
-
230
- # Project-specific data associated with a beacon.
231
- class BeaconAttachment
232
- include Google::Apis::Core::Hashable
233
-
234
- # Resource name of this attachment. Attachment names have the format:
235
- # <code>beacons/<var>beacon_id</var>/attachments/<var>attachment_id</var></code>.
236
- # Leave this empty on creation.
237
- # Corresponds to the JSON property `attachmentName`
238
- # @return [String]
239
- attr_accessor :attachment_name
240
-
241
- # The UTC time when this attachment was created, in milliseconds since the
242
- # UNIX epoch.
243
- # Corresponds to the JSON property `creationTimeMs`
244
- # @return [String]
245
- attr_accessor :creation_time_ms
246
-
247
- # An opaque data container for client-provided data. Must be
248
- # [base64](http://tools.ietf.org/html/rfc4648#section-4) encoded in HTTP
249
- # requests, and will be so encoded (with padding) in responses.
250
- # Required.
251
- # Corresponds to the JSON property `data`
252
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
253
- # @return [String]
254
- attr_accessor :data
255
-
256
- # The distance away from the beacon at which this attachment should be
257
- # delivered to a mobile app.
258
- # Setting this to a value greater than zero indicates that the app should
259
- # behave as if the beacon is "seen" when the mobile device is less than this
260
- # distance away from the beacon.
261
- # Different attachments on the same beacon can have different max distances.
262
- # Note that even though this value is expressed with fractional meter
263
- # precision, real-world behavior is likley to be much less precise than one
264
- # meter, due to the nature of current Bluetooth radio technology.
265
- # Optional. When not set or zero, the attachment should be delivered at the
266
- # beacon's outer limit of detection.
267
- # Negative values are invalid and return an error.
268
- # Corresponds to the JSON property `maxDistanceMeters`
269
- # @return [Float]
270
- attr_accessor :max_distance_meters
271
-
272
- # Specifies what kind of attachment this is. Tells a client how to
273
- # interpret the `data` field. Format is <var>namespace/type</var>. Namespace
274
- # provides type separation between clients. Type describes the type of
275
- # `data`, for use by the client when parsing the `data` field.
276
- # Required.
277
- # Corresponds to the JSON property `namespacedType`
278
- # @return [String]
279
- attr_accessor :namespaced_type
280
-
281
- def initialize(**args)
282
- update!(**args)
283
- end
284
-
285
- # Update properties of this object
286
- def update!(**args)
287
- @attachment_name = args[:attachment_name] if args.key?(:attachment_name)
288
- @creation_time_ms = args[:creation_time_ms] if args.key?(:creation_time_ms)
289
- @data = args[:data] if args.key?(:data)
290
- @max_distance_meters = args[:max_distance_meters] if args.key?(:max_distance_meters)
291
- @namespaced_type = args[:namespaced_type] if args.key?(:namespaced_type)
292
- end
293
- end
294
-
295
- # A subset of beacon information served via the `beaconinfo.getforobserved`
296
- # method, which you call when users of your app encounter your beacons.
297
- class BeaconInfo
298
- include Google::Apis::Core::Hashable
299
-
300
- # Defines a unique identifier of a beacon as broadcast by the device.
301
- # Corresponds to the JSON property `advertisedId`
302
- # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId]
303
- attr_accessor :advertised_id
304
-
305
- # Attachments matching the type(s) requested.
306
- # May be empty if no attachment types were requested.
307
- # Corresponds to the JSON property `attachments`
308
- # @return [Array<Google::Apis::ProximitybeaconV1beta1::AttachmentInfo>]
309
- attr_accessor :attachments
310
-
311
- # The name under which the beacon is registered.
312
- # Corresponds to the JSON property `beaconName`
313
- # @return [String]
314
- attr_accessor :beacon_name
315
-
316
- def initialize(**args)
317
- update!(**args)
318
- end
319
-
320
- # Update properties of this object
321
- def update!(**args)
322
- @advertised_id = args[:advertised_id] if args.key?(:advertised_id)
323
- @attachments = args[:attachments] if args.key?(:attachments)
324
- @beacon_name = args[:beacon_name] if args.key?(:beacon_name)
325
- end
326
- end
327
-
328
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
329
- # and time zone are either specified elsewhere or are not significant. The date
330
- # is relative to the Proleptic Gregorian Calendar. This can represent:
331
- # * A full date, with non-zero year, month and day values
332
- # * A month and day value, with a zero year, e.g. an anniversary
333
- # * A year on its own, with zero month and day values
334
- # * A year and month value, with a zero day, e.g. a credit card expiration date
335
- # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
336
- class Date
337
- include Google::Apis::Core::Hashable
338
-
339
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0
340
- # if specifying a year by itself or a year and month where the day is not
341
- # significant.
342
- # Corresponds to the JSON property `day`
343
- # @return [Fixnum]
344
- attr_accessor :day
345
-
346
- # Month of year. Must be from 1 to 12, or 0 if specifying a year without a
347
- # month and day.
348
- # Corresponds to the JSON property `month`
349
- # @return [Fixnum]
350
- attr_accessor :month
351
-
352
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
353
- # a year.
354
- # Corresponds to the JSON property `year`
355
- # @return [Fixnum]
356
- attr_accessor :year
357
-
358
- def initialize(**args)
359
- update!(**args)
360
- end
361
-
362
- # Update properties of this object
363
- def update!(**args)
364
- @day = args[:day] if args.key?(:day)
365
- @month = args[:month] if args.key?(:month)
366
- @year = args[:year] if args.key?(:year)
367
- end
368
- end
369
-
370
- # Response for a request to delete attachments.
371
- class DeleteAttachmentsResponse
372
- include Google::Apis::Core::Hashable
373
-
374
- # The number of attachments that were deleted.
375
- # Corresponds to the JSON property `numDeleted`
376
- # @return [Fixnum]
377
- attr_accessor :num_deleted
378
-
379
- def initialize(**args)
380
- update!(**args)
381
- end
382
-
383
- # Update properties of this object
384
- def update!(**args)
385
- @num_deleted = args[:num_deleted] if args.key?(:num_deleted)
386
- end
387
- end
388
-
389
- # Diagnostics for a single beacon.
390
- class Diagnostics
391
- include Google::Apis::Core::Hashable
392
-
393
- # An unordered list of Alerts that the beacon has.
394
- # Corresponds to the JSON property `alerts`
395
- # @return [Array<String>]
396
- attr_accessor :alerts
397
-
398
- # Resource name of the beacon. For Eddystone-EID beacons, this may
399
- # be the beacon's current EID, or the beacon's "stable" Eddystone-UID.
400
- # Corresponds to the JSON property `beaconName`
401
- # @return [String]
402
- attr_accessor :beacon_name
403
-
404
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
405
- # and time zone are either specified elsewhere or are not significant. The date
406
- # is relative to the Proleptic Gregorian Calendar. This can represent:
407
- # * A full date, with non-zero year, month and day values
408
- # * A month and day value, with a zero year, e.g. an anniversary
409
- # * A year on its own, with zero month and day values
410
- # * A year and month value, with a zero day, e.g. a credit card expiration date
411
- # Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.
412
- # Corresponds to the JSON property `estimatedLowBatteryDate`
413
- # @return [Google::Apis::ProximitybeaconV1beta1::Date]
414
- attr_accessor :estimated_low_battery_date
415
-
416
- def initialize(**args)
417
- update!(**args)
418
- end
419
-
420
- # Update properties of this object
421
- def update!(**args)
422
- @alerts = args[:alerts] if args.key?(:alerts)
423
- @beacon_name = args[:beacon_name] if args.key?(:beacon_name)
424
- @estimated_low_battery_date = args[:estimated_low_battery_date] if args.key?(:estimated_low_battery_date)
425
- end
426
- end
427
-
428
- # A generic empty message that you can re-use to avoid defining duplicated
429
- # empty messages in your APIs. A typical example is to use it as the request
430
- # or the response type of an API method. For instance:
431
- # service Foo `
432
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
433
- # `
434
- # The JSON representation for `Empty` is empty JSON object ````.
435
- class Empty
436
- include Google::Apis::Core::Hashable
437
-
438
- def initialize(**args)
439
- update!(**args)
440
- end
441
-
442
- # Update properties of this object
443
- def update!(**args)
444
- end
445
- end
446
-
447
- # Write-only registration parameters for beacons using Eddystone-EID format.
448
- # Two ways of securely registering an Eddystone-EID beacon with the service
449
- # are supported:
450
- # 1. Perform an ECDH key exchange via this API, including a previous call
451
- # to `GET /v1beta1/eidparams`. In this case the fields
452
- # `beacon_ecdh_public_key` and `service_ecdh_public_key` should be
453
- # populated and `beacon_identity_key` should not be populated. This
454
- # method ensures that only the two parties in the ECDH key exchange can
455
- # compute the identity key, which becomes a secret between them.
456
- # 2. Derive or obtain the beacon's identity key via other secure means
457
- # (perhaps an ECDH key exchange between the beacon and a mobile device
458
- # or any other secure method), and then submit the resulting identity key
459
- # to the service. In this case `beacon_identity_key` field should be
460
- # populated, and neither of `beacon_ecdh_public_key` nor
461
- # `service_ecdh_public_key` fields should be. The security of this method
462
- # depends on how securely the parties involved (in particular the
463
- # bluetooth client) handle the identity key, and obviously on how
464
- # securely the identity key was generated.
465
- # See [the Eddystone
466
- # specification](https://github.com/google/eddystone/tree/master/eddystone-eid)
467
- # at GitHub.
468
- class EphemeralIdRegistration
469
- include Google::Apis::Core::Hashable
470
-
471
- # The beacon's public key used for the Elliptic curve Diffie-Hellman
472
- # key exchange. When this field is populated, `service_ecdh_public_key`
473
- # must also be populated, and `beacon_identity_key` must not be.
474
- # Corresponds to the JSON property `beaconEcdhPublicKey`
475
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
476
- # @return [String]
477
- attr_accessor :beacon_ecdh_public_key
478
-
479
- # The private key of the beacon. If this field is populated,
480
- # `beacon_ecdh_public_key` and `service_ecdh_public_key` must not be
481
- # populated.
482
- # Corresponds to the JSON property `beaconIdentityKey`
483
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
484
- # @return [String]
485
- attr_accessor :beacon_identity_key
486
-
487
- # The initial clock value of the beacon. The beacon's clock must have
488
- # begun counting at this value immediately prior to transmitting this
489
- # value to the resolving service. Significant delay in transmitting this
490
- # value to the service risks registration or resolution failures. If a
491
- # value is not provided, the default is zero.
492
- # Corresponds to the JSON property `initialClockValue`
493
- # @return [Fixnum]
494
- attr_accessor :initial_clock_value
495
-
496
- # An initial ephemeral ID calculated using the clock value submitted as
497
- # `initial_clock_value`, and the secret key generated by the
498
- # Diffie-Hellman key exchange using `service_ecdh_public_key` and
499
- # `service_ecdh_public_key`. This initial EID value will be used by the
500
- # service to confirm that the key exchange process was successful.
501
- # Corresponds to the JSON property `initialEid`
502
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
503
- # @return [String]
504
- attr_accessor :initial_eid
505
-
506
- # Indicates the nominal period between each rotation of the beacon's
507
- # ephemeral ID. "Nominal" because the beacon should randomize the
508
- # actual interval. See [the spec at
509
- # github](https://github.com/google/eddystone/tree/master/eddystone-eid)
510
- # for details. This value corresponds to a power-of-two scaler on the
511
- # beacon's clock: when the scaler value is K, the beacon will begin
512
- # broadcasting a new ephemeral ID on average every 2^K seconds.
513
- # Corresponds to the JSON property `rotationPeriodExponent`
514
- # @return [Fixnum]
515
- attr_accessor :rotation_period_exponent
516
-
517
- # The service's public key used for the Elliptic curve Diffie-Hellman
518
- # key exchange. When this field is populated, `beacon_ecdh_public_key`
519
- # must also be populated, and `beacon_identity_key` must not be.
520
- # Corresponds to the JSON property `serviceEcdhPublicKey`
521
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
522
- # @return [String]
523
- attr_accessor :service_ecdh_public_key
524
-
525
- def initialize(**args)
526
- update!(**args)
527
- end
528
-
529
- # Update properties of this object
530
- def update!(**args)
531
- @beacon_ecdh_public_key = args[:beacon_ecdh_public_key] if args.key?(:beacon_ecdh_public_key)
532
- @beacon_identity_key = args[:beacon_identity_key] if args.key?(:beacon_identity_key)
533
- @initial_clock_value = args[:initial_clock_value] if args.key?(:initial_clock_value)
534
- @initial_eid = args[:initial_eid] if args.key?(:initial_eid)
535
- @rotation_period_exponent = args[:rotation_period_exponent] if args.key?(:rotation_period_exponent)
536
- @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key)
537
- end
538
- end
539
-
540
- # Information a client needs to provision and register beacons that
541
- # broadcast Eddystone-EID format beacon IDs, using Elliptic curve
542
- # Diffie-Hellman key exchange. See
543
- # [the Eddystone
544
- # specification](https://github.com/google/eddystone/tree/master/eddystone-eid)
545
- # at GitHub.
546
- class EphemeralIdRegistrationParams
547
- include Google::Apis::Core::Hashable
548
-
549
- # Indicates the maximum rotation period supported by the service.
550
- # See
551
- # EddystoneEidRegistration.rotation_period_exponent
552
- # Corresponds to the JSON property `maxRotationPeriodExponent`
553
- # @return [Fixnum]
554
- attr_accessor :max_rotation_period_exponent
555
-
556
- # Indicates the minimum rotation period supported by the service.
557
- # See
558
- # EddystoneEidRegistration.rotation_period_exponent
559
- # Corresponds to the JSON property `minRotationPeriodExponent`
560
- # @return [Fixnum]
561
- attr_accessor :min_rotation_period_exponent
562
-
563
- # The beacon service's public key for use by a beacon to derive its
564
- # Identity Key using Elliptic Curve Diffie-Hellman key exchange.
565
- # Corresponds to the JSON property `serviceEcdhPublicKey`
566
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
567
- # @return [String]
568
- attr_accessor :service_ecdh_public_key
569
-
570
- def initialize(**args)
571
- update!(**args)
572
- end
573
-
574
- # Update properties of this object
575
- def update!(**args)
576
- @max_rotation_period_exponent = args[:max_rotation_period_exponent] if args.key?(:max_rotation_period_exponent)
577
- @min_rotation_period_exponent = args[:min_rotation_period_exponent] if args.key?(:min_rotation_period_exponent)
578
- @service_ecdh_public_key = args[:service_ecdh_public_key] if args.key?(:service_ecdh_public_key)
579
- end
580
- end
581
-
582
- # Request for beacon and attachment information about beacons that
583
- # a mobile client has encountered "in the wild".
584
- class GetInfoForObservedBeaconsRequest
585
- include Google::Apis::Core::Hashable
586
-
587
- # Specifies what kind of attachments to include in the response.
588
- # When given, the response will include only attachments of the given types.
589
- # When empty, no attachments will be returned. Must be in the format
590
- # <var>namespace/type</var>. Accepts `*` to specify all types in
591
- # all namespaces owned by the client.
592
- # Optional.
593
- # Corresponds to the JSON property `namespacedTypes`
594
- # @return [Array<String>]
595
- attr_accessor :namespaced_types
596
-
597
- # The beacons that the client has encountered.
598
- # At least one must be given.
599
- # Corresponds to the JSON property `observations`
600
- # @return [Array<Google::Apis::ProximitybeaconV1beta1::Observation>]
601
- attr_accessor :observations
602
-
603
- def initialize(**args)
604
- update!(**args)
605
- end
606
-
607
- # Update properties of this object
608
- def update!(**args)
609
- @namespaced_types = args[:namespaced_types] if args.key?(:namespaced_types)
610
- @observations = args[:observations] if args.key?(:observations)
611
- end
612
- end
613
-
614
- # Information about the requested beacons, optionally including attachment
615
- # data.
616
- class GetInfoForObservedBeaconsResponse
617
- include Google::Apis::Core::Hashable
618
-
619
- # Public information about beacons.
620
- # May be empty if the request matched no beacons.
621
- # Corresponds to the JSON property `beacons`
622
- # @return [Array<Google::Apis::ProximitybeaconV1beta1::BeaconInfo>]
623
- attr_accessor :beacons
624
-
625
- def initialize(**args)
626
- update!(**args)
627
- end
628
-
629
- # Update properties of this object
630
- def update!(**args)
631
- @beacons = args[:beacons] if args.key?(:beacons)
632
- end
633
- end
634
-
635
- # Indoor level, a human-readable string as returned by Google Maps APIs,
636
- # useful to indicate which floor of a building a beacon is located on.
637
- class IndoorLevel
638
- include Google::Apis::Core::Hashable
639
-
640
- # The name of this level.
641
- # Corresponds to the JSON property `name`
642
- # @return [String]
643
- attr_accessor :name
644
-
645
- def initialize(**args)
646
- update!(**args)
647
- end
648
-
649
- # Update properties of this object
650
- def update!(**args)
651
- @name = args[:name] if args.key?(:name)
652
- end
653
- end
654
-
655
- # An object representing a latitude/longitude pair. This is expressed as a pair
656
- # of doubles representing degrees latitude and degrees longitude. Unless
657
- # specified otherwise, this must conform to the
658
- # <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
659
- # standard</a>. Values must be within normalized ranges.
660
- class LatLng
661
- include Google::Apis::Core::Hashable
662
-
663
- # The latitude in degrees. It must be in the range [-90.0, +90.0].
664
- # Corresponds to the JSON property `latitude`
665
- # @return [Float]
666
- attr_accessor :latitude
667
-
668
- # The longitude in degrees. It must be in the range [-180.0, +180.0].
669
- # Corresponds to the JSON property `longitude`
670
- # @return [Float]
671
- attr_accessor :longitude
672
-
673
- def initialize(**args)
674
- update!(**args)
675
- end
676
-
677
- # Update properties of this object
678
- def update!(**args)
679
- @latitude = args[:latitude] if args.key?(:latitude)
680
- @longitude = args[:longitude] if args.key?(:longitude)
681
- end
682
- end
683
-
684
- # Response to `ListBeaconAttachments` that contains the requested attachments.
685
- class ListBeaconAttachmentsResponse
686
- include Google::Apis::Core::Hashable
687
-
688
- # The attachments that corresponded to the request params.
689
- # Corresponds to the JSON property `attachments`
690
- # @return [Array<Google::Apis::ProximitybeaconV1beta1::BeaconAttachment>]
691
- attr_accessor :attachments
692
-
693
- def initialize(**args)
694
- update!(**args)
695
- end
696
-
697
- # Update properties of this object
698
- def update!(**args)
699
- @attachments = args[:attachments] if args.key?(:attachments)
700
- end
701
- end
702
-
703
- # Response that contains list beacon results and pagination help.
704
- class ListBeaconsResponse
705
- include Google::Apis::Core::Hashable
706
-
707
- # The beacons that matched the search criteria.
708
- # Corresponds to the JSON property `beacons`
709
- # @return [Array<Google::Apis::ProximitybeaconV1beta1::Beacon>]
710
- attr_accessor :beacons
711
-
712
- # An opaque pagination token that the client may provide in their next
713
- # request to retrieve the next page of results.
714
- # Corresponds to the JSON property `nextPageToken`
715
- # @return [String]
716
- attr_accessor :next_page_token
717
-
718
- # Estimate of the total number of beacons matched by the query. Higher
719
- # values may be less accurate.
720
- # Corresponds to the JSON property `totalCount`
721
- # @return [Fixnum]
722
- attr_accessor :total_count
723
-
724
- def initialize(**args)
725
- update!(**args)
726
- end
727
-
728
- # Update properties of this object
729
- def update!(**args)
730
- @beacons = args[:beacons] if args.key?(:beacons)
731
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
732
- @total_count = args[:total_count] if args.key?(:total_count)
733
- end
734
- end
735
-
736
- # Response that contains the requested diagnostics.
737
- class ListDiagnosticsResponse
738
- include Google::Apis::Core::Hashable
739
-
740
- # The diagnostics matching the given request.
741
- # Corresponds to the JSON property `diagnostics`
742
- # @return [Array<Google::Apis::ProximitybeaconV1beta1::Diagnostics>]
743
- attr_accessor :diagnostics
744
-
745
- # Token that can be used for pagination. Returned only if the
746
- # request matches more beacons than can be returned in this response.
747
- # Corresponds to the JSON property `nextPageToken`
748
- # @return [String]
749
- attr_accessor :next_page_token
750
-
751
- def initialize(**args)
752
- update!(**args)
753
- end
754
-
755
- # Update properties of this object
756
- def update!(**args)
757
- @diagnostics = args[:diagnostics] if args.key?(:diagnostics)
758
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
759
- end
760
- end
761
-
762
- # Response to ListNamespacesRequest that contains all the project's namespaces.
763
- class ListNamespacesResponse
764
- include Google::Apis::Core::Hashable
765
-
766
- # The attachments that corresponded to the request params.
767
- # Corresponds to the JSON property `namespaces`
768
- # @return [Array<Google::Apis::ProximitybeaconV1beta1::Namespace>]
769
- attr_accessor :namespaces
770
-
771
- def initialize(**args)
772
- update!(**args)
773
- end
774
-
775
- # Update properties of this object
776
- def update!(**args)
777
- @namespaces = args[:namespaces] if args.key?(:namespaces)
778
- end
779
- end
780
-
781
- # An attachment namespace defines read and write access for all the attachments
782
- # created under it. Each namespace is globally unique, and owned by one
783
- # project which is the only project that can create attachments under it.
784
- class Namespace
785
- include Google::Apis::Core::Hashable
786
-
787
- # Resource name of this namespace. Namespaces names have the format:
788
- # <code>namespaces/<var>namespace</var></code>.
789
- # Corresponds to the JSON property `namespaceName`
790
- # @return [String]
791
- attr_accessor :namespace_name
792
-
793
- # Specifies what clients may receive attachments under this namespace
794
- # via `beaconinfo.getforobserved`.
795
- # Corresponds to the JSON property `servingVisibility`
796
- # @return [String]
797
- attr_accessor :serving_visibility
798
-
799
- def initialize(**args)
800
- update!(**args)
801
- end
802
-
803
- # Update properties of this object
804
- def update!(**args)
805
- @namespace_name = args[:namespace_name] if args.key?(:namespace_name)
806
- @serving_visibility = args[:serving_visibility] if args.key?(:serving_visibility)
807
- end
808
- end
809
-
810
- # Represents one beacon observed once.
811
- class Observation
812
- include Google::Apis::Core::Hashable
813
-
814
- # Defines a unique identifier of a beacon as broadcast by the device.
815
- # Corresponds to the JSON property `advertisedId`
816
- # @return [Google::Apis::ProximitybeaconV1beta1::AdvertisedId]
817
- attr_accessor :advertised_id
818
-
819
- # The array of telemetry bytes received from the beacon. The server is
820
- # responsible for parsing it. This field may frequently be empty, as
821
- # with a beacon that transmits telemetry only occasionally.
822
- # Corresponds to the JSON property `telemetry`
823
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
824
- # @return [String]
825
- attr_accessor :telemetry
826
-
827
- # Time when the beacon was observed.
828
- # Corresponds to the JSON property `timestampMs`
829
- # @return [String]
830
- attr_accessor :timestamp_ms
831
-
832
- def initialize(**args)
833
- update!(**args)
834
- end
835
-
836
- # Update properties of this object
837
- def update!(**args)
838
- @advertised_id = args[:advertised_id] if args.key?(:advertised_id)
839
- @telemetry = args[:telemetry] if args.key?(:telemetry)
840
- @timestamp_ms = args[:timestamp_ms] if args.key?(:timestamp_ms)
841
- end
842
- end
843
- end
844
- end
845
- end