google-api-client 0.40.2 → 0.42.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +285 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +1481 -107
- data/generated/google/apis/apigee_v1/representations.rb +559 -0
- data/generated/google/apis/apigee_v1/service.rb +1162 -117
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +9 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +36 -6
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +28 -13
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +113 -0
- data/generated/google/apis/chat_v1/representations.rb +50 -0
- data/generated/google/apis/chat_v1/service.rb +32 -0
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
- data/generated/google/apis/civicinfo_v2/service.rb +28 -63
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +9 -5
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +403 -6
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +178 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +948 -36
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +18 -19
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +10 -6
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +272 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +20 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1beta2.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/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +16 -12
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +7 -6
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +7 -6
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +634 -104
- data/generated/google/apis/compute_alpha/representations.rb +170 -0
- data/generated/google/apis/compute_alpha/service.rb +888 -139
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +703 -102
- data/generated/google/apis/compute_beta/representations.rb +182 -0
- data/generated/google/apis/compute_beta/service.rb +565 -33
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +989 -80
- data/generated/google/apis/compute_v1/representations.rb +290 -0
- data/generated/google/apis/compute_v1/service.rb +784 -38
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +132 -5
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +157 -24
- data/generated/google/apis/container_v1beta1/representations.rb +39 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +8 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2/service.rb +10 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +266 -8
- data/generated/google/apis/content_v2_1/representations.rb +108 -0
- data/generated/google/apis/content_v2_1/service.rb +10 -5
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +12 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +58 -11
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +53 -11
- data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +268 -28
- data/generated/google/apis/dialogflow_v2/representations.rb +93 -0
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +272 -30
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -48
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +117 -10
- data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
- data/generated/google/apis/displayvideo_v1/service.rb +80 -6
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -2
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/documentai_v1beta2.rb +36 -0
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +75 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +49 -88
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +74 -2
- data/generated/google/apis/drive_v3/representations.rb +23 -0
- data/generated/google/apis/drive_v3/service.rb +26 -59
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +212 -1154
- data/generated/google/apis/{groupsmigration_v1.rb → gameservices_v1.rb} +10 -11
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +53 -53
- data/generated/google/apis/gmail_v1/service.rb +72 -72
- data/generated/google/apis/{androidpublisher_v1_1.rb → gmailpostmastertools_v1beta1.rb} +11 -12
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1/service.rb +50 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +916 -49
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +577 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +27 -3
- data/generated/google/apis/iam_v1/service.rb +22 -6
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +28 -14
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +119 -48
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +8 -5
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +2 -2
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/people_v1/classes.rb +4 -4
- data/generated/google/apis/people_v1/service.rb +6 -5
- data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +28 -30
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +211 -0
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +123 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +10 -7
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1/service.rb +14 -15
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +23 -4
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +23 -4
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -6
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +118 -37
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +15 -4
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +15 -4
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +29 -4
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +74 -4
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +30 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +37 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +118 -28
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +25 -20
- data/generated/google/apis/spanner_v1/service.rb +7 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +17 -6
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/{androidpublisher_v1.rb → vectortile_v1.rb} +8 -8
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +20 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +20 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +20 -0
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +594 -2
- data/generated/google/apis/youtube_v3/representations.rb +308 -0
- data/generated/google/apis/youtube_v3/service.rb +292 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +35 -19
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/slides/
|
|
26
26
|
module SlidesV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200611'
|
|
29
29
|
|
|
30
30
|
# See, edit, create, and delete all of your Google Drive files
|
|
31
31
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
|
@@ -2149,6 +2149,8 @@ module Google
|
|
|
2149
2149
|
|
|
2150
2150
|
# The description of the page element. Combined with title to display alt
|
|
2151
2151
|
# text.
|
|
2152
|
+
# The field is not supported for Group
|
|
2153
|
+
# elements.
|
|
2152
2154
|
# Corresponds to the JSON property `description`
|
|
2153
2155
|
# @return [String]
|
|
2154
2156
|
attr_accessor :description
|
|
@@ -2203,6 +2205,8 @@ module Google
|
|
|
2203
2205
|
|
|
2204
2206
|
# The title of the page element. Combined with description to display alt
|
|
2205
2207
|
# text.
|
|
2208
|
+
# The field is not supported for Group
|
|
2209
|
+
# elements.
|
|
2206
2210
|
# Corresponds to the JSON property `title`
|
|
2207
2211
|
# @return [String]
|
|
2208
2212
|
attr_accessor :title
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/spanner/
|
|
27
27
|
module SpannerV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200623'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -190,10 +190,11 @@ module Google
|
|
|
190
190
|
include Google::Apis::Core::Hashable
|
|
191
191
|
|
|
192
192
|
# # Transactions
|
|
193
|
-
# Each session can have at most one active transaction at a time
|
|
194
|
-
#
|
|
195
|
-
#
|
|
196
|
-
#
|
|
193
|
+
# Each session can have at most one active transaction at a time (note that
|
|
194
|
+
# standalone reads and queries use a transaction internally and do count
|
|
195
|
+
# towards the one transaction limit). After the active transaction is
|
|
196
|
+
# completed, the session can immediately be re-used for the next transaction.
|
|
197
|
+
# It is not necessary to create a new session for each transaction.
|
|
197
198
|
# # Transaction Modes
|
|
198
199
|
# Cloud Spanner supports three transaction modes:
|
|
199
200
|
# 1. Locking read-write. This type of transaction is the only way
|
|
@@ -555,10 +556,11 @@ module Google
|
|
|
555
556
|
attr_accessor :mutations
|
|
556
557
|
|
|
557
558
|
# # Transactions
|
|
558
|
-
# Each session can have at most one active transaction at a time
|
|
559
|
-
#
|
|
560
|
-
#
|
|
561
|
-
#
|
|
559
|
+
# Each session can have at most one active transaction at a time (note that
|
|
560
|
+
# standalone reads and queries use a transaction internally and do count
|
|
561
|
+
# towards the one transaction limit). After the active transaction is
|
|
562
|
+
# completed, the session can immediately be re-used for the next transaction.
|
|
563
|
+
# It is not necessary to create a new session for each transaction.
|
|
562
564
|
# # Transaction Modes
|
|
563
565
|
# Cloud Spanner supports three transaction modes:
|
|
564
566
|
# 1. Locking read-write. This type of transaction is the only way
|
|
@@ -3519,10 +3521,11 @@ module Google
|
|
|
3519
3521
|
end
|
|
3520
3522
|
|
|
3521
3523
|
# # Transactions
|
|
3522
|
-
# Each session can have at most one active transaction at a time
|
|
3523
|
-
#
|
|
3524
|
-
#
|
|
3525
|
-
#
|
|
3524
|
+
# Each session can have at most one active transaction at a time (note that
|
|
3525
|
+
# standalone reads and queries use a transaction internally and do count
|
|
3526
|
+
# towards the one transaction limit). After the active transaction is
|
|
3527
|
+
# completed, the session can immediately be re-used for the next transaction.
|
|
3528
|
+
# It is not necessary to create a new session for each transaction.
|
|
3526
3529
|
# # Transaction Modes
|
|
3527
3530
|
# Cloud Spanner supports three transaction modes:
|
|
3528
3531
|
# 1. Locking read-write. This type of transaction is the only way
|
|
@@ -3772,10 +3775,11 @@ module Google
|
|
|
3772
3775
|
include Google::Apis::Core::Hashable
|
|
3773
3776
|
|
|
3774
3777
|
# # Transactions
|
|
3775
|
-
# Each session can have at most one active transaction at a time
|
|
3776
|
-
#
|
|
3777
|
-
#
|
|
3778
|
-
#
|
|
3778
|
+
# Each session can have at most one active transaction at a time (note that
|
|
3779
|
+
# standalone reads and queries use a transaction internally and do count
|
|
3780
|
+
# towards the one transaction limit). After the active transaction is
|
|
3781
|
+
# completed, the session can immediately be re-used for the next transaction.
|
|
3782
|
+
# It is not necessary to create a new session for each transaction.
|
|
3779
3783
|
# # Transaction Modes
|
|
3780
3784
|
# Cloud Spanner supports three transaction modes:
|
|
3781
3785
|
# 1. Locking read-write. This type of transaction is the only way
|
|
@@ -3997,10 +4001,11 @@ module Google
|
|
|
3997
4001
|
attr_accessor :id
|
|
3998
4002
|
|
|
3999
4003
|
# # Transactions
|
|
4000
|
-
# Each session can have at most one active transaction at a time
|
|
4001
|
-
#
|
|
4002
|
-
#
|
|
4003
|
-
#
|
|
4004
|
+
# Each session can have at most one active transaction at a time (note that
|
|
4005
|
+
# standalone reads and queries use a transaction internally and do count
|
|
4006
|
+
# towards the one transaction limit). After the active transaction is
|
|
4007
|
+
# completed, the session can immediately be re-used for the next transaction.
|
|
4008
|
+
# It is not necessary to create a new session for each transaction.
|
|
4004
4009
|
# # Transaction Modes
|
|
4005
4010
|
# Cloud Spanner supports three transaction modes:
|
|
4006
4011
|
# 1. Locking read-write. This type of transaction is the only way
|
|
@@ -1299,6 +1299,8 @@ module Google
|
|
|
1299
1299
|
# be queried using the Operations API.
|
|
1300
1300
|
# @param [String] database
|
|
1301
1301
|
# Required. The database whose schema we wish to get.
|
|
1302
|
+
# Values are of the form
|
|
1303
|
+
# `projects/<project>/instances/<instance>/databases/<database>`
|
|
1302
1304
|
# @param [String] fields
|
|
1303
1305
|
# Selector specifying which fields to include in a partial response.
|
|
1304
1306
|
# @param [String] quota_user
|
|
@@ -1815,6 +1817,11 @@ module Google
|
|
|
1815
1817
|
# transactions. However, it can also happen for a variety of other
|
|
1816
1818
|
# reasons. If `Commit` returns `ABORTED`, the caller should re-attempt
|
|
1817
1819
|
# the transaction from the beginning, re-using the same session.
|
|
1820
|
+
# On very rare occasions, `Commit` might return `UNKNOWN`. This can happen,
|
|
1821
|
+
# for example, if the client job experiences a 1+ hour networking failure.
|
|
1822
|
+
# At that point, Cloud Spanner has lost track of the transaction outcome and
|
|
1823
|
+
# we recommend that you perform another read from the database to see the
|
|
1824
|
+
# state of things as they are now.
|
|
1818
1825
|
# @param [String] session
|
|
1819
1826
|
# Required. The session in which the transaction to be committed is running.
|
|
1820
1827
|
# @param [Google::Apis::SpannerV1::CommitRequest] commit_request_object
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
|
26
26
|
module SpeechV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200617'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
|
26
26
|
module SpeechV1p1beta1
|
|
27
27
|
VERSION = 'V1p1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200617'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/storage/docs/json_api/
|
|
26
26
|
module StorageV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200611'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1617,9 +1617,8 @@ module Google
|
|
|
1617
1617
|
# Makes the operation conditional on whether the object's current metageneration
|
|
1618
1618
|
# matches the given value.
|
|
1619
1619
|
# @param [String] kms_key_name
|
|
1620
|
-
#
|
|
1621
|
-
#
|
|
1622
|
-
# object. Overrides the object metadata's kms_key_name value, if any.
|
|
1620
|
+
# Not currently supported. Specifying the parameter causes the request to fail
|
|
1621
|
+
# with status code 400 - Bad Request.
|
|
1623
1622
|
# @param [String] provisional_user_project
|
|
1624
1623
|
# The project to be billed for this request if the target bucket is requester-
|
|
1625
1624
|
# pays bucket.
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/cloud-test-lab/
|
|
27
27
|
module TestingV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20200706'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1528,7 +1528,9 @@ module Google
|
|
|
1528
1528
|
include Google::Apis::Core::Hashable
|
|
1529
1529
|
|
|
1530
1530
|
# Required. Group of packages, classes, and/or test methods to be run for
|
|
1531
|
-
# each shard.
|
|
1531
|
+
# each shard. When any physical devices are selected, the number of
|
|
1532
|
+
# test_targets_for_shard must be >= 1 and <= 50. When no physical devices are
|
|
1533
|
+
# selected, the number must be >= 1 and <= 250.
|
|
1532
1534
|
# Corresponds to the JSON property `testTargetsForShard`
|
|
1533
1535
|
# @return [Array<Google::Apis::TestingV1::TestTargetsForShard>]
|
|
1534
1536
|
attr_accessor :test_targets_for_shard
|
|
@@ -1688,10 +1690,10 @@ module Google
|
|
|
1688
1690
|
attr_accessor :content
|
|
1689
1691
|
|
|
1690
1692
|
# Required. Where to put the content on the device. Must be an absolute,
|
|
1691
|
-
#
|
|
1693
|
+
# allowlisted path. If the file exists, it will be replaced.
|
|
1692
1694
|
# The following device-side directories and any of their subdirectories are
|
|
1693
|
-
#
|
|
1694
|
-
# <p>$`EXTERNAL_STORAGE`, or /
|
|
1695
|
+
# allowlisted:
|
|
1696
|
+
# <p>$`EXTERNAL_STORAGE`, /sdcard, or /storage</p>
|
|
1695
1697
|
# <p>$`ANDROID_DATA`/local/tmp, or /data/local/tmp</p>
|
|
1696
1698
|
# <p>Specifying a path outside of these directory trees is invalid.
|
|
1697
1699
|
# <p> The paths /sdcard and /data will be made available and treated as
|
|
@@ -2190,7 +2192,7 @@ module Google
|
|
|
2190
2192
|
attr_accessor :additional_apks
|
|
2191
2193
|
|
|
2192
2194
|
# List of directories on the device to upload to GCS at the end of the test;
|
|
2193
|
-
# they must be absolute paths under /sdcard or /data/local/tmp.
|
|
2195
|
+
# they must be absolute paths under /sdcard, /storage or /data/local/tmp.
|
|
2194
2196
|
# Path names are restricted to characters a-z A-Z 0-9 _ - . + and /
|
|
2195
2197
|
# Note: The paths /sdcard and /data will be made available and treated as
|
|
2196
2198
|
# implicit path substitutions. E.g. if /sdcard on a particular device does
|
|
@@ -2200,6 +2202,12 @@ module Google
|
|
|
2200
2202
|
# @return [Array<String>]
|
|
2201
2203
|
attr_accessor :directories_to_pull
|
|
2202
2204
|
|
|
2205
|
+
# Whether to prevent all runtime permissions to be granted at app install
|
|
2206
|
+
# Corresponds to the JSON property `dontAutograntPermissions`
|
|
2207
|
+
# @return [Boolean]
|
|
2208
|
+
attr_accessor :dont_autogrant_permissions
|
|
2209
|
+
alias_method :dont_autogrant_permissions?, :dont_autogrant_permissions
|
|
2210
|
+
|
|
2203
2211
|
# Environment variables to set for the test (only applicable for
|
|
2204
2212
|
# instrumentation tests).
|
|
2205
2213
|
# Corresponds to the JSON property `environmentVariables`
|
|
@@ -2236,6 +2244,7 @@ module Google
|
|
|
2236
2244
|
@account = args[:account] if args.key?(:account)
|
|
2237
2245
|
@additional_apks = args[:additional_apks] if args.key?(:additional_apks)
|
|
2238
2246
|
@directories_to_pull = args[:directories_to_pull] if args.key?(:directories_to_pull)
|
|
2247
|
+
@dont_autogrant_permissions = args[:dont_autogrant_permissions] if args.key?(:dont_autogrant_permissions)
|
|
2239
2248
|
@environment_variables = args[:environment_variables] if args.key?(:environment_variables)
|
|
2240
2249
|
@files_to_push = args[:files_to_push] if args.key?(:files_to_push)
|
|
2241
2250
|
@network_profile = args[:network_profile] if args.key?(:network_profile)
|
|
@@ -2504,7 +2513,9 @@ module Google
|
|
|
2504
2513
|
class UniformSharding
|
|
2505
2514
|
include Google::Apis::Core::Hashable
|
|
2506
2515
|
|
|
2507
|
-
# Required. Total number of shards.
|
|
2516
|
+
# Required. Total number of shards. When any physical devices are selected,
|
|
2517
|
+
# the number must be >= 1 and <= 50. When no physical devices are selected,
|
|
2518
|
+
# the number must be >= 1 and <= 250.
|
|
2508
2519
|
# Corresponds to the JSON property `numShards`
|
|
2509
2520
|
# @return [Fixnum]
|
|
2510
2521
|
attr_accessor :num_shards
|
|
@@ -1044,6 +1044,7 @@ module Google
|
|
|
1044
1044
|
collection :additional_apks, as: 'additionalApks', class: Google::Apis::TestingV1::Apk, decorator: Google::Apis::TestingV1::Apk::Representation
|
|
1045
1045
|
|
|
1046
1046
|
collection :directories_to_pull, as: 'directoriesToPull'
|
|
1047
|
+
property :dont_autogrant_permissions, as: 'dontAutograntPermissions'
|
|
1047
1048
|
collection :environment_variables, as: 'environmentVariables', class: Google::Apis::TestingV1::EnvironmentVariable, decorator: Google::Apis::TestingV1::EnvironmentVariable::Representation
|
|
1048
1049
|
|
|
1049
1050
|
collection :files_to_push, as: 'filesToPush', class: Google::Apis::TestingV1::DeviceFile, decorator: Google::Apis::TestingV1::DeviceFile::Representation
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/text-to-speech/
|
|
26
26
|
module TexttospeechV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200619'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/text-to-speech/
|
|
26
26
|
module TexttospeechV1beta1
|
|
27
27
|
VERSION = 'V1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200619'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
# See the License for the specific language governing permissions and
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
|
-
require 'google/apis/
|
|
16
|
-
require 'google/apis/
|
|
17
|
-
require 'google/apis/
|
|
15
|
+
require 'google/apis/vectortile_v1/service.rb'
|
|
16
|
+
require 'google/apis/vectortile_v1/classes.rb'
|
|
17
|
+
require 'google/apis/vectortile_v1/representations.rb'
|
|
18
18
|
|
|
19
19
|
module Google
|
|
20
20
|
module Apis
|
|
21
|
-
#
|
|
21
|
+
# Semantic Tile API
|
|
22
22
|
#
|
|
23
|
-
#
|
|
23
|
+
# Serves vector tiles containing geospatial data.
|
|
24
24
|
#
|
|
25
|
-
# @see https://developers.google.com/
|
|
26
|
-
module
|
|
25
|
+
# @see https://developers.google.com/maps/contact-sales/
|
|
26
|
+
module VectortileV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20200622'
|
|
29
29
|
end
|
|
30
30
|
end
|
|
31
31
|
end
|
|
@@ -0,0 +1,881 @@
|
|
|
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 VectortileV1
|
|
24
|
+
|
|
25
|
+
# Represents an area. Used to represent regions such as water, parks, etc.
|
|
26
|
+
class Area
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# True if the polygon is not entirely internal to the feature that it belongs
|
|
30
|
+
# to: that is, some of the edges are bordering another feature.
|
|
31
|
+
# Corresponds to the JSON property `hasExternalEdges`
|
|
32
|
+
# @return [Boolean]
|
|
33
|
+
attr_accessor :has_external_edges
|
|
34
|
+
alias_method :has_external_edges?, :has_external_edges
|
|
35
|
+
|
|
36
|
+
# When has_external_edges is true, the polygon has some edges that border
|
|
37
|
+
# another feature. This field indicates the internal edges that do not border
|
|
38
|
+
# another feature. Each value is an index into the vertices array, and
|
|
39
|
+
# denotes the start vertex of the internal edge (the next vertex in the
|
|
40
|
+
# boundary loop is the end of the edge). If the selected vertex is the last
|
|
41
|
+
# vertex in the boundary loop, then the edge between that vertex and the
|
|
42
|
+
# starting vertex of the loop is internal.
|
|
43
|
+
# This field may be used for styling. For example, building parapets could be
|
|
44
|
+
# placed only on the external edges of a building polygon, or water could be
|
|
45
|
+
# lighter colored near the external edges of a body of water.
|
|
46
|
+
# If has_external_edges is false, all edges are internal and this field will
|
|
47
|
+
# be empty.
|
|
48
|
+
# Corresponds to the JSON property `internalEdges`
|
|
49
|
+
# @return [Array<Fixnum>]
|
|
50
|
+
attr_accessor :internal_edges
|
|
51
|
+
|
|
52
|
+
# Identifies the boundary loops of the polygon. Only set for INDEXED_TRIANGLE
|
|
53
|
+
# polygons. Each value is an index into the vertices array indicating the
|
|
54
|
+
# beginning of a loop. For instance, values of [2, 5] would indicate
|
|
55
|
+
# loop_data contained 3 loops with indices 0-1, 2-4, and 5-end.
|
|
56
|
+
# This may be used in conjunction with the internal_edges field for styling
|
|
57
|
+
# polygon boundaries. Note that an edge may be on a polygon boundary but
|
|
58
|
+
# still internal to the feature. For example, a feature split across multiple
|
|
59
|
+
# tiles will have an internal polygon boundary edge along the edge of the
|
|
60
|
+
# tile.
|
|
61
|
+
# Corresponds to the JSON property `loopBreaks`
|
|
62
|
+
# @return [Array<Fixnum>]
|
|
63
|
+
attr_accessor :loop_breaks
|
|
64
|
+
|
|
65
|
+
# When the polygon encoding is of type INDEXED_TRIANGLES, this contains the
|
|
66
|
+
# indices of the triangle vertices in the vertex_offsets field. There are 3
|
|
67
|
+
# vertex indices per triangle.
|
|
68
|
+
# Corresponds to the JSON property `triangleIndices`
|
|
69
|
+
# @return [Array<Fixnum>]
|
|
70
|
+
attr_accessor :triangle_indices
|
|
71
|
+
|
|
72
|
+
# The polygon encoding type used for this area.
|
|
73
|
+
# Corresponds to the JSON property `type`
|
|
74
|
+
# @return [String]
|
|
75
|
+
attr_accessor :type
|
|
76
|
+
|
|
77
|
+
# 2D vertex list used for lines and areas. Each entry represents an offset from
|
|
78
|
+
# the previous one in local tile coordinates. The first entry is offset from
|
|
79
|
+
# (0, 0).
|
|
80
|
+
# For example, the list of vertices [(1,1), (2, 2), (1, 2)] would be encoded
|
|
81
|
+
# in vertex offsets as [(1, 1), (1, 1), (-1, 0)].
|
|
82
|
+
# Corresponds to the JSON property `vertexOffsets`
|
|
83
|
+
# @return [Google::Apis::VectortileV1::Vertex2DList]
|
|
84
|
+
attr_accessor :vertex_offsets
|
|
85
|
+
|
|
86
|
+
# The z-ordering of this area. Areas with a lower z-order should be rendered
|
|
87
|
+
# beneath areas with a higher z-order. This z-ordering does not imply
|
|
88
|
+
# anything about the altitude of the line relative to the ground, but it
|
|
89
|
+
# can be used to prevent z-fighting during rendering on the client. This
|
|
90
|
+
# z-ordering can only be used to compare areas, and cannot be compared with
|
|
91
|
+
# the z_order field in the Line message.
|
|
92
|
+
# The z-order may be negative or zero.
|
|
93
|
+
# Corresponds to the JSON property `zOrder`
|
|
94
|
+
# @return [Fixnum]
|
|
95
|
+
attr_accessor :z_order
|
|
96
|
+
|
|
97
|
+
def initialize(**args)
|
|
98
|
+
update!(**args)
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Update properties of this object
|
|
102
|
+
def update!(**args)
|
|
103
|
+
@has_external_edges = args[:has_external_edges] if args.key?(:has_external_edges)
|
|
104
|
+
@internal_edges = args[:internal_edges] if args.key?(:internal_edges)
|
|
105
|
+
@loop_breaks = args[:loop_breaks] if args.key?(:loop_breaks)
|
|
106
|
+
@triangle_indices = args[:triangle_indices] if args.key?(:triangle_indices)
|
|
107
|
+
@type = args[:type] if args.key?(:type)
|
|
108
|
+
@vertex_offsets = args[:vertex_offsets] if args.key?(:vertex_offsets)
|
|
109
|
+
@z_order = args[:z_order] if args.key?(:z_order)
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Represents a height-extruded area: a 3D prism with a constant X-Y plane cross
|
|
114
|
+
# section. Used to represent extruded buildings. A single building may consist
|
|
115
|
+
# of several extruded areas.
|
|
116
|
+
# The min_z and max_z fields are scaled to the size of the tile. An extruded
|
|
117
|
+
# area with a max_z value of 4096 has the same height as the width of the tile
|
|
118
|
+
# that it is on.
|
|
119
|
+
class ExtrudedArea
|
|
120
|
+
include Google::Apis::Core::Hashable
|
|
121
|
+
|
|
122
|
+
# Represents an area. Used to represent regions such as water, parks, etc.
|
|
123
|
+
# Corresponds to the JSON property `area`
|
|
124
|
+
# @return [Google::Apis::VectortileV1::Area]
|
|
125
|
+
attr_accessor :area
|
|
126
|
+
|
|
127
|
+
# The z-value in local tile coordinates where the extruded area ends.
|
|
128
|
+
# Corresponds to the JSON property `maxZ`
|
|
129
|
+
# @return [Fixnum]
|
|
130
|
+
attr_accessor :max_z
|
|
131
|
+
|
|
132
|
+
# The z-value in local tile coordinates where the extruded area begins. This
|
|
133
|
+
# is non-zero for extruded areas that begin off the ground. For example, a
|
|
134
|
+
# building with a skybridge may have an extruded area component with a
|
|
135
|
+
# non-zero min_z.
|
|
136
|
+
# Corresponds to the JSON property `minZ`
|
|
137
|
+
# @return [Fixnum]
|
|
138
|
+
attr_accessor :min_z
|
|
139
|
+
|
|
140
|
+
def initialize(**args)
|
|
141
|
+
update!(**args)
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
# Update properties of this object
|
|
145
|
+
def update!(**args)
|
|
146
|
+
@area = args[:area] if args.key?(:area)
|
|
147
|
+
@max_z = args[:max_z] if args.key?(:max_z)
|
|
148
|
+
@min_z = args[:min_z] if args.key?(:min_z)
|
|
149
|
+
end
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# A feature representing a single geographic entity.
|
|
153
|
+
class Feature
|
|
154
|
+
include Google::Apis::Core::Hashable
|
|
155
|
+
|
|
156
|
+
# The localized name of this feature. Currently only returned for roads.
|
|
157
|
+
# Corresponds to the JSON property `displayName`
|
|
158
|
+
# @return [String]
|
|
159
|
+
attr_accessor :display_name
|
|
160
|
+
|
|
161
|
+
# Represents the geometry of a feature, that is, the shape that it has on the
|
|
162
|
+
# map. The local tile coordinate system has the origin at the north-west
|
|
163
|
+
# (upper-left) corner of the tile, and is scaled to 4096 units across each
|
|
164
|
+
# edge. The height (Z) axis has the same scale factor: an extruded area with a
|
|
165
|
+
# max_z value of 4096 has the same height as the width of the tile that it is
|
|
166
|
+
# on.
|
|
167
|
+
# There is no clipping boundary, so it is possible that some coordinates will
|
|
168
|
+
# lie outside the tile boundaries.
|
|
169
|
+
# Corresponds to the JSON property `geometry`
|
|
170
|
+
# @return [Google::Apis::VectortileV1::Geometry]
|
|
171
|
+
attr_accessor :geometry
|
|
172
|
+
|
|
173
|
+
# Place ID of this feature, suitable for use in Places API details
|
|
174
|
+
# requests.
|
|
175
|
+
# Corresponds to the JSON property `placeId`
|
|
176
|
+
# @return [String]
|
|
177
|
+
attr_accessor :place_id
|
|
178
|
+
|
|
179
|
+
# Relations to other features.
|
|
180
|
+
# Corresponds to the JSON property `relations`
|
|
181
|
+
# @return [Array<Google::Apis::VectortileV1::Relation>]
|
|
182
|
+
attr_accessor :relations
|
|
183
|
+
|
|
184
|
+
# Extra metadata relating to segments.
|
|
185
|
+
# Corresponds to the JSON property `segmentInfo`
|
|
186
|
+
# @return [Google::Apis::VectortileV1::SegmentInfo]
|
|
187
|
+
attr_accessor :segment_info
|
|
188
|
+
|
|
189
|
+
# The type of this feature.
|
|
190
|
+
# Corresponds to the JSON property `type`
|
|
191
|
+
# @return [String]
|
|
192
|
+
attr_accessor :type
|
|
193
|
+
|
|
194
|
+
def initialize(**args)
|
|
195
|
+
update!(**args)
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
# Update properties of this object
|
|
199
|
+
def update!(**args)
|
|
200
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
201
|
+
@geometry = args[:geometry] if args.key?(:geometry)
|
|
202
|
+
@place_id = args[:place_id] if args.key?(:place_id)
|
|
203
|
+
@relations = args[:relations] if args.key?(:relations)
|
|
204
|
+
@segment_info = args[:segment_info] if args.key?(:segment_info)
|
|
205
|
+
@type = args[:type] if args.key?(:type)
|
|
206
|
+
end
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
# A tile containing information about the map features located in the region it
|
|
210
|
+
# covers.
|
|
211
|
+
class FeatureTile
|
|
212
|
+
include Google::Apis::Core::Hashable
|
|
213
|
+
|
|
214
|
+
# Global tile coordinates. Global tile coordinates reference a specific tile on
|
|
215
|
+
# the map at a specific zoom level.
|
|
216
|
+
# The origin of this coordinate system is always at the northwest corner of the
|
|
217
|
+
# map, with x values increasing from west to east and y values increasing from
|
|
218
|
+
# north to south. Tiles are indexed using x, y coordinates from that origin.
|
|
219
|
+
# The zoom level containing the entire world in a tile is 0, and it increases
|
|
220
|
+
# as you zoom in. Zoom level n + 1 will contain 4 times as many tiles as zoom
|
|
221
|
+
# level n.
|
|
222
|
+
# The zoom level controls the level of detail of the data that is returned. In
|
|
223
|
+
# particular, this affects the set of feature types returned, their density,
|
|
224
|
+
# and geometry simplification. The exact tile contents may change over time,
|
|
225
|
+
# but care will be taken to keep supporting the most important use cases. For
|
|
226
|
+
# example, zoom level 15 shows roads for orientation and planning in the local
|
|
227
|
+
# neighborhood and zoom level 17 shows buildings to give users on foot a sense
|
|
228
|
+
# of situational awareness.
|
|
229
|
+
# Corresponds to the JSON property `coordinates`
|
|
230
|
+
# @return [Google::Apis::VectortileV1::TileCoordinates]
|
|
231
|
+
attr_accessor :coordinates
|
|
232
|
+
|
|
233
|
+
# Features present on this map tile.
|
|
234
|
+
# Corresponds to the JSON property `features`
|
|
235
|
+
# @return [Array<Google::Apis::VectortileV1::Feature>]
|
|
236
|
+
attr_accessor :features
|
|
237
|
+
|
|
238
|
+
# Resource name of the tile. The tile resource name is prefixed by its
|
|
239
|
+
# collection ID `tiles/` followed by the resource ID, which encodes the
|
|
240
|
+
# tile's global x and y coordinates and zoom level as `@<x>,<y>,<zoom>z`. For
|
|
241
|
+
# example, `tiles/@1,2,3z`.
|
|
242
|
+
# Corresponds to the JSON property `name`
|
|
243
|
+
# @return [String]
|
|
244
|
+
attr_accessor :name
|
|
245
|
+
|
|
246
|
+
# Data providers for the data contained in this tile.
|
|
247
|
+
# Corresponds to the JSON property `providers`
|
|
248
|
+
# @return [Array<Google::Apis::VectortileV1::ProviderInfo>]
|
|
249
|
+
attr_accessor :providers
|
|
250
|
+
|
|
251
|
+
# Tile response status code to support tile caching.
|
|
252
|
+
# Corresponds to the JSON property `status`
|
|
253
|
+
# @return [String]
|
|
254
|
+
attr_accessor :status
|
|
255
|
+
|
|
256
|
+
# An opaque value, usually less than 30 characters, that contains version
|
|
257
|
+
# info about this tile and the data that was used to generate it.
|
|
258
|
+
# The client should store this value in its tile cache and pass it back to
|
|
259
|
+
# the API in the client_tile_version_id field of subsequent tile requests in
|
|
260
|
+
# order to enable the API to detect when the new tile would be the same as
|
|
261
|
+
# the one the client already has in its cache.
|
|
262
|
+
# Also see STATUS_OK_DATA_UNCHANGED.
|
|
263
|
+
# Corresponds to the JSON property `versionId`
|
|
264
|
+
# @return [String]
|
|
265
|
+
attr_accessor :version_id
|
|
266
|
+
|
|
267
|
+
def initialize(**args)
|
|
268
|
+
update!(**args)
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
# Update properties of this object
|
|
272
|
+
def update!(**args)
|
|
273
|
+
@coordinates = args[:coordinates] if args.key?(:coordinates)
|
|
274
|
+
@features = args[:features] if args.key?(:features)
|
|
275
|
+
@name = args[:name] if args.key?(:name)
|
|
276
|
+
@providers = args[:providers] if args.key?(:providers)
|
|
277
|
+
@status = args[:status] if args.key?(:status)
|
|
278
|
+
@version_id = args[:version_id] if args.key?(:version_id)
|
|
279
|
+
end
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
# A packed representation of a 2D grid of uniformly spaced points containing
|
|
283
|
+
# elevation data. Each point within the grid represents the altitude in
|
|
284
|
+
# meters above average sea level at that location within the tile.
|
|
285
|
+
# Elevations provided are (generally) relative to the EGM96 geoid, however
|
|
286
|
+
# some areas will be relative to NAVD88. EGM96 and NAVD88 are off by no more
|
|
287
|
+
# than 2 meters.
|
|
288
|
+
# The grid is oriented north-west to south-east, as illustrated:
|
|
289
|
+
# rows[0].a[0] rows[0].a[m]
|
|
290
|
+
# +-----------------+
|
|
291
|
+
# | |
|
|
292
|
+
# | N |
|
|
293
|
+
# | ^ |
|
|
294
|
+
# | | |
|
|
295
|
+
# | W <-----> E |
|
|
296
|
+
# | | |
|
|
297
|
+
# | v |
|
|
298
|
+
# | S |
|
|
299
|
+
# | |
|
|
300
|
+
# +-----------------+
|
|
301
|
+
# rows[n].a[0] rows[n].a[m]
|
|
302
|
+
# Rather than storing the altitudes directly, we store the diffs between them
|
|
303
|
+
# as integers at some requested level of precision to take advantage of
|
|
304
|
+
# integer packing. The actual altitude values a[] can be reconstructed using
|
|
305
|
+
# the scale and each row's first_altitude and altitude_diff fields.
|
|
306
|
+
class FirstDerivativeElevationGrid
|
|
307
|
+
include Google::Apis::Core::Hashable
|
|
308
|
+
|
|
309
|
+
# A multiplier applied to the altitude fields below to extract the actual
|
|
310
|
+
# altitudes in meters from the elevation grid.
|
|
311
|
+
# Corresponds to the JSON property `altitudeMultiplier`
|
|
312
|
+
# @return [Float]
|
|
313
|
+
attr_accessor :altitude_multiplier
|
|
314
|
+
|
|
315
|
+
# Rows of points containing altitude data making up the elevation grid.
|
|
316
|
+
# Each row is the same length. Rows are ordered from north to south. E.g:
|
|
317
|
+
# rows[0] is the north-most row, and rows[n] is the south-most row.
|
|
318
|
+
# Corresponds to the JSON property `rows`
|
|
319
|
+
# @return [Array<Google::Apis::VectortileV1::Row>]
|
|
320
|
+
attr_accessor :rows
|
|
321
|
+
|
|
322
|
+
def initialize(**args)
|
|
323
|
+
update!(**args)
|
|
324
|
+
end
|
|
325
|
+
|
|
326
|
+
# Update properties of this object
|
|
327
|
+
def update!(**args)
|
|
328
|
+
@altitude_multiplier = args[:altitude_multiplier] if args.key?(:altitude_multiplier)
|
|
329
|
+
@rows = args[:rows] if args.key?(:rows)
|
|
330
|
+
end
|
|
331
|
+
end
|
|
332
|
+
|
|
333
|
+
# Represents the geometry of a feature, that is, the shape that it has on the
|
|
334
|
+
# map. The local tile coordinate system has the origin at the north-west
|
|
335
|
+
# (upper-left) corner of the tile, and is scaled to 4096 units across each
|
|
336
|
+
# edge. The height (Z) axis has the same scale factor: an extruded area with a
|
|
337
|
+
# max_z value of 4096 has the same height as the width of the tile that it is
|
|
338
|
+
# on.
|
|
339
|
+
# There is no clipping boundary, so it is possible that some coordinates will
|
|
340
|
+
# lie outside the tile boundaries.
|
|
341
|
+
class Geometry
|
|
342
|
+
include Google::Apis::Core::Hashable
|
|
343
|
+
|
|
344
|
+
# The areas present in this geometry.
|
|
345
|
+
# Corresponds to the JSON property `areas`
|
|
346
|
+
# @return [Array<Google::Apis::VectortileV1::Area>]
|
|
347
|
+
attr_accessor :areas
|
|
348
|
+
|
|
349
|
+
# The extruded areas present in this geometry.
|
|
350
|
+
# Corresponds to the JSON property `extrudedAreas`
|
|
351
|
+
# @return [Array<Google::Apis::VectortileV1::ExtrudedArea>]
|
|
352
|
+
attr_accessor :extruded_areas
|
|
353
|
+
|
|
354
|
+
# The lines present in this geometry.
|
|
355
|
+
# Corresponds to the JSON property `lines`
|
|
356
|
+
# @return [Array<Google::Apis::VectortileV1::Line>]
|
|
357
|
+
attr_accessor :lines
|
|
358
|
+
|
|
359
|
+
# The modeled volumes present in this geometry.
|
|
360
|
+
# Corresponds to the JSON property `modeledVolumes`
|
|
361
|
+
# @return [Array<Google::Apis::VectortileV1::ModeledVolume>]
|
|
362
|
+
attr_accessor :modeled_volumes
|
|
363
|
+
|
|
364
|
+
def initialize(**args)
|
|
365
|
+
update!(**args)
|
|
366
|
+
end
|
|
367
|
+
|
|
368
|
+
# Update properties of this object
|
|
369
|
+
def update!(**args)
|
|
370
|
+
@areas = args[:areas] if args.key?(:areas)
|
|
371
|
+
@extruded_areas = args[:extruded_areas] if args.key?(:extruded_areas)
|
|
372
|
+
@lines = args[:lines] if args.key?(:lines)
|
|
373
|
+
@modeled_volumes = args[:modeled_volumes] if args.key?(:modeled_volumes)
|
|
374
|
+
end
|
|
375
|
+
end
|
|
376
|
+
|
|
377
|
+
# Represents a 2D polyline. Used to represent segments such as roads, train
|
|
378
|
+
# tracks, etc.
|
|
379
|
+
class Line
|
|
380
|
+
include Google::Apis::Core::Hashable
|
|
381
|
+
|
|
382
|
+
# 2D vertex list used for lines and areas. Each entry represents an offset from
|
|
383
|
+
# the previous one in local tile coordinates. The first entry is offset from
|
|
384
|
+
# (0, 0).
|
|
385
|
+
# For example, the list of vertices [(1,1), (2, 2), (1, 2)] would be encoded
|
|
386
|
+
# in vertex offsets as [(1, 1), (1, 1), (-1, 0)].
|
|
387
|
+
# Corresponds to the JSON property `vertexOffsets`
|
|
388
|
+
# @return [Google::Apis::VectortileV1::Vertex2DList]
|
|
389
|
+
attr_accessor :vertex_offsets
|
|
390
|
+
|
|
391
|
+
# The z-order of the line. Lines with a lower z-order should be rendered
|
|
392
|
+
# beneath lines with a higher z-order. This z-ordering does not imply
|
|
393
|
+
# anything about the altitude of the area relative to the ground, but it
|
|
394
|
+
# can be used to prevent z-fighting during rendering on the client. In
|
|
395
|
+
# general, larger and more important road features will have a higher z-order
|
|
396
|
+
# line associated with them. This z-ordering can only be used to compare
|
|
397
|
+
# lines, and cannot be compared with the z_order field in the Area message.
|
|
398
|
+
# The z-order may be negative or zero.
|
|
399
|
+
# Corresponds to the JSON property `zOrder`
|
|
400
|
+
# @return [Fixnum]
|
|
401
|
+
attr_accessor :z_order
|
|
402
|
+
|
|
403
|
+
def initialize(**args)
|
|
404
|
+
update!(**args)
|
|
405
|
+
end
|
|
406
|
+
|
|
407
|
+
# Update properties of this object
|
|
408
|
+
def update!(**args)
|
|
409
|
+
@vertex_offsets = args[:vertex_offsets] if args.key?(:vertex_offsets)
|
|
410
|
+
@z_order = args[:z_order] if args.key?(:z_order)
|
|
411
|
+
end
|
|
412
|
+
end
|
|
413
|
+
|
|
414
|
+
# Represents a modeled volume in 3D space. Used to represent 3D buildings.
|
|
415
|
+
class ModeledVolume
|
|
416
|
+
include Google::Apis::Core::Hashable
|
|
417
|
+
|
|
418
|
+
# The triangle strips present in this mesh.
|
|
419
|
+
# Corresponds to the JSON property `strips`
|
|
420
|
+
# @return [Array<Google::Apis::VectortileV1::TriangleStrip>]
|
|
421
|
+
attr_accessor :strips
|
|
422
|
+
|
|
423
|
+
# 3D vertex list used for modeled volumes. Each entry represents an offset from
|
|
424
|
+
# the previous one in local tile coordinates. The first coordinate is offset
|
|
425
|
+
# from (0, 0, 0).
|
|
426
|
+
# Corresponds to the JSON property `vertexOffsets`
|
|
427
|
+
# @return [Google::Apis::VectortileV1::Vertex3DList]
|
|
428
|
+
attr_accessor :vertex_offsets
|
|
429
|
+
|
|
430
|
+
def initialize(**args)
|
|
431
|
+
update!(**args)
|
|
432
|
+
end
|
|
433
|
+
|
|
434
|
+
# Update properties of this object
|
|
435
|
+
def update!(**args)
|
|
436
|
+
@strips = args[:strips] if args.key?(:strips)
|
|
437
|
+
@vertex_offsets = args[:vertex_offsets] if args.key?(:vertex_offsets)
|
|
438
|
+
end
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
# Information about the data providers that should be included in the
|
|
442
|
+
# attribution string shown by the client.
|
|
443
|
+
class ProviderInfo
|
|
444
|
+
include Google::Apis::Core::Hashable
|
|
445
|
+
|
|
446
|
+
# Attribution string for this provider. This string is not localized.
|
|
447
|
+
# Corresponds to the JSON property `description`
|
|
448
|
+
# @return [String]
|
|
449
|
+
attr_accessor :description
|
|
450
|
+
|
|
451
|
+
def initialize(**args)
|
|
452
|
+
update!(**args)
|
|
453
|
+
end
|
|
454
|
+
|
|
455
|
+
# Update properties of this object
|
|
456
|
+
def update!(**args)
|
|
457
|
+
@description = args[:description] if args.key?(:description)
|
|
458
|
+
end
|
|
459
|
+
end
|
|
460
|
+
|
|
461
|
+
# Represents a relation to another feature in the tile. For example, a building
|
|
462
|
+
# might be occupied by a given POI. The related feature can be retrieved using
|
|
463
|
+
# the related feature index.
|
|
464
|
+
class Relation
|
|
465
|
+
include Google::Apis::Core::Hashable
|
|
466
|
+
|
|
467
|
+
# Zero-based index to look up the related feature from the list of features
|
|
468
|
+
# in the tile.
|
|
469
|
+
# Corresponds to the JSON property `relatedFeatureIndex`
|
|
470
|
+
# @return [Fixnum]
|
|
471
|
+
attr_accessor :related_feature_index
|
|
472
|
+
|
|
473
|
+
# Relation type between the origin feature to the related feature.
|
|
474
|
+
# Corresponds to the JSON property `relationType`
|
|
475
|
+
# @return [String]
|
|
476
|
+
attr_accessor :relation_type
|
|
477
|
+
|
|
478
|
+
def initialize(**args)
|
|
479
|
+
update!(**args)
|
|
480
|
+
end
|
|
481
|
+
|
|
482
|
+
# Update properties of this object
|
|
483
|
+
def update!(**args)
|
|
484
|
+
@related_feature_index = args[:related_feature_index] if args.key?(:related_feature_index)
|
|
485
|
+
@relation_type = args[:relation_type] if args.key?(:relation_type)
|
|
486
|
+
end
|
|
487
|
+
end
|
|
488
|
+
|
|
489
|
+
# Extra metadata relating to roads.
|
|
490
|
+
class RoadInfo
|
|
491
|
+
include Google::Apis::Core::Hashable
|
|
492
|
+
|
|
493
|
+
# Road has signage discouraging or prohibiting use by the general public.
|
|
494
|
+
# E.g., roads with signs that say "Private", or "No trespassing."
|
|
495
|
+
# Corresponds to the JSON property `isPrivate`
|
|
496
|
+
# @return [Boolean]
|
|
497
|
+
attr_accessor :is_private
|
|
498
|
+
alias_method :is_private?, :is_private
|
|
499
|
+
|
|
500
|
+
def initialize(**args)
|
|
501
|
+
update!(**args)
|
|
502
|
+
end
|
|
503
|
+
|
|
504
|
+
# Update properties of this object
|
|
505
|
+
def update!(**args)
|
|
506
|
+
@is_private = args[:is_private] if args.key?(:is_private)
|
|
507
|
+
end
|
|
508
|
+
end
|
|
509
|
+
|
|
510
|
+
# A row of altitude points in the elevation grid, ordered from west to
|
|
511
|
+
# east.
|
|
512
|
+
class Row
|
|
513
|
+
include Google::Apis::Core::Hashable
|
|
514
|
+
|
|
515
|
+
# The difference between each successive pair of altitudes, from west to
|
|
516
|
+
# east. The first, westmost point, is just the altitude rather than a
|
|
517
|
+
# diff. The units are specified by the altitude_multiplier parameter
|
|
518
|
+
# above; the value in meters is given by altitude_multiplier *
|
|
519
|
+
# altitude_diffs[n]. The altitude row (in metres above sea level) can be
|
|
520
|
+
# reconstructed with: a[0] = altitude_diffs[0] * altitude_multiplier when
|
|
521
|
+
# n > 0, a[n] = a[n-1] + altitude_diffs[n-1] * altitude_multiplier.
|
|
522
|
+
# Corresponds to the JSON property `altitudeDiffs`
|
|
523
|
+
# @return [Array<Fixnum>]
|
|
524
|
+
attr_accessor :altitude_diffs
|
|
525
|
+
|
|
526
|
+
def initialize(**args)
|
|
527
|
+
update!(**args)
|
|
528
|
+
end
|
|
529
|
+
|
|
530
|
+
# Update properties of this object
|
|
531
|
+
def update!(**args)
|
|
532
|
+
@altitude_diffs = args[:altitude_diffs] if args.key?(:altitude_diffs)
|
|
533
|
+
end
|
|
534
|
+
end
|
|
535
|
+
|
|
536
|
+
# A packed representation of a 2D grid of uniformly spaced points containing
|
|
537
|
+
# elevation data. Each point within the grid represents the altitude in
|
|
538
|
+
# meters above average sea level at that location within the tile.
|
|
539
|
+
# Elevations provided are (generally) relative to the EGM96 geoid, however
|
|
540
|
+
# some areas will be relative to NAVD88. EGM96 and NAVD88 are off by no more
|
|
541
|
+
# than 2 meters.
|
|
542
|
+
# The grid is oriented north-west to south-east, as illustrated:
|
|
543
|
+
# rows[0].a[0] rows[0].a[m]
|
|
544
|
+
# +-----------------+
|
|
545
|
+
# | |
|
|
546
|
+
# | N |
|
|
547
|
+
# | ^ |
|
|
548
|
+
# | | |
|
|
549
|
+
# | W <-----> E |
|
|
550
|
+
# | | |
|
|
551
|
+
# | v |
|
|
552
|
+
# | S |
|
|
553
|
+
# | |
|
|
554
|
+
# +-----------------+
|
|
555
|
+
# rows[n].a[0] rows[n].a[m]
|
|
556
|
+
# Rather than storing the altitudes directly, we store the diffs of the diffs
|
|
557
|
+
# between them as integers at some requested level of precision to take
|
|
558
|
+
# advantage of integer packing.
|
|
559
|
+
# Note that the data is packed in such a way that is fast to decode in
|
|
560
|
+
# Unity and that further optimizes wire size.
|
|
561
|
+
class SecondDerivativeElevationGrid
|
|
562
|
+
include Google::Apis::Core::Hashable
|
|
563
|
+
|
|
564
|
+
# A multiplier applied to the elements in the encoded data to extract the
|
|
565
|
+
# actual altitudes in meters.
|
|
566
|
+
# Corresponds to the JSON property `altitudeMultiplier`
|
|
567
|
+
# @return [Float]
|
|
568
|
+
attr_accessor :altitude_multiplier
|
|
569
|
+
|
|
570
|
+
# The number of columns included in the encoded elevation data (i.e. the
|
|
571
|
+
# horizontal resolution of the grid).
|
|
572
|
+
# Corresponds to the JSON property `columnCount`
|
|
573
|
+
# @return [Fixnum]
|
|
574
|
+
attr_accessor :column_count
|
|
575
|
+
|
|
576
|
+
# A stream of elements each representing a point on the tile running across
|
|
577
|
+
# each row from left to right, top to bottom.
|
|
578
|
+
# There will be precisely horizontal_resolution * vertical_resolution
|
|
579
|
+
# elements in the stream.
|
|
580
|
+
# The elements are not the heights, rather the second order derivative of
|
|
581
|
+
# the values one would expect in a stream of height data.
|
|
582
|
+
# Each element is a varint with the following encoding:
|
|
583
|
+
# ------------------------------------------------------------------------|
|
|
584
|
+
# | Head Nibble |
|
|
585
|
+
# ------------------------------------------------------------------------|
|
|
586
|
+
# | Bit 0 | Bit 1 | Bits 2-3 |
|
|
587
|
+
# | Terminator| Sign (1=neg) | Least significant 2 bits of absolute error |
|
|
588
|
+
# ------------------------------------------------------------------------|
|
|
589
|
+
# | Tail Nibble #1 |
|
|
590
|
+
# ------------------------------------------------------------------------|
|
|
591
|
+
# | Bit 0 | Bit 1-3 |
|
|
592
|
+
# | Terminator| Least significant 3 bits of absolute error |
|
|
593
|
+
# ------------------------------------------------------------------------|
|
|
594
|
+
# | ...
|
|
595
|
+
# | Tail Nibble #n |
|
|
596
|
+
# ------------------------------------------------------------------------|
|
|
597
|
+
# | Bit 0 | Bit 1-3 |
|
|
598
|
+
# | Terminator| Least significant 3 bits of absolute error |
|
|
599
|
+
# ------------------------------------------------------------------------|
|
|
600
|
+
# Corresponds to the JSON property `encodedData`
|
|
601
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
602
|
+
# @return [String]
|
|
603
|
+
attr_accessor :encoded_data
|
|
604
|
+
|
|
605
|
+
# The number of rows included in the encoded elevation data (i.e. the
|
|
606
|
+
# vertical resolution of the grid).
|
|
607
|
+
# Corresponds to the JSON property `rowCount`
|
|
608
|
+
# @return [Fixnum]
|
|
609
|
+
attr_accessor :row_count
|
|
610
|
+
|
|
611
|
+
def initialize(**args)
|
|
612
|
+
update!(**args)
|
|
613
|
+
end
|
|
614
|
+
|
|
615
|
+
# Update properties of this object
|
|
616
|
+
def update!(**args)
|
|
617
|
+
@altitude_multiplier = args[:altitude_multiplier] if args.key?(:altitude_multiplier)
|
|
618
|
+
@column_count = args[:column_count] if args.key?(:column_count)
|
|
619
|
+
@encoded_data = args[:encoded_data] if args.key?(:encoded_data)
|
|
620
|
+
@row_count = args[:row_count] if args.key?(:row_count)
|
|
621
|
+
end
|
|
622
|
+
end
|
|
623
|
+
|
|
624
|
+
# Extra metadata relating to segments.
|
|
625
|
+
class SegmentInfo
|
|
626
|
+
include Google::Apis::Core::Hashable
|
|
627
|
+
|
|
628
|
+
# Extra metadata relating to roads.
|
|
629
|
+
# Corresponds to the JSON property `roadInfo`
|
|
630
|
+
# @return [Google::Apis::VectortileV1::RoadInfo]
|
|
631
|
+
attr_accessor :road_info
|
|
632
|
+
|
|
633
|
+
def initialize(**args)
|
|
634
|
+
update!(**args)
|
|
635
|
+
end
|
|
636
|
+
|
|
637
|
+
# Update properties of this object
|
|
638
|
+
def update!(**args)
|
|
639
|
+
@road_info = args[:road_info] if args.key?(:road_info)
|
|
640
|
+
end
|
|
641
|
+
end
|
|
642
|
+
|
|
643
|
+
# A tile containing information about the terrain located in the region it
|
|
644
|
+
# covers.
|
|
645
|
+
class TerrainTile
|
|
646
|
+
include Google::Apis::Core::Hashable
|
|
647
|
+
|
|
648
|
+
# Global tile coordinates. Global tile coordinates reference a specific tile on
|
|
649
|
+
# the map at a specific zoom level.
|
|
650
|
+
# The origin of this coordinate system is always at the northwest corner of the
|
|
651
|
+
# map, with x values increasing from west to east and y values increasing from
|
|
652
|
+
# north to south. Tiles are indexed using x, y coordinates from that origin.
|
|
653
|
+
# The zoom level containing the entire world in a tile is 0, and it increases
|
|
654
|
+
# as you zoom in. Zoom level n + 1 will contain 4 times as many tiles as zoom
|
|
655
|
+
# level n.
|
|
656
|
+
# The zoom level controls the level of detail of the data that is returned. In
|
|
657
|
+
# particular, this affects the set of feature types returned, their density,
|
|
658
|
+
# and geometry simplification. The exact tile contents may change over time,
|
|
659
|
+
# but care will be taken to keep supporting the most important use cases. For
|
|
660
|
+
# example, zoom level 15 shows roads for orientation and planning in the local
|
|
661
|
+
# neighborhood and zoom level 17 shows buildings to give users on foot a sense
|
|
662
|
+
# of situational awareness.
|
|
663
|
+
# Corresponds to the JSON property `coordinates`
|
|
664
|
+
# @return [Google::Apis::VectortileV1::TileCoordinates]
|
|
665
|
+
attr_accessor :coordinates
|
|
666
|
+
|
|
667
|
+
# A packed representation of a 2D grid of uniformly spaced points containing
|
|
668
|
+
# elevation data. Each point within the grid represents the altitude in
|
|
669
|
+
# meters above average sea level at that location within the tile.
|
|
670
|
+
# Elevations provided are (generally) relative to the EGM96 geoid, however
|
|
671
|
+
# some areas will be relative to NAVD88. EGM96 and NAVD88 are off by no more
|
|
672
|
+
# than 2 meters.
|
|
673
|
+
# The grid is oriented north-west to south-east, as illustrated:
|
|
674
|
+
# rows[0].a[0] rows[0].a[m]
|
|
675
|
+
# +-----------------+
|
|
676
|
+
# | |
|
|
677
|
+
# | N |
|
|
678
|
+
# | ^ |
|
|
679
|
+
# | | |
|
|
680
|
+
# | W <-----> E |
|
|
681
|
+
# | | |
|
|
682
|
+
# | v |
|
|
683
|
+
# | S |
|
|
684
|
+
# | |
|
|
685
|
+
# +-----------------+
|
|
686
|
+
# rows[n].a[0] rows[n].a[m]
|
|
687
|
+
# Rather than storing the altitudes directly, we store the diffs between them
|
|
688
|
+
# as integers at some requested level of precision to take advantage of
|
|
689
|
+
# integer packing. The actual altitude values a[] can be reconstructed using
|
|
690
|
+
# the scale and each row's first_altitude and altitude_diff fields.
|
|
691
|
+
# Corresponds to the JSON property `firstDerivative`
|
|
692
|
+
# @return [Google::Apis::VectortileV1::FirstDerivativeElevationGrid]
|
|
693
|
+
attr_accessor :first_derivative
|
|
694
|
+
|
|
695
|
+
# Resource name of the tile. The tile resource name is prefixed by its
|
|
696
|
+
# collection ID `terrain/` followed by the resource ID, which encodes the
|
|
697
|
+
# tile's global x and y coordinates and zoom level as `@<x>,<y>,<zoom>z`.
|
|
698
|
+
# For example, `terrain/@1,2,3z`.
|
|
699
|
+
# Corresponds to the JSON property `name`
|
|
700
|
+
# @return [String]
|
|
701
|
+
attr_accessor :name
|
|
702
|
+
|
|
703
|
+
# A packed representation of a 2D grid of uniformly spaced points containing
|
|
704
|
+
# elevation data. Each point within the grid represents the altitude in
|
|
705
|
+
# meters above average sea level at that location within the tile.
|
|
706
|
+
# Elevations provided are (generally) relative to the EGM96 geoid, however
|
|
707
|
+
# some areas will be relative to NAVD88. EGM96 and NAVD88 are off by no more
|
|
708
|
+
# than 2 meters.
|
|
709
|
+
# The grid is oriented north-west to south-east, as illustrated:
|
|
710
|
+
# rows[0].a[0] rows[0].a[m]
|
|
711
|
+
# +-----------------+
|
|
712
|
+
# | |
|
|
713
|
+
# | N |
|
|
714
|
+
# | ^ |
|
|
715
|
+
# | | |
|
|
716
|
+
# | W <-----> E |
|
|
717
|
+
# | | |
|
|
718
|
+
# | v |
|
|
719
|
+
# | S |
|
|
720
|
+
# | |
|
|
721
|
+
# +-----------------+
|
|
722
|
+
# rows[n].a[0] rows[n].a[m]
|
|
723
|
+
# Rather than storing the altitudes directly, we store the diffs of the diffs
|
|
724
|
+
# between them as integers at some requested level of precision to take
|
|
725
|
+
# advantage of integer packing.
|
|
726
|
+
# Note that the data is packed in such a way that is fast to decode in
|
|
727
|
+
# Unity and that further optimizes wire size.
|
|
728
|
+
# Corresponds to the JSON property `secondDerivative`
|
|
729
|
+
# @return [Google::Apis::VectortileV1::SecondDerivativeElevationGrid]
|
|
730
|
+
attr_accessor :second_derivative
|
|
731
|
+
|
|
732
|
+
def initialize(**args)
|
|
733
|
+
update!(**args)
|
|
734
|
+
end
|
|
735
|
+
|
|
736
|
+
# Update properties of this object
|
|
737
|
+
def update!(**args)
|
|
738
|
+
@coordinates = args[:coordinates] if args.key?(:coordinates)
|
|
739
|
+
@first_derivative = args[:first_derivative] if args.key?(:first_derivative)
|
|
740
|
+
@name = args[:name] if args.key?(:name)
|
|
741
|
+
@second_derivative = args[:second_derivative] if args.key?(:second_derivative)
|
|
742
|
+
end
|
|
743
|
+
end
|
|
744
|
+
|
|
745
|
+
# Global tile coordinates. Global tile coordinates reference a specific tile on
|
|
746
|
+
# the map at a specific zoom level.
|
|
747
|
+
# The origin of this coordinate system is always at the northwest corner of the
|
|
748
|
+
# map, with x values increasing from west to east and y values increasing from
|
|
749
|
+
# north to south. Tiles are indexed using x, y coordinates from that origin.
|
|
750
|
+
# The zoom level containing the entire world in a tile is 0, and it increases
|
|
751
|
+
# as you zoom in. Zoom level n + 1 will contain 4 times as many tiles as zoom
|
|
752
|
+
# level n.
|
|
753
|
+
# The zoom level controls the level of detail of the data that is returned. In
|
|
754
|
+
# particular, this affects the set of feature types returned, their density,
|
|
755
|
+
# and geometry simplification. The exact tile contents may change over time,
|
|
756
|
+
# but care will be taken to keep supporting the most important use cases. For
|
|
757
|
+
# example, zoom level 15 shows roads for orientation and planning in the local
|
|
758
|
+
# neighborhood and zoom level 17 shows buildings to give users on foot a sense
|
|
759
|
+
# of situational awareness.
|
|
760
|
+
class TileCoordinates
|
|
761
|
+
include Google::Apis::Core::Hashable
|
|
762
|
+
|
|
763
|
+
# Required. The x coordinate.
|
|
764
|
+
# Corresponds to the JSON property `x`
|
|
765
|
+
# @return [Fixnum]
|
|
766
|
+
attr_accessor :x
|
|
767
|
+
|
|
768
|
+
# Required. The y coordinate.
|
|
769
|
+
# Corresponds to the JSON property `y`
|
|
770
|
+
# @return [Fixnum]
|
|
771
|
+
attr_accessor :y
|
|
772
|
+
|
|
773
|
+
# Required. The Google Maps API zoom level.
|
|
774
|
+
# Corresponds to the JSON property `zoom`
|
|
775
|
+
# @return [Fixnum]
|
|
776
|
+
attr_accessor :zoom
|
|
777
|
+
|
|
778
|
+
def initialize(**args)
|
|
779
|
+
update!(**args)
|
|
780
|
+
end
|
|
781
|
+
|
|
782
|
+
# Update properties of this object
|
|
783
|
+
def update!(**args)
|
|
784
|
+
@x = args[:x] if args.key?(:x)
|
|
785
|
+
@y = args[:y] if args.key?(:y)
|
|
786
|
+
@zoom = args[:zoom] if args.key?(:zoom)
|
|
787
|
+
end
|
|
788
|
+
end
|
|
789
|
+
|
|
790
|
+
# Represents a strip of triangles. Each triangle uses the last edge of the
|
|
791
|
+
# previous one. The following diagram shows an example of a triangle strip,
|
|
792
|
+
# with each vertex labeled with its index in the vertex_index array.
|
|
793
|
+
# (1)-----(3)
|
|
794
|
+
# / \ / \
|
|
795
|
+
# / \ / \
|
|
796
|
+
# / \ / \
|
|
797
|
+
# (0)-----(2)-----(4)
|
|
798
|
+
# Vertices may be in either clockwise or counter-clockwise order.
|
|
799
|
+
class TriangleStrip
|
|
800
|
+
include Google::Apis::Core::Hashable
|
|
801
|
+
|
|
802
|
+
# Index into the vertex_offset array representing the next vertex in the
|
|
803
|
+
# triangle strip.
|
|
804
|
+
# Corresponds to the JSON property `vertexIndices`
|
|
805
|
+
# @return [Array<Fixnum>]
|
|
806
|
+
attr_accessor :vertex_indices
|
|
807
|
+
|
|
808
|
+
def initialize(**args)
|
|
809
|
+
update!(**args)
|
|
810
|
+
end
|
|
811
|
+
|
|
812
|
+
# Update properties of this object
|
|
813
|
+
def update!(**args)
|
|
814
|
+
@vertex_indices = args[:vertex_indices] if args.key?(:vertex_indices)
|
|
815
|
+
end
|
|
816
|
+
end
|
|
817
|
+
|
|
818
|
+
# 2D vertex list used for lines and areas. Each entry represents an offset from
|
|
819
|
+
# the previous one in local tile coordinates. The first entry is offset from
|
|
820
|
+
# (0, 0).
|
|
821
|
+
# For example, the list of vertices [(1,1), (2, 2), (1, 2)] would be encoded
|
|
822
|
+
# in vertex offsets as [(1, 1), (1, 1), (-1, 0)].
|
|
823
|
+
class Vertex2DList
|
|
824
|
+
include Google::Apis::Core::Hashable
|
|
825
|
+
|
|
826
|
+
# List of x-offsets in local tile coordinates.
|
|
827
|
+
# Corresponds to the JSON property `xOffsets`
|
|
828
|
+
# @return [Array<Fixnum>]
|
|
829
|
+
attr_accessor :x_offsets
|
|
830
|
+
|
|
831
|
+
# List of y-offsets in local tile coordinates.
|
|
832
|
+
# Corresponds to the JSON property `yOffsets`
|
|
833
|
+
# @return [Array<Fixnum>]
|
|
834
|
+
attr_accessor :y_offsets
|
|
835
|
+
|
|
836
|
+
def initialize(**args)
|
|
837
|
+
update!(**args)
|
|
838
|
+
end
|
|
839
|
+
|
|
840
|
+
# Update properties of this object
|
|
841
|
+
def update!(**args)
|
|
842
|
+
@x_offsets = args[:x_offsets] if args.key?(:x_offsets)
|
|
843
|
+
@y_offsets = args[:y_offsets] if args.key?(:y_offsets)
|
|
844
|
+
end
|
|
845
|
+
end
|
|
846
|
+
|
|
847
|
+
# 3D vertex list used for modeled volumes. Each entry represents an offset from
|
|
848
|
+
# the previous one in local tile coordinates. The first coordinate is offset
|
|
849
|
+
# from (0, 0, 0).
|
|
850
|
+
class Vertex3DList
|
|
851
|
+
include Google::Apis::Core::Hashable
|
|
852
|
+
|
|
853
|
+
# List of x-offsets in local tile coordinates.
|
|
854
|
+
# Corresponds to the JSON property `xOffsets`
|
|
855
|
+
# @return [Array<Fixnum>]
|
|
856
|
+
attr_accessor :x_offsets
|
|
857
|
+
|
|
858
|
+
# List of y-offsets in local tile coordinates.
|
|
859
|
+
# Corresponds to the JSON property `yOffsets`
|
|
860
|
+
# @return [Array<Fixnum>]
|
|
861
|
+
attr_accessor :y_offsets
|
|
862
|
+
|
|
863
|
+
# List of z-offsets in local tile coordinates.
|
|
864
|
+
# Corresponds to the JSON property `zOffsets`
|
|
865
|
+
# @return [Array<Fixnum>]
|
|
866
|
+
attr_accessor :z_offsets
|
|
867
|
+
|
|
868
|
+
def initialize(**args)
|
|
869
|
+
update!(**args)
|
|
870
|
+
end
|
|
871
|
+
|
|
872
|
+
# Update properties of this object
|
|
873
|
+
def update!(**args)
|
|
874
|
+
@x_offsets = args[:x_offsets] if args.key?(:x_offsets)
|
|
875
|
+
@y_offsets = args[:y_offsets] if args.key?(:y_offsets)
|
|
876
|
+
@z_offsets = args[:z_offsets] if args.key?(:z_offsets)
|
|
877
|
+
end
|
|
878
|
+
end
|
|
879
|
+
end
|
|
880
|
+
end
|
|
881
|
+
end
|