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
@@ -22,237 +22,231 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ProximitybeaconV1beta1
|
24
24
|
|
25
|
-
class
|
25
|
+
class AdvertisedId
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
27
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class AttachmentInfo
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
33
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class
|
37
|
+
class Beacon
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
39
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class
|
43
|
+
class BeaconAttachment
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
45
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
-
class
|
49
|
+
class BeaconInfo
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
51
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
-
class
|
55
|
+
class Date
|
56
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
57
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
-
class
|
61
|
+
class DeleteAttachmentsResponse
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
63
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
-
class
|
67
|
+
class Diagnostics
|
68
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
69
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
-
class
|
73
|
+
class Empty
|
74
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
75
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
-
class
|
79
|
+
class EphemeralIdRegistration
|
80
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
81
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
-
class
|
85
|
+
class EphemeralIdRegistrationParams
|
86
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
87
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
-
class
|
91
|
+
class GetInfoForObservedBeaconsRequest
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
93
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
-
class
|
97
|
+
class GetInfoForObservedBeaconsResponse
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
99
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
-
class
|
103
|
+
class IndoorLevel
|
104
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
105
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
-
class
|
109
|
+
class LatLng
|
110
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
111
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
-
class
|
115
|
+
class ListBeaconAttachmentsResponse
|
116
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
117
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
-
class
|
121
|
+
class ListBeaconsResponse
|
122
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
123
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
-
class
|
127
|
+
class ListDiagnosticsResponse
|
128
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
129
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
-
class
|
133
|
+
class ListNamespacesResponse
|
134
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
135
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
-
class
|
139
|
+
class Namespace
|
140
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
141
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
143
143
|
end
|
144
144
|
|
145
|
-
class
|
145
|
+
class Observation
|
146
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
147
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
149
149
|
end
|
150
150
|
|
151
|
-
class
|
151
|
+
class AdvertisedId
|
152
152
|
# @private
|
153
153
|
class Representation < Google::Apis::Core::JsonRepresentation
|
154
|
-
|
155
|
-
|
154
|
+
property :id, :base64 => true, as: 'id'
|
155
|
+
property :type, as: 'type'
|
156
156
|
end
|
157
157
|
end
|
158
158
|
|
159
|
-
class
|
159
|
+
class AttachmentInfo
|
160
160
|
# @private
|
161
161
|
class Representation < Google::Apis::Core::JsonRepresentation
|
162
|
-
property :
|
163
|
-
|
164
|
-
property :beacon_name, as: 'beaconName'
|
165
|
-
collection :alerts, as: 'alerts'
|
162
|
+
property :data, :base64 => true, as: 'data'
|
163
|
+
property :namespaced_type, as: 'namespacedType'
|
166
164
|
end
|
167
165
|
end
|
168
166
|
|
169
|
-
class
|
167
|
+
class Beacon
|
170
168
|
# @private
|
171
169
|
class Representation < Google::Apis::Core::JsonRepresentation
|
172
|
-
property :
|
173
|
-
property :total_count, :numeric_string => true, as: 'totalCount'
|
174
|
-
collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::Beacon, decorator: Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
|
170
|
+
property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
|
175
171
|
|
176
|
-
|
177
|
-
|
172
|
+
property :beacon_name, as: 'beaconName'
|
173
|
+
property :description, as: 'description'
|
174
|
+
property :ephemeral_id_registration, as: 'ephemeralIdRegistration', class: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration, decorator: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration::Representation
|
178
175
|
|
179
|
-
|
180
|
-
|
181
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
182
|
-
collection :observations, as: 'observations', class: Google::Apis::ProximitybeaconV1beta1::Observation, decorator: Google::Apis::ProximitybeaconV1beta1::Observation::Representation
|
176
|
+
property :expected_stability, as: 'expectedStability'
|
177
|
+
property :indoor_level, as: 'indoorLevel', class: Google::Apis::ProximitybeaconV1beta1::IndoorLevel, decorator: Google::Apis::ProximitybeaconV1beta1::IndoorLevel::Representation
|
183
178
|
|
184
|
-
|
185
|
-
end
|
186
|
-
end
|
179
|
+
property :lat_lng, as: 'latLng', class: Google::Apis::ProximitybeaconV1beta1::LatLng, decorator: Google::Apis::ProximitybeaconV1beta1::LatLng::Representation
|
187
180
|
|
188
|
-
|
189
|
-
|
190
|
-
|
181
|
+
property :place_id, as: 'placeId'
|
182
|
+
hash :properties, as: 'properties'
|
183
|
+
property :provisioning_key, :base64 => true, as: 'provisioningKey'
|
184
|
+
property :status, as: 'status'
|
191
185
|
end
|
192
186
|
end
|
193
187
|
|
194
188
|
class BeaconAttachment
|
195
189
|
# @private
|
196
190
|
class Representation < Google::Apis::Core::JsonRepresentation
|
197
|
-
property :creation_time_ms, as: 'creationTimeMs'
|
198
191
|
property :attachment_name, as: 'attachmentName'
|
199
|
-
property :
|
192
|
+
property :creation_time_ms, as: 'creationTimeMs'
|
200
193
|
property :data, :base64 => true, as: 'data'
|
194
|
+
property :namespaced_type, as: 'namespacedType'
|
201
195
|
end
|
202
196
|
end
|
203
197
|
|
204
|
-
class
|
198
|
+
class BeaconInfo
|
205
199
|
# @private
|
206
200
|
class Representation < Google::Apis::Core::JsonRepresentation
|
207
|
-
property :
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
property :
|
212
|
-
property :initial_eid, :base64 => true, as: 'initialEid'
|
201
|
+
property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
|
202
|
+
|
203
|
+
collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo, decorator: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo::Representation
|
204
|
+
|
205
|
+
property :beacon_name, as: 'beaconName'
|
213
206
|
end
|
214
207
|
end
|
215
208
|
|
216
|
-
class
|
209
|
+
class Date
|
217
210
|
# @private
|
218
211
|
class Representation < Google::Apis::Core::JsonRepresentation
|
219
|
-
property :
|
220
|
-
property :
|
212
|
+
property :day, as: 'day'
|
213
|
+
property :month, as: 'month'
|
214
|
+
property :year, as: 'year'
|
221
215
|
end
|
222
216
|
end
|
223
217
|
|
224
|
-
class
|
218
|
+
class DeleteAttachmentsResponse
|
225
219
|
# @private
|
226
220
|
class Representation < Google::Apis::Core::JsonRepresentation
|
227
|
-
|
228
|
-
|
221
|
+
property :num_deleted, as: 'numDeleted'
|
229
222
|
end
|
230
223
|
end
|
231
224
|
|
232
|
-
class
|
225
|
+
class Diagnostics
|
233
226
|
# @private
|
234
227
|
class Representation < Google::Apis::Core::JsonRepresentation
|
235
|
-
|
236
|
-
property :
|
228
|
+
collection :alerts, as: 'alerts'
|
229
|
+
property :beacon_name, as: 'beaconName'
|
230
|
+
property :estimated_low_battery_date, as: 'estimatedLowBatteryDate', class: Google::Apis::ProximitybeaconV1beta1::Date, decorator: Google::Apis::ProximitybeaconV1beta1::Date::Representation
|
231
|
+
|
237
232
|
end
|
238
233
|
end
|
239
234
|
|
240
|
-
class
|
235
|
+
class Empty
|
241
236
|
# @private
|
242
237
|
class Representation < Google::Apis::Core::JsonRepresentation
|
243
|
-
property :data, :base64 => true, as: 'data'
|
244
|
-
property :namespaced_type, as: 'namespacedType'
|
245
238
|
end
|
246
239
|
end
|
247
240
|
|
248
|
-
class
|
241
|
+
class EphemeralIdRegistration
|
249
242
|
# @private
|
250
243
|
class Representation < Google::Apis::Core::JsonRepresentation
|
251
|
-
property :
|
252
|
-
|
253
|
-
|
254
|
-
property :
|
255
|
-
|
244
|
+
property :beacon_ecdh_public_key, :base64 => true, as: 'beaconEcdhPublicKey'
|
245
|
+
property :beacon_identity_key, :base64 => true, as: 'beaconIdentityKey'
|
246
|
+
property :initial_clock_value, :numeric_string => true, as: 'initialClockValue'
|
247
|
+
property :initial_eid, :base64 => true, as: 'initialEid'
|
248
|
+
property :rotation_period_exponent, as: 'rotationPeriodExponent'
|
249
|
+
property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey'
|
256
250
|
end
|
257
251
|
end
|
258
252
|
|
@@ -265,82 +259,88 @@ module Google
|
|
265
259
|
end
|
266
260
|
end
|
267
261
|
|
268
|
-
class
|
262
|
+
class GetInfoForObservedBeaconsRequest
|
269
263
|
# @private
|
270
264
|
class Representation < Google::Apis::Core::JsonRepresentation
|
271
|
-
|
265
|
+
collection :namespaced_types, as: 'namespacedTypes'
|
266
|
+
collection :observations, as: 'observations', class: Google::Apis::ProximitybeaconV1beta1::Observation, decorator: Google::Apis::ProximitybeaconV1beta1::Observation::Representation
|
267
|
+
|
272
268
|
end
|
273
269
|
end
|
274
270
|
|
275
|
-
class
|
271
|
+
class GetInfoForObservedBeaconsResponse
|
276
272
|
# @private
|
277
273
|
class Representation < Google::Apis::Core::JsonRepresentation
|
278
|
-
|
279
|
-
property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
|
274
|
+
collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::BeaconInfo, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconInfo::Representation
|
280
275
|
|
281
|
-
property :telemetry, :base64 => true, as: 'telemetry'
|
282
276
|
end
|
283
277
|
end
|
284
278
|
|
285
|
-
class
|
279
|
+
class IndoorLevel
|
286
280
|
# @private
|
287
281
|
class Representation < Google::Apis::Core::JsonRepresentation
|
288
|
-
|
282
|
+
property :name, as: 'name'
|
283
|
+
end
|
284
|
+
end
|
289
285
|
|
290
|
-
|
286
|
+
class LatLng
|
287
|
+
# @private
|
288
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
289
|
+
property :latitude, as: 'latitude'
|
290
|
+
property :longitude, as: 'longitude'
|
291
291
|
end
|
292
292
|
end
|
293
293
|
|
294
|
-
class
|
294
|
+
class ListBeaconAttachmentsResponse
|
295
295
|
# @private
|
296
296
|
class Representation < Google::Apis::Core::JsonRepresentation
|
297
|
-
collection :
|
297
|
+
collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::BeaconAttachment, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconAttachment::Representation
|
298
298
|
|
299
299
|
end
|
300
300
|
end
|
301
301
|
|
302
|
-
class
|
302
|
+
class ListBeaconsResponse
|
303
303
|
# @private
|
304
304
|
class Representation < Google::Apis::Core::JsonRepresentation
|
305
|
-
|
306
|
-
property :indoor_level, as: 'indoorLevel', class: Google::Apis::ProximitybeaconV1beta1::IndoorLevel, decorator: Google::Apis::ProximitybeaconV1beta1::IndoorLevel::Representation
|
307
|
-
|
308
|
-
property :beacon_name, as: 'beaconName'
|
309
|
-
property :expected_stability, as: 'expectedStability'
|
310
|
-
property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
|
305
|
+
collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::Beacon, decorator: Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
|
311
306
|
|
312
|
-
property :
|
313
|
-
property :
|
307
|
+
property :next_page_token, as: 'nextPageToken'
|
308
|
+
property :total_count, :numeric_string => true, as: 'totalCount'
|
309
|
+
end
|
310
|
+
end
|
314
311
|
|
315
|
-
|
312
|
+
class ListDiagnosticsResponse
|
313
|
+
# @private
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
315
|
+
collection :diagnostics, as: 'diagnostics', class: Google::Apis::ProximitybeaconV1beta1::Diagnostics, decorator: Google::Apis::ProximitybeaconV1beta1::Diagnostics::Representation
|
316
316
|
|
317
|
-
property :
|
318
|
-
property :description, as: 'description'
|
319
|
-
hash :properties, as: 'properties'
|
317
|
+
property :next_page_token, as: 'nextPageToken'
|
320
318
|
end
|
321
319
|
end
|
322
320
|
|
323
|
-
class
|
321
|
+
class ListNamespacesResponse
|
324
322
|
# @private
|
325
323
|
class Representation < Google::Apis::Core::JsonRepresentation
|
326
|
-
|
327
|
-
|
324
|
+
collection :namespaces, as: 'namespaces', class: Google::Apis::ProximitybeaconV1beta1::Namespace, decorator: Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
|
325
|
+
|
328
326
|
end
|
329
327
|
end
|
330
328
|
|
331
|
-
class
|
329
|
+
class Namespace
|
332
330
|
# @private
|
333
331
|
class Representation < Google::Apis::Core::JsonRepresentation
|
334
|
-
property :
|
335
|
-
property :
|
336
|
-
property :month, as: 'month'
|
332
|
+
property :namespace_name, as: 'namespaceName'
|
333
|
+
property :serving_visibility, as: 'servingVisibility'
|
337
334
|
end
|
338
335
|
end
|
339
336
|
|
340
|
-
class
|
337
|
+
class Observation
|
341
338
|
# @private
|
342
339
|
class Representation < Google::Apis::Core::JsonRepresentation
|
343
|
-
property :
|
340
|
+
property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
|
341
|
+
|
342
|
+
property :telemetry, :base64 => true, as: 'telemetry'
|
343
|
+
property :timestamp_ms, as: 'timestampMs'
|
344
344
|
end
|
345
345
|
end
|
346
346
|
end
|
@@ -81,117 +81,6 @@ module Google
|
|
81
81
|
execute_or_queue_command(command, &block)
|
82
82
|
end
|
83
83
|
|
84
|
-
# Lists all attachment namespaces owned by your Google Developers Console
|
85
|
-
# project. Attachment data associated with a beacon must include a
|
86
|
-
# namespaced type, and the namespace must be owned by your project.
|
87
|
-
# Authenticate using an [OAuth access token](https://developers.google.com/
|
88
|
-
# identity/protocols/OAuth2)
|
89
|
-
# from a signed-in user with **viewer**, **Is owner** or **Can edit**
|
90
|
-
# permissions in the Google Developers Console project.
|
91
|
-
# @param [String] project_id
|
92
|
-
# The project id to list namespaces under.
|
93
|
-
# Optional.
|
94
|
-
# @param [String] fields
|
95
|
-
# Selector specifying which fields to include in a partial response.
|
96
|
-
# @param [String] quota_user
|
97
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
98
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
99
|
-
# @param [Google::Apis::RequestOptions] options
|
100
|
-
# Request-specific options
|
101
|
-
#
|
102
|
-
# @yield [result, err] Result & error if block supplied
|
103
|
-
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse] parsed result object
|
104
|
-
# @yieldparam err [StandardError] error object if request failed
|
105
|
-
#
|
106
|
-
# @return [Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse]
|
107
|
-
#
|
108
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
109
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
110
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
111
|
-
def list_namespaces(project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
112
|
-
command = make_simple_command(:get, 'v1beta1/namespaces', options)
|
113
|
-
command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse::Representation
|
114
|
-
command.response_class = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse
|
115
|
-
command.query['projectId'] = project_id unless project_id.nil?
|
116
|
-
command.query['fields'] = fields unless fields.nil?
|
117
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
118
|
-
execute_or_queue_command(command, &block)
|
119
|
-
end
|
120
|
-
|
121
|
-
# Updates the information about the specified namespace. Only the namespace
|
122
|
-
# visibility can be updated.
|
123
|
-
# @param [String] namespace_name
|
124
|
-
# Resource name of this namespace. Namespaces names have the format:
|
125
|
-
# <code>namespaces/<var>namespace</var></code>.
|
126
|
-
# @param [Google::Apis::ProximitybeaconV1beta1::Namespace] namespace_object
|
127
|
-
# @param [String] project_id
|
128
|
-
# The project id of the namespace to update. If the project id is not
|
129
|
-
# specified then the project making the request is used. The project id
|
130
|
-
# must match the project that owns the beacon.
|
131
|
-
# Optional.
|
132
|
-
# @param [String] fields
|
133
|
-
# Selector specifying which fields to include in a partial response.
|
134
|
-
# @param [String] quota_user
|
135
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
136
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
137
|
-
# @param [Google::Apis::RequestOptions] options
|
138
|
-
# Request-specific options
|
139
|
-
#
|
140
|
-
# @yield [result, err] Result & error if block supplied
|
141
|
-
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Namespace] parsed result object
|
142
|
-
# @yieldparam err [StandardError] error object if request failed
|
143
|
-
#
|
144
|
-
# @return [Google::Apis::ProximitybeaconV1beta1::Namespace]
|
145
|
-
#
|
146
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
147
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
148
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
149
|
-
def update_namespace(namespace_name, namespace_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
150
|
-
command = make_simple_command(:put, 'v1beta1/{+namespaceName}', options)
|
151
|
-
command.request_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
|
152
|
-
command.request_object = namespace_object
|
153
|
-
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
|
154
|
-
command.response_class = Google::Apis::ProximitybeaconV1beta1::Namespace
|
155
|
-
command.params['namespaceName'] = namespace_name unless namespace_name.nil?
|
156
|
-
command.query['projectId'] = project_id unless project_id.nil?
|
157
|
-
command.query['fields'] = fields unless fields.nil?
|
158
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
159
|
-
execute_or_queue_command(command, &block)
|
160
|
-
end
|
161
|
-
|
162
|
-
# Gets the Proximity Beacon API's current public key and associated
|
163
|
-
# parameters used to initiate the Diffie-Hellman key exchange required to
|
164
|
-
# register a beacon that broadcasts the Eddystone-EID format. This key
|
165
|
-
# changes periodically; clients may cache it and re-use the same public key
|
166
|
-
# to provision and register multiple beacons. However, clients should be
|
167
|
-
# prepared to refresh this key when they encounter an error registering an
|
168
|
-
# Eddystone-EID beacon.
|
169
|
-
# @param [String] fields
|
170
|
-
# Selector specifying which fields to include in a partial response.
|
171
|
-
# @param [String] quota_user
|
172
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
173
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
174
|
-
# @param [Google::Apis::RequestOptions] options
|
175
|
-
# Request-specific options
|
176
|
-
#
|
177
|
-
# @yield [result, err] Result & error if block supplied
|
178
|
-
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams] parsed result object
|
179
|
-
# @yieldparam err [StandardError] error object if request failed
|
180
|
-
#
|
181
|
-
# @return [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams]
|
182
|
-
#
|
183
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
184
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
185
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
186
|
-
def get_eidparams(fields: nil, quota_user: nil, options: nil, &block)
|
187
|
-
command = make_simple_command(:get, 'v1beta1/eidparams', options)
|
188
|
-
command.response_representation = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams::Representation
|
189
|
-
command.response_class = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams
|
190
|
-
command.query['fields'] = fields unless fields.nil?
|
191
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
192
|
-
execute_or_queue_command(command, &block)
|
193
|
-
end
|
194
|
-
|
195
84
|
# Activates a beacon. A beacon that is active will return information
|
196
85
|
# and attachment data when queried via `beaconinfo.getforobserved`.
|
197
86
|
# Calling this method on an already active beacon will do nothing (but
|
@@ -241,18 +130,16 @@ module Google
|
|
241
130
|
execute_or_queue_command(command, &block)
|
242
131
|
end
|
243
132
|
|
244
|
-
#
|
133
|
+
# Deactivates a beacon. Once deactivated, the API will not return
|
134
|
+
# information nor attachment data for the beacon when queried via
|
135
|
+
# `beaconinfo.getforobserved`. Calling this method on an already inactive
|
136
|
+
# beacon will do nothing (but will return a successful response code).
|
245
137
|
# Authenticate using an [OAuth access token](https://developers.google.com/
|
246
138
|
# identity/protocols/OAuth2)
|
247
|
-
# from a signed-in user with **
|
248
|
-
#
|
249
|
-
# Requests may supply an Eddystone-EID beacon name in the form:
|
250
|
-
# `beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID
|
251
|
-
# broadcast by the beacon. The returned `Beacon` object will contain the
|
252
|
-
# beacon's stable Eddystone-UID. Clients not authorized to resolve the
|
253
|
-
# beacon's ephemeral Eddystone-EID broadcast will receive an error.
|
139
|
+
# from a signed-in user with **Is owner** or **Can edit** permissions in the
|
140
|
+
# Google Developers Console project.
|
254
141
|
# @param [String] beacon_name
|
255
|
-
#
|
142
|
+
# Beacon that should be deactivated. A beacon name has the format
|
256
143
|
# "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
|
257
144
|
# the beacon and N is a code for the beacon's type. Possible values are
|
258
145
|
# `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
|
@@ -260,61 +147,9 @@ module Google
|
|
260
147
|
# current EID or the beacon's "stable" UID.
|
261
148
|
# Required.
|
262
149
|
# @param [String] project_id
|
263
|
-
# The project id of the beacon to
|
264
|
-
# then the project making the request is used. The project id must
|
265
|
-
# project that owns the beacon.
|
266
|
-
# Optional.
|
267
|
-
# @param [String] fields
|
268
|
-
# Selector specifying which fields to include in a partial response.
|
269
|
-
# @param [String] quota_user
|
270
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
271
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
272
|
-
# @param [Google::Apis::RequestOptions] options
|
273
|
-
# Request-specific options
|
274
|
-
#
|
275
|
-
# @yield [result, err] Result & error if block supplied
|
276
|
-
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object
|
277
|
-
# @yieldparam err [StandardError] error object if request failed
|
278
|
-
#
|
279
|
-
# @return [Google::Apis::ProximitybeaconV1beta1::Beacon]
|
280
|
-
#
|
281
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
282
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
283
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
284
|
-
def get_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
285
|
-
command = make_simple_command(:get, 'v1beta1/{+beaconName}', options)
|
286
|
-
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
|
287
|
-
command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
|
288
|
-
command.params['beaconName'] = beacon_name unless beacon_name.nil?
|
289
|
-
command.query['projectId'] = project_id unless project_id.nil?
|
290
|
-
command.query['fields'] = fields unless fields.nil?
|
291
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
292
|
-
execute_or_queue_command(command, &block)
|
293
|
-
end
|
294
|
-
|
295
|
-
# Updates the information about the specified beacon. **Any field that you do
|
296
|
-
# not populate in the submitted beacon will be permanently erased**, so you
|
297
|
-
# should follow the "read, modify, write" pattern to avoid inadvertently
|
298
|
-
# destroying data.
|
299
|
-
# Changes to the beacon status via this method will be silently ignored.
|
300
|
-
# To update beacon status, use the separate methods on this API for
|
301
|
-
# activation, deactivation, and decommissioning.
|
302
|
-
# Authenticate using an [OAuth access token](https://developers.google.com/
|
303
|
-
# identity/protocols/OAuth2)
|
304
|
-
# from a signed-in user with **Is owner** or **Can edit** permissions in the
|
305
|
-
# Google Developers Console project.
|
306
|
-
# @param [String] beacon_name
|
307
|
-
# Resource name of this beacon. A beacon name has the format
|
308
|
-
# "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
|
309
|
-
# the beacon and N is a code for the beacon's type. Possible values are
|
310
|
-
# `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon.
|
311
|
-
# This field must be left empty when registering. After reading a beacon,
|
312
|
-
# clients can use the name for future operations.
|
313
|
-
# @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object
|
314
|
-
# @param [String] project_id
|
315
|
-
# The project id of the beacon to update. If the project id is not
|
316
|
-
# specified then the project making the request is used. The project id
|
317
|
-
# must match the project that owns the beacon.
|
150
|
+
# The project id of the beacon to deactivate. If the project id is not
|
151
|
+
# specified then the project making the request is used. The project id must
|
152
|
+
# match the project that owns the beacon.
|
318
153
|
# Optional.
|
319
154
|
# @param [String] fields
|
320
155
|
# Selector specifying which fields to include in a partial response.
|
@@ -325,20 +160,18 @@ module Google
|
|
325
160
|
# Request-specific options
|
326
161
|
#
|
327
162
|
# @yield [result, err] Result & error if block supplied
|
328
|
-
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::
|
163
|
+
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object
|
329
164
|
# @yieldparam err [StandardError] error object if request failed
|
330
165
|
#
|
331
|
-
# @return [Google::Apis::ProximitybeaconV1beta1::
|
166
|
+
# @return [Google::Apis::ProximitybeaconV1beta1::Empty]
|
332
167
|
#
|
333
168
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
334
169
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
335
170
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
336
|
-
def
|
337
|
-
command = make_simple_command(:
|
338
|
-
command.
|
339
|
-
command.
|
340
|
-
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
|
341
|
-
command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
|
171
|
+
def deactivate_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
172
|
+
command = make_simple_command(:post, 'v1beta1/{+beaconName}:deactivate', options)
|
173
|
+
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
|
174
|
+
command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
|
342
175
|
command.params['beaconName'] = beacon_name unless beacon_name.nil?
|
343
176
|
command.query['projectId'] = project_id unless project_id.nil?
|
344
177
|
command.query['fields'] = fields unless fields.nil?
|
@@ -442,16 +275,18 @@ module Google
|
|
442
275
|
execute_or_queue_command(command, &block)
|
443
276
|
end
|
444
277
|
|
445
|
-
#
|
446
|
-
# information nor attachment data for the beacon when queried via
|
447
|
-
# `beaconinfo.getforobserved`. Calling this method on an already inactive
|
448
|
-
# beacon will do nothing (but will return a successful response code).
|
278
|
+
# Returns detailed information about the specified beacon.
|
449
279
|
# Authenticate using an [OAuth access token](https://developers.google.com/
|
450
280
|
# identity/protocols/OAuth2)
|
451
|
-
# from a signed-in user with **Is owner** or **Can edit**
|
452
|
-
# Google Developers Console project.
|
281
|
+
# from a signed-in user with **viewer**, **Is owner** or **Can edit**
|
282
|
+
# permissions in the Google Developers Console project.
|
283
|
+
# Requests may supply an Eddystone-EID beacon name in the form:
|
284
|
+
# `beacons/4!beaconId` where the `beaconId` is the base16 ephemeral ID
|
285
|
+
# broadcast by the beacon. The returned `Beacon` object will contain the
|
286
|
+
# beacon's stable Eddystone-UID. Clients not authorized to resolve the
|
287
|
+
# beacon's ephemeral Eddystone-EID broadcast will receive an error.
|
453
288
|
# @param [String] beacon_name
|
454
|
-
#
|
289
|
+
# Resource name of this beacon. A beacon name has the format
|
455
290
|
# "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
|
456
291
|
# the beacon and N is a code for the beacon's type. Possible values are
|
457
292
|
# `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
|
@@ -459,9 +294,9 @@ module Google
|
|
459
294
|
# current EID or the beacon's "stable" UID.
|
460
295
|
# Required.
|
461
296
|
# @param [String] project_id
|
462
|
-
# The project id of the beacon to
|
463
|
-
#
|
464
|
-
#
|
297
|
+
# The project id of the beacon to request. If the project id is not specified
|
298
|
+
# then the project making the request is used. The project id must match the
|
299
|
+
# project that owns the beacon.
|
465
300
|
# Optional.
|
466
301
|
# @param [String] fields
|
467
302
|
# Selector specifying which fields to include in a partial response.
|
@@ -472,18 +307,18 @@ module Google
|
|
472
307
|
# Request-specific options
|
473
308
|
#
|
474
309
|
# @yield [result, err] Result & error if block supplied
|
475
|
-
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::
|
310
|
+
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object
|
476
311
|
# @yieldparam err [StandardError] error object if request failed
|
477
312
|
#
|
478
|
-
# @return [Google::Apis::ProximitybeaconV1beta1::
|
313
|
+
# @return [Google::Apis::ProximitybeaconV1beta1::Beacon]
|
479
314
|
#
|
480
315
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
481
316
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
482
317
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
483
|
-
def
|
484
|
-
command = make_simple_command(:
|
485
|
-
command.response_representation = Google::Apis::ProximitybeaconV1beta1::
|
486
|
-
command.response_class = Google::Apis::ProximitybeaconV1beta1::
|
318
|
+
def get_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
319
|
+
command = make_simple_command(:get, 'v1beta1/{+beaconName}', options)
|
320
|
+
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
|
321
|
+
command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
|
487
322
|
command.params['beaconName'] = beacon_name unless beacon_name.nil?
|
488
323
|
command.query['projectId'] = project_id unless project_id.nil?
|
489
324
|
command.query['fields'] = fields unless fields.nil?
|
@@ -491,59 +326,22 @@ module Google
|
|
491
326
|
execute_or_queue_command(command, &block)
|
492
327
|
end
|
493
328
|
|
494
|
-
#
|
495
|
-
#
|
329
|
+
# Searches the beacon registry for beacons that match the given search
|
330
|
+
# criteria. Only those beacons that the client has permission to list
|
331
|
+
# will be returned.
|
496
332
|
# Authenticate using an [OAuth access token](https://developers.google.com/
|
497
333
|
# identity/protocols/OAuth2)
|
498
|
-
# from a signed-in user with **Is owner** or **Can edit**
|
499
|
-
# Google Developers Console project.
|
500
|
-
# @param [
|
334
|
+
# from a signed-in user with **viewer**, **Is owner** or **Can edit**
|
335
|
+
# permissions in the Google Developers Console project.
|
336
|
+
# @param [Fixnum] page_size
|
337
|
+
# The maximum number of records to return for this request, up to a
|
338
|
+
# server-defined upper limit.
|
339
|
+
# @param [String] page_token
|
340
|
+
# A pagination token obtained from a previous request to list beacons.
|
501
341
|
# @param [String] project_id
|
502
|
-
# The project id
|
503
|
-
# the
|
504
|
-
# is used.
|
342
|
+
# The project id to list beacons under. If not present then the project
|
343
|
+
# credential that made the request is used as the project.
|
505
344
|
# Optional.
|
506
|
-
# @param [String] fields
|
507
|
-
# Selector specifying which fields to include in a partial response.
|
508
|
-
# @param [String] quota_user
|
509
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
510
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
511
|
-
# @param [Google::Apis::RequestOptions] options
|
512
|
-
# Request-specific options
|
513
|
-
#
|
514
|
-
# @yield [result, err] Result & error if block supplied
|
515
|
-
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object
|
516
|
-
# @yieldparam err [StandardError] error object if request failed
|
517
|
-
#
|
518
|
-
# @return [Google::Apis::ProximitybeaconV1beta1::Beacon]
|
519
|
-
#
|
520
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
521
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
522
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
523
|
-
def register_beacon(beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
524
|
-
command = make_simple_command(:post, 'v1beta1/beacons:register', options)
|
525
|
-
command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
|
526
|
-
command.request_object = beacon_object
|
527
|
-
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
|
528
|
-
command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
|
529
|
-
command.query['projectId'] = project_id unless project_id.nil?
|
530
|
-
command.query['fields'] = fields unless fields.nil?
|
531
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
532
|
-
execute_or_queue_command(command, &block)
|
533
|
-
end
|
534
|
-
|
535
|
-
# Searches the beacon registry for beacons that match the given search
|
536
|
-
# criteria. Only those beacons that the client has permission to list
|
537
|
-
# will be returned.
|
538
|
-
# Authenticate using an [OAuth access token](https://developers.google.com/
|
539
|
-
# identity/protocols/OAuth2)
|
540
|
-
# from a signed-in user with **viewer**, **Is owner** or **Can edit**
|
541
|
-
# permissions in the Google Developers Console project.
|
542
|
-
# @param [String] page_token
|
543
|
-
# A pagination token obtained from a previous request to list beacons.
|
544
|
-
# @param [Fixnum] page_size
|
545
|
-
# The maximum number of records to return for this request, up to a
|
546
|
-
# server-defined upper limit.
|
547
345
|
# @param [String] q
|
548
346
|
# Filter query string that supports the following field filters:
|
549
347
|
# * **description:`"<string>"`**
|
@@ -608,10 +406,6 @@ module Google
|
|
608
406
|
# be URL-encoded.
|
609
407
|
# Example REST request:
|
610
408
|
# `GET /v1beta1/beacons?q=status:active%20lat:51.123%20lng:-1.095%20radius:1000`
|
611
|
-
# @param [String] project_id
|
612
|
-
# The project id to list beacons under. If not present then the project
|
613
|
-
# credential that made the request is used as the project.
|
614
|
-
# Optional.
|
615
409
|
# @param [String] fields
|
616
410
|
# Selector specifying which fields to include in a partial response.
|
617
411
|
# @param [String] quota_user
|
@@ -629,38 +423,30 @@ module Google
|
|
629
423
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
630
424
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
631
425
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
632
|
-
def list_beacons(
|
426
|
+
def list_beacons(page_size: nil, page_token: nil, project_id: nil, q: nil, fields: nil, quota_user: nil, options: nil, &block)
|
633
427
|
command = make_simple_command(:get, 'v1beta1/beacons', options)
|
634
428
|
command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse::Representation
|
635
429
|
command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse
|
636
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
637
430
|
command.query['pageSize'] = page_size unless page_size.nil?
|
638
|
-
command.query['
|
431
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
639
432
|
command.query['projectId'] = project_id unless project_id.nil?
|
433
|
+
command.query['q'] = q unless q.nil?
|
640
434
|
command.query['fields'] = fields unless fields.nil?
|
641
435
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
642
436
|
execute_or_queue_command(command, &block)
|
643
437
|
end
|
644
438
|
|
645
|
-
#
|
646
|
-
#
|
647
|
-
# fetch the attachment data via this API. You specify this with the delete
|
648
|
-
# request to control which attachment is removed. This operation cannot be
|
649
|
-
# undone.
|
439
|
+
# Registers a previously unregistered beacon given its `advertisedId`.
|
440
|
+
# These IDs are unique within the system. An ID can be registered only once.
|
650
441
|
# Authenticate using an [OAuth access token](https://developers.google.com/
|
651
442
|
# identity/protocols/OAuth2)
|
652
443
|
# from a signed-in user with **Is owner** or **Can edit** permissions in the
|
653
444
|
# Google Developers Console project.
|
654
|
-
# @param [
|
655
|
-
# The attachment name (`attachmentName`) of
|
656
|
-
# the attachment to remove. For example:
|
657
|
-
# `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For
|
658
|
-
# Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the
|
659
|
-
# beacon's current EID, or its "stable" Eddystone-UID.
|
660
|
-
# Required.
|
445
|
+
# @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object
|
661
446
|
# @param [String] project_id
|
662
|
-
# The project id of the
|
663
|
-
#
|
447
|
+
# The project id of the project the beacon will be registered to. If
|
448
|
+
# the project id is not specified then the project making the request
|
449
|
+
# is used.
|
664
450
|
# Optional.
|
665
451
|
# @param [String] fields
|
666
452
|
# Selector specifying which fields to include in a partial response.
|
@@ -671,53 +457,49 @@ module Google
|
|
671
457
|
# Request-specific options
|
672
458
|
#
|
673
459
|
# @yield [result, err] Result & error if block supplied
|
674
|
-
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::
|
460
|
+
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object
|
675
461
|
# @yieldparam err [StandardError] error object if request failed
|
676
462
|
#
|
677
|
-
# @return [Google::Apis::ProximitybeaconV1beta1::
|
463
|
+
# @return [Google::Apis::ProximitybeaconV1beta1::Beacon]
|
678
464
|
#
|
679
465
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
680
466
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
681
467
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
682
|
-
def
|
683
|
-
command = make_simple_command(:
|
684
|
-
command.
|
685
|
-
command.
|
686
|
-
command.
|
468
|
+
def register_beacon(beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
469
|
+
command = make_simple_command(:post, 'v1beta1/beacons:register', options)
|
470
|
+
command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
|
471
|
+
command.request_object = beacon_object
|
472
|
+
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
|
473
|
+
command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
|
687
474
|
command.query['projectId'] = project_id unless project_id.nil?
|
688
475
|
command.query['fields'] = fields unless fields.nil?
|
689
476
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
690
477
|
execute_or_queue_command(command, &block)
|
691
478
|
end
|
692
479
|
|
693
|
-
#
|
694
|
-
#
|
695
|
-
#
|
696
|
-
#
|
697
|
-
#
|
698
|
-
#
|
480
|
+
# Updates the information about the specified beacon. **Any field that you do
|
481
|
+
# not populate in the submitted beacon will be permanently erased**, so you
|
482
|
+
# should follow the "read, modify, write" pattern to avoid inadvertently
|
483
|
+
# destroying data.
|
484
|
+
# Changes to the beacon status via this method will be silently ignored.
|
485
|
+
# To update beacon status, use the separate methods on this API for
|
486
|
+
# activation, deactivation, and decommissioning.
|
699
487
|
# Authenticate using an [OAuth access token](https://developers.google.com/
|
700
488
|
# identity/protocols/OAuth2)
|
701
|
-
# from a signed-in user with **
|
702
|
-
#
|
489
|
+
# from a signed-in user with **Is owner** or **Can edit** permissions in the
|
490
|
+
# Google Developers Console project.
|
703
491
|
# @param [String] beacon_name
|
704
|
-
#
|
705
|
-
#
|
706
|
-
#
|
707
|
-
# `3` for Eddystone
|
708
|
-
#
|
709
|
-
#
|
710
|
-
#
|
711
|
-
# @param [String] namespaced_type
|
712
|
-
# Specifies the namespace and type of attachment to include in response in
|
713
|
-
# <var>namespace/type</var> format. Accepts `*/*` to specify
|
714
|
-
# "all types in all namespaces".
|
492
|
+
# Resource name of this beacon. A beacon name has the format
|
493
|
+
# "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
|
494
|
+
# the beacon and N is a code for the beacon's type. Possible values are
|
495
|
+
# `3` for Eddystone, `1` for iBeacon, or `5` for AltBeacon.
|
496
|
+
# This field must be left empty when registering. After reading a beacon,
|
497
|
+
# clients can use the name for future operations.
|
498
|
+
# @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object
|
715
499
|
# @param [String] project_id
|
716
|
-
# The project id
|
717
|
-
#
|
718
|
-
#
|
719
|
-
# specified and the projectId string is empty, then the project
|
720
|
-
# making the request is used.
|
500
|
+
# The project id of the beacon to update. If the project id is not
|
501
|
+
# specified then the project making the request is used. The project id
|
502
|
+
# must match the project that owns the beacon.
|
721
503
|
# Optional.
|
722
504
|
# @param [String] fields
|
723
505
|
# Selector specifying which fields to include in a partial response.
|
@@ -728,20 +510,21 @@ module Google
|
|
728
510
|
# Request-specific options
|
729
511
|
#
|
730
512
|
# @yield [result, err] Result & error if block supplied
|
731
|
-
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::
|
513
|
+
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object
|
732
514
|
# @yieldparam err [StandardError] error object if request failed
|
733
515
|
#
|
734
|
-
# @return [Google::Apis::ProximitybeaconV1beta1::
|
516
|
+
# @return [Google::Apis::ProximitybeaconV1beta1::Beacon]
|
735
517
|
#
|
736
518
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
737
519
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
738
520
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
739
|
-
def
|
740
|
-
command = make_simple_command(:
|
741
|
-
command.
|
742
|
-
command.
|
521
|
+
def update_beacon(beacon_name, beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
522
|
+
command = make_simple_command(:put, 'v1beta1/{+beaconName}', options)
|
523
|
+
command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
|
524
|
+
command.request_object = beacon_object
|
525
|
+
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
|
526
|
+
command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
|
743
527
|
command.params['beaconName'] = beacon_name unless beacon_name.nil?
|
744
|
-
command.query['namespacedType'] = namespaced_type unless namespaced_type.nil?
|
745
528
|
command.query['projectId'] = project_id unless project_id.nil?
|
746
529
|
command.query['fields'] = fields unless fields.nil?
|
747
530
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -866,6 +649,112 @@ module Google
|
|
866
649
|
execute_or_queue_command(command, &block)
|
867
650
|
end
|
868
651
|
|
652
|
+
# Deletes the specified attachment for the given beacon. Each attachment has
|
653
|
+
# a unique attachment name (`attachmentName`) which is returned when you
|
654
|
+
# fetch the attachment data via this API. You specify this with the delete
|
655
|
+
# request to control which attachment is removed. This operation cannot be
|
656
|
+
# undone.
|
657
|
+
# Authenticate using an [OAuth access token](https://developers.google.com/
|
658
|
+
# identity/protocols/OAuth2)
|
659
|
+
# from a signed-in user with **Is owner** or **Can edit** permissions in the
|
660
|
+
# Google Developers Console project.
|
661
|
+
# @param [String] attachment_name
|
662
|
+
# The attachment name (`attachmentName`) of
|
663
|
+
# the attachment to remove. For example:
|
664
|
+
# `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For
|
665
|
+
# Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the
|
666
|
+
# beacon's current EID, or its "stable" Eddystone-UID.
|
667
|
+
# Required.
|
668
|
+
# @param [String] project_id
|
669
|
+
# The project id of the attachment to delete. If not provided, the project
|
670
|
+
# that is making the request is used.
|
671
|
+
# Optional.
|
672
|
+
# @param [String] fields
|
673
|
+
# Selector specifying which fields to include in a partial response.
|
674
|
+
# @param [String] quota_user
|
675
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
676
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
677
|
+
# @param [Google::Apis::RequestOptions] options
|
678
|
+
# Request-specific options
|
679
|
+
#
|
680
|
+
# @yield [result, err] Result & error if block supplied
|
681
|
+
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object
|
682
|
+
# @yieldparam err [StandardError] error object if request failed
|
683
|
+
#
|
684
|
+
# @return [Google::Apis::ProximitybeaconV1beta1::Empty]
|
685
|
+
#
|
686
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
687
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
688
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
689
|
+
def delete_beacon_attachment(attachment_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
690
|
+
command = make_simple_command(:delete, 'v1beta1/{+attachmentName}', options)
|
691
|
+
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
|
692
|
+
command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
|
693
|
+
command.params['attachmentName'] = attachment_name unless attachment_name.nil?
|
694
|
+
command.query['projectId'] = project_id unless project_id.nil?
|
695
|
+
command.query['fields'] = fields unless fields.nil?
|
696
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
697
|
+
execute_or_queue_command(command, &block)
|
698
|
+
end
|
699
|
+
|
700
|
+
# Returns the attachments for the specified beacon that match the specified
|
701
|
+
# namespaced-type pattern.
|
702
|
+
# To control which namespaced types are returned, you add the
|
703
|
+
# `namespacedType` query parameter to the request. You must either use
|
704
|
+
# `*/*`, to return all attachments, or the namespace must be one of
|
705
|
+
# the ones returned from the `namespaces` endpoint.
|
706
|
+
# Authenticate using an [OAuth access token](https://developers.google.com/
|
707
|
+
# identity/protocols/OAuth2)
|
708
|
+
# from a signed-in user with **viewer**, **Is owner** or **Can edit**
|
709
|
+
# permissions in the Google Developers Console project.
|
710
|
+
# @param [String] beacon_name
|
711
|
+
# Beacon whose attachments should be fetched. A beacon name has the
|
712
|
+
# format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast
|
713
|
+
# by the beacon and N is a code for the beacon's type. Possible values are
|
714
|
+
# `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
|
715
|
+
# for AltBeacon. For Eddystone-EID beacons, you may use either the
|
716
|
+
# current EID or the beacon's "stable" UID.
|
717
|
+
# Required.
|
718
|
+
# @param [String] namespaced_type
|
719
|
+
# Specifies the namespace and type of attachment to include in response in
|
720
|
+
# <var>namespace/type</var> format. Accepts `*/*` to specify
|
721
|
+
# "all types in all namespaces".
|
722
|
+
# @param [String] project_id
|
723
|
+
# The project id to list beacon attachments under. This field can be
|
724
|
+
# used when "*" is specified to mean all attachment namespaces. Projects
|
725
|
+
# may have multiple attachments with multiple namespaces. If "*" is
|
726
|
+
# specified and the projectId string is empty, then the project
|
727
|
+
# making the request is used.
|
728
|
+
# Optional.
|
729
|
+
# @param [String] fields
|
730
|
+
# Selector specifying which fields to include in a partial response.
|
731
|
+
# @param [String] quota_user
|
732
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
733
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
734
|
+
# @param [Google::Apis::RequestOptions] options
|
735
|
+
# Request-specific options
|
736
|
+
#
|
737
|
+
# @yield [result, err] Result & error if block supplied
|
738
|
+
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse] parsed result object
|
739
|
+
# @yieldparam err [StandardError] error object if request failed
|
740
|
+
#
|
741
|
+
# @return [Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse]
|
742
|
+
#
|
743
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
744
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
745
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
746
|
+
def list_beacon_attachments(beacon_name, namespaced_type: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
747
|
+
command = make_simple_command(:get, 'v1beta1/{+beaconName}/attachments', options)
|
748
|
+
command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse::Representation
|
749
|
+
command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse
|
750
|
+
command.params['beaconName'] = beacon_name unless beacon_name.nil?
|
751
|
+
command.query['namespacedType'] = namespaced_type unless namespaced_type.nil?
|
752
|
+
command.query['projectId'] = project_id unless project_id.nil?
|
753
|
+
command.query['fields'] = fields unless fields.nil?
|
754
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
755
|
+
execute_or_queue_command(command, &block)
|
756
|
+
end
|
757
|
+
|
869
758
|
# List the diagnostics for a single beacon. You can also list diagnostics for
|
870
759
|
# all the beacons owned by your Google Developers Console project by using
|
871
760
|
# the beacon name `beacons/-`.
|
@@ -881,13 +770,13 @@ module Google
|
|
881
770
|
# @param [Fixnum] page_size
|
882
771
|
# Specifies the maximum number of results to return. Defaults to
|
883
772
|
# 10. Maximum 1000. Optional.
|
773
|
+
# @param [String] page_token
|
774
|
+
# Requests results that occur after the `page_token`, obtained from the
|
775
|
+
# response to a previous request. Optional.
|
884
776
|
# @param [String] project_id
|
885
777
|
# Requests only diagnostic records for the given project id. If not set,
|
886
778
|
# then the project making the request will be used for looking up
|
887
779
|
# diagnostic records. Optional.
|
888
|
-
# @param [String] page_token
|
889
|
-
# Requests results that occur after the `page_token`, obtained from the
|
890
|
-
# response to a previous request. Optional.
|
891
780
|
# @param [String] fields
|
892
781
|
# Selector specifying which fields to include in a partial response.
|
893
782
|
# @param [String] quota_user
|
@@ -905,15 +794,126 @@ module Google
|
|
905
794
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
906
795
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
907
796
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
908
|
-
def list_beacon_diagnostics(beacon_name, alert_filter: nil, page_size: nil,
|
797
|
+
def list_beacon_diagnostics(beacon_name, alert_filter: nil, page_size: nil, page_token: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
909
798
|
command = make_simple_command(:get, 'v1beta1/{+beaconName}/diagnostics', options)
|
910
799
|
command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse::Representation
|
911
800
|
command.response_class = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse
|
912
801
|
command.params['beaconName'] = beacon_name unless beacon_name.nil?
|
913
802
|
command.query['alertFilter'] = alert_filter unless alert_filter.nil?
|
914
803
|
command.query['pageSize'] = page_size unless page_size.nil?
|
915
|
-
command.query['projectId'] = project_id unless project_id.nil?
|
916
804
|
command.query['pageToken'] = page_token unless page_token.nil?
|
805
|
+
command.query['projectId'] = project_id unless project_id.nil?
|
806
|
+
command.query['fields'] = fields unless fields.nil?
|
807
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
808
|
+
execute_or_queue_command(command, &block)
|
809
|
+
end
|
810
|
+
|
811
|
+
# Lists all attachment namespaces owned by your Google Developers Console
|
812
|
+
# project. Attachment data associated with a beacon must include a
|
813
|
+
# namespaced type, and the namespace must be owned by your project.
|
814
|
+
# Authenticate using an [OAuth access token](https://developers.google.com/
|
815
|
+
# identity/protocols/OAuth2)
|
816
|
+
# from a signed-in user with **viewer**, **Is owner** or **Can edit**
|
817
|
+
# permissions in the Google Developers Console project.
|
818
|
+
# @param [String] project_id
|
819
|
+
# The project id to list namespaces under.
|
820
|
+
# Optional.
|
821
|
+
# @param [String] fields
|
822
|
+
# Selector specifying which fields to include in a partial response.
|
823
|
+
# @param [String] quota_user
|
824
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
825
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
826
|
+
# @param [Google::Apis::RequestOptions] options
|
827
|
+
# Request-specific options
|
828
|
+
#
|
829
|
+
# @yield [result, err] Result & error if block supplied
|
830
|
+
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse] parsed result object
|
831
|
+
# @yieldparam err [StandardError] error object if request failed
|
832
|
+
#
|
833
|
+
# @return [Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse]
|
834
|
+
#
|
835
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
836
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
837
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
838
|
+
def list_namespaces(project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
839
|
+
command = make_simple_command(:get, 'v1beta1/namespaces', options)
|
840
|
+
command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse::Representation
|
841
|
+
command.response_class = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse
|
842
|
+
command.query['projectId'] = project_id unless project_id.nil?
|
843
|
+
command.query['fields'] = fields unless fields.nil?
|
844
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
845
|
+
execute_or_queue_command(command, &block)
|
846
|
+
end
|
847
|
+
|
848
|
+
# Updates the information about the specified namespace. Only the namespace
|
849
|
+
# visibility can be updated.
|
850
|
+
# @param [String] namespace_name
|
851
|
+
# Resource name of this namespace. Namespaces names have the format:
|
852
|
+
# <code>namespaces/<var>namespace</var></code>.
|
853
|
+
# @param [Google::Apis::ProximitybeaconV1beta1::Namespace] namespace_object
|
854
|
+
# @param [String] project_id
|
855
|
+
# The project id of the namespace to update. If the project id is not
|
856
|
+
# specified then the project making the request is used. The project id
|
857
|
+
# must match the project that owns the beacon.
|
858
|
+
# Optional.
|
859
|
+
# @param [String] fields
|
860
|
+
# Selector specifying which fields to include in a partial response.
|
861
|
+
# @param [String] quota_user
|
862
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
863
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
864
|
+
# @param [Google::Apis::RequestOptions] options
|
865
|
+
# Request-specific options
|
866
|
+
#
|
867
|
+
# @yield [result, err] Result & error if block supplied
|
868
|
+
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Namespace] parsed result object
|
869
|
+
# @yieldparam err [StandardError] error object if request failed
|
870
|
+
#
|
871
|
+
# @return [Google::Apis::ProximitybeaconV1beta1::Namespace]
|
872
|
+
#
|
873
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
874
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
875
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
876
|
+
def update_namespace(namespace_name, namespace_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
877
|
+
command = make_simple_command(:put, 'v1beta1/{+namespaceName}', options)
|
878
|
+
command.request_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
|
879
|
+
command.request_object = namespace_object
|
880
|
+
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
|
881
|
+
command.response_class = Google::Apis::ProximitybeaconV1beta1::Namespace
|
882
|
+
command.params['namespaceName'] = namespace_name unless namespace_name.nil?
|
883
|
+
command.query['projectId'] = project_id unless project_id.nil?
|
884
|
+
command.query['fields'] = fields unless fields.nil?
|
885
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
886
|
+
execute_or_queue_command(command, &block)
|
887
|
+
end
|
888
|
+
|
889
|
+
# Gets the Proximity Beacon API's current public key and associated
|
890
|
+
# parameters used to initiate the Diffie-Hellman key exchange required to
|
891
|
+
# register a beacon that broadcasts the Eddystone-EID format. This key
|
892
|
+
# changes periodically; clients may cache it and re-use the same public key
|
893
|
+
# to provision and register multiple beacons. However, clients should be
|
894
|
+
# prepared to refresh this key when they encounter an error registering an
|
895
|
+
# Eddystone-EID beacon.
|
896
|
+
# @param [String] fields
|
897
|
+
# Selector specifying which fields to include in a partial response.
|
898
|
+
# @param [String] quota_user
|
899
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
900
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
901
|
+
# @param [Google::Apis::RequestOptions] options
|
902
|
+
# Request-specific options
|
903
|
+
#
|
904
|
+
# @yield [result, err] Result & error if block supplied
|
905
|
+
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams] parsed result object
|
906
|
+
# @yieldparam err [StandardError] error object if request failed
|
907
|
+
#
|
908
|
+
# @return [Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams]
|
909
|
+
#
|
910
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
911
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
912
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
913
|
+
def get_eidparams(fields: nil, quota_user: nil, options: nil, &block)
|
914
|
+
command = make_simple_command(:get, 'v1beta1/eidparams', options)
|
915
|
+
command.response_representation = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams::Representation
|
916
|
+
command.response_class = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams
|
917
917
|
command.query['fields'] = fields unless fields.nil?
|
918
918
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
919
919
|
execute_or_queue_command(command, &block)
|