google-api-client 0.40.0 → 0.41.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (452) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +297 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/admin_directory_v1.rb +1 -1
  5. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  6. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  7. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  8. data/generated/google/apis/admob_v1.rb +1 -1
  9. data/generated/google/apis/admob_v1/classes.rb +5 -6
  10. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  11. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  12. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  13. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  14. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  15. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  18. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  19. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  20. data/generated/google/apis/androidpublisher_v3/classes.rb +499 -684
  21. data/generated/google/apis/androidpublisher_v3/representations.rb +19 -166
  22. data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
  23. data/generated/google/apis/apigee_v1.rb +1 -1
  24. data/generated/google/apis/apigee_v1/classes.rb +144 -48
  25. data/generated/google/apis/apigee_v1/representations.rb +17 -0
  26. data/generated/google/apis/apigee_v1/service.rb +23 -24
  27. data/generated/google/apis/appsmarket_v2.rb +3 -3
  28. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  29. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  30. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  31. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  32. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  33. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  34. data/generated/google/apis/bigquery_v2.rb +1 -1
  35. data/generated/google/apis/bigquery_v2/classes.rb +51 -13
  36. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  37. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  39. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  40. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  45. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  46. data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
  47. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  48. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  49. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  50. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  51. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  52. data/generated/google/apis/books_v1.rb +1 -1
  53. data/generated/google/apis/books_v1/service.rb +2 -2
  54. data/generated/google/apis/calendar_v3.rb +1 -1
  55. data/generated/google/apis/chat_v1.rb +1 -1
  56. data/generated/google/apis/chat_v1/classes.rb +2 -0
  57. data/generated/google/apis/civicinfo_v2.rb +2 -2
  58. data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
  59. data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
  60. data/generated/google/apis/civicinfo_v2/service.rb +27 -62
  61. data/generated/google/apis/cloudasset_v1.rb +1 -1
  62. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  63. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  64. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  65. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  66. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  67. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  68. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  69. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  70. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  71. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  72. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  74. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  75. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  76. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  77. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  78. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  79. data/generated/google/apis/cloudbuild_v1/classes.rb +287 -15
  80. data/generated/google/apis/cloudbuild_v1/representations.rb +131 -4
  81. data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
  82. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +298 -26
  84. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +136 -9
  85. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  86. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  87. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +298 -26
  88. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +136 -9
  89. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  90. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  91. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
  95. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
  98. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  99. data/generated/google/apis/cloudkms_v1.rb +1 -1
  100. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  101. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  102. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  103. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  104. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  105. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  107. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  108. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  111. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  112. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  113. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  114. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  115. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  116. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  117. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  118. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
  119. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  120. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
  121. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  122. data/generated/google/apis/composer_v1beta1.rb +1 -1
  123. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  124. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  125. data/generated/google/apis/compute_alpha.rb +1 -1
  126. data/generated/google/apis/compute_alpha/classes.rb +801 -219
  127. data/generated/google/apis/compute_alpha/representations.rb +220 -32
  128. data/generated/google/apis/compute_alpha/service.rb +899 -113
  129. data/generated/google/apis/compute_beta.rb +1 -1
  130. data/generated/google/apis/compute_beta/classes.rb +490 -131
  131. data/generated/google/apis/compute_beta/representations.rb +97 -0
  132. data/generated/google/apis/compute_beta/service.rb +308 -33
  133. data/generated/google/apis/compute_v1.rb +1 -1
  134. data/generated/google/apis/compute_v1/classes.rb +706 -76
  135. data/generated/google/apis/compute_v1/representations.rb +200 -0
  136. data/generated/google/apis/compute_v1/service.rb +522 -33
  137. data/generated/google/apis/container_v1.rb +1 -1
  138. data/generated/google/apis/container_v1/classes.rb +123 -5
  139. data/generated/google/apis/container_v1/representations.rb +50 -0
  140. data/generated/google/apis/container_v1beta1.rb +1 -1
  141. data/generated/google/apis/container_v1beta1/classes.rb +142 -24
  142. data/generated/google/apis/container_v1beta1/representations.rb +37 -0
  143. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  144. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  145. data/generated/google/apis/content_v2.rb +1 -1
  146. data/generated/google/apis/content_v2/classes.rb +41 -1
  147. data/generated/google/apis/content_v2/representations.rb +17 -0
  148. data/generated/google/apis/content_v2/service.rb +15 -6
  149. data/generated/google/apis/content_v2_1.rb +1 -1
  150. data/generated/google/apis/content_v2_1/classes.rb +616 -6
  151. data/generated/google/apis/content_v2_1/representations.rb +243 -0
  152. data/generated/google/apis/content_v2_1/service.rb +95 -6
  153. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  154. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  155. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  156. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  157. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  158. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
  159. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  160. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  161. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  162. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  163. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  164. data/generated/google/apis/dataproc_v1.rb +1 -1
  165. data/generated/google/apis/dataproc_v1/classes.rb +71 -24
  166. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  167. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  168. data/generated/google/apis/dataproc_v1beta2/classes.rb +65 -23
  169. data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
  170. data/generated/google/apis/dialogflow_v2.rb +1 -1
  171. data/generated/google/apis/dialogflow_v2/classes.rb +277 -57
  172. data/generated/google/apis/dialogflow_v2/representations.rb +93 -4
  173. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  174. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  175. data/generated/google/apis/dialogflow_v2beta1/classes.rb +268 -56
  176. data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -4
  177. data/generated/google/apis/dialogflow_v2beta1/service.rb +70 -46
  178. data/generated/google/apis/displayvideo_v1.rb +1 -1
  179. data/generated/google/apis/displayvideo_v1/classes.rb +569 -6
  180. data/generated/google/apis/displayvideo_v1/representations.rb +249 -0
  181. data/generated/google/apis/displayvideo_v1/service.rb +1496 -77
  182. data/generated/google/apis/dlp_v2.rb +1 -1
  183. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  184. data/generated/google/apis/dlp_v2/service.rb +170 -64
  185. data/generated/google/apis/dns_v1beta2.rb +4 -4
  186. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  187. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  188. data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
  189. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  190. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  191. data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
  192. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  193. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  194. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  195. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  196. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  197. data/generated/google/apis/drive_v2.rb +1 -1
  198. data/generated/google/apis/drive_v2/classes.rb +9 -0
  199. data/generated/google/apis/drive_v2/representations.rb +1 -0
  200. data/generated/google/apis/drive_v2/service.rb +26 -78
  201. data/generated/google/apis/drive_v3.rb +1 -1
  202. data/generated/google/apis/drive_v3/classes.rb +9 -0
  203. data/generated/google/apis/drive_v3/representations.rb +1 -0
  204. data/generated/google/apis/drive_v3/service.rb +18 -54
  205. data/generated/google/apis/fcm_v1.rb +1 -1
  206. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  207. data/generated/google/apis/file_v1.rb +1 -1
  208. data/generated/google/apis/file_v1/classes.rb +0 -1156
  209. data/generated/google/apis/file_v1/representations.rb +0 -381
  210. data/generated/google/apis/file_v1beta1.rb +1 -1
  211. data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
  212. data/generated/google/apis/file_v1beta1/representations.rb +14 -376
  213. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  214. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  215. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  216. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  217. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  218. data/generated/google/apis/fitness_v1.rb +1 -1
  219. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  220. data/generated/google/apis/games_v1.rb +1 -1
  221. data/generated/google/apis/gameservices_v1.rb +34 -0
  222. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  223. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  224. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  225. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  226. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  227. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  228. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  229. data/generated/google/apis/gmail_v1.rb +3 -2
  230. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  231. data/generated/google/apis/gmail_v1/service.rb +551 -743
  232. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
  233. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  234. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  235. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  236. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  237. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  238. data/generated/google/apis/healthcare_v1.rb +1 -1
  239. data/generated/google/apis/healthcare_v1/classes.rb +9 -9
  240. data/generated/google/apis/healthcare_v1/service.rb +5 -3
  241. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  242. data/generated/google/apis/healthcare_v1beta1/classes.rb +919 -52
  243. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  244. data/generated/google/apis/healthcare_v1beta1/service.rb +520 -3
  245. data/generated/google/apis/iam_v1.rb +1 -1
  246. data/generated/google/apis/iam_v1/classes.rb +92 -81
  247. data/generated/google/apis/iam_v1/service.rb +167 -148
  248. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  249. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  250. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  251. data/generated/google/apis/jobs_v3.rb +1 -1
  252. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  253. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  254. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  255. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  256. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  257. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  258. data/generated/google/apis/logging_v2.rb +1 -1
  259. data/generated/google/apis/logging_v2/classes.rb +69 -21
  260. data/generated/google/apis/managedidentities_v1.rb +1 -1
  261. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  262. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  263. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  264. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  265. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  266. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  267. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  268. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  269. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  270. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  271. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  272. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  273. data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
  274. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  275. data/generated/google/apis/ml_v1.rb +1 -1
  276. data/generated/google/apis/ml_v1/classes.rb +8 -0
  277. data/generated/google/apis/ml_v1/representations.rb +1 -0
  278. data/generated/google/apis/monitoring_v1.rb +1 -1
  279. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  280. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  281. data/generated/google/apis/monitoring_v3.rb +1 -1
  282. data/generated/google/apis/monitoring_v3/classes.rb +68 -19
  283. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  284. data/generated/google/apis/osconfig_v1.rb +1 -1
  285. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  286. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  287. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  288. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  289. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  290. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  291. data/generated/google/apis/people_v1.rb +4 -1
  292. data/generated/google/apis/people_v1/classes.rb +216 -0
  293. data/generated/google/apis/people_v1/representations.rb +82 -0
  294. data/generated/google/apis/people_v1/service.rb +371 -8
  295. data/generated/google/apis/playablelocations_v3.rb +31 -0
  296. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  297. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  298. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  299. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  300. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  301. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  302. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  303. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  304. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  305. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  306. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  307. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  308. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
  309. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
  310. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +507 -0
  311. data/generated/google/apis/pubsub_v1.rb +1 -1
  312. data/generated/google/apis/pubsub_v1/classes.rb +68 -10
  313. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  314. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  315. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  316. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  317. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  318. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  319. data/generated/google/apis/recommender_v1.rb +34 -0
  320. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  321. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  322. data/generated/google/apis/recommender_v1/service.rb +266 -0
  323. data/generated/google/apis/redis_v1.rb +1 -1
  324. data/generated/google/apis/redis_v1/classes.rb +1 -1
  325. data/generated/google/apis/redis_v1/service.rb +1 -1
  326. data/generated/google/apis/redis_v1beta1.rb +1 -1
  327. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  328. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  329. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  330. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  331. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  332. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  333. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  334. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  335. data/generated/google/apis/run_v1.rb +1 -1
  336. data/generated/google/apis/run_v1/classes.rb +16 -9
  337. data/generated/google/apis/run_v1/representations.rb +1 -0
  338. data/generated/google/apis/run_v1alpha1.rb +1 -1
  339. data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
  340. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  341. data/generated/google/apis/run_v1beta1.rb +1 -1
  342. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  343. data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
  344. data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
  345. data/generated/google/apis/sasportal_v1alpha1/service.rb +507 -0
  346. data/generated/google/apis/secretmanager_v1.rb +1 -1
  347. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  348. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  349. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  350. data/generated/google/apis/securitycenter_v1.rb +1 -1
  351. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  352. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  353. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  354. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  355. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  356. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  357. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  358. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  359. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  360. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  361. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  362. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  363. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  364. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  365. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
  366. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
  367. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  368. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
  369. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
  370. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  371. data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
  372. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  373. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  374. data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
  375. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  376. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  377. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  378. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  379. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  380. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  381. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  382. data/generated/google/apis/serviceusage_v1.rb +1 -1
  383. data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
  384. data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
  385. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  386. data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
  387. data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
  388. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  389. data/generated/google/apis/sheets_v4.rb +1 -1
  390. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  391. data/generated/google/apis/slides_v1.rb +1 -1
  392. data/generated/google/apis/slides_v1/classes.rb +4 -0
  393. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  394. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  395. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  396. data/generated/google/apis/spanner_v1.rb +1 -1
  397. data/generated/google/apis/spanner_v1/classes.rb +26 -22
  398. data/generated/google/apis/spanner_v1/service.rb +15 -8
  399. data/generated/google/apis/speech_v1.rb +1 -1
  400. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  401. data/generated/google/apis/sql_v1beta4.rb +1 -1
  402. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  403. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  404. data/generated/google/apis/storage_v1.rb +1 -1
  405. data/generated/google/apis/storage_v1/service.rb +2 -3
  406. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  407. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  408. data/generated/google/apis/testing_v1.rb +1 -1
  409. data/generated/google/apis/testing_v1/classes.rb +2 -1
  410. data/generated/google/apis/texttospeech_v1.rb +1 -1
  411. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  412. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  413. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  414. data/generated/google/apis/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
  415. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  416. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  417. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  418. data/generated/google/apis/videointelligence_v1.rb +1 -1
  419. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  420. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  421. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  422. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  423. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  424. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  425. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  426. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  427. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  428. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  429. data/generated/google/apis/vision_v1.rb +1 -1
  430. data/generated/google/apis/vision_v1/classes.rb +18 -0
  431. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  432. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  433. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  434. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  435. data/generated/google/apis/webfonts_v1.rb +5 -5
  436. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  437. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  438. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  439. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  440. data/generated/google/apis/youtube_v3.rb +1 -1
  441. data/generated/google/apis/youtube_v3/classes.rb +38 -0
  442. data/generated/google/apis/youtube_v3/representations.rb +27 -0
  443. data/generated/google/apis/youtube_v3/service.rb +32 -0
  444. data/lib/google/apis/core/api_command.rb +12 -7
  445. data/lib/google/apis/options.rb +5 -1
  446. data/lib/google/apis/version.rb +1 -1
  447. metadata +31 -11
  448. data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
  449. data/generated/google/apis/customsearch_v1/representations.rb +0 -372
  450. data/generated/google/apis/customsearch_v1/service.rb +0 -608
  451. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
  452. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
@@ -367,7 +367,6 @@ module Google
367
367
  # Partially updates an instance within a project. This method can modify all
368
368
  # fields of an Instance and is the preferred way to update an Instance.
369
369
  # @param [String] name
370
- # Required. (`OutputOnly`)
371
370
  # The unique name of the instance. Values are of the form
372
371
  # `projects/`project`/instances/a-z+[a-z0-9]`.
373
372
  # @param [Google::Apis::BigtableadminV2::Instance] instance_object
@@ -477,7 +476,6 @@ module Google
477
476
  # name and type for an Instance. To update other Instance properties, such as
478
477
  # labels, use PartialUpdateInstance.
479
478
  # @param [String] name
480
- # Required. (`OutputOnly`)
481
479
  # The unique name of the instance. Values are of the form
482
480
  # `projects/`project`/instances/a-z+[a-z0-9]`.
483
481
  # @param [Google::Apis::BigtableadminV2::Instance] instance_object
@@ -668,9 +666,8 @@ module Google
668
666
 
669
667
  # Updates an app profile within an instance.
670
668
  # @param [String] name
671
- # (`OutputOnly`)
672
669
  # The unique name of the app profile. Values are of the form
673
- # `projects/<project>/instances/<instance>/appProfiles/_a-zA-Z0-9*`.
670
+ # `projects/`project`/instances/`instance`/appProfiles/_a-zA-Z0-9*`.
674
671
  # @param [Google::Apis::BigtableadminV2::AppProfile] app_profile_object
675
672
  # @param [Boolean] ignore_warnings
676
673
  # If true, ignore safety checks when updating the app profile.
@@ -850,7 +847,6 @@ module Google
850
847
 
851
848
  # Updates a cluster within an instance.
852
849
  # @param [String] name
853
- # Required. (`OutputOnly`)
854
850
  # The unique name of the cluster. Values are of the form
855
851
  # `projects/`project`/instances/`instance`/clusters/a-z*`.
856
852
  # @param [Google::Apis::BigtableadminV2::Cluster] cluster_object
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/billing/docs/how-to/budget-api-overview
27
27
  module BillingbudgetsV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200522'
29
+ REVISION = '20200626'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -221,9 +221,9 @@ module Google
221
221
  # Optional. A set of subaccounts of the form `billingAccounts/`account_id``,
222
222
  # specifying
223
223
  # that usage from only this set of subaccounts should be included in the
224
- # budget. If a subaccount is set to the name of the master account, usage
225
- # from the master account will be included. If omitted, the report will
226
- # include usage from the master account and all subaccounts, if they exist.
224
+ # budget. If a subaccount is set to the name of the resller account, usage
225
+ # from the reseller account will be included. If omitted, the report will
226
+ # include usage from the reseller account and all subaccounts, if they exist.
227
227
  # Corresponds to the JSON property `subaccounts`
228
228
  # @return [Array<String>]
229
229
  attr_accessor :subaccounts
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/binary-authorization/
27
27
  module BinaryauthorizationV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200515'
29
+ REVISION = '20200605'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -540,8 +540,7 @@ module Google
540
540
  # @return [Array<Google::Apis::BinaryauthorizationV1::AdmissionWhitelistPattern>]
541
541
  attr_accessor :admission_whitelist_patterns
542
542
 
543
- # Optional. LINT.IfChange(cluster_regex)
544
- # Per-cluster admission rules. Cluster spec format:
543
+ # Optional. Per-cluster admission rules. Cluster spec format:
545
544
  # `location.clusterId`. There can be at most one admission rule per cluster
546
545
  # spec.
547
546
  # A `location` is either a compute zone (e.g. us-central1-a) or a region
@@ -549,8 +548,6 @@ module Google
549
548
  # For `clusterId` syntax restrictions see
550
549
  # https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.
551
550
  # clusters.
552
- # LINT.ThenChange(//depot/google3/cloud/console/web/binary_authorization/api/
553
- # models/admission_rule_type.ts:cluster_regex)
554
551
  # Corresponds to the JSON property `clusterAdmissionRules`
555
552
  # @return [Hash<String,Google::Apis::BinaryauthorizationV1::AdmissionRule>]
556
553
  attr_accessor :cluster_admission_rules
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://code.google.com/apis/books/docs/v1/getting_started.html
26
26
  module BooksV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200506'
28
+ REVISION = '20200617'
29
29
 
30
30
  # Manage your books
31
31
  AUTH_BOOKS = 'https://www.googleapis.com/auth/books'
@@ -43,8 +43,8 @@ module Google
43
43
  attr_accessor :quota_user
44
44
 
45
45
  def initialize
46
- super('https://books.googleapis.com/', '')
47
- @batch_path = 'batch'
46
+ super('https://www.googleapis.com/', '')
47
+ @batch_path = 'batch/books/v1'
48
48
  end
49
49
 
50
50
  # Retrieves metadata for a specific bookshelf for the specified user.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/google-apps/calendar/firstapp
26
26
  module CalendarV3
27
27
  VERSION = 'V3'
28
- REVISION = '20200517'
28
+ REVISION = '20200610'
29
29
 
30
30
  # See, edit, share, and permanently delete all the calendars you can access using Google Calendar
31
31
  AUTH_CALENDAR = 'https://www.googleapis.com/auth/calendar'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/hangouts/chat
26
26
  module ChatV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200502'
28
+ REVISION = '20200617'
29
29
  end
30
30
  end
31
31
  end
@@ -787,6 +787,8 @@ module Google
787
787
  include Google::Apis::Core::Hashable
788
788
 
789
789
  # Output only. The display name (only if the space is a room).
790
+ # Please note that this field might not be populated in direct messages
791
+ # between humans.
790
792
  # Corresponds to the JSON property `displayName`
791
793
  # @return [String]
792
794
  attr_accessor :display_name
@@ -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 = '20200624'
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)
@@ -449,63 +443,6 @@ module Google
449
443
  end
450
444
  end
451
445
 
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
446
  # The result of a division search query.
510
447
  class SearchDivisionResponse
511
448
  include Google::Apis::Core::Hashable
@@ -550,7 +487,7 @@ module Google
550
487
  # @return [String]
551
488
  attr_accessor :name
552
489
 
553
- # The unique Open Civic Data identifier for this division.
490
+ # The unique Open Civic Data identifier for this division
554
491
  # Corresponds to the JSON property `ocdId`
555
492
  # @return [String]
556
493
  attr_accessor :ocd_id
@@ -650,25 +587,6 @@ module Google
650
587
  end
651
588
  end
652
589
 
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
590
  # The list of elections available for this version of the API.
673
591
  class QueryElectionsResponse
674
592
  include Google::Apis::Core::Hashable
@@ -705,11 +623,6 @@ module Google
705
623
  # @return [String]
706
624
  attr_accessor :id
707
625
 
708
- #
709
- # Corresponds to the JSON property `kgForeignKey`
710
- # @return [String]
711
- attr_accessor :kg_foreign_key
712
-
713
626
  # The name of the district.
714
627
  # Corresponds to the JSON property `name`
715
628
  # @return [String]
@@ -730,43 +643,22 @@ module Google
730
643
  # Update properties of this object
731
644
  def update!(**args)
732
645
  @id = args[:id] if args.key?(:id)
733
- @kg_foreign_key = args[:kg_foreign_key] if args.key?(:kg_foreign_key)
734
646
  @name = args[:name] if args.key?(:name)
735
647
  @scope = args[:scope] if args.key?(:scope)
736
648
  end
737
649
  end
738
650
 
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
651
  # Describes a political geography.
759
652
  class GeographicDivision
760
653
  include Google::Apis::Core::Hashable
761
654
 
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,
655
+ # Any other valid OCD IDs that refer to the same division.\n\nBecause OCD IDs
656
+ # are meant to be human-readable and at least somewhat predictable, there are
657
+ # occasionally several identifiers for a single division. These identifiers are
658
+ # defined to be equivalent to one another, and one is always indicated as the
659
+ # primary identifier. The primary identifier will be returned in ocd_id above,
660
+ # and any other equivalent valid identifiers will be returned in this list.\n\
661
+ # nFor example, if this division's OCD ID is ocd-division/country:us/district:dc,
770
662
  # this will contain ocd-division/country:us/state:dc.
771
663
  # Corresponds to the JSON property `alsoKnownAs`
772
664
  # @return [Array<String>]
@@ -796,57 +688,6 @@ module Google
796
688
  end
797
689
  end
798
690
 
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
691
  # Information about an Office held by one or more Officials.
851
692
  class Office
852
693
  include Google::Apis::Core::Hashable
@@ -966,37 +807,6 @@ module Google
966
807
  end
967
808
  end
968
809
 
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
810
  # A location where a voter can vote. This may be an early vote site, an election
1001
811
  # day voting location, or a drop off location for a completed ballot.
1002
812
  class PollingLocation
@@ -1090,218 +900,12 @@ module Google
1090
900
  end
1091
901
  end
1092
902
 
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
903
  #
1301
904
  class RepresentativeInfoData
1302
905
  include Google::Apis::Core::Hashable
1303
906
 
1304
- # Political geographic divisions that contain the requested address.
907
+ # A map of political geographic divisions that contain the requested address,
908
+ # keyed by the unique Open Civic Data identifier for this division.
1305
909
  # Corresponds to the JSON property `divisions`
1306
910
  # @return [Hash<String,Google::Apis::CivicinfoV2::GeographicDivision>]
1307
911
  attr_accessor :divisions
@@ -1330,31 +934,12 @@ module Google
1330
934
  end
1331
935
  end
1332
936
 
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
937
  # The result of a representative info lookup query.
1354
938
  class RepresentativeInfoResponse
1355
939
  include Google::Apis::Core::Hashable
1356
940
 
1357
- # Political geographic divisions that contain the requested address.
941
+ # A map of political geographic divisions that contain the requested address,
942
+ # keyed by the unique Open Civic Data identifier for this division.
1358
943
  # Corresponds to the JSON property `divisions`
1359
944
  # @return [Hash<String,Google::Apis::CivicinfoV2::GeographicDivision>]
1360
945
  attr_accessor :divisions
@@ -1477,336 +1062,6 @@ module Google
1477
1062
  end
1478
1063
  end
1479
1064
 
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
1065
  # The result of a voter info lookup query.
1811
1066
  class VoterInfoResponse
1812
1067
  include Google::Apis::Core::Hashable
@@ -1876,11 +1131,6 @@ module Google
1876
1131
  # @return [String]
1877
1132
  attr_accessor :precinct_id
1878
1133
 
1879
- #
1880
- # Corresponds to the JSON property `segments`
1881
- # @return [Array<Google::Apis::CivicinfoV2::StreetSegment>]
1882
- attr_accessor :segments
1883
-
1884
1134
  # Local Election Information for the state that the voter votes in. For the US,
1885
1135
  # there will only be one element in this array.
1886
1136
  # Corresponds to the JSON property `state`
@@ -1903,47 +1153,9 @@ module Google
1903
1153
  @other_elections = args[:other_elections] if args.key?(:other_elections)
1904
1154
  @polling_locations = args[:polling_locations] if args.key?(:polling_locations)
1905
1155
  @precinct_id = args[:precinct_id] if args.key?(:precinct_id)
1906
- @segments = args[:segments] if args.key?(:segments)
1907
1156
  @state = args[:state] if args.key?(:state)
1908
1157
  end
1909
1158
  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
1159
  end
1948
1160
  end
1949
1161
  end