google-api-client 0.41.0 → 0.42.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +295 -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/admob_v1/classes.rb +3 -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/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 +1475 -107
- data/generated/google/apis/apigee_v1/representations.rb +558 -0
- data/generated/google/apis/apigee_v1/service.rb +1175 -117
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +6 -3
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +6 -2
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +234 -9
- data/generated/google/apis/bigquery_v2/representations.rb +74 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +267 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +100 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +361 -6
- data/generated/google/apis/bigtableadmin_v2/representations.rb +146 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +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/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +130 -0
- data/generated/google/apis/chat_v1/representations.rb +63 -0
- data/generated/google/apis/chat_v1/service.rb +71 -0
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +22 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -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 +391 -3
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +178 -0
- data/generated/google/apis/{androidpublisher_v2.rb → cloudasset_v1p5beta1.rb} +11 -11
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1537 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +129 -0
- data/generated/google/apis/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/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -49
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
- 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 +503 -755
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -430
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +18 -6
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +18 -6
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +2 -2
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -5
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- data/generated/google/apis/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 +99 -61
- data/generated/google/apis/compute_alpha/representations.rb +3 -0
- data/generated/google/apis/compute_alpha/service.rb +32 -33
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +596 -60
- data/generated/google/apis/compute_beta/representations.rb +162 -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 +967 -70
- data/generated/google/apis/compute_v1/representations.rb +289 -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 +136 -17
- 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_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +182 -4
- data/generated/google/apis/content_v2_1/representations.rb +72 -0
- data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
- data/generated/google/apis/customsearch_v1/classes.rb +1610 -0
- data/generated/google/apis/customsearch_v1/representations.rb +372 -0
- data/generated/google/apis/customsearch_v1/service.rb +618 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +400 -565
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +351 -435
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +21 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -14
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -14
- data/generated/google/apis/dataproc_v1beta2/representations.rb +4 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +421 -0
- data/generated/google/apis/dfareporting_v3_4/representations.rb +182 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +416 -63
- data/generated/google/apis/dialogflow_v2/representations.rb +108 -0
- data/generated/google/apis/dialogflow_v2/service.rb +4 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +436 -66
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +108 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +58 -44
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1727 -1680
- data/generated/google/apis/displayvideo_v1/representations.rb +275 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1245 -924
- 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 +1 -1
- 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 +75 -76
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +43 -75
- 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 +23 -10
- 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 +8 -5
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +10 -16
- data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -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/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +9 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -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_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +2 -2
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +213 -1155
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → gameservices_v1.rb} +9 -9
- data/generated/google/apis/gameservices_v1/classes.rb +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 +55 -55
- data/generated/google/apis/gmail_v1/service.rb +74 -73
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +36 -0
- 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 +48 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1beta1/service.rb +60 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +22 -3
- data/generated/google/apis/iam_v1/service.rb +18 -6
- data/generated/google/apis/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_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +2 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +71 -38
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +13 -9
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +77 -2
- data/generated/google/apis/osconfig_v1/representations.rb +35 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +77 -2
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/people_v1/classes.rb +243 -397
- data/generated/google/apis/people_v1/service.rb +156 -384
- 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 +19 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +49 -30
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- data/generated/google/apis/realtimebidding_v1.rb +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 +398 -1
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- 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 +398 -1
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- 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 +835 -1245
- data/generated/google/apis/run_v1/service.rb +196 -246
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/classes.rb +934 -1331
- data/generated/google/apis/run_v1alpha1/service.rb +322 -378
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/classes.rb +209 -276
- data/generated/google/apis/run_v1beta1/service.rb +17 -19
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -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/service.rb +4 -5
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +2 -5
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -3
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +7 -7
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +2 -2
- 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 +3 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +2 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +2 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +2 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +2 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +118 -28
- 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/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +207 -200
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -1
- data/generated/google/apis/sql_v1beta4/service.rb +2 -2
- data/generated/google/apis/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 +80 -6
- data/generated/google/apis/testing_v1/representations.rb +33 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +9 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +498 -498
- data/generated/google/apis/{androidpublisher_v1/representations.rb → vectortile_v1.rb} +11 -6
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → vectortile_v1}/representations.rb +105 -121
- 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 +2 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2 -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 +15 -22
- data/generated/google/apis/youtube_partner_v1.rb +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +526 -1086
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +562 -2
- data/generated/google/apis/youtube_v3/representations.rb +282 -0
- data/generated/google/apis/youtube_v3/service.rb +270 -10
- data/lib/google/apis/version.rb +1 -1
- metadata +39 -23
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
- 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
@@ -12,15 +12,20 @@
|
|
12
12
|
# See the License for the specific language governing permissions and
|
13
13
|
# limitations under the License.
|
14
14
|
|
15
|
-
require '
|
16
|
-
require 'google/apis/
|
17
|
-
require 'google/apis/
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
15
|
+
require 'google/apis/playablelocations_v3/service.rb'
|
16
|
+
require 'google/apis/playablelocations_v3/classes.rb'
|
17
|
+
require 'google/apis/playablelocations_v3/representations.rb'
|
20
18
|
|
21
19
|
module Google
|
22
20
|
module Apis
|
23
|
-
|
21
|
+
# Playable Locations API
|
22
|
+
#
|
23
|
+
#
|
24
|
+
#
|
25
|
+
# @see https://developers.google.com/maps/contact-sales/
|
26
|
+
module PlayablelocationsV3
|
27
|
+
VERSION = 'V3'
|
28
|
+
REVISION = '20200622'
|
24
29
|
end
|
25
30
|
end
|
26
31
|
end
|
@@ -0,0 +1,633 @@
|
|
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 PlayablelocationsV3
|
24
|
+
|
25
|
+
# Encapsulates impression event details.
|
26
|
+
class GoogleMapsPlayablelocationsV3Impression
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# An arbitrary, developer-defined type identifier for each type of game
|
30
|
+
# object used in your game.
|
31
|
+
# Since players interact with differ types of game objects in different ways,
|
32
|
+
# this field allows you to segregate impression data by type for analysis.
|
33
|
+
# You should assign a unique `game_object_type` ID to represent a distinct
|
34
|
+
# type of game object in your game.
|
35
|
+
# For example, 1=monster location, 2=powerup location.
|
36
|
+
# Corresponds to the JSON property `gameObjectType`
|
37
|
+
# @return [Fixnum]
|
38
|
+
attr_accessor :game_object_type
|
39
|
+
|
40
|
+
# Required. The type of impression event.
|
41
|
+
# Corresponds to the JSON property `impressionType`
|
42
|
+
# @return [String]
|
43
|
+
attr_accessor :impression_type
|
44
|
+
|
45
|
+
# Required. The name of the playable location.
|
46
|
+
# Corresponds to the JSON property `locationName`
|
47
|
+
# @return [String]
|
48
|
+
attr_accessor :location_name
|
49
|
+
|
50
|
+
def initialize(**args)
|
51
|
+
update!(**args)
|
52
|
+
end
|
53
|
+
|
54
|
+
# Update properties of this object
|
55
|
+
def update!(**args)
|
56
|
+
@game_object_type = args[:game_object_type] if args.key?(:game_object_type)
|
57
|
+
@impression_type = args[:impression_type] if args.key?(:impression_type)
|
58
|
+
@location_name = args[:location_name] if args.key?(:location_name)
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# A request for logging impressions.
|
63
|
+
class GoogleMapsPlayablelocationsV3LogImpressionsRequest
|
64
|
+
include Google::Apis::Core::Hashable
|
65
|
+
|
66
|
+
# Client information.
|
67
|
+
# Corresponds to the JSON property `clientInfo`
|
68
|
+
# @return [Google::Apis::PlayablelocationsV3::GoogleMapsUnityClientInfo]
|
69
|
+
attr_accessor :client_info
|
70
|
+
|
71
|
+
# Required. Impression event details. The maximum number of impression reports
|
72
|
+
# that you
|
73
|
+
# can log at once is 50.
|
74
|
+
# Corresponds to the JSON property `impressions`
|
75
|
+
# @return [Array<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3Impression>]
|
76
|
+
attr_accessor :impressions
|
77
|
+
|
78
|
+
# Required. A string that uniquely identifies the log impressions request. This
|
79
|
+
# allows
|
80
|
+
# you to detect duplicate requests. We recommend that you use UUIDs for this
|
81
|
+
# value. The value must not exceed 50 characters.
|
82
|
+
# You should reuse the `request_id` only when retrying a request in case of
|
83
|
+
# failure. In this case, the request must be identical to the one that
|
84
|
+
# failed.
|
85
|
+
# Corresponds to the JSON property `requestId`
|
86
|
+
# @return [String]
|
87
|
+
attr_accessor :request_id
|
88
|
+
|
89
|
+
def initialize(**args)
|
90
|
+
update!(**args)
|
91
|
+
end
|
92
|
+
|
93
|
+
# Update properties of this object
|
94
|
+
def update!(**args)
|
95
|
+
@client_info = args[:client_info] if args.key?(:client_info)
|
96
|
+
@impressions = args[:impressions] if args.key?(:impressions)
|
97
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
# A response for the LogImpressions method.
|
102
|
+
# This method returns no data upon success.
|
103
|
+
class GoogleMapsPlayablelocationsV3LogImpressionsResponse
|
104
|
+
include Google::Apis::Core::Hashable
|
105
|
+
|
106
|
+
def initialize(**args)
|
107
|
+
update!(**args)
|
108
|
+
end
|
109
|
+
|
110
|
+
# Update properties of this object
|
111
|
+
def update!(**args)
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
# A request for logging your player's bad location reports.
|
116
|
+
class GoogleMapsPlayablelocationsV3LogPlayerReportsRequest
|
117
|
+
include Google::Apis::Core::Hashable
|
118
|
+
|
119
|
+
# Client information.
|
120
|
+
# Corresponds to the JSON property `clientInfo`
|
121
|
+
# @return [Google::Apis::PlayablelocationsV3::GoogleMapsUnityClientInfo]
|
122
|
+
attr_accessor :client_info
|
123
|
+
|
124
|
+
# Required. Player reports. The maximum number of player reports that you can
|
125
|
+
# log at
|
126
|
+
# once is 50.
|
127
|
+
# Corresponds to the JSON property `playerReports`
|
128
|
+
# @return [Array<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3PlayerReport>]
|
129
|
+
attr_accessor :player_reports
|
130
|
+
|
131
|
+
# Required. A string that uniquely identifies the log player reports request.
|
132
|
+
# This
|
133
|
+
# allows you to detect duplicate requests. We recommend that you use UUIDs
|
134
|
+
# for this value. The value must not exceed 50 characters.
|
135
|
+
# You should reuse the `request_id` only when retrying a request in the case
|
136
|
+
# of a failure. In that case, the request must be identical to the one that
|
137
|
+
# failed.
|
138
|
+
# Corresponds to the JSON property `requestId`
|
139
|
+
# @return [String]
|
140
|
+
attr_accessor :request_id
|
141
|
+
|
142
|
+
def initialize(**args)
|
143
|
+
update!(**args)
|
144
|
+
end
|
145
|
+
|
146
|
+
# Update properties of this object
|
147
|
+
def update!(**args)
|
148
|
+
@client_info = args[:client_info] if args.key?(:client_info)
|
149
|
+
@player_reports = args[:player_reports] if args.key?(:player_reports)
|
150
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
# A response for the LogPlayerReports
|
155
|
+
# method.
|
156
|
+
# This method returns no data upon success.
|
157
|
+
class GoogleMapsPlayablelocationsV3LogPlayerReportsResponse
|
158
|
+
include Google::Apis::Core::Hashable
|
159
|
+
|
160
|
+
def initialize(**args)
|
161
|
+
update!(**args)
|
162
|
+
end
|
163
|
+
|
164
|
+
# Update properties of this object
|
165
|
+
def update!(**args)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
169
|
+
# A report submitted by a player about a playable location that is considered
|
170
|
+
# inappropriate for use in the game.
|
171
|
+
class GoogleMapsPlayablelocationsV3PlayerReport
|
172
|
+
include Google::Apis::Core::Hashable
|
173
|
+
|
174
|
+
# Language code (in BCP-47 format) indicating the language of the freeform
|
175
|
+
# description provided in `reason_details`. Examples are "en", "en-US" or
|
176
|
+
# "ja-Latn". For more information, see
|
177
|
+
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
178
|
+
# Corresponds to the JSON property `languageCode`
|
179
|
+
# @return [String]
|
180
|
+
attr_accessor :language_code
|
181
|
+
|
182
|
+
# Required. The name of the playable location.
|
183
|
+
# Corresponds to the JSON property `locationName`
|
184
|
+
# @return [String]
|
185
|
+
attr_accessor :location_name
|
186
|
+
|
187
|
+
# Required. A free-form description detailing why the playable location is
|
188
|
+
# considered bad.
|
189
|
+
# Corresponds to the JSON property `reasonDetails`
|
190
|
+
# @return [String]
|
191
|
+
attr_accessor :reason_details
|
192
|
+
|
193
|
+
# Required. One or more reasons why this playable location is considered bad.
|
194
|
+
# Corresponds to the JSON property `reasons`
|
195
|
+
# @return [Array<String>]
|
196
|
+
attr_accessor :reasons
|
197
|
+
|
198
|
+
def initialize(**args)
|
199
|
+
update!(**args)
|
200
|
+
end
|
201
|
+
|
202
|
+
# Update properties of this object
|
203
|
+
def update!(**args)
|
204
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
205
|
+
@location_name = args[:location_name] if args.key?(:location_name)
|
206
|
+
@reason_details = args[:reason_details] if args.key?(:reason_details)
|
207
|
+
@reasons = args[:reasons] if args.key?(:reasons)
|
208
|
+
end
|
209
|
+
end
|
210
|
+
|
211
|
+
# Specifies the area to search for playable locations.
|
212
|
+
class GoogleMapsPlayablelocationsV3SampleAreaFilter
|
213
|
+
include Google::Apis::Core::Hashable
|
214
|
+
|
215
|
+
# Required. The S2 cell ID of the area you want. This must be between cell level
|
216
|
+
# 11 and
|
217
|
+
# 14 (inclusive).
|
218
|
+
# S2 cells are 64-bit integers that identify areas on the Earth. They are
|
219
|
+
# hierarchical, and can therefore be used for spatial indexing.
|
220
|
+
# The S2 geometry library is available in a number of languages:
|
221
|
+
# * [C++](https://github.com/google/s2geometry)
|
222
|
+
# * [Java](https://github.com/google/s2-geometry-library-java)
|
223
|
+
# * [Go](https://github.com/golang/geo)
|
224
|
+
# * [Python](https://github.com/google/s2geometry/tree/master/src/python)
|
225
|
+
# Corresponds to the JSON property `s2CellId`
|
226
|
+
# @return [Fixnum]
|
227
|
+
attr_accessor :s2_cell_id
|
228
|
+
|
229
|
+
def initialize(**args)
|
230
|
+
update!(**args)
|
231
|
+
end
|
232
|
+
|
233
|
+
# Update properties of this object
|
234
|
+
def update!(**args)
|
235
|
+
@s2_cell_id = args[:s2_cell_id] if args.key?(:s2_cell_id)
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
# Encapsulates a filter criterion for searching for a set of playable
|
240
|
+
# locations.
|
241
|
+
class GoogleMapsPlayablelocationsV3SampleCriterion
|
242
|
+
include Google::Apis::Core::Hashable
|
243
|
+
|
244
|
+
# Specifies which `PlayableLocation` fields are returned.
|
245
|
+
# `name` (which is used for logging impressions), `center_point` and
|
246
|
+
# `place_id` (or `plus_code`) are always returned.
|
247
|
+
# The following fields are omitted unless you specify them here:
|
248
|
+
# * snapped_point
|
249
|
+
# * types
|
250
|
+
# Note: The more fields you include, the more expensive in terms of data and
|
251
|
+
# associated latency your query will be.
|
252
|
+
# Corresponds to the JSON property `fieldsToReturn`
|
253
|
+
# @return [String]
|
254
|
+
attr_accessor :fields_to_return
|
255
|
+
|
256
|
+
# Specifies the filters to use when searching for playable locations.
|
257
|
+
# Corresponds to the JSON property `filter`
|
258
|
+
# @return [Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleFilter]
|
259
|
+
attr_accessor :filter
|
260
|
+
|
261
|
+
# Required. An arbitrary, developer-defined identifier of the type of game
|
262
|
+
# object that
|
263
|
+
# the playable location is used for. This field allows you to specify
|
264
|
+
# criteria per game object type when searching for playable locations.
|
265
|
+
# You should assign a unique `game_object_type` ID across all
|
266
|
+
# `request_criteria` to represent a distinct type of game object. For
|
267
|
+
# example, 1=monster location, 2=powerup location.
|
268
|
+
# The response contains a map<game_object_type, Response>.
|
269
|
+
# Corresponds to the JSON property `gameObjectType`
|
270
|
+
# @return [Fixnum]
|
271
|
+
attr_accessor :game_object_type
|
272
|
+
|
273
|
+
def initialize(**args)
|
274
|
+
update!(**args)
|
275
|
+
end
|
276
|
+
|
277
|
+
# Update properties of this object
|
278
|
+
def update!(**args)
|
279
|
+
@fields_to_return = args[:fields_to_return] if args.key?(:fields_to_return)
|
280
|
+
@filter = args[:filter] if args.key?(:filter)
|
281
|
+
@game_object_type = args[:game_object_type] if args.key?(:game_object_type)
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
# Specifies the filters to use when searching for playable locations.
|
286
|
+
class GoogleMapsPlayablelocationsV3SampleFilter
|
287
|
+
include Google::Apis::Core::Hashable
|
288
|
+
|
289
|
+
# Restricts the set of playable locations to just the
|
290
|
+
# [types](/maps/documentation/gaming/tt/types) that you want.
|
291
|
+
# Corresponds to the JSON property `includedTypes`
|
292
|
+
# @return [Array<String>]
|
293
|
+
attr_accessor :included_types
|
294
|
+
|
295
|
+
# Specifies the maximum number of playable locations to return. This value
|
296
|
+
# must not be greater than 1000. The default value is 100.
|
297
|
+
# Only the top-ranking playable locations are returned.
|
298
|
+
# Corresponds to the JSON property `maxLocationCount`
|
299
|
+
# @return [Fixnum]
|
300
|
+
attr_accessor :max_location_count
|
301
|
+
|
302
|
+
# A set of options that specifies the separation between playable locations.
|
303
|
+
# Corresponds to the JSON property `spacing`
|
304
|
+
# @return [Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleSpacingOptions]
|
305
|
+
attr_accessor :spacing
|
306
|
+
|
307
|
+
def initialize(**args)
|
308
|
+
update!(**args)
|
309
|
+
end
|
310
|
+
|
311
|
+
# Update properties of this object
|
312
|
+
def update!(**args)
|
313
|
+
@included_types = args[:included_types] if args.key?(:included_types)
|
314
|
+
@max_location_count = args[:max_location_count] if args.key?(:max_location_count)
|
315
|
+
@spacing = args[:spacing] if args.key?(:spacing)
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
319
|
+
# A geographical point suitable for placing game objects in location-based
|
320
|
+
# games.
|
321
|
+
class GoogleMapsPlayablelocationsV3SamplePlayableLocation
|
322
|
+
include Google::Apis::Core::Hashable
|
323
|
+
|
324
|
+
# An object representing a latitude/longitude pair. This is expressed as a pair
|
325
|
+
# of doubles representing degrees latitude and degrees longitude. Unless
|
326
|
+
# specified otherwise, this must conform to the
|
327
|
+
# <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
|
328
|
+
# standard</a>. Values must be within normalized ranges.
|
329
|
+
# Corresponds to the JSON property `centerPoint`
|
330
|
+
# @return [Google::Apis::PlayablelocationsV3::GoogleTypeLatLng]
|
331
|
+
attr_accessor :center_point
|
332
|
+
|
333
|
+
# Required. The name of this playable location.
|
334
|
+
# Corresponds to the JSON property `name`
|
335
|
+
# @return [String]
|
336
|
+
attr_accessor :name
|
337
|
+
|
338
|
+
# A [place ID] (https://developers.google.com/places/place-id)
|
339
|
+
# Corresponds to the JSON property `placeId`
|
340
|
+
# @return [String]
|
341
|
+
attr_accessor :place_id
|
342
|
+
|
343
|
+
# A [plus code] (http://openlocationcode.com)
|
344
|
+
# Corresponds to the JSON property `plusCode`
|
345
|
+
# @return [String]
|
346
|
+
attr_accessor :plus_code
|
347
|
+
|
348
|
+
# An object representing a latitude/longitude pair. This is expressed as a pair
|
349
|
+
# of doubles representing degrees latitude and degrees longitude. Unless
|
350
|
+
# specified otherwise, this must conform to the
|
351
|
+
# <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
|
352
|
+
# standard</a>. Values must be within normalized ranges.
|
353
|
+
# Corresponds to the JSON property `snappedPoint`
|
354
|
+
# @return [Google::Apis::PlayablelocationsV3::GoogleTypeLatLng]
|
355
|
+
attr_accessor :snapped_point
|
356
|
+
|
357
|
+
# A collection of [Playable Location
|
358
|
+
# Types](/maps/documentation/gaming/tt/types) for this playable location. The
|
359
|
+
# first type in the collection is the primary type.
|
360
|
+
# Type information might not be available for all playable locations.
|
361
|
+
# Corresponds to the JSON property `types`
|
362
|
+
# @return [Array<String>]
|
363
|
+
attr_accessor :types
|
364
|
+
|
365
|
+
def initialize(**args)
|
366
|
+
update!(**args)
|
367
|
+
end
|
368
|
+
|
369
|
+
# Update properties of this object
|
370
|
+
def update!(**args)
|
371
|
+
@center_point = args[:center_point] if args.key?(:center_point)
|
372
|
+
@name = args[:name] if args.key?(:name)
|
373
|
+
@place_id = args[:place_id] if args.key?(:place_id)
|
374
|
+
@plus_code = args[:plus_code] if args.key?(:plus_code)
|
375
|
+
@snapped_point = args[:snapped_point] if args.key?(:snapped_point)
|
376
|
+
@types = args[:types] if args.key?(:types)
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
380
|
+
# A list of PlayableLocation objects that satisfies a single Criterion.
|
381
|
+
class GoogleMapsPlayablelocationsV3SamplePlayableLocationList
|
382
|
+
include Google::Apis::Core::Hashable
|
383
|
+
|
384
|
+
# A list of playable locations for this game object type.
|
385
|
+
# Corresponds to the JSON property `locations`
|
386
|
+
# @return [Array<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SamplePlayableLocation>]
|
387
|
+
attr_accessor :locations
|
388
|
+
|
389
|
+
def initialize(**args)
|
390
|
+
update!(**args)
|
391
|
+
end
|
392
|
+
|
393
|
+
# Update properties of this object
|
394
|
+
def update!(**args)
|
395
|
+
@locations = args[:locations] if args.key?(:locations)
|
396
|
+
end
|
397
|
+
end
|
398
|
+
|
399
|
+
# Life of a query:
|
400
|
+
# - When a game starts in a new location, your game server issues a
|
401
|
+
# SamplePlayableLocations
|
402
|
+
# request. The request specifies the S2 cell, and contains one or more
|
403
|
+
# "criteria" for filtering:
|
404
|
+
# - Criterion 0: i locations for long-lived bases, or level 0 monsters, or...
|
405
|
+
# - Criterion 1: j locations for short-lived bases, or level 1 monsters, ...
|
406
|
+
# - Criterion 2: k locations for random objects.
|
407
|
+
# - etc (up to 5 criterion may be specified).
|
408
|
+
# `PlayableLocationList` will then contain mutually
|
409
|
+
# exclusive lists of `PlayableLocation` objects that satisfy each of
|
410
|
+
# the criteria. Think of it as a collection of real-world locations that you
|
411
|
+
# can then associate with your game state.
|
412
|
+
# Note: These points are impermanent in nature. E.g, parks can close, and
|
413
|
+
# places can be removed.
|
414
|
+
# The response specifies how long you can expect the playable locations to
|
415
|
+
# last. Once they expire, you should query the `samplePlayableLocations` API
|
416
|
+
# again to get a fresh view of the real world.
|
417
|
+
class GoogleMapsPlayablelocationsV3SamplePlayableLocationsRequest
|
418
|
+
include Google::Apis::Core::Hashable
|
419
|
+
|
420
|
+
# Specifies the area to search for playable locations.
|
421
|
+
# Corresponds to the JSON property `areaFilter`
|
422
|
+
# @return [Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleAreaFilter]
|
423
|
+
attr_accessor :area_filter
|
424
|
+
|
425
|
+
# Required. Specifies one or more (up to 5) criteria for filtering the
|
426
|
+
# returned playable locations.
|
427
|
+
# Corresponds to the JSON property `criteria`
|
428
|
+
# @return [Array<Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SampleCriterion>]
|
429
|
+
attr_accessor :criteria
|
430
|
+
|
431
|
+
def initialize(**args)
|
432
|
+
update!(**args)
|
433
|
+
end
|
434
|
+
|
435
|
+
# Update properties of this object
|
436
|
+
def update!(**args)
|
437
|
+
@area_filter = args[:area_filter] if args.key?(:area_filter)
|
438
|
+
@criteria = args[:criteria] if args.key?(:criteria)
|
439
|
+
end
|
440
|
+
end
|
441
|
+
|
442
|
+
# Response for the
|
443
|
+
# SamplePlayableLocations
|
444
|
+
# method.
|
445
|
+
class GoogleMapsPlayablelocationsV3SamplePlayableLocationsResponse
|
446
|
+
include Google::Apis::Core::Hashable
|
447
|
+
|
448
|
+
# Each PlayableLocation object corresponds to a game_object_type specified
|
449
|
+
# in the request.
|
450
|
+
# Corresponds to the JSON property `locationsPerGameObjectType`
|
451
|
+
# @return [Hash<String,Google::Apis::PlayablelocationsV3::GoogleMapsPlayablelocationsV3SamplePlayableLocationList>]
|
452
|
+
attr_accessor :locations_per_game_object_type
|
453
|
+
|
454
|
+
# Required. Specifies the "time-to-live" for the set of playable locations. You
|
455
|
+
# can use
|
456
|
+
# this value to determine how long to cache the set of playable locations.
|
457
|
+
# After this length of time, your back-end game server should issue a new
|
458
|
+
# SamplePlayableLocations
|
459
|
+
# request to get a fresh set of playable locations (because for example, they
|
460
|
+
# might have been removed, a park might have closed for the day, a
|
461
|
+
# business might have closed permanently).
|
462
|
+
# Corresponds to the JSON property `ttl`
|
463
|
+
# @return [String]
|
464
|
+
attr_accessor :ttl
|
465
|
+
|
466
|
+
def initialize(**args)
|
467
|
+
update!(**args)
|
468
|
+
end
|
469
|
+
|
470
|
+
# Update properties of this object
|
471
|
+
def update!(**args)
|
472
|
+
@locations_per_game_object_type = args[:locations_per_game_object_type] if args.key?(:locations_per_game_object_type)
|
473
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
477
|
+
# A set of options that specifies the separation between playable locations.
|
478
|
+
class GoogleMapsPlayablelocationsV3SampleSpacingOptions
|
479
|
+
include Google::Apis::Core::Hashable
|
480
|
+
|
481
|
+
# Required. The minimum spacing between any two playable locations, measured in
|
482
|
+
# meters.
|
483
|
+
# The minimum value is 30.
|
484
|
+
# The maximum value is 1000.
|
485
|
+
# Inputs will be rounded up to the next 10 meter interval.
|
486
|
+
# The default value is 200m.
|
487
|
+
# Set this field to remove tight clusters of playable locations.
|
488
|
+
# Note:
|
489
|
+
# The spacing is a greedy algorithm. It optimizes for selecting the highest
|
490
|
+
# ranking locations first, not to maximize the number of locations selected.
|
491
|
+
# Consider the following scenario:
|
492
|
+
# * Rank: A: 2, B: 1, C: 3.
|
493
|
+
# * Distance: A--200m--B--200m--C
|
494
|
+
# If spacing=250, it will pick the highest ranked location [B], not [A, C].
|
495
|
+
# Note:
|
496
|
+
# Spacing works within the game object type itself, as well as the previous
|
497
|
+
# ones.
|
498
|
+
# Suppose three game object types, each with the following spacing:
|
499
|
+
# * X: 400m, Y: undefined, Z: 200m.
|
500
|
+
# 1. Add locations for X, within 400m of each other.
|
501
|
+
# 2. Add locations for Y, without any spacing.
|
502
|
+
# 3. Finally, add locations for Z within 200m of each other as well X and Y.
|
503
|
+
# The distance diagram between those locations end up as:
|
504
|
+
# * From->To.
|
505
|
+
# * X->X: 400m
|
506
|
+
# * Y->X, Y->Y: unspecified.
|
507
|
+
# * Z->X, Z->Y, Z->Z: 200m.
|
508
|
+
# Corresponds to the JSON property `minSpacingMeters`
|
509
|
+
# @return [Float]
|
510
|
+
attr_accessor :min_spacing_meters
|
511
|
+
|
512
|
+
# Specifies whether the minimum spacing constraint applies to the
|
513
|
+
# center-point or to the snapped point of playable locations. The default
|
514
|
+
# value is `CENTER_POINT`.
|
515
|
+
# If a snapped point is not available for a playable location, its
|
516
|
+
# center-point is used instead.
|
517
|
+
# Set this to the point type used in your game.
|
518
|
+
# Corresponds to the JSON property `pointType`
|
519
|
+
# @return [String]
|
520
|
+
attr_accessor :point_type
|
521
|
+
|
522
|
+
def initialize(**args)
|
523
|
+
update!(**args)
|
524
|
+
end
|
525
|
+
|
526
|
+
# Update properties of this object
|
527
|
+
def update!(**args)
|
528
|
+
@min_spacing_meters = args[:min_spacing_meters] if args.key?(:min_spacing_meters)
|
529
|
+
@point_type = args[:point_type] if args.key?(:point_type)
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
# Client information.
|
534
|
+
class GoogleMapsUnityClientInfo
|
535
|
+
include Google::Apis::Core::Hashable
|
536
|
+
|
537
|
+
# API client name and version. For example, the SDK calling the API. The
|
538
|
+
# exact format is up to the client.
|
539
|
+
# Corresponds to the JSON property `apiClient`
|
540
|
+
# @return [String]
|
541
|
+
attr_accessor :api_client
|
542
|
+
|
543
|
+
# Application ID, such as the package name on Android and the bundle
|
544
|
+
# identifier on iOS platforms.
|
545
|
+
# Corresponds to the JSON property `applicationId`
|
546
|
+
# @return [String]
|
547
|
+
attr_accessor :application_id
|
548
|
+
|
549
|
+
# Application version number, such as "1.2.3". The exact format is
|
550
|
+
# application-dependent.
|
551
|
+
# Corresponds to the JSON property `applicationVersion`
|
552
|
+
# @return [String]
|
553
|
+
attr_accessor :application_version
|
554
|
+
|
555
|
+
# Device model as reported by the device. The exact format is
|
556
|
+
# platform-dependent.
|
557
|
+
# Corresponds to the JSON property `deviceModel`
|
558
|
+
# @return [String]
|
559
|
+
attr_accessor :device_model
|
560
|
+
|
561
|
+
# Language code (in BCP-47 format) indicating the UI language of the client.
|
562
|
+
# Examples are "en", "en-US" or "ja-Latn". For more information, see
|
563
|
+
# http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
|
564
|
+
# Corresponds to the JSON property `languageCode`
|
565
|
+
# @return [String]
|
566
|
+
attr_accessor :language_code
|
567
|
+
|
568
|
+
# Operating system name and version as reported by the OS. For example,
|
569
|
+
# "Mac OS X 10.10.4". The exact format is platform-dependent.
|
570
|
+
# Corresponds to the JSON property `operatingSystem`
|
571
|
+
# @return [String]
|
572
|
+
attr_accessor :operating_system
|
573
|
+
|
574
|
+
# Build number/version of the operating system. e.g., the contents of
|
575
|
+
# android.os.Build.ID in Android, or the contents of sysctl "kern.osversion"
|
576
|
+
# in iOS.
|
577
|
+
# Corresponds to the JSON property `operatingSystemBuild`
|
578
|
+
# @return [String]
|
579
|
+
attr_accessor :operating_system_build
|
580
|
+
|
581
|
+
# Platform where the application is running.
|
582
|
+
# Corresponds to the JSON property `platform`
|
583
|
+
# @return [String]
|
584
|
+
attr_accessor :platform
|
585
|
+
|
586
|
+
def initialize(**args)
|
587
|
+
update!(**args)
|
588
|
+
end
|
589
|
+
|
590
|
+
# Update properties of this object
|
591
|
+
def update!(**args)
|
592
|
+
@api_client = args[:api_client] if args.key?(:api_client)
|
593
|
+
@application_id = args[:application_id] if args.key?(:application_id)
|
594
|
+
@application_version = args[:application_version] if args.key?(:application_version)
|
595
|
+
@device_model = args[:device_model] if args.key?(:device_model)
|
596
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
597
|
+
@operating_system = args[:operating_system] if args.key?(:operating_system)
|
598
|
+
@operating_system_build = args[:operating_system_build] if args.key?(:operating_system_build)
|
599
|
+
@platform = args[:platform] if args.key?(:platform)
|
600
|
+
end
|
601
|
+
end
|
602
|
+
|
603
|
+
# An object representing a latitude/longitude pair. This is expressed as a pair
|
604
|
+
# of doubles representing degrees latitude and degrees longitude. Unless
|
605
|
+
# specified otherwise, this must conform to the
|
606
|
+
# <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
|
607
|
+
# standard</a>. Values must be within normalized ranges.
|
608
|
+
class GoogleTypeLatLng
|
609
|
+
include Google::Apis::Core::Hashable
|
610
|
+
|
611
|
+
# The latitude in degrees. It must be in the range [-90.0, +90.0].
|
612
|
+
# Corresponds to the JSON property `latitude`
|
613
|
+
# @return [Float]
|
614
|
+
attr_accessor :latitude
|
615
|
+
|
616
|
+
# The longitude in degrees. It must be in the range [-180.0, +180.0].
|
617
|
+
# Corresponds to the JSON property `longitude`
|
618
|
+
# @return [Float]
|
619
|
+
attr_accessor :longitude
|
620
|
+
|
621
|
+
def initialize(**args)
|
622
|
+
update!(**args)
|
623
|
+
end
|
624
|
+
|
625
|
+
# Update properties of this object
|
626
|
+
def update!(**args)
|
627
|
+
@latitude = args[:latitude] if args.key?(:latitude)
|
628
|
+
@longitude = args[:longitude] if args.key?(:longitude)
|
629
|
+
end
|
630
|
+
end
|
631
|
+
end
|
632
|
+
end
|
633
|
+
end
|