google-api-client 0.41.0 → 0.42.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (447) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +295 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/service.rb +3 -0
  6. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  11. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  12. data/generated/google/apis/admob_v1.rb +1 -1
  13. data/generated/google/apis/admob_v1/classes.rb +3 -1
  14. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  15. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  18. data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
  19. data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
  20. data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
  21. data/generated/google/apis/apigee_v1.rb +1 -1
  22. data/generated/google/apis/apigee_v1/classes.rb +1475 -107
  23. data/generated/google/apis/apigee_v1/representations.rb +558 -0
  24. data/generated/google/apis/apigee_v1/service.rb +1175 -117
  25. data/generated/google/apis/appengine_v1.rb +1 -1
  26. data/generated/google/apis/appengine_v1/service.rb +6 -3
  27. data/generated/google/apis/appengine_v1beta.rb +1 -1
  28. data/generated/google/apis/appengine_v1beta/service.rb +6 -2
  29. data/generated/google/apis/appsmarket_v2.rb +1 -1
  30. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  31. data/generated/google/apis/bigquery_v2.rb +1 -1
  32. data/generated/google/apis/bigquery_v2/classes.rb +234 -9
  33. data/generated/google/apis/bigquery_v2/representations.rb +74 -0
  34. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  35. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  36. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  37. data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
  38. data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
  39. data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
  40. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
  42. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
  45. data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
  46. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  47. data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
  48. data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
  49. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  50. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  51. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
  52. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  53. data/generated/google/apis/blogger_v3.rb +1 -1
  54. data/generated/google/apis/books_v1.rb +1 -1
  55. data/generated/google/apis/books_v1/classes.rb +140 -159
  56. data/generated/google/apis/books_v1/service.rb +47 -49
  57. data/generated/google/apis/chat_v1.rb +1 -1
  58. data/generated/google/apis/chat_v1/classes.rb +130 -0
  59. data/generated/google/apis/chat_v1/representations.rb +63 -0
  60. data/generated/google/apis/chat_v1/service.rb +71 -0
  61. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  62. data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
  63. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  64. data/generated/google/apis/civicinfo_v2.rb +2 -2
  65. data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
  66. data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
  67. data/generated/google/apis/civicinfo_v2/service.rb +28 -63
  68. data/generated/google/apis/classroom_v1.rb +1 -1
  69. data/generated/google/apis/classroom_v1/service.rb +9 -5
  70. data/generated/google/apis/cloudasset_v1.rb +1 -1
  71. data/generated/google/apis/cloudasset_v1/classes.rb +391 -3
  72. data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
  73. data/generated/google/apis/cloudasset_v1/service.rb +178 -0
  74. data/generated/google/apis/{androidpublisher_v2.rb → cloudasset_v1p5beta1.rb} +11 -11
  75. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
  76. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  77. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
  78. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  79. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  80. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  81. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  82. data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
  83. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  84. data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
  87. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  88. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  89. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  90. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
  91. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  92. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -49
  95. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  96. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  98. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
  99. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
  100. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  101. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -755
  102. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  103. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  104. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -430
  105. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  106. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  107. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  108. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  112. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  113. data/generated/google/apis/cloudscheduler_v1/classes.rb +18 -6
  114. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  115. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  116. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +18 -6
  117. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  118. data/generated/google/apis/cloudshell_v1.rb +1 -1
  119. data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
  120. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  121. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
  122. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  123. data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
  124. data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
  125. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  126. data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
  127. data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
  128. data/generated/google/apis/composer_v1beta1.rb +1 -1
  129. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  130. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  131. data/generated/google/apis/compute_alpha.rb +1 -1
  132. data/generated/google/apis/compute_alpha/classes.rb +99 -61
  133. data/generated/google/apis/compute_alpha/representations.rb +3 -0
  134. data/generated/google/apis/compute_alpha/service.rb +32 -33
  135. data/generated/google/apis/compute_beta.rb +1 -1
  136. data/generated/google/apis/compute_beta/classes.rb +596 -60
  137. data/generated/google/apis/compute_beta/representations.rb +162 -0
  138. data/generated/google/apis/compute_beta/service.rb +565 -33
  139. data/generated/google/apis/compute_v1.rb +1 -1
  140. data/generated/google/apis/compute_v1/classes.rb +967 -70
  141. data/generated/google/apis/compute_v1/representations.rb +289 -0
  142. data/generated/google/apis/compute_v1/service.rb +784 -38
  143. data/generated/google/apis/container_v1.rb +1 -1
  144. data/generated/google/apis/container_v1/classes.rb +132 -5
  145. data/generated/google/apis/container_v1/representations.rb +51 -0
  146. data/generated/google/apis/container_v1beta1.rb +1 -1
  147. data/generated/google/apis/container_v1beta1/classes.rb +136 -17
  148. data/generated/google/apis/container_v1beta1/representations.rb +39 -0
  149. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  150. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  151. data/generated/google/apis/content_v2.rb +1 -1
  152. data/generated/google/apis/content_v2/classes.rb +8 -2
  153. data/generated/google/apis/content_v2/representations.rb +1 -0
  154. data/generated/google/apis/content_v2_1.rb +1 -1
  155. data/generated/google/apis/content_v2_1/classes.rb +182 -4
  156. data/generated/google/apis/content_v2_1/representations.rb +72 -0
  157. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  158. data/generated/google/apis/customsearch_v1/classes.rb +1610 -0
  159. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  160. data/generated/google/apis/customsearch_v1/service.rb +618 -0
  161. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  162. data/generated/google/apis/datacatalog_v1beta1/classes.rb +400 -565
  163. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  164. data/generated/google/apis/datacatalog_v1beta1/service.rb +351 -435
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
  167. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  168. data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
  169. data/generated/google/apis/dataproc_v1.rb +1 -1
  170. data/generated/google/apis/dataproc_v1/classes.rb +15 -14
  171. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  172. data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -14
  173. data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
  174. data/generated/google/apis/datastore_v1.rb +1 -1
  175. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  176. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  178. data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
  179. data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
  180. data/generated/google/apis/dialogflow_v2.rb +1 -1
  181. data/generated/google/apis/dialogflow_v2/classes.rb +416 -63
  182. data/generated/google/apis/dialogflow_v2/representations.rb +108 -0
  183. data/generated/google/apis/dialogflow_v2/service.rb +4 -0
  184. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  185. data/generated/google/apis/dialogflow_v2beta1/classes.rb +436 -66
  186. data/generated/google/apis/dialogflow_v2beta1/representations.rb +108 -0
  187. data/generated/google/apis/dialogflow_v2beta1/service.rb +58 -44
  188. data/generated/google/apis/displayvideo_v1.rb +7 -1
  189. data/generated/google/apis/displayvideo_v1/classes.rb +1727 -1680
  190. data/generated/google/apis/displayvideo_v1/representations.rb +275 -0
  191. data/generated/google/apis/displayvideo_v1/service.rb +1245 -924
  192. data/generated/google/apis/dlp_v2.rb +1 -1
  193. data/generated/google/apis/dlp_v2/classes.rb +5 -2
  194. data/generated/google/apis/dns_v1.rb +4 -4
  195. data/generated/google/apis/dns_v1/classes.rb +313 -162
  196. data/generated/google/apis/dns_v1/service.rb +247 -180
  197. data/generated/google/apis/dns_v1beta2.rb +4 -4
  198. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  199. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  200. data/generated/google/apis/dns_v2beta1.rb +4 -4
  201. data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
  202. data/generated/google/apis/dns_v2beta1/service.rb +247 -180
  203. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  204. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  205. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  206. data/generated/google/apis/doubleclicksearch_v2/classes.rb +75 -76
  207. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  208. data/generated/google/apis/doubleclicksearch_v2/service.rb +43 -75
  209. data/generated/google/apis/drive_v2.rb +1 -1
  210. data/generated/google/apis/drive_v2/classes.rb +75 -2
  211. data/generated/google/apis/drive_v2/representations.rb +23 -0
  212. data/generated/google/apis/drive_v2/service.rb +23 -10
  213. data/generated/google/apis/drive_v3.rb +1 -1
  214. data/generated/google/apis/drive_v3/classes.rb +74 -2
  215. data/generated/google/apis/drive_v3/representations.rb +23 -0
  216. data/generated/google/apis/drive_v3/service.rb +8 -5
  217. data/generated/google/apis/fcm_v1.rb +1 -1
  218. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  219. data/generated/google/apis/fcm_v1/service.rb +5 -6
  220. data/generated/google/apis/file_v1.rb +1 -1
  221. data/generated/google/apis/file_v1beta1.rb +1 -1
  222. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  223. data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
  224. data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -12
  225. data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
  226. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  227. data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
  228. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  229. data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
  230. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  231. data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
  232. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  233. data/generated/google/apis/firestore_v1.rb +1 -1
  234. data/generated/google/apis/firestore_v1/classes.rb +152 -0
  235. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  236. data/generated/google/apis/firestore_v1/service.rb +78 -0
  237. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  238. data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
  239. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  240. data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
  241. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  242. data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
  243. data/generated/google/apis/games_management_v1management.rb +1 -1
  244. data/generated/google/apis/games_management_v1management/service.rb +2 -2
  245. data/generated/google/apis/games_v1.rb +6 -4
  246. data/generated/google/apis/games_v1/classes.rb +354 -2112
  247. data/generated/google/apis/games_v1/representations.rb +12 -647
  248. data/generated/google/apis/games_v1/service.rb +213 -1155
  249. data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
  250. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  251. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  252. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  253. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  254. data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
  255. data/generated/google/apis/gmail_v1.rb +1 -1
  256. data/generated/google/apis/gmail_v1/classes.rb +55 -55
  257. data/generated/google/apis/gmail_v1/service.rb +74 -73
  258. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
  259. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  260. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  261. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  262. data/generated/google/apis/groupssettings_v1.rb +1 -1
  263. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  264. data/generated/google/apis/healthcare_v1.rb +1 -1
  265. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  266. data/generated/google/apis/healthcare_v1/service.rb +48 -1
  267. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  268. data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
  269. data/generated/google/apis/healthcare_v1beta1/service.rb +60 -1
  270. data/generated/google/apis/iam_v1.rb +1 -1
  271. data/generated/google/apis/iam_v1/classes.rb +22 -3
  272. data/generated/google/apis/iam_v1/service.rb +18 -6
  273. data/generated/google/apis/logging_v2.rb +1 -1
  274. data/generated/google/apis/logging_v2/classes.rb +69 -21
  275. data/generated/google/apis/managedidentities_v1.rb +1 -1
  276. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  277. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  278. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  279. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  280. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  281. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  282. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  283. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  284. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  285. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  286. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  287. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  288. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  289. data/generated/google/apis/ml_v1.rb +1 -1
  290. data/generated/google/apis/ml_v1/classes.rb +28 -14
  291. data/generated/google/apis/ml_v1/representations.rb +1 -0
  292. data/generated/google/apis/monitoring_v1.rb +1 -1
  293. data/generated/google/apis/monitoring_v1/classes.rb +2 -1
  294. data/generated/google/apis/monitoring_v3.rb +1 -1
  295. data/generated/google/apis/monitoring_v3/classes.rb +71 -38
  296. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  297. data/generated/google/apis/monitoring_v3/service.rb +13 -9
  298. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  299. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
  300. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  301. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
  302. data/generated/google/apis/osconfig_v1.rb +1 -1
  303. data/generated/google/apis/osconfig_v1/classes.rb +77 -2
  304. data/generated/google/apis/osconfig_v1/representations.rb +35 -0
  305. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  306. data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
  307. data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
  308. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  309. data/generated/google/apis/people_v1.rb +4 -1
  310. data/generated/google/apis/people_v1/classes.rb +243 -397
  311. data/generated/google/apis/people_v1/service.rb +156 -384
  312. data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
  313. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  314. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  315. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
  318. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  319. data/generated/google/apis/pubsub_v1.rb +1 -1
  320. data/generated/google/apis/pubsub_v1/classes.rb +49 -30
  321. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  322. data/generated/google/apis/pubsub_v1/service.rb +35 -44
  323. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  324. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  325. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  326. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  327. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  328. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
  329. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
  330. data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
  331. data/generated/google/apis/recommender_v1.rb +1 -1
  332. data/generated/google/apis/recommender_v1/classes.rb +211 -0
  333. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  334. data/generated/google/apis/recommender_v1/service.rb +123 -0
  335. data/generated/google/apis/redis_v1.rb +1 -1
  336. data/generated/google/apis/redis_v1/classes.rb +398 -1
  337. data/generated/google/apis/redis_v1/representations.rb +139 -0
  338. data/generated/google/apis/redis_v1/service.rb +1 -1
  339. data/generated/google/apis/redis_v1beta1.rb +1 -1
  340. data/generated/google/apis/redis_v1beta1/classes.rb +398 -1
  341. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  342. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  343. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  344. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  345. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  346. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  347. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  348. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  349. data/generated/google/apis/reseller_v1.rb +4 -3
  350. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  351. data/generated/google/apis/reseller_v1/service.rb +247 -252
  352. data/generated/google/apis/run_v1.rb +2 -2
  353. data/generated/google/apis/run_v1/classes.rb +835 -1245
  354. data/generated/google/apis/run_v1/service.rb +196 -246
  355. data/generated/google/apis/run_v1alpha1.rb +2 -2
  356. data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
  357. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  358. data/generated/google/apis/run_v1beta1.rb +2 -2
  359. data/generated/google/apis/run_v1beta1/classes.rb +209 -276
  360. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  361. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  362. data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
  363. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  364. data/generated/google/apis/searchconsole_v1.rb +4 -3
  365. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  366. data/generated/google/apis/secretmanager_v1.rb +1 -1
  367. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  368. data/generated/google/apis/securitycenter_v1.rb +1 -1
  369. data/generated/google/apis/securitycenter_v1/service.rb +4 -5
  370. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  371. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
  372. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  373. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -3
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +2 -2
  377. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  378. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -6
  379. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  380. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  381. data/generated/google/apis/servicemanagement_v1/classes.rb +3 -2
  382. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  383. data/generated/google/apis/servicenetworking_v1/classes.rb +2 -2
  384. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  385. data/generated/google/apis/servicenetworking_v1beta/classes.rb +2 -2
  386. data/generated/google/apis/serviceusage_v1.rb +1 -1
  387. data/generated/google/apis/serviceusage_v1/classes.rb +2 -2
  388. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  389. data/generated/google/apis/serviceusage_v1beta1/classes.rb +2 -2
  390. data/generated/google/apis/sheets_v4.rb +1 -1
  391. data/generated/google/apis/sheets_v4/classes.rb +118 -28
  392. data/generated/google/apis/spanner_v1.rb +1 -1
  393. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  394. data/generated/google/apis/spanner_v1/service.rb +7 -0
  395. data/generated/google/apis/speech_v1.rb +1 -1
  396. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  397. data/generated/google/apis/sql_v1beta4.rb +1 -1
  398. data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
  399. data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
  400. data/generated/google/apis/sql_v1beta4/service.rb +2 -2
  401. data/generated/google/apis/storage_v1.rb +1 -1
  402. data/generated/google/apis/storage_v1/service.rb +2 -3
  403. data/generated/google/apis/testing_v1.rb +1 -1
  404. data/generated/google/apis/testing_v1/classes.rb +80 -6
  405. data/generated/google/apis/testing_v1/representations.rb +33 -0
  406. data/generated/google/apis/texttospeech_v1.rb +1 -1
  407. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  408. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  409. data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
  410. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  411. data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
  412. data/generated/google/apis/{androidpublisher_v1/representations.rb → vectortile_v1.rb} +11 -6
  413. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  414. data/generated/google/apis/{cloudfunctions_v1beta2 → vectortile_v1}/representations.rb +105 -121
  415. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  416. data/generated/google/apis/vision_v1.rb +1 -1
  417. data/generated/google/apis/vision_v1/classes.rb +2 -0
  418. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  419. data/generated/google/apis/vision_v1p1beta1/classes.rb +2 -0
  420. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  421. data/generated/google/apis/vision_v1p2beta1/classes.rb +2 -0
  422. data/generated/google/apis/webfonts_v1.rb +5 -5
  423. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  424. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  425. data/generated/google/apis/webfonts_v1/service.rb +15 -22
  426. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  427. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  428. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  429. data/generated/google/apis/youtube_partner_v1/service.rb +526 -1086
  430. data/generated/google/apis/youtube_v3.rb +1 -1
  431. data/generated/google/apis/youtube_v3/classes.rb +562 -2
  432. data/generated/google/apis/youtube_v3/representations.rb +282 -0
  433. data/generated/google/apis/youtube_v3/service.rb +270 -10
  434. data/lib/google/apis/version.rb +1 -1
  435. metadata +39 -23
  436. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  437. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  438. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  439. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  440. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  441. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  442. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  443. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  444. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  445. data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
  446. data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
  447. data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -47,6 +47,45 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
+ # Downloads media. Download is supported
51
+ # on the URI `/v1/media/`+name`?alt=media`.
52
+ # @param [String] resource_name
53
+ # Name of the media that is being downloaded. See
54
+ # ReadRequest.resource_name.
55
+ # @param [String] fields
56
+ # Selector specifying which fields to include in a partial response.
57
+ # @param [String] quota_user
58
+ # Available to use for quota purposes for server-side applications. Can be any
59
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
60
+ # @param [IO, String] download_dest
61
+ # IO stream or filename to receive content download
62
+ # @param [Google::Apis::RequestOptions] options
63
+ # Request-specific options
64
+ #
65
+ # @yield [result, err] Result & error if block supplied
66
+ # @yieldparam result [Google::Apis::ChatV1::Media] parsed result object
67
+ # @yieldparam err [StandardError] error object if request failed
68
+ #
69
+ # @return [Google::Apis::ChatV1::Media]
70
+ #
71
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
72
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
73
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
74
+ def download_medium(resource_name, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
75
+ if download_dest.nil?
76
+ command = make_simple_command(:get, 'v1/media/{+resourceName}', options)
77
+ else
78
+ command = make_download_command(:get, 'v1/media/{+resourceName}', options)
79
+ command.download_dest = download_dest
80
+ end
81
+ command.response_representation = Google::Apis::ChatV1::Media::Representation
82
+ command.response_class = Google::Apis::ChatV1::Media
83
+ command.params['resourceName'] = resource_name unless resource_name.nil?
84
+ command.query['fields'] = fields unless fields.nil?
85
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
86
+ execute_or_queue_command(command, &block)
87
+ end
88
+
50
89
  # Returns a space.
51
90
  # @param [String] name
52
91
  # Required. Resource name of the space, in the form "spaces/*".
@@ -334,6 +373,38 @@ module Google
334
373
  command.query['quotaUser'] = quota_user unless quota_user.nil?
335
374
  execute_or_queue_command(command, &block)
336
375
  end
376
+
377
+ # Gets the metadata of a message attachment. The attachment data is fetched
378
+ # using the media API.
379
+ # @param [String] name
380
+ # Resource name of the attachment, in the form
381
+ # "spaces/*/messages/*/attachments/*".
382
+ # @param [String] fields
383
+ # Selector specifying which fields to include in a partial response.
384
+ # @param [String] quota_user
385
+ # Available to use for quota purposes for server-side applications. Can be any
386
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
387
+ # @param [Google::Apis::RequestOptions] options
388
+ # Request-specific options
389
+ #
390
+ # @yield [result, err] Result & error if block supplied
391
+ # @yieldparam result [Google::Apis::ChatV1::Attachment] parsed result object
392
+ # @yieldparam err [StandardError] error object if request failed
393
+ #
394
+ # @return [Google::Apis::ChatV1::Attachment]
395
+ #
396
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
397
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
398
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
399
+ def get_space_message_attachment(name, fields: nil, quota_user: nil, options: nil, &block)
400
+ command = make_simple_command(:get, 'v1/{+name}', options)
401
+ command.response_representation = Google::Apis::ChatV1::Attachment::Representation
402
+ command.response_class = Google::Apis::ChatV1::Attachment
403
+ command.params['name'] = name unless name.nil?
404
+ command.query['fields'] = fields unless fields.nil?
405
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
406
+ execute_or_queue_command(command, &block)
407
+ end
337
408
 
338
409
  protected
339
410
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/web/tools/chrome-user-experience-report/api/reference
27
27
  module ChromeuxreportV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200528'
29
+ REVISION = '20200720'
30
30
  end
31
31
  end
32
32
  end
@@ -66,6 +66,16 @@ module Google
66
66
  class Key
67
67
  include Google::Apis::Core::Hashable
68
68
 
69
+ # The effective connection type is the general connection class that all
70
+ # users experienced for this record. This field uses the values ["offline",
71
+ # "slow-2G", "2G", "3G", "4G"] as specified in:
72
+ # https://wicg.github.io/netinfo/#effective-connection-types
73
+ # If the effective connection type is unspecified, then aggregated data
74
+ # over all effective connection types will be returned.
75
+ # Corresponds to the JSON property `effectiveConnectionType`
76
+ # @return [String]
77
+ attr_accessor :effective_connection_type
78
+
69
79
  # The form factor is the device class that all users used to access the
70
80
  # site for this record.
71
81
  # If the form factor is unspecified, then aggregated data over all form
@@ -94,6 +104,7 @@ module Google
94
104
 
95
105
  # Update properties of this object
96
106
  def update!(**args)
107
+ @effective_connection_type = args[:effective_connection_type] if args.key?(:effective_connection_type)
97
108
  @form_factor = args[:form_factor] if args.key?(:form_factor)
98
109
  @origin = args[:origin] if args.key?(:origin)
99
110
  @url = args[:url] if args.key?(:url)
@@ -157,6 +168,16 @@ module Google
157
168
  class QueryRequest
158
169
  include Google::Apis::Core::Hashable
159
170
 
171
+ # The effective connection type is a query dimension that specifies the
172
+ # effective network class that the record's data should belong to. This field
173
+ # uses the values ["offline", "slow-2G", "2G", "3G", "4G"] as specified in:
174
+ # https://wicg.github.io/netinfo/#effective-connection-types
175
+ # Note: If no effective connection type is specified, then a special record
176
+ # with aggregated data over all effective connection types will be returned.
177
+ # Corresponds to the JSON property `effectiveConnectionType`
178
+ # @return [String]
179
+ attr_accessor :effective_connection_type
180
+
160
181
  # The form factor is a query dimension that specifies the device class that
161
182
  # the record's data should belong to.
162
183
  # Note: If no form factor is specified, then a special record with
@@ -194,6 +215,7 @@ module Google
194
215
 
195
216
  # Update properties of this object
196
217
  def update!(**args)
218
+ @effective_connection_type = args[:effective_connection_type] if args.key?(:effective_connection_type)
197
219
  @form_factor = args[:form_factor] if args.key?(:form_factor)
198
220
  @metrics = args[:metrics] if args.key?(:metrics)
199
221
  @origin = args[:origin] if args.key?(:origin)
@@ -82,6 +82,7 @@ module Google
82
82
  class Key
83
83
  # @private
84
84
  class Representation < Google::Apis::Core::JsonRepresentation
85
+ property :effective_connection_type, as: 'effectiveConnectionType'
85
86
  property :form_factor, as: 'formFactor'
86
87
  property :origin, as: 'origin'
87
88
  property :url, as: 'url'
@@ -108,6 +109,7 @@ module Google
108
109
  class QueryRequest
109
110
  # @private
110
111
  class Representation < Google::Apis::Core::JsonRepresentation
112
+ property :effective_connection_type, as: 'effectiveConnectionType'
111
113
  property :form_factor, as: 'formFactor'
112
114
  collection :metrics, as: 'metrics'
113
115
  property :origin, as: 'origin'
@@ -23,10 +23,10 @@ module Google
23
23
  # Provides polling places, early vote locations, contest data, election
24
24
  # officials, and government representatives for U.S. residential addresses.
25
25
  #
26
- # @see https://developers.google.com/civic-information
26
+ # @see https://developers.google.com/civic-information/
27
27
  module CivicinfoV2
28
28
  VERSION = 'V2'
29
- REVISION = '20191030'
29
+ REVISION = '20200706'
30
30
  end
31
31
  end
32
32
  end
@@ -79,11 +79,6 @@ module Google
79
79
  # @return [String]
80
80
  attr_accessor :absentee_voting_info_url
81
81
 
82
- #
83
- # Corresponds to the JSON property `addressLines`
84
- # @return [Array<String>]
85
- attr_accessor :address_lines
86
-
87
82
  # A URL provided by this administrative body to give contest information to the
88
83
  # voter.
89
84
  # Corresponds to the JSON property `ballotInfoUrl`
@@ -156,7 +151,6 @@ module Google
156
151
  # Update properties of this object
157
152
  def update!(**args)
158
153
  @absentee_voting_info_url = args[:absentee_voting_info_url] if args.key?(:absentee_voting_info_url)
159
- @address_lines = args[:address_lines] if args.key?(:address_lines)
160
154
  @ballot_info_url = args[:ballot_info_url] if args.key?(:ballot_info_url)
161
155
  @correspondence_address = args[:correspondence_address] if args.key?(:correspondence_address)
162
156
  @election_info_url = args[:election_info_url] if args.key?(:election_info_url)
@@ -323,7 +317,14 @@ module Google
323
317
  # @return [String]
324
318
  attr_accessor :office
325
319
 
326
- # If this is a partisan election, the name of the party it is for.
320
+ # If this is a partisan election, the name of the party/parties it is for.
321
+ # Corresponds to the JSON property `primaryParties`
322
+ # @return [Array<String>]
323
+ attr_accessor :primary_parties
324
+
325
+ # [DEPRECATED] If this is a partisan election, the name of the party it is for.
326
+ # This field as deprecated in favor of the array "primaryParties", as contests
327
+ # may contain more than one party.
327
328
  # Corresponds to the JSON property `primaryParty`
328
329
  # @return [String]
329
330
  attr_accessor :primary_party
@@ -431,6 +432,7 @@ module Google
431
432
  @number_elected = args[:number_elected] if args.key?(:number_elected)
432
433
  @number_voting_for = args[:number_voting_for] if args.key?(:number_voting_for)
433
434
  @office = args[:office] if args.key?(:office)
435
+ @primary_parties = args[:primary_parties] if args.key?(:primary_parties)
434
436
  @primary_party = args[:primary_party] if args.key?(:primary_party)
435
437
  @referendum_ballot_responses = args[:referendum_ballot_responses] if args.key?(:referendum_ballot_responses)
436
438
  @referendum_brief = args[:referendum_brief] if args.key?(:referendum_brief)
@@ -449,63 +451,6 @@ module Google
449
451
  end
450
452
  end
451
453
 
452
- #
453
- class ContextParams
454
- include Google::Apis::Core::Hashable
455
-
456
- #
457
- # Corresponds to the JSON property `clientProfile`
458
- # @return [String]
459
- attr_accessor :client_profile
460
-
461
- def initialize(**args)
462
- update!(**args)
463
- end
464
-
465
- # Update properties of this object
466
- def update!(**args)
467
- @client_profile = args[:client_profile] if args.key?(:client_profile)
468
- end
469
- end
470
-
471
- # A request to look up representative information for a single division.
472
- class DivisionRepresentativeInfoRequest
473
- include Google::Apis::Core::Hashable
474
-
475
- #
476
- # Corresponds to the JSON property `contextParams`
477
- # @return [Google::Apis::CivicinfoV2::ContextParams]
478
- attr_accessor :context_params
479
-
480
- def initialize(**args)
481
- update!(**args)
482
- end
483
-
484
- # Update properties of this object
485
- def update!(**args)
486
- @context_params = args[:context_params] if args.key?(:context_params)
487
- end
488
- end
489
-
490
- # A search request for political geographies.
491
- class DivisionSearchRequest
492
- include Google::Apis::Core::Hashable
493
-
494
- #
495
- # Corresponds to the JSON property `contextParams`
496
- # @return [Google::Apis::CivicinfoV2::ContextParams]
497
- attr_accessor :context_params
498
-
499
- def initialize(**args)
500
- update!(**args)
501
- end
502
-
503
- # Update properties of this object
504
- def update!(**args)
505
- @context_params = args[:context_params] if args.key?(:context_params)
506
- end
507
- end
508
-
509
454
  # The result of a division search query.
510
455
  class SearchDivisionResponse
511
456
  include Google::Apis::Core::Hashable
@@ -550,7 +495,7 @@ module Google
550
495
  # @return [String]
551
496
  attr_accessor :name
552
497
 
553
- # The unique Open Civic Data identifier for this division.
498
+ # The unique Open Civic Data identifier for this division
554
499
  # Corresponds to the JSON property `ocdId`
555
500
  # @return [String]
556
501
  attr_accessor :ocd_id
@@ -650,25 +595,6 @@ module Google
650
595
  end
651
596
  end
652
597
 
653
- #
654
- class ElectionsQueryRequest
655
- include Google::Apis::Core::Hashable
656
-
657
- #
658
- # Corresponds to the JSON property `contextParams`
659
- # @return [Google::Apis::CivicinfoV2::ContextParams]
660
- attr_accessor :context_params
661
-
662
- def initialize(**args)
663
- update!(**args)
664
- end
665
-
666
- # Update properties of this object
667
- def update!(**args)
668
- @context_params = args[:context_params] if args.key?(:context_params)
669
- end
670
- end
671
-
672
598
  # The list of elections available for this version of the API.
673
599
  class QueryElectionsResponse
674
600
  include Google::Apis::Core::Hashable
@@ -705,11 +631,6 @@ module Google
705
631
  # @return [String]
706
632
  attr_accessor :id
707
633
 
708
- #
709
- # Corresponds to the JSON property `kgForeignKey`
710
- # @return [String]
711
- attr_accessor :kg_foreign_key
712
-
713
634
  # The name of the district.
714
635
  # Corresponds to the JSON property `name`
715
636
  # @return [String]
@@ -730,43 +651,22 @@ module Google
730
651
  # Update properties of this object
731
652
  def update!(**args)
732
653
  @id = args[:id] if args.key?(:id)
733
- @kg_foreign_key = args[:kg_foreign_key] if args.key?(:kg_foreign_key)
734
654
  @name = args[:name] if args.key?(:name)
735
655
  @scope = args[:scope] if args.key?(:scope)
736
656
  end
737
657
  end
738
658
 
739
- #
740
- class FieldMetadataProto
741
- include Google::Apis::Core::Hashable
742
-
743
- #
744
- # Corresponds to the JSON property `internal`
745
- # @return [Google::Apis::CivicinfoV2::InternalFieldMetadataProto]
746
- attr_accessor :internal
747
-
748
- def initialize(**args)
749
- update!(**args)
750
- end
751
-
752
- # Update properties of this object
753
- def update!(**args)
754
- @internal = args[:internal] if args.key?(:internal)
755
- end
756
- end
757
-
758
659
  # Describes a political geography.
759
660
  class GeographicDivision
760
661
  include Google::Apis::Core::Hashable
761
662
 
762
- # Any other valid OCD IDs that refer to the same division.
763
- # Because OCD IDs are meant to be human-readable and at least somewhat
764
- # predictable, there are occasionally several identifiers for a single division.
765
- # These identifiers are defined to be equivalent to one another, and one is
766
- # always indicated as the primary identifier. The primary identifier will be
767
- # returned in ocd_id above, and any other equivalent valid identifiers will be
768
- # returned in this list.
769
- # For example, if this division's OCD ID is ocd-division/country:us/district:dc,
663
+ # Any other valid OCD IDs that refer to the same division.\n\nBecause OCD IDs
664
+ # are meant to be human-readable and at least somewhat predictable, there are
665
+ # occasionally several identifiers for a single division. These identifiers are
666
+ # defined to be equivalent to one another, and one is always indicated as the
667
+ # primary identifier. The primary identifier will be returned in ocd_id above,
668
+ # and any other equivalent valid identifiers will be returned in this list.\n\
669
+ # nFor example, if this division's OCD ID is ocd-division/country:us/district:dc,
770
670
  # this will contain ocd-division/country:us/state:dc.
771
671
  # Corresponds to the JSON property `alsoKnownAs`
772
672
  # @return [Array<String>]
@@ -796,57 +696,6 @@ module Google
796
696
  end
797
697
  end
798
698
 
799
- #
800
- class InternalFieldMetadataProto
801
- include Google::Apis::Core::Hashable
802
-
803
- #
804
- # Corresponds to the JSON property `isAuto`
805
- # @return [Boolean]
806
- attr_accessor :is_auto
807
- alias_method :is_auto?, :is_auto
808
-
809
- #
810
- # Corresponds to the JSON property `sourceSummary`
811
- # @return [Google::Apis::CivicinfoV2::InternalSourceSummaryProto]
812
- attr_accessor :source_summary
813
-
814
- def initialize(**args)
815
- update!(**args)
816
- end
817
-
818
- # Update properties of this object
819
- def update!(**args)
820
- @is_auto = args[:is_auto] if args.key?(:is_auto)
821
- @source_summary = args[:source_summary] if args.key?(:source_summary)
822
- end
823
- end
824
-
825
- #
826
- class InternalSourceSummaryProto
827
- include Google::Apis::Core::Hashable
828
-
829
- #
830
- # Corresponds to the JSON property `dataset`
831
- # @return [String]
832
- attr_accessor :dataset
833
-
834
- #
835
- # Corresponds to the JSON property `provider`
836
- # @return [String]
837
- attr_accessor :provider
838
-
839
- def initialize(**args)
840
- update!(**args)
841
- end
842
-
843
- # Update properties of this object
844
- def update!(**args)
845
- @dataset = args[:dataset] if args.key?(:dataset)
846
- @provider = args[:provider] if args.key?(:provider)
847
- end
848
- end
849
-
850
699
  # Information about an Office held by one or more Officials.
851
700
  class Office
852
701
  include Google::Apis::Core::Hashable
@@ -966,37 +815,6 @@ module Google
966
815
  end
967
816
  end
968
817
 
969
- #
970
- class PointProto
971
- include Google::Apis::Core::Hashable
972
-
973
- #
974
- # Corresponds to the JSON property `latE7`
975
- # @return [Fixnum]
976
- attr_accessor :lat_e7
977
-
978
- #
979
- # Corresponds to the JSON property `lngE7`
980
- # @return [Fixnum]
981
- attr_accessor :lng_e7
982
-
983
- #
984
- # Corresponds to the JSON property `metadata`
985
- # @return [Google::Apis::CivicinfoV2::FieldMetadataProto]
986
- attr_accessor :metadata
987
-
988
- def initialize(**args)
989
- update!(**args)
990
- end
991
-
992
- # Update properties of this object
993
- def update!(**args)
994
- @lat_e7 = args[:lat_e7] if args.key?(:lat_e7)
995
- @lng_e7 = args[:lng_e7] if args.key?(:lng_e7)
996
- @metadata = args[:metadata] if args.key?(:metadata)
997
- end
998
- end
999
-
1000
818
  # A location where a voter can vote. This may be an early vote site, an election
1001
819
  # day voting location, or a drop off location for a completed ballot.
1002
820
  class PollingLocation
@@ -1090,218 +908,12 @@ module Google
1090
908
  end
1091
909
  end
1092
910
 
1093
- #
1094
- class PostalAddress
1095
- include Google::Apis::Core::Hashable
1096
-
1097
- #
1098
- # Corresponds to the JSON property `addressLines`
1099
- # @return [Array<String>]
1100
- attr_accessor :address_lines
1101
-
1102
- #
1103
- # Corresponds to the JSON property `administrativeAreaName`
1104
- # @return [String]
1105
- attr_accessor :administrative_area_name
1106
-
1107
- #
1108
- # Corresponds to the JSON property `countryName`
1109
- # @return [String]
1110
- attr_accessor :country_name
1111
-
1112
- #
1113
- # Corresponds to the JSON property `countryNameCode`
1114
- # @return [String]
1115
- attr_accessor :country_name_code
1116
-
1117
- #
1118
- # Corresponds to the JSON property `dependentLocalityName`
1119
- # @return [String]
1120
- attr_accessor :dependent_locality_name
1121
-
1122
- #
1123
- # Corresponds to the JSON property `dependentThoroughfareName`
1124
- # @return [String]
1125
- attr_accessor :dependent_thoroughfare_name
1126
-
1127
- #
1128
- # Corresponds to the JSON property `firmName`
1129
- # @return [String]
1130
- attr_accessor :firm_name
1131
-
1132
- #
1133
- # Corresponds to the JSON property `isDisputed`
1134
- # @return [Boolean]
1135
- attr_accessor :is_disputed
1136
- alias_method :is_disputed?, :is_disputed
1137
-
1138
- #
1139
- # Corresponds to the JSON property `languageCode`
1140
- # @return [String]
1141
- attr_accessor :language_code
1142
-
1143
- #
1144
- # Corresponds to the JSON property `localityName`
1145
- # @return [String]
1146
- attr_accessor :locality_name
1147
-
1148
- #
1149
- # Corresponds to the JSON property `postBoxNumber`
1150
- # @return [String]
1151
- attr_accessor :post_box_number
1152
-
1153
- #
1154
- # Corresponds to the JSON property `postalCodeNumber`
1155
- # @return [String]
1156
- attr_accessor :postal_code_number
1157
-
1158
- #
1159
- # Corresponds to the JSON property `postalCodeNumberExtension`
1160
- # @return [String]
1161
- attr_accessor :postal_code_number_extension
1162
-
1163
- #
1164
- # Corresponds to the JSON property `premiseName`
1165
- # @return [String]
1166
- attr_accessor :premise_name
1167
-
1168
- #
1169
- # Corresponds to the JSON property `recipientName`
1170
- # @return [String]
1171
- attr_accessor :recipient_name
1172
-
1173
- #
1174
- # Corresponds to the JSON property `sortingCode`
1175
- # @return [String]
1176
- attr_accessor :sorting_code
1177
-
1178
- #
1179
- # Corresponds to the JSON property `subAdministrativeAreaName`
1180
- # @return [String]
1181
- attr_accessor :sub_administrative_area_name
1182
-
1183
- #
1184
- # Corresponds to the JSON property `subPremiseName`
1185
- # @return [String]
1186
- attr_accessor :sub_premise_name
1187
-
1188
- #
1189
- # Corresponds to the JSON property `thoroughfareName`
1190
- # @return [String]
1191
- attr_accessor :thoroughfare_name
1192
-
1193
- #
1194
- # Corresponds to the JSON property `thoroughfareNumber`
1195
- # @return [String]
1196
- attr_accessor :thoroughfare_number
1197
-
1198
- def initialize(**args)
1199
- update!(**args)
1200
- end
1201
-
1202
- # Update properties of this object
1203
- def update!(**args)
1204
- @address_lines = args[:address_lines] if args.key?(:address_lines)
1205
- @administrative_area_name = args[:administrative_area_name] if args.key?(:administrative_area_name)
1206
- @country_name = args[:country_name] if args.key?(:country_name)
1207
- @country_name_code = args[:country_name_code] if args.key?(:country_name_code)
1208
- @dependent_locality_name = args[:dependent_locality_name] if args.key?(:dependent_locality_name)
1209
- @dependent_thoroughfare_name = args[:dependent_thoroughfare_name] if args.key?(:dependent_thoroughfare_name)
1210
- @firm_name = args[:firm_name] if args.key?(:firm_name)
1211
- @is_disputed = args[:is_disputed] if args.key?(:is_disputed)
1212
- @language_code = args[:language_code] if args.key?(:language_code)
1213
- @locality_name = args[:locality_name] if args.key?(:locality_name)
1214
- @post_box_number = args[:post_box_number] if args.key?(:post_box_number)
1215
- @postal_code_number = args[:postal_code_number] if args.key?(:postal_code_number)
1216
- @postal_code_number_extension = args[:postal_code_number_extension] if args.key?(:postal_code_number_extension)
1217
- @premise_name = args[:premise_name] if args.key?(:premise_name)
1218
- @recipient_name = args[:recipient_name] if args.key?(:recipient_name)
1219
- @sorting_code = args[:sorting_code] if args.key?(:sorting_code)
1220
- @sub_administrative_area_name = args[:sub_administrative_area_name] if args.key?(:sub_administrative_area_name)
1221
- @sub_premise_name = args[:sub_premise_name] if args.key?(:sub_premise_name)
1222
- @thoroughfare_name = args[:thoroughfare_name] if args.key?(:thoroughfare_name)
1223
- @thoroughfare_number = args[:thoroughfare_number] if args.key?(:thoroughfare_number)
1224
- end
1225
- end
1226
-
1227
- #
1228
- class Provenance
1229
- include Google::Apis::Core::Hashable
1230
-
1231
- #
1232
- # Corresponds to the JSON property `collidedSegmentSource`
1233
- # @return [Google::Apis::CivicinfoV2::StreetSegmentList]
1234
- attr_accessor :collided_segment_source
1235
-
1236
- #
1237
- # Corresponds to the JSON property `ctclContestUuid`
1238
- # @return [String]
1239
- attr_accessor :ctcl_contest_uuid
1240
-
1241
- #
1242
- # Corresponds to the JSON property `ctclOfficeUuid`
1243
- # @return [String]
1244
- attr_accessor :ctcl_office_uuid
1245
-
1246
- #
1247
- # Corresponds to the JSON property `datasetId`
1248
- # @return [Fixnum]
1249
- attr_accessor :dataset_id
1250
-
1251
- #
1252
- # Corresponds to the JSON property `precinctId`
1253
- # @return [Fixnum]
1254
- attr_accessor :precinct_id
1255
-
1256
- #
1257
- # Corresponds to the JSON property `precinctSplitId`
1258
- # @return [Fixnum]
1259
- attr_accessor :precinct_split_id
1260
-
1261
- #
1262
- # Corresponds to the JSON property `tsStreetSegmentId`
1263
- # @return [String]
1264
- attr_accessor :ts_street_segment_id
1265
-
1266
- #
1267
- # Corresponds to the JSON property `vip5PrecinctId`
1268
- # @return [String]
1269
- attr_accessor :vip5_precinct_id
1270
-
1271
- #
1272
- # Corresponds to the JSON property `vip5StreetSegmentId`
1273
- # @return [String]
1274
- attr_accessor :vip5_street_segment_id
1275
-
1276
- #
1277
- # Corresponds to the JSON property `vipStreetSegmentId`
1278
- # @return [Fixnum]
1279
- attr_accessor :vip_street_segment_id
1280
-
1281
- def initialize(**args)
1282
- update!(**args)
1283
- end
1284
-
1285
- # Update properties of this object
1286
- def update!(**args)
1287
- @collided_segment_source = args[:collided_segment_source] if args.key?(:collided_segment_source)
1288
- @ctcl_contest_uuid = args[:ctcl_contest_uuid] if args.key?(:ctcl_contest_uuid)
1289
- @ctcl_office_uuid = args[:ctcl_office_uuid] if args.key?(:ctcl_office_uuid)
1290
- @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
1291
- @precinct_id = args[:precinct_id] if args.key?(:precinct_id)
1292
- @precinct_split_id = args[:precinct_split_id] if args.key?(:precinct_split_id)
1293
- @ts_street_segment_id = args[:ts_street_segment_id] if args.key?(:ts_street_segment_id)
1294
- @vip5_precinct_id = args[:vip5_precinct_id] if args.key?(:vip5_precinct_id)
1295
- @vip5_street_segment_id = args[:vip5_street_segment_id] if args.key?(:vip5_street_segment_id)
1296
- @vip_street_segment_id = args[:vip_street_segment_id] if args.key?(:vip_street_segment_id)
1297
- end
1298
- end
1299
-
1300
911
  #
1301
912
  class RepresentativeInfoData
1302
913
  include Google::Apis::Core::Hashable
1303
914
 
1304
- # Political geographic divisions that contain the requested address.
915
+ # A map of political geographic divisions that contain the requested address,
916
+ # keyed by the unique Open Civic Data identifier for this division.
1305
917
  # Corresponds to the JSON property `divisions`
1306
918
  # @return [Hash<String,Google::Apis::CivicinfoV2::GeographicDivision>]
1307
919
  attr_accessor :divisions
@@ -1330,31 +942,12 @@ module Google
1330
942
  end
1331
943
  end
1332
944
 
1333
- # A request for political geography and representative information for an
1334
- # address.
1335
- class RepresentativeInfoRequest
1336
- include Google::Apis::Core::Hashable
1337
-
1338
- #
1339
- # Corresponds to the JSON property `contextParams`
1340
- # @return [Google::Apis::CivicinfoV2::ContextParams]
1341
- attr_accessor :context_params
1342
-
1343
- def initialize(**args)
1344
- update!(**args)
1345
- end
1346
-
1347
- # Update properties of this object
1348
- def update!(**args)
1349
- @context_params = args[:context_params] if args.key?(:context_params)
1350
- end
1351
- end
1352
-
1353
945
  # The result of a representative info lookup query.
1354
946
  class RepresentativeInfoResponse
1355
947
  include Google::Apis::Core::Hashable
1356
948
 
1357
- # Political geographic divisions that contain the requested address.
949
+ # A map of political geographic divisions that contain the requested address,
950
+ # keyed by the unique Open Civic Data identifier for this division.
1358
951
  # Corresponds to the JSON property `divisions`
1359
952
  # @return [Hash<String,Google::Apis::CivicinfoV2::GeographicDivision>]
1360
953
  attr_accessor :divisions
@@ -1477,336 +1070,6 @@ module Google
1477
1070
  end
1478
1071
  end
1479
1072
 
1480
- #
1481
- class StreetSegment
1482
- include Google::Apis::Core::Hashable
1483
-
1484
- #
1485
- # Corresponds to the JSON property `administrationRegionIds`
1486
- # @return [Array<String>]
1487
- attr_accessor :administration_region_ids
1488
-
1489
- #
1490
- # Corresponds to the JSON property `beforeGeocodeId`
1491
- # @return [String]
1492
- attr_accessor :before_geocode_id
1493
-
1494
- #
1495
- # Corresponds to the JSON property `catalistUniquePrecinctCode`
1496
- # @return [String]
1497
- attr_accessor :catalist_unique_precinct_code
1498
-
1499
- #
1500
- # Corresponds to the JSON property `city`
1501
- # @return [String]
1502
- attr_accessor :city
1503
-
1504
- #
1505
- # Corresponds to the JSON property `cityCouncilDistrict`
1506
- # @return [String]
1507
- attr_accessor :city_council_district
1508
-
1509
- #
1510
- # Corresponds to the JSON property `congressionalDistrict`
1511
- # @return [String]
1512
- attr_accessor :congressional_district
1513
-
1514
- #
1515
- # Corresponds to the JSON property `contestIds`
1516
- # @return [Array<String>]
1517
- attr_accessor :contest_ids
1518
-
1519
- #
1520
- # Corresponds to the JSON property `countyCouncilDistrict`
1521
- # @return [String]
1522
- attr_accessor :county_council_district
1523
-
1524
- #
1525
- # Corresponds to the JSON property `countyFips`
1526
- # @return [String]
1527
- attr_accessor :county_fips
1528
-
1529
- #
1530
- # Corresponds to the JSON property `datasetId`
1531
- # @return [Fixnum]
1532
- attr_accessor :dataset_id
1533
-
1534
- #
1535
- # Corresponds to the JSON property `earlyVoteSiteByIds`
1536
- # @return [Array<String>]
1537
- attr_accessor :early_vote_site_by_ids
1538
-
1539
- #
1540
- # Corresponds to the JSON property `endHouseNumber`
1541
- # @return [Fixnum]
1542
- attr_accessor :end_house_number
1543
-
1544
- #
1545
- # Corresponds to the JSON property `geocodedPoint`
1546
- # @return [Google::Apis::CivicinfoV2::PointProto]
1547
- attr_accessor :geocoded_point
1548
-
1549
- #
1550
- # Corresponds to the JSON property `geographicDivisionOcdIds`
1551
- # @return [Array<String>]
1552
- attr_accessor :geographic_division_ocd_ids
1553
-
1554
- #
1555
- # Corresponds to the JSON property `id`
1556
- # @return [String]
1557
- attr_accessor :id
1558
-
1559
- #
1560
- # Corresponds to the JSON property `judicialDistrict`
1561
- # @return [String]
1562
- attr_accessor :judicial_district
1563
-
1564
- #
1565
- # Corresponds to the JSON property `mailOnly`
1566
- # @return [Boolean]
1567
- attr_accessor :mail_only
1568
- alias_method :mail_only?, :mail_only
1569
-
1570
- #
1571
- # Corresponds to the JSON property `municipalDistrict`
1572
- # @return [String]
1573
- attr_accessor :municipal_district
1574
-
1575
- #
1576
- # Corresponds to the JSON property `ncoaAddress`
1577
- # @return [String]
1578
- attr_accessor :ncoa_address
1579
-
1580
- #
1581
- # Corresponds to the JSON property `oddOrEvens`
1582
- # @return [Array<String>]
1583
- attr_accessor :odd_or_evens
1584
-
1585
- #
1586
- # Corresponds to the JSON property `originalId`
1587
- # @return [String]
1588
- attr_accessor :original_id
1589
-
1590
- #
1591
- # Corresponds to the JSON property `pollinglocationByIds`
1592
- # @return [Array<String>]
1593
- attr_accessor :pollinglocation_by_ids
1594
-
1595
- #
1596
- # Corresponds to the JSON property `precinctName`
1597
- # @return [String]
1598
- attr_accessor :precinct_name
1599
-
1600
- #
1601
- # Corresponds to the JSON property `precinctOcdId`
1602
- # @return [String]
1603
- attr_accessor :precinct_ocd_id
1604
-
1605
- #
1606
- # Corresponds to the JSON property `provenances`
1607
- # @return [Array<Google::Apis::CivicinfoV2::Provenance>]
1608
- attr_accessor :provenances
1609
-
1610
- #
1611
- # Corresponds to the JSON property `published`
1612
- # @return [Boolean]
1613
- attr_accessor :published
1614
- alias_method :published?, :published
1615
-
1616
- #
1617
- # Corresponds to the JSON property `schoolDistrict`
1618
- # @return [String]
1619
- attr_accessor :school_district
1620
-
1621
- #
1622
- # Corresponds to the JSON property `startHouseNumber`
1623
- # @return [Fixnum]
1624
- attr_accessor :start_house_number
1625
-
1626
- #
1627
- # Corresponds to the JSON property `startLatE7`
1628
- # @return [Fixnum]
1629
- attr_accessor :start_lat_e7
1630
-
1631
- #
1632
- # Corresponds to the JSON property `startLngE7`
1633
- # @return [Fixnum]
1634
- attr_accessor :start_lng_e7
1635
-
1636
- #
1637
- # Corresponds to the JSON property `state`
1638
- # @return [String]
1639
- attr_accessor :state
1640
-
1641
- #
1642
- # Corresponds to the JSON property `stateHouseDistrict`
1643
- # @return [String]
1644
- attr_accessor :state_house_district
1645
-
1646
- #
1647
- # Corresponds to the JSON property `stateSenateDistrict`
1648
- # @return [String]
1649
- attr_accessor :state_senate_district
1650
-
1651
- #
1652
- # Corresponds to the JSON property `streetName`
1653
- # @return [String]
1654
- attr_accessor :street_name
1655
-
1656
- #
1657
- # Corresponds to the JSON property `subAdministrativeAreaName`
1658
- # @return [String]
1659
- attr_accessor :sub_administrative_area_name
1660
-
1661
- #
1662
- # Corresponds to the JSON property `surrogateId`
1663
- # @return [Fixnum]
1664
- attr_accessor :surrogate_id
1665
-
1666
- #
1667
- # Corresponds to the JSON property `targetsmartUniquePrecinctCode`
1668
- # @return [String]
1669
- attr_accessor :targetsmart_unique_precinct_code
1670
-
1671
- #
1672
- # Corresponds to the JSON property `townshipDistrict`
1673
- # @return [String]
1674
- attr_accessor :township_district
1675
-
1676
- #
1677
- # Corresponds to the JSON property `unitNumber`
1678
- # @return [String]
1679
- attr_accessor :unit_number
1680
-
1681
- #
1682
- # Corresponds to the JSON property `unitType`
1683
- # @return [String]
1684
- attr_accessor :unit_type
1685
-
1686
- #
1687
- # Corresponds to the JSON property `vanPrecinctCode`
1688
- # @return [String]
1689
- attr_accessor :van_precinct_code
1690
-
1691
- #
1692
- # Corresponds to the JSON property `voterGeographicDivisionOcdIds`
1693
- # @return [Array<String>]
1694
- attr_accessor :voter_geographic_division_ocd_ids
1695
-
1696
- #
1697
- # Corresponds to the JSON property `wardDistrict`
1698
- # @return [String]
1699
- attr_accessor :ward_district
1700
-
1701
- #
1702
- # Corresponds to the JSON property `wildcard`
1703
- # @return [Boolean]
1704
- attr_accessor :wildcard
1705
- alias_method :wildcard?, :wildcard
1706
-
1707
- #
1708
- # Corresponds to the JSON property `zip`
1709
- # @return [String]
1710
- attr_accessor :zip
1711
-
1712
- def initialize(**args)
1713
- update!(**args)
1714
- end
1715
-
1716
- # Update properties of this object
1717
- def update!(**args)
1718
- @administration_region_ids = args[:administration_region_ids] if args.key?(:administration_region_ids)
1719
- @before_geocode_id = args[:before_geocode_id] if args.key?(:before_geocode_id)
1720
- @catalist_unique_precinct_code = args[:catalist_unique_precinct_code] if args.key?(:catalist_unique_precinct_code)
1721
- @city = args[:city] if args.key?(:city)
1722
- @city_council_district = args[:city_council_district] if args.key?(:city_council_district)
1723
- @congressional_district = args[:congressional_district] if args.key?(:congressional_district)
1724
- @contest_ids = args[:contest_ids] if args.key?(:contest_ids)
1725
- @county_council_district = args[:county_council_district] if args.key?(:county_council_district)
1726
- @county_fips = args[:county_fips] if args.key?(:county_fips)
1727
- @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
1728
- @early_vote_site_by_ids = args[:early_vote_site_by_ids] if args.key?(:early_vote_site_by_ids)
1729
- @end_house_number = args[:end_house_number] if args.key?(:end_house_number)
1730
- @geocoded_point = args[:geocoded_point] if args.key?(:geocoded_point)
1731
- @geographic_division_ocd_ids = args[:geographic_division_ocd_ids] if args.key?(:geographic_division_ocd_ids)
1732
- @id = args[:id] if args.key?(:id)
1733
- @judicial_district = args[:judicial_district] if args.key?(:judicial_district)
1734
- @mail_only = args[:mail_only] if args.key?(:mail_only)
1735
- @municipal_district = args[:municipal_district] if args.key?(:municipal_district)
1736
- @ncoa_address = args[:ncoa_address] if args.key?(:ncoa_address)
1737
- @odd_or_evens = args[:odd_or_evens] if args.key?(:odd_or_evens)
1738
- @original_id = args[:original_id] if args.key?(:original_id)
1739
- @pollinglocation_by_ids = args[:pollinglocation_by_ids] if args.key?(:pollinglocation_by_ids)
1740
- @precinct_name = args[:precinct_name] if args.key?(:precinct_name)
1741
- @precinct_ocd_id = args[:precinct_ocd_id] if args.key?(:precinct_ocd_id)
1742
- @provenances = args[:provenances] if args.key?(:provenances)
1743
- @published = args[:published] if args.key?(:published)
1744
- @school_district = args[:school_district] if args.key?(:school_district)
1745
- @start_house_number = args[:start_house_number] if args.key?(:start_house_number)
1746
- @start_lat_e7 = args[:start_lat_e7] if args.key?(:start_lat_e7)
1747
- @start_lng_e7 = args[:start_lng_e7] if args.key?(:start_lng_e7)
1748
- @state = args[:state] if args.key?(:state)
1749
- @state_house_district = args[:state_house_district] if args.key?(:state_house_district)
1750
- @state_senate_district = args[:state_senate_district] if args.key?(:state_senate_district)
1751
- @street_name = args[:street_name] if args.key?(:street_name)
1752
- @sub_administrative_area_name = args[:sub_administrative_area_name] if args.key?(:sub_administrative_area_name)
1753
- @surrogate_id = args[:surrogate_id] if args.key?(:surrogate_id)
1754
- @targetsmart_unique_precinct_code = args[:targetsmart_unique_precinct_code] if args.key?(:targetsmart_unique_precinct_code)
1755
- @township_district = args[:township_district] if args.key?(:township_district)
1756
- @unit_number = args[:unit_number] if args.key?(:unit_number)
1757
- @unit_type = args[:unit_type] if args.key?(:unit_type)
1758
- @van_precinct_code = args[:van_precinct_code] if args.key?(:van_precinct_code)
1759
- @voter_geographic_division_ocd_ids = args[:voter_geographic_division_ocd_ids] if args.key?(:voter_geographic_division_ocd_ids)
1760
- @ward_district = args[:ward_district] if args.key?(:ward_district)
1761
- @wildcard = args[:wildcard] if args.key?(:wildcard)
1762
- @zip = args[:zip] if args.key?(:zip)
1763
- end
1764
- end
1765
-
1766
- #
1767
- class StreetSegmentList
1768
- include Google::Apis::Core::Hashable
1769
-
1770
- #
1771
- # Corresponds to the JSON property `segments`
1772
- # @return [Array<Google::Apis::CivicinfoV2::StreetSegment>]
1773
- attr_accessor :segments
1774
-
1775
- def initialize(**args)
1776
- update!(**args)
1777
- end
1778
-
1779
- # Update properties of this object
1780
- def update!(**args)
1781
- @segments = args[:segments] if args.key?(:segments)
1782
- end
1783
- end
1784
-
1785
- # A request for information about a voter.
1786
- class VoterInfoRequest
1787
- include Google::Apis::Core::Hashable
1788
-
1789
- #
1790
- # Corresponds to the JSON property `contextParams`
1791
- # @return [Google::Apis::CivicinfoV2::ContextParams]
1792
- attr_accessor :context_params
1793
-
1794
- #
1795
- # Corresponds to the JSON property `voterInfoSegmentResult`
1796
- # @return [Google::Apis::CivicinfoV2::VoterInfoSegmentResult]
1797
- attr_accessor :voter_info_segment_result
1798
-
1799
- def initialize(**args)
1800
- update!(**args)
1801
- end
1802
-
1803
- # Update properties of this object
1804
- def update!(**args)
1805
- @context_params = args[:context_params] if args.key?(:context_params)
1806
- @voter_info_segment_result = args[:voter_info_segment_result] if args.key?(:voter_info_segment_result)
1807
- end
1808
- end
1809
-
1810
1073
  # The result of a voter info lookup query.
1811
1074
  class VoterInfoResponse
1812
1075
  include Google::Apis::Core::Hashable
@@ -1876,11 +1139,6 @@ module Google
1876
1139
  # @return [String]
1877
1140
  attr_accessor :precinct_id
1878
1141
 
1879
- #
1880
- # Corresponds to the JSON property `segments`
1881
- # @return [Array<Google::Apis::CivicinfoV2::StreetSegment>]
1882
- attr_accessor :segments
1883
-
1884
1142
  # Local Election Information for the state that the voter votes in. For the US,
1885
1143
  # there will only be one element in this array.
1886
1144
  # Corresponds to the JSON property `state`
@@ -1903,47 +1161,9 @@ module Google
1903
1161
  @other_elections = args[:other_elections] if args.key?(:other_elections)
1904
1162
  @polling_locations = args[:polling_locations] if args.key?(:polling_locations)
1905
1163
  @precinct_id = args[:precinct_id] if args.key?(:precinct_id)
1906
- @segments = args[:segments] if args.key?(:segments)
1907
1164
  @state = args[:state] if args.key?(:state)
1908
1165
  end
1909
1166
  end
1910
-
1911
- #
1912
- class VoterInfoSegmentResult
1913
- include Google::Apis::Core::Hashable
1914
-
1915
- #
1916
- # Corresponds to the JSON property `generatedMillis`
1917
- # @return [Fixnum]
1918
- attr_accessor :generated_millis
1919
-
1920
- #
1921
- # Corresponds to the JSON property `postalAddress`
1922
- # @return [Google::Apis::CivicinfoV2::PostalAddress]
1923
- attr_accessor :postal_address
1924
-
1925
- # A request for information about a voter.
1926
- # Corresponds to the JSON property `request`
1927
- # @return [Google::Apis::CivicinfoV2::VoterInfoRequest]
1928
- attr_accessor :request
1929
-
1930
- # The result of a voter info lookup query.
1931
- # Corresponds to the JSON property `response`
1932
- # @return [Google::Apis::CivicinfoV2::VoterInfoResponse]
1933
- attr_accessor :response
1934
-
1935
- def initialize(**args)
1936
- update!(**args)
1937
- end
1938
-
1939
- # Update properties of this object
1940
- def update!(**args)
1941
- @generated_millis = args[:generated_millis] if args.key?(:generated_millis)
1942
- @postal_address = args[:postal_address] if args.key?(:postal_address)
1943
- @request = args[:request] if args.key?(:request)
1944
- @response = args[:response] if args.key?(:response)
1945
- end
1946
- end
1947
1167
  end
1948
1168
  end
1949
1169
  end