google-api-client 0.41.1 → 0.43.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +352 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +9 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +523 -653
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +199 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +356 -339
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +272 -152
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +1898 -1067
- data/generated/google/apis/apigee_v1/representations.rb +542 -0
- data/generated/google/apis/apigee_v1/service.rb +1895 -1090
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +198 -3
- data/generated/google/apis/bigquery_v2/representations.rb +70 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +130 -0
- data/generated/google/apis/chat_v1/representations.rb +63 -0
- data/generated/google/apis/chat_v1/service.rb +71 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +645 -900
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -11
- data/generated/google/apis/cloudasset_v1/service.rb +62 -45
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +3 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/{androidpublisher_v1_1.rb → cloudasset_v1p5beta1.rb} +11 -11
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1539 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +7 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -43
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +16 -5
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -2
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +402 -48
- data/generated/google/apis/compute_alpha/representations.rb +103 -0
- data/generated/google/apis/compute_alpha/service.rb +38 -36
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +371 -41
- data/generated/google/apis/compute_beta/representations.rb +94 -0
- data/generated/google/apis/compute_beta/service.rb +347 -36
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +397 -40
- data/generated/google/apis/compute_v1/representations.rb +110 -0
- data/generated/google/apis/compute_v1/service.rb +341 -48
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +129 -2
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +136 -17
- data/generated/google/apis/container_v1beta1/representations.rb +39 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +17 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +19 -4
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +461 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -3
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/datafusion_v1.rb +43 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1154 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +138 -93
- data/generated/google/apis/datafusion_v1/service.rb +680 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +207 -330
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +236 -325
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1341 -1513
- data/generated/google/apis/dialogflow_v2/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1419 -1591
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +780 -1022
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1776 -1728
- data/generated/google/apis/displayvideo_v1/representations.rb +300 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1277 -929
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +10 -6
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +4 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +196 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +4 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +3 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +77 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +23 -10
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +82 -2
- data/generated/google/apis/drive_v3/representations.rb +24 -0
- data/generated/google/apis/drive_v3/service.rb +8 -5
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +313 -351
- data/generated/google/apis/firebase_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +356 -420
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +180 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +148 -177
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +213 -1155
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
- data/generated/google/apis/gameservices_v1/classes.rb +2175 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1432 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +3 -75
- data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +0 -34
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +216 -269
- data/generated/google/apis/gmail_v1/service.rb +260 -288
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +301 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +230 -0
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +72 -13
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +85 -17
- data/generated/google/apis/healthcare_v1beta1/representations.rb +39 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +146 -16
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +22 -3
- data/generated/google/apis/iam_v1/service.rb +18 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -6
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +355 -437
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +78 -96
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +365 -442
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -109
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +361 -441
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -93
- data/generated/google/apis/{groupsmigration_v1.rb → memcache_v1.rb} +11 -11
- data/generated/google/apis/memcache_v1/classes.rb +1157 -0
- data/generated/google/apis/memcache_v1/representations.rb +471 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → memcache_v1}/service.rb +268 -196
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -503
- data/generated/google/apis/memcache_v1beta2/representations.rb +9 -110
- data/generated/google/apis/memcache_v1beta2/service.rb +0 -119
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +23 -17
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +14 -12
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +97 -47
- data/generated/google/apis/monitoring_v3/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3/service.rb +13 -9
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +798 -2
- data/generated/google/apis/osconfig_v1/representations.rb +372 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +382 -401
- data/generated/google/apis/people_v1/representations.rb +57 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +45 -28
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2017 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +271 -84
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +143 -35
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +397 -0
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +397 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +835 -1248
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +122 -146
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -49
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +574 -826
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +521 -746
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +176 -208
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +21 -25
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +545 -791
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +247 -330
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1150 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1137 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1121 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +165 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +50 -2
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1119 -1758
- data/generated/google/apis/servicenetworking_v1/service.rb +94 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1065 -1684
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1140 -1823
- data/generated/google/apis/serviceusage_v1/service.rb +63 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1235 -1986
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +28 -28
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -2
- data/generated/google/apis/spanner_v1/service.rb +5 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -10
- data/generated/google/apis/storagetransfer_v1/service.rb +26 -2
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +20 -21
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +187 -283
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +80 -6
- data/generated/google/apis/testing_v1/representations.rb +33 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +671 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +68 -78
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/service.rb +14 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/service.rb +14 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1868
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webfonts_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1456 -1134
- data/generated/google/apis/youtube_v3/representations.rb +282 -0
- data/generated/google/apis/youtube_v3/service.rb +1225 -1274
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -27
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
- data/generated/google/apis/fitness_v1.rb +0 -85
- data/generated/google/apis/fitness_v1/classes.rb +0 -1020
- data/generated/google/apis/fitness_v1/representations.rb +0 -398
- data/generated/google/apis/fitness_v1/service.rb +0 -647
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
@@ -1,85 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/fitness_v1/service.rb'
|
16
|
-
require 'google/apis/fitness_v1/classes.rb'
|
17
|
-
require 'google/apis/fitness_v1/representations.rb'
|
18
|
-
|
19
|
-
module Google
|
20
|
-
module Apis
|
21
|
-
# Fitness API
|
22
|
-
#
|
23
|
-
# The Fitness API for managing users' fitness tracking data.
|
24
|
-
#
|
25
|
-
# @see https://developers.google.com/fit/rest/v1/get-started
|
26
|
-
module FitnessV1
|
27
|
-
VERSION = 'V1'
|
28
|
-
REVISION = '20200601'
|
29
|
-
|
30
|
-
# Use Google Fit to see and store your physical activity data
|
31
|
-
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
32
|
-
|
33
|
-
# See and add to your Google Fit physical activity data
|
34
|
-
AUTH_FITNESS_ACTIVITY_WRITE = 'https://www.googleapis.com/auth/fitness.activity.write'
|
35
|
-
|
36
|
-
# See info about your blood glucose in Google Fit. I consent to Google sharing my blood glucose information with this app.
|
37
|
-
AUTH_FITNESS_BLOOD_GLUCOSE_READ = 'https://www.googleapis.com/auth/fitness.blood_glucose.read'
|
38
|
-
|
39
|
-
# See and add info about your blood glucose to Google Fit. I consent to Google sharing my blood glucose information with this app.
|
40
|
-
AUTH_FITNESS_BLOOD_GLUCOSE_WRITE = 'https://www.googleapis.com/auth/fitness.blood_glucose.write'
|
41
|
-
|
42
|
-
# See info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app.
|
43
|
-
AUTH_FITNESS_BLOOD_PRESSURE_READ = 'https://www.googleapis.com/auth/fitness.blood_pressure.read'
|
44
|
-
|
45
|
-
# See and add info about your blood pressure in Google Fit. I consent to Google sharing my blood pressure information with this app.
|
46
|
-
AUTH_FITNESS_BLOOD_PRESSURE_WRITE = 'https://www.googleapis.com/auth/fitness.blood_pressure.write'
|
47
|
-
|
48
|
-
# See info about your body measurements and heart rate in Google Fit
|
49
|
-
AUTH_FITNESS_BODY_READ = 'https://www.googleapis.com/auth/fitness.body.read'
|
50
|
-
|
51
|
-
# See and add info about your body measurements and heart rate to Google Fit
|
52
|
-
AUTH_FITNESS_BODY_WRITE = 'https://www.googleapis.com/auth/fitness.body.write'
|
53
|
-
|
54
|
-
# See info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.
|
55
|
-
AUTH_FITNESS_BODY_TEMPERATURE_READ = 'https://www.googleapis.com/auth/fitness.body_temperature.read'
|
56
|
-
|
57
|
-
# See and add to info about your body temperature in Google Fit. I consent to Google sharing my body temperature information with this app.
|
58
|
-
AUTH_FITNESS_BODY_TEMPERATURE_WRITE = 'https://www.googleapis.com/auth/fitness.body_temperature.write'
|
59
|
-
|
60
|
-
# See your Google Fit speed and distance data
|
61
|
-
AUTH_FITNESS_LOCATION_READ = 'https://www.googleapis.com/auth/fitness.location.read'
|
62
|
-
|
63
|
-
# See and add to your Google Fit location data
|
64
|
-
AUTH_FITNESS_LOCATION_WRITE = 'https://www.googleapis.com/auth/fitness.location.write'
|
65
|
-
|
66
|
-
# See info about your nutrition in Google Fit
|
67
|
-
AUTH_FITNESS_NUTRITION_READ = 'https://www.googleapis.com/auth/fitness.nutrition.read'
|
68
|
-
|
69
|
-
# See and add to info about your nutrition in Google Fit
|
70
|
-
AUTH_FITNESS_NUTRITION_WRITE = 'https://www.googleapis.com/auth/fitness.nutrition.write'
|
71
|
-
|
72
|
-
# See info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app.
|
73
|
-
AUTH_FITNESS_OXYGEN_SATURATION_READ = 'https://www.googleapis.com/auth/fitness.oxygen_saturation.read'
|
74
|
-
|
75
|
-
# See and add info about your oxygen saturation in Google Fit. I consent to Google sharing my oxygen saturation information with this app.
|
76
|
-
AUTH_FITNESS_OXYGEN_SATURATION_WRITE = 'https://www.googleapis.com/auth/fitness.oxygen_saturation.write'
|
77
|
-
|
78
|
-
# See info about your reproductive health in Google Fit. I consent to Google sharing my reporductive health information with this app.
|
79
|
-
AUTH_FITNESS_REPRODUCTIVE_HEALTH_READ = 'https://www.googleapis.com/auth/fitness.reproductive_health.read'
|
80
|
-
|
81
|
-
# See and add info about your reproductive health in Google Fit. I consent to Google sharing my reporductive health information with this app.
|
82
|
-
AUTH_FITNESS_REPRODUCTIVE_HEALTH_WRITE = 'https://www.googleapis.com/auth/fitness.reproductive_health.write'
|
83
|
-
end
|
84
|
-
end
|
85
|
-
end
|
@@ -1,1020 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module FitnessV1
|
24
|
-
|
25
|
-
#
|
26
|
-
class AggregateBucket
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# Available for Bucket.Type.ACTIVITY_TYPE, Bucket.Type.ACTIVITY_SEGMENT
|
30
|
-
# Corresponds to the JSON property `activity`
|
31
|
-
# @return [Fixnum]
|
32
|
-
attr_accessor :activity
|
33
|
-
|
34
|
-
# There will be one dataset per AggregateBy in the request.
|
35
|
-
# Corresponds to the JSON property `dataset`
|
36
|
-
# @return [Array<Google::Apis::FitnessV1::Dataset>]
|
37
|
-
attr_accessor :dataset
|
38
|
-
|
39
|
-
# The end time for the aggregated data, in milliseconds since epoch,
|
40
|
-
# inclusive.
|
41
|
-
# Corresponds to the JSON property `endTimeMillis`
|
42
|
-
# @return [Fixnum]
|
43
|
-
attr_accessor :end_time_millis
|
44
|
-
|
45
|
-
# Sessions contain metadata, such as a user-friendly name and time interval
|
46
|
-
# information.
|
47
|
-
# Corresponds to the JSON property `session`
|
48
|
-
# @return [Google::Apis::FitnessV1::Session]
|
49
|
-
attr_accessor :session
|
50
|
-
|
51
|
-
# The start time for the aggregated data, in milliseconds since epoch,
|
52
|
-
# inclusive.
|
53
|
-
# Corresponds to the JSON property `startTimeMillis`
|
54
|
-
# @return [Fixnum]
|
55
|
-
attr_accessor :start_time_millis
|
56
|
-
|
57
|
-
# The type of a bucket signifies how the data aggregation is performed in the
|
58
|
-
# bucket.
|
59
|
-
# Corresponds to the JSON property `type`
|
60
|
-
# @return [String]
|
61
|
-
attr_accessor :type
|
62
|
-
|
63
|
-
def initialize(**args)
|
64
|
-
update!(**args)
|
65
|
-
end
|
66
|
-
|
67
|
-
# Update properties of this object
|
68
|
-
def update!(**args)
|
69
|
-
@activity = args[:activity] if args.key?(:activity)
|
70
|
-
@dataset = args[:dataset] if args.key?(:dataset)
|
71
|
-
@end_time_millis = args[:end_time_millis] if args.key?(:end_time_millis)
|
72
|
-
@session = args[:session] if args.key?(:session)
|
73
|
-
@start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis)
|
74
|
-
@type = args[:type] if args.key?(:type)
|
75
|
-
end
|
76
|
-
end
|
77
|
-
|
78
|
-
# The specification of which data to aggregate.
|
79
|
-
class AggregateBy
|
80
|
-
include Google::Apis::Core::Hashable
|
81
|
-
|
82
|
-
# A data source ID to aggregate. Only data from the specified data source ID
|
83
|
-
# will be included in the aggregation. If specified, this data source must
|
84
|
-
# exist; the OAuth scopes in the supplied credentials must grant read access
|
85
|
-
# to this data type. The dataset in the response will have the same data
|
86
|
-
# source ID. Note: Data can be aggregated by either the dataTypeName or the
|
87
|
-
# dataSourceId, not both.
|
88
|
-
# Corresponds to the JSON property `dataSourceId`
|
89
|
-
# @return [String]
|
90
|
-
attr_accessor :data_source_id
|
91
|
-
|
92
|
-
# The data type to aggregate. All data sources providing this data type will
|
93
|
-
# contribute data to the aggregation. The response will contain a single
|
94
|
-
# dataset for this data type name. The dataset will have a data source ID of
|
95
|
-
# derived:<output data type name>:com.google.android.gms:aggregated.
|
96
|
-
# If the user has no data for this data type, an empty data set will be
|
97
|
-
# returned. Note: Data can be aggregated by either the dataTypeName or the
|
98
|
-
# dataSourceId, not both.
|
99
|
-
# Corresponds to the JSON property `dataTypeName`
|
100
|
-
# @return [String]
|
101
|
-
attr_accessor :data_type_name
|
102
|
-
|
103
|
-
def initialize(**args)
|
104
|
-
update!(**args)
|
105
|
-
end
|
106
|
-
|
107
|
-
# Update properties of this object
|
108
|
-
def update!(**args)
|
109
|
-
@data_source_id = args[:data_source_id] if args.key?(:data_source_id)
|
110
|
-
@data_type_name = args[:data_type_name] if args.key?(:data_type_name)
|
111
|
-
end
|
112
|
-
end
|
113
|
-
|
114
|
-
# Next id: 10
|
115
|
-
class AggregateRequest
|
116
|
-
include Google::Apis::Core::Hashable
|
117
|
-
|
118
|
-
# The specification of data to be aggregated. At least one aggregateBy spec
|
119
|
-
# must be provided. All data that is specified will be aggregated using the
|
120
|
-
# same bucketing criteria. There will be one dataset in the response for
|
121
|
-
# every aggregateBy spec.
|
122
|
-
# Corresponds to the JSON property `aggregateBy`
|
123
|
-
# @return [Array<Google::Apis::FitnessV1::AggregateBy>]
|
124
|
-
attr_accessor :aggregate_by
|
125
|
-
|
126
|
-
# Specifies that data be aggregated each activity segment recored for a user.
|
127
|
-
# Similar to bucketByActivitySegment, but bucketing is done for each activity
|
128
|
-
# segment rather than all segments of the same type. Mutually exclusive of
|
129
|
-
# other bucketing specifications.
|
130
|
-
# Corresponds to the JSON property `bucketByActivitySegment`
|
131
|
-
# @return [Google::Apis::FitnessV1::BucketByActivity]
|
132
|
-
attr_accessor :bucket_by_activity_segment
|
133
|
-
|
134
|
-
# Specifies that data be aggregated by the type of activity being performed
|
135
|
-
# when the data was recorded. All data that was recorded during a certain
|
136
|
-
# activity type (.for the given time range) will be aggregated into the same
|
137
|
-
# bucket. Data that was recorded while the user was not active will not be
|
138
|
-
# included in the response. Mutually exclusive of other bucketing
|
139
|
-
# specifications.
|
140
|
-
# Corresponds to the JSON property `bucketByActivityType`
|
141
|
-
# @return [Google::Apis::FitnessV1::BucketByActivity]
|
142
|
-
attr_accessor :bucket_by_activity_type
|
143
|
-
|
144
|
-
# Specifies that data be aggregated by user sessions. Data that does not fall
|
145
|
-
# within the time range of a session will not be included in the response.
|
146
|
-
# Mutually exclusive of other bucketing specifications.
|
147
|
-
# Corresponds to the JSON property `bucketBySession`
|
148
|
-
# @return [Google::Apis::FitnessV1::BucketBySession]
|
149
|
-
attr_accessor :bucket_by_session
|
150
|
-
|
151
|
-
# Specifies that data be aggregated by a single time interval. Mutually
|
152
|
-
# exclusive of other bucketing specifications.
|
153
|
-
# Corresponds to the JSON property `bucketByTime`
|
154
|
-
# @return [Google::Apis::FitnessV1::BucketByTime]
|
155
|
-
attr_accessor :bucket_by_time
|
156
|
-
|
157
|
-
# The end of a window of time. Data that intersects with this time
|
158
|
-
# window will be aggregated. The time is in milliseconds since epoch,
|
159
|
-
# inclusive.
|
160
|
-
# Corresponds to the JSON property `endTimeMillis`
|
161
|
-
# @return [Fixnum]
|
162
|
-
attr_accessor :end_time_millis
|
163
|
-
|
164
|
-
# DO NOT POPULATE THIS FIELD. It is ignored.
|
165
|
-
# Corresponds to the JSON property `filteredDataQualityStandard`
|
166
|
-
# @return [Array<String>]
|
167
|
-
attr_accessor :filtered_data_quality_standard
|
168
|
-
|
169
|
-
# The start of a window of time. Data that intersects with this time
|
170
|
-
# window will be aggregated. The time is in milliseconds since epoch,
|
171
|
-
# inclusive.
|
172
|
-
# Corresponds to the JSON property `startTimeMillis`
|
173
|
-
# @return [Fixnum]
|
174
|
-
attr_accessor :start_time_millis
|
175
|
-
|
176
|
-
def initialize(**args)
|
177
|
-
update!(**args)
|
178
|
-
end
|
179
|
-
|
180
|
-
# Update properties of this object
|
181
|
-
def update!(**args)
|
182
|
-
@aggregate_by = args[:aggregate_by] if args.key?(:aggregate_by)
|
183
|
-
@bucket_by_activity_segment = args[:bucket_by_activity_segment] if args.key?(:bucket_by_activity_segment)
|
184
|
-
@bucket_by_activity_type = args[:bucket_by_activity_type] if args.key?(:bucket_by_activity_type)
|
185
|
-
@bucket_by_session = args[:bucket_by_session] if args.key?(:bucket_by_session)
|
186
|
-
@bucket_by_time = args[:bucket_by_time] if args.key?(:bucket_by_time)
|
187
|
-
@end_time_millis = args[:end_time_millis] if args.key?(:end_time_millis)
|
188
|
-
@filtered_data_quality_standard = args[:filtered_data_quality_standard] if args.key?(:filtered_data_quality_standard)
|
189
|
-
@start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis)
|
190
|
-
end
|
191
|
-
end
|
192
|
-
|
193
|
-
#
|
194
|
-
class AggregateResponse
|
195
|
-
include Google::Apis::Core::Hashable
|
196
|
-
|
197
|
-
# A list of buckets containing the aggregated data.
|
198
|
-
# Corresponds to the JSON property `bucket`
|
199
|
-
# @return [Array<Google::Apis::FitnessV1::AggregateBucket>]
|
200
|
-
attr_accessor :bucket
|
201
|
-
|
202
|
-
def initialize(**args)
|
203
|
-
update!(**args)
|
204
|
-
end
|
205
|
-
|
206
|
-
# Update properties of this object
|
207
|
-
def update!(**args)
|
208
|
-
@bucket = args[:bucket] if args.key?(:bucket)
|
209
|
-
end
|
210
|
-
end
|
211
|
-
|
212
|
-
#
|
213
|
-
class Application
|
214
|
-
include Google::Apis::Core::Hashable
|
215
|
-
|
216
|
-
# An optional URI that can be used to link back to the application.
|
217
|
-
# Corresponds to the JSON property `detailsUrl`
|
218
|
-
# @return [String]
|
219
|
-
attr_accessor :details_url
|
220
|
-
|
221
|
-
# The name of this application. This is required for REST clients, but we
|
222
|
-
# do not enforce uniqueness of this name. It is provided as a matter of
|
223
|
-
# convenience for other developers who would like to identify which REST
|
224
|
-
# created an Application or Data Source.
|
225
|
-
# Corresponds to the JSON property `name`
|
226
|
-
# @return [String]
|
227
|
-
attr_accessor :name
|
228
|
-
|
229
|
-
# Package name for this application. This is used as a unique
|
230
|
-
# identifier when created by Android applications, but cannot be specified
|
231
|
-
# by REST clients. REST clients will have their developer project number
|
232
|
-
# reflected into the Data Source data stream IDs, instead of the packageName.
|
233
|
-
# Corresponds to the JSON property `packageName`
|
234
|
-
# @return [String]
|
235
|
-
attr_accessor :package_name
|
236
|
-
|
237
|
-
# Version of the application. You should update this field whenever the
|
238
|
-
# application changes in a way that affects the computation of the data.
|
239
|
-
# Corresponds to the JSON property `version`
|
240
|
-
# @return [String]
|
241
|
-
attr_accessor :version
|
242
|
-
|
243
|
-
def initialize(**args)
|
244
|
-
update!(**args)
|
245
|
-
end
|
246
|
-
|
247
|
-
# Update properties of this object
|
248
|
-
def update!(**args)
|
249
|
-
@details_url = args[:details_url] if args.key?(:details_url)
|
250
|
-
@name = args[:name] if args.key?(:name)
|
251
|
-
@package_name = args[:package_name] if args.key?(:package_name)
|
252
|
-
@version = args[:version] if args.key?(:version)
|
253
|
-
end
|
254
|
-
end
|
255
|
-
|
256
|
-
#
|
257
|
-
class BucketByActivity
|
258
|
-
include Google::Apis::Core::Hashable
|
259
|
-
|
260
|
-
# The default activity stream will be used if a specific activityDataSourceId
|
261
|
-
# is not specified.
|
262
|
-
# Corresponds to the JSON property `activityDataSourceId`
|
263
|
-
# @return [String]
|
264
|
-
attr_accessor :activity_data_source_id
|
265
|
-
|
266
|
-
# Specifies that only activity segments of duration longer than
|
267
|
-
# minDurationMillis are considered and used as a container for aggregated
|
268
|
-
# data.
|
269
|
-
# Corresponds to the JSON property `minDurationMillis`
|
270
|
-
# @return [Fixnum]
|
271
|
-
attr_accessor :min_duration_millis
|
272
|
-
|
273
|
-
def initialize(**args)
|
274
|
-
update!(**args)
|
275
|
-
end
|
276
|
-
|
277
|
-
# Update properties of this object
|
278
|
-
def update!(**args)
|
279
|
-
@activity_data_source_id = args[:activity_data_source_id] if args.key?(:activity_data_source_id)
|
280
|
-
@min_duration_millis = args[:min_duration_millis] if args.key?(:min_duration_millis)
|
281
|
-
end
|
282
|
-
end
|
283
|
-
|
284
|
-
#
|
285
|
-
class BucketBySession
|
286
|
-
include Google::Apis::Core::Hashable
|
287
|
-
|
288
|
-
# Specifies that only sessions of duration longer than minDurationMillis are
|
289
|
-
# considered and used as a container for aggregated data.
|
290
|
-
# Corresponds to the JSON property `minDurationMillis`
|
291
|
-
# @return [Fixnum]
|
292
|
-
attr_accessor :min_duration_millis
|
293
|
-
|
294
|
-
def initialize(**args)
|
295
|
-
update!(**args)
|
296
|
-
end
|
297
|
-
|
298
|
-
# Update properties of this object
|
299
|
-
def update!(**args)
|
300
|
-
@min_duration_millis = args[:min_duration_millis] if args.key?(:min_duration_millis)
|
301
|
-
end
|
302
|
-
end
|
303
|
-
|
304
|
-
#
|
305
|
-
class BucketByTime
|
306
|
-
include Google::Apis::Core::Hashable
|
307
|
-
|
308
|
-
# Specifies that result buckets aggregate data by exactly durationMillis time
|
309
|
-
# frames. Time frames that contain no data will be included in the response
|
310
|
-
# with an empty dataset.
|
311
|
-
# Corresponds to the JSON property `durationMillis`
|
312
|
-
# @return [Fixnum]
|
313
|
-
attr_accessor :duration_millis
|
314
|
-
|
315
|
-
#
|
316
|
-
# Corresponds to the JSON property `period`
|
317
|
-
# @return [Google::Apis::FitnessV1::BucketByTimePeriod]
|
318
|
-
attr_accessor :period
|
319
|
-
|
320
|
-
def initialize(**args)
|
321
|
-
update!(**args)
|
322
|
-
end
|
323
|
-
|
324
|
-
# Update properties of this object
|
325
|
-
def update!(**args)
|
326
|
-
@duration_millis = args[:duration_millis] if args.key?(:duration_millis)
|
327
|
-
@period = args[:period] if args.key?(:period)
|
328
|
-
end
|
329
|
-
end
|
330
|
-
|
331
|
-
#
|
332
|
-
class BucketByTimePeriod
|
333
|
-
include Google::Apis::Core::Hashable
|
334
|
-
|
335
|
-
# org.joda.timezone.DateTimeZone
|
336
|
-
# Corresponds to the JSON property `timeZoneId`
|
337
|
-
# @return [String]
|
338
|
-
attr_accessor :time_zone_id
|
339
|
-
|
340
|
-
#
|
341
|
-
# Corresponds to the JSON property `type`
|
342
|
-
# @return [String]
|
343
|
-
attr_accessor :type
|
344
|
-
|
345
|
-
#
|
346
|
-
# Corresponds to the JSON property `value`
|
347
|
-
# @return [Fixnum]
|
348
|
-
attr_accessor :value
|
349
|
-
|
350
|
-
def initialize(**args)
|
351
|
-
update!(**args)
|
352
|
-
end
|
353
|
-
|
354
|
-
# Update properties of this object
|
355
|
-
def update!(**args)
|
356
|
-
@time_zone_id = args[:time_zone_id] if args.key?(:time_zone_id)
|
357
|
-
@type = args[:type] if args.key?(:type)
|
358
|
-
@value = args[:value] if args.key?(:value)
|
359
|
-
end
|
360
|
-
end
|
361
|
-
|
362
|
-
# Represents a single data point, generated by a particular data source. A
|
363
|
-
# data point holds a value for each field, an end timestamp and an optional
|
364
|
-
# start time. The exact semantics of each of these attributes are specified in
|
365
|
-
# the documentation for the particular data type.
|
366
|
-
# A data point can represent an instantaneous measurement, reading or input
|
367
|
-
# observation, as well as averages or aggregates over a time interval. Check
|
368
|
-
# the data type documentation to determine which is the case for a particular
|
369
|
-
# data type.
|
370
|
-
# Data points always contain one value for each field of the data type.
|
371
|
-
class DataPoint
|
372
|
-
include Google::Apis::Core::Hashable
|
373
|
-
|
374
|
-
# DO NOT USE THIS FIELD. It is ignored, and not stored.
|
375
|
-
# Corresponds to the JSON property `computationTimeMillis`
|
376
|
-
# @return [Fixnum]
|
377
|
-
attr_accessor :computation_time_millis
|
378
|
-
|
379
|
-
# The data type defining the format of the values in this data point.
|
380
|
-
# Corresponds to the JSON property `dataTypeName`
|
381
|
-
# @return [String]
|
382
|
-
attr_accessor :data_type_name
|
383
|
-
|
384
|
-
# The end time of the interval represented by this data point, in
|
385
|
-
# nanoseconds since epoch.
|
386
|
-
# Corresponds to the JSON property `endTimeNanos`
|
387
|
-
# @return [Fixnum]
|
388
|
-
attr_accessor :end_time_nanos
|
389
|
-
|
390
|
-
# Indicates the last time this data point was modified. Useful only in
|
391
|
-
# contexts where we are listing the data changes, rather than representing
|
392
|
-
# the current state of the data.
|
393
|
-
# Corresponds to the JSON property `modifiedTimeMillis`
|
394
|
-
# @return [Fixnum]
|
395
|
-
attr_accessor :modified_time_millis
|
396
|
-
|
397
|
-
# If the data point is contained in a dataset for a derived data source,
|
398
|
-
# this field will be populated with the data source stream ID that created
|
399
|
-
# the data point originally.
|
400
|
-
# WARNING: do not rely on this field for anything other than debugging. The
|
401
|
-
# value of this field, if it is set at all, is an implementation detail and
|
402
|
-
# is not guaranteed to remain consistent.
|
403
|
-
# Corresponds to the JSON property `originDataSourceId`
|
404
|
-
# @return [String]
|
405
|
-
attr_accessor :origin_data_source_id
|
406
|
-
|
407
|
-
# The raw timestamp from the original SensorEvent.
|
408
|
-
# Corresponds to the JSON property `rawTimestampNanos`
|
409
|
-
# @return [Fixnum]
|
410
|
-
attr_accessor :raw_timestamp_nanos
|
411
|
-
|
412
|
-
# The start time of the interval represented by this data point, in
|
413
|
-
# nanoseconds since epoch.
|
414
|
-
# Corresponds to the JSON property `startTimeNanos`
|
415
|
-
# @return [Fixnum]
|
416
|
-
attr_accessor :start_time_nanos
|
417
|
-
|
418
|
-
# Values of each data type field for the data point. It is expected that each
|
419
|
-
# value corresponding to a data type field will occur in the same order that
|
420
|
-
# the field is listed with in the data type specified in a data source.
|
421
|
-
# Only one of integer and floating point fields will be populated, depending
|
422
|
-
# on the format enum value within data source's type field.
|
423
|
-
# Corresponds to the JSON property `value`
|
424
|
-
# @return [Array<Google::Apis::FitnessV1::Value>]
|
425
|
-
attr_accessor :value
|
426
|
-
|
427
|
-
def initialize(**args)
|
428
|
-
update!(**args)
|
429
|
-
end
|
430
|
-
|
431
|
-
# Update properties of this object
|
432
|
-
def update!(**args)
|
433
|
-
@computation_time_millis = args[:computation_time_millis] if args.key?(:computation_time_millis)
|
434
|
-
@data_type_name = args[:data_type_name] if args.key?(:data_type_name)
|
435
|
-
@end_time_nanos = args[:end_time_nanos] if args.key?(:end_time_nanos)
|
436
|
-
@modified_time_millis = args[:modified_time_millis] if args.key?(:modified_time_millis)
|
437
|
-
@origin_data_source_id = args[:origin_data_source_id] if args.key?(:origin_data_source_id)
|
438
|
-
@raw_timestamp_nanos = args[:raw_timestamp_nanos] if args.key?(:raw_timestamp_nanos)
|
439
|
-
@start_time_nanos = args[:start_time_nanos] if args.key?(:start_time_nanos)
|
440
|
-
@value = args[:value] if args.key?(:value)
|
441
|
-
end
|
442
|
-
end
|
443
|
-
|
444
|
-
# Definition of a unique source of sensor data. Data sources can expose raw
|
445
|
-
# data coming from hardware sensors on local or companion devices. They can
|
446
|
-
# also expose derived data, created by transforming or merging other data
|
447
|
-
# sources. Multiple data sources can exist for the same data type. Every data
|
448
|
-
# point inserted into or read from this service has an associated data
|
449
|
-
# source.
|
450
|
-
# The data source contains enough information to uniquely identify its data,
|
451
|
-
# including the hardware device and the application that collected and/or
|
452
|
-
# transformed the data. It also holds useful metadata, such as the hardware and
|
453
|
-
# application versions, and the device type.
|
454
|
-
# Each data source produces a unique stream of data, with a unique identifier.
|
455
|
-
# Not all changes to data source affect the stream identifier, so that data
|
456
|
-
# collected by updated versions of the same application/device can still be
|
457
|
-
# considered to belong to the same data stream.
|
458
|
-
class DataSource
|
459
|
-
include Google::Apis::Core::Hashable
|
460
|
-
|
461
|
-
# Information about an application which feeds sensor data into the platform.
|
462
|
-
# Corresponds to the JSON property `application`
|
463
|
-
# @return [Google::Apis::FitnessV1::Application]
|
464
|
-
attr_accessor :application
|
465
|
-
|
466
|
-
# DO NOT POPULATE THIS FIELD. It is never populated in responses from the
|
467
|
-
# platform, and is ignored in queries. It will be removed in a future version
|
468
|
-
# entirely.
|
469
|
-
# Corresponds to the JSON property `dataQualityStandard`
|
470
|
-
# @return [Array<String>]
|
471
|
-
attr_accessor :data_quality_standard
|
472
|
-
|
473
|
-
# A unique identifier for the data stream produced by this data source. The
|
474
|
-
# identifier includes:<br/><br/>
|
475
|
-
# <ul>
|
476
|
-
# <li>The physical device's manufacturer, model, and serial number
|
477
|
-
# (UID).</li>
|
478
|
-
# <li>The application's package name or name. Package name is used when the
|
479
|
-
# data source was created by an Android application. The developer project
|
480
|
-
# number is used when the data source was created by a REST client.</li>
|
481
|
-
# <li>The data source's type.</li>
|
482
|
-
# <li>The data source's stream name.</li>
|
483
|
-
# </ul>
|
484
|
-
# Note that not all attributes of the data source are used as part of the
|
485
|
-
# stream identifier. In particular, the version of the hardware/the
|
486
|
-
# application isn't used. This allows us to preserve the same stream through
|
487
|
-
# version updates. This also means that two DataSource objects may represent
|
488
|
-
# the same data stream even if they're not equal.
|
489
|
-
# The exact format of the data stream ID created by an Android application
|
490
|
-
# is:
|
491
|
-
# <var>type:dataType.name<wbr/>:application.packageName<wbr/>:device.
|
492
|
-
# manufacturer<wbr/>:device.model<wbr/>:device.uid<wbr/>:dataStreamName</var>
|
493
|
-
# The exact format of the data stream ID created by a REST client is:
|
494
|
-
# <var>type:dataType.name<wbr/>:developer project
|
495
|
-
# number<wbr/>:device.manufacturer<wbr/>:device.model:device.uid<wbr/>:
|
496
|
-
# dataStreamName</var>
|
497
|
-
# When any of the optional fields that make up the data stream ID are absent,
|
498
|
-
# they will be omitted from the data stream ID. The minimum viable data
|
499
|
-
# stream ID would be:
|
500
|
-
# type:dataType.name:developer project number
|
501
|
-
# Finally, the developer project number and device UID are obfuscated when
|
502
|
-
# read by any REST or Android client that did not create the data source.
|
503
|
-
# Only the data source creator will see the developer project number in clear
|
504
|
-
# and normal form. This means a client will see a different set of
|
505
|
-
# data_stream_ids than another client with different credentials.
|
506
|
-
# Corresponds to the JSON property `dataStreamId`
|
507
|
-
# @return [String]
|
508
|
-
attr_accessor :data_stream_id
|
509
|
-
|
510
|
-
# The stream name uniquely identifies this particular data source among
|
511
|
-
# other data sources of the same type from the same underlying producer.
|
512
|
-
# Setting the stream name is optional, but should be done whenever an
|
513
|
-
# application exposes two streams for the same data type, or when a device
|
514
|
-
# has two equivalent sensors.
|
515
|
-
# Corresponds to the JSON property `dataStreamName`
|
516
|
-
# @return [String]
|
517
|
-
attr_accessor :data_stream_name
|
518
|
-
|
519
|
-
# The data type defines the schema for a stream of data being collected by,
|
520
|
-
# inserted into, or queried from the Fitness API.
|
521
|
-
# Corresponds to the JSON property `dataType`
|
522
|
-
# @return [Google::Apis::FitnessV1::DataType]
|
523
|
-
attr_accessor :data_type
|
524
|
-
|
525
|
-
# Representation of an integrated device (such as a phone or a wearable) that
|
526
|
-
# can hold sensors. Each sensor is exposed as a data source.
|
527
|
-
# The main purpose of the device information contained in this class is to
|
528
|
-
# identify the hardware of a particular data source. This can be useful in
|
529
|
-
# different ways, including:
|
530
|
-
# <ul>
|
531
|
-
# <li>Distinguishing two similar sensors on different devices (the step
|
532
|
-
# counter on two nexus 5 phones, for instance)
|
533
|
-
# <li>Display the source of data to the user (by using the device make /
|
534
|
-
# model)
|
535
|
-
# <li>Treat data differently depending on sensor type (accelerometers on a
|
536
|
-
# watch may give different patterns than those on a phone)
|
537
|
-
# <li>Build different analysis models for each device/version.
|
538
|
-
# </ul>
|
539
|
-
# Corresponds to the JSON property `device`
|
540
|
-
# @return [Google::Apis::FitnessV1::Device]
|
541
|
-
attr_accessor :device
|
542
|
-
|
543
|
-
# An end-user visible name for this data source.
|
544
|
-
# Corresponds to the JSON property `name`
|
545
|
-
# @return [String]
|
546
|
-
attr_accessor :name
|
547
|
-
|
548
|
-
# A constant describing the type of this data source. Indicates whether this
|
549
|
-
# data source produces raw or derived data.
|
550
|
-
# Corresponds to the JSON property `type`
|
551
|
-
# @return [String]
|
552
|
-
attr_accessor :type
|
553
|
-
|
554
|
-
def initialize(**args)
|
555
|
-
update!(**args)
|
556
|
-
end
|
557
|
-
|
558
|
-
# Update properties of this object
|
559
|
-
def update!(**args)
|
560
|
-
@application = args[:application] if args.key?(:application)
|
561
|
-
@data_quality_standard = args[:data_quality_standard] if args.key?(:data_quality_standard)
|
562
|
-
@data_stream_id = args[:data_stream_id] if args.key?(:data_stream_id)
|
563
|
-
@data_stream_name = args[:data_stream_name] if args.key?(:data_stream_name)
|
564
|
-
@data_type = args[:data_type] if args.key?(:data_type)
|
565
|
-
@device = args[:device] if args.key?(:device)
|
566
|
-
@name = args[:name] if args.key?(:name)
|
567
|
-
@type = args[:type] if args.key?(:type)
|
568
|
-
end
|
569
|
-
end
|
570
|
-
|
571
|
-
#
|
572
|
-
class DataType
|
573
|
-
include Google::Apis::Core::Hashable
|
574
|
-
|
575
|
-
# A field represents one dimension of a data type.
|
576
|
-
# Corresponds to the JSON property `field`
|
577
|
-
# @return [Array<Google::Apis::FitnessV1::DataTypeField>]
|
578
|
-
attr_accessor :field
|
579
|
-
|
580
|
-
# Each data type has a unique, namespaced, name. All data types in the
|
581
|
-
# com.google namespace are shared as part of the platform.
|
582
|
-
# Corresponds to the JSON property `name`
|
583
|
-
# @return [String]
|
584
|
-
attr_accessor :name
|
585
|
-
|
586
|
-
def initialize(**args)
|
587
|
-
update!(**args)
|
588
|
-
end
|
589
|
-
|
590
|
-
# Update properties of this object
|
591
|
-
def update!(**args)
|
592
|
-
@field = args[:field] if args.key?(:field)
|
593
|
-
@name = args[:name] if args.key?(:name)
|
594
|
-
end
|
595
|
-
end
|
596
|
-
|
597
|
-
# In case of multi-dimensional data (such as an accelerometer with x, y, and z
|
598
|
-
# axes) each field represents one dimension. Each data type field has a unique
|
599
|
-
# name which identifies it. The field also defines the format of the data (int,
|
600
|
-
# float, etc.).
|
601
|
-
# This message is only instantiated in code and not used for wire comms or
|
602
|
-
# stored in any way.
|
603
|
-
class DataTypeField
|
604
|
-
include Google::Apis::Core::Hashable
|
605
|
-
|
606
|
-
# The different supported formats for each field in a data type.
|
607
|
-
# Corresponds to the JSON property `format`
|
608
|
-
# @return [String]
|
609
|
-
attr_accessor :format
|
610
|
-
|
611
|
-
# Defines the name and format of data. Unlike data type names, field names
|
612
|
-
# are not namespaced, and only need to be unique within the data type.
|
613
|
-
# Corresponds to the JSON property `name`
|
614
|
-
# @return [String]
|
615
|
-
attr_accessor :name
|
616
|
-
|
617
|
-
#
|
618
|
-
# Corresponds to the JSON property `optional`
|
619
|
-
# @return [Boolean]
|
620
|
-
attr_accessor :optional
|
621
|
-
alias_method :optional?, :optional
|
622
|
-
|
623
|
-
def initialize(**args)
|
624
|
-
update!(**args)
|
625
|
-
end
|
626
|
-
|
627
|
-
# Update properties of this object
|
628
|
-
def update!(**args)
|
629
|
-
@format = args[:format] if args.key?(:format)
|
630
|
-
@name = args[:name] if args.key?(:name)
|
631
|
-
@optional = args[:optional] if args.key?(:optional)
|
632
|
-
end
|
633
|
-
end
|
634
|
-
|
635
|
-
# A dataset represents a projection container for data points. They do not
|
636
|
-
# carry any info of their own. Datasets represent a set of data points from a
|
637
|
-
# particular data source. A data point can be found in more than one dataset.
|
638
|
-
class Dataset
|
639
|
-
include Google::Apis::Core::Hashable
|
640
|
-
|
641
|
-
# The data stream ID of the data source that created the points in this
|
642
|
-
# dataset.
|
643
|
-
# Corresponds to the JSON property `dataSourceId`
|
644
|
-
# @return [String]
|
645
|
-
attr_accessor :data_source_id
|
646
|
-
|
647
|
-
# The largest end time of all data points in this possibly partial
|
648
|
-
# representation of the dataset. Time is in nanoseconds from epoch. This
|
649
|
-
# should also match the second part of the dataset identifier.
|
650
|
-
# Corresponds to the JSON property `maxEndTimeNs`
|
651
|
-
# @return [Fixnum]
|
652
|
-
attr_accessor :max_end_time_ns
|
653
|
-
|
654
|
-
# The smallest start time of all data points in this possibly partial
|
655
|
-
# representation of the dataset. Time is in nanoseconds from epoch. This
|
656
|
-
# should also match the first part of the dataset identifier.
|
657
|
-
# Corresponds to the JSON property `minStartTimeNs`
|
658
|
-
# @return [Fixnum]
|
659
|
-
attr_accessor :min_start_time_ns
|
660
|
-
|
661
|
-
# This token will be set when a dataset is received in response to a GET
|
662
|
-
# request and the dataset is too large to be included in a single response.
|
663
|
-
# Provide this value in a subsequent GET request to return the next page of
|
664
|
-
# data points within this dataset.
|
665
|
-
# Corresponds to the JSON property `nextPageToken`
|
666
|
-
# @return [String]
|
667
|
-
attr_accessor :next_page_token
|
668
|
-
|
669
|
-
# A partial list of data points contained in the dataset, ordered by largest
|
670
|
-
# endTimeNanos first. This list is considered complete when retrieving a
|
671
|
-
# small dataset and partial when patching a dataset or retrieving a dataset
|
672
|
-
# that is too large to include in a single response.
|
673
|
-
# Corresponds to the JSON property `point`
|
674
|
-
# @return [Array<Google::Apis::FitnessV1::DataPoint>]
|
675
|
-
attr_accessor :point
|
676
|
-
|
677
|
-
def initialize(**args)
|
678
|
-
update!(**args)
|
679
|
-
end
|
680
|
-
|
681
|
-
# Update properties of this object
|
682
|
-
def update!(**args)
|
683
|
-
@data_source_id = args[:data_source_id] if args.key?(:data_source_id)
|
684
|
-
@max_end_time_ns = args[:max_end_time_ns] if args.key?(:max_end_time_ns)
|
685
|
-
@min_start_time_ns = args[:min_start_time_ns] if args.key?(:min_start_time_ns)
|
686
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
687
|
-
@point = args[:point] if args.key?(:point)
|
688
|
-
end
|
689
|
-
end
|
690
|
-
|
691
|
-
# Representation of an integrated device (such as a phone or a wearable) that
|
692
|
-
# can hold sensors. Each sensor is exposed as a data source.
|
693
|
-
# The main purpose of the device information contained in this class is to
|
694
|
-
# identify the hardware of a particular data source. This can be useful in
|
695
|
-
# different ways, including:
|
696
|
-
# <ul>
|
697
|
-
# <li>Distinguishing two similar sensors on different devices (the step
|
698
|
-
# counter on two nexus 5 phones, for instance)
|
699
|
-
# <li>Display the source of data to the user (by using the device make /
|
700
|
-
# model)
|
701
|
-
# <li>Treat data differently depending on sensor type (accelerometers on a
|
702
|
-
# watch may give different patterns than those on a phone)
|
703
|
-
# <li>Build different analysis models for each device/version.
|
704
|
-
# </ul>
|
705
|
-
class Device
|
706
|
-
include Google::Apis::Core::Hashable
|
707
|
-
|
708
|
-
# Manufacturer of the product/hardware.
|
709
|
-
# Corresponds to the JSON property `manufacturer`
|
710
|
-
# @return [String]
|
711
|
-
attr_accessor :manufacturer
|
712
|
-
|
713
|
-
# End-user visible model name for the device.
|
714
|
-
# Corresponds to the JSON property `model`
|
715
|
-
# @return [String]
|
716
|
-
attr_accessor :model
|
717
|
-
|
718
|
-
# A constant representing the type of the device.
|
719
|
-
# Corresponds to the JSON property `type`
|
720
|
-
# @return [String]
|
721
|
-
attr_accessor :type
|
722
|
-
|
723
|
-
# The serial number or other unique ID for the hardware. This field is
|
724
|
-
# obfuscated when read by any REST or Android client that did not create
|
725
|
-
# the data source. Only the data source creator will see the uid field in
|
726
|
-
# clear and normal form.
|
727
|
-
# The obfuscation preserves equality; that is, given two IDs, if id1 == id2,
|
728
|
-
# obfuscated(id1) == obfuscated(id2).
|
729
|
-
# Corresponds to the JSON property `uid`
|
730
|
-
# @return [String]
|
731
|
-
attr_accessor :uid
|
732
|
-
|
733
|
-
# Version string for the device hardware/software.
|
734
|
-
# Corresponds to the JSON property `version`
|
735
|
-
# @return [String]
|
736
|
-
attr_accessor :version
|
737
|
-
|
738
|
-
def initialize(**args)
|
739
|
-
update!(**args)
|
740
|
-
end
|
741
|
-
|
742
|
-
# Update properties of this object
|
743
|
-
def update!(**args)
|
744
|
-
@manufacturer = args[:manufacturer] if args.key?(:manufacturer)
|
745
|
-
@model = args[:model] if args.key?(:model)
|
746
|
-
@type = args[:type] if args.key?(:type)
|
747
|
-
@uid = args[:uid] if args.key?(:uid)
|
748
|
-
@version = args[:version] if args.key?(:version)
|
749
|
-
end
|
750
|
-
end
|
751
|
-
|
752
|
-
#
|
753
|
-
class ListDataPointChangesResponse
|
754
|
-
include Google::Apis::Core::Hashable
|
755
|
-
|
756
|
-
# The data stream ID of the data source with data point changes.
|
757
|
-
# Corresponds to the JSON property `dataSourceId`
|
758
|
-
# @return [String]
|
759
|
-
attr_accessor :data_source_id
|
760
|
-
|
761
|
-
# Deleted data points for the user. Note, for modifications this should be
|
762
|
-
# parsed before handling insertions.
|
763
|
-
# Corresponds to the JSON property `deletedDataPoint`
|
764
|
-
# @return [Array<Google::Apis::FitnessV1::DataPoint>]
|
765
|
-
attr_accessor :deleted_data_point
|
766
|
-
|
767
|
-
# Inserted data points for the user.
|
768
|
-
# Corresponds to the JSON property `insertedDataPoint`
|
769
|
-
# @return [Array<Google::Apis::FitnessV1::DataPoint>]
|
770
|
-
attr_accessor :inserted_data_point
|
771
|
-
|
772
|
-
# The continuation token, which is used to page through large result sets.
|
773
|
-
# Provide this value in a subsequent request to return the next page of
|
774
|
-
# results.
|
775
|
-
# Corresponds to the JSON property `nextPageToken`
|
776
|
-
# @return [String]
|
777
|
-
attr_accessor :next_page_token
|
778
|
-
|
779
|
-
def initialize(**args)
|
780
|
-
update!(**args)
|
781
|
-
end
|
782
|
-
|
783
|
-
# Update properties of this object
|
784
|
-
def update!(**args)
|
785
|
-
@data_source_id = args[:data_source_id] if args.key?(:data_source_id)
|
786
|
-
@deleted_data_point = args[:deleted_data_point] if args.key?(:deleted_data_point)
|
787
|
-
@inserted_data_point = args[:inserted_data_point] if args.key?(:inserted_data_point)
|
788
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
789
|
-
end
|
790
|
-
end
|
791
|
-
|
792
|
-
#
|
793
|
-
class ListDataSourcesResponse
|
794
|
-
include Google::Apis::Core::Hashable
|
795
|
-
|
796
|
-
# A previously created data source.
|
797
|
-
# Corresponds to the JSON property `dataSource`
|
798
|
-
# @return [Array<Google::Apis::FitnessV1::DataSource>]
|
799
|
-
attr_accessor :data_source
|
800
|
-
|
801
|
-
def initialize(**args)
|
802
|
-
update!(**args)
|
803
|
-
end
|
804
|
-
|
805
|
-
# Update properties of this object
|
806
|
-
def update!(**args)
|
807
|
-
@data_source = args[:data_source] if args.key?(:data_source)
|
808
|
-
end
|
809
|
-
end
|
810
|
-
|
811
|
-
#
|
812
|
-
class ListSessionsResponse
|
813
|
-
include Google::Apis::Core::Hashable
|
814
|
-
|
815
|
-
# If <code>includeDeleted</code> is set to true in the request, and
|
816
|
-
# <var>startTime</var> and <var>endTime</var> are omitted, this will include
|
817
|
-
# sessions which were deleted since the last sync.
|
818
|
-
# Corresponds to the JSON property `deletedSession`
|
819
|
-
# @return [Array<Google::Apis::FitnessV1::Session>]
|
820
|
-
attr_accessor :deleted_session
|
821
|
-
|
822
|
-
# Flag to indicate server has more data to transfer.
|
823
|
-
# DO NOT USE THIS FIELD. It is never populated in responses from the server.
|
824
|
-
# Corresponds to the JSON property `hasMoreData`
|
825
|
-
# @return [Boolean]
|
826
|
-
attr_accessor :has_more_data
|
827
|
-
alias_method :has_more_data?, :has_more_data
|
828
|
-
|
829
|
-
# The sync token which is used to sync further changes. This will only be
|
830
|
-
# provided if both <var>startTime</var> and <var>endTime</var> are omitted
|
831
|
-
# from the request.
|
832
|
-
# Corresponds to the JSON property `nextPageToken`
|
833
|
-
# @return [String]
|
834
|
-
attr_accessor :next_page_token
|
835
|
-
|
836
|
-
# Sessions with an end time that is between <var>startTime</var> and
|
837
|
-
# <var>endTime</var> of the request.
|
838
|
-
# Corresponds to the JSON property `session`
|
839
|
-
# @return [Array<Google::Apis::FitnessV1::Session>]
|
840
|
-
attr_accessor :session
|
841
|
-
|
842
|
-
def initialize(**args)
|
843
|
-
update!(**args)
|
844
|
-
end
|
845
|
-
|
846
|
-
# Update properties of this object
|
847
|
-
def update!(**args)
|
848
|
-
@deleted_session = args[:deleted_session] if args.key?(:deleted_session)
|
849
|
-
@has_more_data = args[:has_more_data] if args.key?(:has_more_data)
|
850
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
851
|
-
@session = args[:session] if args.key?(:session)
|
852
|
-
end
|
853
|
-
end
|
854
|
-
|
855
|
-
# Holder object for the value of an entry in a map field of a data point.
|
856
|
-
# A map value supports a subset of the formats that the regular Value supports.
|
857
|
-
class MapValue
|
858
|
-
include Google::Apis::Core::Hashable
|
859
|
-
|
860
|
-
# Floating point value.
|
861
|
-
# Corresponds to the JSON property `fpVal`
|
862
|
-
# @return [Float]
|
863
|
-
attr_accessor :fp_val
|
864
|
-
|
865
|
-
def initialize(**args)
|
866
|
-
update!(**args)
|
867
|
-
end
|
868
|
-
|
869
|
-
# Update properties of this object
|
870
|
-
def update!(**args)
|
871
|
-
@fp_val = args[:fp_val] if args.key?(:fp_val)
|
872
|
-
end
|
873
|
-
end
|
874
|
-
|
875
|
-
# Sessions contain metadata, such as a user-friendly name and time interval
|
876
|
-
# information.
|
877
|
-
class Session
|
878
|
-
include Google::Apis::Core::Hashable
|
879
|
-
|
880
|
-
# Session active time. While start_time_millis and end_time_millis define
|
881
|
-
# the full session time, the active time can be shorter and specified by
|
882
|
-
# active_time_millis.
|
883
|
-
# If the inactive time during the session is known, it should also be
|
884
|
-
# inserted via a com.google.activity.segment data point with a STILL
|
885
|
-
# activity value
|
886
|
-
# Corresponds to the JSON property `activeTimeMillis`
|
887
|
-
# @return [Fixnum]
|
888
|
-
attr_accessor :active_time_millis
|
889
|
-
|
890
|
-
# The type of activity this session represents.
|
891
|
-
# Corresponds to the JSON property `activityType`
|
892
|
-
# @return [Fixnum]
|
893
|
-
attr_accessor :activity_type
|
894
|
-
|
895
|
-
# The application that created the session.
|
896
|
-
# Corresponds to the JSON property `application`
|
897
|
-
# @return [Google::Apis::FitnessV1::Application]
|
898
|
-
attr_accessor :application
|
899
|
-
|
900
|
-
# A description for this session.
|
901
|
-
# Corresponds to the JSON property `description`
|
902
|
-
# @return [String]
|
903
|
-
attr_accessor :description
|
904
|
-
|
905
|
-
# An end time, in milliseconds since epoch, inclusive.
|
906
|
-
# Corresponds to the JSON property `endTimeMillis`
|
907
|
-
# @return [Fixnum]
|
908
|
-
attr_accessor :end_time_millis
|
909
|
-
|
910
|
-
# A client-generated identifier that is unique across all sessions owned by
|
911
|
-
# this particular user.
|
912
|
-
# Corresponds to the JSON property `id`
|
913
|
-
# @return [String]
|
914
|
-
attr_accessor :id
|
915
|
-
|
916
|
-
# A timestamp that indicates when the session was last modified.
|
917
|
-
# Corresponds to the JSON property `modifiedTimeMillis`
|
918
|
-
# @return [Fixnum]
|
919
|
-
attr_accessor :modified_time_millis
|
920
|
-
|
921
|
-
# A human readable name of the session.
|
922
|
-
# Corresponds to the JSON property `name`
|
923
|
-
# @return [String]
|
924
|
-
attr_accessor :name
|
925
|
-
|
926
|
-
# A start time, in milliseconds since epoch, inclusive.
|
927
|
-
# Corresponds to the JSON property `startTimeMillis`
|
928
|
-
# @return [Fixnum]
|
929
|
-
attr_accessor :start_time_millis
|
930
|
-
|
931
|
-
def initialize(**args)
|
932
|
-
update!(**args)
|
933
|
-
end
|
934
|
-
|
935
|
-
# Update properties of this object
|
936
|
-
def update!(**args)
|
937
|
-
@active_time_millis = args[:active_time_millis] if args.key?(:active_time_millis)
|
938
|
-
@activity_type = args[:activity_type] if args.key?(:activity_type)
|
939
|
-
@application = args[:application] if args.key?(:application)
|
940
|
-
@description = args[:description] if args.key?(:description)
|
941
|
-
@end_time_millis = args[:end_time_millis] if args.key?(:end_time_millis)
|
942
|
-
@id = args[:id] if args.key?(:id)
|
943
|
-
@modified_time_millis = args[:modified_time_millis] if args.key?(:modified_time_millis)
|
944
|
-
@name = args[:name] if args.key?(:name)
|
945
|
-
@start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis)
|
946
|
-
end
|
947
|
-
end
|
948
|
-
|
949
|
-
# Holder object for the value of a single field in a data point.
|
950
|
-
# A field value has a particular format and is only ever set to one of an
|
951
|
-
# integer or a floating point value.
|
952
|
-
class Value
|
953
|
-
include Google::Apis::Core::Hashable
|
954
|
-
|
955
|
-
# Floating point value. When this is set, other values must not be set.
|
956
|
-
# Corresponds to the JSON property `fpVal`
|
957
|
-
# @return [Float]
|
958
|
-
attr_accessor :fp_val
|
959
|
-
|
960
|
-
# Integer value. When this is set, other values must not be set.
|
961
|
-
# Corresponds to the JSON property `intVal`
|
962
|
-
# @return [Fixnum]
|
963
|
-
attr_accessor :int_val
|
964
|
-
|
965
|
-
# Map value. The valid key space and units for the corresponding value
|
966
|
-
# of each entry should be documented as part of the data type definition.
|
967
|
-
# Keys should be kept small whenever possible. Data streams with large keys
|
968
|
-
# and high data frequency may be down sampled.
|
969
|
-
# Corresponds to the JSON property `mapVal`
|
970
|
-
# @return [Array<Google::Apis::FitnessV1::ValueMapValEntry>]
|
971
|
-
attr_accessor :map_val
|
972
|
-
|
973
|
-
# String value. When this is set, other values must not be set.
|
974
|
-
# Strings should be kept small whenever possible. Data streams with large
|
975
|
-
# string values and high data frequency may be down sampled.
|
976
|
-
# Corresponds to the JSON property `stringVal`
|
977
|
-
# @return [String]
|
978
|
-
attr_accessor :string_val
|
979
|
-
|
980
|
-
def initialize(**args)
|
981
|
-
update!(**args)
|
982
|
-
end
|
983
|
-
|
984
|
-
# Update properties of this object
|
985
|
-
def update!(**args)
|
986
|
-
@fp_val = args[:fp_val] if args.key?(:fp_val)
|
987
|
-
@int_val = args[:int_val] if args.key?(:int_val)
|
988
|
-
@map_val = args[:map_val] if args.key?(:map_val)
|
989
|
-
@string_val = args[:string_val] if args.key?(:string_val)
|
990
|
-
end
|
991
|
-
end
|
992
|
-
|
993
|
-
#
|
994
|
-
class ValueMapValEntry
|
995
|
-
include Google::Apis::Core::Hashable
|
996
|
-
|
997
|
-
#
|
998
|
-
# Corresponds to the JSON property `key`
|
999
|
-
# @return [String]
|
1000
|
-
attr_accessor :key
|
1001
|
-
|
1002
|
-
# Holder object for the value of an entry in a map field of a data point.
|
1003
|
-
# A map value supports a subset of the formats that the regular Value supports.
|
1004
|
-
# Corresponds to the JSON property `value`
|
1005
|
-
# @return [Google::Apis::FitnessV1::MapValue]
|
1006
|
-
attr_accessor :value
|
1007
|
-
|
1008
|
-
def initialize(**args)
|
1009
|
-
update!(**args)
|
1010
|
-
end
|
1011
|
-
|
1012
|
-
# Update properties of this object
|
1013
|
-
def update!(**args)
|
1014
|
-
@key = args[:key] if args.key?(:key)
|
1015
|
-
@value = args[:value] if args.key?(:value)
|
1016
|
-
end
|
1017
|
-
end
|
1018
|
-
end
|
1019
|
-
end
|
1020
|
-
end
|