google-api-client 0.13.2 → 0.13.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +149 -0
- data/bin/generate-api +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
- data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
- data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
- data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
- data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
- data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
- data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
- data/generated/google/apis/adexperiencereport_v1.rb +35 -0
- data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
- data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
- data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
- data/generated/google/apis/admin_directory_v1/service.rb +39 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +37 -0
- data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
- data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
- data/generated/google/apis/analytics_v2_4/service.rb +345 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +15 -2
- data/generated/google/apis/analytics_v3/representations.rb +3 -0
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
- data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
- data/generated/google/apis/androidmanagement_v1.rb +35 -0
- data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
- data/generated/google/apis/androidpublisher_v1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
- data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
- data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
- data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
- data/generated/google/apis/appengine_v1/representations.rb +351 -335
- data/generated/google/apis/appengine_v1/service.rb +255 -239
- data/generated/google/apis/appengine_v1alpha.rb +41 -0
- data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
- data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
- data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
- data/generated/google/apis/appengine_v1beta.rb +41 -0
- data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
- data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
- data/generated/google/apis/appengine_v1beta4.rb +41 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
- data/generated/google/apis/appengine_v1beta5.rb +41 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +106 -18
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
- data/generated/google/apis/blogger_v2.rb +34 -0
- data/generated/google/apis/blogger_v2/classes.rb +947 -0
- data/generated/google/apis/blogger_v2/representations.rb +465 -0
- data/generated/google/apis/blogger_v2/service.rb +424 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +4 -207
- data/generated/google/apis/calendar_v3/representations.rb +0 -97
- data/generated/google/apis/calendar_v3/service.rb +8 -4
- data/generated/google/apis/classroom_v1.rb +27 -27
- data/generated/google/apis/classroom_v1/classes.rb +1037 -926
- data/generated/google/apis/classroom_v1/representations.rb +294 -244
- data/generated/google/apis/classroom_v1/service.rb +1114 -1109
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
- data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
- data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
- data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
- data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
- data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
- data/generated/google/apis/cloudfunctions_v1.rb +4 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
- data/generated/google/apis/cloudkms_v1/service.rb +320 -320
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
- data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
- data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
- data/generated/google/apis/cloudtrace_v2.rb +43 -0
- data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
- data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
- data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
- data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
- data/generated/google/apis/compute_alpha.rb +49 -0
- data/generated/google/apis/compute_alpha/classes.rb +23796 -0
- data/generated/google/apis/compute_alpha/representations.rb +9391 -0
- data/generated/google/apis/compute_alpha/service.rb +24188 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1597 -235
- data/generated/google/apis/compute_beta/representations.rb +477 -0
- data/generated/google/apis/compute_beta/service.rb +2875 -1677
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +319 -197
- data/generated/google/apis/compute_v1/representations.rb +51 -0
- data/generated/google/apis/compute_v1/service.rb +2057 -172
- data/generated/google/apis/consumersurveys_v2.rb +40 -0
- data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
- data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
- data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1072 -936
- data/generated/google/apis/container_v1/representations.rb +266 -202
- data/generated/google/apis/container_v1/service.rb +243 -243
- data/generated/google/apis/container_v1beta1.rb +35 -0
- data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
- data/generated/google/apis/container_v1beta1/representations.rb +662 -0
- data/generated/google/apis/container_v1beta1/service.rb +1875 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +72 -3
- data/generated/google/apis/content_v2/representations.rb +23 -0
- data/generated/google/apis/content_v2/service.rb +23 -18
- data/generated/google/apis/content_v2sandbox.rb +35 -0
- data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
- data/generated/google/apis/content_v2sandbox/service.rb +709 -0
- data/generated/google/apis/dataflow_v1b3.rb +5 -5
- data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
- data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
- data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
- data/generated/google/apis/dataproc_v1/representations.rb +227 -227
- data/generated/google/apis/dataproc_v1/service.rb +254 -254
- data/generated/google/apis/dataproc_v1beta2.rb +34 -0
- data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +1311 -773
- data/generated/google/apis/datastore_v1/representations.rb +351 -148
- data/generated/google/apis/datastore_v1/service.rb +206 -55
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
- data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
- data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
- data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
- data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
- data/generated/google/apis/dlp_v2beta1.rb +36 -0
- data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
- data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
- data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
- data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
- data/generated/google/apis/firebaserules_v1/service.rb +113 -113
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +37 -0
- data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
- data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
- data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +8 -8
- data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
- data/generated/google/apis/genomics_v1/representations.rb +482 -482
- data/generated/google/apis/genomics_v1/service.rb +966 -966
- data/generated/google/apis/genomics_v1alpha2.rb +40 -0
- data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +664 -395
- data/generated/google/apis/iam_v1/representations.rb +194 -81
- data/generated/google/apis/iam_v1/service.rb +657 -92
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +8 -8
- data/generated/google/apis/language_v1.rb +4 -1
- data/generated/google/apis/language_v1/classes.rb +393 -393
- data/generated/google/apis/language_v1/representations.rb +95 -95
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +4 -1
- data/generated/google/apis/language_v1beta1/classes.rb +457 -457
- data/generated/google/apis/language_v1beta1/representations.rb +114 -114
- data/generated/google/apis/language_v1beta1/service.rb +48 -48
- data/generated/google/apis/language_v1beta2.rb +39 -0
- data/generated/google/apis/language_v1beta2/classes.rb +824 -0
- data/generated/google/apis/language_v1beta2/representations.rb +373 -0
- data/generated/google/apis/language_v1beta2/service.rb +217 -0
- data/generated/google/apis/logging_v2.rb +9 -9
- data/generated/google/apis/logging_v2/classes.rb +840 -834
- data/generated/google/apis/logging_v2/representations.rb +168 -167
- data/generated/google/apis/logging_v2/service.rb +667 -463
- data/generated/google/apis/logging_v2beta1.rb +9 -9
- data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
- data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
- data/generated/google/apis/logging_v2beta1/service.rb +253 -255
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
- data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
- data/generated/google/apis/manufacturers_v1/service.rb +8 -7
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1487 -1676
- data/generated/google/apis/ml_v1/representations.rb +229 -299
- data/generated/google/apis/ml_v1/service.rb +359 -253
- data/generated/google/apis/ml_v1beta1.rb +34 -0
- data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
- data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
- data/generated/google/apis/ml_v1beta1/service.rb +975 -0
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +834 -834
- data/generated/google/apis/monitoring_v3/representations.rb +168 -168
- data/generated/google/apis/monitoring_v3/service.rb +330 -330
- data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
- data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
- data/generated/google/apis/mybusiness_v3/service.rb +241 -241
- data/generated/google/apis/oauth2_v1.rb +43 -0
- data/generated/google/apis/oauth2_v1/classes.rb +321 -0
- data/generated/google/apis/oauth2_v1/representations.rb +135 -0
- data/generated/google/apis/oauth2_v1/service.rb +337 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +37 -0
- data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
- data/generated/google/apis/pagespeedonline_v1.rb +32 -0
- data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
- data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
- data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1512 -1512
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +596 -596
- data/generated/google/apis/people_v1.rb +15 -15
- data/generated/google/apis/people_v1/classes.rb +1384 -1383
- data/generated/google/apis/people_v1/representations.rb +311 -311
- data/generated/google/apis/people_v1/service.rb +208 -202
- data/generated/google/apis/playcustomapp_v1.rb +34 -0
- data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
- data/generated/google/apis/playmoviespartner_v1.rb +34 -0
- data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
- data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
- data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/prediction_v1_2.rb +44 -0
- data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
- data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
- data/generated/google/apis/prediction_v1_2/service.rb +287 -0
- data/generated/google/apis/prediction_v1_3.rb +44 -0
- data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
- data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
- data/generated/google/apis/prediction_v1_3/service.rb +284 -0
- data/generated/google/apis/prediction_v1_4.rb +44 -0
- data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
- data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
- data/generated/google/apis/prediction_v1_4/service.rb +284 -0
- data/generated/google/apis/prediction_v1_5.rb +44 -0
- data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
- data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
- data/generated/google/apis/prediction_v1_5/service.rb +357 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +352 -352
- data/generated/google/apis/pubsub_v1/representations.rb +77 -77
- data/generated/google/apis/pubsub_v1/service.rb +346 -346
- data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
- data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
- data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
- data/generated/google/apis/pubsub_v1beta2.rb +37 -0
- data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
- data/generated/google/apis/replicapool_v1beta1.rb +50 -0
- data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
- data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
- data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
- data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
- data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
- data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
- data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
- data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
- data/generated/google/apis/safebrowsing_v4.rb +32 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +99 -157
- data/generated/google/apis/script_v1/representations.rb +17 -47
- data/generated/google/apis/script_v1/service.rb +12 -12
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
- data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
- data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
- data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
- data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
- data/generated/google/apis/serviceuser_v1.rb +5 -5
- data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
- data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
- data/generated/google/apis/serviceuser_v1/service.rb +43 -43
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
- data/generated/google/apis/sheets_v4/representations.rb +931 -930
- data/generated/google/apis/sheets_v4/service.rb +244 -244
- data/generated/google/apis/slides_v1.rb +10 -10
- data/generated/google/apis/slides_v1/classes.rb +2915 -2915
- data/generated/google/apis/slides_v1/representations.rb +698 -698
- data/generated/google/apis/slides_v1/service.rb +35 -35
- data/generated/google/apis/sourcerepo_v1.rb +3 -3
- data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
- data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
- data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
- data/generated/google/apis/spanner_v1.rb +4 -4
- data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
- data/generated/google/apis/spanner_v1/representations.rb +338 -323
- data/generated/google/apis/spanner_v1/service.rb +689 -689
- data/generated/google/apis/spectrum_v1explorer.rb +31 -0
- data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
- data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
- data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
- data/generated/google/apis/speech_v1.rb +34 -0
- data/generated/google/apis/speech_v1/classes.rb +572 -0
- data/generated/google/apis/speech_v1/representations.rb +236 -0
- data/generated/google/apis/speech_v1/service.rb +277 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
- data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
- data/generated/google/apis/speech_v1beta1/service.rb +46 -46
- data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
- data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -6
- data/generated/google/apis/storage_v1/service.rb +51 -29
- data/generated/google/apis/storage_v1beta1.rb +40 -0
- data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
- data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
- data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
- data/generated/google/apis/storage_v1beta2.rb +40 -0
- data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
- data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
- data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
- data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
- data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
- data/generated/google/apis/streetviewpublish_v1.rb +36 -0
- data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
- data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
- data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
- data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
- data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
- data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
- data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
- data/generated/google/apis/translate_v2/classes.rb +111 -111
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +94 -94
- data/generated/google/apis/vault_v1.rb +31 -0
- data/generated/google/apis/vault_v1/classes.rb +554 -0
- data/generated/google/apis/vault_v1/representations.rb +318 -0
- data/generated/google/apis/vault_v1/service.rb +677 -0
- data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
- data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
- data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
- data/generated/google/apis/vision_v1.rb +4 -4
- data/generated/google/apis/vision_v1/classes.rb +1176 -1178
- data/generated/google/apis/vision_v1/representations.rb +235 -235
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
- data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
- data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
- data/lib/google/apis/version.rb +1 -1
- metadata +246 -2
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/fit/rest/
|
26
26
|
module FitnessV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170731'
|
29
29
|
|
30
30
|
# View your activity information in Google Fit
|
31
31
|
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
@@ -475,7 +475,7 @@ module Google
|
|
475
475
|
# dataType.name:developer project number:device.manufacturer:device.model:device.
|
476
476
|
# uid:dataStreamName
|
477
477
|
# When any of the optional fields that comprise of the data stream ID are blank,
|
478
|
-
# they will be omitted from the data stream ID. The
|
478
|
+
# they will be omitted from the data stream ID. The minimum viable data stream
|
479
479
|
# ID would be: type:dataType.name:developer project number
|
480
480
|
# Finally, the developer project number is obfuscated when read by any REST or
|
481
481
|
# Android client that did not create the data source. Only the data source
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/fusiontables_v1/service.rb'
|
16
|
+
require 'google/apis/fusiontables_v1/classes.rb'
|
17
|
+
require 'google/apis/fusiontables_v1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Fusion Tables API
|
22
|
+
#
|
23
|
+
# API for working with Fusion Tables data.
|
24
|
+
#
|
25
|
+
# @see https://developers.google.com/fusiontables
|
26
|
+
module FusiontablesV1
|
27
|
+
VERSION = 'V1'
|
28
|
+
REVISION = '20170413'
|
29
|
+
|
30
|
+
# Manage your Fusion Tables
|
31
|
+
AUTH_FUSIONTABLES = 'https://www.googleapis.com/auth/fusiontables'
|
32
|
+
|
33
|
+
# View your Fusion Tables
|
34
|
+
AUTH_FUSIONTABLES_READONLY = 'https://www.googleapis.com/auth/fusiontables.readonly'
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,977 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module FusiontablesV1
|
24
|
+
|
25
|
+
# Specifies the minimum and maximum values, the color, opacity, icon and weight
|
26
|
+
# of a bucket within a StyleSetting.
|
27
|
+
class Bucket
|
28
|
+
include Google::Apis::Core::Hashable
|
29
|
+
|
30
|
+
# Color of line or the interior of a polygon in #RRGGBB format.
|
31
|
+
# Corresponds to the JSON property `color`
|
32
|
+
# @return [String]
|
33
|
+
attr_accessor :color
|
34
|
+
|
35
|
+
# Icon name used for a point.
|
36
|
+
# Corresponds to the JSON property `icon`
|
37
|
+
# @return [String]
|
38
|
+
attr_accessor :icon
|
39
|
+
|
40
|
+
# Maximum value in the selected column for a row to be styled according to the
|
41
|
+
# bucket color, opacity, icon, or weight.
|
42
|
+
# Corresponds to the JSON property `max`
|
43
|
+
# @return [Float]
|
44
|
+
attr_accessor :max
|
45
|
+
|
46
|
+
# Minimum value in the selected column for a row to be styled according to the
|
47
|
+
# bucket color, opacity, icon, or weight.
|
48
|
+
# Corresponds to the JSON property `min`
|
49
|
+
# @return [Float]
|
50
|
+
attr_accessor :min
|
51
|
+
|
52
|
+
# Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
|
53
|
+
# Corresponds to the JSON property `opacity`
|
54
|
+
# @return [Float]
|
55
|
+
attr_accessor :opacity
|
56
|
+
|
57
|
+
# Width of a line (in pixels).
|
58
|
+
# Corresponds to the JSON property `weight`
|
59
|
+
# @return [Fixnum]
|
60
|
+
attr_accessor :weight
|
61
|
+
|
62
|
+
def initialize(**args)
|
63
|
+
update!(**args)
|
64
|
+
end
|
65
|
+
|
66
|
+
# Update properties of this object
|
67
|
+
def update!(**args)
|
68
|
+
@color = args[:color] if args.key?(:color)
|
69
|
+
@icon = args[:icon] if args.key?(:icon)
|
70
|
+
@max = args[:max] if args.key?(:max)
|
71
|
+
@min = args[:min] if args.key?(:min)
|
72
|
+
@opacity = args[:opacity] if args.key?(:opacity)
|
73
|
+
@weight = args[:weight] if args.key?(:weight)
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# Specifies the id, name and type of a column in a table.
|
78
|
+
class Column
|
79
|
+
include Google::Apis::Core::Hashable
|
80
|
+
|
81
|
+
# Optional identifier of the base column. If present, this column is derived
|
82
|
+
# from the specified base column.
|
83
|
+
# Corresponds to the JSON property `baseColumn`
|
84
|
+
# @return [Google::Apis::FusiontablesV1::Column::BaseColumn]
|
85
|
+
attr_accessor :base_column
|
86
|
+
|
87
|
+
# Identifier for the column.
|
88
|
+
# Corresponds to the JSON property `columnId`
|
89
|
+
# @return [Fixnum]
|
90
|
+
attr_accessor :column_id
|
91
|
+
|
92
|
+
# Optional column description.
|
93
|
+
# Corresponds to the JSON property `description`
|
94
|
+
# @return [String]
|
95
|
+
attr_accessor :description
|
96
|
+
|
97
|
+
# Optional column predicate. Used to map table to graph data model (subject,
|
98
|
+
# predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#
|
99
|
+
# data-model
|
100
|
+
# Corresponds to the JSON property `graph_predicate`
|
101
|
+
# @return [String]
|
102
|
+
attr_accessor :graph_predicate
|
103
|
+
|
104
|
+
# Type name: a template for an individual column.
|
105
|
+
# Corresponds to the JSON property `kind`
|
106
|
+
# @return [String]
|
107
|
+
attr_accessor :kind
|
108
|
+
|
109
|
+
# Required name of the column.
|
110
|
+
# Corresponds to the JSON property `name`
|
111
|
+
# @return [String]
|
112
|
+
attr_accessor :name
|
113
|
+
|
114
|
+
# Required type of the column.
|
115
|
+
# Corresponds to the JSON property `type`
|
116
|
+
# @return [String]
|
117
|
+
attr_accessor :type
|
118
|
+
|
119
|
+
def initialize(**args)
|
120
|
+
update!(**args)
|
121
|
+
end
|
122
|
+
|
123
|
+
# Update properties of this object
|
124
|
+
def update!(**args)
|
125
|
+
@base_column = args[:base_column] if args.key?(:base_column)
|
126
|
+
@column_id = args[:column_id] if args.key?(:column_id)
|
127
|
+
@description = args[:description] if args.key?(:description)
|
128
|
+
@graph_predicate = args[:graph_predicate] if args.key?(:graph_predicate)
|
129
|
+
@kind = args[:kind] if args.key?(:kind)
|
130
|
+
@name = args[:name] if args.key?(:name)
|
131
|
+
@type = args[:type] if args.key?(:type)
|
132
|
+
end
|
133
|
+
|
134
|
+
# Optional identifier of the base column. If present, this column is derived
|
135
|
+
# from the specified base column.
|
136
|
+
class BaseColumn
|
137
|
+
include Google::Apis::Core::Hashable
|
138
|
+
|
139
|
+
# The id of the column in the base table from which this column is derived.
|
140
|
+
# Corresponds to the JSON property `columnId`
|
141
|
+
# @return [Fixnum]
|
142
|
+
attr_accessor :column_id
|
143
|
+
|
144
|
+
# Offset to the entry in the list of base tables in the table definition.
|
145
|
+
# Corresponds to the JSON property `tableIndex`
|
146
|
+
# @return [Fixnum]
|
147
|
+
attr_accessor :table_index
|
148
|
+
|
149
|
+
def initialize(**args)
|
150
|
+
update!(**args)
|
151
|
+
end
|
152
|
+
|
153
|
+
# Update properties of this object
|
154
|
+
def update!(**args)
|
155
|
+
@column_id = args[:column_id] if args.key?(:column_id)
|
156
|
+
@table_index = args[:table_index] if args.key?(:table_index)
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
# Represents a list of columns in a table.
|
162
|
+
class ColumnList
|
163
|
+
include Google::Apis::Core::Hashable
|
164
|
+
|
165
|
+
# List of all requested columns.
|
166
|
+
# Corresponds to the JSON property `items`
|
167
|
+
# @return [Array<Google::Apis::FusiontablesV1::Column>]
|
168
|
+
attr_accessor :items
|
169
|
+
|
170
|
+
# Type name: a list of all columns.
|
171
|
+
# Corresponds to the JSON property `kind`
|
172
|
+
# @return [String]
|
173
|
+
attr_accessor :kind
|
174
|
+
|
175
|
+
# Token used to access the next page of this result. No token is displayed if
|
176
|
+
# there are no more pages left.
|
177
|
+
# Corresponds to the JSON property `nextPageToken`
|
178
|
+
# @return [String]
|
179
|
+
attr_accessor :next_page_token
|
180
|
+
|
181
|
+
# Total number of columns for the table.
|
182
|
+
# Corresponds to the JSON property `totalItems`
|
183
|
+
# @return [Fixnum]
|
184
|
+
attr_accessor :total_items
|
185
|
+
|
186
|
+
def initialize(**args)
|
187
|
+
update!(**args)
|
188
|
+
end
|
189
|
+
|
190
|
+
# Update properties of this object
|
191
|
+
def update!(**args)
|
192
|
+
@items = args[:items] if args.key?(:items)
|
193
|
+
@kind = args[:kind] if args.key?(:kind)
|
194
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
195
|
+
@total_items = args[:total_items] if args.key?(:total_items)
|
196
|
+
end
|
197
|
+
end
|
198
|
+
|
199
|
+
# Represents a Geometry object.
|
200
|
+
class Geometry
|
201
|
+
include Google::Apis::Core::Hashable
|
202
|
+
|
203
|
+
# The list of geometries in this geometry collection.
|
204
|
+
# Corresponds to the JSON property `geometries`
|
205
|
+
# @return [Array<Object>]
|
206
|
+
attr_accessor :geometries
|
207
|
+
|
208
|
+
#
|
209
|
+
# Corresponds to the JSON property `geometry`
|
210
|
+
# @return [Object]
|
211
|
+
attr_accessor :geometry
|
212
|
+
|
213
|
+
# Type: A collection of geometries.
|
214
|
+
# Corresponds to the JSON property `type`
|
215
|
+
# @return [String]
|
216
|
+
attr_accessor :type
|
217
|
+
|
218
|
+
def initialize(**args)
|
219
|
+
update!(**args)
|
220
|
+
end
|
221
|
+
|
222
|
+
# Update properties of this object
|
223
|
+
def update!(**args)
|
224
|
+
@geometries = args[:geometries] if args.key?(:geometries)
|
225
|
+
@geometry = args[:geometry] if args.key?(:geometry)
|
226
|
+
@type = args[:type] if args.key?(:type)
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
# Represents an import request.
|
231
|
+
class Import
|
232
|
+
include Google::Apis::Core::Hashable
|
233
|
+
|
234
|
+
# Type name: a template for an import request.
|
235
|
+
# Corresponds to the JSON property `kind`
|
236
|
+
# @return [String]
|
237
|
+
attr_accessor :kind
|
238
|
+
|
239
|
+
# The number of rows received from the import request.
|
240
|
+
# Corresponds to the JSON property `numRowsReceived`
|
241
|
+
# @return [Fixnum]
|
242
|
+
attr_accessor :num_rows_received
|
243
|
+
|
244
|
+
def initialize(**args)
|
245
|
+
update!(**args)
|
246
|
+
end
|
247
|
+
|
248
|
+
# Update properties of this object
|
249
|
+
def update!(**args)
|
250
|
+
@kind = args[:kind] if args.key?(:kind)
|
251
|
+
@num_rows_received = args[:num_rows_received] if args.key?(:num_rows_received)
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
# Represents a line geometry.
|
256
|
+
class Line
|
257
|
+
include Google::Apis::Core::Hashable
|
258
|
+
|
259
|
+
# The coordinates that define the line.
|
260
|
+
# Corresponds to the JSON property `coordinates`
|
261
|
+
# @return [Array<Array<Float>>]
|
262
|
+
attr_accessor :coordinates
|
263
|
+
|
264
|
+
# Type: A line geometry.
|
265
|
+
# Corresponds to the JSON property `type`
|
266
|
+
# @return [String]
|
267
|
+
attr_accessor :type
|
268
|
+
|
269
|
+
def initialize(**args)
|
270
|
+
update!(**args)
|
271
|
+
end
|
272
|
+
|
273
|
+
# Update properties of this object
|
274
|
+
def update!(**args)
|
275
|
+
@coordinates = args[:coordinates] if args.key?(:coordinates)
|
276
|
+
@type = args[:type] if args.key?(:type)
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
# Represents a LineStyle within a StyleSetting
|
281
|
+
class LineStyle
|
282
|
+
include Google::Apis::Core::Hashable
|
283
|
+
|
284
|
+
# Color of the line in #RRGGBB format.
|
285
|
+
# Corresponds to the JSON property `strokeColor`
|
286
|
+
# @return [String]
|
287
|
+
attr_accessor :stroke_color
|
288
|
+
|
289
|
+
# Represents a StyleFunction within a StyleSetting
|
290
|
+
# Corresponds to the JSON property `strokeColorStyler`
|
291
|
+
# @return [Google::Apis::FusiontablesV1::StyleFunction]
|
292
|
+
attr_accessor :stroke_color_styler
|
293
|
+
|
294
|
+
# Opacity of the line : 0.0 (transparent) to 1.0 (opaque).
|
295
|
+
# Corresponds to the JSON property `strokeOpacity`
|
296
|
+
# @return [Float]
|
297
|
+
attr_accessor :stroke_opacity
|
298
|
+
|
299
|
+
# Width of the line in pixels.
|
300
|
+
# Corresponds to the JSON property `strokeWeight`
|
301
|
+
# @return [Fixnum]
|
302
|
+
attr_accessor :stroke_weight
|
303
|
+
|
304
|
+
# Represents a StyleFunction within a StyleSetting
|
305
|
+
# Corresponds to the JSON property `strokeWeightStyler`
|
306
|
+
# @return [Google::Apis::FusiontablesV1::StyleFunction]
|
307
|
+
attr_accessor :stroke_weight_styler
|
308
|
+
|
309
|
+
def initialize(**args)
|
310
|
+
update!(**args)
|
311
|
+
end
|
312
|
+
|
313
|
+
# Update properties of this object
|
314
|
+
def update!(**args)
|
315
|
+
@stroke_color = args[:stroke_color] if args.key?(:stroke_color)
|
316
|
+
@stroke_color_styler = args[:stroke_color_styler] if args.key?(:stroke_color_styler)
|
317
|
+
@stroke_opacity = args[:stroke_opacity] if args.key?(:stroke_opacity)
|
318
|
+
@stroke_weight = args[:stroke_weight] if args.key?(:stroke_weight)
|
319
|
+
@stroke_weight_styler = args[:stroke_weight_styler] if args.key?(:stroke_weight_styler)
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
# Represents a point object.
|
324
|
+
class Point
|
325
|
+
include Google::Apis::Core::Hashable
|
326
|
+
|
327
|
+
# The coordinates that define the point.
|
328
|
+
# Corresponds to the JSON property `coordinates`
|
329
|
+
# @return [Array<Float>]
|
330
|
+
attr_accessor :coordinates
|
331
|
+
|
332
|
+
# Point: A point geometry.
|
333
|
+
# Corresponds to the JSON property `type`
|
334
|
+
# @return [String]
|
335
|
+
attr_accessor :type
|
336
|
+
|
337
|
+
def initialize(**args)
|
338
|
+
update!(**args)
|
339
|
+
end
|
340
|
+
|
341
|
+
# Update properties of this object
|
342
|
+
def update!(**args)
|
343
|
+
@coordinates = args[:coordinates] if args.key?(:coordinates)
|
344
|
+
@type = args[:type] if args.key?(:type)
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
# Represents a PointStyle within a StyleSetting
|
349
|
+
class PointStyle
|
350
|
+
include Google::Apis::Core::Hashable
|
351
|
+
|
352
|
+
# Name of the icon. Use values defined in http://www.google.com/fusiontables/
|
353
|
+
# DataSource?dsrcid=308519
|
354
|
+
# Corresponds to the JSON property `iconName`
|
355
|
+
# @return [String]
|
356
|
+
attr_accessor :icon_name
|
357
|
+
|
358
|
+
# Represents a StyleFunction within a StyleSetting
|
359
|
+
# Corresponds to the JSON property `iconStyler`
|
360
|
+
# @return [Google::Apis::FusiontablesV1::StyleFunction]
|
361
|
+
attr_accessor :icon_styler
|
362
|
+
|
363
|
+
def initialize(**args)
|
364
|
+
update!(**args)
|
365
|
+
end
|
366
|
+
|
367
|
+
# Update properties of this object
|
368
|
+
def update!(**args)
|
369
|
+
@icon_name = args[:icon_name] if args.key?(:icon_name)
|
370
|
+
@icon_styler = args[:icon_styler] if args.key?(:icon_styler)
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
374
|
+
# Represents a polygon object.
|
375
|
+
class Polygon
|
376
|
+
include Google::Apis::Core::Hashable
|
377
|
+
|
378
|
+
# The coordinates that define the polygon.
|
379
|
+
# Corresponds to the JSON property `coordinates`
|
380
|
+
# @return [Array<Array<Array<Float>>>]
|
381
|
+
attr_accessor :coordinates
|
382
|
+
|
383
|
+
# Type: A polygon geometry.
|
384
|
+
# Corresponds to the JSON property `type`
|
385
|
+
# @return [String]
|
386
|
+
attr_accessor :type
|
387
|
+
|
388
|
+
def initialize(**args)
|
389
|
+
update!(**args)
|
390
|
+
end
|
391
|
+
|
392
|
+
# Update properties of this object
|
393
|
+
def update!(**args)
|
394
|
+
@coordinates = args[:coordinates] if args.key?(:coordinates)
|
395
|
+
@type = args[:type] if args.key?(:type)
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
# Represents a PolygonStyle within a StyleSetting
|
400
|
+
class PolygonStyle
|
401
|
+
include Google::Apis::Core::Hashable
|
402
|
+
|
403
|
+
# Color of the interior of the polygon in #RRGGBB format.
|
404
|
+
# Corresponds to the JSON property `fillColor`
|
405
|
+
# @return [String]
|
406
|
+
attr_accessor :fill_color
|
407
|
+
|
408
|
+
# Represents a StyleFunction within a StyleSetting
|
409
|
+
# Corresponds to the JSON property `fillColorStyler`
|
410
|
+
# @return [Google::Apis::FusiontablesV1::StyleFunction]
|
411
|
+
attr_accessor :fill_color_styler
|
412
|
+
|
413
|
+
# Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque).
|
414
|
+
# Corresponds to the JSON property `fillOpacity`
|
415
|
+
# @return [Float]
|
416
|
+
attr_accessor :fill_opacity
|
417
|
+
|
418
|
+
# Color of the polygon border in #RRGGBB format.
|
419
|
+
# Corresponds to the JSON property `strokeColor`
|
420
|
+
# @return [String]
|
421
|
+
attr_accessor :stroke_color
|
422
|
+
|
423
|
+
# Represents a StyleFunction within a StyleSetting
|
424
|
+
# Corresponds to the JSON property `strokeColorStyler`
|
425
|
+
# @return [Google::Apis::FusiontablesV1::StyleFunction]
|
426
|
+
attr_accessor :stroke_color_styler
|
427
|
+
|
428
|
+
# Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque).
|
429
|
+
# Corresponds to the JSON property `strokeOpacity`
|
430
|
+
# @return [Float]
|
431
|
+
attr_accessor :stroke_opacity
|
432
|
+
|
433
|
+
# Width of the polyon border in pixels.
|
434
|
+
# Corresponds to the JSON property `strokeWeight`
|
435
|
+
# @return [Fixnum]
|
436
|
+
attr_accessor :stroke_weight
|
437
|
+
|
438
|
+
# Represents a StyleFunction within a StyleSetting
|
439
|
+
# Corresponds to the JSON property `strokeWeightStyler`
|
440
|
+
# @return [Google::Apis::FusiontablesV1::StyleFunction]
|
441
|
+
attr_accessor :stroke_weight_styler
|
442
|
+
|
443
|
+
def initialize(**args)
|
444
|
+
update!(**args)
|
445
|
+
end
|
446
|
+
|
447
|
+
# Update properties of this object
|
448
|
+
def update!(**args)
|
449
|
+
@fill_color = args[:fill_color] if args.key?(:fill_color)
|
450
|
+
@fill_color_styler = args[:fill_color_styler] if args.key?(:fill_color_styler)
|
451
|
+
@fill_opacity = args[:fill_opacity] if args.key?(:fill_opacity)
|
452
|
+
@stroke_color = args[:stroke_color] if args.key?(:stroke_color)
|
453
|
+
@stroke_color_styler = args[:stroke_color_styler] if args.key?(:stroke_color_styler)
|
454
|
+
@stroke_opacity = args[:stroke_opacity] if args.key?(:stroke_opacity)
|
455
|
+
@stroke_weight = args[:stroke_weight] if args.key?(:stroke_weight)
|
456
|
+
@stroke_weight_styler = args[:stroke_weight_styler] if args.key?(:stroke_weight_styler)
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
# Represents a response to an sql statement.
|
461
|
+
class Sqlresponse
|
462
|
+
include Google::Apis::Core::Hashable
|
463
|
+
|
464
|
+
# Columns in the table.
|
465
|
+
# Corresponds to the JSON property `columns`
|
466
|
+
# @return [Array<String>]
|
467
|
+
attr_accessor :columns
|
468
|
+
|
469
|
+
# Type name: a template for an individual table.
|
470
|
+
# Corresponds to the JSON property `kind`
|
471
|
+
# @return [String]
|
472
|
+
attr_accessor :kind
|
473
|
+
|
474
|
+
# The rows in the table. For each cell we print out whatever cell value (e.g.,
|
475
|
+
# numeric, string) exists. Thus it is important that each cell contains only one
|
476
|
+
# value.
|
477
|
+
# Corresponds to the JSON property `rows`
|
478
|
+
# @return [Array<Array<Object>>]
|
479
|
+
attr_accessor :rows
|
480
|
+
|
481
|
+
def initialize(**args)
|
482
|
+
update!(**args)
|
483
|
+
end
|
484
|
+
|
485
|
+
# Update properties of this object
|
486
|
+
def update!(**args)
|
487
|
+
@columns = args[:columns] if args.key?(:columns)
|
488
|
+
@kind = args[:kind] if args.key?(:kind)
|
489
|
+
@rows = args[:rows] if args.key?(:rows)
|
490
|
+
end
|
491
|
+
end
|
492
|
+
|
493
|
+
# Represents a StyleFunction within a StyleSetting
|
494
|
+
class StyleFunction
|
495
|
+
include Google::Apis::Core::Hashable
|
496
|
+
|
497
|
+
# Bucket function that assigns a style based on the range a column value falls
|
498
|
+
# into.
|
499
|
+
# Corresponds to the JSON property `buckets`
|
500
|
+
# @return [Array<Google::Apis::FusiontablesV1::Bucket>]
|
501
|
+
attr_accessor :buckets
|
502
|
+
|
503
|
+
# Name of the column whose value is used in the style.
|
504
|
+
# Corresponds to the JSON property `columnName`
|
505
|
+
# @return [String]
|
506
|
+
attr_accessor :column_name
|
507
|
+
|
508
|
+
# Gradient function that interpolates a range of colors based on column value.
|
509
|
+
# Corresponds to the JSON property `gradient`
|
510
|
+
# @return [Google::Apis::FusiontablesV1::StyleFunction::Gradient]
|
511
|
+
attr_accessor :gradient
|
512
|
+
|
513
|
+
# Stylers can be one of three kinds: "fusiontables#fromColumn" if the column
|
514
|
+
# value is to be used as is, i.e., the column values can have colors in #
|
515
|
+
# RRGGBBAA format or integer line widths or icon names; "fusiontables#gradient"
|
516
|
+
# if the styling of the row is to be based on applying the gradient function on
|
517
|
+
# the column value; or "fusiontables#buckets" if the styling is to based on the
|
518
|
+
# bucket into which the the column value falls.
|
519
|
+
# Corresponds to the JSON property `kind`
|
520
|
+
# @return [String]
|
521
|
+
attr_accessor :kind
|
522
|
+
|
523
|
+
def initialize(**args)
|
524
|
+
update!(**args)
|
525
|
+
end
|
526
|
+
|
527
|
+
# Update properties of this object
|
528
|
+
def update!(**args)
|
529
|
+
@buckets = args[:buckets] if args.key?(:buckets)
|
530
|
+
@column_name = args[:column_name] if args.key?(:column_name)
|
531
|
+
@gradient = args[:gradient] if args.key?(:gradient)
|
532
|
+
@kind = args[:kind] if args.key?(:kind)
|
533
|
+
end
|
534
|
+
|
535
|
+
# Gradient function that interpolates a range of colors based on column value.
|
536
|
+
class Gradient
|
537
|
+
include Google::Apis::Core::Hashable
|
538
|
+
|
539
|
+
# Array with two or more colors.
|
540
|
+
# Corresponds to the JSON property `colors`
|
541
|
+
# @return [Array<Google::Apis::FusiontablesV1::StyleFunction::Gradient::Color>]
|
542
|
+
attr_accessor :colors
|
543
|
+
|
544
|
+
# Higher-end of the interpolation range: rows with this value will be assigned
|
545
|
+
# to colors[n-1].
|
546
|
+
# Corresponds to the JSON property `max`
|
547
|
+
# @return [Float]
|
548
|
+
attr_accessor :max
|
549
|
+
|
550
|
+
# Lower-end of the interpolation range: rows with this value will be assigned to
|
551
|
+
# colors[0].
|
552
|
+
# Corresponds to the JSON property `min`
|
553
|
+
# @return [Float]
|
554
|
+
attr_accessor :min
|
555
|
+
|
556
|
+
def initialize(**args)
|
557
|
+
update!(**args)
|
558
|
+
end
|
559
|
+
|
560
|
+
# Update properties of this object
|
561
|
+
def update!(**args)
|
562
|
+
@colors = args[:colors] if args.key?(:colors)
|
563
|
+
@max = args[:max] if args.key?(:max)
|
564
|
+
@min = args[:min] if args.key?(:min)
|
565
|
+
end
|
566
|
+
|
567
|
+
#
|
568
|
+
class Color
|
569
|
+
include Google::Apis::Core::Hashable
|
570
|
+
|
571
|
+
# Color in #RRGGBB format.
|
572
|
+
# Corresponds to the JSON property `color`
|
573
|
+
# @return [String]
|
574
|
+
attr_accessor :color
|
575
|
+
|
576
|
+
# Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
|
577
|
+
# Corresponds to the JSON property `opacity`
|
578
|
+
# @return [Float]
|
579
|
+
attr_accessor :opacity
|
580
|
+
|
581
|
+
def initialize(**args)
|
582
|
+
update!(**args)
|
583
|
+
end
|
584
|
+
|
585
|
+
# Update properties of this object
|
586
|
+
def update!(**args)
|
587
|
+
@color = args[:color] if args.key?(:color)
|
588
|
+
@opacity = args[:opacity] if args.key?(:opacity)
|
589
|
+
end
|
590
|
+
end
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
594
|
+
# Represents a complete StyleSettings object. The primary key is a combination
|
595
|
+
# of the tableId and a styleId.
|
596
|
+
class StyleSetting
|
597
|
+
include Google::Apis::Core::Hashable
|
598
|
+
|
599
|
+
# Type name: an individual style setting. A StyleSetting contains the style
|
600
|
+
# defintions for points, lines, and polygons in a table. Since a table can have
|
601
|
+
# any one or all of them, a style definition can have point, line and polygon
|
602
|
+
# style definitions.
|
603
|
+
# Corresponds to the JSON property `kind`
|
604
|
+
# @return [String]
|
605
|
+
attr_accessor :kind
|
606
|
+
|
607
|
+
# Represents a PointStyle within a StyleSetting
|
608
|
+
# Corresponds to the JSON property `markerOptions`
|
609
|
+
# @return [Google::Apis::FusiontablesV1::PointStyle]
|
610
|
+
attr_accessor :marker_options
|
611
|
+
|
612
|
+
# Optional name for the style setting.
|
613
|
+
# Corresponds to the JSON property `name`
|
614
|
+
# @return [String]
|
615
|
+
attr_accessor :name
|
616
|
+
|
617
|
+
# Represents a PolygonStyle within a StyleSetting
|
618
|
+
# Corresponds to the JSON property `polygonOptions`
|
619
|
+
# @return [Google::Apis::FusiontablesV1::PolygonStyle]
|
620
|
+
attr_accessor :polygon_options
|
621
|
+
|
622
|
+
# Represents a LineStyle within a StyleSetting
|
623
|
+
# Corresponds to the JSON property `polylineOptions`
|
624
|
+
# @return [Google::Apis::FusiontablesV1::LineStyle]
|
625
|
+
attr_accessor :polyline_options
|
626
|
+
|
627
|
+
# Identifier for the style setting (unique only within tables).
|
628
|
+
# Corresponds to the JSON property `styleId`
|
629
|
+
# @return [Fixnum]
|
630
|
+
attr_accessor :style_id
|
631
|
+
|
632
|
+
# Identifier for the table.
|
633
|
+
# Corresponds to the JSON property `tableId`
|
634
|
+
# @return [String]
|
635
|
+
attr_accessor :table_id
|
636
|
+
|
637
|
+
def initialize(**args)
|
638
|
+
update!(**args)
|
639
|
+
end
|
640
|
+
|
641
|
+
# Update properties of this object
|
642
|
+
def update!(**args)
|
643
|
+
@kind = args[:kind] if args.key?(:kind)
|
644
|
+
@marker_options = args[:marker_options] if args.key?(:marker_options)
|
645
|
+
@name = args[:name] if args.key?(:name)
|
646
|
+
@polygon_options = args[:polygon_options] if args.key?(:polygon_options)
|
647
|
+
@polyline_options = args[:polyline_options] if args.key?(:polyline_options)
|
648
|
+
@style_id = args[:style_id] if args.key?(:style_id)
|
649
|
+
@table_id = args[:table_id] if args.key?(:table_id)
|
650
|
+
end
|
651
|
+
end
|
652
|
+
|
653
|
+
# Represents a list of styles for a given table.
|
654
|
+
class StyleSettingList
|
655
|
+
include Google::Apis::Core::Hashable
|
656
|
+
|
657
|
+
# All requested style settings.
|
658
|
+
# Corresponds to the JSON property `items`
|
659
|
+
# @return [Array<Google::Apis::FusiontablesV1::StyleSetting>]
|
660
|
+
attr_accessor :items
|
661
|
+
|
662
|
+
# Type name: in this case, a list of style settings.
|
663
|
+
# Corresponds to the JSON property `kind`
|
664
|
+
# @return [String]
|
665
|
+
attr_accessor :kind
|
666
|
+
|
667
|
+
# Token used to access the next page of this result. No token is displayed if
|
668
|
+
# there are no more pages left.
|
669
|
+
# Corresponds to the JSON property `nextPageToken`
|
670
|
+
# @return [String]
|
671
|
+
attr_accessor :next_page_token
|
672
|
+
|
673
|
+
# Total number of styles for the table.
|
674
|
+
# Corresponds to the JSON property `totalItems`
|
675
|
+
# @return [Fixnum]
|
676
|
+
attr_accessor :total_items
|
677
|
+
|
678
|
+
def initialize(**args)
|
679
|
+
update!(**args)
|
680
|
+
end
|
681
|
+
|
682
|
+
# Update properties of this object
|
683
|
+
def update!(**args)
|
684
|
+
@items = args[:items] if args.key?(:items)
|
685
|
+
@kind = args[:kind] if args.key?(:kind)
|
686
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
687
|
+
@total_items = args[:total_items] if args.key?(:total_items)
|
688
|
+
end
|
689
|
+
end
|
690
|
+
|
691
|
+
# Represents a table. Specifies the name, whether it is exportable, description,
|
692
|
+
# attribution, and attribution link.
|
693
|
+
class Table
|
694
|
+
include Google::Apis::Core::Hashable
|
695
|
+
|
696
|
+
# Optional attribution assigned to the table.
|
697
|
+
# Corresponds to the JSON property `attribution`
|
698
|
+
# @return [String]
|
699
|
+
attr_accessor :attribution
|
700
|
+
|
701
|
+
# Optional link for attribution.
|
702
|
+
# Corresponds to the JSON property `attributionLink`
|
703
|
+
# @return [String]
|
704
|
+
attr_accessor :attribution_link
|
705
|
+
|
706
|
+
# Optional base table identifier if this table is a view or merged table.
|
707
|
+
# Corresponds to the JSON property `baseTableIds`
|
708
|
+
# @return [Array<String>]
|
709
|
+
attr_accessor :base_table_ids
|
710
|
+
|
711
|
+
# Columns in the table.
|
712
|
+
# Corresponds to the JSON property `columns`
|
713
|
+
# @return [Array<Google::Apis::FusiontablesV1::Column>]
|
714
|
+
attr_accessor :columns
|
715
|
+
|
716
|
+
# Optional description assigned to the table.
|
717
|
+
# Corresponds to the JSON property `description`
|
718
|
+
# @return [String]
|
719
|
+
attr_accessor :description
|
720
|
+
|
721
|
+
# Variable for whether table is exportable.
|
722
|
+
# Corresponds to the JSON property `isExportable`
|
723
|
+
# @return [Boolean]
|
724
|
+
attr_accessor :is_exportable
|
725
|
+
alias_method :is_exportable?, :is_exportable
|
726
|
+
|
727
|
+
# Type name: a template for an individual table.
|
728
|
+
# Corresponds to the JSON property `kind`
|
729
|
+
# @return [String]
|
730
|
+
attr_accessor :kind
|
731
|
+
|
732
|
+
# Name assigned to a table.
|
733
|
+
# Corresponds to the JSON property `name`
|
734
|
+
# @return [String]
|
735
|
+
attr_accessor :name
|
736
|
+
|
737
|
+
# Optional sql that encodes the table definition for derived tables.
|
738
|
+
# Corresponds to the JSON property `sql`
|
739
|
+
# @return [String]
|
740
|
+
attr_accessor :sql
|
741
|
+
|
742
|
+
# Encrypted unique alphanumeric identifier for the table.
|
743
|
+
# Corresponds to the JSON property `tableId`
|
744
|
+
# @return [String]
|
745
|
+
attr_accessor :table_id
|
746
|
+
|
747
|
+
def initialize(**args)
|
748
|
+
update!(**args)
|
749
|
+
end
|
750
|
+
|
751
|
+
# Update properties of this object
|
752
|
+
def update!(**args)
|
753
|
+
@attribution = args[:attribution] if args.key?(:attribution)
|
754
|
+
@attribution_link = args[:attribution_link] if args.key?(:attribution_link)
|
755
|
+
@base_table_ids = args[:base_table_ids] if args.key?(:base_table_ids)
|
756
|
+
@columns = args[:columns] if args.key?(:columns)
|
757
|
+
@description = args[:description] if args.key?(:description)
|
758
|
+
@is_exportable = args[:is_exportable] if args.key?(:is_exportable)
|
759
|
+
@kind = args[:kind] if args.key?(:kind)
|
760
|
+
@name = args[:name] if args.key?(:name)
|
761
|
+
@sql = args[:sql] if args.key?(:sql)
|
762
|
+
@table_id = args[:table_id] if args.key?(:table_id)
|
763
|
+
end
|
764
|
+
end
|
765
|
+
|
766
|
+
# Represents a list of tables.
|
767
|
+
class TableList
|
768
|
+
include Google::Apis::Core::Hashable
|
769
|
+
|
770
|
+
# List of all requested tables.
|
771
|
+
# Corresponds to the JSON property `items`
|
772
|
+
# @return [Array<Google::Apis::FusiontablesV1::Table>]
|
773
|
+
attr_accessor :items
|
774
|
+
|
775
|
+
# Type name: a list of all tables.
|
776
|
+
# Corresponds to the JSON property `kind`
|
777
|
+
# @return [String]
|
778
|
+
attr_accessor :kind
|
779
|
+
|
780
|
+
# Token used to access the next page of this result. No token is displayed if
|
781
|
+
# there are no more pages left.
|
782
|
+
# Corresponds to the JSON property `nextPageToken`
|
783
|
+
# @return [String]
|
784
|
+
attr_accessor :next_page_token
|
785
|
+
|
786
|
+
def initialize(**args)
|
787
|
+
update!(**args)
|
788
|
+
end
|
789
|
+
|
790
|
+
# Update properties of this object
|
791
|
+
def update!(**args)
|
792
|
+
@items = args[:items] if args.key?(:items)
|
793
|
+
@kind = args[:kind] if args.key?(:kind)
|
794
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
795
|
+
end
|
796
|
+
end
|
797
|
+
|
798
|
+
# Specifies the identifier, name, and type of a task in a table.
|
799
|
+
class Task
|
800
|
+
include Google::Apis::Core::Hashable
|
801
|
+
|
802
|
+
# Type of the resource. This is always "fusiontables#task".
|
803
|
+
# Corresponds to the JSON property `kind`
|
804
|
+
# @return [String]
|
805
|
+
attr_accessor :kind
|
806
|
+
|
807
|
+
# An indication of task progress.
|
808
|
+
# Corresponds to the JSON property `progress`
|
809
|
+
# @return [String]
|
810
|
+
attr_accessor :progress
|
811
|
+
|
812
|
+
# false while the table is busy with some other task. true if this background
|
813
|
+
# task is currently running.
|
814
|
+
# Corresponds to the JSON property `started`
|
815
|
+
# @return [Boolean]
|
816
|
+
attr_accessor :started
|
817
|
+
alias_method :started?, :started
|
818
|
+
|
819
|
+
# Identifier for the task.
|
820
|
+
# Corresponds to the JSON property `taskId`
|
821
|
+
# @return [Fixnum]
|
822
|
+
attr_accessor :task_id
|
823
|
+
|
824
|
+
# Type of background task. One of DELETE_ROWS Deletes one or more rows from the
|
825
|
+
# table. ADD_ROWS "Adds one or more rows to a table. Includes importing data
|
826
|
+
# into a new table and importing more rows into an existing table. ADD_COLUMN
|
827
|
+
# Adds a new column to the table. CHANGE_TYPE Changes the type of a column.
|
828
|
+
# Corresponds to the JSON property `type`
|
829
|
+
# @return [String]
|
830
|
+
attr_accessor :type
|
831
|
+
|
832
|
+
def initialize(**args)
|
833
|
+
update!(**args)
|
834
|
+
end
|
835
|
+
|
836
|
+
# Update properties of this object
|
837
|
+
def update!(**args)
|
838
|
+
@kind = args[:kind] if args.key?(:kind)
|
839
|
+
@progress = args[:progress] if args.key?(:progress)
|
840
|
+
@started = args[:started] if args.key?(:started)
|
841
|
+
@task_id = args[:task_id] if args.key?(:task_id)
|
842
|
+
@type = args[:type] if args.key?(:type)
|
843
|
+
end
|
844
|
+
end
|
845
|
+
|
846
|
+
# Represents a list of tasks for a table.
|
847
|
+
class TaskList
|
848
|
+
include Google::Apis::Core::Hashable
|
849
|
+
|
850
|
+
# List of all requested tasks.
|
851
|
+
# Corresponds to the JSON property `items`
|
852
|
+
# @return [Array<Google::Apis::FusiontablesV1::Task>]
|
853
|
+
attr_accessor :items
|
854
|
+
|
855
|
+
# Type of the resource. This is always "fusiontables#taskList".
|
856
|
+
# Corresponds to the JSON property `kind`
|
857
|
+
# @return [String]
|
858
|
+
attr_accessor :kind
|
859
|
+
|
860
|
+
# Token used to access the next page of this result. No token is displayed if
|
861
|
+
# there are no more pages left.
|
862
|
+
# Corresponds to the JSON property `nextPageToken`
|
863
|
+
# @return [String]
|
864
|
+
attr_accessor :next_page_token
|
865
|
+
|
866
|
+
# Total number of tasks for the table.
|
867
|
+
# Corresponds to the JSON property `totalItems`
|
868
|
+
# @return [Fixnum]
|
869
|
+
attr_accessor :total_items
|
870
|
+
|
871
|
+
def initialize(**args)
|
872
|
+
update!(**args)
|
873
|
+
end
|
874
|
+
|
875
|
+
# Update properties of this object
|
876
|
+
def update!(**args)
|
877
|
+
@items = args[:items] if args.key?(:items)
|
878
|
+
@kind = args[:kind] if args.key?(:kind)
|
879
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
880
|
+
@total_items = args[:total_items] if args.key?(:total_items)
|
881
|
+
end
|
882
|
+
end
|
883
|
+
|
884
|
+
# Represents the contents of InfoWindow templates.
|
885
|
+
class Template
|
886
|
+
include Google::Apis::Core::Hashable
|
887
|
+
|
888
|
+
# List of columns from which the template is to be automatically constructed.
|
889
|
+
# Only one of body or automaticColumns can be specified.
|
890
|
+
# Corresponds to the JSON property `automaticColumnNames`
|
891
|
+
# @return [Array<String>]
|
892
|
+
attr_accessor :automatic_column_names
|
893
|
+
|
894
|
+
# Body of the template. It contains HTML with `column_name` to insert values
|
895
|
+
# from a particular column. The body is sanitized to remove certain tags, e.g.,
|
896
|
+
# script. Only one of body or automaticColumns can be specified.
|
897
|
+
# Corresponds to the JSON property `body`
|
898
|
+
# @return [String]
|
899
|
+
attr_accessor :body
|
900
|
+
|
901
|
+
# Type name: a template for the info window contents. The template can either
|
902
|
+
# include an HTML body or a list of columns from which the template is computed
|
903
|
+
# automatically.
|
904
|
+
# Corresponds to the JSON property `kind`
|
905
|
+
# @return [String]
|
906
|
+
attr_accessor :kind
|
907
|
+
|
908
|
+
# Optional name assigned to a template.
|
909
|
+
# Corresponds to the JSON property `name`
|
910
|
+
# @return [String]
|
911
|
+
attr_accessor :name
|
912
|
+
|
913
|
+
# Identifier for the table for which the template is defined.
|
914
|
+
# Corresponds to the JSON property `tableId`
|
915
|
+
# @return [String]
|
916
|
+
attr_accessor :table_id
|
917
|
+
|
918
|
+
# Identifier for the template, unique within the context of a particular table.
|
919
|
+
# Corresponds to the JSON property `templateId`
|
920
|
+
# @return [Fixnum]
|
921
|
+
attr_accessor :template_id
|
922
|
+
|
923
|
+
def initialize(**args)
|
924
|
+
update!(**args)
|
925
|
+
end
|
926
|
+
|
927
|
+
# Update properties of this object
|
928
|
+
def update!(**args)
|
929
|
+
@automatic_column_names = args[:automatic_column_names] if args.key?(:automatic_column_names)
|
930
|
+
@body = args[:body] if args.key?(:body)
|
931
|
+
@kind = args[:kind] if args.key?(:kind)
|
932
|
+
@name = args[:name] if args.key?(:name)
|
933
|
+
@table_id = args[:table_id] if args.key?(:table_id)
|
934
|
+
@template_id = args[:template_id] if args.key?(:template_id)
|
935
|
+
end
|
936
|
+
end
|
937
|
+
|
938
|
+
# Represents a list of templates for a given table.
|
939
|
+
class TemplateList
|
940
|
+
include Google::Apis::Core::Hashable
|
941
|
+
|
942
|
+
# List of all requested templates.
|
943
|
+
# Corresponds to the JSON property `items`
|
944
|
+
# @return [Array<Google::Apis::FusiontablesV1::Template>]
|
945
|
+
attr_accessor :items
|
946
|
+
|
947
|
+
# Type name: a list of all templates.
|
948
|
+
# Corresponds to the JSON property `kind`
|
949
|
+
# @return [String]
|
950
|
+
attr_accessor :kind
|
951
|
+
|
952
|
+
# Token used to access the next page of this result. No token is displayed if
|
953
|
+
# there are no more pages left.
|
954
|
+
# Corresponds to the JSON property `nextPageToken`
|
955
|
+
# @return [String]
|
956
|
+
attr_accessor :next_page_token
|
957
|
+
|
958
|
+
# Total number of templates for the table.
|
959
|
+
# Corresponds to the JSON property `totalItems`
|
960
|
+
# @return [Fixnum]
|
961
|
+
attr_accessor :total_items
|
962
|
+
|
963
|
+
def initialize(**args)
|
964
|
+
update!(**args)
|
965
|
+
end
|
966
|
+
|
967
|
+
# Update properties of this object
|
968
|
+
def update!(**args)
|
969
|
+
@items = args[:items] if args.key?(:items)
|
970
|
+
@kind = args[:kind] if args.key?(:kind)
|
971
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
972
|
+
@total_items = args[:total_items] if args.key?(:total_items)
|
973
|
+
end
|
974
|
+
end
|
975
|
+
end
|
976
|
+
end
|
977
|
+
end
|