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
@@ -34,27 +34,28 @@ module Google
|
|
34
34
|
#
|
35
35
|
# @see https://cloud.google.com/vision/
|
36
36
|
class VisionService < Google::Apis::Core::BaseService
|
37
|
-
# @return [String]
|
38
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
39
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
40
|
-
attr_accessor :quota_user
|
41
|
-
|
42
37
|
# @return [String]
|
43
38
|
# API key. Your API key identifies your project and provides you with API access,
|
44
39
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
45
40
|
attr_accessor :key
|
46
41
|
|
42
|
+
# @return [String]
|
43
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
44
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
45
|
+
attr_accessor :quota_user
|
46
|
+
|
47
47
|
def initialize
|
48
48
|
super('https://vision.googleapis.com/', '')
|
49
|
+
@batch_path = 'batch'
|
49
50
|
end
|
50
51
|
|
51
52
|
# Run image detection and annotation for a batch of images.
|
52
53
|
# @param [Google::Apis::VisionV1::BatchAnnotateImagesRequest] batch_annotate_images_request_object
|
54
|
+
# @param [String] fields
|
55
|
+
# Selector specifying which fields to include in a partial response.
|
53
56
|
# @param [String] quota_user
|
54
57
|
# Available to use for quota purposes for server-side applications. Can be any
|
55
58
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
56
|
-
# @param [String] fields
|
57
|
-
# Selector specifying which fields to include in a partial response.
|
58
59
|
# @param [Google::Apis::RequestOptions] options
|
59
60
|
# Request-specific options
|
60
61
|
#
|
@@ -67,22 +68,22 @@ module Google
|
|
67
68
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
68
69
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
69
70
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
70
|
-
def annotate_image(batch_annotate_images_request_object = nil,
|
71
|
+
def annotate_image(batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
71
72
|
command = make_simple_command(:post, 'v1/images:annotate', options)
|
72
73
|
command.request_representation = Google::Apis::VisionV1::BatchAnnotateImagesRequest::Representation
|
73
74
|
command.request_object = batch_annotate_images_request_object
|
74
75
|
command.response_representation = Google::Apis::VisionV1::BatchAnnotateImagesResponse::Representation
|
75
76
|
command.response_class = Google::Apis::VisionV1::BatchAnnotateImagesResponse
|
76
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
77
77
|
command.query['fields'] = fields unless fields.nil?
|
78
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
78
79
|
execute_or_queue_command(command, &block)
|
79
80
|
end
|
80
81
|
|
81
82
|
protected
|
82
83
|
|
83
84
|
def apply_command_defaults(command)
|
84
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
85
85
|
command.query['key'] = key unless key.nil?
|
86
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
87
|
end
|
87
88
|
end
|
88
89
|
end
|
@@ -276,7 +276,7 @@ module Google
|
|
276
276
|
|
277
277
|
# The error count at the given timestamp.
|
278
278
|
# Corresponds to the JSON property `count`
|
279
|
-
# @return [
|
279
|
+
# @return [Fixnum]
|
280
280
|
attr_accessor :count
|
281
281
|
|
282
282
|
# The date and time when the crawl attempt took place, in RFC 3339 format.
|
@@ -474,7 +474,7 @@ module Google
|
|
474
474
|
# Number of errors in the sitemap. These are issues with the sitemap itself that
|
475
475
|
# need to be fixed before it can be processed correctly.
|
476
476
|
# Corresponds to the JSON property `errors`
|
477
|
-
# @return [
|
477
|
+
# @return [Fixnum]
|
478
478
|
attr_accessor :errors
|
479
479
|
|
480
480
|
# If true, the sitemap has not been processed.
|
@@ -514,7 +514,7 @@ module Google
|
|
514
514
|
# Number of warnings for the sitemap. These are generally non-critical issues
|
515
515
|
# with URLs in the sitemaps.
|
516
516
|
# Corresponds to the JSON property `warnings`
|
517
|
-
# @return [
|
517
|
+
# @return [Fixnum]
|
518
518
|
attr_accessor :warnings
|
519
519
|
|
520
520
|
def initialize(**args)
|
@@ -541,12 +541,12 @@ module Google
|
|
541
541
|
|
542
542
|
# The number of URLs from the sitemap that were indexed (of the content type).
|
543
543
|
# Corresponds to the JSON property `indexed`
|
544
|
-
# @return [
|
544
|
+
# @return [Fixnum]
|
545
545
|
attr_accessor :indexed
|
546
546
|
|
547
547
|
# The number of URLs in the sitemap (of the content type).
|
548
548
|
# Corresponds to the JSON property `submitted`
|
549
|
-
# @return [
|
549
|
+
# @return [Fixnum]
|
550
550
|
attr_accessor :submitted
|
551
551
|
|
552
552
|
# The specific type of content in this sitemap. For example: web.
|
@@ -190,7 +190,7 @@ module Google
|
|
190
190
|
class UrlCrawlErrorCount
|
191
191
|
# @private
|
192
192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
193
|
-
property :count, as: 'count'
|
193
|
+
property :count, :numeric_string => true, as: 'count'
|
194
194
|
property :timestamp, as: 'timestamp', type: DateTime
|
195
195
|
|
196
196
|
end
|
@@ -257,7 +257,7 @@ module Google
|
|
257
257
|
class Representation < Google::Apis::Core::JsonRepresentation
|
258
258
|
collection :contents, as: 'contents', class: Google::Apis::WebmastersV3::WmxSitemapContent, decorator: Google::Apis::WebmastersV3::WmxSitemapContent::Representation
|
259
259
|
|
260
|
-
property :errors, as: 'errors'
|
260
|
+
property :errors, :numeric_string => true, as: 'errors'
|
261
261
|
property :is_pending, as: 'isPending'
|
262
262
|
property :is_sitemaps_index, as: 'isSitemapsIndex'
|
263
263
|
property :last_downloaded, as: 'lastDownloaded', type: DateTime
|
@@ -266,15 +266,15 @@ module Google
|
|
266
266
|
|
267
267
|
property :path, as: 'path'
|
268
268
|
property :type, as: 'type'
|
269
|
-
property :warnings, as: 'warnings'
|
269
|
+
property :warnings, :numeric_string => true, as: 'warnings'
|
270
270
|
end
|
271
271
|
end
|
272
272
|
|
273
273
|
class WmxSitemapContent
|
274
274
|
# @private
|
275
275
|
class Representation < Google::Apis::Core::JsonRepresentation
|
276
|
-
property :indexed, as: 'indexed'
|
277
|
-
property :submitted, as: 'submitted'
|
276
|
+
property :indexed, :numeric_string => true, as: 'indexed'
|
277
|
+
property :submitted, :numeric_string => true, as: 'submitted'
|
278
278
|
property :type, as: 'type'
|
279
279
|
end
|
280
280
|
end
|
@@ -91,7 +91,7 @@ module Google
|
|
91
91
|
class ContentDetails
|
92
92
|
# @private
|
93
93
|
class Representation < Google::Apis::Core::JsonRepresentation
|
94
|
-
property :item_count, as: 'itemCount'
|
94
|
+
property :item_count, :numeric_string => true, as: 'itemCount'
|
95
95
|
property :item_type, as: 'itemType'
|
96
96
|
end
|
97
97
|
end
|
@@ -943,17 +943,17 @@ module Google
|
|
943
943
|
|
944
944
|
# The duration of the longest match between the reference and the user video.
|
945
945
|
# Corresponds to the JSON property `durationSecs`
|
946
|
-
# @return [
|
946
|
+
# @return [Fixnum]
|
947
947
|
attr_accessor :duration_secs
|
948
948
|
|
949
949
|
# The offset in seconds into the reference at which the longest match began.
|
950
950
|
# Corresponds to the JSON property `referenceOffset`
|
951
|
-
# @return [
|
951
|
+
# @return [Fixnum]
|
952
952
|
attr_accessor :reference_offset
|
953
953
|
|
954
954
|
# The offset in seconds into the user video at which the longest match began.
|
955
955
|
# Corresponds to the JSON property `userVideoOffset`
|
956
|
-
# @return [
|
956
|
+
# @return [Fixnum]
|
957
957
|
attr_accessor :user_video_offset
|
958
958
|
|
959
959
|
def initialize(**args)
|
@@ -977,13 +977,13 @@ module Google
|
|
977
977
|
# The total amount of content in the reference which matched the user video in
|
978
978
|
# seconds.
|
979
979
|
# Corresponds to the JSON property `referenceDurationSecs`
|
980
|
-
# @return [
|
980
|
+
# @return [Fixnum]
|
981
981
|
attr_accessor :reference_duration_secs
|
982
982
|
|
983
983
|
# The total amount of content in the user video which matched the reference in
|
984
984
|
# seconds.
|
985
985
|
# Corresponds to the JSON property `userVideoDurationSecs`
|
986
|
-
# @return [
|
986
|
+
# @return [Fixnum]
|
987
987
|
attr_accessor :user_video_duration_secs
|
988
988
|
|
989
989
|
def initialize(**args)
|
@@ -1338,7 +1338,7 @@ module Google
|
|
1338
1338
|
|
1339
1339
|
# Number of views for the claimed video.
|
1340
1340
|
# Corresponds to the JSON property `videoViews`
|
1341
|
-
# @return [
|
1341
|
+
# @return [Fixnum]
|
1342
1342
|
attr_accessor :video_views
|
1343
1343
|
|
1344
1344
|
def initialize(**args)
|
@@ -1691,7 +1691,7 @@ module Google
|
|
1691
1691
|
# Note: If your broadcast had a testing phase, the offset is measured from the
|
1692
1692
|
# time that the testing phase began.
|
1693
1693
|
# Corresponds to the JSON property `offsetTimeMs`
|
1694
|
-
# @return [
|
1694
|
+
# @return [Fixnum]
|
1695
1695
|
attr_accessor :offset_time_ms
|
1696
1696
|
|
1697
1697
|
# This value specifies the wall clock time at which the cuepoint should be
|
@@ -3233,17 +3233,17 @@ module Google
|
|
3233
3233
|
|
3234
3234
|
# Conflicting reference offset in milliseconds.
|
3235
3235
|
# Corresponds to the JSON property `conflicting_reference_offset_ms`
|
3236
|
-
# @return [
|
3236
|
+
# @return [Fixnum]
|
3237
3237
|
attr_accessor :conflicting_reference_offset_ms
|
3238
3238
|
|
3239
3239
|
# Match length in milliseconds.
|
3240
3240
|
# Corresponds to the JSON property `length_ms`
|
3241
|
-
# @return [
|
3241
|
+
# @return [Fixnum]
|
3242
3242
|
attr_accessor :length_ms
|
3243
3243
|
|
3244
3244
|
# Original reference offset in milliseconds.
|
3245
3245
|
# Corresponds to the JSON property `original_reference_offset_ms`
|
3246
|
-
# @return [
|
3246
|
+
# @return [Fixnum]
|
3247
3247
|
attr_accessor :original_reference_offset_ms
|
3248
3248
|
|
3249
3249
|
# The referenceConflictMatch's type.
|
@@ -3455,7 +3455,7 @@ module Google
|
|
3455
3455
|
|
3456
3456
|
# The duration of the segment in milliseconds.
|
3457
3457
|
# Corresponds to the JSON property `duration`
|
3458
|
-
# @return [
|
3458
|
+
# @return [Fixnum]
|
3459
3459
|
attr_accessor :duration
|
3460
3460
|
|
3461
3461
|
# The type of the API resource. For segment resources, the value is
|
@@ -3466,7 +3466,7 @@ module Google
|
|
3466
3466
|
|
3467
3467
|
# The start time of the segment, measured in milliseconds from the beginning.
|
3468
3468
|
# Corresponds to the JSON property `start`
|
3469
|
-
# @return [
|
3469
|
+
# @return [Fixnum]
|
3470
3470
|
attr_accessor :start
|
3471
3471
|
|
3472
3472
|
def initialize(**args)
|
@@ -3529,7 +3529,7 @@ module Google
|
|
3529
3529
|
|
3530
3530
|
# The time that the state transition occurred.
|
3531
3531
|
# Corresponds to the JSON property `timeCompleted`
|
3532
|
-
# @return [
|
3532
|
+
# @return [Fixnum]
|
3533
3533
|
attr_accessor :time_completed
|
3534
3534
|
|
3535
3535
|
def initialize(**args)
|
@@ -793,17 +793,17 @@ module Google
|
|
793
793
|
class LongestMatch
|
794
794
|
# @private
|
795
795
|
class Representation < Google::Apis::Core::JsonRepresentation
|
796
|
-
property :duration_secs, as: 'durationSecs'
|
797
|
-
property :reference_offset, as: 'referenceOffset'
|
798
|
-
property :user_video_offset, as: 'userVideoOffset'
|
796
|
+
property :duration_secs, :numeric_string => true, as: 'durationSecs'
|
797
|
+
property :reference_offset, :numeric_string => true, as: 'referenceOffset'
|
798
|
+
property :user_video_offset, :numeric_string => true, as: 'userVideoOffset'
|
799
799
|
end
|
800
800
|
end
|
801
801
|
|
802
802
|
class TotalMatch
|
803
803
|
# @private
|
804
804
|
class Representation < Google::Apis::Core::JsonRepresentation
|
805
|
-
property :reference_duration_secs, as: 'referenceDurationSecs'
|
806
|
-
property :user_video_duration_secs, as: 'userVideoDurationSecs'
|
805
|
+
property :reference_duration_secs, :numeric_string => true, as: 'referenceDurationSecs'
|
806
|
+
property :user_video_duration_secs, :numeric_string => true, as: 'userVideoDurationSecs'
|
807
807
|
end
|
808
808
|
end
|
809
809
|
end
|
@@ -905,7 +905,7 @@ module Google
|
|
905
905
|
|
906
906
|
property :video_id, as: 'videoId'
|
907
907
|
property :video_title, as: 'videoTitle'
|
908
|
-
property :video_views, as: 'videoViews'
|
908
|
+
property :video_views, :numeric_string => true, as: 'videoViews'
|
909
909
|
end
|
910
910
|
|
911
911
|
class Origin
|
@@ -998,7 +998,7 @@ module Google
|
|
998
998
|
class Representation < Google::Apis::Core::JsonRepresentation
|
999
999
|
property :cue_type, as: 'cueType'
|
1000
1000
|
property :duration_secs, as: 'durationSecs'
|
1001
|
-
property :offset_time_ms, as: 'offsetTimeMs'
|
1001
|
+
property :offset_time_ms, :numeric_string => true, as: 'offsetTimeMs'
|
1002
1002
|
property :walltime, as: 'walltime', type: DateTime
|
1003
1003
|
|
1004
1004
|
end
|
@@ -1377,9 +1377,9 @@ module Google
|
|
1377
1377
|
class ReferenceConflictMatch
|
1378
1378
|
# @private
|
1379
1379
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1380
|
-
property :conflicting_reference_offset_ms, as: 'conflicting_reference_offset_ms'
|
1381
|
-
property :length_ms, as: 'length_ms'
|
1382
|
-
property :original_reference_offset_ms, as: 'original_reference_offset_ms'
|
1380
|
+
property :conflicting_reference_offset_ms, :numeric_string => true, as: 'conflicting_reference_offset_ms'
|
1381
|
+
property :length_ms, :numeric_string => true, as: 'length_ms'
|
1382
|
+
property :original_reference_offset_ms, :numeric_string => true, as: 'original_reference_offset_ms'
|
1383
1383
|
property :type, as: 'type'
|
1384
1384
|
end
|
1385
1385
|
end
|
@@ -1439,9 +1439,9 @@ module Google
|
|
1439
1439
|
class Segment
|
1440
1440
|
# @private
|
1441
1441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1442
|
-
property :duration, as: 'duration'
|
1442
|
+
property :duration, :numeric_string => true, as: 'duration'
|
1443
1443
|
property :kind, as: 'kind'
|
1444
|
-
property :start, as: 'start'
|
1444
|
+
property :start, :numeric_string => true, as: 'start'
|
1445
1445
|
end
|
1446
1446
|
end
|
1447
1447
|
|
@@ -1459,7 +1459,7 @@ module Google
|
|
1459
1459
|
# @private
|
1460
1460
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1461
1461
|
property :state, as: 'state'
|
1462
|
-
property :time_completed, as: 'timeCompleted'
|
1462
|
+
property :time_completed, :numeric_string => true, as: 'timeCompleted'
|
1463
1463
|
end
|
1464
1464
|
end
|
1465
1465
|
|
@@ -1786,7 +1786,7 @@ module Google
|
|
1786
1786
|
|
1787
1787
|
# The number of comments for the channel.
|
1788
1788
|
# Corresponds to the JSON property `commentCount`
|
1789
|
-
# @return [
|
1789
|
+
# @return [Fixnum]
|
1790
1790
|
attr_accessor :comment_count
|
1791
1791
|
|
1792
1792
|
# Whether or not the number of subscribers is shown for this user.
|
@@ -1797,17 +1797,17 @@ module Google
|
|
1797
1797
|
|
1798
1798
|
# The number of subscribers that the channel has.
|
1799
1799
|
# Corresponds to the JSON property `subscriberCount`
|
1800
|
-
# @return [
|
1800
|
+
# @return [Fixnum]
|
1801
1801
|
attr_accessor :subscriber_count
|
1802
1802
|
|
1803
1803
|
# The number of videos uploaded to the channel.
|
1804
1804
|
# Corresponds to the JSON property `videoCount`
|
1805
|
-
# @return [
|
1805
|
+
# @return [Fixnum]
|
1806
1806
|
attr_accessor :video_count
|
1807
1807
|
|
1808
1808
|
# The number of times the channel has been viewed.
|
1809
1809
|
# Corresponds to the JSON property `viewCount`
|
1810
|
-
# @return [
|
1810
|
+
# @return [Fixnum]
|
1811
1811
|
attr_accessor :view_count
|
1812
1812
|
|
1813
1813
|
def initialize(**args)
|
@@ -2851,7 +2851,7 @@ module Google
|
|
2851
2851
|
|
2852
2852
|
# The amount of funding in micros of fund_currency. e.g., 1 is represented
|
2853
2853
|
# Corresponds to the JSON property `amountMicros`
|
2854
|
-
# @return [
|
2854
|
+
# @return [Fixnum]
|
2855
2855
|
attr_accessor :amount_micros
|
2856
2856
|
|
2857
2857
|
# Channel id where the funding event occurred.
|
@@ -3606,14 +3606,14 @@ module Google
|
|
3606
3606
|
# Defines the duration in milliseconds for which the promotion should be
|
3607
3607
|
# displayed. If missing, the client should use the default.
|
3608
3608
|
# Corresponds to the JSON property `durationMs`
|
3609
|
-
# @return [
|
3609
|
+
# @return [Fixnum]
|
3610
3610
|
attr_accessor :duration_ms
|
3611
3611
|
|
3612
3612
|
# Defines the time at which the promotion will appear. Depending on the value of
|
3613
3613
|
# type the value of the offsetMs field will represent a time offset from the
|
3614
3614
|
# start or from the end of the video, expressed in milliseconds.
|
3615
3615
|
# Corresponds to the JSON property `offsetMs`
|
3616
|
-
# @return [
|
3616
|
+
# @return [Fixnum]
|
3617
3617
|
attr_accessor :offset_ms
|
3618
3618
|
|
3619
3619
|
# Describes a timing type. If the value is offsetFromStart, then the offsetMs
|
@@ -4011,7 +4011,7 @@ module Google
|
|
4011
4011
|
# ends. So, this property would not identify the number of viewers watching an
|
4012
4012
|
# archived video of a live broadcast that already ended.
|
4013
4013
|
# Corresponds to the JSON property `concurrentViewers`
|
4014
|
-
# @return [
|
4014
|
+
# @return [Fixnum]
|
4015
4015
|
attr_accessor :concurrent_viewers
|
4016
4016
|
|
4017
4017
|
# The total number of live chat messages currently on the broadcast. The
|
@@ -4021,7 +4021,7 @@ module Google
|
|
4021
4021
|
# identify the number of chat messages for an archived video of a completed live
|
4022
4022
|
# broadcast.
|
4023
4023
|
# Corresponds to the JSON property `totalChatCount`
|
4024
|
-
# @return [
|
4024
|
+
# @return [Fixnum]
|
4025
4025
|
attr_accessor :total_chat_count
|
4026
4026
|
|
4027
4027
|
def initialize(**args)
|
@@ -4198,7 +4198,7 @@ module Google
|
|
4198
4198
|
|
4199
4199
|
# The duration of a ban, only filled if the ban has type TEMPORARY.
|
4200
4200
|
# Corresponds to the JSON property `banDurationSeconds`
|
4201
|
-
# @return [
|
4201
|
+
# @return [Fixnum]
|
4202
4202
|
attr_accessor :ban_duration_seconds
|
4203
4203
|
|
4204
4204
|
#
|
@@ -4240,7 +4240,7 @@ module Google
|
|
4240
4240
|
|
4241
4241
|
# The amount of the fund.
|
4242
4242
|
# Corresponds to the JSON property `amountMicros`
|
4243
|
-
# @return [
|
4243
|
+
# @return [Fixnum]
|
4244
4244
|
attr_accessor :amount_micros
|
4245
4245
|
|
4246
4246
|
# The currency in which the fund was made.
|
@@ -4892,7 +4892,7 @@ module Google
|
|
4892
4892
|
|
4893
4893
|
# The amount purchased by the user, in micros (1,750,000 micros = 1.75).
|
4894
4894
|
# Corresponds to the JSON property `amountMicros`
|
4895
|
-
# @return [
|
4895
|
+
# @return [Fixnum]
|
4896
4896
|
attr_accessor :amount_micros
|
4897
4897
|
|
4898
4898
|
# The currency in which the purchase was made.
|
@@ -4951,7 +4951,7 @@ module Google
|
|
4951
4951
|
# The duration of the ban. This property is only present if the banType is
|
4952
4952
|
# temporary.
|
4953
4953
|
# Corresponds to the JSON property `banDurationSeconds`
|
4954
|
-
# @return [
|
4954
|
+
# @return [Fixnum]
|
4955
4955
|
attr_accessor :ban_duration_seconds
|
4956
4956
|
|
4957
4957
|
# The type of ban.
|
@@ -5119,7 +5119,7 @@ module Google
|
|
5119
5119
|
|
5120
5120
|
# The last time this status was updated (in seconds)
|
5121
5121
|
# Corresponds to the JSON property `lastUpdateTimeSeconds`
|
5122
|
-
# @return [
|
5122
|
+
# @return [Fixnum]
|
5123
5123
|
attr_accessor :last_update_time_seconds
|
5124
5124
|
|
5125
5125
|
# The status code of this stream
|
@@ -6817,7 +6817,7 @@ module Google
|
|
6817
6817
|
# The purchase amount, in micros of the purchase currency. e.g., 1 is
|
6818
6818
|
# represented as 1000000.
|
6819
6819
|
# Corresponds to the JSON property `amountMicros`
|
6820
|
-
# @return [
|
6820
|
+
# @return [Fixnum]
|
6821
6821
|
attr_accessor :amount_micros
|
6822
6822
|
|
6823
6823
|
# Channel id where the event occurred.
|
@@ -7627,7 +7627,7 @@ module Google
|
|
7627
7627
|
# The uploaded video file's combined (video and audio) bitrate in bits per
|
7628
7628
|
# second.
|
7629
7629
|
# Corresponds to the JSON property `bitrateBps`
|
7630
|
-
# @return [
|
7630
|
+
# @return [Fixnum]
|
7631
7631
|
attr_accessor :bitrate_bps
|
7632
7632
|
|
7633
7633
|
# The uploaded video file's container format.
|
@@ -7647,7 +7647,7 @@ module Google
|
|
7647
7647
|
|
7648
7648
|
# The length of the uploaded video in milliseconds.
|
7649
7649
|
# Corresponds to the JSON property `durationMs`
|
7650
|
-
# @return [
|
7650
|
+
# @return [Fixnum]
|
7651
7651
|
attr_accessor :duration_ms
|
7652
7652
|
|
7653
7653
|
# The uploaded file's name. This field is present whether a video file or
|
@@ -7659,7 +7659,7 @@ module Google
|
|
7659
7659
|
# The uploaded file's size in bytes. This field is present whether a video file
|
7660
7660
|
# or another type of file was uploaded.
|
7661
7661
|
# Corresponds to the JSON property `fileSize`
|
7662
|
-
# @return [
|
7662
|
+
# @return [Fixnum]
|
7663
7663
|
attr_accessor :file_size
|
7664
7664
|
|
7665
7665
|
# The uploaded file's type as detected by YouTube's video processing engine.
|
@@ -7699,7 +7699,7 @@ module Google
|
|
7699
7699
|
|
7700
7700
|
# The audio stream's bitrate, in bits per second.
|
7701
7701
|
# Corresponds to the JSON property `bitrateBps`
|
7702
|
-
# @return [
|
7702
|
+
# @return [Fixnum]
|
7703
7703
|
attr_accessor :bitrate_bps
|
7704
7704
|
|
7705
7705
|
# The number of audio channels that the stream contains.
|
@@ -7743,7 +7743,7 @@ module Google
|
|
7743
7743
|
|
7744
7744
|
# The video stream's bitrate, in bits per second.
|
7745
7745
|
# Corresponds to the JSON property `bitrateBps`
|
7746
|
-
# @return [
|
7746
|
+
# @return [Fixnum]
|
7747
7747
|
attr_accessor :bitrate_bps
|
7748
7748
|
|
7749
7749
|
# The video codec that the stream uses.
|
@@ -7946,7 +7946,7 @@ module Google
|
|
7946
7946
|
# ends. So, this property would not identify the number of viewers watching an
|
7947
7947
|
# archived video of a live broadcast that already ended.
|
7948
7948
|
# Corresponds to the JSON property `concurrentViewers`
|
7949
|
-
# @return [
|
7949
|
+
# @return [Fixnum]
|
7950
7950
|
attr_accessor :concurrent_viewers
|
7951
7951
|
|
7952
7952
|
# The time that the broadcast is scheduled to end. The value is specified in ISO
|
@@ -8027,7 +8027,7 @@ module Google
|
|
8027
8027
|
|
8028
8028
|
#
|
8029
8029
|
# Corresponds to the JSON property `embedHeight`
|
8030
|
-
# @return [
|
8030
|
+
# @return [Fixnum]
|
8031
8031
|
attr_accessor :embed_height
|
8032
8032
|
|
8033
8033
|
# An <iframe> tag that embeds a player that will play the video.
|
@@ -8037,7 +8037,7 @@ module Google
|
|
8037
8037
|
|
8038
8038
|
# The embed width
|
8039
8039
|
# Corresponds to the JSON property `embedWidth`
|
8040
|
-
# @return [
|
8040
|
+
# @return [Fixnum]
|
8041
8041
|
attr_accessor :embed_width
|
8042
8042
|
|
8043
8043
|
def initialize(**args)
|
@@ -8142,20 +8142,20 @@ module Google
|
|
8142
8142
|
# it is possible that the calculated progress could periodically decrease while
|
8143
8143
|
# YouTube processes a video.
|
8144
8144
|
# Corresponds to the JSON property `partsProcessed`
|
8145
|
-
# @return [
|
8145
|
+
# @return [Fixnum]
|
8146
8146
|
attr_accessor :parts_processed
|
8147
8147
|
|
8148
8148
|
# An estimate of the total number of parts that need to be processed for the
|
8149
8149
|
# video. The number may be updated with more precise estimates while YouTube
|
8150
8150
|
# processes the video.
|
8151
8151
|
# Corresponds to the JSON property `partsTotal`
|
8152
|
-
# @return [
|
8152
|
+
# @return [Fixnum]
|
8153
8153
|
attr_accessor :parts_total
|
8154
8154
|
|
8155
8155
|
# An estimate of the amount of time, in millseconds, that YouTube needs to
|
8156
8156
|
# finish processing the video.
|
8157
8157
|
# Corresponds to the JSON property `timeLeftMs`
|
8158
|
-
# @return [
|
8158
|
+
# @return [Fixnum]
|
8159
8159
|
attr_accessor :time_left_ms
|
8160
8160
|
|
8161
8161
|
def initialize(**args)
|
@@ -8343,29 +8343,29 @@ module Google
|
|
8343
8343
|
|
8344
8344
|
# The number of comments for the video.
|
8345
8345
|
# Corresponds to the JSON property `commentCount`
|
8346
|
-
# @return [
|
8346
|
+
# @return [Fixnum]
|
8347
8347
|
attr_accessor :comment_count
|
8348
8348
|
|
8349
8349
|
# The number of users who have indicated that they disliked the video by giving
|
8350
8350
|
# it a negative rating.
|
8351
8351
|
# Corresponds to the JSON property `dislikeCount`
|
8352
|
-
# @return [
|
8352
|
+
# @return [Fixnum]
|
8353
8353
|
attr_accessor :dislike_count
|
8354
8354
|
|
8355
8355
|
# The number of users who currently have the video marked as a favorite video.
|
8356
8356
|
# Corresponds to the JSON property `favoriteCount`
|
8357
|
-
# @return [
|
8357
|
+
# @return [Fixnum]
|
8358
8358
|
attr_accessor :favorite_count
|
8359
8359
|
|
8360
8360
|
# The number of users who have indicated that they liked the video by giving it
|
8361
8361
|
# a positive rating.
|
8362
8362
|
# Corresponds to the JSON property `likeCount`
|
8363
|
-
# @return [
|
8363
|
+
# @return [Fixnum]
|
8364
8364
|
attr_accessor :like_count
|
8365
8365
|
|
8366
8366
|
# The number of times the video has been viewed.
|
8367
8367
|
# Corresponds to the JSON property `viewCount`
|
8368
|
-
# @return [
|
8368
|
+
# @return [Fixnum]
|
8369
8369
|
attr_accessor :view_count
|
8370
8370
|
|
8371
8371
|
def initialize(**args)
|