google-api-client 0.32.1 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.kokoro/continuous/linux.cfg +2 -2
- data/.kokoro/continuous/post.cfg +30 -0
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/release.cfg +94 -0
- data/.repo-metadata.json +5 -0
- data/.rubocop.yml +5 -0
- data/.yardopts +16 -2
- data/CHANGELOG.md +1354 -0
- data/Gemfile +1 -0
- data/OVERVIEW.md +36 -0
- data/README.md +50 -2
- data/Rakefile +71 -2
- data/api_list_config.yaml +1 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +10 -2
- data/docs/api-keys.md +20 -0
- data/docs/auth.md +53 -0
- data/docs/client-secrets.md +69 -0
- data/docs/getting-started.md +340 -0
- data/docs/installation.md +0 -0
- data/docs/logging.md +34 -0
- data/docs/media-upload.md +25 -0
- data/docs/oauth-installed.md +191 -0
- data/docs/oauth-server.md +135 -0
- data/docs/oauth-web.md +280 -0
- data/docs/oauth.md +268 -0
- data/docs/pagination.md +29 -0
- data/docs/performance.md +25 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
- data/generated/google/apis/accessapproval_v1/service.rb +869 -0
- data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
- data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admob_v1/classes.rb +951 -0
- data/generated/google/apis/admob_v1/representations.rb +378 -0
- data/generated/google/apis/admob_v1/service.rb +196 -0
- data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
- data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
- data/generated/google/apis/androidpublisher_v1.rb +1 -4
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
- data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
- data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
- data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +4928 -0
- data/generated/google/apis/apigee_v1/representations.rb +1822 -0
- data/generated/google/apis/apigee_v1/service.rb +5578 -0
- data/generated/google/apis/apigee_v1.rb +40 -0
- 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_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
- data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/bigquery_v2/classes.rb +993 -43
- data/generated/google/apis/bigquery_v2/representations.rb +273 -2
- data/generated/google/apis/bigquery_v2/service.rb +137 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
- data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
- data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
- data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
- data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
- data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/books_v1/classes.rb +494 -242
- data/generated/google/apis/books_v1/representations.rb +145 -72
- data/generated/google/apis/books_v1/service.rb +354 -484
- data/generated/google/apis/books_v1.rb +3 -3
- data/generated/google/apis/calendar_v3/classes.rb +8 -21
- data/generated/google/apis/calendar_v3/service.rb +18 -30
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +29 -3
- data/generated/google/apis/chat_v1/representations.rb +3 -0
- data/generated/google/apis/chat_v1/service.rb +5 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- 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/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/classroom_v1/service.rb +11 -11
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
- data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
- data/generated/google/apis/cloudasset_v1/service.rb +363 -12
- data/generated/google/apis/cloudasset_v1.rb +2 -2
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
- data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
- data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
- data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
- data/generated/google/apis/cloudkms_v1/service.rb +15 -3
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
- data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
- data/generated/google/apis/cloudtrace_v2.rb +5 -5
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
- data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
- data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
- data/generated/google/apis/composer_v1/classes.rb +180 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +3252 -973
- data/generated/google/apis/compute_alpha/representations.rb +634 -69
- data/generated/google/apis/compute_alpha/service.rb +9085 -6210
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4787 -1066
- data/generated/google/apis/compute_beta/representations.rb +1394 -31
- data/generated/google/apis/compute_beta/service.rb +8858 -5018
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2976 -599
- data/generated/google/apis/compute_v1/representations.rb +850 -0
- data/generated/google/apis/compute_v1/service.rb +4634 -2481
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +925 -164
- data/generated/google/apis/container_v1/representations.rb +278 -0
- data/generated/google/apis/container_v1/service.rb +175 -158
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +803 -340
- data/generated/google/apis/container_v1beta1/representations.rb +185 -39
- data/generated/google/apis/container_v1beta1/service.rb +294 -277
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1566 -634
- data/generated/google/apis/content_v2/representations.rb +78 -115
- data/generated/google/apis/content_v2/service.rb +81 -206
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +2706 -683
- data/generated/google/apis/content_v2_1/representations.rb +551 -0
- data/generated/google/apis/content_v2_1/service.rb +520 -46
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
- data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
- data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
- data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
- data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
- data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +533 -177
- data/generated/google/apis/dataproc_v1/representations.rb +85 -0
- data/generated/google/apis/dataproc_v1/service.rb +102 -36
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
- data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +17 -23
- data/generated/google/apis/datastore_v1/service.rb +93 -9
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.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_alpha.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_v2.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/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
- data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
- data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
- data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
- data/generated/google/apis/dialogflow_v2/service.rb +849 -158
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- 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/dialogflow_v3alpha1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
- data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
- data/generated/google/apis/displayvideo_v1.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +798 -130
- data/generated/google/apis/dlp_v2/representations.rb +277 -3
- data/generated/google/apis/dlp_v2/service.rb +2074 -231
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +220 -251
- data/generated/google/apis/dns_v1/representations.rb +49 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
- data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
- data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +608 -2
- data/generated/google/apis/docs_v1/representations.rb +211 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
- data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +58 -5
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +92 -118
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +66 -5
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +46 -14
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
- data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +15 -0
- data/generated/google/apis/fcm_v1/representations.rb +2 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1235 -158
- data/generated/google/apis/file_v1/representations.rb +401 -22
- data/generated/google/apis/file_v1/service.rb +14 -10
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
- data/generated/google/apis/file_v1beta1/representations.rb +401 -22
- data/generated/google/apis/file_v1beta1/service.rb +18 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/firebaseml_v1.rb +34 -0
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
- data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +26 -24
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +189 -153
- data/generated/google/apis/fitness_v1/service.rb +192 -198
- data/generated/google/apis/fitness_v1.rb +14 -14
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_management_v1management/classes.rb +50 -109
- data/generated/google/apis/games_management_v1management/representations.rb +0 -30
- data/generated/google/apis/games_management_v1management/service.rb +116 -452
- data/generated/google/apis/games_management_v1management.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +14 -293
- data/generated/google/apis/games_v1/representations.rb +2 -98
- data/generated/google/apis/games_v1/service.rb +3 -135
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
- data/generated/google/apis/gameservices_v1beta.rb +34 -0
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +13 -1
- data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3439 -0
- data/generated/google/apis/healthcare_v1.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
- data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +79 -56
- data/generated/google/apis/homegraph_v1/representations.rb +2 -1
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +201 -169
- data/generated/google/apis/iam_v1/representations.rb +1 -6
- data/generated/google/apis/iam_v1/service.rb +18 -21
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
- data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +691 -59
- data/generated/google/apis/iap_v1/representations.rb +254 -0
- data/generated/google/apis/iap_v1/service.rb +362 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +180 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +23 -7
- data/generated/google/apis/language_v1beta2/representations.rb +2 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/lifesciences_v2beta.rb +35 -0
- data/generated/google/apis/logging_v2/classes.rb +292 -91
- data/generated/google/apis/logging_v2/representations.rb +51 -0
- data/generated/google/apis/logging_v2/service.rb +888 -15
- data/generated/google/apis/logging_v2.rb +6 -6
- data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1/service.rb +779 -0
- data/generated/google/apis/managedidentities_v1.rb +35 -0
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
- data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/ml_v1/classes.rb +1518 -233
- data/generated/google/apis/ml_v1/representations.rb +559 -0
- data/generated/google/apis/ml_v1/service.rb +560 -25
- data/generated/google/apis/ml_v1.rb +5 -2
- data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
- data/generated/google/apis/monitoring_v1/representations.rb +513 -0
- data/generated/google/apis/monitoring_v1/service.rb +246 -0
- data/generated/google/apis/monitoring_v1.rb +47 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
- data/generated/google/apis/monitoring_v3/representations.rb +482 -1
- data/generated/google/apis/monitoring_v3/service.rb +614 -162
- data/generated/google/apis/monitoring_v3.rb +7 -8
- 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/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
- data/generated/google/apis/oauth2_v2/classes.rb +1 -81
- data/generated/google/apis/oauth2_v2/representations.rb +2 -36
- data/generated/google/apis/oauth2_v2/service.rb +10 -42
- data/generated/google/apis/oauth2_v2.rb +5 -5
- data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
- data/generated/google/apis/osconfig_v1beta.rb +35 -0
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -7
- data/generated/google/apis/oslogin_v1.rb +1 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -2
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
- data/generated/google/apis/oslogin_v1beta.rb +1 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
- data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
- data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
- data/generated/google/apis/pagespeedonline_v5.rb +9 -4
- data/generated/google/apis/people_v1/classes.rb +104 -81
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +72 -79
- data/generated/google/apis/people_v1.rb +10 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
- data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/pubsub_v1/classes.rb +248 -76
- data/generated/google/apis/pubsub_v1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1/service.rb +43 -31
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
- data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
- data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +48 -18
- data/generated/google/apis/redis_v1/representations.rb +14 -0
- data/generated/google/apis/redis_v1/service.rb +41 -5
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +41 -5
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +308 -325
- data/generated/google/apis/run_v1/representations.rb +63 -103
- data/generated/google/apis/run_v1/service.rb +336 -933
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
- data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
- data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +4 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/script_v1/classes.rb +4 -22
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
- data/generated/google/apis/secretmanager_v1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1.rb +35 -0
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
- data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
- data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
- data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
- data/generated/google/apis/securitycenter_v1/service.rb +225 -21
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
- data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
- data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
- data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
- data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
- data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
- data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
- data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
- data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1741 -253
- data/generated/google/apis/sheets_v4/representations.rb +283 -0
- data/generated/google/apis/sheets_v4/service.rb +9 -11
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
- data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +706 -71
- data/generated/google/apis/spanner_v1/representations.rb +194 -0
- data/generated/google/apis/spanner_v1/service.rb +770 -7
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +15 -11
- data/generated/google/apis/speech_v1/representations.rb +2 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
- data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
- data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
- data/generated/google/apis/storage_v1/classes.rb +73 -7
- data/generated/google/apis/storage_v1/representations.rb +10 -0
- data/generated/google/apis/storage_v1/service.rb +29 -4
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
- data/generated/google/apis/tagmanager_v2/service.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- 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 +78 -124
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/testing_v1/classes.rb +187 -1
- data/generated/google/apis/testing_v1/representations.rb +93 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
- data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
- data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
- data/generated/google/apis/toolresults_v1beta3.rb +2 -2
- data/generated/google/apis/tpu_v1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +946 -0
- data/generated/google/apis/translate_v3/representations.rb +439 -0
- data/generated/google/apis/translate_v3/service.rb +781 -0
- data/generated/google/apis/translate_v3.rb +37 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +10 -7
- data/generated/google/apis/vault_v1/service.rb +7 -7
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +67 -1
- data/generated/google/apis/vision_v1/representations.rb +32 -0
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
- data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.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_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
- data/generated/google/apis/youtube_v3/representations.rb +99 -191
- data/generated/google/apis/youtube_v3/service.rb +1829 -2150
- data/generated/google/apis/youtube_v3.rb +8 -5
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/core/api_command.rb +7 -0
- data/lib/google/apis/core/base_service.rb +1 -1
- data/lib/google/apis/core/http_command.rb +11 -10
- data/lib/google/apis/core/upload.rb +4 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +9 -4
- data/rakelib/devsite/devsite_builder.rb +126 -0
- data/rakelib/devsite/link_checker.rb +64 -0
- data/rakelib/devsite/repo_metadata.rb +56 -0
- metadata +193 -110
- data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
- data/generated/google/apis/analytics_v2_4/service.rb +0 -331
- data/generated/google/apis/analytics_v2_4.rb +0 -37
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
- data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
- data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
- data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
- data/generated/google/apis/fusiontables_v1.rb +0 -37
- data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
- data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
- data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
- data/generated/google/apis/fusiontables_v2.rb +0 -37
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/mirror_v1.rb +0 -37
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/oauth2_v1.rb +0 -40
- 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
- data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
- data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
- data/generated/google/apis/plus_domains_v1/service.rb +0 -489
- data/generated/google/apis/plus_domains_v1.rb +0 -55
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
- data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
- data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
- data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
- data/generated/google/apis/replicapool_v1beta1.rb +0 -50
- data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
- data/generated/google/apis/servicebroker_v1/service.rb +0 -177
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
- data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
- data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
- data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
- data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- data/generated/google/apis/surveys_v2/classes.rb +0 -691
- data/generated/google/apis/surveys_v2.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
- data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -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,38 +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
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
#
|
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.
|
76
|
+
# In addition to the data source fields included in the data source ID, the
|
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.
|
62
80
|
# @param [String] user_id
|
63
|
-
# Create the data source for the person identified. Use me to
|
64
|
-
# 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.
|
65
84
|
# @param [Google::Apis::FitnessV1::DataSource] data_source_object
|
66
85
|
# @param [String] fields
|
67
86
|
# Selector specifying which fields to include in a partial response.
|
68
87
|
# @param [String] quota_user
|
69
|
-
#
|
70
|
-
# characters.
|
71
|
-
# @param [String] user_ip
|
72
|
-
# 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.
|
73
90
|
# @param [Google::Apis::RequestOptions] options
|
74
91
|
# Request-specific options
|
75
92
|
#
|
@@ -82,8 +99,8 @@ module Google
|
|
82
99
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
83
100
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
84
101
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
85
|
-
def create_user_data_source(user_id, data_source_object = nil, fields: nil, quota_user: nil,
|
86
|
-
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)
|
87
104
|
command.request_representation = Google::Apis::FitnessV1::DataSource::Representation
|
88
105
|
command.request_object = data_source_object
|
89
106
|
command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
|
@@ -91,24 +108,22 @@ module Google
|
|
91
108
|
command.params['userId'] = user_id unless user_id.nil?
|
92
109
|
command.query['fields'] = fields unless fields.nil?
|
93
110
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
94
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
95
111
|
execute_or_queue_command(command, &block)
|
96
112
|
end
|
97
113
|
|
98
|
-
# Deletes the specified data source. The request will fail if the data
|
99
|
-
# contains any data points.
|
114
|
+
# Deletes the specified data source. The request will fail if the data
|
115
|
+
# source contains any data points.
|
100
116
|
# @param [String] user_id
|
101
|
-
# Retrieve a data source for the person identified. Use me to
|
102
|
-
# 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.
|
103
120
|
# @param [String] data_source_id
|
104
121
|
# The data stream ID of the data source to delete.
|
105
122
|
# @param [String] fields
|
106
123
|
# Selector specifying which fields to include in a partial response.
|
107
124
|
# @param [String] quota_user
|
108
|
-
#
|
109
|
-
# characters.
|
110
|
-
# @param [String] user_ip
|
111
|
-
# 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.
|
112
127
|
# @param [Google::Apis::RequestOptions] options
|
113
128
|
# Request-specific options
|
114
129
|
#
|
@@ -121,31 +136,29 @@ module Google
|
|
121
136
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
122
137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
123
138
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
124
|
-
def delete_user_data_source(user_id, data_source_id, fields: nil, quota_user: nil,
|
125
|
-
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)
|
126
141
|
command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
|
127
142
|
command.response_class = Google::Apis::FitnessV1::DataSource
|
128
143
|
command.params['userId'] = user_id unless user_id.nil?
|
129
144
|
command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
|
130
145
|
command.query['fields'] = fields unless fields.nil?
|
131
146
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
132
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
133
147
|
execute_or_queue_command(command, &block)
|
134
148
|
end
|
135
149
|
|
136
150
|
# Returns the specified data source.
|
137
151
|
# @param [String] user_id
|
138
|
-
# Retrieve a data source for the person identified. Use me to
|
139
|
-
# 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.
|
140
155
|
# @param [String] data_source_id
|
141
156
|
# The data stream ID of the data source to retrieve.
|
142
157
|
# @param [String] fields
|
143
158
|
# Selector specifying which fields to include in a partial response.
|
144
159
|
# @param [String] quota_user
|
145
|
-
#
|
146
|
-
# characters.
|
147
|
-
# @param [String] user_ip
|
148
|
-
# 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.
|
149
162
|
# @param [Google::Apis::RequestOptions] options
|
150
163
|
# Request-specific options
|
151
164
|
#
|
@@ -158,34 +171,33 @@ module Google
|
|
158
171
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
159
172
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
160
173
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
161
|
-
def get_user_data_source(user_id, data_source_id, fields: nil, quota_user: nil,
|
162
|
-
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)
|
163
176
|
command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
|
164
177
|
command.response_class = Google::Apis::FitnessV1::DataSource
|
165
178
|
command.params['userId'] = user_id unless user_id.nil?
|
166
179
|
command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
|
167
180
|
command.query['fields'] = fields unless fields.nil?
|
168
181
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
169
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
170
182
|
execute_or_queue_command(command, &block)
|
171
183
|
end
|
172
184
|
|
173
185
|
# Lists all data sources that are visible to the developer, using the OAuth
|
174
|
-
# scopes provided. The list is not exhaustive; the user may have private
|
175
|
-
# 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.
|
176
189
|
# @param [String] user_id
|
177
|
-
# List data sources for the person identified. Use me to
|
178
|
-
# 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.
|
179
193
|
# @param [Array<String>, String] data_type_name
|
180
|
-
# The names of data types to include in the list. If not specified, all
|
181
|
-
# 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.
|
182
196
|
# @param [String] fields
|
183
197
|
# Selector specifying which fields to include in a partial response.
|
184
198
|
# @param [String] quota_user
|
185
|
-
#
|
186
|
-
# characters.
|
187
|
-
# @param [String] user_ip
|
188
|
-
# 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.
|
189
201
|
# @param [Google::Apis::RequestOptions] options
|
190
202
|
# Request-specific options
|
191
203
|
#
|
@@ -198,35 +210,34 @@ module Google
|
|
198
210
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
199
211
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
200
212
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
201
|
-
def list_user_data_sources(user_id, data_type_name: nil, fields: nil, quota_user: nil,
|
202
|
-
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)
|
203
215
|
command.response_representation = Google::Apis::FitnessV1::ListDataSourcesResponse::Representation
|
204
216
|
command.response_class = Google::Apis::FitnessV1::ListDataSourcesResponse
|
205
217
|
command.params['userId'] = user_id unless user_id.nil?
|
206
218
|
command.query['dataTypeName'] = data_type_name unless data_type_name.nil?
|
207
219
|
command.query['fields'] = fields unless fields.nil?
|
208
220
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
209
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
210
221
|
execute_or_queue_command(command, &block)
|
211
222
|
end
|
212
223
|
|
213
|
-
# Updates the specified data source. The dataStreamId
|
214
|
-
# dataStreamName
|
215
|
-
#
|
216
|
-
#
|
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>.
|
217
229
|
# @param [String] user_id
|
218
|
-
# Update the data source for the person identified. Use me to
|
219
|
-
# 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.
|
220
233
|
# @param [String] data_source_id
|
221
234
|
# The data stream ID of the data source to update.
|
222
235
|
# @param [Google::Apis::FitnessV1::DataSource] data_source_object
|
223
236
|
# @param [String] fields
|
224
237
|
# Selector specifying which fields to include in a partial response.
|
225
238
|
# @param [String] quota_user
|
226
|
-
#
|
227
|
-
# characters.
|
228
|
-
# @param [String] user_ip
|
229
|
-
# 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.
|
230
241
|
# @param [Google::Apis::RequestOptions] options
|
231
242
|
# Request-specific options
|
232
243
|
#
|
@@ -239,8 +250,8 @@ module Google
|
|
239
250
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
240
251
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
241
252
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
242
|
-
def update_user_data_source(user_id, data_source_id, data_source_object = nil, fields: nil, quota_user: nil,
|
243
|
-
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)
|
244
255
|
command.request_representation = Google::Apis::FitnessV1::DataSource::Representation
|
245
256
|
command.request_object = data_source_object
|
246
257
|
command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
|
@@ -249,30 +260,27 @@ module Google
|
|
249
260
|
command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
|
250
261
|
command.query['fields'] = fields unless fields.nil?
|
251
262
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
252
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
253
263
|
execute_or_queue_command(command, &block)
|
254
264
|
end
|
255
265
|
|
256
266
|
# Queries for user's data point changes for a particular data source.
|
257
267
|
# @param [String] user_id
|
258
|
-
# List data points for the person identified. Use me to indicate
|
259
|
-
# 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.
|
260
270
|
# @param [String] data_source_id
|
261
271
|
# The data stream ID of the data source that created the dataset.
|
262
272
|
# @param [Fixnum] limit
|
263
|
-
# If specified, no more than this many data point changes will be included
|
264
|
-
# the response.
|
273
|
+
# If specified, no more than this many data point changes will be included
|
274
|
+
# in the response.
|
265
275
|
# @param [String] page_token
|
266
|
-
# The continuation token, which is used to page through large result sets.
|
267
|
-
# get the next page of results, set this parameter to the value of
|
268
|
-
# 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.
|
269
279
|
# @param [String] fields
|
270
280
|
# Selector specifying which fields to include in a partial response.
|
271
281
|
# @param [String] quota_user
|
272
|
-
#
|
273
|
-
# characters.
|
274
|
-
# @param [String] user_ip
|
275
|
-
# 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.
|
276
284
|
# @param [Google::Apis::RequestOptions] options
|
277
285
|
# Request-specific options
|
278
286
|
#
|
@@ -285,8 +293,8 @@ module Google
|
|
285
293
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
286
294
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
287
295
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
288
|
-
def list_user_data_source_data_point_changes(user_id, data_source_id, limit: nil, page_token: nil, fields: nil, quota_user: nil,
|
289
|
-
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)
|
290
298
|
command.response_representation = Google::Apis::FitnessV1::ListDataPointChangesResponse::Representation
|
291
299
|
command.response_class = Google::Apis::FitnessV1::ListDataPointChangesResponse
|
292
300
|
command.params['userId'] = user_id unless user_id.nil?
|
@@ -295,26 +303,26 @@ module Google
|
|
295
303
|
command.query['pageToken'] = page_token unless page_token.nil?
|
296
304
|
command.query['fields'] = fields unless fields.nil?
|
297
305
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
298
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
299
306
|
execute_or_queue_command(command, &block)
|
300
307
|
end
|
301
308
|
|
302
|
-
# Performs an inclusive delete of all data points whose start and end times
|
303
|
-
# any overlap with the time range specified by the dataset ID. For most
|
304
|
-
# types, the entire data point will be deleted. For data types where the
|
305
|
-
# span represents a consistent value (such as
|
306
|
-
# a data point straddles
|
307
|
-
#
|
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.
|
308
316
|
# @param [String] user_id
|
309
|
-
# Delete a dataset for the person identified. Use me to indicate
|
310
|
-
# 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.
|
311
319
|
# @param [String] data_source_id
|
312
320
|
# The data stream ID of the data source that created the dataset.
|
313
321
|
# @param [String] dataset_id
|
314
322
|
# Dataset identifier that is a composite of the minimum data point start time
|
315
|
-
# and maximum data point end time represented as nanoseconds from the epoch.
|
316
|
-
# ID is formatted like: "startTime
|
317
|
-
# 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.
|
318
326
|
# @param [Fixnum] current_time_millis
|
319
327
|
# The client's current time in milliseconds since epoch.
|
320
328
|
# @param [Fixnum] modified_time_millis
|
@@ -322,10 +330,8 @@ module Google
|
|
322
330
|
# @param [String] fields
|
323
331
|
# Selector specifying which fields to include in a partial response.
|
324
332
|
# @param [String] quota_user
|
325
|
-
#
|
326
|
-
# characters.
|
327
|
-
# @param [String] user_ip
|
328
|
-
# 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.
|
329
335
|
# @param [Google::Apis::RequestOptions] options
|
330
336
|
# Request-specific options
|
331
337
|
#
|
@@ -338,8 +344,8 @@ module Google
|
|
338
344
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
339
345
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
340
346
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
341
|
-
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,
|
342
|
-
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)
|
343
349
|
command.params['userId'] = user_id unless user_id.nil?
|
344
350
|
command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
|
345
351
|
command.params['datasetId'] = dataset_id unless dataset_id.nil?
|
@@ -347,42 +353,40 @@ module Google
|
|
347
353
|
command.query['modifiedTimeMillis'] = modified_time_millis unless modified_time_millis.nil?
|
348
354
|
command.query['fields'] = fields unless fields.nil?
|
349
355
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
350
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
351
356
|
execute_or_queue_command(command, &block)
|
352
357
|
end
|
353
358
|
|
354
|
-
# Returns a dataset containing all data points whose start and end times
|
355
|
-
# with the specified range of the dataset minimum start time and
|
356
|
-
# time. Specifically, any data point whose start time is less
|
357
|
-
# the dataset end time and whose end time is greater than or
|
358
|
-
# 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.
|
359
364
|
# @param [String] user_id
|
360
|
-
# Retrieve a dataset for the person identified. Use me to
|
361
|
-
# 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.
|
362
368
|
# @param [String] data_source_id
|
363
369
|
# The data stream ID of the data source that created the dataset.
|
364
370
|
# @param [String] dataset_id
|
365
371
|
# Dataset identifier that is a composite of the minimum data point start time
|
366
|
-
# and maximum data point end time represented as nanoseconds from the epoch.
|
367
|
-
# ID is formatted like: "startTime
|
368
|
-
# 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.
|
369
375
|
# @param [Fixnum] limit
|
370
376
|
# If specified, no more than this many data points will be included in the
|
371
|
-
# dataset. If there are more data points in the dataset, nextPageToken
|
372
|
-
# 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.
|
373
379
|
# @param [String] page_token
|
374
|
-
# The continuation token, which is used to page through large datasets.
|
375
|
-
# the next page of a dataset, set this parameter to the value of
|
376
|
-
# from the previous response. Each subsequent
|
377
|
-
# with data point end timestamps that are
|
378
|
-
# 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.
|
379
385
|
# @param [String] fields
|
380
386
|
# Selector specifying which fields to include in a partial response.
|
381
387
|
# @param [String] quota_user
|
382
|
-
#
|
383
|
-
# characters.
|
384
|
-
# @param [String] user_ip
|
385
|
-
# 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.
|
386
390
|
# @param [Google::Apis::RequestOptions] options
|
387
391
|
# Request-specific options
|
388
392
|
#
|
@@ -395,8 +399,8 @@ module Google
|
|
395
399
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
396
400
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
397
401
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
398
|
-
def get_user_data_source_dataset(user_id, data_source_id, dataset_id, limit: nil, page_token: nil, fields: nil, quota_user: nil,
|
399
|
-
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)
|
400
404
|
command.response_representation = Google::Apis::FitnessV1::Dataset::Representation
|
401
405
|
command.response_class = Google::Apis::FitnessV1::Dataset
|
402
406
|
command.params['userId'] = user_id unless user_id.nil?
|
@@ -406,36 +410,33 @@ module Google
|
|
406
410
|
command.query['pageToken'] = page_token unless page_token.nil?
|
407
411
|
command.query['fields'] = fields unless fields.nil?
|
408
412
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
409
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
410
413
|
execute_or_queue_command(command, &block)
|
411
414
|
end
|
412
415
|
|
413
|
-
# Adds data points to a dataset. The dataset need not be previously created.
|
414
|
-
# points within the given dataset will be returned with subsquent calls
|
415
|
-
# retrieve this dataset. Data points can belong to more than one dataset.
|
416
|
-
# 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.
|
417
420
|
# @param [String] user_id
|
418
|
-
# Patch a dataset for the person identified. Use me to indicate
|
419
|
-
# 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.
|
420
423
|
# @param [String] data_source_id
|
421
424
|
# The data stream ID of the data source that created the dataset.
|
422
425
|
# @param [String] dataset_id
|
423
426
|
# Dataset identifier that is a composite of the minimum data point start time
|
424
|
-
# and maximum data point end time represented as nanoseconds from the epoch.
|
425
|
-
# ID is formatted like: "startTime
|
426
|
-
# 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.
|
427
430
|
# @param [Google::Apis::FitnessV1::Dataset] dataset_object
|
428
431
|
# @param [Fixnum] current_time_millis
|
429
432
|
# The client's current time in milliseconds since epoch. Note that the
|
430
|
-
# minStartTimeNs and maxEndTimeNs properties in
|
431
|
-
# nanoseconds instead of milliseconds.
|
433
|
+
# <code>minStartTimeNs</code> and <code>maxEndTimeNs</code> properties in
|
434
|
+
# the request body are in nanoseconds instead of milliseconds.
|
432
435
|
# @param [String] fields
|
433
436
|
# Selector specifying which fields to include in a partial response.
|
434
437
|
# @param [String] quota_user
|
435
|
-
#
|
436
|
-
# characters.
|
437
|
-
# @param [String] user_ip
|
438
|
-
# 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.
|
439
440
|
# @param [Google::Apis::RequestOptions] options
|
440
441
|
# Request-specific options
|
441
442
|
#
|
@@ -448,8 +449,8 @@ module Google
|
|
448
449
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
449
450
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
450
451
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
451
|
-
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,
|
452
|
-
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)
|
453
454
|
command.request_representation = Google::Apis::FitnessV1::Dataset::Representation
|
454
455
|
command.request_object = dataset_object
|
455
456
|
command.response_representation = Google::Apis::FitnessV1::Dataset::Representation
|
@@ -460,24 +461,21 @@ module Google
|
|
460
461
|
command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
|
461
462
|
command.query['fields'] = fields unless fields.nil?
|
462
463
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
463
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
464
464
|
execute_or_queue_command(command, &block)
|
465
465
|
end
|
466
466
|
|
467
467
|
# Aggregates data of a certain type or stream into buckets divided by a given
|
468
468
|
# type of boundary. Multiple data sets of multiple types and from multiple
|
469
|
-
# sources can be
|
469
|
+
# sources can be aggregated into exactly one bucket type per request.
|
470
470
|
# @param [String] user_id
|
471
|
-
# Aggregate data for the person identified. Use me to indicate
|
472
|
-
# 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.
|
473
473
|
# @param [Google::Apis::FitnessV1::AggregateRequest] aggregate_request_object
|
474
474
|
# @param [String] fields
|
475
475
|
# Selector specifying which fields to include in a partial response.
|
476
476
|
# @param [String] quota_user
|
477
|
-
#
|
478
|
-
# characters.
|
479
|
-
# @param [String] user_ip
|
480
|
-
# 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.
|
481
479
|
# @param [Google::Apis::RequestOptions] options
|
482
480
|
# Request-specific options
|
483
481
|
#
|
@@ -490,8 +488,8 @@ module Google
|
|
490
488
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
491
489
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
492
490
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
493
|
-
def aggregate_dataset(user_id, aggregate_request_object = nil, fields: nil, quota_user: nil,
|
494
|
-
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)
|
495
493
|
command.request_representation = Google::Apis::FitnessV1::AggregateRequest::Representation
|
496
494
|
command.request_object = aggregate_request_object
|
497
495
|
command.response_representation = Google::Apis::FitnessV1::AggregateResponse::Representation
|
@@ -499,14 +497,13 @@ module Google
|
|
499
497
|
command.params['userId'] = user_id unless user_id.nil?
|
500
498
|
command.query['fields'] = fields unless fields.nil?
|
501
499
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
502
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
503
500
|
execute_or_queue_command(command, &block)
|
504
501
|
end
|
505
502
|
|
506
503
|
# Deletes a session specified by the given session ID.
|
507
504
|
# @param [String] user_id
|
508
|
-
# Delete a session for the person identified. Use me to indicate
|
509
|
-
# 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.
|
510
507
|
# @param [String] session_id
|
511
508
|
# The ID of the session to be deleted.
|
512
509
|
# @param [Fixnum] current_time_millis
|
@@ -514,10 +511,8 @@ module Google
|
|
514
511
|
# @param [String] fields
|
515
512
|
# Selector specifying which fields to include in a partial response.
|
516
513
|
# @param [String] quota_user
|
517
|
-
#
|
518
|
-
# characters.
|
519
|
-
# @param [String] user_ip
|
520
|
-
# 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.
|
521
516
|
# @param [Google::Apis::RequestOptions] options
|
522
517
|
# Request-specific options
|
523
518
|
#
|
@@ -530,46 +525,49 @@ module Google
|
|
530
525
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
531
526
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
532
527
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
533
|
-
def delete_user_session(user_id, session_id, current_time_millis: nil, fields: nil, quota_user: nil,
|
534
|
-
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)
|
535
530
|
command.params['userId'] = user_id unless user_id.nil?
|
536
531
|
command.params['sessionId'] = session_id unless session_id.nil?
|
537
532
|
command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
|
538
533
|
command.query['fields'] = fields unless fields.nil?
|
539
534
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
540
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
541
535
|
execute_or_queue_command(command, &block)
|
542
536
|
end
|
543
537
|
|
544
538
|
# Lists sessions previously created.
|
545
539
|
# @param [String] user_id
|
546
|
-
# List sessions for the person identified. Use me to indicate
|
547
|
-
# 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.
|
542
|
+
# @param [Array<Fixnum>, Fixnum] activity_type
|
543
|
+
# If non-empty, only sessions with these activity types should be returned.
|
548
544
|
# @param [String] end_time
|
549
|
-
# An RFC3339 timestamp.
|
550
|
-
# 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.
|
551
550
|
# @param [Boolean] include_deleted
|
552
|
-
# If true,
|
553
|
-
#
|
554
|
-
# fields.
|
551
|
+
# If true, and if both <var>startTime</var> and <var>endTime</var> are
|
552
|
+
# omitted, session deletions will be returned.
|
555
553
|
# @param [String] page_token
|
556
|
-
# The continuation token, which is used for incremental syncing.
|
557
|
-
# batch of changes, set this parameter to the value of
|
558
|
-
# previous response.
|
559
|
-
#
|
560
|
-
#
|
561
|
-
# 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
|
562
559
|
# 30 days are returned.
|
563
560
|
# @param [String] start_time
|
564
|
-
# An RFC3339 timestamp.
|
565
|
-
# 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.
|
566
566
|
# @param [String] fields
|
567
567
|
# Selector specifying which fields to include in a partial response.
|
568
568
|
# @param [String] quota_user
|
569
|
-
#
|
570
|
-
# characters.
|
571
|
-
# @param [String] user_ip
|
572
|
-
# 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.
|
573
571
|
# @param [Google::Apis::RequestOptions] options
|
574
572
|
# Request-specific options
|
575
573
|
#
|
@@ -582,25 +580,25 @@ module Google
|
|
582
580
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
583
581
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
584
582
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
585
|
-
def list_user_sessions(user_id, end_time: nil, include_deleted: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil,
|
586
|
-
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)
|
587
585
|
command.response_representation = Google::Apis::FitnessV1::ListSessionsResponse::Representation
|
588
586
|
command.response_class = Google::Apis::FitnessV1::ListSessionsResponse
|
589
587
|
command.params['userId'] = user_id unless user_id.nil?
|
588
|
+
command.query['activityType'] = activity_type unless activity_type.nil?
|
590
589
|
command.query['endTime'] = end_time unless end_time.nil?
|
591
590
|
command.query['includeDeleted'] = include_deleted unless include_deleted.nil?
|
592
591
|
command.query['pageToken'] = page_token unless page_token.nil?
|
593
592
|
command.query['startTime'] = start_time unless start_time.nil?
|
594
593
|
command.query['fields'] = fields unless fields.nil?
|
595
594
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
596
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
597
595
|
execute_or_queue_command(command, &block)
|
598
596
|
end
|
599
597
|
|
600
598
|
# Updates or insert a given session.
|
601
599
|
# @param [String] user_id
|
602
|
-
# Create sessions for the person identified. Use me to indicate
|
603
|
-
# 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.
|
604
602
|
# @param [String] session_id
|
605
603
|
# The ID of the session to be created.
|
606
604
|
# @param [Google::Apis::FitnessV1::Session] session_object
|
@@ -609,10 +607,8 @@ module Google
|
|
609
607
|
# @param [String] fields
|
610
608
|
# Selector specifying which fields to include in a partial response.
|
611
609
|
# @param [String] quota_user
|
612
|
-
#
|
613
|
-
# characters.
|
614
|
-
# @param [String] user_ip
|
615
|
-
# 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.
|
616
612
|
# @param [Google::Apis::RequestOptions] options
|
617
613
|
# Request-specific options
|
618
614
|
#
|
@@ -625,8 +621,8 @@ module Google
|
|
625
621
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
626
622
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
627
623
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
628
|
-
def update_user_session(user_id, session_id, session_object = nil, current_time_millis: nil, fields: nil, quota_user: nil,
|
629
|
-
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)
|
630
626
|
command.request_representation = Google::Apis::FitnessV1::Session::Representation
|
631
627
|
command.request_object = session_object
|
632
628
|
command.response_representation = Google::Apis::FitnessV1::Session::Representation
|
@@ -636,7 +632,6 @@ module Google
|
|
636
632
|
command.query['currentTimeMillis'] = current_time_millis unless current_time_millis.nil?
|
637
633
|
command.query['fields'] = fields unless fields.nil?
|
638
634
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
639
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
640
635
|
execute_or_queue_command(command, &block)
|
641
636
|
end
|
642
637
|
|
@@ -645,7 +640,6 @@ module Google
|
|
645
640
|
def apply_command_defaults(command)
|
646
641
|
command.query['key'] = key unless key.nil?
|
647
642
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
648
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
649
643
|
end
|
650
644
|
end
|
651
645
|
end
|