google-api-client 0.10.3 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -18
- data/CHANGELOG.md +22 -2
- data/Gemfile +5 -7
- data/MIGRATING.md +33 -0
- data/README.md +10 -2
- data/Rakefile +1 -0
- data/bin/generate-api +7 -1
- data/dl.rb +0 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +6 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +759 -759
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +152 -152
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +376 -375
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +58 -58
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +45 -45
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -21
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +5 -5
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +5 -5
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +11 -11
- data/generated/google/apis/admin_directory_v1/representations.rb +11 -11
- data/generated/google/apis/admin_directory_v1/service.rb +1 -0
- data/generated/google/apis/admin_reports_v1/classes.rb +5 -5
- data/generated/google/apis/admin_reports_v1/representations.rb +4 -4
- data/generated/google/apis/admin_reports_v1/service.rb +1 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +2 -2
- data/generated/google/apis/adsense_v1_4/service.rb +1 -0
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/representations.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +1 -0
- data/generated/google/apis/analytics_v3/classes.rb +10 -10
- data/generated/google/apis/analytics_v3/representations.rb +10 -10
- data/generated/google/apis/analytics_v3/service.rb +1 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +933 -933
- data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
- data/generated/google/apis/analyticsreporting_v4/service.rb +5 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/classes.rb +13 -13
- data/generated/google/apis/androidpublisher_v2/representations.rb +13 -13
- data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/representations.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +1 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +1 -1
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -0
- data/generated/google/apis/appsmarket_v2.rb +35 -0
- data/generated/google/apis/appsmarket_v2/classes.rb +396 -0
- data/generated/google/apis/appsmarket_v2/representations.rb +180 -0
- data/generated/google/apis/appsmarket_v2/service.rb +187 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +1 -0
- data/generated/google/apis/bigquery_v2/classes.rb +39 -39
- data/generated/google/apis/bigquery_v2/representations.rb +38 -38
- data/generated/google/apis/bigquery_v2/service.rb +3 -2
- data/generated/google/apis/blogger_v3/classes.rb +2 -2
- data/generated/google/apis/blogger_v3/representations.rb +2 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -0
- data/generated/google/apis/books_v1/classes.rb +5 -5
- data/generated/google/apis/books_v1/representations.rb +4 -4
- data/generated/google/apis/books_v1/service.rb +1 -0
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/representations.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +1 -0
- data/generated/google/apis/civicinfo_v2/classes.rb +6 -6
- data/generated/google/apis/civicinfo_v2/representations.rb +6 -6
- data/generated/google/apis/civicinfo_v2/service.rb +2 -1
- data/generated/google/apis/classroom_v1/service.rb +1 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +1 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +626 -626
- data/generated/google/apis/cloudbuild_v1/representations.rb +109 -109
- data/generated/google/apis/cloudbuild_v1/service.rb +159 -158
- data/generated/google/apis/clouddebugger_v2/classes.rb +358 -358
- data/generated/google/apis/clouddebugger_v2/representations.rb +99 -99
- data/generated/google/apis/clouddebugger_v2/service.rb +42 -41
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +220 -220
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +52 -52
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +59 -58
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -7
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +5 -4
- data/generated/google/apis/cloudkms_v1/classes.rb +311 -311
- data/generated/google/apis/cloudkms_v1/representations.rb +87 -87
- data/generated/google/apis/cloudkms_v1/service.rb +168 -167
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +341 -341
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +62 -62
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +458 -457
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +327 -327
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +71 -71
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +237 -236
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +14 -13
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +4 -4
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +4 -4
- data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -0
- data/generated/google/apis/compute_beta/classes.rb +52 -52
- data/generated/google/apis/compute_beta/representations.rb +52 -52
- data/generated/google/apis/compute_beta/service.rb +2 -1
- data/generated/google/apis/compute_v1/classes.rb +48 -48
- data/generated/google/apis/compute_v1/representations.rb +48 -48
- data/generated/google/apis/compute_v1/service.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +38 -660
- data/generated/google/apis/content_v2/representations.rb +37 -303
- data/generated/google/apis/content_v2/service.rb +63 -279
- data/generated/google/apis/customsearch_v1/classes.rb +2 -2
- data/generated/google/apis/customsearch_v1/representations.rb +2 -2
- data/generated/google/apis/customsearch_v1/service.rb +1 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +3281 -3281
- data/generated/google/apis/dataflow_v1b3/representations.rb +777 -777
- data/generated/google/apis/dataflow_v1b3/service.rb +106 -105
- data/generated/google/apis/dataproc_v1/classes.rb +395 -395
- data/generated/google/apis/dataproc_v1/representations.rb +91 -91
- data/generated/google/apis/dataproc_v1/service.rb +356 -355
- data/generated/google/apis/datastore_v1/classes.rb +506 -506
- data/generated/google/apis/datastore_v1/representations.rb +147 -147
- data/generated/google/apis/datastore_v1/service.rb +46 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +280 -280
- data/generated/google/apis/dfareporting_v2_6/representations.rb +266 -266
- data/generated/google/apis/dfareporting_v2_6/service.rb +421 -420
- data/generated/google/apis/dfareporting_v2_7/classes.rb +280 -280
- data/generated/google/apis/dfareporting_v2_7/representations.rb +266 -266
- data/generated/google/apis/dfareporting_v2_7/service.rb +423 -422
- data/generated/google/apis/discovery_v1/service.rb +1 -0
- data/generated/google/apis/dns_v1/classes.rb +2 -2
- data/generated/google/apis/dns_v1/representations.rb +2 -2
- data/generated/google/apis/dns_v1/service.rb +1 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
- data/generated/google/apis/dns_v2beta1/representations.rb +2 -2
- data/generated/google/apis/dns_v2beta1/service.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +15 -15
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +13 -13
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +5 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +28 -28
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +28 -28
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -12
- data/generated/google/apis/drive_v2/classes.rb +17 -17
- data/generated/google/apis/drive_v2/representations.rb +17 -17
- data/generated/google/apis/drive_v2/service.rb +5 -4
- data/generated/google/apis/drive_v3/classes.rb +13 -13
- data/generated/google/apis/drive_v3/representations.rb +12 -12
- data/generated/google/apis/drive_v3/service.rb +1 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +81 -81
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +24 -24
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +201 -201
- data/generated/google/apis/firebaserules_v1/representations.rb +61 -61
- data/generated/google/apis/firebaserules_v1/service.rb +1 -0
- data/generated/google/apis/fitness_v1/classes.rb +18 -18
- data/generated/google/apis/fitness_v1/representations.rb +18 -18
- data/generated/google/apis/fitness_v1/service.rb +6 -5
- data/generated/google/apis/fusiontables_v2/classes.rb +2 -2
- data/generated/google/apis/fusiontables_v2/representations.rb +2 -2
- data/generated/google/apis/fusiontables_v2/service.rb +1 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -6
- data/generated/google/apis/games_management_v1management/representations.rb +6 -6
- data/generated/google/apis/games_management_v1management/service.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +47 -47
- data/generated/google/apis/games_v1/representations.rb +47 -47
- data/generated/google/apis/games_v1/service.rb +58 -57
- data/generated/google/apis/genomics_v1.rb +6 -6
- data/generated/google/apis/genomics_v1/classes.rb +2354 -2354
- data/generated/google/apis/genomics_v1/representations.rb +487 -487
- data/generated/google/apis/genomics_v1/service.rb +1188 -1187
- data/generated/google/apis/gmail_v1/classes.rb +11 -11
- data/generated/google/apis/gmail_v1/representations.rb +11 -11
- data/generated/google/apis/gmail_v1/service.rb +2 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -0
- data/generated/google/apis/groupssettings_v1/service.rb +1 -0
- data/generated/google/apis/iam_v1/classes.rb +437 -437
- data/generated/google/apis/iam_v1/representations.rb +95 -95
- data/generated/google/apis/iam_v1/service.rb +87 -86
- data/generated/google/apis/identitytoolkit_v3/classes.rb +20 -20
- data/generated/google/apis/identitytoolkit_v3/representations.rb +20 -20
- data/generated/google/apis/identitytoolkit_v3/service.rb +1 -0
- data/generated/google/apis/kgsearch_v1/service.rb +9 -8
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +245 -245
- data/generated/google/apis/language_v1/representations.rb +65 -65
- data/generated/google/apis/language_v1/service.rb +1 -0
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +277 -277
- data/generated/google/apis/language_v1beta1/representations.rb +83 -83
- data/generated/google/apis/language_v1beta1/service.rb +31 -30
- data/generated/google/apis/licensing_v1/service.rb +1 -0
- data/generated/google/apis/logging_v2/classes.rb +408 -408
- data/generated/google/apis/logging_v2/representations.rb +93 -93
- data/generated/google/apis/logging_v2/service.rb +408 -407
- data/generated/google/apis/logging_v2beta1.rb +3 -3
- data/generated/google/apis/logging_v2beta1/classes.rb +892 -892
- data/generated/google/apis/logging_v2beta1/representations.rb +128 -128
- data/generated/google/apis/logging_v2beta1/service.rb +89 -88
- data/generated/google/apis/manufacturers_v1/classes.rb +309 -309
- data/generated/google/apis/manufacturers_v1/representations.rb +64 -64
- data/generated/google/apis/manufacturers_v1/service.rb +1 -0
- data/generated/google/apis/mirror_v1/service.rb +1 -0
- data/generated/google/apis/ml_v1/classes.rb +1185 -1185
- data/generated/google/apis/ml_v1/representations.rb +171 -171
- data/generated/google/apis/ml_v1/service.rb +282 -281
- data/generated/google/apis/monitoring_v3.rb +3 -3
- data/generated/google/apis/monitoring_v3/classes.rb +334 -334
- data/generated/google/apis/monitoring_v3/representations.rb +86 -86
- data/generated/google/apis/monitoring_v3/service.rb +344 -343
- data/generated/google/apis/mybusiness_v3/service.rb +1 -0
- data/generated/google/apis/oauth2_v2/service.rb +1 -0
- data/generated/google/apis/pagespeedonline_v2/classes.rb +8 -8
- data/generated/google/apis/pagespeedonline_v2/representations.rb +8 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -0
- data/generated/google/apis/partners_v2/classes.rb +1466 -1466
- data/generated/google/apis/partners_v2/representations.rb +371 -371
- data/generated/google/apis/partners_v2/service.rb +530 -529
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +1009 -1009
- data/generated/google/apis/people_v1/representations.rb +249 -249
- data/generated/google/apis/people_v1/service.rb +13 -12
- data/generated/google/apis/plus_domains_v1/classes.rb +2 -2
- data/generated/google/apis/plus_domains_v1/representations.rb +2 -2
- data/generated/google/apis/plus_domains_v1/service.rb +1 -0
- data/generated/google/apis/plus_v1/service.rb +1 -0
- data/generated/google/apis/prediction_v1_6/classes.rb +9 -9
- data/generated/google/apis/prediction_v1_6/representations.rb +9 -9
- data/generated/google/apis/prediction_v1_6/service.rb +1 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +221 -221
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +55 -55
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +378 -377
- data/generated/google/apis/pubsub_v1/classes.rb +99 -99
- data/generated/google/apis/pubsub_v1/representations.rb +25 -25
- data/generated/google/apis/pubsub_v1/service.rb +236 -235
- data/generated/google/apis/qpx_express_v1/service.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2/classes.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/representations.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/service.rb +1 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +2 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +2 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -0
- data/generated/google/apis/reseller_v1/classes.rb +5 -5
- data/generated/google/apis/reseller_v1/representations.rb +5 -5
- data/generated/google/apis/reseller_v1/service.rb +1 -0
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/classes.rb +28 -28
- data/generated/google/apis/runtimeconfig_v1/representations.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/service.rb +53 -52
- data/generated/google/apis/script_v1.rb +18 -18
- data/generated/google/apis/script_v1/classes.rb +84 -84
- data/generated/google/apis/script_v1/representations.rb +18 -18
- data/generated/google/apis/script_v1/service.rb +11 -10
- data/generated/google/apis/searchconsole_v1/classes.rb +75 -75
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/searchconsole_v1/service.rb +11 -10
- data/generated/google/apis/servicecontrol_v1/classes.rb +582 -582
- data/generated/google/apis/servicecontrol_v1/representations.rb +113 -113
- data/generated/google/apis/servicecontrol_v1/service.rb +71 -70
- data/generated/google/apis/servicemanagement_v1.rb +3 -3
- data/generated/google/apis/servicemanagement_v1/classes.rb +3725 -3725
- data/generated/google/apis/servicemanagement_v1/representations.rb +255 -255
- data/generated/google/apis/servicemanagement_v1/service.rb +179 -178
- data/generated/google/apis/serviceuser_v1.rb +3 -3
- data/generated/google/apis/serviceuser_v1/classes.rb +2845 -2845
- data/generated/google/apis/serviceuser_v1/representations.rb +228 -228
- data/generated/google/apis/serviceuser_v1/service.rb +47 -46
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4456 -4456
- data/generated/google/apis/sheets_v4/representations.rb +859 -859
- data/generated/google/apis/sheets_v4/service.rb +180 -179
- data/generated/google/apis/site_verification_v1/service.rb +1 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2856 -2856
- data/generated/google/apis/slides_v1/representations.rb +683 -683
- data/generated/google/apis/slides_v1/service.rb +27 -26
- data/generated/google/apis/sourcerepo_v1/classes.rb +281 -281
- data/generated/google/apis/sourcerepo_v1/representations.rb +79 -79
- data/generated/google/apis/sourcerepo_v1/service.rb +112 -111
- data/generated/google/apis/spanner_v1/classes.rb +2177 -2177
- data/generated/google/apis/spanner_v1/representations.rb +325 -325
- data/generated/google/apis/spanner_v1/service.rb +374 -373
- data/generated/google/apis/speech_v1beta1/classes.rb +197 -197
- data/generated/google/apis/speech_v1beta1/representations.rb +36 -36
- data/generated/google/apis/speech_v1beta1/service.rb +27 -26
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -14
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +14 -14
- data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +11 -11
- data/generated/google/apis/storage_v1/representations.rb +11 -11
- data/generated/google/apis/storage_v1/service.rb +65 -64
- data/generated/google/apis/storagetransfer_v1/classes.rb +239 -239
- data/generated/google/apis/storagetransfer_v1/representations.rb +79 -79
- data/generated/google/apis/storagetransfer_v1/service.rb +133 -132
- data/generated/google/apis/surveys_v2/classes.rb +4 -4
- data/generated/google/apis/surveys_v2/representations.rb +4 -4
- data/generated/google/apis/surveys_v2/service.rb +1 -0
- data/generated/google/apis/tagmanager_v1/classes.rb +7 -7
- data/generated/google/apis/tagmanager_v1/representations.rb +7 -7
- data/generated/google/apis/tagmanager_v1/service.rb +1 -0
- data/generated/google/apis/tagmanager_v2/classes.rb +6 -6
- data/generated/google/apis/tagmanager_v2/representations.rb +6 -6
- data/generated/google/apis/tagmanager_v2/service.rb +1 -0
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +5 -5
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +5 -5
- data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -0
- data/generated/google/apis/tasks_v1/service.rb +3 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3/service.rb +1 -0
- data/generated/google/apis/tracing_v1/classes.rb +421 -421
- data/generated/google/apis/tracing_v1/representations.rb +86 -86
- data/generated/google/apis/tracing_v1/service.rb +60 -59
- data/generated/google/apis/translate_v2/service.rb +1 -0
- data/generated/google/apis/urlshortener_v1/classes.rb +3 -3
- data/generated/google/apis/urlshortener_v1/representations.rb +3 -3
- data/generated/google/apis/urlshortener_v1/service.rb +1 -0
- data/generated/google/apis/vision_v1/classes.rb +1290 -1290
- data/generated/google/apis/vision_v1/representations.rb +184 -184
- data/generated/google/apis/vision_v1/service.rb +11 -10
- data/generated/google/apis/webfonts_v1/service.rb +1 -0
- data/generated/google/apis/webmasters_v3/classes.rb +5 -5
- data/generated/google/apis/webmasters_v3/representations.rb +5 -5
- data/generated/google/apis/webmasters_v3/service.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/classes.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +1 -0
- data/generated/google/apis/youtube_partner_v1/classes.rb +13 -13
- data/generated/google/apis/youtube_partner_v1/representations.rb +13 -13
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -0
- data/generated/google/apis/youtube_v3/classes.rb +31 -31
- data/generated/google/apis/youtube_v3/representations.rb +31 -31
- data/generated/google/apis/youtube_v3/service.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +73 -73
- data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
- data/generated/google/apis/youtubereporting_v1/service.rb +77 -76
- data/google-api-client.gemspec +4 -6
- data/lib/google/apis/core/api_command.rb +8 -3
- data/lib/google/apis/core/base_service.rb +47 -18
- data/lib/google/apis/core/batch.rb +13 -18
- data/lib/google/apis/core/composite_io.rb +97 -0
- data/lib/google/apis/core/download.rb +24 -20
- data/lib/google/apis/core/http_command.rb +49 -38
- data/lib/google/apis/core/json_representation.rb +5 -1
- data/lib/google/apis/core/multipart.rb +43 -95
- data/lib/google/apis/core/upload.rb +59 -84
- data/lib/google/apis/generator/model.rb +2 -0
- data/lib/google/apis/generator/templates/_representation.tmpl +1 -1
- data/lib/google/apis/generator/templates/service.rb.tmpl +1 -0
- data/lib/google/apis/options.rb +24 -12
- data/lib/google/apis/version.rb +1 -1
- data/samples/web/Gemfile +0 -1
- metadata +39 -37
- data/lib/google/apis/core/http_client_adapter.rb +0 -82
- data/third_party/hurley_patches.rb +0 -103
@@ -406,7 +406,7 @@ module Google
|
|
406
406
|
property :encoding, as: 'encoding'
|
407
407
|
property :field_delimiter, as: 'fieldDelimiter'
|
408
408
|
property :quote, as: 'quote'
|
409
|
-
property :skip_leading_rows, as: 'skipLeadingRows'
|
409
|
+
property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows'
|
410
410
|
end
|
411
411
|
end
|
412
412
|
|
@@ -415,17 +415,17 @@ module Google
|
|
415
415
|
class Representation < Google::Apis::Core::JsonRepresentation
|
416
416
|
collection :access, as: 'access', class: Google::Apis::BigqueryV2::Dataset::Access, decorator: Google::Apis::BigqueryV2::Dataset::Access::Representation
|
417
417
|
|
418
|
-
property :creation_time, as: 'creationTime'
|
418
|
+
property :creation_time, :numeric_string => true, as: 'creationTime'
|
419
419
|
property :dataset_reference, as: 'datasetReference', class: Google::Apis::BigqueryV2::DatasetReference, decorator: Google::Apis::BigqueryV2::DatasetReference::Representation
|
420
420
|
|
421
|
-
property :default_table_expiration_ms, as: 'defaultTableExpirationMs'
|
421
|
+
property :default_table_expiration_ms, :numeric_string => true, as: 'defaultTableExpirationMs'
|
422
422
|
property :description, as: 'description'
|
423
423
|
property :etag, as: 'etag'
|
424
424
|
property :friendly_name, as: 'friendlyName'
|
425
425
|
property :id, as: 'id'
|
426
426
|
property :kind, as: 'kind'
|
427
427
|
hash :labels, as: 'labels'
|
428
|
-
property :last_modified_time, as: 'lastModifiedTime'
|
428
|
+
property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
|
429
429
|
property :location, as: 'location'
|
430
430
|
property :self_link, as: 'selfLink'
|
431
431
|
end
|
@@ -490,12 +490,12 @@ module Google
|
|
490
490
|
class Representation < Google::Apis::Core::JsonRepresentation
|
491
491
|
property :compute_ratio_avg, as: 'computeRatioAvg'
|
492
492
|
property :compute_ratio_max, as: 'computeRatioMax'
|
493
|
-
property :id, as: 'id'
|
493
|
+
property :id, :numeric_string => true, as: 'id'
|
494
494
|
property :name, as: 'name'
|
495
495
|
property :read_ratio_avg, as: 'readRatioAvg'
|
496
496
|
property :read_ratio_max, as: 'readRatioMax'
|
497
|
-
property :records_read, as: 'recordsRead'
|
498
|
-
property :records_written, as: 'recordsWritten'
|
497
|
+
property :records_read, :numeric_string => true, as: 'recordsRead'
|
498
|
+
property :records_written, :numeric_string => true, as: 'recordsWritten'
|
499
499
|
property :status, as: 'status'
|
500
500
|
collection :steps, as: 'steps', class: Google::Apis::BigqueryV2::ExplainQueryStep, decorator: Google::Apis::BigqueryV2::ExplainQueryStep::Representation
|
501
501
|
|
@@ -545,21 +545,21 @@ module Google
|
|
545
545
|
property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
|
546
546
|
|
547
547
|
property :kind, as: 'kind'
|
548
|
-
property :num_dml_affected_rows, as: 'numDmlAffectedRows'
|
548
|
+
property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
|
549
549
|
property :page_token, as: 'pageToken'
|
550
550
|
collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation
|
551
551
|
|
552
552
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
553
553
|
|
554
|
-
property :total_bytes_processed, as: 'totalBytesProcessed'
|
555
|
-
property :total_rows, as: 'totalRows'
|
554
|
+
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
555
|
+
property :total_rows, :numeric_string => true, as: 'totalRows'
|
556
556
|
end
|
557
557
|
end
|
558
558
|
|
559
559
|
class GoogleSheetsOptions
|
560
560
|
# @private
|
561
561
|
class Representation < Google::Apis::Core::JsonRepresentation
|
562
|
-
property :skip_leading_rows, as: 'skipLeadingRows'
|
562
|
+
property :skip_leading_rows, :numeric_string => true, as: 'skipLeadingRows'
|
563
563
|
end
|
564
564
|
end
|
565
565
|
|
@@ -660,7 +660,7 @@ module Google
|
|
660
660
|
|
661
661
|
property :flatten_results, as: 'flattenResults'
|
662
662
|
property :maximum_billing_tier, as: 'maximumBillingTier'
|
663
|
-
property :maximum_bytes_billed, as: 'maximumBytesBilled'
|
663
|
+
property :maximum_bytes_billed, :numeric_string => true, as: 'maximumBytesBilled'
|
664
664
|
property :parameter_mode, as: 'parameterMode'
|
665
665
|
property :preserve_nulls, as: 'preserveNulls'
|
666
666
|
property :priority, as: 'priority'
|
@@ -734,16 +734,16 @@ module Google
|
|
734
734
|
class JobStatistics
|
735
735
|
# @private
|
736
736
|
class Representation < Google::Apis::Core::JsonRepresentation
|
737
|
-
property :creation_time, as: 'creationTime'
|
738
|
-
property :end_time, as: 'endTime'
|
737
|
+
property :creation_time, :numeric_string => true, as: 'creationTime'
|
738
|
+
property :end_time, :numeric_string => true, as: 'endTime'
|
739
739
|
property :extract, as: 'extract', class: Google::Apis::BigqueryV2::JobStatistics4, decorator: Google::Apis::BigqueryV2::JobStatistics4::Representation
|
740
740
|
|
741
741
|
property :load, as: 'load', class: Google::Apis::BigqueryV2::JobStatistics3, decorator: Google::Apis::BigqueryV2::JobStatistics3::Representation
|
742
742
|
|
743
743
|
property :query, as: 'query', class: Google::Apis::BigqueryV2::JobStatistics2, decorator: Google::Apis::BigqueryV2::JobStatistics2::Representation
|
744
744
|
|
745
|
-
property :start_time, as: 'startTime'
|
746
|
-
property :total_bytes_processed, as: 'totalBytesProcessed'
|
745
|
+
property :start_time, :numeric_string => true, as: 'startTime'
|
746
|
+
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
747
747
|
end
|
748
748
|
end
|
749
749
|
|
@@ -752,7 +752,7 @@ module Google
|
|
752
752
|
class Representation < Google::Apis::Core::JsonRepresentation
|
753
753
|
property :billing_tier, as: 'billingTier'
|
754
754
|
property :cache_hit, as: 'cacheHit'
|
755
|
-
property :num_dml_affected_rows, as: 'numDmlAffectedRows'
|
755
|
+
property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
|
756
756
|
collection :query_plan, as: 'queryPlan', class: Google::Apis::BigqueryV2::ExplainQueryStage, decorator: Google::Apis::BigqueryV2::ExplainQueryStage::Representation
|
757
757
|
|
758
758
|
collection :referenced_tables, as: 'referencedTables', class: Google::Apis::BigqueryV2::TableReference, decorator: Google::Apis::BigqueryV2::TableReference::Representation
|
@@ -760,8 +760,8 @@ module Google
|
|
760
760
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
761
761
|
|
762
762
|
property :statement_type, as: 'statementType'
|
763
|
-
property :total_bytes_billed, as: 'totalBytesBilled'
|
764
|
-
property :total_bytes_processed, as: 'totalBytesProcessed'
|
763
|
+
property :total_bytes_billed, :numeric_string => true, as: 'totalBytesBilled'
|
764
|
+
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
765
765
|
collection :undeclared_query_parameters, as: 'undeclaredQueryParameters', class: Google::Apis::BigqueryV2::QueryParameter, decorator: Google::Apis::BigqueryV2::QueryParameter::Representation
|
766
766
|
|
767
767
|
end
|
@@ -770,10 +770,10 @@ module Google
|
|
770
770
|
class JobStatistics3
|
771
771
|
# @private
|
772
772
|
class Representation < Google::Apis::Core::JsonRepresentation
|
773
|
-
property :input_file_bytes, as: 'inputFileBytes'
|
774
|
-
property :input_files, as: 'inputFiles'
|
775
|
-
property :output_bytes, as: 'outputBytes'
|
776
|
-
property :output_rows, as: 'outputRows'
|
773
|
+
property :input_file_bytes, :numeric_string => true, as: 'inputFileBytes'
|
774
|
+
property :input_files, :numeric_string => true, as: 'inputFiles'
|
775
|
+
property :output_bytes, :numeric_string => true, as: 'outputBytes'
|
776
|
+
property :output_rows, :numeric_string => true, as: 'outputRows'
|
777
777
|
end
|
778
778
|
end
|
779
779
|
|
@@ -812,7 +812,7 @@ module Google
|
|
812
812
|
property :friendly_name, as: 'friendlyName'
|
813
813
|
property :id, as: 'id'
|
814
814
|
property :kind, as: 'kind'
|
815
|
-
property :numeric_id, as: 'numericId'
|
815
|
+
property :numeric_id, :numeric_string => true, as: 'numericId'
|
816
816
|
property :project_reference, as: 'projectReference', class: Google::Apis::BigqueryV2::ProjectReference, decorator: Google::Apis::BigqueryV2::ProjectReference::Representation
|
817
817
|
|
818
818
|
end
|
@@ -898,44 +898,44 @@ module Google
|
|
898
898
|
property :job_reference, as: 'jobReference', class: Google::Apis::BigqueryV2::JobReference, decorator: Google::Apis::BigqueryV2::JobReference::Representation
|
899
899
|
|
900
900
|
property :kind, as: 'kind'
|
901
|
-
property :num_dml_affected_rows, as: 'numDmlAffectedRows'
|
901
|
+
property :num_dml_affected_rows, :numeric_string => true, as: 'numDmlAffectedRows'
|
902
902
|
property :page_token, as: 'pageToken'
|
903
903
|
collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation
|
904
904
|
|
905
905
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
906
906
|
|
907
|
-
property :total_bytes_processed, as: 'totalBytesProcessed'
|
908
|
-
property :total_rows, as: 'totalRows'
|
907
|
+
property :total_bytes_processed, :numeric_string => true, as: 'totalBytesProcessed'
|
908
|
+
property :total_rows, :numeric_string => true, as: 'totalRows'
|
909
909
|
end
|
910
910
|
end
|
911
911
|
|
912
912
|
class Streamingbuffer
|
913
913
|
# @private
|
914
914
|
class Representation < Google::Apis::Core::JsonRepresentation
|
915
|
-
property :estimated_bytes, as: 'estimatedBytes'
|
916
|
-
property :estimated_rows, as: 'estimatedRows'
|
917
|
-
property :oldest_entry_time, as: 'oldestEntryTime'
|
915
|
+
property :estimated_bytes, :numeric_string => true, as: 'estimatedBytes'
|
916
|
+
property :estimated_rows, :numeric_string => true, as: 'estimatedRows'
|
917
|
+
property :oldest_entry_time, :numeric_string => true, as: 'oldestEntryTime'
|
918
918
|
end
|
919
919
|
end
|
920
920
|
|
921
921
|
class Table
|
922
922
|
# @private
|
923
923
|
class Representation < Google::Apis::Core::JsonRepresentation
|
924
|
-
property :creation_time, as: 'creationTime'
|
924
|
+
property :creation_time, :numeric_string => true, as: 'creationTime'
|
925
925
|
property :description, as: 'description'
|
926
926
|
property :etag, as: 'etag'
|
927
|
-
property :expiration_time, as: 'expirationTime'
|
927
|
+
property :expiration_time, :numeric_string => true, as: 'expirationTime'
|
928
928
|
property :external_data_configuration, as: 'externalDataConfiguration', class: Google::Apis::BigqueryV2::ExternalDataConfiguration, decorator: Google::Apis::BigqueryV2::ExternalDataConfiguration::Representation
|
929
929
|
|
930
930
|
property :friendly_name, as: 'friendlyName'
|
931
931
|
property :id, as: 'id'
|
932
932
|
property :kind, as: 'kind'
|
933
933
|
hash :labels, as: 'labels'
|
934
|
-
property :last_modified_time, as: 'lastModifiedTime'
|
934
|
+
property :last_modified_time, :numeric_string => true, as: 'lastModifiedTime'
|
935
935
|
property :location, as: 'location'
|
936
|
-
property :num_bytes, as: 'numBytes'
|
937
|
-
property :num_long_term_bytes, as: 'numLongTermBytes'
|
938
|
-
property :num_rows, as: 'numRows'
|
936
|
+
property :num_bytes, :numeric_string => true, as: 'numBytes'
|
937
|
+
property :num_long_term_bytes, :numeric_string => true, as: 'numLongTermBytes'
|
938
|
+
property :num_rows, :numeric_string => true, as: 'numRows'
|
939
939
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
940
940
|
|
941
941
|
property :self_link, as: 'selfLink'
|
@@ -1004,7 +1004,7 @@ module Google
|
|
1004
1004
|
property :page_token, as: 'pageToken'
|
1005
1005
|
collection :rows, as: 'rows', class: Google::Apis::BigqueryV2::TableRow, decorator: Google::Apis::BigqueryV2::TableRow::Representation
|
1006
1006
|
|
1007
|
-
property :total_rows, as: 'totalRows'
|
1007
|
+
property :total_rows, :numeric_string => true, as: 'totalRows'
|
1008
1008
|
end
|
1009
1009
|
end
|
1010
1010
|
|
@@ -1082,7 +1082,7 @@ module Google
|
|
1082
1082
|
class TimePartitioning
|
1083
1083
|
# @private
|
1084
1084
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1085
|
-
property :expiration_ms, as: 'expirationMs'
|
1085
|
+
property :expiration_ms, :numeric_string => true, as: 'expirationMs'
|
1086
1086
|
property :type, as: 'type'
|
1087
1087
|
end
|
1088
1088
|
end
|
@@ -50,6 +50,7 @@ module Google
|
|
50
50
|
|
51
51
|
def initialize
|
52
52
|
super('https://www.googleapis.com/', 'bigquery/v2/')
|
53
|
+
@batch_path = 'batch'
|
53
54
|
end
|
54
55
|
|
55
56
|
# Deletes the dataset specified by the datasetId value. Before you can delete a
|
@@ -398,7 +399,7 @@ module Google
|
|
398
399
|
# Maximum number of results to read
|
399
400
|
# @param [String] page_token
|
400
401
|
# Page token, returned by a previous call, to request the next page of results
|
401
|
-
# @param [
|
402
|
+
# @param [Fixnum] start_index
|
402
403
|
# Zero-based index of the starting row
|
403
404
|
# @param [Fixnum] timeout_ms
|
404
405
|
# How long to wait for the query to complete, in milliseconds, before returning.
|
@@ -679,7 +680,7 @@ module Google
|
|
679
680
|
# @param [String] selected_fields
|
680
681
|
# List of fields to return (comma-separated). If unspecified, all fields are
|
681
682
|
# returned
|
682
|
-
# @param [
|
683
|
+
# @param [Fixnum] start_index
|
683
684
|
# Zero-based index of the starting row to read
|
684
685
|
# @param [String] fields
|
685
686
|
# Selector specifying which fields to include in a partial response.
|
@@ -781,7 +781,7 @@ module Google
|
|
781
781
|
|
782
782
|
# Count of page views for the given time range
|
783
783
|
# Corresponds to the JSON property `count`
|
784
|
-
# @return [
|
784
|
+
# @return [Fixnum]
|
785
785
|
attr_accessor :count
|
786
786
|
|
787
787
|
# Time range the given count applies to
|
@@ -1074,7 +1074,7 @@ module Google
|
|
1074
1074
|
|
1075
1075
|
# The count of comments on this post.
|
1076
1076
|
# Corresponds to the JSON property `totalItems`
|
1077
|
-
# @return [
|
1077
|
+
# @return [Fixnum]
|
1078
1078
|
attr_accessor :total_items
|
1079
1079
|
|
1080
1080
|
def initialize(**args)
|
@@ -461,7 +461,7 @@ module Google
|
|
461
461
|
class Count
|
462
462
|
# @private
|
463
463
|
class Representation < Google::Apis::Core::JsonRepresentation
|
464
|
-
property :count, as: 'count'
|
464
|
+
property :count, :numeric_string => true, as: 'count'
|
465
465
|
property :time_range, as: 'timeRange'
|
466
466
|
end
|
467
467
|
end
|
@@ -546,7 +546,7 @@ module Google
|
|
546
546
|
collection :items, as: 'items', class: Google::Apis::BloggerV3::Comment, decorator: Google::Apis::BloggerV3::Comment::Representation
|
547
547
|
|
548
548
|
property :self_link, as: 'selfLink'
|
549
|
-
property :total_items, as: 'totalItems'
|
549
|
+
property :total_items, :numeric_string => true, as: 'totalItems'
|
550
550
|
end
|
551
551
|
end
|
552
552
|
end
|
@@ -1964,12 +1964,12 @@ module Google
|
|
1964
1964
|
|
1965
1965
|
#
|
1966
1966
|
# Corresponds to the JSON property `size`
|
1967
|
-
# @return [
|
1967
|
+
# @return [Fixnum]
|
1968
1968
|
attr_accessor :size
|
1969
1969
|
|
1970
1970
|
#
|
1971
1971
|
# Corresponds to the JSON property `version`
|
1972
|
-
# @return [
|
1972
|
+
# @return [Fixnum]
|
1973
1973
|
attr_accessor :version
|
1974
1974
|
|
1975
1975
|
def initialize(**args)
|
@@ -1998,7 +1998,7 @@ module Google
|
|
1998
1998
|
|
1999
1999
|
# The list of crm experiment ids.
|
2000
2000
|
# Corresponds to the JSON property `crmExperimentIds`
|
2001
|
-
# @return [Array<
|
2001
|
+
# @return [Array<Fixnum>]
|
2002
2002
|
attr_accessor :crm_experiment_ids
|
2003
2003
|
|
2004
2004
|
#
|
@@ -3467,12 +3467,12 @@ module Google
|
|
3467
3467
|
|
3468
3468
|
#
|
3469
3469
|
# Corresponds to the JSON property `endUtcSec`
|
3470
|
-
# @return [
|
3470
|
+
# @return [Fixnum]
|
3471
3471
|
attr_accessor :end_utc_sec
|
3472
3472
|
|
3473
3473
|
#
|
3474
3474
|
# Corresponds to the JSON property `startUtcSec`
|
3475
|
-
# @return [
|
3475
|
+
# @return [Fixnum]
|
3476
3476
|
attr_accessor :start_utc_sec
|
3477
3477
|
|
3478
3478
|
def initialize(**args)
|
@@ -1202,8 +1202,8 @@ module Google
|
|
1202
1202
|
property :download_url, as: 'download_url'
|
1203
1203
|
property :encrypted_key, as: 'encrypted_key'
|
1204
1204
|
property :language, as: 'language'
|
1205
|
-
property :size, as: 'size'
|
1206
|
-
property :version, as: 'version'
|
1205
|
+
property :size, :numeric_string => true, as: 'size'
|
1206
|
+
property :version, :numeric_string => true, as: 'version'
|
1207
1207
|
end
|
1208
1208
|
end
|
1209
1209
|
end
|
@@ -1622,8 +1622,8 @@ module Google
|
|
1622
1622
|
class RentalPeriod
|
1623
1623
|
# @private
|
1624
1624
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1625
|
-
property :end_utc_sec, as: 'endUtcSec'
|
1626
|
-
property :start_utc_sec, as: 'startUtcSec'
|
1625
|
+
property :end_utc_sec, :numeric_string => true, as: 'endUtcSec'
|
1626
|
+
property :start_utc_sec, :numeric_string => true, as: 'startUtcSec'
|
1627
1627
|
end
|
1628
1628
|
end
|
1629
1629
|
|
@@ -465,7 +465,7 @@ module Google
|
|
465
465
|
# Date and time of notification channel expiration, expressed as a Unix
|
466
466
|
# timestamp, in milliseconds. Optional.
|
467
467
|
# Corresponds to the JSON property `expiration`
|
468
|
-
# @return [
|
468
|
+
# @return [Fixnum]
|
469
469
|
attr_accessor :expiration
|
470
470
|
|
471
471
|
# A UUID or similar unique string that identifies this channel.
|
@@ -353,7 +353,7 @@ module Google
|
|
353
353
|
# @private
|
354
354
|
class Representation < Google::Apis::Core::JsonRepresentation
|
355
355
|
property :address, as: 'address'
|
356
|
-
property :expiration, as: 'expiration'
|
356
|
+
property :expiration, :numeric_string => true, as: 'expiration'
|
357
357
|
property :id, as: 'id'
|
358
358
|
property :kind, as: 'kind'
|
359
359
|
hash :params, as: 'params'
|
@@ -200,7 +200,7 @@ module Google
|
|
200
200
|
|
201
201
|
# The order the candidate appears on the ballot for this contest.
|
202
202
|
# Corresponds to the JSON property `orderOnBallot`
|
203
|
-
# @return [
|
203
|
+
# @return [Fixnum]
|
204
204
|
attr_accessor :order_on_ballot
|
205
205
|
|
206
206
|
# The full name of the party the candidate is a member of.
|
@@ -268,7 +268,7 @@ module Google
|
|
268
268
|
|
269
269
|
# A number specifying the position of this contest on the voter's ballot.
|
270
270
|
# Corresponds to the JSON property `ballotPlacement`
|
271
|
-
# @return [
|
271
|
+
# @return [Fixnum]
|
272
272
|
attr_accessor :ballot_placement
|
273
273
|
|
274
274
|
# The candidate choices for this contest.
|
@@ -305,12 +305,12 @@ module Google
|
|
305
305
|
|
306
306
|
# The number of candidates that will be elected to office in this contest.
|
307
307
|
# Corresponds to the JSON property `numberElected`
|
308
|
-
# @return [
|
308
|
+
# @return [Fixnum]
|
309
309
|
attr_accessor :number_elected
|
310
310
|
|
311
311
|
# The number of candidates that a voter may vote for in this contest.
|
312
312
|
# Corresponds to the JSON property `numberVotingFor`
|
313
|
-
# @return [
|
313
|
+
# @return [Fixnum]
|
314
314
|
attr_accessor :number_voting_for
|
315
315
|
|
316
316
|
# The name of the office for this contest.
|
@@ -572,7 +572,7 @@ module Google
|
|
572
572
|
|
573
573
|
# The unique ID of this election.
|
574
574
|
# Corresponds to the JSON property `id`
|
575
|
-
# @return [
|
575
|
+
# @return [Fixnum]
|
576
576
|
attr_accessor :id
|
577
577
|
|
578
578
|
# A displayable name for the election.
|
@@ -1464,7 +1464,7 @@ module Google
|
|
1464
1464
|
|
1465
1465
|
#
|
1466
1466
|
# Corresponds to the JSON property `generatedMillis`
|
1467
|
-
# @return [
|
1467
|
+
# @return [Fixnum]
|
1468
1468
|
attr_accessor :generated_millis
|
1469
1469
|
|
1470
1470
|
#
|
@@ -235,7 +235,7 @@ module Google
|
|
235
235
|
|
236
236
|
property :email, as: 'email'
|
237
237
|
property :name, as: 'name'
|
238
|
-
property :order_on_ballot, as: 'orderOnBallot'
|
238
|
+
property :order_on_ballot, :numeric_string => true, as: 'orderOnBallot'
|
239
239
|
property :party, as: 'party'
|
240
240
|
property :phone, as: 'phone'
|
241
241
|
property :photo_url, as: 'photoUrl'
|
@@ -253,7 +253,7 @@ module Google
|
|
253
253
|
class Contest
|
254
254
|
# @private
|
255
255
|
class Representation < Google::Apis::Core::JsonRepresentation
|
256
|
-
property :ballot_placement, as: 'ballotPlacement'
|
256
|
+
property :ballot_placement, :numeric_string => true, as: 'ballotPlacement'
|
257
257
|
collection :candidates, as: 'candidates', class: Google::Apis::CivicinfoV2::Candidate, decorator: Google::Apis::CivicinfoV2::Candidate::Representation
|
258
258
|
|
259
259
|
property :district, as: 'district', class: Google::Apis::CivicinfoV2::ElectoralDistrict, decorator: Google::Apis::CivicinfoV2::ElectoralDistrict::Representation
|
@@ -261,8 +261,8 @@ module Google
|
|
261
261
|
property :electorate_specifications, as: 'electorateSpecifications'
|
262
262
|
property :id, as: 'id'
|
263
263
|
collection :level, as: 'level'
|
264
|
-
property :number_elected, as: 'numberElected'
|
265
|
-
property :number_voting_for, as: 'numberVotingFor'
|
264
|
+
property :number_elected, :numeric_string => true, as: 'numberElected'
|
265
|
+
property :number_voting_for, :numeric_string => true, as: 'numberVotingFor'
|
266
266
|
property :office, as: 'office'
|
267
267
|
property :primary_party, as: 'primaryParty'
|
268
268
|
collection :referendum_ballot_responses, as: 'referendumBallotResponses'
|
@@ -328,7 +328,7 @@ module Google
|
|
328
328
|
# @private
|
329
329
|
class Representation < Google::Apis::Core::JsonRepresentation
|
330
330
|
property :election_day, as: 'electionDay'
|
331
|
-
property :id, as: 'id'
|
331
|
+
property :id, :numeric_string => true, as: 'id'
|
332
332
|
property :name, as: 'name'
|
333
333
|
property :ocd_division_id, as: 'ocdDivisionId'
|
334
334
|
end
|
@@ -558,7 +558,7 @@ module Google
|
|
558
558
|
class VoterInfoSegmentResult
|
559
559
|
# @private
|
560
560
|
class Representation < Google::Apis::Core::JsonRepresentation
|
561
|
-
property :generated_millis, as: 'generatedMillis'
|
561
|
+
property :generated_millis, :numeric_string => true, as: 'generatedMillis'
|
562
562
|
property :postal_address, as: 'postalAddress', class: Google::Apis::CivicinfoV2::PostalAddress, decorator: Google::Apis::CivicinfoV2::PostalAddress::Representation
|
563
563
|
|
564
564
|
property :request, as: 'request', class: Google::Apis::CivicinfoV2::VoterInfoRequest, decorator: Google::Apis::CivicinfoV2::VoterInfoRequest::Representation
|