google-api-client 0.13.2 → 0.13.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +149 -0
- data/bin/generate-api +6 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +46 -46
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +15 -15
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +6 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1394 -1394
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +322 -322
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +449 -449
- data/generated/google/apis/adexchangebuyer_v1_2.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_2/classes.rb +457 -0
- data/generated/google/apis/adexchangebuyer_v1_2/representations.rb +189 -0
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +329 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1347 -0
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +498 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +873 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1/classes.rb +557 -0
- data/generated/google/apis/adexchangeseller_v1/representations.rb +248 -0
- data/generated/google/apis/adexchangeseller_v1/service.rb +568 -0
- data/generated/google/apis/adexchangeseller_v1_1.rb +37 -0
- data/generated/google/apis/adexchangeseller_v1_1/classes.rb +842 -0
- data/generated/google/apis/adexchangeseller_v1_1/representations.rb +364 -0
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +771 -0
- data/generated/google/apis/adexperiencereport_v1.rb +35 -0
- data/generated/google/apis/adexperiencereport_v1/classes.rb +138 -0
- data/generated/google/apis/adexperiencereport_v1/representations.rb +77 -0
- data/generated/google/apis/adexperiencereport_v1/service.rb +123 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +60 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +29 -0
- data/generated/google/apis/admin_directory_v1/service.rb +39 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v2_4.rb +37 -0
- data/generated/google/apis/analytics_v2_4/classes.rb +26 -0
- data/generated/google/apis/analytics_v2_4/representations.rb +26 -0
- data/generated/google/apis/analytics_v2_4/service.rb +345 -0
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +15 -2
- data/generated/google/apis/analytics_v3/representations.rb +3 -0
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +891 -891
- data/generated/google/apis/analyticsreporting_v4/representations.rb +189 -189
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +917 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +447 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +419 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +31 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +14 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +76 -0
- data/generated/google/apis/androidmanagement_v1.rb +35 -0
- data/generated/google/apis/androidmanagement_v1/classes.rb +2039 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +702 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +796 -0
- data/generated/google/apis/androidpublisher_v1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1/classes.rb +67 -0
- data/generated/google/apis/androidpublisher_v1/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v1/service.rb +150 -0
- data/generated/google/apis/androidpublisher_v1_1.rb +34 -0
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +123 -0
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +60 -0
- data/generated/google/apis/androidpublisher_v1_1/service.rb +192 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +21 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +3 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -2
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1519 -1474
- data/generated/google/apis/appengine_v1/representations.rb +351 -335
- data/generated/google/apis/appengine_v1/service.rb +255 -239
- data/generated/google/apis/appengine_v1alpha.rb +41 -0
- data/generated/google/apis/appengine_v1alpha/classes.rb +987 -0
- data/generated/google/apis/appengine_v1alpha/representations.rb +397 -0
- data/generated/google/apis/appengine_v1alpha/service.rb +631 -0
- data/generated/google/apis/appengine_v1beta.rb +41 -0
- data/generated/google/apis/appengine_v1beta/classes.rb +2876 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1138 -0
- data/generated/google/apis/appengine_v1beta/service.rb +1546 -0
- data/generated/google/apis/appengine_v1beta4.rb +41 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +2170 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +824 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +876 -0
- data/generated/google/apis/appengine_v1beta5.rb +41 -0
- data/generated/google/apis/appengine_v1beta5/classes.rb +2168 -0
- data/generated/google/apis/appengine_v1beta5/representations.rb +822 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +877 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +106 -18
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +41 -0
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +886 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +343 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1317 -0
- data/generated/google/apis/blogger_v2.rb +34 -0
- data/generated/google/apis/blogger_v2/classes.rb +947 -0
- data/generated/google/apis/blogger_v2/representations.rb +465 -0
- data/generated/google/apis/blogger_v2/service.rb +424 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +4 -207
- data/generated/google/apis/calendar_v3/representations.rb +0 -97
- data/generated/google/apis/calendar_v3/service.rb +8 -4
- data/generated/google/apis/classroom_v1.rb +27 -27
- data/generated/google/apis/classroom_v1/classes.rb +1037 -926
- data/generated/google/apis/classroom_v1/representations.rb +294 -244
- data/generated/google/apis/classroom_v1/service.rb +1114 -1109
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +473 -56
- data/generated/google/apis/cloudbilling_v1/representations.rb +176 -10
- data/generated/google/apis/cloudbilling_v1/service.rb +182 -89
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +666 -625
- data/generated/google/apis/cloudbuild_v1/representations.rb +132 -116
- data/generated/google/apis/cloudbuild_v1/service.rb +158 -158
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +637 -639
- data/generated/google/apis/clouddebugger_v2/representations.rb +139 -139
- data/generated/google/apis/clouddebugger_v2/service.rb +157 -157
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +310 -310
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +77 -77
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +144 -144
- data/generated/google/apis/cloudfunctions_v1.rb +4 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +265 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +80 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +118 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +35 -0
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +678 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +264 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +385 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +652 -622
- data/generated/google/apis/cloudkms_v1/representations.rb +138 -137
- data/generated/google/apis/cloudkms_v1/service.rb +320 -320
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1129 -1129
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +609 -609
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +404 -404
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +83 -83
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +328 -328
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +38 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +819 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +304 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +528 -0
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v1/classes.rb +67 -67
- data/generated/google/apis/cloudtrace_v1/representations.rb +21 -21
- data/generated/google/apis/cloudtrace_v1/service.rb +36 -36
- data/generated/google/apis/cloudtrace_v2.rb +43 -0
- data/generated/google/apis/cloudtrace_v2/classes.rb +797 -0
- data/generated/google/apis/cloudtrace_v2/representations.rb +353 -0
- data/generated/google/apis/cloudtrace_v2/service.rb +238 -0
- data/generated/google/apis/clouduseraccounts_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +1188 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +494 -0
- data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +1152 -0
- data/generated/google/apis/clouduseraccounts_vm_beta.rb +44 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +845 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +352 -0
- data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +908 -0
- data/generated/google/apis/compute_alpha.rb +49 -0
- data/generated/google/apis/compute_alpha/classes.rb +23796 -0
- data/generated/google/apis/compute_alpha/representations.rb +9391 -0
- data/generated/google/apis/compute_alpha/service.rb +24188 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1597 -235
- data/generated/google/apis/compute_beta/representations.rb +477 -0
- data/generated/google/apis/compute_beta/service.rb +2875 -1677
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +319 -197
- data/generated/google/apis/compute_v1/representations.rb +51 -0
- data/generated/google/apis/compute_v1/service.rb +2057 -172
- data/generated/google/apis/consumersurveys_v2.rb +40 -0
- data/generated/google/apis/consumersurveys_v2/classes.rb +736 -0
- data/generated/google/apis/consumersurveys_v2/representations.rb +343 -0
- data/generated/google/apis/consumersurveys_v2/service.rb +478 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1072 -936
- data/generated/google/apis/container_v1/representations.rb +266 -202
- data/generated/google/apis/container_v1/service.rb +243 -243
- data/generated/google/apis/container_v1beta1.rb +35 -0
- data/generated/google/apis/container_v1beta1/classes.rb +1900 -0
- data/generated/google/apis/container_v1beta1/representations.rb +662 -0
- data/generated/google/apis/container_v1beta1/service.rb +1875 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +72 -3
- data/generated/google/apis/content_v2/representations.rb +23 -0
- data/generated/google/apis/content_v2/service.rb +23 -18
- data/generated/google/apis/content_v2sandbox.rb +35 -0
- data/generated/google/apis/content_v2sandbox/classes.rb +2406 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +1042 -0
- data/generated/google/apis/content_v2sandbox/service.rb +709 -0
- data/generated/google/apis/dataflow_v1b3.rb +5 -5
- data/generated/google/apis/dataflow_v1b3/classes.rb +3341 -3341
- data/generated/google/apis/dataflow_v1b3/representations.rb +807 -807
- data/generated/google/apis/dataflow_v1b3/service.rb +492 -444
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1101 -1101
- data/generated/google/apis/dataproc_v1/representations.rb +227 -227
- data/generated/google/apis/dataproc_v1/service.rb +254 -254
- data/generated/google/apis/dataproc_v1beta2.rb +34 -0
- data/generated/google/apis/dataproc_v1beta2/classes.rb +1756 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +675 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +739 -0
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +1311 -773
- data/generated/google/apis/datastore_v1/representations.rb +351 -148
- data/generated/google/apis/datastore_v1/service.rb +206 -55
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1621 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +715 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +260 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +44 -0
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +2422 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_alpha/service.rb +1883 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +81 -2
- data/generated/google/apis/deploymentmanager_v2/representations.rb +30 -0
- data/generated/google/apis/deploymentmanager_v2beta.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +2426 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1054 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1687 -0
- data/generated/google/apis/dfareporting_v2_7.rb +1 -1
- data/generated/google/apis/dfareporting_v2_7/classes.rb +9 -26
- data/generated/google/apis/dfareporting_v2_7/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8/classes.rb +26 -34
- data/generated/google/apis/dfareporting_v2_8/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v2_8/service.rb +1 -0
- data/generated/google/apis/dlp_v2beta1.rb +36 -0
- data/generated/google/apis/dlp_v2beta1/classes.rb +1735 -0
- data/generated/google/apis/dlp_v2beta1/representations.rb +879 -0
- data/generated/google/apis/dlp_v2beta1/service.rb +406 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +267 -261
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +73 -72
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +283 -283
- data/generated/google/apis/firebaserules_v1/representations.rb +75 -75
- data/generated/google/apis/firebaserules_v1/service.rb +113 -113
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/fusiontables_v1.rb +37 -0
- data/generated/google/apis/fusiontables_v1/classes.rb +977 -0
- data/generated/google/apis/fusiontables_v1/representations.rb +449 -0
- data/generated/google/apis/fusiontables_v1/service.rb +1373 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +8 -8
- data/generated/google/apis/genomics_v1/classes.rb +2288 -2288
- data/generated/google/apis/genomics_v1/representations.rb +482 -482
- data/generated/google/apis/genomics_v1/service.rb +966 -966
- data/generated/google/apis/genomics_v1alpha2.rb +40 -0
- data/generated/google/apis/genomics_v1alpha2/classes.rb +1207 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +449 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +426 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +664 -395
- data/generated/google/apis/iam_v1/representations.rb +194 -81
- data/generated/google/apis/iam_v1/service.rb +657 -92
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +7 -7
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +8 -8
- data/generated/google/apis/language_v1.rb +4 -1
- data/generated/google/apis/language_v1/classes.rb +393 -393
- data/generated/google/apis/language_v1/representations.rb +95 -95
- data/generated/google/apis/language_v1/service.rb +42 -42
- data/generated/google/apis/language_v1beta1.rb +4 -1
- data/generated/google/apis/language_v1beta1/classes.rb +457 -457
- data/generated/google/apis/language_v1beta1/representations.rb +114 -114
- data/generated/google/apis/language_v1beta1/service.rb +48 -48
- data/generated/google/apis/language_v1beta2.rb +39 -0
- data/generated/google/apis/language_v1beta2/classes.rb +824 -0
- data/generated/google/apis/language_v1beta2/representations.rb +373 -0
- data/generated/google/apis/language_v1beta2/service.rb +217 -0
- data/generated/google/apis/logging_v2.rb +9 -9
- data/generated/google/apis/logging_v2/classes.rb +840 -834
- data/generated/google/apis/logging_v2/representations.rb +168 -167
- data/generated/google/apis/logging_v2/service.rb +667 -463
- data/generated/google/apis/logging_v2beta1.rb +9 -9
- data/generated/google/apis/logging_v2beta1/classes.rb +856 -850
- data/generated/google/apis/logging_v2beta1/representations.rb +169 -168
- data/generated/google/apis/logging_v2beta1/service.rb +253 -255
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +396 -389
- data/generated/google/apis/manufacturers_v1/representations.rb +92 -91
- data/generated/google/apis/manufacturers_v1/service.rb +8 -7
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1487 -1676
- data/generated/google/apis/ml_v1/representations.rb +229 -299
- data/generated/google/apis/ml_v1/service.rb +359 -253
- data/generated/google/apis/ml_v1beta1.rb +34 -0
- data/generated/google/apis/ml_v1beta1/classes.rb +2396 -0
- data/generated/google/apis/ml_v1beta1/representations.rb +755 -0
- data/generated/google/apis/ml_v1beta1/service.rb +975 -0
- data/generated/google/apis/monitoring_v3.rb +6 -6
- data/generated/google/apis/monitoring_v3/classes.rb +834 -834
- data/generated/google/apis/monitoring_v3/representations.rb +168 -168
- data/generated/google/apis/monitoring_v3/service.rb +330 -330
- data/generated/google/apis/mybusiness_v3/classes.rb +1181 -1181
- data/generated/google/apis/mybusiness_v3/representations.rb +242 -242
- data/generated/google/apis/mybusiness_v3/service.rb +241 -241
- data/generated/google/apis/oauth2_v1.rb +43 -0
- data/generated/google/apis/oauth2_v1/classes.rb +321 -0
- data/generated/google/apis/oauth2_v1/representations.rb +135 -0
- data/generated/google/apis/oauth2_v1/service.rb +337 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +37 -0
- data/generated/google/apis/oslogin_v1alpha/classes.rb +200 -0
- data/generated/google/apis/oslogin_v1alpha/representations.rb +105 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +228 -0
- data/generated/google/apis/pagespeedonline_v1.rb +32 -0
- data/generated/google/apis/pagespeedonline_v1/classes.rb +536 -0
- data/generated/google/apis/pagespeedonline_v1/representations.rb +257 -0
- data/generated/google/apis/pagespeedonline_v1/service.rb +120 -0
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +1512 -1512
- data/generated/google/apis/partners_v2/representations.rb +368 -368
- data/generated/google/apis/partners_v2/service.rb +596 -596
- data/generated/google/apis/people_v1.rb +15 -15
- data/generated/google/apis/people_v1/classes.rb +1384 -1383
- data/generated/google/apis/people_v1/representations.rb +311 -311
- data/generated/google/apis/people_v1/service.rb +208 -202
- data/generated/google/apis/playcustomapp_v1.rb +34 -0
- data/generated/google/apis/playcustomapp_v1/classes.rb +51 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +40 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +114 -0
- data/generated/google/apis/playmoviespartner_v1.rb +34 -0
- data/generated/google/apis/playmoviespartner_v1/classes.rb +782 -0
- data/generated/google/apis/playmoviespartner_v1/representations.rb +191 -0
- data/generated/google/apis/playmoviespartner_v1/service.rb +354 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/prediction_v1_2.rb +44 -0
- data/generated/google/apis/prediction_v1_2/classes.rb +237 -0
- data/generated/google/apis/prediction_v1_2/representations.rb +133 -0
- data/generated/google/apis/prediction_v1_2/service.rb +287 -0
- data/generated/google/apis/prediction_v1_3.rb +44 -0
- data/generated/google/apis/prediction_v1_3/classes.rb +286 -0
- data/generated/google/apis/prediction_v1_3/representations.rb +139 -0
- data/generated/google/apis/prediction_v1_3/service.rb +284 -0
- data/generated/google/apis/prediction_v1_4.rb +44 -0
- data/generated/google/apis/prediction_v1_4/classes.rb +336 -0
- data/generated/google/apis/prediction_v1_4/representations.rb +158 -0
- data/generated/google/apis/prediction_v1_4/service.rb +284 -0
- data/generated/google/apis/prediction_v1_5.rb +44 -0
- data/generated/google/apis/prediction_v1_5/classes.rb +708 -0
- data/generated/google/apis/prediction_v1_5/representations.rb +352 -0
- data/generated/google/apis/prediction_v1_5/service.rb +357 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +539 -539
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +105 -105
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +312 -312
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +352 -352
- data/generated/google/apis/pubsub_v1/representations.rb +77 -77
- data/generated/google/apis/pubsub_v1/service.rb +346 -346
- data/generated/google/apis/pubsub_v1beta1a.rb +37 -0
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +605 -0
- data/generated/google/apis/pubsub_v1beta1a/representations.rb +306 -0
- data/generated/google/apis/pubsub_v1beta1a/service.rb +549 -0
- data/generated/google/apis/pubsub_v1beta2.rb +37 -0
- data/generated/google/apis/pubsub_v1beta2/classes.rb +679 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +324 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +779 -0
- data/generated/google/apis/replicapool_v1beta1.rb +50 -0
- data/generated/google/apis/replicapool_v1beta1/classes.rb +918 -0
- data/generated/google/apis/replicapool_v1beta1/representations.rb +409 -0
- data/generated/google/apis/replicapool_v1beta1/service.rb +511 -0
- data/generated/google/apis/resourceviews_v1beta1.rb +50 -0
- data/generated/google/apis/resourceviews_v1beta1/classes.rb +338 -0
- data/generated/google/apis/resourceviews_v1beta1/representations.rb +201 -0
- data/generated/google/apis/resourceviews_v1beta1/service.rb +667 -0
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +118 -118
- data/generated/google/apis/runtimeconfig_v1/representations.rb +18 -18
- data/generated/google/apis/runtimeconfig_v1/service.rb +21 -21
- data/generated/google/apis/runtimeconfig_v1beta1.rb +40 -0
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +805 -0
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +280 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +903 -0
- data/generated/google/apis/safebrowsing_v4.rb +32 -0
- data/generated/google/apis/safebrowsing_v4/classes.rb +771 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +379 -0
- data/generated/google/apis/safebrowsing_v4/service.rb +252 -0
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +99 -157
- data/generated/google/apis/script_v1/representations.rb +17 -47
- data/generated/google/apis/script_v1/service.rb +12 -12
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +84 -84
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/servicecontrol_v1.rb +4 -4
- data/generated/google/apis/servicecontrol_v1/classes.rb +1086 -1042
- data/generated/google/apis/servicecontrol_v1/representations.rb +216 -200
- data/generated/google/apis/servicecontrol_v1/service.rb +120 -114
- data/generated/google/apis/servicemanagement_v1.rb +7 -7
- data/generated/google/apis/servicemanagement_v1/classes.rb +3375 -3383
- data/generated/google/apis/servicemanagement_v1/representations.rb +551 -552
- data/generated/google/apis/servicemanagement_v1/service.rb +386 -386
- data/generated/google/apis/serviceuser_v1.rb +5 -5
- data/generated/google/apis/serviceuser_v1/classes.rb +2667 -2598
- data/generated/google/apis/serviceuser_v1/representations.rb +406 -389
- data/generated/google/apis/serviceuser_v1/service.rb +43 -43
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +5031 -5024
- data/generated/google/apis/sheets_v4/representations.rb +931 -930
- data/generated/google/apis/sheets_v4/service.rb +244 -244
- data/generated/google/apis/slides_v1.rb +10 -10
- data/generated/google/apis/slides_v1/classes.rb +2915 -2915
- data/generated/google/apis/slides_v1/representations.rb +698 -698
- data/generated/google/apis/slides_v1/service.rb +35 -35
- data/generated/google/apis/sourcerepo_v1.rb +3 -3
- data/generated/google/apis/sourcerepo_v1/classes.rb +313 -313
- data/generated/google/apis/sourcerepo_v1/representations.rb +77 -77
- data/generated/google/apis/sourcerepo_v1/service.rb +102 -102
- data/generated/google/apis/spanner_v1.rb +4 -4
- data/generated/google/apis/spanner_v1/classes.rb +2304 -2251
- data/generated/google/apis/spanner_v1/representations.rb +338 -323
- data/generated/google/apis/spanner_v1/service.rb +689 -689
- data/generated/google/apis/spectrum_v1explorer.rb +31 -0
- data/generated/google/apis/spectrum_v1explorer/classes.rb +1612 -0
- data/generated/google/apis/spectrum_v1explorer/representations.rb +611 -0
- data/generated/google/apis/spectrum_v1explorer/service.rb +285 -0
- data/generated/google/apis/speech_v1.rb +34 -0
- data/generated/google/apis/speech_v1/classes.rb +572 -0
- data/generated/google/apis/speech_v1/representations.rb +236 -0
- data/generated/google/apis/speech_v1/service.rb +277 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +312 -312
- data/generated/google/apis/speech_v1beta1/representations.rb +48 -48
- data/generated/google/apis/speech_v1beta1/service.rb +46 -46
- data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +1615 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +731 -0
- data/generated/google/apis/sqladmin_v1beta3/service.rb +1045 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -6
- data/generated/google/apis/storage_v1/service.rb +51 -29
- data/generated/google/apis/storage_v1beta1.rb +40 -0
- data/generated/google/apis/storage_v1beta1/classes.rb +616 -0
- data/generated/google/apis/storage_v1beta1/representations.rb +249 -0
- data/generated/google/apis/storage_v1beta1/service.rb +1082 -0
- data/generated/google/apis/storage_v1beta2.rb +40 -0
- data/generated/google/apis/storage_v1beta2/classes.rb +1048 -0
- data/generated/google/apis/storage_v1beta2/representations.rb +425 -0
- data/generated/google/apis/storage_v1beta2/service.rb +1736 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +556 -556
- data/generated/google/apis/storagetransfer_v1/representations.rb +139 -139
- data/generated/google/apis/storagetransfer_v1/service.rb +148 -148
- data/generated/google/apis/streetviewpublish_v1.rb +36 -0
- data/generated/google/apis/streetviewpublish_v1/classes.rb +705 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +296 -0
- data/generated/google/apis/streetviewpublish_v1/service.rb +485 -0
- data/generated/google/apis/taskqueue_v1beta1.rb +37 -0
- data/generated/google/apis/taskqueue_v1beta1/classes.rb +242 -0
- data/generated/google/apis/taskqueue_v1beta1/representations.rb +124 -0
- data/generated/google/apis/taskqueue_v1beta1/service.rb +269 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +382 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +139 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +50 -0
- data/generated/google/apis/toolresults_v1beta3firstparty.rb +31 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/classes.rb +2630 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/representations.rb +886 -0
- data/generated/google/apis/toolresults_v1beta3firstparty/service.rb +1288 -0
- data/generated/google/apis/translate_v2/classes.rb +111 -111
- data/generated/google/apis/translate_v2/representations.rb +49 -49
- data/generated/google/apis/translate_v2/service.rb +94 -94
- data/generated/google/apis/vault_v1.rb +31 -0
- data/generated/google/apis/vault_v1/classes.rb +554 -0
- data/generated/google/apis/vault_v1/representations.rb +318 -0
- data/generated/google/apis/vault_v1/service.rb +677 -0
- data/generated/google/apis/videointelligence_v1beta1.rb +34 -0
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +903 -0
- data/generated/google/apis/videointelligence_v1beta1/representations.rb +351 -0
- data/generated/google/apis/videointelligence_v1beta1/service.rb +92 -0
- data/generated/google/apis/vision_v1.rb +4 -4
- data/generated/google/apis/vision_v1/classes.rb +1176 -1178
- data/generated/google/apis/vision_v1/representations.rb +235 -235
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1.rb +46 -0
- data/generated/google/apis/youtube_analytics_v1beta1/classes.rb +337 -0
- data/generated/google/apis/youtube_analytics_v1beta1/representations.rb +174 -0
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +491 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +3 -3
- data/generated/google/apis/youtube_partner_v1/representations.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +134 -134
- data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
- data/generated/google/apis/youtubereporting_v1/service.rb +131 -131
- data/lib/google/apis/version.rb +1 -1
- metadata +246 -2
@@ -0,0 +1,31 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/spectrum_v1explorer/service.rb'
|
16
|
+
require 'google/apis/spectrum_v1explorer/classes.rb'
|
17
|
+
require 'google/apis/spectrum_v1explorer/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Google Spectrum Database API
|
22
|
+
#
|
23
|
+
# API for spectrum-management functions.
|
24
|
+
#
|
25
|
+
# @see http://developers.google.com/spectrum
|
26
|
+
module SpectrumV1explorer
|
27
|
+
VERSION = 'V1explorer'
|
28
|
+
REVISION = '20170306'
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,1612 @@
|
|
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
|