google-api-client 0.9.8 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +15 -8
- data/CHANGELOG.md +84 -0
- data/Gemfile +10 -2
- data/README.md +10 -2
- data/api_names.yaml +37172 -135
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
- data/generated/google/apis/admin_directory_v1/service.rb +41 -2
- data/generated/google/apis/admin_reports_v1.rb +5 -5
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +379 -3
- data/generated/google/apis/analytics_v3/representations.rb +136 -0
- data/generated/google/apis/analytics_v3/service.rb +256 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
- data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
- data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
- data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
- data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
- data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
- data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
- data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
- data/generated/google/apis/appsactivity_v1.rb +3 -3
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +360 -38
- data/generated/google/apis/bigquery_v2/representations.rb +106 -0
- data/generated/google/apis/bigquery_v2/service.rb +18 -4
- data/generated/google/apis/books_v1.rb +2 -2
- data/generated/google/apis/books_v1/classes.rb +83 -0
- data/generated/google/apis/books_v1/representations.rb +35 -0
- data/generated/google/apis/books_v1/service.rb +7 -3
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +208 -5
- data/generated/google/apis/calendar_v3/representations.rb +97 -0
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
- data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
- data/generated/google/apis/civicinfo_v2/service.rb +27 -6
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -761
- data/generated/google/apis/classroom_v1/representations.rb +263 -198
- data/generated/google/apis/classroom_v1/service.rb +1349 -672
- data/generated/google/apis/cloudbilling_v1.rb +3 -3
- data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
- data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
- data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
- data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
- data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
- data/generated/google/apis/clouddebugger_v2.rb +5 -8
- data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
- data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
- data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
- data/generated/google/apis/cloudkms_v1.rb +35 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1/service.rb +933 -0
- data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
- data/generated/google/apis/cloudtrace_v1.rb +9 -9
- data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
- data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
- data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +7007 -3648
- data/generated/google/apis/compute_beta/representations.rb +1459 -120
- data/generated/google/apis/compute_beta/service.rb +7943 -3726
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2567 -370
- data/generated/google/apis/compute_v1/representations.rb +855 -0
- data/generated/google/apis/compute_v1/service.rb +6388 -2908
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +287 -16
- data/generated/google/apis/container_v1/representations.rb +113 -2
- data/generated/google/apis/container_v1/service.rb +130 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +778 -10
- data/generated/google/apis/content_v2/representations.rb +339 -0
- data/generated/google/apis/content_v2/service.rb +364 -49
- data/generated/google/apis/dataflow_v1b3.rb +37 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
- data/generated/google/apis/dataproc_v1/representations.rb +299 -225
- data/generated/google/apis/dataproc_v1/service.rb +277 -192
- data/generated/google/apis/datastore_v1.rb +38 -0
- data/generated/google/apis/datastore_v1/classes.rb +1289 -0
- data/generated/google/apis/datastore_v1/representations.rb +572 -0
- data/generated/google/apis/datastore_v1/service.rb +259 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
- data/generated/google/apis/dfareporting_v2_7.rb +40 -0
- data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
- data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
- data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +43 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
- data/generated/google/apis/dns_v2beta1/service.rb +768 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +595 -37
- data/generated/google/apis/drive_v2/representations.rb +140 -0
- data/generated/google/apis/drive_v2/service.rb +406 -40
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +507 -40
- data/generated/google/apis/drive_v3/representations.rb +105 -0
- data/generated/google/apis/drive_v3/service.rb +326 -29
- data/generated/google/apis/fitness_v1.rb +38 -2
- data/generated/google/apis/fitness_v1/classes.rb +65 -7
- data/generated/google/apis/fitness_v1/representations.rb +20 -0
- data/generated/google/apis/fitness_v1/service.rb +17 -18
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +10 -12
- data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
- data/generated/google/apis/genomics_v1/representations.rb +468 -496
- data/generated/google/apis/genomics_v1/service.rb +978 -882
- data/generated/google/apis/gmail_v1.rb +11 -2
- data/generated/google/apis/gmail_v1/classes.rb +655 -5
- data/generated/google/apis/gmail_v1/representations.rb +261 -0
- data/generated/google/apis/gmail_v1/service.rb +1211 -48
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +446 -368
- data/generated/google/apis/iam_v1/representations.rb +109 -91
- data/generated/google/apis/iam_v1/service.rb +249 -162
- data/generated/google/apis/identitytoolkit_v3.rb +7 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
- data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
- data/generated/google/apis/kgsearch_v1.rb +2 -3
- data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +26 -24
- data/generated/google/apis/language_v1beta1.rb +36 -0
- data/generated/google/apis/language_v1beta1/classes.rb +757 -0
- data/generated/google/apis/language_v1beta1/representations.rb +339 -0
- data/generated/google/apis/language_v1beta1/service.rb +185 -0
- data/generated/google/apis/licensing_v1.rb +3 -3
- data/generated/google/apis/licensing_v1/classes.rb +14 -2
- data/generated/google/apis/licensing_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/service.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
- data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
- data/generated/google/apis/logging_v2beta1/service.rb +427 -155
- data/generated/google/apis/manufacturers_v1.rb +34 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
- data/generated/google/apis/manufacturers_v1/service.rb +138 -0
- data/generated/google/apis/mirror_v1.rb +2 -2
- data/generated/google/apis/mirror_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +45 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
- data/generated/google/apis/monitoring_v3/representations.rb +516 -0
- data/generated/google/apis/monitoring_v3/service.rb +706 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +3 -3
- data/generated/google/apis/partners_v2/classes.rb +1831 -477
- data/generated/google/apis/partners_v2/representations.rb +571 -114
- data/generated/google/apis/partners_v2/service.rb +898 -167
- data/generated/google/apis/people_v1.rb +15 -16
- data/generated/google/apis/people_v1/classes.rb +1047 -859
- data/generated/google/apis/people_v1/representations.rb +252 -213
- data/generated/google/apis/people_v1/service.rb +75 -62
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +363 -310
- data/generated/google/apis/pubsub_v1/representations.rb +76 -76
- data/generated/google/apis/pubsub_v1/service.rb +464 -335
- data/generated/google/apis/qpx_express_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +222 -61
- data/generated/google/apis/reseller_v1/representations.rb +28 -0
- data/generated/google/apis/reseller_v1/service.rb +240 -47
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +151 -137
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/script_v1/service.rb +9 -8
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
- data/generated/google/apis/sheets_v4/representations.rb +988 -737
- data/generated/google/apis/sheets_v4/service.rb +266 -99
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +4480 -0
- data/generated/google/apis/slides_v1/representations.rb +1926 -0
- data/generated/google/apis/slides_v1/service.rb +245 -0
- data/generated/google/apis/speech_v1beta1.rb +34 -0
- data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
- data/generated/google/apis/speech_v1beta1/service.rb +270 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +205 -21
- data/generated/google/apis/storage_v1/representations.rb +51 -1
- data/generated/google/apis/storage_v1/service.rb +263 -9
- data/generated/google/apis/tagmanager_v1.rb +5 -5
- data/generated/google/apis/translate_v2.rb +2 -2
- data/generated/google/apis/translate_v2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1275 -731
- data/generated/google/apis/vision_v1/representations.rb +378 -111
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
- data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +430 -22
- data/generated/google/apis/youtube_v3/representations.rb +171 -4
- data/generated/google/apis/youtube_v3/service.rb +100 -9
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
- data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
- data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
- data/google-api-client.gemspec +4 -3
- data/lib/google/apis/core/api_command.rb +16 -6
- data/lib/google/apis/core/base_service.rb +17 -9
- data/lib/google/apis/core/download.rb +7 -2
- data/lib/google/apis/core/http_command.rb +5 -1
- data/lib/google/apis/core/json_representation.rb +2 -2
- data/lib/google/apis/core/upload.rb +7 -1
- data/lib/google/apis/errors.rb +6 -2
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/bigquery.rb +101 -0
- data/samples/cli/lib/samples/calendar.rb +1 -1
- data/samples/cli/lib/samples/gmail.rb +74 -0
- data/samples/cli/lib/samples/sheets.rb +61 -0
- data/samples/cli/lib/samples/you_tube.rb +4 -1
- data/sync.rb +71 -0
- metadata +86 -18
@@ -20,12 +20,12 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Fitness
|
22
22
|
#
|
23
|
-
#
|
23
|
+
# Stores and accesses user data in the fitness store from apps on any platform.
|
24
24
|
#
|
25
25
|
# @see https://developers.google.com/fit/rest/
|
26
26
|
module FitnessV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20161128'
|
29
29
|
|
30
30
|
# View your activity information in Google Fit
|
31
31
|
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
@@ -33,17 +33,53 @@ module Google
|
|
33
33
|
# View and store your activity information in Google Fit
|
34
34
|
AUTH_FITNESS_ACTIVITY_WRITE = 'https://www.googleapis.com/auth/fitness.activity.write'
|
35
35
|
|
36
|
+
# View blood glucose data in Google Fit
|
37
|
+
AUTH_FITNESS_BLOOD_GLUCOSE_READ = 'https://www.googleapis.com/auth/fitness.blood_glucose.read'
|
38
|
+
|
39
|
+
# View and store blood glucose data in Google Fit
|
40
|
+
AUTH_FITNESS_BLOOD_GLUCOSE_WRITE = 'https://www.googleapis.com/auth/fitness.blood_glucose.write'
|
41
|
+
|
42
|
+
# View blood pressure data in Google Fit
|
43
|
+
AUTH_FITNESS_BLOOD_PRESSURE_READ = 'https://www.googleapis.com/auth/fitness.blood_pressure.read'
|
44
|
+
|
45
|
+
# View and store blood pressure data in Google Fit
|
46
|
+
AUTH_FITNESS_BLOOD_PRESSURE_WRITE = 'https://www.googleapis.com/auth/fitness.blood_pressure.write'
|
47
|
+
|
36
48
|
# View body sensor information in Google Fit
|
37
49
|
AUTH_FITNESS_BODY_READ = 'https://www.googleapis.com/auth/fitness.body.read'
|
38
50
|
|
39
51
|
# View and store body sensor data in Google Fit
|
40
52
|
AUTH_FITNESS_BODY_WRITE = 'https://www.googleapis.com/auth/fitness.body.write'
|
41
53
|
|
54
|
+
# View body temperature data in Google Fit
|
55
|
+
AUTH_FITNESS_BODY_TEMPERATURE_READ = 'https://www.googleapis.com/auth/fitness.body_temperature.read'
|
56
|
+
|
57
|
+
# View and store body temperature data in Google Fit
|
58
|
+
AUTH_FITNESS_BODY_TEMPERATURE_WRITE = 'https://www.googleapis.com/auth/fitness.body_temperature.write'
|
59
|
+
|
42
60
|
# View your stored location data in Google Fit
|
43
61
|
AUTH_FITNESS_LOCATION_READ = 'https://www.googleapis.com/auth/fitness.location.read'
|
44
62
|
|
45
63
|
# View and store your location data in Google Fit
|
46
64
|
AUTH_FITNESS_LOCATION_WRITE = 'https://www.googleapis.com/auth/fitness.location.write'
|
65
|
+
|
66
|
+
# View nutrition information in Google Fit
|
67
|
+
AUTH_FITNESS_NUTRITION_READ = 'https://www.googleapis.com/auth/fitness.nutrition.read'
|
68
|
+
|
69
|
+
# View and store nutrition information in Google Fit
|
70
|
+
AUTH_FITNESS_NUTRITION_WRITE = 'https://www.googleapis.com/auth/fitness.nutrition.write'
|
71
|
+
|
72
|
+
# View oxygen saturation data in Google Fit
|
73
|
+
AUTH_FITNESS_OXYGEN_SATURATION_READ = 'https://www.googleapis.com/auth/fitness.oxygen_saturation.read'
|
74
|
+
|
75
|
+
# View and store oxygen saturation data in Google Fit
|
76
|
+
AUTH_FITNESS_OXYGEN_SATURATION_WRITE = 'https://www.googleapis.com/auth/fitness.oxygen_saturation.write'
|
77
|
+
|
78
|
+
# View reproductive health data in Google Fit
|
79
|
+
AUTH_FITNESS_REPRODUCTIVE_HEALTH_READ = 'https://www.googleapis.com/auth/fitness.reproductive_health.read'
|
80
|
+
|
81
|
+
# View and store reproductive health data in Google Fit
|
82
|
+
AUTH_FITNESS_REPRODUCTIVE_HEALTH_WRITE = 'https://www.googleapis.com/auth/fitness.reproductive_health.write'
|
47
83
|
end
|
48
84
|
end
|
49
85
|
end
|
@@ -103,7 +103,7 @@ module Google
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
106
|
-
#
|
106
|
+
# Next id: 10
|
107
107
|
class AggregateRequest
|
108
108
|
include Google::Apis::Core::Hashable
|
109
109
|
|
@@ -151,6 +151,13 @@ module Google
|
|
151
151
|
# @return [String]
|
152
152
|
attr_accessor :end_time_millis
|
153
153
|
|
154
|
+
# A list of acceptable data quality standards. Only data points which conform to
|
155
|
+
# at least one of the specified data quality standards will be returned. If the
|
156
|
+
# list is empty, all data points are returned.
|
157
|
+
# Corresponds to the JSON property `filteredDataQualityStandard`
|
158
|
+
# @return [Array<String>]
|
159
|
+
attr_accessor :filtered_data_quality_standard
|
160
|
+
|
154
161
|
# The start of a window of time. Data that intersects with this time window will
|
155
162
|
# be aggregated. The time is in milliseconds since epoch, inclusive.
|
156
163
|
# Corresponds to the JSON property `startTimeMillis`
|
@@ -169,6 +176,7 @@ module Google
|
|
169
176
|
@bucket_by_session = args[:bucket_by_session] if args.key?(:bucket_by_session)
|
170
177
|
@bucket_by_time = args[:bucket_by_time] if args.key?(:bucket_by_time)
|
171
178
|
@end_time_millis = args[:end_time_millis] if args.key?(:end_time_millis)
|
179
|
+
@filtered_data_quality_standard = args[:filtered_data_quality_standard] if args.key?(:filtered_data_quality_standard)
|
172
180
|
@start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis)
|
173
181
|
end
|
174
182
|
end
|
@@ -192,7 +200,7 @@ module Google
|
|
192
200
|
end
|
193
201
|
end
|
194
202
|
|
195
|
-
#
|
203
|
+
#
|
196
204
|
class Application
|
197
205
|
include Google::Apis::Core::Hashable
|
198
206
|
|
@@ -294,6 +302,11 @@ module Google
|
|
294
302
|
# @return [String]
|
295
303
|
attr_accessor :duration_millis
|
296
304
|
|
305
|
+
#
|
306
|
+
# Corresponds to the JSON property `period`
|
307
|
+
# @return [Google::Apis::FitnessV1::BucketByTimePeriod]
|
308
|
+
attr_accessor :period
|
309
|
+
|
297
310
|
def initialize(**args)
|
298
311
|
update!(**args)
|
299
312
|
end
|
@@ -301,6 +314,38 @@ module Google
|
|
301
314
|
# Update properties of this object
|
302
315
|
def update!(**args)
|
303
316
|
@duration_millis = args[:duration_millis] if args.key?(:duration_millis)
|
317
|
+
@period = args[:period] if args.key?(:period)
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
321
|
+
#
|
322
|
+
class BucketByTimePeriod
|
323
|
+
include Google::Apis::Core::Hashable
|
324
|
+
|
325
|
+
# org.joda.timezone.DateTimeZone
|
326
|
+
# Corresponds to the JSON property `timeZoneId`
|
327
|
+
# @return [String]
|
328
|
+
attr_accessor :time_zone_id
|
329
|
+
|
330
|
+
#
|
331
|
+
# Corresponds to the JSON property `type`
|
332
|
+
# @return [String]
|
333
|
+
attr_accessor :type
|
334
|
+
|
335
|
+
#
|
336
|
+
# Corresponds to the JSON property `value`
|
337
|
+
# @return [Fixnum]
|
338
|
+
attr_accessor :value
|
339
|
+
|
340
|
+
def initialize(**args)
|
341
|
+
update!(**args)
|
342
|
+
end
|
343
|
+
|
344
|
+
# Update properties of this object
|
345
|
+
def update!(**args)
|
346
|
+
@time_zone_id = args[:time_zone_id] if args.key?(:time_zone_id)
|
347
|
+
@type = args[:type] if args.key?(:type)
|
348
|
+
@value = args[:value] if args.key?(:value)
|
304
349
|
end
|
305
350
|
end
|
306
351
|
|
@@ -400,11 +445,16 @@ module Google
|
|
400
445
|
class DataSource
|
401
446
|
include Google::Apis::Core::Hashable
|
402
447
|
|
403
|
-
#
|
448
|
+
#
|
404
449
|
# Corresponds to the JSON property `application`
|
405
450
|
# @return [Google::Apis::FitnessV1::Application]
|
406
451
|
attr_accessor :application
|
407
452
|
|
453
|
+
#
|
454
|
+
# Corresponds to the JSON property `dataQualityStandard`
|
455
|
+
# @return [Array<String>]
|
456
|
+
attr_accessor :data_quality_standard
|
457
|
+
|
408
458
|
# A unique identifier for the data stream produced by this data source. The
|
409
459
|
# identifier includes:
|
410
460
|
#
|
@@ -443,7 +493,7 @@ module Google
|
|
443
493
|
# @return [String]
|
444
494
|
attr_accessor :data_stream_name
|
445
495
|
|
446
|
-
#
|
496
|
+
#
|
447
497
|
# Corresponds to the JSON property `dataType`
|
448
498
|
# @return [Google::Apis::FitnessV1::DataType]
|
449
499
|
attr_accessor :data_type
|
@@ -481,6 +531,7 @@ module Google
|
|
481
531
|
# Update properties of this object
|
482
532
|
def update!(**args)
|
483
533
|
@application = args[:application] if args.key?(:application)
|
534
|
+
@data_quality_standard = args[:data_quality_standard] if args.key?(:data_quality_standard)
|
484
535
|
@data_stream_id = args[:data_stream_id] if args.key?(:data_stream_id)
|
485
536
|
@data_stream_name = args[:data_stream_name] if args.key?(:data_stream_name)
|
486
537
|
@data_type = args[:data_type] if args.key?(:data_type)
|
@@ -490,7 +541,7 @@ module Google
|
|
490
541
|
end
|
491
542
|
end
|
492
543
|
|
493
|
-
#
|
544
|
+
#
|
494
545
|
class DataType
|
495
546
|
include Google::Apis::Core::Hashable
|
496
547
|
|
@@ -695,6 +746,12 @@ module Google
|
|
695
746
|
# @return [Array<Google::Apis::FitnessV1::Session>]
|
696
747
|
attr_accessor :deleted_session
|
697
748
|
|
749
|
+
# Flag to indicate server has more data to transfer
|
750
|
+
# Corresponds to the JSON property `hasMoreData`
|
751
|
+
# @return [Boolean]
|
752
|
+
attr_accessor :has_more_data
|
753
|
+
alias_method :has_more_data?, :has_more_data
|
754
|
+
|
698
755
|
# The continuation token, which is used to page through large result sets.
|
699
756
|
# Provide this value in a subsequent request to return the next page of results.
|
700
757
|
# Corresponds to the JSON property `nextPageToken`
|
@@ -713,6 +770,7 @@ module Google
|
|
713
770
|
# Update properties of this object
|
714
771
|
def update!(**args)
|
715
772
|
@deleted_session = args[:deleted_session] if args.key?(:deleted_session)
|
773
|
+
@has_more_data = args[:has_more_data] if args.key?(:has_more_data)
|
716
774
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
717
775
|
@session = args[:session] if args.key?(:session)
|
718
776
|
end
|
@@ -757,7 +815,7 @@ module Google
|
|
757
815
|
# @return [Fixnum]
|
758
816
|
attr_accessor :activity_type
|
759
817
|
|
760
|
-
#
|
818
|
+
#
|
761
819
|
# Corresponds to the JSON property `application`
|
762
820
|
# @return [Google::Apis::FitnessV1::Application]
|
763
821
|
attr_accessor :application
|
@@ -813,7 +871,7 @@ module Google
|
|
813
871
|
|
814
872
|
# Holder object for the value of a single field in a data point.
|
815
873
|
# A field value has a particular format and is only ever set to one of an
|
816
|
-
# integer or a floating point value.
|
874
|
+
# integer or a floating point value. LINT.IfChange
|
817
875
|
class Value
|
818
876
|
include Google::Apis::Core::Hashable
|
819
877
|
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class BucketByTimePeriod
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class DataPoint
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -178,6 +184,7 @@ module Google
|
|
178
184
|
property :bucket_by_time, as: 'bucketByTime', class: Google::Apis::FitnessV1::BucketByTime, decorator: Google::Apis::FitnessV1::BucketByTime::Representation
|
179
185
|
|
180
186
|
property :end_time_millis, as: 'endTimeMillis'
|
187
|
+
collection :filtered_data_quality_standard, as: 'filteredDataQualityStandard'
|
181
188
|
property :start_time_millis, as: 'startTimeMillis'
|
182
189
|
end
|
183
190
|
end
|
@@ -219,6 +226,17 @@ module Google
|
|
219
226
|
# @private
|
220
227
|
class Representation < Google::Apis::Core::JsonRepresentation
|
221
228
|
property :duration_millis, as: 'durationMillis'
|
229
|
+
property :period, as: 'period', class: Google::Apis::FitnessV1::BucketByTimePeriod, decorator: Google::Apis::FitnessV1::BucketByTimePeriod::Representation
|
230
|
+
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
class BucketByTimePeriod
|
235
|
+
# @private
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
237
|
+
property :time_zone_id, as: 'timeZoneId'
|
238
|
+
property :type, as: 'type'
|
239
|
+
property :value, as: 'value'
|
222
240
|
end
|
223
241
|
end
|
224
242
|
|
@@ -242,6 +260,7 @@ module Google
|
|
242
260
|
class Representation < Google::Apis::Core::JsonRepresentation
|
243
261
|
property :application, as: 'application', class: Google::Apis::FitnessV1::Application, decorator: Google::Apis::FitnessV1::Application::Representation
|
244
262
|
|
263
|
+
collection :data_quality_standard, as: 'dataQualityStandard'
|
245
264
|
property :data_stream_id, as: 'dataStreamId'
|
246
265
|
property :data_stream_name, as: 'dataStreamName'
|
247
266
|
property :data_type, as: 'dataType', class: Google::Apis::FitnessV1::DataType, decorator: Google::Apis::FitnessV1::DataType::Representation
|
@@ -307,6 +326,7 @@ module Google
|
|
307
326
|
class Representation < Google::Apis::Core::JsonRepresentation
|
308
327
|
collection :deleted_session, as: 'deletedSession', class: Google::Apis::FitnessV1::Session, decorator: Google::Apis::FitnessV1::Session::Representation
|
309
328
|
|
329
|
+
property :has_more_data, as: 'hasMoreData'
|
310
330
|
property :next_page_token, as: 'nextPageToken'
|
311
331
|
collection :session, as: 'session', class: Google::Apis::FitnessV1::Session, decorator: Google::Apis::FitnessV1::Session::Representation
|
312
332
|
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
module FitnessV1
|
23
23
|
# Fitness
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# Stores and accesses user data in the fitness store from apps on any platform.
|
26
26
|
#
|
27
27
|
# @example
|
28
28
|
# require 'google/apis/fitness_v1'
|
@@ -98,7 +98,8 @@ module Google
|
|
98
98
|
execute_or_queue_command(command, &block)
|
99
99
|
end
|
100
100
|
|
101
|
-
#
|
101
|
+
# Deletes the specified data source. The request will fail if the data source
|
102
|
+
# contains any data points.
|
102
103
|
# @param [String] user_id
|
103
104
|
# Retrieve a data source for the person identified. Use me to indicate the
|
104
105
|
# authenticated user. Only me is supported at this time.
|
@@ -137,7 +138,7 @@ module Google
|
|
137
138
|
execute_or_queue_command(command, &block)
|
138
139
|
end
|
139
140
|
|
140
|
-
# Returns
|
141
|
+
# Returns the specified data source.
|
141
142
|
# @param [String] user_id
|
142
143
|
# Retrieve a data source for the person identified. Use me to indicate the
|
143
144
|
# authenticated user. Only me is supported at this time.
|
@@ -177,8 +178,8 @@ module Google
|
|
177
178
|
end
|
178
179
|
|
179
180
|
# Lists all data sources that are visible to the developer, using the OAuth
|
180
|
-
# scopes provided. The list is not exhaustive
|
181
|
-
# sources that are only visible to other developers or calls using other scopes.
|
181
|
+
# scopes provided. The list is not exhaustive; the user may have private data
|
182
|
+
# sources that are only visible to other developers, or calls using other scopes.
|
182
183
|
# @param [String] user_id
|
183
184
|
# List data sources for the person identified. Use me to indicate the
|
184
185
|
# authenticated user. Only me is supported at this time.
|
@@ -218,12 +219,11 @@ module Google
|
|
218
219
|
execute_or_queue_command(command, &block)
|
219
220
|
end
|
220
221
|
|
221
|
-
# Updates
|
222
|
-
#
|
223
|
-
#
|
224
|
-
#
|
225
|
-
#
|
226
|
-
# patch semantics.
|
222
|
+
# Updates the specified data source. The dataStreamId, dataType, type,
|
223
|
+
# dataStreamName, and device properties with the exception of version, cannot be
|
224
|
+
# modified.
|
225
|
+
# Data sources are identified by their dataStreamId. This method supports patch
|
226
|
+
# semantics.
|
227
227
|
# @param [String] user_id
|
228
228
|
# Update the data source for the person identified. Use me to indicate the
|
229
229
|
# authenticated user. Only me is supported at this time.
|
@@ -265,11 +265,10 @@ module Google
|
|
265
265
|
execute_or_queue_command(command, &block)
|
266
266
|
end
|
267
267
|
|
268
|
-
# Updates
|
269
|
-
#
|
270
|
-
#
|
271
|
-
#
|
272
|
-
# Data sources are identified by their data stream ID.
|
268
|
+
# Updates the specified data source. The dataStreamId, dataType, type,
|
269
|
+
# dataStreamName, and device properties with the exception of version, cannot be
|
270
|
+
# modified.
|
271
|
+
# Data sources are identified by their dataStreamId.
|
273
272
|
# @param [String] user_id
|
274
273
|
# Update the data source for the person identified. Use me to indicate the
|
275
274
|
# authenticated user. Only me is supported at this time.
|
@@ -382,8 +381,8 @@ module Google
|
|
382
381
|
# bit integers.
|
383
382
|
# @param [Fixnum] limit
|
384
383
|
# If specified, no more than this many data points will be included in the
|
385
|
-
# dataset. If
|
386
|
-
#
|
384
|
+
# dataset. If there are more data points in the dataset, nextPageToken will be
|
385
|
+
# set in the dataset response.
|
387
386
|
# @param [String] page_token
|
388
387
|
# The continuation token, which is used to page through large datasets. To get
|
389
388
|
# the next page of a dataset, set this parameter to the value of nextPageToken
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/fusiontables
|
26
26
|
module FusiontablesV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170321'
|
29
29
|
|
30
30
|
# Manage your Fusion Tables
|
31
31
|
AUTH_FUSIONTABLES = 'https://www.googleapis.com/auth/fusiontables'
|
@@ -123,9 +123,10 @@ module Google
|
|
123
123
|
# NUMBER_NO_SEPARATORfor example 1234.56 NUMBER_PERCENTfor example 123,456%
|
124
124
|
# NUMBER_SCIENTIFICfor example 1E3 STRING_EIGHT_LINE_IMAGEDisplays thumbnail
|
125
125
|
# images as tall as eight lines of text STRING_FOUR_LINE_IMAGEDisplays thumbnail
|
126
|
-
# images as tall as four lines of text STRING_JSON_TEXTAllows
|
127
|
-
#
|
128
|
-
#
|
126
|
+
# images as tall as four lines of text STRING_JSON_TEXTAllows editing of text as
|
127
|
+
# JSON in UI STRING_JSON_LISTAllows editing of text as a JSON list in UI
|
128
|
+
# STRING_LINKTreats cell as a link (must start with http:// or https://)
|
129
|
+
# STRING_ONE_LINE_IMAGEDisplays thumbnail images as tall as one line of text
|
129
130
|
# STRING_VIDEO_OR_MAPDisplay a video or map thumbnail
|
130
131
|
# Corresponds to the JSON property `formatPattern`
|
131
132
|
# @return [String]
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/games/services
|
26
26
|
module GamesConfigurationV1configuration
|
27
27
|
VERSION = 'V1configuration'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170323'
|
29
29
|
|
30
30
|
# View and manage your Google Play Developer account
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/games/services
|
26
26
|
module GamesManagementV1management
|
27
27
|
VERSION = 'V1management'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170323'
|
29
29
|
|
30
30
|
# Share your Google+ profile information and view and manage your game activity
|
31
31
|
AUTH_GAMES = 'https://www.googleapis.com/auth/games'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/games/services/
|
26
26
|
module GamesV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170323'
|
29
29
|
|
30
30
|
# View and manage its own configuration data in your Google Drive
|
31
31
|
AUTH_DRIVE_APPDATA = 'https://www.googleapis.com/auth/drive.appdata'
|
@@ -20,29 +20,27 @@ module Google
|
|
20
20
|
module Apis
|
21
21
|
# Genomics API
|
22
22
|
#
|
23
|
-
#
|
24
|
-
# Global Alliance for Genomics and Health (GA4GH) v0.5.1 API as well as several
|
25
|
-
# extensions.
|
23
|
+
# Upload, process, query, and search Genomics data in the cloud.
|
26
24
|
#
|
27
|
-
# @see https://cloud.google.com/genomics
|
25
|
+
# @see https://cloud.google.com/genomics
|
28
26
|
module GenomicsV1
|
29
27
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
31
|
-
|
32
|
-
# View and manage your data in Google BigQuery
|
33
|
-
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
28
|
+
REVISION = '20170322'
|
34
29
|
|
35
30
|
# View and manage your data across Google Cloud Platform services
|
36
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
37
32
|
|
38
|
-
#
|
39
|
-
|
33
|
+
# View Genomics data
|
34
|
+
AUTH_GENOMICS_READONLY = 'https://www.googleapis.com/auth/genomics.readonly'
|
40
35
|
|
41
36
|
# View and manage Genomics data
|
42
37
|
AUTH_GENOMICS = 'https://www.googleapis.com/auth/genomics'
|
43
38
|
|
44
|
-
# View
|
45
|
-
|
39
|
+
# View and manage your data in Google BigQuery
|
40
|
+
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
41
|
+
|
42
|
+
# Manage your data in Google Cloud Storage
|
43
|
+
AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
|
46
44
|
end
|
47
45
|
end
|
48
46
|
end
|