google-api-client 0.23.4 → 0.23.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +171 -0
- data/Gemfile +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +7 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +13 -1
- data/generated/google/apis/adsense_v1_4/representations.rb +2 -0
- data/generated/google/apis/adsense_v1_4/service.rb +36 -0
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +68 -0
- data/generated/google/apis/analytics_v3/representations.rb +31 -0
- data/generated/google/apis/analytics_v3/service.rb +33 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +108 -28
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +73 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -70
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +2 -5
- data/generated/google/apis/androidpublisher_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +3 -4
- data/generated/google/apis/appsactivity_v1.rb +2 -2
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +103 -61
- data/generated/google/apis/bigquery_v2/representations.rb +17 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +597 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +238 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +523 -0
- data/generated/google/apis/blogger_v2.rb +1 -1
- 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 +7 -0
- data/generated/google/apis/books_v1/representations.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +44 -12
- data/generated/google/apis/calendar_v3/service.rb +7 -7
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +641 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +215 -0
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +25 -0
- data/generated/google/apis/classroom_v1/representations.rb +15 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +85 -10
- data/generated/google/apis/cloudbilling_v1/representations.rb +18 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +3 -13
- data/generated/google/apis/cloudbuild_v1.rb +4 -4
- data/generated/google/apis/cloudbuild_v1/classes.rb +37 -3
- data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +3 -3
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +4 -5
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +56 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +18 -0
- data/generated/google/apis/cloudiot_v1/service.rb +355 -0
- data/generated/google/apis/cloudkms_v1.rb +6 -3
- data/generated/google/apis/cloudkms_v1/classes.rb +340 -14
- data/generated/google/apis/cloudkms_v1/representations.rb +147 -0
- data/generated/google/apis/cloudkms_v1/service.rb +126 -6
- data/generated/google/apis/cloudprofiler_v2.rb +3 -3
- data/generated/google/apis/cloudprofiler_v2/classes.rb +0 -6
- data/generated/google/apis/cloudprofiler_v2/representations.rb +0 -2
- data/generated/google/apis/cloudprofiler_v2/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +57 -1
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +56 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +57 -1
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +57 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +18 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +28 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +37 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +2 -2
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +167 -103
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +18 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -21
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/{spectrum_v1explorer.rb → composer_v1.rb} +12 -9
- data/generated/google/apis/composer_v1/classes.rb +640 -0
- data/generated/google/apis/composer_v1/representations.rb +195 -0
- data/generated/google/apis/composer_v1/service.rb +462 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +13 -10
- data/generated/google/apis/composer_v1beta1/service.rb +6 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +5135 -4250
- data/generated/google/apis/compute_alpha/representations.rb +644 -216
- data/generated/google/apis/compute_alpha/service.rb +2308 -1655
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1070 -62
- data/generated/google/apis/compute_beta/representations.rb +435 -0
- data/generated/google/apis/compute_beta/service.rb +1758 -321
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1984 -210
- data/generated/google/apis/compute_v1/representations.rb +754 -9
- data/generated/google/apis/compute_v1/service.rb +1299 -12
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +43 -0
- data/generated/google/apis/container_v1/representations.rb +17 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +193 -231
- data/generated/google/apis/container_v1beta1/representations.rb +72 -82
- data/generated/google/apis/container_v1beta1/service.rb +0 -112
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +199 -29
- data/generated/google/apis/content_v2/representations.rb +59 -0
- data/generated/google/apis/content_v2/service.rb +8 -3
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +32 -19
- data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
- data/generated/google/apis/content_v2sandbox/service.rb +8 -3
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +7 -7
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +112 -43
- data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +140 -0
- data/generated/google/apis/datastore_v1/representations.rb +65 -0
- data/generated/google/apis/datastore_v1/service.rb +74 -0
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +31 -0
- data/generated/google/apis/datastore_v1beta1/representations.rb +17 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +31 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v3_0.rb +1 -1
- data/generated/google/apis/dfareporting_v3_1.rb +1 -1
- data/generated/google/apis/dfareporting_v3_2.rb +40 -0
- data/generated/google/apis/dfareporting_v3_2/classes.rb +12297 -0
- data/generated/google/apis/dfareporting_v3_2/representations.rb +4397 -0
- data/generated/google/apis/dfareporting_v3_2/service.rb +8790 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +304 -12
- data/generated/google/apis/dialogflow_v2/representations.rb +113 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +656 -26
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +248 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -0
- data/generated/google/apis/discovery_v1.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +357 -6
- data/generated/google/apis/dlp_v2/representations.rb +161 -0
- data/generated/google/apis/dlp_v2/service.rb +366 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +0 -7
- data/generated/google/apis/dns_v1/representations.rb +0 -1
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +0 -7
- data/generated/google/apis/dns_v1beta2/representations.rb +0 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -7
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +3 -2
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +37 -0
- data/generated/google/apis/firestore_v1/classes.rb +324 -0
- data/generated/google/apis/firestore_v1/representations.rb +130 -0
- data/generated/google/apis/firestore_v1/service.rb +282 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +290 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +128 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +79 -0
- data/generated/google/apis/firestore_v1beta2.rb +37 -0
- data/generated/google/apis/firestore_v1beta2/classes.rb +531 -0
- data/generated/google/apis/firestore_v1beta2/representations.rb +189 -0
- data/generated/google/apis/firestore_v1beta2/service.rb +213 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +113 -36
- data/generated/google/apis/genomics_v1/representations.rb +31 -0
- data/generated/google/apis/genomics_v1/service.rb +2 -0
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +57 -36
- data/generated/google/apis/genomics_v1alpha2/representations.rb +13 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +2 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -137
- data/generated/google/apis/genomics_v2alpha1/representations.rb +50 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +7 -5
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +258 -3
- data/generated/google/apis/iam_v1/representations.rb +73 -0
- data/generated/google/apis/iam_v1/service.rb +50 -2
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +34 -0
- data/generated/google/apis/iap_v1beta1/classes.rb +440 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +158 -0
- data/generated/google/apis/iap_v1beta1/service.rb +398 -0
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +3 -3
- data/generated/google/apis/jobs_v2/classes.rb +61 -5
- data/generated/google/apis/jobs_v2/representations.rb +18 -0
- data/generated/google/apis/jobs_v2/service.rb +3 -3
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +2 -2
- data/generated/google/apis/logging_v2/classes.rb +64 -58
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +39 -40
- data/generated/google/apis/logging_v2beta1.rb +2 -2
- data/generated/google/apis/logging_v2beta1/classes.rb +59 -53
- data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
- data/generated/google/apis/logging_v2beta1/service.rb +15 -16
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +87 -0
- data/generated/google/apis/ml_v1/representations.rb +34 -0
- data/generated/google/apis/ml_v1/service.rb +53 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +68 -15
- data/generated/google/apis/monitoring_v3/representations.rb +26 -0
- data/generated/google/apis/mybusiness_v3/classes.rb +1 -1
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +1 -1
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/poly_v1.rb +4 -3
- data/generated/google/apis/poly_v1/classes.rb +28 -0
- data/generated/google/apis/poly_v1/representations.rb +15 -0
- data/generated/google/apis/poly_v1/service.rb +3 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +63 -8
- data/generated/google/apis/pubsub_v1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1/service.rb +7 -8
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +56 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +18 -0
- data/generated/google/apis/redis_v1beta1.rb +2 -2
- data/generated/google/apis/redis_v1beta1/classes.rb +38 -119
- data/generated/google/apis/redis_v1beta1/representations.rb +10 -43
- data/generated/google/apis/redis_v1beta1/service.rb +73 -1
- data/generated/google/apis/replicapool_v1beta1.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +57 -1
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +18 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +1 -57
- data/generated/google/apis/script_v1/representations.rb +0 -32
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +56 -1
- data/generated/google/apis/servicebroker_v1/representations.rb +18 -0
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +56 -1
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +56 -1
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +18 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +13 -4
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +259 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +68 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +68 -4
- data/generated/google/apis/servicemanagement_v1/representations.rb +19 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +13 -4
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +13 -4
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +12 -3
- data/generated/google/apis/serviceuser_v1/representations.rb +1 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +22 -22
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +56 -1
- data/generated/google/apis/sourcerepo_v1/representations.rb +18 -0
- data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +1632 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +733 -0
- data/generated/google/apis/sqladmin_v1beta3/service.rb +995 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +4 -4
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +30 -14
- data/generated/google/apis/sqladmin_v1beta4/service.rb +7 -7
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/texttospeech_v1.rb +34 -0
- data/generated/google/apis/texttospeech_v1/classes.rb +278 -0
- data/generated/google/apis/texttospeech_v1/representations.rb +133 -0
- data/generated/google/apis/texttospeech_v1/service.rb +127 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +0 -12
- data/generated/google/apis/toolresults_v1beta3/representations.rb +0 -2
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +0 -13
- data/generated/google/apis/tpu_v1/representations.rb +0 -12
- data/generated/google/apis/tpu_v1/service.rb +0 -33
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -13
- data/generated/google/apis/tpu_v1alpha1/representations.rb +0 -12
- data/generated/google/apis/tpu_v1alpha1/service.rb +0 -33
- data/generated/google/apis/urlshortener_v1.rb +1 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +803 -0
- data/generated/google/apis/vault_v1/representations.rb +384 -0
- data/generated/google/apis/vault_v1/service.rb +211 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +3342 -227
- data/generated/google/apis/vision_v1/representations.rb +1696 -365
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1826 -94
- data/generated/google/apis/vision_v1p1beta1/representations.rb +754 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +3712 -597
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1606 -275
- data/generated/google/apis/webfonts_v1.rb +1 -1
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +58 -2
- data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +32 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/core/http_command.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +34 -6
- data/generated/google/apis/spectrum_v1explorer/classes.rb +0 -1612
- data/generated/google/apis/spectrum_v1explorer/representations.rb +0 -611
- data/generated/google/apis/spectrum_v1explorer/service.rb +0 -271
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/webmaster-tools/
|
26
26
|
module WebmastersV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = ''
|
28
|
+
REVISION = '20180627'
|
29
29
|
|
30
30
|
# View and manage Search Console data for your verified sites
|
31
31
|
AUTH_WEBMASTERS = 'https://www.googleapis.com/auth/webmasters'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/security-scanner/
|
26
26
|
module WebsecurityscannerV1alpha
|
27
27
|
VERSION = 'V1alpha'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180820'
|
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'
|
@@ -97,7 +97,7 @@ module Google
|
|
97
97
|
# Input only.
|
98
98
|
# Required.
|
99
99
|
# The password of the custom account. The credential is stored encrypted
|
100
|
-
# and not returned in any response.
|
100
|
+
# and not returned in any response nor included in audit logs.
|
101
101
|
# Corresponds to the JSON property `password`
|
102
102
|
# @return [String]
|
103
103
|
attr_accessor :password
|
@@ -223,6 +223,11 @@ module Google
|
|
223
223
|
# @return [Google::Apis::WebsecurityscannerV1alpha::ViolatingResource]
|
224
224
|
attr_accessor :violating_resource
|
225
225
|
|
226
|
+
# Information about vulnerable or missing HTTP Headers.
|
227
|
+
# Corresponds to the JSON property `vulnerableHeaders`
|
228
|
+
# @return [Google::Apis::WebsecurityscannerV1alpha::VulnerableHeaders]
|
229
|
+
attr_accessor :vulnerable_headers
|
230
|
+
|
226
231
|
# Information about vulnerable request parameters.
|
227
232
|
# Corresponds to the JSON property `vulnerableParameters`
|
228
233
|
# @return [Google::Apis::WebsecurityscannerV1alpha::VulnerableParameters]
|
@@ -251,6 +256,7 @@ module Google
|
|
251
256
|
@reproduction_url = args[:reproduction_url] if args.key?(:reproduction_url)
|
252
257
|
@tracking_id = args[:tracking_id] if args.key?(:tracking_id)
|
253
258
|
@violating_resource = args[:violating_resource] if args.key?(:violating_resource)
|
259
|
+
@vulnerable_headers = args[:vulnerable_headers] if args.key?(:vulnerable_headers)
|
254
260
|
@vulnerable_parameters = args[:vulnerable_parameters] if args.key?(:vulnerable_parameters)
|
255
261
|
@xss = args[:xss] if args.key?(:xss)
|
256
262
|
end
|
@@ -291,7 +297,7 @@ module Google
|
|
291
297
|
# Input only.
|
292
298
|
# Required.
|
293
299
|
# The password of the Google account. The credential is stored encrypted
|
294
|
-
# and not returned in any response.
|
300
|
+
# and not returned in any response nor included in audit logs.
|
295
301
|
# Corresponds to the JSON property `password`
|
296
302
|
# @return [String]
|
297
303
|
attr_accessor :password
|
@@ -313,6 +319,31 @@ module Google
|
|
313
319
|
end
|
314
320
|
end
|
315
321
|
|
322
|
+
# Describes a HTTP Header.
|
323
|
+
class Header
|
324
|
+
include Google::Apis::Core::Hashable
|
325
|
+
|
326
|
+
# Header name.
|
327
|
+
# Corresponds to the JSON property `name`
|
328
|
+
# @return [String]
|
329
|
+
attr_accessor :name
|
330
|
+
|
331
|
+
# Header value.
|
332
|
+
# Corresponds to the JSON property `value`
|
333
|
+
# @return [String]
|
334
|
+
attr_accessor :value
|
335
|
+
|
336
|
+
def initialize(**args)
|
337
|
+
update!(**args)
|
338
|
+
end
|
339
|
+
|
340
|
+
# Update properties of this object
|
341
|
+
def update!(**args)
|
342
|
+
@name = args[:name] if args.key?(:name)
|
343
|
+
@value = args[:value] if args.key?(:value)
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
316
347
|
# Response for the `ListCrawledUrls` method.
|
317
348
|
class ListCrawledUrlsResponse
|
318
349
|
include Google::Apis::Core::Hashable
|
@@ -712,6 +743,31 @@ module Google
|
|
712
743
|
end
|
713
744
|
end
|
714
745
|
|
746
|
+
# Information about vulnerable or missing HTTP Headers.
|
747
|
+
class VulnerableHeaders
|
748
|
+
include Google::Apis::Core::Hashable
|
749
|
+
|
750
|
+
# List of vulnerable headers.
|
751
|
+
# Corresponds to the JSON property `headers`
|
752
|
+
# @return [Array<Google::Apis::WebsecurityscannerV1alpha::Header>]
|
753
|
+
attr_accessor :headers
|
754
|
+
|
755
|
+
# List of missing headers.
|
756
|
+
# Corresponds to the JSON property `missingHeaders`
|
757
|
+
# @return [Array<Google::Apis::WebsecurityscannerV1alpha::Header>]
|
758
|
+
attr_accessor :missing_headers
|
759
|
+
|
760
|
+
def initialize(**args)
|
761
|
+
update!(**args)
|
762
|
+
end
|
763
|
+
|
764
|
+
# Update properties of this object
|
765
|
+
def update!(**args)
|
766
|
+
@headers = args[:headers] if args.key?(:headers)
|
767
|
+
@missing_headers = args[:missing_headers] if args.key?(:missing_headers)
|
768
|
+
end
|
769
|
+
end
|
770
|
+
|
715
771
|
# Information about vulnerable request parameters.
|
716
772
|
class VulnerableParameters
|
717
773
|
include Google::Apis::Core::Hashable
|
@@ -64,6 +64,12 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class Header
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class ListCrawledUrlsResponse
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
@@ -136,6 +142,12 @@ module Google
|
|
136
142
|
include Google::Apis::Core::JsonObjectSupport
|
137
143
|
end
|
138
144
|
|
145
|
+
class VulnerableHeaders
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
139
151
|
class VulnerableParameters
|
140
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
153
|
|
@@ -199,6 +211,8 @@ module Google
|
|
199
211
|
property :tracking_id, as: 'trackingId'
|
200
212
|
property :violating_resource, as: 'violatingResource', class: Google::Apis::WebsecurityscannerV1alpha::ViolatingResource, decorator: Google::Apis::WebsecurityscannerV1alpha::ViolatingResource::Representation
|
201
213
|
|
214
|
+
property :vulnerable_headers, as: 'vulnerableHeaders', class: Google::Apis::WebsecurityscannerV1alpha::VulnerableHeaders, decorator: Google::Apis::WebsecurityscannerV1alpha::VulnerableHeaders::Representation
|
215
|
+
|
202
216
|
property :vulnerable_parameters, as: 'vulnerableParameters', class: Google::Apis::WebsecurityscannerV1alpha::VulnerableParameters, decorator: Google::Apis::WebsecurityscannerV1alpha::VulnerableParameters::Representation
|
203
217
|
|
204
218
|
property :xss, as: 'xss', class: Google::Apis::WebsecurityscannerV1alpha::Xss, decorator: Google::Apis::WebsecurityscannerV1alpha::Xss::Representation
|
@@ -222,6 +236,14 @@ module Google
|
|
222
236
|
end
|
223
237
|
end
|
224
238
|
|
239
|
+
class Header
|
240
|
+
# @private
|
241
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
242
|
+
property :name, as: 'name'
|
243
|
+
property :value, as: 'value'
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
225
247
|
class ListCrawledUrlsResponse
|
226
248
|
# @private
|
227
249
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -335,6 +357,16 @@ module Google
|
|
335
357
|
end
|
336
358
|
end
|
337
359
|
|
360
|
+
class VulnerableHeaders
|
361
|
+
# @private
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
363
|
+
collection :headers, as: 'headers', class: Google::Apis::WebsecurityscannerV1alpha::Header, decorator: Google::Apis::WebsecurityscannerV1alpha::Header::Representation
|
364
|
+
|
365
|
+
collection :missing_headers, as: 'missingHeaders', class: Google::Apis::WebsecurityscannerV1alpha::Header, decorator: Google::Apis::WebsecurityscannerV1alpha::Header::Representation
|
366
|
+
|
367
|
+
end
|
368
|
+
end
|
369
|
+
|
338
370
|
class VulnerableParameters
|
339
371
|
# @private
|
340
372
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see http://developers.google.com/youtube/analytics/
|
26
26
|
module YoutubeAnalyticsV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = ''
|
28
|
+
REVISION = '20180805'
|
29
29
|
|
30
30
|
# Manage your YouTube account
|
31
31
|
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/youtube/partner/
|
26
26
|
module YoutubePartnerV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = ''
|
28
|
+
REVISION = '20180813'
|
29
29
|
|
30
30
|
# View and manage your assets and associated content on YouTube
|
31
31
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
@@ -99,7 +99,7 @@ module Google
|
|
99
99
|
# NotFound, etc
|
100
100
|
auth_tries = (try == 1 && authorization_refreshable? ? 2 : 1)
|
101
101
|
Retriable.retriable tries: auth_tries,
|
102
|
-
on: [Google::Apis::AuthorizationError, Signet::AuthorizationError],
|
102
|
+
on: [Google::Apis::AuthorizationError, Signet::AuthorizationError, Signet::RemoteServerError],
|
103
103
|
on_retry: proc { |*| refresh_authorization } do
|
104
104
|
execute_once(client).tap do |result|
|
105
105
|
if block_given?
|
data/lib/google/apis/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.23.
|
4
|
+
version: 0.23.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Bazyl
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2018-
|
14
|
+
date: 2018-08-22 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: representable
|
@@ -319,6 +319,10 @@ files:
|
|
319
319
|
- generated/google/apis/bigquerydatatransfer_v1/classes.rb
|
320
320
|
- generated/google/apis/bigquerydatatransfer_v1/representations.rb
|
321
321
|
- generated/google/apis/bigquerydatatransfer_v1/service.rb
|
322
|
+
- generated/google/apis/binaryauthorization_v1beta1.rb
|
323
|
+
- generated/google/apis/binaryauthorization_v1beta1/classes.rb
|
324
|
+
- generated/google/apis/binaryauthorization_v1beta1/representations.rb
|
325
|
+
- generated/google/apis/binaryauthorization_v1beta1/service.rb
|
322
326
|
- generated/google/apis/blogger_v2.rb
|
323
327
|
- generated/google/apis/blogger_v2/classes.rb
|
324
328
|
- generated/google/apis/blogger_v2/representations.rb
|
@@ -423,6 +427,10 @@ files:
|
|
423
427
|
- generated/google/apis/cloudtrace_v2/classes.rb
|
424
428
|
- generated/google/apis/cloudtrace_v2/representations.rb
|
425
429
|
- generated/google/apis/cloudtrace_v2/service.rb
|
430
|
+
- generated/google/apis/composer_v1.rb
|
431
|
+
- generated/google/apis/composer_v1/classes.rb
|
432
|
+
- generated/google/apis/composer_v1/representations.rb
|
433
|
+
- generated/google/apis/composer_v1/service.rb
|
426
434
|
- generated/google/apis/composer_v1beta1.rb
|
427
435
|
- generated/google/apis/composer_v1beta1/classes.rb
|
428
436
|
- generated/google/apis/composer_v1beta1/representations.rb
|
@@ -507,6 +515,10 @@ files:
|
|
507
515
|
- generated/google/apis/dfareporting_v3_1/classes.rb
|
508
516
|
- generated/google/apis/dfareporting_v3_1/representations.rb
|
509
517
|
- generated/google/apis/dfareporting_v3_1/service.rb
|
518
|
+
- generated/google/apis/dfareporting_v3_2.rb
|
519
|
+
- generated/google/apis/dfareporting_v3_2/classes.rb
|
520
|
+
- generated/google/apis/dfareporting_v3_2/representations.rb
|
521
|
+
- generated/google/apis/dfareporting_v3_2/service.rb
|
510
522
|
- generated/google/apis/dialogflow_v2.rb
|
511
523
|
- generated/google/apis/dialogflow_v2/classes.rb
|
512
524
|
- generated/google/apis/dialogflow_v2/representations.rb
|
@@ -563,10 +575,18 @@ files:
|
|
563
575
|
- generated/google/apis/firebaserules_v1/classes.rb
|
564
576
|
- generated/google/apis/firebaserules_v1/representations.rb
|
565
577
|
- generated/google/apis/firebaserules_v1/service.rb
|
578
|
+
- generated/google/apis/firestore_v1.rb
|
579
|
+
- generated/google/apis/firestore_v1/classes.rb
|
580
|
+
- generated/google/apis/firestore_v1/representations.rb
|
581
|
+
- generated/google/apis/firestore_v1/service.rb
|
566
582
|
- generated/google/apis/firestore_v1beta1.rb
|
567
583
|
- generated/google/apis/firestore_v1beta1/classes.rb
|
568
584
|
- generated/google/apis/firestore_v1beta1/representations.rb
|
569
585
|
- generated/google/apis/firestore_v1beta1/service.rb
|
586
|
+
- generated/google/apis/firestore_v1beta2.rb
|
587
|
+
- generated/google/apis/firestore_v1beta2/classes.rb
|
588
|
+
- generated/google/apis/firestore_v1beta2/representations.rb
|
589
|
+
- generated/google/apis/firestore_v1beta2/service.rb
|
570
590
|
- generated/google/apis/fitness_v1.rb
|
571
591
|
- generated/google/apis/fitness_v1/classes.rb
|
572
592
|
- generated/google/apis/fitness_v1/representations.rb
|
@@ -623,6 +643,10 @@ files:
|
|
623
643
|
- generated/google/apis/iamcredentials_v1/classes.rb
|
624
644
|
- generated/google/apis/iamcredentials_v1/representations.rb
|
625
645
|
- generated/google/apis/iamcredentials_v1/service.rb
|
646
|
+
- generated/google/apis/iap_v1beta1.rb
|
647
|
+
- generated/google/apis/iap_v1beta1/classes.rb
|
648
|
+
- generated/google/apis/iap_v1beta1/representations.rb
|
649
|
+
- generated/google/apis/iap_v1beta1/service.rb
|
626
650
|
- generated/google/apis/identitytoolkit_v3.rb
|
627
651
|
- generated/google/apis/identitytoolkit_v3/classes.rb
|
628
652
|
- generated/google/apis/identitytoolkit_v3/representations.rb
|
@@ -847,10 +871,6 @@ files:
|
|
847
871
|
- generated/google/apis/spanner_v1/classes.rb
|
848
872
|
- generated/google/apis/spanner_v1/representations.rb
|
849
873
|
- generated/google/apis/spanner_v1/service.rb
|
850
|
-
- generated/google/apis/spectrum_v1explorer.rb
|
851
|
-
- generated/google/apis/spectrum_v1explorer/classes.rb
|
852
|
-
- generated/google/apis/spectrum_v1explorer/representations.rb
|
853
|
-
- generated/google/apis/spectrum_v1explorer/service.rb
|
854
874
|
- generated/google/apis/speech_v1.rb
|
855
875
|
- generated/google/apis/speech_v1/classes.rb
|
856
876
|
- generated/google/apis/speech_v1/representations.rb
|
@@ -859,6 +879,10 @@ files:
|
|
859
879
|
- generated/google/apis/speech_v1beta1/classes.rb
|
860
880
|
- generated/google/apis/speech_v1beta1/representations.rb
|
861
881
|
- generated/google/apis/speech_v1beta1/service.rb
|
882
|
+
- generated/google/apis/sqladmin_v1beta3.rb
|
883
|
+
- generated/google/apis/sqladmin_v1beta3/classes.rb
|
884
|
+
- generated/google/apis/sqladmin_v1beta3/representations.rb
|
885
|
+
- generated/google/apis/sqladmin_v1beta3/service.rb
|
862
886
|
- generated/google/apis/sqladmin_v1beta4.rb
|
863
887
|
- generated/google/apis/sqladmin_v1beta4/classes.rb
|
864
888
|
- generated/google/apis/sqladmin_v1beta4/representations.rb
|
@@ -903,6 +927,10 @@ files:
|
|
903
927
|
- generated/google/apis/testing_v1/classes.rb
|
904
928
|
- generated/google/apis/testing_v1/representations.rb
|
905
929
|
- generated/google/apis/testing_v1/service.rb
|
930
|
+
- generated/google/apis/texttospeech_v1.rb
|
931
|
+
- generated/google/apis/texttospeech_v1/classes.rb
|
932
|
+
- generated/google/apis/texttospeech_v1/representations.rb
|
933
|
+
- generated/google/apis/texttospeech_v1/service.rb
|
906
934
|
- generated/google/apis/texttospeech_v1beta1.rb
|
907
935
|
- generated/google/apis/texttospeech_v1beta1/classes.rb
|
908
936
|
- generated/google/apis/texttospeech_v1beta1/representations.rb
|
@@ -1,1612 +0,0 @@
|
|
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 SpectrumV1explorer
|
24
|
-
|
25
|
-
# Antenna characteristics provide additional information, such as the antenna
|
26
|
-
# height, antenna type, etc. Whether antenna characteristics must be provided in
|
27
|
-
# a request depends on the device type and regulatory domain.
|
28
|
-
class AntennaCharacteristics
|
29
|
-
include Google::Apis::Core::Hashable
|
30
|
-
|
31
|
-
# The antenna height in meters. Whether the antenna height is required depends
|
32
|
-
# on the device type and the regulatory domain. Note that the height may be
|
33
|
-
# negative.
|
34
|
-
# Corresponds to the JSON property `height`
|
35
|
-
# @return [Float]
|
36
|
-
attr_accessor :height
|
37
|
-
|
38
|
-
# If the height is required, then the height type (AGL for above ground level or
|
39
|
-
# AMSL for above mean sea level) is also required. The default is AGL.
|
40
|
-
# Corresponds to the JSON property `heightType`
|
41
|
-
# @return [String]
|
42
|
-
attr_accessor :height_type
|
43
|
-
|
44
|
-
# The height uncertainty in meters. Whether this is required depends on the
|
45
|
-
# regulatory domain.
|
46
|
-
# Corresponds to the JSON property `heightUncertainty`
|
47
|
-
# @return [Float]
|
48
|
-
attr_accessor :height_uncertainty
|
49
|
-
|
50
|
-
def initialize(**args)
|
51
|
-
update!(**args)
|
52
|
-
end
|
53
|
-
|
54
|
-
# Update properties of this object
|
55
|
-
def update!(**args)
|
56
|
-
@height = args[:height] if args.key?(:height)
|
57
|
-
@height_type = args[:height_type] if args.key?(:height_type)
|
58
|
-
@height_uncertainty = args[:height_uncertainty] if args.key?(:height_uncertainty)
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
# This message contains the name and URI of a database.
|
63
|
-
class DatabaseSpec
|
64
|
-
include Google::Apis::Core::Hashable
|
65
|
-
|
66
|
-
# The display name for a database.
|
67
|
-
# Corresponds to the JSON property `name`
|
68
|
-
# @return [String]
|
69
|
-
attr_accessor :name
|
70
|
-
|
71
|
-
# The corresponding URI of the database.
|
72
|
-
# Corresponds to the JSON property `uri`
|
73
|
-
# @return [String]
|
74
|
-
attr_accessor :uri
|
75
|
-
|
76
|
-
def initialize(**args)
|
77
|
-
update!(**args)
|
78
|
-
end
|
79
|
-
|
80
|
-
# Update properties of this object
|
81
|
-
def update!(**args)
|
82
|
-
@name = args[:name] if args.key?(:name)
|
83
|
-
@uri = args[:uri] if args.key?(:uri)
|
84
|
-
end
|
85
|
-
end
|
86
|
-
|
87
|
-
# This message is provided by the database to notify devices of an upcoming
|
88
|
-
# change to the database URI.
|
89
|
-
class DbUpdateSpec
|
90
|
-
include Google::Apis::Core::Hashable
|
91
|
-
|
92
|
-
# A required list of one or more databases. A device should update its
|
93
|
-
# preconfigured list of databases to replace (only) the database that provided
|
94
|
-
# the response with the specified entries.
|
95
|
-
# Corresponds to the JSON property `databases`
|
96
|
-
# @return [Array<Google::Apis::SpectrumV1explorer::DatabaseSpec>]
|
97
|
-
attr_accessor :databases
|
98
|
-
|
99
|
-
def initialize(**args)
|
100
|
-
update!(**args)
|
101
|
-
end
|
102
|
-
|
103
|
-
# Update properties of this object
|
104
|
-
def update!(**args)
|
105
|
-
@databases = args[:databases] if args.key?(:databases)
|
106
|
-
end
|
107
|
-
end
|
108
|
-
|
109
|
-
# Device capabilities provide additional information that may be used by a
|
110
|
-
# device to provide additional information to the database that may help it to
|
111
|
-
# determine available spectrum. If the database does not support device
|
112
|
-
# capabilities it will ignore the parameter altogether.
|
113
|
-
class DeviceCapabilities
|
114
|
-
include Google::Apis::Core::Hashable
|
115
|
-
|
116
|
-
# An optional list of frequency ranges supported by the device. Each element
|
117
|
-
# must contain start and stop frequencies in which the device can operate.
|
118
|
-
# Channel identifiers are optional. When specified, the database should not
|
119
|
-
# return available spectrum that falls outside these ranges or channel IDs.
|
120
|
-
# Corresponds to the JSON property `frequencyRanges`
|
121
|
-
# @return [Array<Google::Apis::SpectrumV1explorer::FrequencyRange>]
|
122
|
-
attr_accessor :frequency_ranges
|
123
|
-
|
124
|
-
def initialize(**args)
|
125
|
-
update!(**args)
|
126
|
-
end
|
127
|
-
|
128
|
-
# Update properties of this object
|
129
|
-
def update!(**args)
|
130
|
-
@frequency_ranges = args[:frequency_ranges] if args.key?(:frequency_ranges)
|
131
|
-
end
|
132
|
-
end
|
133
|
-
|
134
|
-
# The device descriptor contains parameters that identify the specific device,
|
135
|
-
# such as its manufacturer serial number, regulatory-specific identifier (e.g.,
|
136
|
-
# FCC ID), and any other device characteristics required by regulatory domains.
|
137
|
-
class DeviceDescriptor
|
138
|
-
include Google::Apis::Core::Hashable
|
139
|
-
|
140
|
-
# Specifies the ETSI white space device category. Valid values are the strings
|
141
|
-
# master and slave. This field is case-insensitive. Consult the ETSI
|
142
|
-
# documentation for details about the device types.
|
143
|
-
# Corresponds to the JSON property `etsiEnDeviceCategory`
|
144
|
-
# @return [String]
|
145
|
-
attr_accessor :etsi_en_device_category
|
146
|
-
|
147
|
-
# Specifies the ETSI white space device emissions class. The values are
|
148
|
-
# represented by numeric strings, such as 1, 2, etc. Consult the ETSI
|
149
|
-
# documentation for details about the device types.
|
150
|
-
# Corresponds to the JSON property `etsiEnDeviceEmissionsClass`
|
151
|
-
# @return [String]
|
152
|
-
attr_accessor :etsi_en_device_emissions_class
|
153
|
-
|
154
|
-
# Specifies the ETSI white space device type. Valid values are single-letter
|
155
|
-
# strings, such as A, B, etc. Consult the ETSI documentation for details about
|
156
|
-
# the device types.
|
157
|
-
# Corresponds to the JSON property `etsiEnDeviceType`
|
158
|
-
# @return [String]
|
159
|
-
attr_accessor :etsi_en_device_type
|
160
|
-
|
161
|
-
# Specifies the ETSI white space device technology identifier. The string value
|
162
|
-
# must not exceed 64 characters in length. Consult the ETSI documentation for
|
163
|
-
# details about the device types.
|
164
|
-
# Corresponds to the JSON property `etsiEnTechnologyId`
|
165
|
-
# @return [String]
|
166
|
-
attr_accessor :etsi_en_technology_id
|
167
|
-
|
168
|
-
# Specifies the device's FCC certification identifier. The value is an
|
169
|
-
# identifier string whose length should not exceed 32 characters. Note that, in
|
170
|
-
# practice, a valid FCC ID may be limited to 19 characters.
|
171
|
-
# Corresponds to the JSON property `fccId`
|
172
|
-
# @return [String]
|
173
|
-
attr_accessor :fcc_id
|
174
|
-
|
175
|
-
# Specifies the TV Band White Space device type, as defined by the FCC. Valid
|
176
|
-
# values are FIXED, MODE_1, MODE_2.
|
177
|
-
# Corresponds to the JSON property `fccTvbdDeviceType`
|
178
|
-
# @return [String]
|
179
|
-
attr_accessor :fcc_tvbd_device_type
|
180
|
-
|
181
|
-
# The manufacturer's ID may be required by the regulatory domain. This should
|
182
|
-
# represent the name of the device manufacturer, should be consistent across all
|
183
|
-
# devices from the same manufacturer, and should be distinct from that of other
|
184
|
-
# manufacturers. The string value must not exceed 64 characters in length.
|
185
|
-
# Corresponds to the JSON property `manufacturerId`
|
186
|
-
# @return [String]
|
187
|
-
attr_accessor :manufacturer_id
|
188
|
-
|
189
|
-
# The device's model ID may be required by the regulatory domain. The string
|
190
|
-
# value must not exceed 64 characters in length.
|
191
|
-
# Corresponds to the JSON property `modelId`
|
192
|
-
# @return [String]
|
193
|
-
attr_accessor :model_id
|
194
|
-
|
195
|
-
# The list of identifiers for rulesets supported by the device. A database may
|
196
|
-
# require that the device provide this list before servicing the device requests.
|
197
|
-
# If the database does not support any of the rulesets specified in the list,
|
198
|
-
# the database may refuse to service the device requests. If present, the list
|
199
|
-
# must contain at least one entry.
|
200
|
-
# For information about the valid requests, see section 9.2 of the PAWS
|
201
|
-
# specification. Currently, FccTvBandWhiteSpace-2010 is the only supported
|
202
|
-
# ruleset.
|
203
|
-
# Corresponds to the JSON property `rulesetIds`
|
204
|
-
# @return [Array<String>]
|
205
|
-
attr_accessor :ruleset_ids
|
206
|
-
|
207
|
-
# The manufacturer's device serial number; required by the applicable regulatory
|
208
|
-
# domain. The length of the value must not exceed 64 characters.
|
209
|
-
# Corresponds to the JSON property `serialNumber`
|
210
|
-
# @return [String]
|
211
|
-
attr_accessor :serial_number
|
212
|
-
|
213
|
-
def initialize(**args)
|
214
|
-
update!(**args)
|
215
|
-
end
|
216
|
-
|
217
|
-
# Update properties of this object
|
218
|
-
def update!(**args)
|
219
|
-
@etsi_en_device_category = args[:etsi_en_device_category] if args.key?(:etsi_en_device_category)
|
220
|
-
@etsi_en_device_emissions_class = args[:etsi_en_device_emissions_class] if args.key?(:etsi_en_device_emissions_class)
|
221
|
-
@etsi_en_device_type = args[:etsi_en_device_type] if args.key?(:etsi_en_device_type)
|
222
|
-
@etsi_en_technology_id = args[:etsi_en_technology_id] if args.key?(:etsi_en_technology_id)
|
223
|
-
@fcc_id = args[:fcc_id] if args.key?(:fcc_id)
|
224
|
-
@fcc_tvbd_device_type = args[:fcc_tvbd_device_type] if args.key?(:fcc_tvbd_device_type)
|
225
|
-
@manufacturer_id = args[:manufacturer_id] if args.key?(:manufacturer_id)
|
226
|
-
@model_id = args[:model_id] if args.key?(:model_id)
|
227
|
-
@ruleset_ids = args[:ruleset_ids] if args.key?(:ruleset_ids)
|
228
|
-
@serial_number = args[:serial_number] if args.key?(:serial_number)
|
229
|
-
end
|
230
|
-
end
|
231
|
-
|
232
|
-
# This parameter contains device-owner information required as part of device
|
233
|
-
# registration. The regulatory domains may require additional parameters.
|
234
|
-
# All contact information must be expressed using the structure defined by the
|
235
|
-
# vCard format specification. Only the contact fields of vCard are supported:
|
236
|
-
# - fn: Full name of an individual
|
237
|
-
# - org: Name of the organization
|
238
|
-
# - adr: Address fields
|
239
|
-
# - tel: Telephone numbers
|
240
|
-
# - email: Email addresses
|
241
|
-
# Note that the vCard specification defines maximum lengths for each field.
|
242
|
-
class DeviceOwner
|
243
|
-
include Google::Apis::Core::Hashable
|
244
|
-
|
245
|
-
# A vCard-in-JSON message that contains only the fields needed for PAWS:
|
246
|
-
# - fn: Full name of an individual
|
247
|
-
# - org: Name of the organization
|
248
|
-
# - adr: Address fields
|
249
|
-
# - tel: Telephone numbers
|
250
|
-
# - email: Email addresses
|
251
|
-
# Corresponds to the JSON property `operator`
|
252
|
-
# @return [Google::Apis::SpectrumV1explorer::Vcard]
|
253
|
-
attr_accessor :operator
|
254
|
-
|
255
|
-
# A vCard-in-JSON message that contains only the fields needed for PAWS:
|
256
|
-
# - fn: Full name of an individual
|
257
|
-
# - org: Name of the organization
|
258
|
-
# - adr: Address fields
|
259
|
-
# - tel: Telephone numbers
|
260
|
-
# - email: Email addresses
|
261
|
-
# Corresponds to the JSON property `owner`
|
262
|
-
# @return [Google::Apis::SpectrumV1explorer::Vcard]
|
263
|
-
attr_accessor :owner
|
264
|
-
|
265
|
-
def initialize(**args)
|
266
|
-
update!(**args)
|
267
|
-
end
|
268
|
-
|
269
|
-
# Update properties of this object
|
270
|
-
def update!(**args)
|
271
|
-
@operator = args[:operator] if args.key?(:operator)
|
272
|
-
@owner = args[:owner] if args.key?(:owner)
|
273
|
-
end
|
274
|
-
end
|
275
|
-
|
276
|
-
# The device validity element describes whether a particular device is valid to
|
277
|
-
# operate in the regulatory domain.
|
278
|
-
class DeviceValidity
|
279
|
-
include Google::Apis::Core::Hashable
|
280
|
-
|
281
|
-
# The device descriptor contains parameters that identify the specific device,
|
282
|
-
# such as its manufacturer serial number, regulatory-specific identifier (e.g.,
|
283
|
-
# FCC ID), and any other device characteristics required by regulatory domains.
|
284
|
-
# Corresponds to the JSON property `deviceDesc`
|
285
|
-
# @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor]
|
286
|
-
attr_accessor :device_desc
|
287
|
-
|
288
|
-
# The validity status: true if the device is valid for operation, false
|
289
|
-
# otherwise. It will always be present.
|
290
|
-
# Corresponds to the JSON property `isValid`
|
291
|
-
# @return [Boolean]
|
292
|
-
attr_accessor :is_valid
|
293
|
-
alias_method :is_valid?, :is_valid
|
294
|
-
|
295
|
-
# If the device identifier is not valid, the database may include a reason. The
|
296
|
-
# reason may be in any language. The length of the value should not exceed 128
|
297
|
-
# characters.
|
298
|
-
# Corresponds to the JSON property `reason`
|
299
|
-
# @return [String]
|
300
|
-
attr_accessor :reason
|
301
|
-
|
302
|
-
def initialize(**args)
|
303
|
-
update!(**args)
|
304
|
-
end
|
305
|
-
|
306
|
-
# Update properties of this object
|
307
|
-
def update!(**args)
|
308
|
-
@device_desc = args[:device_desc] if args.key?(:device_desc)
|
309
|
-
@is_valid = args[:is_valid] if args.key?(:is_valid)
|
310
|
-
@reason = args[:reason] if args.key?(:reason)
|
311
|
-
end
|
312
|
-
end
|
313
|
-
|
314
|
-
# The start and stop times of an event. This is used to indicate the time period
|
315
|
-
# for which a spectrum profile is valid.
|
316
|
-
# Both times are expressed using the format, YYYY-MM-DDThh:mm:ssZ, as defined in
|
317
|
-
# RFC3339. The times must be expressed using UTC.
|
318
|
-
class EventTime
|
319
|
-
include Google::Apis::Core::Hashable
|
320
|
-
|
321
|
-
# The inclusive start of the event. It will be present.
|
322
|
-
# Corresponds to the JSON property `startTime`
|
323
|
-
# @return [String]
|
324
|
-
attr_accessor :start_time
|
325
|
-
|
326
|
-
# The exclusive end of the event. It will be present.
|
327
|
-
# Corresponds to the JSON property `stopTime`
|
328
|
-
# @return [String]
|
329
|
-
attr_accessor :stop_time
|
330
|
-
|
331
|
-
def initialize(**args)
|
332
|
-
update!(**args)
|
333
|
-
end
|
334
|
-
|
335
|
-
# Update properties of this object
|
336
|
-
def update!(**args)
|
337
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
338
|
-
@stop_time = args[:stop_time] if args.key?(:stop_time)
|
339
|
-
end
|
340
|
-
end
|
341
|
-
|
342
|
-
# A specific range of frequencies together with the associated maximum power
|
343
|
-
# level and channel identifier.
|
344
|
-
class FrequencyRange
|
345
|
-
include Google::Apis::Core::Hashable
|
346
|
-
|
347
|
-
# The database may include a channel identifier, when applicable. When it is
|
348
|
-
# included, the device should treat it as informative. The length of the
|
349
|
-
# identifier should not exceed 16 characters.
|
350
|
-
# Corresponds to the JSON property `channelId`
|
351
|
-
# @return [String]
|
352
|
-
attr_accessor :channel_id
|
353
|
-
|
354
|
-
# The maximum total power level (EIRP)—computed over the corresponding operating
|
355
|
-
# bandwidth—that is permitted within the frequency range. Depending on the
|
356
|
-
# context in which the frequency-range element appears, this value may be
|
357
|
-
# required. For example, it is required in the available-spectrum response,
|
358
|
-
# available-spectrum-batch response, and spectrum-use notification message, but
|
359
|
-
# it should not be present (it is not applicable) when the frequency range
|
360
|
-
# appears inside a device-capabilities message.
|
361
|
-
# Corresponds to the JSON property `maxPowerDBm`
|
362
|
-
# @return [Float]
|
363
|
-
attr_accessor :max_power_d_bm
|
364
|
-
|
365
|
-
# The required inclusive start of the frequency range (in Hertz).
|
366
|
-
# Corresponds to the JSON property `startHz`
|
367
|
-
# @return [Float]
|
368
|
-
attr_accessor :start_hz
|
369
|
-
|
370
|
-
# The required exclusive end of the frequency range (in Hertz).
|
371
|
-
# Corresponds to the JSON property `stopHz`
|
372
|
-
# @return [Float]
|
373
|
-
attr_accessor :stop_hz
|
374
|
-
|
375
|
-
def initialize(**args)
|
376
|
-
update!(**args)
|
377
|
-
end
|
378
|
-
|
379
|
-
# Update properties of this object
|
380
|
-
def update!(**args)
|
381
|
-
@channel_id = args[:channel_id] if args.key?(:channel_id)
|
382
|
-
@max_power_d_bm = args[:max_power_d_bm] if args.key?(:max_power_d_bm)
|
383
|
-
@start_hz = args[:start_hz] if args.key?(:start_hz)
|
384
|
-
@stop_hz = args[:stop_hz] if args.key?(:stop_hz)
|
385
|
-
end
|
386
|
-
end
|
387
|
-
|
388
|
-
# This parameter is used to specify the geolocation of the device.
|
389
|
-
class GeoLocation
|
390
|
-
include Google::Apis::Core::Hashable
|
391
|
-
|
392
|
-
# The location confidence level, as an integer percentage, may be required,
|
393
|
-
# depending on the regulatory domain. When the parameter is optional and not
|
394
|
-
# provided, its value is assumed to be 95. Valid values range from 0 to 99,
|
395
|
-
# since, in practice, 100-percent confidence is not achievable. The confidence
|
396
|
-
# value is meaningful only when geolocation refers to a point with uncertainty.
|
397
|
-
# Corresponds to the JSON property `confidence`
|
398
|
-
# @return [Fixnum]
|
399
|
-
attr_accessor :confidence
|
400
|
-
|
401
|
-
# A "point" with uncertainty is represented using the Ellipse shape.
|
402
|
-
# Corresponds to the JSON property `point`
|
403
|
-
# @return [Google::Apis::SpectrumV1explorer::GeoLocationEllipse]
|
404
|
-
attr_accessor :point
|
405
|
-
|
406
|
-
# A region is represented using the polygonal shape.
|
407
|
-
# Corresponds to the JSON property `region`
|
408
|
-
# @return [Google::Apis::SpectrumV1explorer::GeoLocationPolygon]
|
409
|
-
attr_accessor :region
|
410
|
-
|
411
|
-
def initialize(**args)
|
412
|
-
update!(**args)
|
413
|
-
end
|
414
|
-
|
415
|
-
# Update properties of this object
|
416
|
-
def update!(**args)
|
417
|
-
@confidence = args[:confidence] if args.key?(:confidence)
|
418
|
-
@point = args[:point] if args.key?(:point)
|
419
|
-
@region = args[:region] if args.key?(:region)
|
420
|
-
end
|
421
|
-
end
|
422
|
-
|
423
|
-
# A "point" with uncertainty is represented using the Ellipse shape.
|
424
|
-
class GeoLocationEllipse
|
425
|
-
include Google::Apis::Core::Hashable
|
426
|
-
|
427
|
-
# A single geolocation on the globe.
|
428
|
-
# Corresponds to the JSON property `center`
|
429
|
-
# @return [Google::Apis::SpectrumV1explorer::GeoLocationPoint]
|
430
|
-
attr_accessor :center
|
431
|
-
|
432
|
-
# A floating-point number that expresses the orientation of the ellipse,
|
433
|
-
# representing the rotation, in degrees, of the semi-major axis from North
|
434
|
-
# towards the East. For example, when the uncertainty is greatest along the
|
435
|
-
# North-South direction, orientation is 0 degrees; conversely, if the
|
436
|
-
# uncertainty is greatest along the East-West direction, orientation is 90
|
437
|
-
# degrees. When orientation is not present, the orientation is assumed to be 0.
|
438
|
-
# Corresponds to the JSON property `orientation`
|
439
|
-
# @return [Float]
|
440
|
-
attr_accessor :orientation
|
441
|
-
|
442
|
-
# A floating-point number that expresses the location uncertainty along the
|
443
|
-
# major axis of the ellipse. May be required by the regulatory domain. When the
|
444
|
-
# uncertainty is optional, the default value is 0.
|
445
|
-
# Corresponds to the JSON property `semiMajorAxis`
|
446
|
-
# @return [Float]
|
447
|
-
attr_accessor :semi_major_axis
|
448
|
-
|
449
|
-
# A floating-point number that expresses the location uncertainty along the
|
450
|
-
# minor axis of the ellipse. May be required by the regulatory domain. When the
|
451
|
-
# uncertainty is optional, the default value is 0.
|
452
|
-
# Corresponds to the JSON property `semiMinorAxis`
|
453
|
-
# @return [Float]
|
454
|
-
attr_accessor :semi_minor_axis
|
455
|
-
|
456
|
-
def initialize(**args)
|
457
|
-
update!(**args)
|
458
|
-
end
|
459
|
-
|
460
|
-
# Update properties of this object
|
461
|
-
def update!(**args)
|
462
|
-
@center = args[:center] if args.key?(:center)
|
463
|
-
@orientation = args[:orientation] if args.key?(:orientation)
|
464
|
-
@semi_major_axis = args[:semi_major_axis] if args.key?(:semi_major_axis)
|
465
|
-
@semi_minor_axis = args[:semi_minor_axis] if args.key?(:semi_minor_axis)
|
466
|
-
end
|
467
|
-
end
|
468
|
-
|
469
|
-
# A single geolocation on the globe.
|
470
|
-
class GeoLocationPoint
|
471
|
-
include Google::Apis::Core::Hashable
|
472
|
-
|
473
|
-
# A required floating-point number that expresses the latitude in degrees using
|
474
|
-
# the WGS84 datum. For details on this encoding, see the National Imagery and
|
475
|
-
# Mapping Agency's Technical Report TR8350.2.
|
476
|
-
# Corresponds to the JSON property `latitude`
|
477
|
-
# @return [Float]
|
478
|
-
attr_accessor :latitude
|
479
|
-
|
480
|
-
# A required floating-point number that expresses the longitude in degrees using
|
481
|
-
# the WGS84 datum. For details on this encoding, see the National Imagery and
|
482
|
-
# Mapping Agency's Technical Report TR8350.2.
|
483
|
-
# Corresponds to the JSON property `longitude`
|
484
|
-
# @return [Float]
|
485
|
-
attr_accessor :longitude
|
486
|
-
|
487
|
-
def initialize(**args)
|
488
|
-
update!(**args)
|
489
|
-
end
|
490
|
-
|
491
|
-
# Update properties of this object
|
492
|
-
def update!(**args)
|
493
|
-
@latitude = args[:latitude] if args.key?(:latitude)
|
494
|
-
@longitude = args[:longitude] if args.key?(:longitude)
|
495
|
-
end
|
496
|
-
end
|
497
|
-
|
498
|
-
# A region is represented using the polygonal shape.
|
499
|
-
class GeoLocationPolygon
|
500
|
-
include Google::Apis::Core::Hashable
|
501
|
-
|
502
|
-
# When the geolocation describes a region, the exterior field refers to a list
|
503
|
-
# of latitude/longitude points that represent the vertices of a polygon. The
|
504
|
-
# first and last points must be the same. Thus, a minimum of four points is
|
505
|
-
# required. The following polygon restrictions from RFC5491 apply:
|
506
|
-
# - A connecting line shall not cross another connecting line of the same
|
507
|
-
# polygon.
|
508
|
-
# - The vertices must be defined in a counterclockwise order.
|
509
|
-
# - The edges of a polygon are defined by the shortest path between two points
|
510
|
-
# in space (not a geodesic curve). Consequently, the length between two adjacent
|
511
|
-
# vertices should be restricted to a maximum of 130 km.
|
512
|
-
# - All vertices are assumed to be at the same altitude.
|
513
|
-
# - Polygon shapes should be restricted to a maximum of 15 vertices (16 points
|
514
|
-
# that include the repeated vertex).
|
515
|
-
# Corresponds to the JSON property `exterior`
|
516
|
-
# @return [Array<Google::Apis::SpectrumV1explorer::GeoLocationPoint>]
|
517
|
-
attr_accessor :exterior
|
518
|
-
|
519
|
-
def initialize(**args)
|
520
|
-
update!(**args)
|
521
|
-
end
|
522
|
-
|
523
|
-
# Update properties of this object
|
524
|
-
def update!(**args)
|
525
|
-
@exterior = args[:exterior] if args.key?(:exterior)
|
526
|
-
end
|
527
|
-
end
|
528
|
-
|
529
|
-
# The schedule of spectrum profiles available at a particular geolocation.
|
530
|
-
class GeoSpectrumSchedule
|
531
|
-
include Google::Apis::Core::Hashable
|
532
|
-
|
533
|
-
# This parameter is used to specify the geolocation of the device.
|
534
|
-
# Corresponds to the JSON property `location`
|
535
|
-
# @return [Google::Apis::SpectrumV1explorer::GeoLocation]
|
536
|
-
attr_accessor :location
|
537
|
-
|
538
|
-
# A list of available spectrum profiles and associated times. It will always be
|
539
|
-
# present, and at least one schedule must be included (though it may be empty if
|
540
|
-
# there is no available spectrum). More than one schedule may be included to
|
541
|
-
# represent future changes to the available spectrum.
|
542
|
-
# Corresponds to the JSON property `spectrumSchedules`
|
543
|
-
# @return [Array<Google::Apis::SpectrumV1explorer::SpectrumSchedule>]
|
544
|
-
attr_accessor :spectrum_schedules
|
545
|
-
|
546
|
-
def initialize(**args)
|
547
|
-
update!(**args)
|
548
|
-
end
|
549
|
-
|
550
|
-
# Update properties of this object
|
551
|
-
def update!(**args)
|
552
|
-
@location = args[:location] if args.key?(:location)
|
553
|
-
@spectrum_schedules = args[:spectrum_schedules] if args.key?(:spectrum_schedules)
|
554
|
-
end
|
555
|
-
end
|
556
|
-
|
557
|
-
# The request message for a batch available spectrum query protocol.
|
558
|
-
class PawsGetSpectrumBatchRequest
|
559
|
-
include Google::Apis::Core::Hashable
|
560
|
-
|
561
|
-
# Antenna characteristics provide additional information, such as the antenna
|
562
|
-
# height, antenna type, etc. Whether antenna characteristics must be provided in
|
563
|
-
# a request depends on the device type and regulatory domain.
|
564
|
-
# Corresponds to the JSON property `antenna`
|
565
|
-
# @return [Google::Apis::SpectrumV1explorer::AntennaCharacteristics]
|
566
|
-
attr_accessor :antenna
|
567
|
-
|
568
|
-
# Device capabilities provide additional information that may be used by a
|
569
|
-
# device to provide additional information to the database that may help it to
|
570
|
-
# determine available spectrum. If the database does not support device
|
571
|
-
# capabilities it will ignore the parameter altogether.
|
572
|
-
# Corresponds to the JSON property `capabilities`
|
573
|
-
# @return [Google::Apis::SpectrumV1explorer::DeviceCapabilities]
|
574
|
-
attr_accessor :capabilities
|
575
|
-
|
576
|
-
# The device descriptor contains parameters that identify the specific device,
|
577
|
-
# such as its manufacturer serial number, regulatory-specific identifier (e.g.,
|
578
|
-
# FCC ID), and any other device characteristics required by regulatory domains.
|
579
|
-
# Corresponds to the JSON property `deviceDesc`
|
580
|
-
# @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor]
|
581
|
-
attr_accessor :device_desc
|
582
|
-
|
583
|
-
# A geolocation list is required. This allows a device to specify its current
|
584
|
-
# location plus additional anticipated locations when allowed by the regulatory
|
585
|
-
# domain. At least one location must be included. Geolocation must be given as
|
586
|
-
# the location of the radiation center of the device's antenna. If a location
|
587
|
-
# specifies a region, rather than a point, the database may return an
|
588
|
-
# UNIMPLEMENTED error if it does not support query by region.
|
589
|
-
# There is no upper limit on the number of locations included in a available
|
590
|
-
# spectrum batch request, but the database may restrict the number of locations
|
591
|
-
# it supports by returning a response with fewer locations than specified in the
|
592
|
-
# batch request. Note that geolocations must be those of the master device (a
|
593
|
-
# device with geolocation capability that makes an available spectrum batch
|
594
|
-
# request), whether the master device is making the request on its own behalf or
|
595
|
-
# on behalf of a slave device (one without geolocation capability).
|
596
|
-
# Corresponds to the JSON property `locations`
|
597
|
-
# @return [Array<Google::Apis::SpectrumV1explorer::GeoLocation>]
|
598
|
-
attr_accessor :locations
|
599
|
-
|
600
|
-
# The device descriptor contains parameters that identify the specific device,
|
601
|
-
# such as its manufacturer serial number, regulatory-specific identifier (e.g.,
|
602
|
-
# FCC ID), and any other device characteristics required by regulatory domains.
|
603
|
-
# Corresponds to the JSON property `masterDeviceDesc`
|
604
|
-
# @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor]
|
605
|
-
attr_accessor :master_device_desc
|
606
|
-
|
607
|
-
# This parameter contains device-owner information required as part of device
|
608
|
-
# registration. The regulatory domains may require additional parameters.
|
609
|
-
# All contact information must be expressed using the structure defined by the
|
610
|
-
# vCard format specification. Only the contact fields of vCard are supported:
|
611
|
-
# - fn: Full name of an individual
|
612
|
-
# - org: Name of the organization
|
613
|
-
# - adr: Address fields
|
614
|
-
# - tel: Telephone numbers
|
615
|
-
# - email: Email addresses
|
616
|
-
# Note that the vCard specification defines maximum lengths for each field.
|
617
|
-
# Corresponds to the JSON property `owner`
|
618
|
-
# @return [Google::Apis::SpectrumV1explorer::DeviceOwner]
|
619
|
-
attr_accessor :owner
|
620
|
-
|
621
|
-
# The request type parameter is an optional parameter that can be used to modify
|
622
|
-
# an available spectrum batch request, but its use depends on applicable
|
623
|
-
# regulatory rules. For example, It may be used to request generic slave device
|
624
|
-
# parameters without having to specify the device descriptor for a specific
|
625
|
-
# device. When the requestType parameter is missing, the request is for a
|
626
|
-
# specific device (master or slave), and the device descriptor parameter for the
|
627
|
-
# device on whose behalf the batch request is made is required.
|
628
|
-
# Corresponds to the JSON property `requestType`
|
629
|
-
# @return [String]
|
630
|
-
attr_accessor :request_type
|
631
|
-
|
632
|
-
# The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
|
633
|
-
# Required field.
|
634
|
-
# Corresponds to the JSON property `type`
|
635
|
-
# @return [String]
|
636
|
-
attr_accessor :type
|
637
|
-
|
638
|
-
# The PAWS version. Must be exactly 1.0.
|
639
|
-
# Required field.
|
640
|
-
# Corresponds to the JSON property `version`
|
641
|
-
# @return [String]
|
642
|
-
attr_accessor :version
|
643
|
-
|
644
|
-
def initialize(**args)
|
645
|
-
update!(**args)
|
646
|
-
end
|
647
|
-
|
648
|
-
# Update properties of this object
|
649
|
-
def update!(**args)
|
650
|
-
@antenna = args[:antenna] if args.key?(:antenna)
|
651
|
-
@capabilities = args[:capabilities] if args.key?(:capabilities)
|
652
|
-
@device_desc = args[:device_desc] if args.key?(:device_desc)
|
653
|
-
@locations = args[:locations] if args.key?(:locations)
|
654
|
-
@master_device_desc = args[:master_device_desc] if args.key?(:master_device_desc)
|
655
|
-
@owner = args[:owner] if args.key?(:owner)
|
656
|
-
@request_type = args[:request_type] if args.key?(:request_type)
|
657
|
-
@type = args[:type] if args.key?(:type)
|
658
|
-
@version = args[:version] if args.key?(:version)
|
659
|
-
end
|
660
|
-
end
|
661
|
-
|
662
|
-
# The response message for the batch available spectrum query contains a
|
663
|
-
# schedule of available spectrum for the device at multiple locations.
|
664
|
-
class PawsGetSpectrumBatchResponse
|
665
|
-
include Google::Apis::Core::Hashable
|
666
|
-
|
667
|
-
# This message is provided by the database to notify devices of an upcoming
|
668
|
-
# change to the database URI.
|
669
|
-
# Corresponds to the JSON property `databaseChange`
|
670
|
-
# @return [Google::Apis::SpectrumV1explorer::DbUpdateSpec]
|
671
|
-
attr_accessor :database_change
|
672
|
-
|
673
|
-
# The device descriptor contains parameters that identify the specific device,
|
674
|
-
# such as its manufacturer serial number, regulatory-specific identifier (e.g.,
|
675
|
-
# FCC ID), and any other device characteristics required by regulatory domains.
|
676
|
-
# Corresponds to the JSON property `deviceDesc`
|
677
|
-
# @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor]
|
678
|
-
attr_accessor :device_desc
|
679
|
-
|
680
|
-
# The available spectrum batch response must contain a geo-spectrum schedule
|
681
|
-
# list, The list may be empty if spectrum is not available. The database may
|
682
|
-
# return more than one geo-spectrum schedule to represent future changes to the
|
683
|
-
# available spectrum. How far in advance a schedule may be provided depends upon
|
684
|
-
# the applicable regulatory domain. The database may return available spectrum
|
685
|
-
# for fewer geolocations than requested. The device must not make assumptions
|
686
|
-
# about the order of the entries in the list, and must use the geolocation value
|
687
|
-
# in each geo-spectrum schedule entry to match available spectrum to a location.
|
688
|
-
# Corresponds to the JSON property `geoSpectrumSchedules`
|
689
|
-
# @return [Array<Google::Apis::SpectrumV1explorer::GeoSpectrumSchedule>]
|
690
|
-
attr_accessor :geo_spectrum_schedules
|
691
|
-
|
692
|
-
# Identifies what kind of resource this is. Value: the fixed string "spectrum#
|
693
|
-
# pawsGetSpectrumBatchResponse".
|
694
|
-
# Corresponds to the JSON property `kind`
|
695
|
-
# @return [String]
|
696
|
-
attr_accessor :kind
|
697
|
-
|
698
|
-
# The database may return a constraint on the allowed maximum contiguous
|
699
|
-
# bandwidth (in Hertz). A regulatory domain may require the database to return
|
700
|
-
# this parameter. When this parameter is present in the response, the device
|
701
|
-
# must apply this constraint to its spectrum-selection logic to ensure that no
|
702
|
-
# single block of spectrum has bandwidth that exceeds this value.
|
703
|
-
# Corresponds to the JSON property `maxContiguousBwHz`
|
704
|
-
# @return [Float]
|
705
|
-
attr_accessor :max_contiguous_bw_hz
|
706
|
-
|
707
|
-
# The database may return a constraint on the allowed maximum total bandwidth (
|
708
|
-
# in Hertz), which does not need to be contiguous. A regulatory domain may
|
709
|
-
# require the database to return this parameter. When this parameter is present
|
710
|
-
# in the available spectrum batch response, the device must apply this
|
711
|
-
# constraint to its spectrum-selection logic to ensure that total bandwidth does
|
712
|
-
# not exceed this value.
|
713
|
-
# Corresponds to the JSON property `maxTotalBwHz`
|
714
|
-
# @return [Float]
|
715
|
-
attr_accessor :max_total_bw_hz
|
716
|
-
|
717
|
-
# For regulatory domains that require a spectrum-usage report from devices, the
|
718
|
-
# database must return true for this parameter if the geo-spectrum schedules
|
719
|
-
# list is not empty; otherwise, the database should either return false or omit
|
720
|
-
# this parameter. If this parameter is present and its value is true, the device
|
721
|
-
# must send a spectrum use notify message to the database; otherwise, the device
|
722
|
-
# should not send the notification.
|
723
|
-
# Corresponds to the JSON property `needsSpectrumReport`
|
724
|
-
# @return [Boolean]
|
725
|
-
attr_accessor :needs_spectrum_report
|
726
|
-
alias_method :needs_spectrum_report?, :needs_spectrum_report
|
727
|
-
|
728
|
-
# This contains parameters for the ruleset of a regulatory domain that is
|
729
|
-
# communicated using the initialization and available-spectrum processes.
|
730
|
-
# Corresponds to the JSON property `rulesetInfo`
|
731
|
-
# @return [Google::Apis::SpectrumV1explorer::RulesetInfo]
|
732
|
-
attr_accessor :ruleset_info
|
733
|
-
|
734
|
-
# The database includes a timestamp of the form, YYYY-MM-DDThh:mm:ssZ (Internet
|
735
|
-
# timestamp format per RFC3339), in its available spectrum batch response. The
|
736
|
-
# timestamp should be used by the device as a reference for the start and stop
|
737
|
-
# times specified in the response spectrum schedules.
|
738
|
-
# Corresponds to the JSON property `timestamp`
|
739
|
-
# @return [String]
|
740
|
-
attr_accessor :timestamp
|
741
|
-
|
742
|
-
# The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
|
743
|
-
# Required field.
|
744
|
-
# Corresponds to the JSON property `type`
|
745
|
-
# @return [String]
|
746
|
-
attr_accessor :type
|
747
|
-
|
748
|
-
# The PAWS version. Must be exactly 1.0.
|
749
|
-
# Required field.
|
750
|
-
# Corresponds to the JSON property `version`
|
751
|
-
# @return [String]
|
752
|
-
attr_accessor :version
|
753
|
-
|
754
|
-
def initialize(**args)
|
755
|
-
update!(**args)
|
756
|
-
end
|
757
|
-
|
758
|
-
# Update properties of this object
|
759
|
-
def update!(**args)
|
760
|
-
@database_change = args[:database_change] if args.key?(:database_change)
|
761
|
-
@device_desc = args[:device_desc] if args.key?(:device_desc)
|
762
|
-
@geo_spectrum_schedules = args[:geo_spectrum_schedules] if args.key?(:geo_spectrum_schedules)
|
763
|
-
@kind = args[:kind] if args.key?(:kind)
|
764
|
-
@max_contiguous_bw_hz = args[:max_contiguous_bw_hz] if args.key?(:max_contiguous_bw_hz)
|
765
|
-
@max_total_bw_hz = args[:max_total_bw_hz] if args.key?(:max_total_bw_hz)
|
766
|
-
@needs_spectrum_report = args[:needs_spectrum_report] if args.key?(:needs_spectrum_report)
|
767
|
-
@ruleset_info = args[:ruleset_info] if args.key?(:ruleset_info)
|
768
|
-
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
769
|
-
@type = args[:type] if args.key?(:type)
|
770
|
-
@version = args[:version] if args.key?(:version)
|
771
|
-
end
|
772
|
-
end
|
773
|
-
|
774
|
-
# The request message for the available spectrum query protocol which must
|
775
|
-
# include the device's geolocation.
|
776
|
-
class PawsGetSpectrumRequest
|
777
|
-
include Google::Apis::Core::Hashable
|
778
|
-
|
779
|
-
# Antenna characteristics provide additional information, such as the antenna
|
780
|
-
# height, antenna type, etc. Whether antenna characteristics must be provided in
|
781
|
-
# a request depends on the device type and regulatory domain.
|
782
|
-
# Corresponds to the JSON property `antenna`
|
783
|
-
# @return [Google::Apis::SpectrumV1explorer::AntennaCharacteristics]
|
784
|
-
attr_accessor :antenna
|
785
|
-
|
786
|
-
# Device capabilities provide additional information that may be used by a
|
787
|
-
# device to provide additional information to the database that may help it to
|
788
|
-
# determine available spectrum. If the database does not support device
|
789
|
-
# capabilities it will ignore the parameter altogether.
|
790
|
-
# Corresponds to the JSON property `capabilities`
|
791
|
-
# @return [Google::Apis::SpectrumV1explorer::DeviceCapabilities]
|
792
|
-
attr_accessor :capabilities
|
793
|
-
|
794
|
-
# The device descriptor contains parameters that identify the specific device,
|
795
|
-
# such as its manufacturer serial number, regulatory-specific identifier (e.g.,
|
796
|
-
# FCC ID), and any other device characteristics required by regulatory domains.
|
797
|
-
# Corresponds to the JSON property `deviceDesc`
|
798
|
-
# @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor]
|
799
|
-
attr_accessor :device_desc
|
800
|
-
|
801
|
-
# This parameter is used to specify the geolocation of the device.
|
802
|
-
# Corresponds to the JSON property `location`
|
803
|
-
# @return [Google::Apis::SpectrumV1explorer::GeoLocation]
|
804
|
-
attr_accessor :location
|
805
|
-
|
806
|
-
# The device descriptor contains parameters that identify the specific device,
|
807
|
-
# such as its manufacturer serial number, regulatory-specific identifier (e.g.,
|
808
|
-
# FCC ID), and any other device characteristics required by regulatory domains.
|
809
|
-
# Corresponds to the JSON property `masterDeviceDesc`
|
810
|
-
# @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor]
|
811
|
-
attr_accessor :master_device_desc
|
812
|
-
|
813
|
-
# This parameter contains device-owner information required as part of device
|
814
|
-
# registration. The regulatory domains may require additional parameters.
|
815
|
-
# All contact information must be expressed using the structure defined by the
|
816
|
-
# vCard format specification. Only the contact fields of vCard are supported:
|
817
|
-
# - fn: Full name of an individual
|
818
|
-
# - org: Name of the organization
|
819
|
-
# - adr: Address fields
|
820
|
-
# - tel: Telephone numbers
|
821
|
-
# - email: Email addresses
|
822
|
-
# Note that the vCard specification defines maximum lengths for each field.
|
823
|
-
# Corresponds to the JSON property `owner`
|
824
|
-
# @return [Google::Apis::SpectrumV1explorer::DeviceOwner]
|
825
|
-
attr_accessor :owner
|
826
|
-
|
827
|
-
# The request type parameter is an optional parameter that can be used to modify
|
828
|
-
# an available spectrum request, but its use depends on applicable regulatory
|
829
|
-
# rules. It may be used, for example, to request generic slave device parameters
|
830
|
-
# without having to specify the device descriptor for a specific device. When
|
831
|
-
# the requestType parameter is missing, the request is for a specific device (
|
832
|
-
# master or slave), and the deviceDesc parameter for the device on whose behalf
|
833
|
-
# the request is made is required.
|
834
|
-
# Corresponds to the JSON property `requestType`
|
835
|
-
# @return [String]
|
836
|
-
attr_accessor :request_type
|
837
|
-
|
838
|
-
# The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
|
839
|
-
# Required field.
|
840
|
-
# Corresponds to the JSON property `type`
|
841
|
-
# @return [String]
|
842
|
-
attr_accessor :type
|
843
|
-
|
844
|
-
# The PAWS version. Must be exactly 1.0.
|
845
|
-
# Required field.
|
846
|
-
# Corresponds to the JSON property `version`
|
847
|
-
# @return [String]
|
848
|
-
attr_accessor :version
|
849
|
-
|
850
|
-
def initialize(**args)
|
851
|
-
update!(**args)
|
852
|
-
end
|
853
|
-
|
854
|
-
# Update properties of this object
|
855
|
-
def update!(**args)
|
856
|
-
@antenna = args[:antenna] if args.key?(:antenna)
|
857
|
-
@capabilities = args[:capabilities] if args.key?(:capabilities)
|
858
|
-
@device_desc = args[:device_desc] if args.key?(:device_desc)
|
859
|
-
@location = args[:location] if args.key?(:location)
|
860
|
-
@master_device_desc = args[:master_device_desc] if args.key?(:master_device_desc)
|
861
|
-
@owner = args[:owner] if args.key?(:owner)
|
862
|
-
@request_type = args[:request_type] if args.key?(:request_type)
|
863
|
-
@type = args[:type] if args.key?(:type)
|
864
|
-
@version = args[:version] if args.key?(:version)
|
865
|
-
end
|
866
|
-
end
|
867
|
-
|
868
|
-
# The response message for the available spectrum query which contains a
|
869
|
-
# schedule of available spectrum for the device.
|
870
|
-
class PawsGetSpectrumResponse
|
871
|
-
include Google::Apis::Core::Hashable
|
872
|
-
|
873
|
-
# This message is provided by the database to notify devices of an upcoming
|
874
|
-
# change to the database URI.
|
875
|
-
# Corresponds to the JSON property `databaseChange`
|
876
|
-
# @return [Google::Apis::SpectrumV1explorer::DbUpdateSpec]
|
877
|
-
attr_accessor :database_change
|
878
|
-
|
879
|
-
# The device descriptor contains parameters that identify the specific device,
|
880
|
-
# such as its manufacturer serial number, regulatory-specific identifier (e.g.,
|
881
|
-
# FCC ID), and any other device characteristics required by regulatory domains.
|
882
|
-
# Corresponds to the JSON property `deviceDesc`
|
883
|
-
# @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor]
|
884
|
-
attr_accessor :device_desc
|
885
|
-
|
886
|
-
# Identifies what kind of resource this is. Value: the fixed string "spectrum#
|
887
|
-
# pawsGetSpectrumResponse".
|
888
|
-
# Corresponds to the JSON property `kind`
|
889
|
-
# @return [String]
|
890
|
-
attr_accessor :kind
|
891
|
-
|
892
|
-
# The database may return a constraint on the allowed maximum contiguous
|
893
|
-
# bandwidth (in Hertz). A regulatory domain may require the database to return
|
894
|
-
# this parameter. When this parameter is present in the response, the device
|
895
|
-
# must apply this constraint to its spectrum-selection logic to ensure that no
|
896
|
-
# single block of spectrum has bandwidth that exceeds this value.
|
897
|
-
# Corresponds to the JSON property `maxContiguousBwHz`
|
898
|
-
# @return [Float]
|
899
|
-
attr_accessor :max_contiguous_bw_hz
|
900
|
-
|
901
|
-
# The database may return a constraint on the allowed maximum total bandwidth (
|
902
|
-
# in Hertz), which need not be contiguous. A regulatory domain may require the
|
903
|
-
# database to return this parameter. When this parameter is present in the
|
904
|
-
# available spectrum response, the device must apply this constraint to its
|
905
|
-
# spectrum-selection logic to ensure that total bandwidth does not exceed this
|
906
|
-
# value.
|
907
|
-
# Corresponds to the JSON property `maxTotalBwHz`
|
908
|
-
# @return [Float]
|
909
|
-
attr_accessor :max_total_bw_hz
|
910
|
-
|
911
|
-
# For regulatory domains that require a spectrum-usage report from devices, the
|
912
|
-
# database must return true for this parameter if the spectrum schedule list is
|
913
|
-
# not empty; otherwise, the database will either return false or omit this
|
914
|
-
# parameter. If this parameter is present and its value is true, the device must
|
915
|
-
# send a spectrum use notify message to the database; otherwise, the device must
|
916
|
-
# not send the notification.
|
917
|
-
# Corresponds to the JSON property `needsSpectrumReport`
|
918
|
-
# @return [Boolean]
|
919
|
-
attr_accessor :needs_spectrum_report
|
920
|
-
alias_method :needs_spectrum_report?, :needs_spectrum_report
|
921
|
-
|
922
|
-
# This contains parameters for the ruleset of a regulatory domain that is
|
923
|
-
# communicated using the initialization and available-spectrum processes.
|
924
|
-
# Corresponds to the JSON property `rulesetInfo`
|
925
|
-
# @return [Google::Apis::SpectrumV1explorer::RulesetInfo]
|
926
|
-
attr_accessor :ruleset_info
|
927
|
-
|
928
|
-
# The available spectrum response must contain a spectrum schedule list. The
|
929
|
-
# list may be empty if spectrum is not available. The database may return more
|
930
|
-
# than one spectrum schedule to represent future changes to the available
|
931
|
-
# spectrum. How far in advance a schedule may be provided depends on the
|
932
|
-
# applicable regulatory domain.
|
933
|
-
# Corresponds to the JSON property `spectrumSchedules`
|
934
|
-
# @return [Array<Google::Apis::SpectrumV1explorer::SpectrumSchedule>]
|
935
|
-
attr_accessor :spectrum_schedules
|
936
|
-
|
937
|
-
# The database includes a timestamp of the form YYYY-MM-DDThh:mm:ssZ (Internet
|
938
|
-
# timestamp format per RFC3339) in its available spectrum response. The
|
939
|
-
# timestamp should be used by the device as a reference for the start and stop
|
940
|
-
# times specified in the response spectrum schedules.
|
941
|
-
# Corresponds to the JSON property `timestamp`
|
942
|
-
# @return [String]
|
943
|
-
attr_accessor :timestamp
|
944
|
-
|
945
|
-
# The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
|
946
|
-
# Required field.
|
947
|
-
# Corresponds to the JSON property `type`
|
948
|
-
# @return [String]
|
949
|
-
attr_accessor :type
|
950
|
-
|
951
|
-
# The PAWS version. Must be exactly 1.0.
|
952
|
-
# Required field.
|
953
|
-
# Corresponds to the JSON property `version`
|
954
|
-
# @return [String]
|
955
|
-
attr_accessor :version
|
956
|
-
|
957
|
-
def initialize(**args)
|
958
|
-
update!(**args)
|
959
|
-
end
|
960
|
-
|
961
|
-
# Update properties of this object
|
962
|
-
def update!(**args)
|
963
|
-
@database_change = args[:database_change] if args.key?(:database_change)
|
964
|
-
@device_desc = args[:device_desc] if args.key?(:device_desc)
|
965
|
-
@kind = args[:kind] if args.key?(:kind)
|
966
|
-
@max_contiguous_bw_hz = args[:max_contiguous_bw_hz] if args.key?(:max_contiguous_bw_hz)
|
967
|
-
@max_total_bw_hz = args[:max_total_bw_hz] if args.key?(:max_total_bw_hz)
|
968
|
-
@needs_spectrum_report = args[:needs_spectrum_report] if args.key?(:needs_spectrum_report)
|
969
|
-
@ruleset_info = args[:ruleset_info] if args.key?(:ruleset_info)
|
970
|
-
@spectrum_schedules = args[:spectrum_schedules] if args.key?(:spectrum_schedules)
|
971
|
-
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
972
|
-
@type = args[:type] if args.key?(:type)
|
973
|
-
@version = args[:version] if args.key?(:version)
|
974
|
-
end
|
975
|
-
end
|
976
|
-
|
977
|
-
# The initialization request message allows the master device to initiate
|
978
|
-
# exchange of capabilities with the database.
|
979
|
-
class PawsInitRequest
|
980
|
-
include Google::Apis::Core::Hashable
|
981
|
-
|
982
|
-
# The device descriptor contains parameters that identify the specific device,
|
983
|
-
# such as its manufacturer serial number, regulatory-specific identifier (e.g.,
|
984
|
-
# FCC ID), and any other device characteristics required by regulatory domains.
|
985
|
-
# Corresponds to the JSON property `deviceDesc`
|
986
|
-
# @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor]
|
987
|
-
attr_accessor :device_desc
|
988
|
-
|
989
|
-
# This parameter is used to specify the geolocation of the device.
|
990
|
-
# Corresponds to the JSON property `location`
|
991
|
-
# @return [Google::Apis::SpectrumV1explorer::GeoLocation]
|
992
|
-
attr_accessor :location
|
993
|
-
|
994
|
-
# The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
|
995
|
-
# Required field.
|
996
|
-
# Corresponds to the JSON property `type`
|
997
|
-
# @return [String]
|
998
|
-
attr_accessor :type
|
999
|
-
|
1000
|
-
# The PAWS version. Must be exactly 1.0.
|
1001
|
-
# Required field.
|
1002
|
-
# Corresponds to the JSON property `version`
|
1003
|
-
# @return [String]
|
1004
|
-
attr_accessor :version
|
1005
|
-
|
1006
|
-
def initialize(**args)
|
1007
|
-
update!(**args)
|
1008
|
-
end
|
1009
|
-
|
1010
|
-
# Update properties of this object
|
1011
|
-
def update!(**args)
|
1012
|
-
@device_desc = args[:device_desc] if args.key?(:device_desc)
|
1013
|
-
@location = args[:location] if args.key?(:location)
|
1014
|
-
@type = args[:type] if args.key?(:type)
|
1015
|
-
@version = args[:version] if args.key?(:version)
|
1016
|
-
end
|
1017
|
-
end
|
1018
|
-
|
1019
|
-
# The initialization response message communicates database parameters to the
|
1020
|
-
# requesting device.
|
1021
|
-
class PawsInitResponse
|
1022
|
-
include Google::Apis::Core::Hashable
|
1023
|
-
|
1024
|
-
# This message is provided by the database to notify devices of an upcoming
|
1025
|
-
# change to the database URI.
|
1026
|
-
# Corresponds to the JSON property `databaseChange`
|
1027
|
-
# @return [Google::Apis::SpectrumV1explorer::DbUpdateSpec]
|
1028
|
-
attr_accessor :database_change
|
1029
|
-
|
1030
|
-
# Identifies what kind of resource this is. Value: the fixed string "spectrum#
|
1031
|
-
# pawsInitResponse".
|
1032
|
-
# Corresponds to the JSON property `kind`
|
1033
|
-
# @return [String]
|
1034
|
-
attr_accessor :kind
|
1035
|
-
|
1036
|
-
# This contains parameters for the ruleset of a regulatory domain that is
|
1037
|
-
# communicated using the initialization and available-spectrum processes.
|
1038
|
-
# Corresponds to the JSON property `rulesetInfo`
|
1039
|
-
# @return [Google::Apis::SpectrumV1explorer::RulesetInfo]
|
1040
|
-
attr_accessor :ruleset_info
|
1041
|
-
|
1042
|
-
# The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
|
1043
|
-
# Required field.
|
1044
|
-
# Corresponds to the JSON property `type`
|
1045
|
-
# @return [String]
|
1046
|
-
attr_accessor :type
|
1047
|
-
|
1048
|
-
# The PAWS version. Must be exactly 1.0.
|
1049
|
-
# Required field.
|
1050
|
-
# Corresponds to the JSON property `version`
|
1051
|
-
# @return [String]
|
1052
|
-
attr_accessor :version
|
1053
|
-
|
1054
|
-
def initialize(**args)
|
1055
|
-
update!(**args)
|
1056
|
-
end
|
1057
|
-
|
1058
|
-
# Update properties of this object
|
1059
|
-
def update!(**args)
|
1060
|
-
@database_change = args[:database_change] if args.key?(:database_change)
|
1061
|
-
@kind = args[:kind] if args.key?(:kind)
|
1062
|
-
@ruleset_info = args[:ruleset_info] if args.key?(:ruleset_info)
|
1063
|
-
@type = args[:type] if args.key?(:type)
|
1064
|
-
@version = args[:version] if args.key?(:version)
|
1065
|
-
end
|
1066
|
-
end
|
1067
|
-
|
1068
|
-
# The spectrum-use notification message which must contain the geolocation of
|
1069
|
-
# the Device and parameters required by the regulatory domain.
|
1070
|
-
class PawsNotifySpectrumUseRequest
|
1071
|
-
include Google::Apis::Core::Hashable
|
1072
|
-
|
1073
|
-
# The device descriptor contains parameters that identify the specific device,
|
1074
|
-
# such as its manufacturer serial number, regulatory-specific identifier (e.g.,
|
1075
|
-
# FCC ID), and any other device characteristics required by regulatory domains.
|
1076
|
-
# Corresponds to the JSON property `deviceDesc`
|
1077
|
-
# @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor]
|
1078
|
-
attr_accessor :device_desc
|
1079
|
-
|
1080
|
-
# This parameter is used to specify the geolocation of the device.
|
1081
|
-
# Corresponds to the JSON property `location`
|
1082
|
-
# @return [Google::Apis::SpectrumV1explorer::GeoLocation]
|
1083
|
-
attr_accessor :location
|
1084
|
-
|
1085
|
-
# A spectrum list is required in the spectrum-use notification. The list
|
1086
|
-
# specifies the spectrum that the device expects to use, which includes
|
1087
|
-
# frequency ranges and maximum power levels. The list may be empty if the device
|
1088
|
-
# decides not to use any of spectrum. For consistency, the psdBandwidthHz value
|
1089
|
-
# should match that from one of the spectrum elements in the corresponding
|
1090
|
-
# available spectrum response previously sent to the device by the database.
|
1091
|
-
# Note that maximum power levels in the spectrum element must be expressed as
|
1092
|
-
# power spectral density over the specified psdBandwidthHz value. The actual
|
1093
|
-
# bandwidth to be used (as computed from the start and stop frequencies) may be
|
1094
|
-
# different from the psdBandwidthHz value. As an example, when regulatory rules
|
1095
|
-
# express maximum power spectral density in terms of maximum power over any 100
|
1096
|
-
# kHz band, then the psdBandwidthHz value should be set to 100 kHz, even though
|
1097
|
-
# the actual bandwidth used can be 20 kHz.
|
1098
|
-
# Corresponds to the JSON property `spectra`
|
1099
|
-
# @return [Array<Google::Apis::SpectrumV1explorer::SpectrumMessage>]
|
1100
|
-
attr_accessor :spectra
|
1101
|
-
|
1102
|
-
# The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
|
1103
|
-
# Required field.
|
1104
|
-
# Corresponds to the JSON property `type`
|
1105
|
-
# @return [String]
|
1106
|
-
attr_accessor :type
|
1107
|
-
|
1108
|
-
# The PAWS version. Must be exactly 1.0.
|
1109
|
-
# Required field.
|
1110
|
-
# Corresponds to the JSON property `version`
|
1111
|
-
# @return [String]
|
1112
|
-
attr_accessor :version
|
1113
|
-
|
1114
|
-
def initialize(**args)
|
1115
|
-
update!(**args)
|
1116
|
-
end
|
1117
|
-
|
1118
|
-
# Update properties of this object
|
1119
|
-
def update!(**args)
|
1120
|
-
@device_desc = args[:device_desc] if args.key?(:device_desc)
|
1121
|
-
@location = args[:location] if args.key?(:location)
|
1122
|
-
@spectra = args[:spectra] if args.key?(:spectra)
|
1123
|
-
@type = args[:type] if args.key?(:type)
|
1124
|
-
@version = args[:version] if args.key?(:version)
|
1125
|
-
end
|
1126
|
-
end
|
1127
|
-
|
1128
|
-
# An empty response to the notification.
|
1129
|
-
class PawsNotifySpectrumUseResponse
|
1130
|
-
include Google::Apis::Core::Hashable
|
1131
|
-
|
1132
|
-
# Identifies what kind of resource this is. Value: the fixed string "spectrum#
|
1133
|
-
# pawsNotifySpectrumUseResponse".
|
1134
|
-
# Corresponds to the JSON property `kind`
|
1135
|
-
# @return [String]
|
1136
|
-
attr_accessor :kind
|
1137
|
-
|
1138
|
-
# The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
|
1139
|
-
# Required field.
|
1140
|
-
# Corresponds to the JSON property `type`
|
1141
|
-
# @return [String]
|
1142
|
-
attr_accessor :type
|
1143
|
-
|
1144
|
-
# The PAWS version. Must be exactly 1.0.
|
1145
|
-
# Required field.
|
1146
|
-
# Corresponds to the JSON property `version`
|
1147
|
-
# @return [String]
|
1148
|
-
attr_accessor :version
|
1149
|
-
|
1150
|
-
def initialize(**args)
|
1151
|
-
update!(**args)
|
1152
|
-
end
|
1153
|
-
|
1154
|
-
# Update properties of this object
|
1155
|
-
def update!(**args)
|
1156
|
-
@kind = args[:kind] if args.key?(:kind)
|
1157
|
-
@type = args[:type] if args.key?(:type)
|
1158
|
-
@version = args[:version] if args.key?(:version)
|
1159
|
-
end
|
1160
|
-
end
|
1161
|
-
|
1162
|
-
# The registration request message contains the required registration parameters.
|
1163
|
-
class PawsRegisterRequest
|
1164
|
-
include Google::Apis::Core::Hashable
|
1165
|
-
|
1166
|
-
# Antenna characteristics provide additional information, such as the antenna
|
1167
|
-
# height, antenna type, etc. Whether antenna characteristics must be provided in
|
1168
|
-
# a request depends on the device type and regulatory domain.
|
1169
|
-
# Corresponds to the JSON property `antenna`
|
1170
|
-
# @return [Google::Apis::SpectrumV1explorer::AntennaCharacteristics]
|
1171
|
-
attr_accessor :antenna
|
1172
|
-
|
1173
|
-
# The device descriptor contains parameters that identify the specific device,
|
1174
|
-
# such as its manufacturer serial number, regulatory-specific identifier (e.g.,
|
1175
|
-
# FCC ID), and any other device characteristics required by regulatory domains.
|
1176
|
-
# Corresponds to the JSON property `deviceDesc`
|
1177
|
-
# @return [Google::Apis::SpectrumV1explorer::DeviceDescriptor]
|
1178
|
-
attr_accessor :device_desc
|
1179
|
-
|
1180
|
-
# This parameter contains device-owner information required as part of device
|
1181
|
-
# registration. The regulatory domains may require additional parameters.
|
1182
|
-
# All contact information must be expressed using the structure defined by the
|
1183
|
-
# vCard format specification. Only the contact fields of vCard are supported:
|
1184
|
-
# - fn: Full name of an individual
|
1185
|
-
# - org: Name of the organization
|
1186
|
-
# - adr: Address fields
|
1187
|
-
# - tel: Telephone numbers
|
1188
|
-
# - email: Email addresses
|
1189
|
-
# Note that the vCard specification defines maximum lengths for each field.
|
1190
|
-
# Corresponds to the JSON property `deviceOwner`
|
1191
|
-
# @return [Google::Apis::SpectrumV1explorer::DeviceOwner]
|
1192
|
-
attr_accessor :device_owner
|
1193
|
-
|
1194
|
-
# This parameter is used to specify the geolocation of the device.
|
1195
|
-
# Corresponds to the JSON property `location`
|
1196
|
-
# @return [Google::Apis::SpectrumV1explorer::GeoLocation]
|
1197
|
-
attr_accessor :location
|
1198
|
-
|
1199
|
-
# The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
|
1200
|
-
# Required field.
|
1201
|
-
# Corresponds to the JSON property `type`
|
1202
|
-
# @return [String]
|
1203
|
-
attr_accessor :type
|
1204
|
-
|
1205
|
-
# The PAWS version. Must be exactly 1.0.
|
1206
|
-
# Required field.
|
1207
|
-
# Corresponds to the JSON property `version`
|
1208
|
-
# @return [String]
|
1209
|
-
attr_accessor :version
|
1210
|
-
|
1211
|
-
def initialize(**args)
|
1212
|
-
update!(**args)
|
1213
|
-
end
|
1214
|
-
|
1215
|
-
# Update properties of this object
|
1216
|
-
def update!(**args)
|
1217
|
-
@antenna = args[:antenna] if args.key?(:antenna)
|
1218
|
-
@device_desc = args[:device_desc] if args.key?(:device_desc)
|
1219
|
-
@device_owner = args[:device_owner] if args.key?(:device_owner)
|
1220
|
-
@location = args[:location] if args.key?(:location)
|
1221
|
-
@type = args[:type] if args.key?(:type)
|
1222
|
-
@version = args[:version] if args.key?(:version)
|
1223
|
-
end
|
1224
|
-
end
|
1225
|
-
|
1226
|
-
# The registration response message simply acknowledges receipt of the request
|
1227
|
-
# and is otherwise empty.
|
1228
|
-
class PawsRegisterResponse
|
1229
|
-
include Google::Apis::Core::Hashable
|
1230
|
-
|
1231
|
-
# This message is provided by the database to notify devices of an upcoming
|
1232
|
-
# change to the database URI.
|
1233
|
-
# Corresponds to the JSON property `databaseChange`
|
1234
|
-
# @return [Google::Apis::SpectrumV1explorer::DbUpdateSpec]
|
1235
|
-
attr_accessor :database_change
|
1236
|
-
|
1237
|
-
# Identifies what kind of resource this is. Value: the fixed string "spectrum#
|
1238
|
-
# pawsRegisterResponse".
|
1239
|
-
# Corresponds to the JSON property `kind`
|
1240
|
-
# @return [String]
|
1241
|
-
attr_accessor :kind
|
1242
|
-
|
1243
|
-
# The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
|
1244
|
-
# Required field.
|
1245
|
-
# Corresponds to the JSON property `type`
|
1246
|
-
# @return [String]
|
1247
|
-
attr_accessor :type
|
1248
|
-
|
1249
|
-
# The PAWS version. Must be exactly 1.0.
|
1250
|
-
# Required field.
|
1251
|
-
# Corresponds to the JSON property `version`
|
1252
|
-
# @return [String]
|
1253
|
-
attr_accessor :version
|
1254
|
-
|
1255
|
-
def initialize(**args)
|
1256
|
-
update!(**args)
|
1257
|
-
end
|
1258
|
-
|
1259
|
-
# Update properties of this object
|
1260
|
-
def update!(**args)
|
1261
|
-
@database_change = args[:database_change] if args.key?(:database_change)
|
1262
|
-
@kind = args[:kind] if args.key?(:kind)
|
1263
|
-
@type = args[:type] if args.key?(:type)
|
1264
|
-
@version = args[:version] if args.key?(:version)
|
1265
|
-
end
|
1266
|
-
end
|
1267
|
-
|
1268
|
-
# The device validation request message.
|
1269
|
-
class PawsVerifyDeviceRequest
|
1270
|
-
include Google::Apis::Core::Hashable
|
1271
|
-
|
1272
|
-
# A list of device descriptors, which specifies the slave devices to be
|
1273
|
-
# validated, is required.
|
1274
|
-
# Corresponds to the JSON property `deviceDescs`
|
1275
|
-
# @return [Array<Google::Apis::SpectrumV1explorer::DeviceDescriptor>]
|
1276
|
-
attr_accessor :device_descs
|
1277
|
-
|
1278
|
-
# The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
|
1279
|
-
# Required field.
|
1280
|
-
# Corresponds to the JSON property `type`
|
1281
|
-
# @return [String]
|
1282
|
-
attr_accessor :type
|
1283
|
-
|
1284
|
-
# The PAWS version. Must be exactly 1.0.
|
1285
|
-
# Required field.
|
1286
|
-
# Corresponds to the JSON property `version`
|
1287
|
-
# @return [String]
|
1288
|
-
attr_accessor :version
|
1289
|
-
|
1290
|
-
def initialize(**args)
|
1291
|
-
update!(**args)
|
1292
|
-
end
|
1293
|
-
|
1294
|
-
# Update properties of this object
|
1295
|
-
def update!(**args)
|
1296
|
-
@device_descs = args[:device_descs] if args.key?(:device_descs)
|
1297
|
-
@type = args[:type] if args.key?(:type)
|
1298
|
-
@version = args[:version] if args.key?(:version)
|
1299
|
-
end
|
1300
|
-
end
|
1301
|
-
|
1302
|
-
# The device validation response message.
|
1303
|
-
class PawsVerifyDeviceResponse
|
1304
|
-
include Google::Apis::Core::Hashable
|
1305
|
-
|
1306
|
-
# This message is provided by the database to notify devices of an upcoming
|
1307
|
-
# change to the database URI.
|
1308
|
-
# Corresponds to the JSON property `databaseChange`
|
1309
|
-
# @return [Google::Apis::SpectrumV1explorer::DbUpdateSpec]
|
1310
|
-
attr_accessor :database_change
|
1311
|
-
|
1312
|
-
# A device validities list is required in the device validation response to
|
1313
|
-
# report whether each slave device listed in a previous device validation
|
1314
|
-
# request is valid. The number of entries must match the number of device
|
1315
|
-
# descriptors listed in the previous device validation request.
|
1316
|
-
# Corresponds to the JSON property `deviceValidities`
|
1317
|
-
# @return [Array<Google::Apis::SpectrumV1explorer::DeviceValidity>]
|
1318
|
-
attr_accessor :device_validities
|
1319
|
-
|
1320
|
-
# Identifies what kind of resource this is. Value: the fixed string "spectrum#
|
1321
|
-
# pawsVerifyDeviceResponse".
|
1322
|
-
# Corresponds to the JSON property `kind`
|
1323
|
-
# @return [String]
|
1324
|
-
attr_accessor :kind
|
1325
|
-
|
1326
|
-
# The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
|
1327
|
-
# Required field.
|
1328
|
-
# Corresponds to the JSON property `type`
|
1329
|
-
# @return [String]
|
1330
|
-
attr_accessor :type
|
1331
|
-
|
1332
|
-
# The PAWS version. Must be exactly 1.0.
|
1333
|
-
# Required field.
|
1334
|
-
# Corresponds to the JSON property `version`
|
1335
|
-
# @return [String]
|
1336
|
-
attr_accessor :version
|
1337
|
-
|
1338
|
-
def initialize(**args)
|
1339
|
-
update!(**args)
|
1340
|
-
end
|
1341
|
-
|
1342
|
-
# Update properties of this object
|
1343
|
-
def update!(**args)
|
1344
|
-
@database_change = args[:database_change] if args.key?(:database_change)
|
1345
|
-
@device_validities = args[:device_validities] if args.key?(:device_validities)
|
1346
|
-
@kind = args[:kind] if args.key?(:kind)
|
1347
|
-
@type = args[:type] if args.key?(:type)
|
1348
|
-
@version = args[:version] if args.key?(:version)
|
1349
|
-
end
|
1350
|
-
end
|
1351
|
-
|
1352
|
-
# This contains parameters for the ruleset of a regulatory domain that is
|
1353
|
-
# communicated using the initialization and available-spectrum processes.
|
1354
|
-
class RulesetInfo
|
1355
|
-
include Google::Apis::Core::Hashable
|
1356
|
-
|
1357
|
-
# The regulatory domain to which the ruleset belongs is required. It must be a 2-
|
1358
|
-
# letter country code. The device should use this to determine additional device
|
1359
|
-
# behavior required by the associated regulatory domain.
|
1360
|
-
# Corresponds to the JSON property `authority`
|
1361
|
-
# @return [String]
|
1362
|
-
attr_accessor :authority
|
1363
|
-
|
1364
|
-
# The maximum location change in meters is required in the initialization
|
1365
|
-
# response, but optional otherwise. When the device changes location by more
|
1366
|
-
# than this specified distance, it must contact the database to get the
|
1367
|
-
# available spectrum for the new location. If the device is using spectrum that
|
1368
|
-
# is no longer available, it must immediately cease use of the spectrum under
|
1369
|
-
# rules for database-managed spectrum. If this value is provided within the
|
1370
|
-
# context of an available-spectrum response, it takes precedence over the value
|
1371
|
-
# within the initialization response.
|
1372
|
-
# Corresponds to the JSON property `maxLocationChange`
|
1373
|
-
# @return [Float]
|
1374
|
-
attr_accessor :max_location_change
|
1375
|
-
|
1376
|
-
# The maximum duration, in seconds, between requests for available spectrum. It
|
1377
|
-
# is required in the initialization response, but optional otherwise. The device
|
1378
|
-
# must contact the database to get available spectrum no less frequently than
|
1379
|
-
# this duration. If the new spectrum information indicates that the device is
|
1380
|
-
# using spectrum that is no longer available, it must immediately cease use of
|
1381
|
-
# those frequencies under rules for database-managed spectrum. If this value is
|
1382
|
-
# provided within the context of an available-spectrum response, it takes
|
1383
|
-
# precedence over the value within the initialization response.
|
1384
|
-
# Corresponds to the JSON property `maxPollingSecs`
|
1385
|
-
# @return [Fixnum]
|
1386
|
-
attr_accessor :max_polling_secs
|
1387
|
-
|
1388
|
-
# The identifiers of the rulesets supported for the device's location. The
|
1389
|
-
# database should include at least one applicable ruleset in the initialization
|
1390
|
-
# response. The device may use the ruleset identifiers to determine parameters
|
1391
|
-
# to include in subsequent requests. Within the context of the available-
|
1392
|
-
# spectrum responses, the database should include the identifier of the ruleset
|
1393
|
-
# that it used to determine the available-spectrum response. If included, the
|
1394
|
-
# device must use the specified ruleset to interpret the response. If the device
|
1395
|
-
# does not support the indicated ruleset, it must not operate in the spectrum
|
1396
|
-
# governed by the ruleset.
|
1397
|
-
# Corresponds to the JSON property `rulesetIds`
|
1398
|
-
# @return [Array<String>]
|
1399
|
-
attr_accessor :ruleset_ids
|
1400
|
-
|
1401
|
-
def initialize(**args)
|
1402
|
-
update!(**args)
|
1403
|
-
end
|
1404
|
-
|
1405
|
-
# Update properties of this object
|
1406
|
-
def update!(**args)
|
1407
|
-
@authority = args[:authority] if args.key?(:authority)
|
1408
|
-
@max_location_change = args[:max_location_change] if args.key?(:max_location_change)
|
1409
|
-
@max_polling_secs = args[:max_polling_secs] if args.key?(:max_polling_secs)
|
1410
|
-
@ruleset_ids = args[:ruleset_ids] if args.key?(:ruleset_ids)
|
1411
|
-
end
|
1412
|
-
end
|
1413
|
-
|
1414
|
-
# Available spectrum can be logically characterized by a list of frequency
|
1415
|
-
# ranges and permissible power levels for each range.
|
1416
|
-
class SpectrumMessage
|
1417
|
-
include Google::Apis::Core::Hashable
|
1418
|
-
|
1419
|
-
# The bandwidth (in Hertz) for which permissible power levels are specified. For
|
1420
|
-
# example, FCC regulation would require only one spectrum specification at 6MHz
|
1421
|
-
# bandwidth, but Ofcom regulation would require two specifications, at 0.1MHz
|
1422
|
-
# and 8MHz. This parameter may be empty if there is no available spectrum. It
|
1423
|
-
# will be present otherwise.
|
1424
|
-
# Corresponds to the JSON property `bandwidth`
|
1425
|
-
# @return [Float]
|
1426
|
-
attr_accessor :bandwidth
|
1427
|
-
|
1428
|
-
# The list of frequency ranges and permissible power levels. The list may be
|
1429
|
-
# empty if there is no available spectrum, otherwise it will be present.
|
1430
|
-
# Corresponds to the JSON property `frequencyRanges`
|
1431
|
-
# @return [Array<Google::Apis::SpectrumV1explorer::FrequencyRange>]
|
1432
|
-
attr_accessor :frequency_ranges
|
1433
|
-
|
1434
|
-
def initialize(**args)
|
1435
|
-
update!(**args)
|
1436
|
-
end
|
1437
|
-
|
1438
|
-
# Update properties of this object
|
1439
|
-
def update!(**args)
|
1440
|
-
@bandwidth = args[:bandwidth] if args.key?(:bandwidth)
|
1441
|
-
@frequency_ranges = args[:frequency_ranges] if args.key?(:frequency_ranges)
|
1442
|
-
end
|
1443
|
-
end
|
1444
|
-
|
1445
|
-
# The spectrum schedule element combines an event time with spectrum profile to
|
1446
|
-
# define a time period in which the profile is valid.
|
1447
|
-
class SpectrumSchedule
|
1448
|
-
include Google::Apis::Core::Hashable
|
1449
|
-
|
1450
|
-
# The start and stop times of an event. This is used to indicate the time period
|
1451
|
-
# for which a spectrum profile is valid.
|
1452
|
-
# Both times are expressed using the format, YYYY-MM-DDThh:mm:ssZ, as defined in
|
1453
|
-
# RFC3339. The times must be expressed using UTC.
|
1454
|
-
# Corresponds to the JSON property `eventTime`
|
1455
|
-
# @return [Google::Apis::SpectrumV1explorer::EventTime]
|
1456
|
-
attr_accessor :event_time
|
1457
|
-
|
1458
|
-
# A list of spectrum messages representing the usable profile. It will always be
|
1459
|
-
# present, but may be empty when there is no available spectrum.
|
1460
|
-
# Corresponds to the JSON property `spectra`
|
1461
|
-
# @return [Array<Google::Apis::SpectrumV1explorer::SpectrumMessage>]
|
1462
|
-
attr_accessor :spectra
|
1463
|
-
|
1464
|
-
def initialize(**args)
|
1465
|
-
update!(**args)
|
1466
|
-
end
|
1467
|
-
|
1468
|
-
# Update properties of this object
|
1469
|
-
def update!(**args)
|
1470
|
-
@event_time = args[:event_time] if args.key?(:event_time)
|
1471
|
-
@spectra = args[:spectra] if args.key?(:spectra)
|
1472
|
-
end
|
1473
|
-
end
|
1474
|
-
|
1475
|
-
# A vCard-in-JSON message that contains only the fields needed for PAWS:
|
1476
|
-
# - fn: Full name of an individual
|
1477
|
-
# - org: Name of the organization
|
1478
|
-
# - adr: Address fields
|
1479
|
-
# - tel: Telephone numbers
|
1480
|
-
# - email: Email addresses
|
1481
|
-
class Vcard
|
1482
|
-
include Google::Apis::Core::Hashable
|
1483
|
-
|
1484
|
-
# The structure used to represent a street address.
|
1485
|
-
# Corresponds to the JSON property `adr`
|
1486
|
-
# @return [Google::Apis::SpectrumV1explorer::VcardAddress]
|
1487
|
-
attr_accessor :adr
|
1488
|
-
|
1489
|
-
# The structure used to represent an organization and an email address.
|
1490
|
-
# Corresponds to the JSON property `email`
|
1491
|
-
# @return [Google::Apis::SpectrumV1explorer::VcardTypedText]
|
1492
|
-
attr_accessor :email
|
1493
|
-
|
1494
|
-
# The full name of the contact person. For example: John A. Smith.
|
1495
|
-
# Corresponds to the JSON property `fn`
|
1496
|
-
# @return [String]
|
1497
|
-
attr_accessor :fn
|
1498
|
-
|
1499
|
-
# The structure used to represent an organization and an email address.
|
1500
|
-
# Corresponds to the JSON property `org`
|
1501
|
-
# @return [Google::Apis::SpectrumV1explorer::VcardTypedText]
|
1502
|
-
attr_accessor :org
|
1503
|
-
|
1504
|
-
# The structure used to represent a telephone number.
|
1505
|
-
# Corresponds to the JSON property `tel`
|
1506
|
-
# @return [Google::Apis::SpectrumV1explorer::VcardTelephone]
|
1507
|
-
attr_accessor :tel
|
1508
|
-
|
1509
|
-
def initialize(**args)
|
1510
|
-
update!(**args)
|
1511
|
-
end
|
1512
|
-
|
1513
|
-
# Update properties of this object
|
1514
|
-
def update!(**args)
|
1515
|
-
@adr = args[:adr] if args.key?(:adr)
|
1516
|
-
@email = args[:email] if args.key?(:email)
|
1517
|
-
@fn = args[:fn] if args.key?(:fn)
|
1518
|
-
@org = args[:org] if args.key?(:org)
|
1519
|
-
@tel = args[:tel] if args.key?(:tel)
|
1520
|
-
end
|
1521
|
-
end
|
1522
|
-
|
1523
|
-
# The structure used to represent a street address.
|
1524
|
-
class VcardAddress
|
1525
|
-
include Google::Apis::Core::Hashable
|
1526
|
-
|
1527
|
-
# The postal code associated with the address. For example: 94423.
|
1528
|
-
# Corresponds to the JSON property `code`
|
1529
|
-
# @return [String]
|
1530
|
-
attr_accessor :code
|
1531
|
-
|
1532
|
-
# The country name. For example: US.
|
1533
|
-
# Corresponds to the JSON property `country`
|
1534
|
-
# @return [String]
|
1535
|
-
attr_accessor :country
|
1536
|
-
|
1537
|
-
# The city or local equivalent portion of the address. For example: San Jose.
|
1538
|
-
# Corresponds to the JSON property `locality`
|
1539
|
-
# @return [String]
|
1540
|
-
attr_accessor :locality
|
1541
|
-
|
1542
|
-
# An optional post office box number.
|
1543
|
-
# Corresponds to the JSON property `pobox`
|
1544
|
-
# @return [String]
|
1545
|
-
attr_accessor :pobox
|
1546
|
-
|
1547
|
-
# The state or local equivalent portion of the address. For example: CA.
|
1548
|
-
# Corresponds to the JSON property `region`
|
1549
|
-
# @return [String]
|
1550
|
-
attr_accessor :region
|
1551
|
-
|
1552
|
-
# The street number and name. For example: 123 Any St.
|
1553
|
-
# Corresponds to the JSON property `street`
|
1554
|
-
# @return [String]
|
1555
|
-
attr_accessor :street
|
1556
|
-
|
1557
|
-
def initialize(**args)
|
1558
|
-
update!(**args)
|
1559
|
-
end
|
1560
|
-
|
1561
|
-
# Update properties of this object
|
1562
|
-
def update!(**args)
|
1563
|
-
@code = args[:code] if args.key?(:code)
|
1564
|
-
@country = args[:country] if args.key?(:country)
|
1565
|
-
@locality = args[:locality] if args.key?(:locality)
|
1566
|
-
@pobox = args[:pobox] if args.key?(:pobox)
|
1567
|
-
@region = args[:region] if args.key?(:region)
|
1568
|
-
@street = args[:street] if args.key?(:street)
|
1569
|
-
end
|
1570
|
-
end
|
1571
|
-
|
1572
|
-
# The structure used to represent a telephone number.
|
1573
|
-
class VcardTelephone
|
1574
|
-
include Google::Apis::Core::Hashable
|
1575
|
-
|
1576
|
-
# A nested telephone URI of the form: tel:+1-123-456-7890.
|
1577
|
-
# Corresponds to the JSON property `uri`
|
1578
|
-
# @return [String]
|
1579
|
-
attr_accessor :uri
|
1580
|
-
|
1581
|
-
def initialize(**args)
|
1582
|
-
update!(**args)
|
1583
|
-
end
|
1584
|
-
|
1585
|
-
# Update properties of this object
|
1586
|
-
def update!(**args)
|
1587
|
-
@uri = args[:uri] if args.key?(:uri)
|
1588
|
-
end
|
1589
|
-
end
|
1590
|
-
|
1591
|
-
# The structure used to represent an organization and an email address.
|
1592
|
-
class VcardTypedText
|
1593
|
-
include Google::Apis::Core::Hashable
|
1594
|
-
|
1595
|
-
# The text string associated with this item. For example, for an org field: ACME,
|
1596
|
-
# inc. For an email field: smith@example.com.
|
1597
|
-
# Corresponds to the JSON property `text`
|
1598
|
-
# @return [String]
|
1599
|
-
attr_accessor :text
|
1600
|
-
|
1601
|
-
def initialize(**args)
|
1602
|
-
update!(**args)
|
1603
|
-
end
|
1604
|
-
|
1605
|
-
# Update properties of this object
|
1606
|
-
def update!(**args)
|
1607
|
-
@text = args[:text] if args.key?(:text)
|
1608
|
-
end
|
1609
|
-
end
|
1610
|
-
end
|
1611
|
-
end
|
1612
|
-
end
|