google-api-client 0.39.1 → 0.40.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 +164 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +70 -347
- data/generated/google/apis/apigee_v1/representations.rb +6 -128
- data/generated/google/apis/apigee_v1/service.rb +60 -550
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1010 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +380 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +46 -1
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +21 -15
- data/generated/google/apis/bigqueryreservation_v1/service.rb +94 -81
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -61
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +371 -27
- data/generated/google/apis/cloudasset_v1/representations.rb +97 -0
- data/generated/google/apis/cloudasset_v1/service.rb +186 -8
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +23 -10
- data/generated/google/apis/cloudasset_v1beta1/service.rb +12 -3
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +42 -10
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +142 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +60 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +142 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +60 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +307 -14
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +2 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +165 -65
- data/generated/google/apis/compute_alpha/representations.rb +30 -1
- data/generated/google/apis/compute_alpha/service.rb +157 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +172 -55
- data/generated/google/apis/compute_beta/representations.rb +47 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +148 -51
- data/generated/google/apis/compute_v1/representations.rb +21 -0
- data/generated/google/apis/compute_v1/service.rb +83 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +5 -6
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +65 -6
- data/generated/google/apis/container_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -0
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +26 -12
- data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +568 -8
- data/generated/google/apis/dialogflow_v2/representations.rb +238 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +568 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +238 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
- data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
- data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +149 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +76 -0
- data/generated/google/apis/displayvideo_v1/service.rb +287 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +9 -21
- data/generated/google/apis/dlp_v2/service.rb +79 -142
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +160 -261
- data/generated/google/apis/dns_v1/representations.rb +17 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
- data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
- data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1187 -0
- data/generated/google/apis/file_v1/representations.rb +396 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1187 -0
- data/generated/google/apis/file_v1beta1/representations.rb +396 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +4 -4
- data/generated/google/apis/{pagespeedonline_v2.rb → firebaseml_v1.rb} +12 -10
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/fitness_v1.rb +4 -4
- data/generated/google/apis/fitness_v1/classes.rb +185 -158
- data/generated/google/apis/fitness_v1/service.rb +187 -215
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +6 -4
- data/generated/google/apis/games_management_v1management/classes.rb +50 -90
- data/generated/google/apis/games_management_v1management/representations.rb +0 -17
- data/generated/google/apis/games_management_v1management/service.rb +115 -291
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
- data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
- data/generated/google/apis/gmail_v1.rb +2 -3
- data/generated/google/apis/gmail_v1/classes.rb +199 -258
- data/generated/google/apis/gmail_v1/service.rb +744 -552
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +67 -46
- data/generated/google/apis/healthcare_v1/service.rb +107 -140
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +70 -54
- data/generated/google/apis/healthcare_v1beta1/service.rb +223 -255
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +24 -12
- data/generated/google/apis/iam_v1/service.rb +7 -0
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +26 -2
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +35 -12
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +24 -12
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +84 -18
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/ml_v1/service.rb +11 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -0
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/{pagespeedonline_v4.rb → networkmanagement_v1.rb} +13 -10
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +29 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +6 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +31 -49
- data/generated/google/apis/run_v1/representations.rb +1 -17
- data/generated/google/apis/run_v1/service.rb +3 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +23 -10
- data/generated/google/apis/run_v1alpha1/service.rb +3 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +26 -13
- data/generated/google/apis/secretmanager_v1/service.rb +3 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +23 -10
- data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +27 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +27 -12
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +27 -12
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -31
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +0 -31
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +379 -31
- data/generated/google/apis/servicenetworking_v1/representations.rb +209 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +188 -31
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -31
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -31
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +29 -10
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +3 -0
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +79 -128
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +3 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
- data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +5 -5
- data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
- data/generated/google/apis/youtube_v3/representations.rb +64 -192
- data/generated/google/apis/youtube_v3/service.rb +1827 -2154
- data/lib/google/apis/version.rb +9 -4
- metadata +23 -15
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -20,9 +20,9 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module FitnessV1
|
23
|
-
# Fitness
|
23
|
+
# Fitness API
|
24
24
|
#
|
25
|
-
#
|
25
|
+
# The Fitness API for managing users' fitness tracking data.
|
26
26
|
#
|
27
27
|
# @example
|
28
28
|
# require 'google/apis/fitness_v1'
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# Fitness = Google::Apis::FitnessV1 # Alias the module
|
31
31
|
# service = Fitness::FitnessService.new
|
32
32
|
#
|
33
|
-
# @see https://developers.google.com/fit/rest/
|
33
|
+
# @see https://developers.google.com/fit/rest/v1/get-started
|
34
34
|
class FitnessService < Google::Apis::Core::BaseService
|
35
35
|
# @return [String]
|
36
36
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -38,57 +38,55 @@ module Google
|
|
38
38
|
attr_accessor :key
|
39
39
|
|
40
40
|
# @return [String]
|
41
|
-
#
|
42
|
-
# characters.
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
43
|
attr_accessor :quota_user
|
44
44
|
|
45
|
-
# @return [String]
|
46
|
-
# Deprecated. Please use quotaUser instead.
|
47
|
-
attr_accessor :user_ip
|
48
|
-
|
49
45
|
def initialize
|
50
|
-
super('https://www.googleapis.com/', '
|
46
|
+
super('https://www.googleapis.com/', '')
|
51
47
|
@batch_path = 'batch/fitness/v1'
|
52
48
|
end
|
53
49
|
|
54
|
-
# Creates a new data source that is unique across all data sources belonging
|
55
|
-
# this user.
|
56
|
-
# A data source is a unique source of sensor data. Data sources can expose
|
57
|
-
# data coming from hardware sensors on local or companion devices. They
|
58
|
-
# expose derived data, created by transforming or merging other data
|
59
|
-
# Multiple data sources can exist for the same data type. Every data
|
60
|
-
# every dataset inserted into or read from the Fitness API has an
|
61
|
-
# data source.
|
62
|
-
# Each data source produces a unique stream of dataset updates, with a
|
63
|
-
# data source identifier. Not all changes to data source affect the
|
64
|
-
# ID, so that data collected by updated versions of the same
|
65
|
-
# can still be considered to belong to the same data
|
66
|
-
#
|
67
|
-
#
|
68
|
-
#
|
69
|
-
#
|
70
|
-
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
74
|
-
# will
|
75
|
-
#
|
76
|
-
#
|
50
|
+
# Creates a new data source that is unique across all data sources belonging
|
51
|
+
# to this user.
|
52
|
+
# A data source is a unique source of sensor data. Data sources can expose
|
53
|
+
# raw data coming from hardware sensors on local or companion devices. They
|
54
|
+
# can also expose derived data, created by transforming or merging other data
|
55
|
+
# sources. Multiple data sources can exist for the same data type. Every data
|
56
|
+
# point in every dataset inserted into or read from the Fitness API has an
|
57
|
+
# associated data source.
|
58
|
+
# Each data source produces a unique stream of dataset updates, with a
|
59
|
+
# unique data source identifier. Not all changes to data source affect the
|
60
|
+
# data stream ID, so that data collected by updated versions of the same
|
61
|
+
# application/device can still be considered to belong to the same data
|
62
|
+
# source.
|
63
|
+
# Data sources are identified using a string generated by the server, based
|
64
|
+
# on the contents of the source being created. The <code>dataStreamId</code>
|
65
|
+
# field should not be set when invoking this method. It
|
66
|
+
# will be automatically generated by the server with the correct format. If
|
67
|
+
# a <code>dataStreamId</code> is set, it must match the format that the
|
68
|
+
# server would generate. This format is a combination of some fields from the
|
69
|
+
# data source, and has a specific order. If it doesn't match, the request
|
70
|
+
# will fail with an error.
|
71
|
+
# Specifying a DataType which is not a known type (beginning with
|
72
|
+
# "com.google.") will create a DataSource with a <em>custom data type</em>.
|
73
|
+
# Custom data types are only readable by the application that created them.
|
74
|
+
# Custom data types are <strong>deprecated</strong>; use standard data types
|
75
|
+
# instead.
|
77
76
|
# In addition to the data source fields included in the data source ID, the
|
78
|
-
# developer project number that is authenticated when creating the data
|
79
|
-
# is included. This developer project number is obfuscated when read
|
80
|
-
# other developer reading public data types.
|
77
|
+
# developer project number that is authenticated when creating the data
|
78
|
+
# source is included. This developer project number is obfuscated when read
|
79
|
+
# by any other developer reading public data types.
|
81
80
|
# @param [String] user_id
|
82
|
-
# Create the data source for the person identified. Use me to
|
83
|
-
# authenticated user. Only me is supported at this
|
81
|
+
# Create the data source for the person identified. Use <code>me</code> to
|
82
|
+
# indicate the authenticated user. Only <code>me</code> is supported at this
|
83
|
+
# time.
|
84
84
|
# @param [Google::Apis::FitnessV1::DataSource] data_source_object
|
85
85
|
# @param [String] fields
|
86
86
|
# Selector specifying which fields to include in a partial response.
|
87
87
|
# @param [String] quota_user
|
88
|
-
#
|
89
|
-
# characters.
|
90
|
-
# @param [String] user_ip
|
91
|
-
# Deprecated. Please use quotaUser instead.
|
88
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
89
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
92
90
|
# @param [Google::Apis::RequestOptions] options
|
93
91
|
# Request-specific options
|
94
92
|
#
|
@@ -101,8 +99,8 @@ module Google
|
|
101
99
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
102
100
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
103
101
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
104
|
-
def create_user_data_source(user_id, data_source_object = nil, fields: nil, quota_user: nil,
|
105
|
-
command = make_simple_command(:post, '{userId}/dataSources', options)
|
102
|
+
def create_user_data_source(user_id, data_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
103
|
+
command = make_simple_command(:post, 'fitness/v1/users/{userId}/dataSources', options)
|
106
104
|
command.request_representation = Google::Apis::FitnessV1::DataSource::Representation
|
107
105
|
command.request_object = data_source_object
|
108
106
|
command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
|
@@ -110,24 +108,22 @@ module Google
|
|
110
108
|
command.params['userId'] = user_id unless user_id.nil?
|
111
109
|
command.query['fields'] = fields unless fields.nil?
|
112
110
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
113
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
114
111
|
execute_or_queue_command(command, &block)
|
115
112
|
end
|
116
113
|
|
117
|
-
# Deletes the specified data source. The request will fail if the data
|
118
|
-
# contains any data points.
|
114
|
+
# Deletes the specified data source. The request will fail if the data
|
115
|
+
# source contains any data points.
|
119
116
|
# @param [String] user_id
|
120
|
-
# Retrieve a data source for the person identified. Use me to
|
121
|
-
# authenticated user. Only me is supported at this
|
117
|
+
# Retrieve a data source for the person identified. Use <code>me</code> to
|
118
|
+
# indicate the authenticated user. Only <code>me</code> is supported at this
|
119
|
+
# time.
|
122
120
|
# @param [String] data_source_id
|
123
121
|
# The data stream ID of the data source to delete.
|
124
122
|
# @param [String] fields
|
125
123
|
# Selector specifying which fields to include in a partial response.
|
126
124
|
# @param [String] quota_user
|
127
|
-
#
|
128
|
-
# characters.
|
129
|
-
# @param [String] user_ip
|
130
|
-
# Deprecated. Please use quotaUser instead.
|
125
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
126
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
131
127
|
# @param [Google::Apis::RequestOptions] options
|
132
128
|
# Request-specific options
|
133
129
|
#
|
@@ -140,31 +136,29 @@ module Google
|
|
140
136
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
141
137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
142
138
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
143
|
-
def delete_user_data_source(user_id, data_source_id, fields: nil, quota_user: nil,
|
144
|
-
command = make_simple_command(:delete, '{userId}/dataSources/{dataSourceId}', options)
|
139
|
+
def delete_user_data_source(user_id, data_source_id, fields: nil, quota_user: nil, options: nil, &block)
|
140
|
+
command = make_simple_command(:delete, 'fitness/v1/users/{userId}/dataSources/{dataSourceId}', options)
|
145
141
|
command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
|
146
142
|
command.response_class = Google::Apis::FitnessV1::DataSource
|
147
143
|
command.params['userId'] = user_id unless user_id.nil?
|
148
144
|
command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
|
149
145
|
command.query['fields'] = fields unless fields.nil?
|
150
146
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
151
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
152
147
|
execute_or_queue_command(command, &block)
|
153
148
|
end
|
154
149
|
|
155
150
|
# Returns the specified data source.
|
156
151
|
# @param [String] user_id
|
157
|
-
# Retrieve a data source for the person identified. Use me to
|
158
|
-
# authenticated user. Only me is supported at this
|
152
|
+
# Retrieve a data source for the person identified. Use <code>me</code> to
|
153
|
+
# indicate the authenticated user. Only <code>me</code> is supported at this
|
154
|
+
# time.
|
159
155
|
# @param [String] data_source_id
|
160
156
|
# The data stream ID of the data source to retrieve.
|
161
157
|
# @param [String] fields
|
162
158
|
# Selector specifying which fields to include in a partial response.
|
163
159
|
# @param [String] quota_user
|
164
|
-
#
|
165
|
-
# characters.
|
166
|
-
# @param [String] user_ip
|
167
|
-
# Deprecated. Please use quotaUser instead.
|
160
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
161
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
168
162
|
# @param [Google::Apis::RequestOptions] options
|
169
163
|
# Request-specific options
|
170
164
|
#
|
@@ -177,34 +171,33 @@ module Google
|
|
177
171
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
178
172
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
179
173
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
180
|
-
def get_user_data_source(user_id, data_source_id, fields: nil, quota_user: nil,
|
181
|
-
command = make_simple_command(:get, '{userId}/dataSources/{dataSourceId}', options)
|
174
|
+
def get_user_data_source(user_id, data_source_id, fields: nil, quota_user: nil, options: nil, &block)
|
175
|
+
command = make_simple_command(:get, 'fitness/v1/users/{userId}/dataSources/{dataSourceId}', options)
|
182
176
|
command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
|
183
177
|
command.response_class = Google::Apis::FitnessV1::DataSource
|
184
178
|
command.params['userId'] = user_id unless user_id.nil?
|
185
179
|
command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
|
186
180
|
command.query['fields'] = fields unless fields.nil?
|
187
181
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
188
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
189
182
|
execute_or_queue_command(command, &block)
|
190
183
|
end
|
191
184
|
|
192
185
|
# Lists all data sources that are visible to the developer, using the OAuth
|
193
|
-
# scopes provided. The list is not exhaustive; the user may have private
|
194
|
-
# sources that are only visible to other developers, or calls using
|
186
|
+
# scopes provided. The list is not exhaustive; the user may have private
|
187
|
+
# data sources that are only visible to other developers, or calls using
|
188
|
+
# other scopes.
|
195
189
|
# @param [String] user_id
|
196
|
-
# List data sources for the person identified. Use me to
|
197
|
-
# authenticated user. Only me is supported at this
|
190
|
+
# List data sources for the person identified. Use <code>me</code> to
|
191
|
+
# indicate the authenticated user. Only <code>me</code> is supported at this
|
192
|
+
# time.
|
198
193
|
# @param [Array<String>, String] data_type_name
|
199
|
-
# The names of data types to include in the list. If not specified, all
|
200
|
-
# sources will be returned.
|
194
|
+
# The names of data types to include in the list. If not specified, all
|
195
|
+
# data sources will be returned.
|
201
196
|
# @param [String] fields
|
202
197
|
# Selector specifying which fields to include in a partial response.
|
203
198
|
# @param [String] quota_user
|
204
|
-
#
|
205
|
-
# characters.
|
206
|
-
# @param [String] user_ip
|
207
|
-
# Deprecated. Please use quotaUser instead.
|
199
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
200
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
208
201
|
# @param [Google::Apis::RequestOptions] options
|
209
202
|
# Request-specific options
|
210
203
|
#
|
@@ -217,35 +210,34 @@ module Google
|
|
217
210
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
218
211
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
219
212
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
220
|
-
def list_user_data_sources(user_id, data_type_name: nil, fields: nil, quota_user: nil,
|
221
|
-
command = make_simple_command(:get, '{userId}/dataSources', options)
|
213
|
+
def list_user_data_sources(user_id, data_type_name: nil, fields: nil, quota_user: nil, options: nil, &block)
|
214
|
+
command = make_simple_command(:get, 'fitness/v1/users/{userId}/dataSources', options)
|
222
215
|
command.response_representation = Google::Apis::FitnessV1::ListDataSourcesResponse::Representation
|
223
216
|
command.response_class = Google::Apis::FitnessV1::ListDataSourcesResponse
|
224
217
|
command.params['userId'] = user_id unless user_id.nil?
|
225
218
|
command.query['dataTypeName'] = data_type_name unless data_type_name.nil?
|
226
219
|
command.query['fields'] = fields unless fields.nil?
|
227
220
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
228
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
229
221
|
execute_or_queue_command(command, &block)
|
230
222
|
end
|
231
223
|
|
232
|
-
# Updates the specified data source. The dataStreamId
|
233
|
-
# dataStreamName
|
234
|
-
#
|
235
|
-
#
|
224
|
+
# Updates the specified data source. The <code>dataStreamId</code>,
|
225
|
+
# <code>dataType</code>, <code>type</code>, <code>dataStreamName</code>, and
|
226
|
+
# <code>device</code> properties with the exception of <code>version</code>,
|
227
|
+
# cannot be modified.
|
228
|
+
# Data sources are identified by their <code>dataStreamId</code>.
|
236
229
|
# @param [String] user_id
|
237
|
-
# Update the data source for the person identified. Use me to
|
238
|
-
# authenticated user. Only me is supported at this
|
230
|
+
# Update the data source for the person identified. Use <code>me</code> to
|
231
|
+
# indicate the authenticated user. Only <code>me</code> is supported at this
|
232
|
+
# time.
|
239
233
|
# @param [String] data_source_id
|
240
234
|
# The data stream ID of the data source to update.
|
241
235
|
# @param [Google::Apis::FitnessV1::DataSource] data_source_object
|
242
236
|
# @param [String] fields
|
243
237
|
# Selector specifying which fields to include in a partial response.
|
244
238
|
# @param [String] quota_user
|
245
|
-
#
|
246
|
-
# characters.
|
247
|
-
# @param [String] user_ip
|
248
|
-
# Deprecated. Please use quotaUser instead.
|
239
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
240
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
249
241
|
# @param [Google::Apis::RequestOptions] options
|
250
242
|
# Request-specific options
|
251
243
|
#
|
@@ -258,8 +250,8 @@ module Google
|
|
258
250
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
259
251
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
260
252
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
261
|
-
def update_user_data_source(user_id, data_source_id, data_source_object = nil, fields: nil, quota_user: nil,
|
262
|
-
command = make_simple_command(:put, '{userId}/dataSources/{dataSourceId}', options)
|
253
|
+
def update_user_data_source(user_id, data_source_id, data_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
254
|
+
command = make_simple_command(:put, 'fitness/v1/users/{userId}/dataSources/{dataSourceId}', options)
|
263
255
|
command.request_representation = Google::Apis::FitnessV1::DataSource::Representation
|
264
256
|
command.request_object = data_source_object
|
265
257
|
command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
|
@@ -268,30 +260,27 @@ module Google
|
|
268
260
|
command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
|
269
261
|
command.query['fields'] = fields unless fields.nil?
|
270
262
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
271
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
272
263
|
execute_or_queue_command(command, &block)
|
273
264
|
end
|
274
265
|
|
275
266
|
# Queries for user's data point changes for a particular data source.
|
276
267
|
# @param [String] user_id
|
277
|
-
# List data points for the person identified. Use me to indicate
|
278
|
-
# authenticated user. Only me is supported at this time.
|
268
|
+
# List data points for the person identified. Use <code>me</code> to indicate
|
269
|
+
# the authenticated user. Only <code>me</code> is supported at this time.
|
279
270
|
# @param [String] data_source_id
|
280
271
|
# The data stream ID of the data source that created the dataset.
|
281
272
|
# @param [Fixnum] limit
|
282
|
-
# If specified, no more than this many data point changes will be included
|
283
|
-
# the response.
|
273
|
+
# If specified, no more than this many data point changes will be included
|
274
|
+
# in the response.
|
284
275
|
# @param [String] page_token
|
285
|
-
# The continuation token, which is used to page through large result sets.
|
286
|
-
# get the next page of results, set this parameter to the value of
|
287
|
-
# from the previous response.
|
276
|
+
# The continuation token, which is used to page through large result sets.
|
277
|
+
# To get the next page of results, set this parameter to the value of
|
278
|
+
# <code>nextPageToken</code> from the previous response.
|
288
279
|
# @param [String] fields
|
289
280
|
# Selector specifying which fields to include in a partial response.
|
290
281
|
# @param [String] quota_user
|
291
|
-
#
|
292
|
-
# characters.
|
293
|
-
# @param [String] user_ip
|
294
|
-
# Deprecated. Please use quotaUser instead.
|
282
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
283
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
295
284
|
# @param [Google::Apis::RequestOptions] options
|
296
285
|
# Request-specific options
|
297
286
|
#
|
@@ -304,8 +293,8 @@ module Google
|
|
304
293
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
305
294
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
306
295
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
307
|
-
def list_user_data_source_data_point_changes(user_id, data_source_id, limit: nil, page_token: nil, fields: nil, quota_user: nil,
|
308
|
-
command = make_simple_command(:get, '{userId}/dataSources/{dataSourceId}/dataPointChanges', options)
|
296
|
+
def list_user_data_source_data_point_changes(user_id, data_source_id, limit: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
297
|
+
command = make_simple_command(:get, 'fitness/v1/users/{userId}/dataSources/{dataSourceId}/dataPointChanges', options)
|
309
298
|
command.response_representation = Google::Apis::FitnessV1::ListDataPointChangesResponse::Representation
|
310
299
|
command.response_class = Google::Apis::FitnessV1::ListDataPointChangesResponse
|
311
300
|
command.params['userId'] = user_id unless user_id.nil?
|
@@ -314,26 +303,26 @@ module Google
|
|
314
303
|
command.query['pageToken'] = page_token unless page_token.nil?
|
315
304
|
command.query['fields'] = fields unless fields.nil?
|
316
305
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
317
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
318
306
|
execute_or_queue_command(command, &block)
|
319
307
|
end
|
320
308
|
|
321
|
-
# Performs an inclusive delete of all data points whose start and end times
|
322
|
-
# any overlap with the time range specified by the dataset ID. For most
|
323
|
-
# types, the entire data point will be deleted. For data types where the
|
324
|
-
# span represents a consistent value (such as
|
325
|
-
# a data point straddles
|
326
|
-
#
|
309
|
+
# Performs an inclusive delete of all data points whose start and end times
|
310
|
+
# have any overlap with the time range specified by the dataset ID. For most
|
311
|
+
# data types, the entire data point will be deleted. For data types where the
|
312
|
+
# time span represents a consistent value (such as
|
313
|
+
# <code>com.google.activity.segment</code>), and a data point straddles
|
314
|
+
# either end point of the dataset, only the overlapping portion of the data
|
315
|
+
# point will be deleted.
|
327
316
|
# @param [String] user_id
|
328
|
-
# Delete a dataset for the person identified. Use me to indicate
|
329
|
-
# authenticated user. Only me is supported at this time.
|
317
|
+
# Delete a dataset for the person identified. Use <code>me</code> to indicate
|
318
|
+
# the authenticated user. Only <code>me</code> is supported at this time.
|
330
319
|
# @param [String] data_source_id
|
331
320
|
# The data stream ID of the data source that created the dataset.
|
332
321
|
# @param [String] dataset_id
|
333
322
|
# Dataset identifier that is a composite of the minimum data point start time
|
334
|
-
# and maximum data point end time represented as nanoseconds from the epoch.
|
335
|
-
# ID is formatted like: "startTime
|
336
|
-
# bit integers.
|
323
|
+
# and maximum data point end time represented as nanoseconds from the epoch.
|
324
|
+
# The ID is formatted like: "<var>startTime</var>-<var>endTime</var>"
|
325
|
+
# where <var>startTime</var> and <var>endTime</var> are 64 bit integers.
|
337
326
|
# @param [Fixnum] current_time_millis
|
338
327
|
# The client's current time in milliseconds since epoch.
|
339
328
|
# @param [Fixnum] modified_time_millis
|
@@ -341,10 +330,8 @@ module Google
|
|
341
330
|
# @param [String] fields
|
342
331
|
# Selector specifying which fields to include in a partial response.
|
343
332
|
# @param [String] quota_user
|
344
|
-
#
|
345
|
-
# characters.
|
346
|
-
# @param [String] user_ip
|
347
|
-
# Deprecated. Please use quotaUser instead.
|
333
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
334
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
348
335
|
# @param [Google::Apis::RequestOptions] options
|
349
336
|
# Request-specific options
|
350
337
|
#
|
@@ -357,8 +344,8 @@ module Google
|
|
357
344
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
358
345
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
359
346
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
360
|
-
def delete_user_data_source_dataset(user_id, data_source_id, dataset_id, current_time_millis: nil, modified_time_millis: nil, fields: nil, quota_user: nil,
|
361
|
-
command = make_simple_command(:delete, '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
|
347
|
+
def delete_user_data_source_dataset(user_id, data_source_id, dataset_id, current_time_millis: nil, modified_time_millis: nil, fields: nil, quota_user: nil, options: nil, &block)
|
348
|
+
command = make_simple_command(:delete, 'fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
|
362
349
|
command.params['userId'] = user_id unless user_id.nil?
|
363
350
|
command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
|
364
351
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
@@ -366,42 +353,40 @@ module Google
|
|
366
353
|
command.query['modifiedTimeMillis'] = modified_time_millis unless modified_time_millis.nil?
|
367
354
|
command.query['fields'] = fields unless fields.nil?
|
368
355
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
369
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
370
356
|
execute_or_queue_command(command, &block)
|
371
357
|
end
|
372
358
|
|
373
|
-
# Returns a dataset containing all data points whose start and end times
|
374
|
-
# with the specified range of the dataset minimum start time and
|
375
|
-
# time. Specifically, any data point whose start time is less
|
376
|
-
# the dataset end time and whose end time is greater than or
|
377
|
-
# dataset start time.
|
359
|
+
# Returns a dataset containing all data points whose start and end times
|
360
|
+
# overlap with the specified range of the dataset minimum start time and
|
361
|
+
# maximum end time. Specifically, any data point whose start time is less
|
362
|
+
# than or equal to the dataset end time and whose end time is greater than or
|
363
|
+
# equal to the dataset start time.
|
378
364
|
# @param [String] user_id
|
379
|
-
# Retrieve a dataset for the person identified. Use me to
|
380
|
-
# authenticated user. Only me is supported at this
|
365
|
+
# Retrieve a dataset for the person identified. Use <code>me</code> to
|
366
|
+
# indicate the authenticated user. Only <code>me</code> is supported at this
|
367
|
+
# time.
|
381
368
|
# @param [String] data_source_id
|
382
369
|
# The data stream ID of the data source that created the dataset.
|
383
370
|
# @param [String] dataset_id
|
384
371
|
# Dataset identifier that is a composite of the minimum data point start time
|
385
|
-
# and maximum data point end time represented as nanoseconds from the epoch.
|
386
|
-
# ID is formatted like: "startTime
|
387
|
-
# bit integers.
|
372
|
+
# and maximum data point end time represented as nanoseconds from the epoch.
|
373
|
+
# The ID is formatted like: "<var>startTime</var>-<var>endTime</var>"
|
374
|
+
# where <var>startTime</var> and <var>endTime</var> are 64 bit integers.
|
388
375
|
# @param [Fixnum] limit
|
389
376
|
# If specified, no more than this many data points will be included in the
|
390
|
-
# dataset. If there are more data points in the dataset, nextPageToken
|
391
|
-
# set in the dataset response.
|
377
|
+
# dataset. If there are more data points in the dataset, nextPageToken
|
378
|
+
# will be set in the dataset response.
|
392
379
|
# @param [String] page_token
|
393
|
-
# The continuation token, which is used to page through large datasets.
|
394
|
-
# the next page of a dataset, set this parameter to the value of
|
395
|
-
# from the previous response. Each subsequent
|
396
|
-
# with data point end timestamps that are
|
397
|
-
# previous partial response.
|
380
|
+
# The continuation token, which is used to page through large datasets.
|
381
|
+
# To get the next page of a dataset, set this parameter to the value of
|
382
|
+
# <code>nextPageToken</code> from the previous response. Each subsequent
|
383
|
+
# call will yield a partial dataset with data point end timestamps that are
|
384
|
+
# strictly smaller than those in the previous partial response.
|
398
385
|
# @param [String] fields
|
399
386
|
# Selector specifying which fields to include in a partial response.
|
400
387
|
# @param [String] quota_user
|
401
|
-
#
|
402
|
-
# characters.
|
403
|
-
# @param [String] user_ip
|
404
|
-
# Deprecated. Please use quotaUser instead.
|
388
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
389
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
405
390
|
# @param [Google::Apis::RequestOptions] options
|
406
391
|
# Request-specific options
|
407
392
|
#
|
@@ -414,8 +399,8 @@ module Google
|
|
414
399
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
415
400
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
416
401
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
417
|
-
def get_user_data_source_dataset(user_id, data_source_id, dataset_id, limit: nil, page_token: nil, fields: nil, quota_user: nil,
|
418
|
-
command = make_simple_command(:get, '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
|
402
|
+
def get_user_data_source_dataset(user_id, data_source_id, dataset_id, limit: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
403
|
+
command = make_simple_command(:get, 'fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
|
419
404
|
command.response_representation = Google::Apis::FitnessV1::Dataset::Representation
|
420
405
|
command.response_class = Google::Apis::FitnessV1::Dataset
|
421
406
|
command.params['userId'] = user_id unless user_id.nil?
|
@@ -425,36 +410,33 @@ module Google
|
|
425
410
|
command.query['pageToken'] = page_token unless page_token.nil?
|
426
411
|
command.query['fields'] = fields unless fields.nil?
|
427
412
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
428
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
429
413
|
execute_or_queue_command(command, &block)
|
430
414
|
end
|
431
415
|
|
432
|
-
# Adds data points to a dataset. The dataset need not be previously created.
|
433
|
-
# points within the given dataset will be returned with subsquent calls
|
434
|
-
# retrieve this dataset. Data points can belong to more than one dataset.
|
435
|
-
# method does not use patch semantics.
|
416
|
+
# Adds data points to a dataset. The dataset need not be previously created.
|
417
|
+
# All points within the given dataset will be returned with subsquent calls
|
418
|
+
# to retrieve this dataset. Data points can belong to more than one dataset.
|
419
|
+
# This method does not use patch semantics.
|
436
420
|
# @param [String] user_id
|
437
|
-
# Patch a dataset for the person identified. Use me to indicate
|
438
|
-
# authenticated user. Only me is supported at this time.
|
421
|
+
# Patch a dataset for the person identified. Use <code>me</code> to indicate
|
422
|
+
# the authenticated user. Only <code>me</code> is supported at this time.
|
439
423
|
# @param [String] data_source_id
|
440
424
|
# The data stream ID of the data source that created the dataset.
|
441
425
|
# @param [String] dataset_id
|
442
426
|
# Dataset identifier that is a composite of the minimum data point start time
|
443
|
-
# and maximum data point end time represented as nanoseconds from the epoch.
|
444
|
-
# ID is formatted like: "startTime
|
445
|
-
# bit integers.
|
427
|
+
# and maximum data point end time represented as nanoseconds from the epoch.
|
428
|
+
# The ID is formatted like: "<var>startTime</var>-<var>endTime</var>"
|
429
|
+
# where <var>startTime</var> and <var>endTime</var> are 64 bit integers.
|
446
430
|
# @param [Google::Apis::FitnessV1::Dataset] dataset_object
|
447
431
|
# @param [Fixnum] current_time_millis
|
448
432
|
# The client's current time in milliseconds since epoch. Note that the
|
449
|
-
# minStartTimeNs and maxEndTimeNs properties in
|
450
|
-
# nanoseconds instead of milliseconds.
|
433
|
+
# <code>minStartTimeNs</code> and <code>maxEndTimeNs</code> properties in
|
434
|
+
# the request body are in nanoseconds instead of milliseconds.
|
451
435
|
# @param [String] fields
|
452
436
|
# Selector specifying which fields to include in a partial response.
|
453
437
|
# @param [String] quota_user
|
454
|
-
#
|
455
|
-
# characters.
|
456
|
-
# @param [String] user_ip
|
457
|
-
# Deprecated. Please use quotaUser instead.
|
438
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
439
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
458
440
|
# @param [Google::Apis::RequestOptions] options
|
459
441
|
# Request-specific options
|
460
442
|
#
|
@@ -467,8 +449,8 @@ module Google
|
|
467
449
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
468
450
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
469
451
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
470
|
-
def patch_user_data_source_dataset(user_id, data_source_id, dataset_id, dataset_object = nil, current_time_millis: nil, fields: nil, quota_user: nil,
|
471
|
-
command = make_simple_command(:patch, '{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
|
452
|
+
def patch_user_data_source_dataset(user_id, data_source_id, dataset_id, dataset_object = nil, current_time_millis: nil, fields: nil, quota_user: nil, options: nil, &block)
|
453
|
+
command = make_simple_command(:patch, 'fitness/v1/users/{userId}/dataSources/{dataSourceId}/datasets/{datasetId}', options)
|
472
454
|
command.request_representation = Google::Apis::FitnessV1::Dataset::Representation
|
473
455
|
command.request_object = dataset_object
|
474
456
|
command.response_representation = Google::Apis::FitnessV1::Dataset::Representation
|
@@ -479,7 +461,6 @@ module Google
|
|
479
461
|
command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
|
480
462
|
command.query['fields'] = fields unless fields.nil?
|
481
463
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
482
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
483
464
|
execute_or_queue_command(command, &block)
|
484
465
|
end
|
485
466
|
|
@@ -487,16 +468,14 @@ module Google
|
|
487
468
|
# type of boundary. Multiple data sets of multiple types and from multiple
|
488
469
|
# sources can be aggregated into exactly one bucket type per request.
|
489
470
|
# @param [String] user_id
|
490
|
-
# Aggregate data for the person identified. Use me to indicate
|
491
|
-
# user. Only me is supported at this time.
|
471
|
+
# Aggregate data for the person identified. Use <code>me</code> to indicate
|
472
|
+
# the authenticated user. Only <code>me</code> is supported at this time.
|
492
473
|
# @param [Google::Apis::FitnessV1::AggregateRequest] aggregate_request_object
|
493
474
|
# @param [String] fields
|
494
475
|
# Selector specifying which fields to include in a partial response.
|
495
476
|
# @param [String] quota_user
|
496
|
-
#
|
497
|
-
# characters.
|
498
|
-
# @param [String] user_ip
|
499
|
-
# Deprecated. Please use quotaUser instead.
|
477
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
478
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
500
479
|
# @param [Google::Apis::RequestOptions] options
|
501
480
|
# Request-specific options
|
502
481
|
#
|
@@ -509,8 +488,8 @@ module Google
|
|
509
488
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
510
489
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
511
490
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
512
|
-
def aggregate_dataset(user_id, aggregate_request_object = nil, fields: nil, quota_user: nil,
|
513
|
-
command = make_simple_command(:post, '{userId}/dataset:aggregate', options)
|
491
|
+
def aggregate_dataset(user_id, aggregate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
492
|
+
command = make_simple_command(:post, 'fitness/v1/users/{userId}/dataset:aggregate', options)
|
514
493
|
command.request_representation = Google::Apis::FitnessV1::AggregateRequest::Representation
|
515
494
|
command.request_object = aggregate_request_object
|
516
495
|
command.response_representation = Google::Apis::FitnessV1::AggregateResponse::Representation
|
@@ -518,14 +497,13 @@ module Google
|
|
518
497
|
command.params['userId'] = user_id unless user_id.nil?
|
519
498
|
command.query['fields'] = fields unless fields.nil?
|
520
499
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
521
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
522
500
|
execute_or_queue_command(command, &block)
|
523
501
|
end
|
524
502
|
|
525
503
|
# Deletes a session specified by the given session ID.
|
526
504
|
# @param [String] user_id
|
527
|
-
# Delete a session for the person identified. Use me to indicate
|
528
|
-
# authenticated user. Only me is supported at this time.
|
505
|
+
# Delete a session for the person identified. Use <code>me</code> to indicate
|
506
|
+
# the authenticated user. Only <code>me</code> is supported at this time.
|
529
507
|
# @param [String] session_id
|
530
508
|
# The ID of the session to be deleted.
|
531
509
|
# @param [Fixnum] current_time_millis
|
@@ -533,10 +511,8 @@ module Google
|
|
533
511
|
# @param [String] fields
|
534
512
|
# Selector specifying which fields to include in a partial response.
|
535
513
|
# @param [String] quota_user
|
536
|
-
#
|
537
|
-
# characters.
|
538
|
-
# @param [String] user_ip
|
539
|
-
# Deprecated. Please use quotaUser instead.
|
514
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
515
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
540
516
|
# @param [Google::Apis::RequestOptions] options
|
541
517
|
# Request-specific options
|
542
518
|
#
|
@@ -549,48 +525,49 @@ module Google
|
|
549
525
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
550
526
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
551
527
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
552
|
-
def delete_user_session(user_id, session_id, current_time_millis: nil, fields: nil, quota_user: nil,
|
553
|
-
command = make_simple_command(:delete, '{userId}/sessions/{sessionId}', options)
|
528
|
+
def delete_user_session(user_id, session_id, current_time_millis: nil, fields: nil, quota_user: nil, options: nil, &block)
|
529
|
+
command = make_simple_command(:delete, 'fitness/v1/users/{userId}/sessions/{sessionId}', options)
|
554
530
|
command.params['userId'] = user_id unless user_id.nil?
|
555
531
|
command.params['sessionId'] = session_id unless session_id.nil?
|
556
532
|
command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
|
557
533
|
command.query['fields'] = fields unless fields.nil?
|
558
534
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
559
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
560
535
|
execute_or_queue_command(command, &block)
|
561
536
|
end
|
562
537
|
|
563
538
|
# Lists sessions previously created.
|
564
539
|
# @param [String] user_id
|
565
|
-
# List sessions for the person identified. Use me to indicate
|
566
|
-
# user. Only me is supported at this time.
|
540
|
+
# List sessions for the person identified. Use <code>me</code> to indicate
|
541
|
+
# the authenticated user. Only <code>me</code> is supported at this time.
|
567
542
|
# @param [Array<Fixnum>, Fixnum] activity_type
|
568
543
|
# If non-empty, only sessions with these activity types should be returned.
|
569
544
|
# @param [String] end_time
|
570
|
-
# An RFC3339 timestamp.
|
571
|
-
# will be included in
|
545
|
+
# An <a href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339</a> timestamp.
|
546
|
+
# Only sessions ending between the start and end times will be included in
|
547
|
+
# the response. If this time is omitted but <var>startTime</var> is
|
548
|
+
# specified, all sessions from <var>startTime</var> to the end of time will
|
549
|
+
# be returned.
|
572
550
|
# @param [Boolean] include_deleted
|
573
|
-
# If true,
|
574
|
-
#
|
575
|
-
# fields.
|
551
|
+
# If true, and if both <var>startTime</var> and <var>endTime</var> are
|
552
|
+
# omitted, session deletions will be returned.
|
576
553
|
# @param [String] page_token
|
577
|
-
# The continuation token, which is used for incremental syncing.
|
578
|
-
# batch of changes, set this parameter to the value of
|
579
|
-
# previous response.
|
580
|
-
#
|
581
|
-
#
|
582
|
-
# time, end time, and the page token is specified, sessions modified in the last
|
554
|
+
# The continuation token, which is used for incremental syncing.
|
555
|
+
# To get the next batch of changes, set this parameter to the value of
|
556
|
+
# <code>nextPageToken</code> from the previous response. The page token is
|
557
|
+
# ignored if either start or end time is specified. If none of start time,
|
558
|
+
# end time, and the page token is specified, sessions modified in the last
|
583
559
|
# 30 days are returned.
|
584
560
|
# @param [String] start_time
|
585
|
-
# An RFC3339 timestamp.
|
586
|
-
# will be included in
|
561
|
+
# An <a href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339</a> timestamp.
|
562
|
+
# Only sessions ending between the start and end times will be included in
|
563
|
+
# the response. If this time is omitted but <var>endTime</var> is specified,
|
564
|
+
# all sessions from the start of time up to <var>endTime</var> will be
|
565
|
+
# returned.
|
587
566
|
# @param [String] fields
|
588
567
|
# Selector specifying which fields to include in a partial response.
|
589
568
|
# @param [String] quota_user
|
590
|
-
#
|
591
|
-
# characters.
|
592
|
-
# @param [String] user_ip
|
593
|
-
# Deprecated. Please use quotaUser instead.
|
569
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
570
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
594
571
|
# @param [Google::Apis::RequestOptions] options
|
595
572
|
# Request-specific options
|
596
573
|
#
|
@@ -603,8 +580,8 @@ module Google
|
|
603
580
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
604
581
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
605
582
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
606
|
-
def list_user_sessions(user_id, activity_type: nil, end_time: nil, include_deleted: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil,
|
607
|
-
command = make_simple_command(:get, '{userId}/sessions', options)
|
583
|
+
def list_user_sessions(user_id, activity_type: nil, end_time: nil, include_deleted: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
584
|
+
command = make_simple_command(:get, 'fitness/v1/users/{userId}/sessions', options)
|
608
585
|
command.response_representation = Google::Apis::FitnessV1::ListSessionsResponse::Representation
|
609
586
|
command.response_class = Google::Apis::FitnessV1::ListSessionsResponse
|
610
587
|
command.params['userId'] = user_id unless user_id.nil?
|
@@ -615,14 +592,13 @@ module Google
|
|
615
592
|
command.query['startTime'] = start_time unless start_time.nil?
|
616
593
|
command.query['fields'] = fields unless fields.nil?
|
617
594
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
618
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
619
595
|
execute_or_queue_command(command, &block)
|
620
596
|
end
|
621
597
|
|
622
598
|
# Updates or insert a given session.
|
623
599
|
# @param [String] user_id
|
624
|
-
# Create sessions for the person identified. Use me to indicate
|
625
|
-
# authenticated user. Only me is supported at this time.
|
600
|
+
# Create sessions for the person identified. Use <code>me</code> to indicate
|
601
|
+
# the authenticated user. Only <code>me</code> is supported at this time.
|
626
602
|
# @param [String] session_id
|
627
603
|
# The ID of the session to be created.
|
628
604
|
# @param [Google::Apis::FitnessV1::Session] session_object
|
@@ -631,10 +607,8 @@ module Google
|
|
631
607
|
# @param [String] fields
|
632
608
|
# Selector specifying which fields to include in a partial response.
|
633
609
|
# @param [String] quota_user
|
634
|
-
#
|
635
|
-
# characters.
|
636
|
-
# @param [String] user_ip
|
637
|
-
# Deprecated. Please use quotaUser instead.
|
610
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
611
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
638
612
|
# @param [Google::Apis::RequestOptions] options
|
639
613
|
# Request-specific options
|
640
614
|
#
|
@@ -647,8 +621,8 @@ module Google
|
|
647
621
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
648
622
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
649
623
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
650
|
-
def update_user_session(user_id, session_id, session_object = nil, current_time_millis: nil, fields: nil, quota_user: nil,
|
651
|
-
command = make_simple_command(:put, '{userId}/sessions/{sessionId}', options)
|
624
|
+
def update_user_session(user_id, session_id, session_object = nil, current_time_millis: nil, fields: nil, quota_user: nil, options: nil, &block)
|
625
|
+
command = make_simple_command(:put, 'fitness/v1/users/{userId}/sessions/{sessionId}', options)
|
652
626
|
command.request_representation = Google::Apis::FitnessV1::Session::Representation
|
653
627
|
command.request_object = session_object
|
654
628
|
command.response_representation = Google::Apis::FitnessV1::Session::Representation
|
@@ -658,7 +632,6 @@ module Google
|
|
658
632
|
command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
|
659
633
|
command.query['fields'] = fields unless fields.nil?
|
660
634
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
661
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
662
635
|
execute_or_queue_command(command, &block)
|
663
636
|
end
|
664
637
|
|
@@ -667,7 +640,6 @@ module Google
|
|
667
640
|
def apply_command_defaults(command)
|
668
641
|
command.query['key'] = key unless key.nil?
|
669
642
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
670
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
671
643
|
end
|
672
644
|
end
|
673
645
|
end
|