google-api-client 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/api_names.yaml +945 -41609
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +12 -12
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1437 -412
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +516 -71
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1098 -422
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
- data/generated/google/apis/admin_directory_v1/service.rb +26 -26
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
- data/generated/google/apis/adsense_v1_4/service.rb +44 -44
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
- data/generated/google/apis/analytics_v3/classes.rb +3 -3
- data/generated/google/apis/analytics_v3/representations.rb +3 -3
- data/generated/google/apis/analytics_v3/service.rb +82 -82
- data/generated/google/apis/analyticsreporting_v4/classes.rb +937 -937
- data/generated/google/apis/analyticsreporting_v4/representations.rb +128 -128
- data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
- data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
- data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
- data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
- data/generated/google/apis/appengine_v1.rb +4 -4
- data/generated/google/apis/appengine_v1/classes.rb +1570 -1512
- data/generated/google/apis/appengine_v1/representations.rb +362 -343
- data/generated/google/apis/appengine_v1/service.rb +220 -220
- 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 +5 -5
- data/generated/google/apis/bigquery_v2/representations.rb +8 -8
- data/generated/google/apis/bigquery_v2/service.rb +13 -13
- data/generated/google/apis/blogger_v3/service.rb +3 -3
- data/generated/google/apis/books_v1/classes.rb +55 -55
- data/generated/google/apis/books_v1/representations.rb +67 -67
- data/generated/google/apis/books_v1/service.rb +82 -82
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +6 -6
- data/generated/google/apis/calendar_v3/representations.rb +3 -3
- data/generated/google/apis/calendar_v3/service.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +2 -2
- data/generated/google/apis/civicinfo_v2/representations.rb +4 -4
- data/generated/google/apis/civicinfo_v2/service.rb +12 -12
- data/generated/google/apis/classroom_v1.rb +7 -7
- data/generated/google/apis/classroom_v1/classes.rb +1013 -991
- data/generated/google/apis/classroom_v1/representations.rb +207 -204
- data/generated/google/apis/classroom_v1/service.rb +709 -709
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +307 -307
- data/generated/google/apis/cloudbuild_v1/representations.rb +84 -84
- data/generated/google/apis/cloudbuild_v1/service.rb +125 -125
- data/generated/google/apis/clouddebugger_v2/classes.rb +673 -673
- data/generated/google/apis/clouddebugger_v2/representations.rb +152 -152
- data/generated/google/apis/clouddebugger_v2/service.rb +55 -55
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +121 -121
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +74 -74
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +668 -613
- data/generated/google/apis/cloudkms_v1/representations.rb +151 -133
- data/generated/google/apis/cloudkms_v1/service.rb +267 -267
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1167 -1168
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +193 -193
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +470 -469
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +508 -509
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +94 -94
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +157 -156
- data/generated/google/apis/cloudtrace_v1/service.rb +34 -34
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +163 -15
- data/generated/google/apis/compute_beta/representations.rb +54 -14
- data/generated/google/apis/compute_beta/service.rb +2258 -482
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +465 -13
- data/generated/google/apis/compute_v1/representations.rb +202 -16
- data/generated/google/apis/compute_v1/service.rb +573 -309
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +635 -589
- data/generated/google/apis/container_v1/representations.rb +139 -111
- data/generated/google/apis/container_v1/service.rb +272 -227
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +86 -74
- data/generated/google/apis/content_v2/representations.rb +107 -105
- data/generated/google/apis/content_v2/service.rb +131 -130
- data/generated/google/apis/customsearch_v1.rb +2 -2
- data/generated/google/apis/customsearch_v1/classes.rb +0 -6
- data/generated/google/apis/customsearch_v1/representations.rb +0 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -5
- data/generated/google/apis/dataflow_v1b3.rb +7 -4
- data/generated/google/apis/dataflow_v1b3/classes.rb +3405 -3405
- data/generated/google/apis/dataflow_v1b3/representations.rb +834 -834
- data/generated/google/apis/dataflow_v1b3/service.rb +244 -244
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +543 -691
- data/generated/google/apis/dataproc_v1/representations.rb +129 -185
- data/generated/google/apis/dataproc_v1/service.rb +347 -347
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +833 -833
- data/generated/google/apis/datastore_v1/representations.rb +182 -182
- data/generated/google/apis/datastore_v1/service.rb +45 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
- data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
- data/generated/google/apis/discovery_v1/classes.rb +4 -4
- data/generated/google/apis/discovery_v1/representations.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +3 -3
- data/generated/google/apis/dns_v1/representations.rb +6 -6
- data/generated/google/apis/dns_v1/service.rb +12 -12
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +160 -110
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +60 -31
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +38 -3
- data/generated/google/apis/firebaserules_v1/classes.rb +354 -354
- data/generated/google/apis/firebaserules_v1/representations.rb +87 -87
- data/generated/google/apis/firebaserules_v1/service.rb +103 -103
- data/generated/google/apis/fusiontables_v2/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +23 -23
- data/generated/google/apis/games_v1/representations.rb +43 -43
- data/generated/google/apis/games_v1/service.rb +72 -72
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +2316 -2316
- data/generated/google/apis/genomics_v1/representations.rb +291 -291
- data/generated/google/apis/genomics_v1/service.rb +821 -821
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +2 -2
- data/generated/google/apis/groupssettings_v1/service.rb +3 -0
- data/generated/google/apis/iam_v1/classes.rb +338 -338
- data/generated/google/apis/iam_v1/representations.rb +98 -98
- data/generated/google/apis/iam_v1/service.rb +35 -35
- data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
- data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
- data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +374 -374
- data/generated/google/apis/language_v1/representations.rb +97 -97
- data/generated/google/apis/language_v1/service.rb +16 -16
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +441 -441
- data/generated/google/apis/language_v1beta1/representations.rb +108 -108
- data/generated/google/apis/language_v1beta1/service.rb +30 -30
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +712 -712
- data/generated/google/apis/logging_v2/representations.rb +109 -109
- data/generated/google/apis/logging_v2/service.rb +543 -539
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +752 -752
- data/generated/google/apis/logging_v2beta1/representations.rb +94 -94
- data/generated/google/apis/logging_v2beta1/service.rb +257 -256
- data/generated/google/apis/manufacturers_v1/classes.rb +130 -130
- data/generated/google/apis/manufacturers_v1/representations.rb +28 -28
- data/generated/google/apis/mirror_v1/classes.rb +5 -5
- data/generated/google/apis/mirror_v1/representations.rb +10 -10
- data/generated/google/apis/mirror_v1/service.rb +20 -20
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1830 -1210
- data/generated/google/apis/ml_v1/representations.rb +342 -120
- data/generated/google/apis/ml_v1/service.rb +365 -258
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +889 -889
- data/generated/google/apis/monitoring_v3/representations.rb +174 -174
- data/generated/google/apis/monitoring_v3/service.rb +119 -119
- data/generated/google/apis/mybusiness_v3/service.rb +5 -5
- data/generated/google/apis/oauth2_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
- data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +550 -536
- data/generated/google/apis/partners_v2/representations.rb +118 -116
- data/generated/google/apis/partners_v2/service.rb +439 -439
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +414 -413
- data/generated/google/apis/people_v1/representations.rb +85 -85
- data/generated/google/apis/people_v1/service.rb +111 -18
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +4 -4
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -8
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +443 -443
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +92 -92
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +152 -152
- data/generated/google/apis/pubsub_v1/classes.rb +249 -249
- data/generated/google/apis/pubsub_v1/representations.rb +80 -80
- data/generated/google/apis/pubsub_v1/service.rb +415 -415
- data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
- data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
- data/generated/google/apis/qpx_express_v1/service.rb +8 -8
- data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
- data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
- data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
- data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
- data/generated/google/apis/runtimeconfig_v1.rb +4 -4
- data/generated/google/apis/runtimeconfig_v1/classes.rb +15 -15
- data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
- data/generated/google/apis/script_v1.rb +17 -17
- data/generated/google/apis/script_v1/classes.rb +27 -27
- data/generated/google/apis/script_v1/representations.rb +5 -5
- data/generated/google/apis/script_v1/service.rb +4 -4
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +53 -53
- data/generated/google/apis/searchconsole_v1/representations.rb +23 -23
- data/generated/google/apis/searchconsole_v1/service.rb +4 -4
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1175 -1175
- data/generated/google/apis/servicecontrol_v1/representations.rb +206 -206
- data/generated/google/apis/servicecontrol_v1/service.rb +116 -116
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1186 -1125
- data/generated/google/apis/servicemanagement_v1/representations.rb +241 -223
- data/generated/google/apis/servicemanagement_v1/service.rb +201 -201
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +2645 -2641
- data/generated/google/apis/serviceuser_v1/representations.rb +234 -234
- data/generated/google/apis/serviceuser_v1/service.rb +37 -37
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +5042 -4111
- data/generated/google/apis/sheets_v4/representations.rb +994 -824
- data/generated/google/apis/sheets_v4/service.rb +80 -80
- data/generated/google/apis/site_verification_v1/classes.rb +6 -6
- data/generated/google/apis/site_verification_v1/representations.rb +8 -8
- data/generated/google/apis/site_verification_v1/service.rb +12 -12
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2885 -2885
- data/generated/google/apis/slides_v1/representations.rb +310 -310
- data/generated/google/apis/slides_v1/service.rb +54 -54
- data/generated/google/apis/sourcerepo_v1/classes.rb +206 -206
- data/generated/google/apis/sourcerepo_v1/representations.rb +52 -52
- data/generated/google/apis/sourcerepo_v1/service.rb +5 -5
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +2142 -2141
- data/generated/google/apis/spanner_v1/representations.rb +174 -174
- data/generated/google/apis/spanner_v1/service.rb +497 -497
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +227 -227
- data/generated/google/apis/speech_v1beta1/representations.rb +50 -50
- data/generated/google/apis/speech_v1beta1/service.rb +33 -33
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +21 -21
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +29 -29
- data/generated/google/apis/sqladmin_v1beta4/service.rb +56 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +40 -6
- data/generated/google/apis/storage_v1/representations.rb +20 -4
- data/generated/google/apis/storage_v1/service.rb +61 -46
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +184 -184
- data/generated/google/apis/storagetransfer_v1/representations.rb +35 -35
- data/generated/google/apis/storagetransfer_v1/service.rb +70 -70
- data/generated/google/apis/tagmanager_v1/service.rb +33 -33
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/translate_v2/classes.rb +12 -12
- data/generated/google/apis/translate_v2/representations.rb +10 -10
- data/generated/google/apis/translate_v2/service.rb +62 -62
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1267 -1267
- data/generated/google/apis/vision_v1/representations.rb +200 -200
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/representations.rb +8 -8
- data/generated/google/apis/webmasters_v3/service.rb +21 -21
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_v3/classes.rb +20 -20
- data/generated/google/apis/youtube_v3/representations.rb +40 -40
- data/generated/google/apis/youtube_v3/service.rb +80 -80
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +129 -129
- data/generated/google/apis/youtubereporting_v1/representations.rb +38 -38
- data/generated/google/apis/youtubereporting_v1/service.rb +97 -97
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/generator/model.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -22,6 +22,36 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ProximitybeaconV1beta1
|
24
24
|
|
25
|
+
class Observation
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class ListDiagnosticsResponse
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class GetInfoForObservedBeaconsResponse
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class Beacon
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class AdvertisedId
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
25
55
|
class Date
|
26
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
57
|
|
@@ -40,13 +70,13 @@ module Google
|
|
40
70
|
include Google::Apis::Core::JsonObjectSupport
|
41
71
|
end
|
42
72
|
|
43
|
-
class
|
73
|
+
class Diagnostics
|
44
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
75
|
|
46
76
|
include Google::Apis::Core::JsonObjectSupport
|
47
77
|
end
|
48
78
|
|
49
|
-
class
|
79
|
+
class ListBeaconsResponse
|
50
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
81
|
|
52
82
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -94,13 +124,13 @@ module Google
|
|
94
124
|
include Google::Apis::Core::JsonObjectSupport
|
95
125
|
end
|
96
126
|
|
97
|
-
class
|
127
|
+
class AttachmentInfo
|
98
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
129
|
|
100
130
|
include Google::Apis::Core::JsonObjectSupport
|
101
131
|
end
|
102
132
|
|
103
|
-
class
|
133
|
+
class BeaconInfo
|
104
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
135
|
|
106
136
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -119,41 +149,67 @@ module Google
|
|
119
149
|
end
|
120
150
|
|
121
151
|
class Observation
|
122
|
-
|
152
|
+
# @private
|
153
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
154
|
+
property :timestamp_ms, as: 'timestampMs'
|
155
|
+
property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
|
123
156
|
|
124
|
-
|
157
|
+
property :telemetry, :base64 => true, as: 'telemetry'
|
158
|
+
end
|
125
159
|
end
|
126
160
|
|
127
161
|
class ListDiagnosticsResponse
|
128
|
-
|
162
|
+
# @private
|
163
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
164
|
+
collection :diagnostics, as: 'diagnostics', class: Google::Apis::ProximitybeaconV1beta1::Diagnostics, decorator: Google::Apis::ProximitybeaconV1beta1::Diagnostics::Representation
|
129
165
|
|
130
|
-
|
166
|
+
property :next_page_token, as: 'nextPageToken'
|
167
|
+
end
|
131
168
|
end
|
132
169
|
|
133
170
|
class GetInfoForObservedBeaconsResponse
|
134
|
-
|
171
|
+
# @private
|
172
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
173
|
+
collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::BeaconInfo, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconInfo::Representation
|
135
174
|
|
136
|
-
|
175
|
+
end
|
137
176
|
end
|
138
177
|
|
139
178
|
class Beacon
|
140
|
-
|
179
|
+
# @private
|
180
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
181
|
+
property :provisioning_key, :base64 => true, as: 'provisioningKey'
|
182
|
+
property :ephemeral_id_registration, as: 'ephemeralIdRegistration', class: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration, decorator: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration::Representation
|
141
183
|
|
142
|
-
|
184
|
+
property :lat_lng, as: 'latLng', class: Google::Apis::ProximitybeaconV1beta1::LatLng, decorator: Google::Apis::ProximitybeaconV1beta1::LatLng::Representation
|
185
|
+
|
186
|
+
property :place_id, as: 'placeId'
|
187
|
+
property :description, as: 'description'
|
188
|
+
hash :properties, as: 'properties'
|
189
|
+
property :status, as: 'status'
|
190
|
+
property :indoor_level, as: 'indoorLevel', class: Google::Apis::ProximitybeaconV1beta1::IndoorLevel, decorator: Google::Apis::ProximitybeaconV1beta1::IndoorLevel::Representation
|
191
|
+
|
192
|
+
property :beacon_name, as: 'beaconName'
|
193
|
+
property :expected_stability, as: 'expectedStability'
|
194
|
+
property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
|
195
|
+
|
196
|
+
end
|
143
197
|
end
|
144
198
|
|
145
199
|
class AdvertisedId
|
146
|
-
|
147
|
-
|
148
|
-
|
200
|
+
# @private
|
201
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
202
|
+
property :type, as: 'type'
|
203
|
+
property :id, :base64 => true, as: 'id'
|
204
|
+
end
|
149
205
|
end
|
150
206
|
|
151
207
|
class Date
|
152
208
|
# @private
|
153
209
|
class Representation < Google::Apis::Core::JsonRepresentation
|
154
|
-
property :month, as: 'month'
|
155
210
|
property :year, as: 'year'
|
156
211
|
property :day, as: 'day'
|
212
|
+
property :month, as: 'month'
|
157
213
|
end
|
158
214
|
end
|
159
215
|
|
@@ -172,23 +228,23 @@ module Google
|
|
172
228
|
end
|
173
229
|
end
|
174
230
|
|
175
|
-
class
|
231
|
+
class Diagnostics
|
176
232
|
# @private
|
177
233
|
class Representation < Google::Apis::Core::JsonRepresentation
|
178
|
-
property :
|
179
|
-
collection :
|
234
|
+
property :beacon_name, as: 'beaconName'
|
235
|
+
collection :alerts, as: 'alerts'
|
236
|
+
property :estimated_low_battery_date, as: 'estimatedLowBatteryDate', class: Google::Apis::ProximitybeaconV1beta1::Date, decorator: Google::Apis::ProximitybeaconV1beta1::Date::Representation
|
180
237
|
|
181
|
-
property :total_count, :numeric_string => true, as: 'totalCount'
|
182
238
|
end
|
183
239
|
end
|
184
240
|
|
185
|
-
class
|
241
|
+
class ListBeaconsResponse
|
186
242
|
# @private
|
187
243
|
class Representation < Google::Apis::Core::JsonRepresentation
|
188
|
-
property :
|
244
|
+
property :next_page_token, as: 'nextPageToken'
|
245
|
+
collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::Beacon, decorator: Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
|
189
246
|
|
190
|
-
property :
|
191
|
-
collection :alerts, as: 'alerts'
|
247
|
+
property :total_count, :numeric_string => true, as: 'totalCount'
|
192
248
|
end
|
193
249
|
end
|
194
250
|
|
@@ -210,22 +266,22 @@ module Google
|
|
210
266
|
class BeaconAttachment
|
211
267
|
# @private
|
212
268
|
class Representation < Google::Apis::Core::JsonRepresentation
|
213
|
-
property :data, :base64 => true, as: 'data'
|
214
269
|
property :creation_time_ms, as: 'creationTimeMs'
|
215
270
|
property :attachment_name, as: 'attachmentName'
|
216
271
|
property :namespaced_type, as: 'namespacedType'
|
272
|
+
property :data, :base64 => true, as: 'data'
|
217
273
|
end
|
218
274
|
end
|
219
275
|
|
220
276
|
class EphemeralIdRegistration
|
221
277
|
# @private
|
222
278
|
class Representation < Google::Apis::Core::JsonRepresentation
|
223
|
-
property :initial_clock_value, :numeric_string => true, as: 'initialClockValue'
|
224
|
-
property :beacon_ecdh_public_key, :base64 => true, as: 'beaconEcdhPublicKey'
|
225
279
|
property :rotation_period_exponent, as: 'rotationPeriodExponent'
|
226
280
|
property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey'
|
227
281
|
property :beacon_identity_key, :base64 => true, as: 'beaconIdentityKey'
|
228
282
|
property :initial_eid, :base64 => true, as: 'initialEid'
|
283
|
+
property :initial_clock_value, :numeric_string => true, as: 'initialClockValue'
|
284
|
+
property :beacon_ecdh_public_key, :base64 => true, as: 'beaconEcdhPublicKey'
|
229
285
|
end
|
230
286
|
end
|
231
287
|
|
@@ -253,6 +309,14 @@ module Google
|
|
253
309
|
end
|
254
310
|
end
|
255
311
|
|
312
|
+
class AttachmentInfo
|
313
|
+
# @private
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
315
|
+
property :namespaced_type, as: 'namespacedType'
|
316
|
+
property :data, :base64 => true, as: 'data'
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
256
320
|
class BeaconInfo
|
257
321
|
# @private
|
258
322
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -264,14 +328,6 @@ module Google
|
|
264
328
|
end
|
265
329
|
end
|
266
330
|
|
267
|
-
class AttachmentInfo
|
268
|
-
# @private
|
269
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
270
|
-
property :data, :base64 => true, as: 'data'
|
271
|
-
property :namespaced_type, as: 'namespacedType'
|
272
|
-
end
|
273
|
-
end
|
274
|
-
|
275
331
|
class DeleteAttachmentsResponse
|
276
332
|
# @private
|
277
333
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -282,65 +338,9 @@ module Google
|
|
282
338
|
class EphemeralIdRegistrationParams
|
283
339
|
# @private
|
284
340
|
class Representation < Google::Apis::Core::JsonRepresentation
|
285
|
-
property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey'
|
286
341
|
property :min_rotation_period_exponent, as: 'minRotationPeriodExponent'
|
287
342
|
property :max_rotation_period_exponent, as: 'maxRotationPeriodExponent'
|
288
|
-
|
289
|
-
end
|
290
|
-
|
291
|
-
class Observation
|
292
|
-
# @private
|
293
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
294
|
-
property :timestamp_ms, as: 'timestampMs'
|
295
|
-
property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
|
296
|
-
|
297
|
-
property :telemetry, :base64 => true, as: 'telemetry'
|
298
|
-
end
|
299
|
-
end
|
300
|
-
|
301
|
-
class ListDiagnosticsResponse
|
302
|
-
# @private
|
303
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
304
|
-
collection :diagnostics, as: 'diagnostics', class: Google::Apis::ProximitybeaconV1beta1::Diagnostics, decorator: Google::Apis::ProximitybeaconV1beta1::Diagnostics::Representation
|
305
|
-
|
306
|
-
property :next_page_token, as: 'nextPageToken'
|
307
|
-
end
|
308
|
-
end
|
309
|
-
|
310
|
-
class GetInfoForObservedBeaconsResponse
|
311
|
-
# @private
|
312
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
313
|
-
collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::BeaconInfo, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconInfo::Representation
|
314
|
-
|
315
|
-
end
|
316
|
-
end
|
317
|
-
|
318
|
-
class Beacon
|
319
|
-
# @private
|
320
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
321
|
-
property :lat_lng, as: 'latLng', class: Google::Apis::ProximitybeaconV1beta1::LatLng, decorator: Google::Apis::ProximitybeaconV1beta1::LatLng::Representation
|
322
|
-
|
323
|
-
property :place_id, as: 'placeId'
|
324
|
-
property :description, as: 'description'
|
325
|
-
hash :properties, as: 'properties'
|
326
|
-
property :indoor_level, as: 'indoorLevel', class: Google::Apis::ProximitybeaconV1beta1::IndoorLevel, decorator: Google::Apis::ProximitybeaconV1beta1::IndoorLevel::Representation
|
327
|
-
|
328
|
-
property :status, as: 'status'
|
329
|
-
property :beacon_name, as: 'beaconName'
|
330
|
-
property :expected_stability, as: 'expectedStability'
|
331
|
-
property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
|
332
|
-
|
333
|
-
property :provisioning_key, :base64 => true, as: 'provisioningKey'
|
334
|
-
property :ephemeral_id_registration, as: 'ephemeralIdRegistration', class: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration, decorator: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration::Representation
|
335
|
-
|
336
|
-
end
|
337
|
-
end
|
338
|
-
|
339
|
-
class AdvertisedId
|
340
|
-
# @private
|
341
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
342
|
-
property :id, :base64 => true, as: 'id'
|
343
|
-
property :type, as: 'type'
|
343
|
+
property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey'
|
344
344
|
end
|
345
345
|
end
|
346
346
|
end
|
@@ -234,15 +234,16 @@ module Google
|
|
234
234
|
execute_or_queue_command(command, &block)
|
235
235
|
end
|
236
236
|
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
237
|
+
# Deactivates a beacon. Once deactivated, the API will not return
|
238
|
+
# information nor attachment data for the beacon when queried via
|
239
|
+
# `beaconinfo.getforobserved`. Calling this method on an already inactive
|
240
|
+
# beacon will do nothing (but will return a successful response code).
|
240
241
|
# Authenticate using an [OAuth access token](https://developers.google.com/
|
241
242
|
# identity/protocols/OAuth2)
|
242
243
|
# from a signed-in user with **Is owner** or **Can edit** permissions in the
|
243
244
|
# Google Developers Console project.
|
244
245
|
# @param [String] beacon_name
|
245
|
-
# Beacon that should be
|
246
|
+
# Beacon that should be deactivated. A beacon name has the format
|
246
247
|
# "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
|
247
248
|
# the beacon and N is a code for the beacon's type. Possible values are
|
248
249
|
# `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
|
@@ -250,8 +251,9 @@ module Google
|
|
250
251
|
# current EID or the beacon's "stable" UID.
|
251
252
|
# Required.
|
252
253
|
# @param [String] project_id
|
253
|
-
# The project id of the beacon to
|
254
|
-
#
|
254
|
+
# The project id of the beacon to deactivate. If the project id is not
|
255
|
+
# specified then the project making the request is used. The project id must
|
256
|
+
# match the project that owns the beacon.
|
255
257
|
# Optional.
|
256
258
|
# @param [String] fields
|
257
259
|
# Selector specifying which fields to include in a partial response.
|
@@ -270,8 +272,8 @@ module Google
|
|
270
272
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
271
273
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
272
274
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
273
|
-
def
|
274
|
-
command = make_simple_command(:
|
275
|
+
def deactivate_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
276
|
+
command = make_simple_command(:post, 'v1beta1/{+beaconName}:deactivate', options)
|
275
277
|
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
|
276
278
|
command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
|
277
279
|
command.params['beaconName'] = beacon_name unless beacon_name.nil?
|
@@ -281,16 +283,15 @@ module Google
|
|
281
283
|
execute_or_queue_command(command, &block)
|
282
284
|
end
|
283
285
|
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
287
|
-
# beacon will do nothing (but will return a successful response code).
|
286
|
+
# Deletes the specified beacon including all diagnostics data for the beacon
|
287
|
+
# as well as any attachments on the beacon (including those belonging to
|
288
|
+
# other projects). This operation cannot be undone.
|
288
289
|
# Authenticate using an [OAuth access token](https://developers.google.com/
|
289
290
|
# identity/protocols/OAuth2)
|
290
291
|
# from a signed-in user with **Is owner** or **Can edit** permissions in the
|
291
292
|
# Google Developers Console project.
|
292
293
|
# @param [String] beacon_name
|
293
|
-
# Beacon that should be
|
294
|
+
# Beacon that should be deleted. A beacon name has the format
|
294
295
|
# "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
|
295
296
|
# the beacon and N is a code for the beacon's type. Possible values are
|
296
297
|
# `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
|
@@ -298,9 +299,8 @@ module Google
|
|
298
299
|
# current EID or the beacon's "stable" UID.
|
299
300
|
# Required.
|
300
301
|
# @param [String] project_id
|
301
|
-
# The project id of the beacon to
|
302
|
-
#
|
303
|
-
# match the project that owns the beacon.
|
302
|
+
# The project id of the beacon to delete. If not provided, the project
|
303
|
+
# that is making the request is used.
|
304
304
|
# Optional.
|
305
305
|
# @param [String] fields
|
306
306
|
# Selector specifying which fields to include in a partial response.
|
@@ -319,8 +319,8 @@ module Google
|
|
319
319
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
320
320
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
321
321
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
322
|
-
def
|
323
|
-
command = make_simple_command(:
|
322
|
+
def delete_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
323
|
+
command = make_simple_command(:delete, 'v1beta1/{+beaconName}', options)
|
324
324
|
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
|
325
325
|
command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
|
326
326
|
command.params['beaconName'] = beacon_name unless beacon_name.nil?
|
@@ -330,6 +330,47 @@ module Google
|
|
330
330
|
execute_or_queue_command(command, &block)
|
331
331
|
end
|
332
332
|
|
333
|
+
# Registers a previously unregistered beacon given its `advertisedId`.
|
334
|
+
# These IDs are unique within the system. An ID can be registered only once.
|
335
|
+
# Authenticate using an [OAuth access token](https://developers.google.com/
|
336
|
+
# identity/protocols/OAuth2)
|
337
|
+
# from a signed-in user with **Is owner** or **Can edit** permissions in the
|
338
|
+
# Google Developers Console project.
|
339
|
+
# @param [Google::Apis::ProximitybeaconV1beta1::Beacon] beacon_object
|
340
|
+
# @param [String] project_id
|
341
|
+
# The project id of the project the beacon will be registered to. If
|
342
|
+
# the project id is not specified then the project making the request
|
343
|
+
# is used.
|
344
|
+
# Optional.
|
345
|
+
# @param [String] fields
|
346
|
+
# Selector specifying which fields to include in a partial response.
|
347
|
+
# @param [String] quota_user
|
348
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
349
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
350
|
+
# @param [Google::Apis::RequestOptions] options
|
351
|
+
# Request-specific options
|
352
|
+
#
|
353
|
+
# @yield [result, err] Result & error if block supplied
|
354
|
+
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Beacon] parsed result object
|
355
|
+
# @yieldparam err [StandardError] error object if request failed
|
356
|
+
#
|
357
|
+
# @return [Google::Apis::ProximitybeaconV1beta1::Beacon]
|
358
|
+
#
|
359
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
360
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
361
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
362
|
+
def register_beacon(beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
363
|
+
command = make_simple_command(:post, 'v1beta1/beacons:register', options)
|
364
|
+
command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
|
365
|
+
command.request_object = beacon_object
|
366
|
+
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
|
367
|
+
command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
|
368
|
+
command.query['projectId'] = project_id unless project_id.nil?
|
369
|
+
command.query['fields'] = fields unless fields.nil?
|
370
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
371
|
+
execute_or_queue_command(command, &block)
|
372
|
+
end
|
373
|
+
|
333
374
|
# Searches the beacon registry for beacons that match the given search
|
334
375
|
# criteria. Only those beacons that the client has permission to list
|
335
376
|
# will be returned.
|
@@ -440,17 +481,26 @@ module Google
|
|
440
481
|
execute_or_queue_command(command, &block)
|
441
482
|
end
|
442
483
|
|
443
|
-
#
|
444
|
-
#
|
484
|
+
# Activates a beacon. A beacon that is active will return information
|
485
|
+
# and attachment data when queried via `beaconinfo.getforobserved`.
|
486
|
+
# Calling this method on an already active beacon will do nothing (but
|
487
|
+
# will return a successful response code).
|
445
488
|
# Authenticate using an [OAuth access token](https://developers.google.com/
|
446
489
|
# identity/protocols/OAuth2)
|
447
490
|
# from a signed-in user with **Is owner** or **Can edit** permissions in the
|
448
491
|
# Google Developers Console project.
|
449
|
-
# @param [
|
492
|
+
# @param [String] beacon_name
|
493
|
+
# Beacon that should be activated. A beacon name has the format
|
494
|
+
# "beacons/N!beaconId" where the beaconId is the base16 ID broadcast by
|
495
|
+
# the beacon and N is a code for the beacon's type. Possible values are
|
496
|
+
# `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
|
497
|
+
# for AltBeacon. For Eddystone-EID beacons, you may use either the
|
498
|
+
# current EID or the beacon's "stable" UID.
|
499
|
+
# Required.
|
450
500
|
# @param [String] project_id
|
451
|
-
# The project id of the
|
452
|
-
#
|
453
|
-
#
|
501
|
+
# The project id of the beacon to activate. If the project id is not
|
502
|
+
# specified then the project making the request is used. The project id
|
503
|
+
# must match the project that owns the beacon.
|
454
504
|
# Optional.
|
455
505
|
# @param [String] fields
|
456
506
|
# Selector specifying which fields to include in a partial response.
|
@@ -461,46 +511,44 @@ module Google
|
|
461
511
|
# Request-specific options
|
462
512
|
#
|
463
513
|
# @yield [result, err] Result & error if block supplied
|
464
|
-
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::
|
514
|
+
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object
|
465
515
|
# @yieldparam err [StandardError] error object if request failed
|
466
516
|
#
|
467
|
-
# @return [Google::Apis::ProximitybeaconV1beta1::
|
517
|
+
# @return [Google::Apis::ProximitybeaconV1beta1::Empty]
|
468
518
|
#
|
469
519
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
470
520
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
471
521
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
472
|
-
def
|
473
|
-
command = make_simple_command(:post, 'v1beta1/
|
474
|
-
command.
|
475
|
-
command.
|
476
|
-
command.
|
477
|
-
command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
|
522
|
+
def activate_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
523
|
+
command = make_simple_command(:post, 'v1beta1/{+beaconName}:activate', options)
|
524
|
+
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
|
525
|
+
command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
|
526
|
+
command.params['beaconName'] = beacon_name unless beacon_name.nil?
|
478
527
|
command.query['projectId'] = project_id unless project_id.nil?
|
479
528
|
command.query['fields'] = fields unless fields.nil?
|
480
529
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
481
530
|
execute_or_queue_command(command, &block)
|
482
531
|
end
|
483
532
|
|
484
|
-
#
|
485
|
-
#
|
486
|
-
#
|
487
|
-
#
|
533
|
+
# Deletes the specified attachment for the given beacon. Each attachment has
|
534
|
+
# a unique attachment name (`attachmentName`) which is returned when you
|
535
|
+
# fetch the attachment data via this API. You specify this with the delete
|
536
|
+
# request to control which attachment is removed. This operation cannot be
|
537
|
+
# undone.
|
488
538
|
# Authenticate using an [OAuth access token](https://developers.google.com/
|
489
539
|
# identity/protocols/OAuth2)
|
490
540
|
# from a signed-in user with **Is owner** or **Can edit** permissions in the
|
491
541
|
# Google Developers Console project.
|
492
|
-
# @param [String]
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
496
|
-
#
|
497
|
-
#
|
498
|
-
# current EID or the beacon's "stable" UID.
|
542
|
+
# @param [String] attachment_name
|
543
|
+
# The attachment name (`attachmentName`) of
|
544
|
+
# the attachment to remove. For example:
|
545
|
+
# `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For
|
546
|
+
# Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the
|
547
|
+
# beacon's current EID, or its "stable" Eddystone-UID.
|
499
548
|
# Required.
|
500
549
|
# @param [String] project_id
|
501
|
-
# The project id of the
|
502
|
-
#
|
503
|
-
# must match the project that owns the beacon.
|
550
|
+
# The project id of the attachment to delete. If not provided, the project
|
551
|
+
# that is making the request is used.
|
504
552
|
# Optional.
|
505
553
|
# @param [String] fields
|
506
554
|
# Selector specifying which fields to include in a partial response.
|
@@ -519,39 +567,46 @@ module Google
|
|
519
567
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
520
568
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
521
569
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
522
|
-
def
|
523
|
-
command = make_simple_command(:
|
570
|
+
def delete_beacon_attachment(attachment_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
571
|
+
command = make_simple_command(:delete, 'v1beta1/{+attachmentName}', options)
|
524
572
|
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
|
525
573
|
command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
|
526
|
-
command.params['
|
574
|
+
command.params['attachmentName'] = attachment_name unless attachment_name.nil?
|
527
575
|
command.query['projectId'] = project_id unless project_id.nil?
|
528
576
|
command.query['fields'] = fields unless fields.nil?
|
529
577
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
530
578
|
execute_or_queue_command(command, &block)
|
531
579
|
end
|
532
580
|
|
533
|
-
#
|
534
|
-
#
|
535
|
-
#
|
581
|
+
# Returns the attachments for the specified beacon that match the specified
|
582
|
+
# namespaced-type pattern.
|
583
|
+
# To control which namespaced types are returned, you add the
|
584
|
+
# `namespacedType` query parameter to the request. You must either use
|
585
|
+
# `*/*`, to return all attachments, or the namespace must be one of
|
586
|
+
# the ones returned from the `namespaces` endpoint.
|
536
587
|
# Authenticate using an [OAuth access token](https://developers.google.com/
|
537
588
|
# identity/protocols/OAuth2)
|
538
589
|
# from a signed-in user with **viewer**, **Is owner** or **Can edit**
|
539
590
|
# permissions in the Google Developers Console project.
|
540
591
|
# @param [String] beacon_name
|
541
|
-
# Beacon
|
542
|
-
#
|
543
|
-
#
|
544
|
-
#
|
545
|
-
#
|
546
|
-
#
|
547
|
-
#
|
548
|
-
# @param [String]
|
549
|
-
#
|
550
|
-
#
|
592
|
+
# Beacon whose attachments should be fetched. A beacon name has the
|
593
|
+
# format "beacons/N!beaconId" where the beaconId is the base16 ID broadcast
|
594
|
+
# by the beacon and N is a code for the beacon's type. Possible values are
|
595
|
+
# `3` for Eddystone-UID, `4` for Eddystone-EID, `1` for iBeacon, or `5`
|
596
|
+
# for AltBeacon. For Eddystone-EID beacons, you may use either the
|
597
|
+
# current EID or the beacon's "stable" UID.
|
598
|
+
# Required.
|
599
|
+
# @param [String] namespaced_type
|
600
|
+
# Specifies the namespace and type of attachment to include in response in
|
601
|
+
# <var>namespace/type</var> format. Accepts `*/*` to specify
|
602
|
+
# "all types in all namespaces".
|
551
603
|
# @param [String] project_id
|
552
|
-
#
|
553
|
-
#
|
554
|
-
#
|
604
|
+
# The project id to list beacon attachments under. This field can be
|
605
|
+
# used when "*" is specified to mean all attachment namespaces. Projects
|
606
|
+
# may have multiple attachments with multiple namespaces. If "*" is
|
607
|
+
# specified and the projectId string is empty, then the project
|
608
|
+
# making the request is used.
|
609
|
+
# Optional.
|
555
610
|
# @param [String] fields
|
556
611
|
# Selector specifying which fields to include in a partial response.
|
557
612
|
# @param [String] quota_user
|
@@ -561,22 +616,20 @@ module Google
|
|
561
616
|
# Request-specific options
|
562
617
|
#
|
563
618
|
# @yield [result, err] Result & error if block supplied
|
564
|
-
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::
|
619
|
+
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse] parsed result object
|
565
620
|
# @yieldparam err [StandardError] error object if request failed
|
566
621
|
#
|
567
|
-
# @return [Google::Apis::ProximitybeaconV1beta1::
|
622
|
+
# @return [Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse]
|
568
623
|
#
|
569
624
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
570
625
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
571
626
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
572
|
-
def
|
573
|
-
command = make_simple_command(:get, 'v1beta1/{+beaconName}/
|
574
|
-
command.response_representation = Google::Apis::ProximitybeaconV1beta1::
|
575
|
-
command.response_class = Google::Apis::ProximitybeaconV1beta1::
|
627
|
+
def list_beacon_attachments(beacon_name, namespaced_type: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
628
|
+
command = make_simple_command(:get, 'v1beta1/{+beaconName}/attachments', options)
|
629
|
+
command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse::Representation
|
630
|
+
command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse
|
576
631
|
command.params['beaconName'] = beacon_name unless beacon_name.nil?
|
577
|
-
command.query['
|
578
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
579
|
-
command.query['alertFilter'] = alert_filter unless alert_filter.nil?
|
632
|
+
command.query['namespacedType'] = namespaced_type unless namespaced_type.nil?
|
580
633
|
command.query['projectId'] = project_id unless project_id.nil?
|
581
634
|
command.query['fields'] = fields unless fields.nil?
|
582
635
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -701,83 +754,28 @@ module Google
|
|
701
754
|
execute_or_queue_command(command, &block)
|
702
755
|
end
|
703
756
|
|
704
|
-
#
|
705
|
-
#
|
706
|
-
#
|
707
|
-
# request to control which attachment is removed. This operation cannot be
|
708
|
-
# undone.
|
709
|
-
# Authenticate using an [OAuth access token](https://developers.google.com/
|
710
|
-
# identity/protocols/OAuth2)
|
711
|
-
# from a signed-in user with **Is owner** or **Can edit** permissions in the
|
712
|
-
# Google Developers Console project.
|
713
|
-
# @param [String] attachment_name
|
714
|
-
# The attachment name (`attachmentName`) of
|
715
|
-
# the attachment to remove. For example:
|
716
|
-
# `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For
|
717
|
-
# Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the
|
718
|
-
# beacon's current EID, or its "stable" Eddystone-UID.
|
719
|
-
# Required.
|
720
|
-
# @param [String] project_id
|
721
|
-
# The project id of the attachment to delete. If not provided, the project
|
722
|
-
# that is making the request is used.
|
723
|
-
# Optional.
|
724
|
-
# @param [String] fields
|
725
|
-
# Selector specifying which fields to include in a partial response.
|
726
|
-
# @param [String] quota_user
|
727
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
728
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
729
|
-
# @param [Google::Apis::RequestOptions] options
|
730
|
-
# Request-specific options
|
731
|
-
#
|
732
|
-
# @yield [result, err] Result & error if block supplied
|
733
|
-
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object
|
734
|
-
# @yieldparam err [StandardError] error object if request failed
|
735
|
-
#
|
736
|
-
# @return [Google::Apis::ProximitybeaconV1beta1::Empty]
|
737
|
-
#
|
738
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
739
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
740
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
741
|
-
def delete_beacon_attachment(attachment_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
742
|
-
command = make_simple_command(:delete, 'v1beta1/{+attachmentName}', options)
|
743
|
-
command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
|
744
|
-
command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
|
745
|
-
command.params['attachmentName'] = attachment_name unless attachment_name.nil?
|
746
|
-
command.query['projectId'] = project_id unless project_id.nil?
|
747
|
-
command.query['fields'] = fields unless fields.nil?
|
748
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
749
|
-
execute_or_queue_command(command, &block)
|
750
|
-
end
|
751
|
-
|
752
|
-
# Returns the attachments for the specified beacon that match the specified
|
753
|
-
# namespaced-type pattern.
|
754
|
-
# To control which namespaced types are returned, you add the
|
755
|
-
# `namespacedType` query parameter to the request. You must either use
|
756
|
-
# `*/*`, to return all attachments, or the namespace must be one of
|
757
|
-
# the ones returned from the `namespaces` endpoint.
|
757
|
+
# List the diagnostics for a single beacon. You can also list diagnostics for
|
758
|
+
# all the beacons owned by your Google Developers Console project by using
|
759
|
+
# the beacon name `beacons/-`.
|
758
760
|
# Authenticate using an [OAuth access token](https://developers.google.com/
|
759
761
|
# identity/protocols/OAuth2)
|
760
762
|
# from a signed-in user with **viewer**, **Is owner** or **Can edit**
|
761
763
|
# permissions in the Google Developers Console project.
|
762
764
|
# @param [String] beacon_name
|
763
|
-
# Beacon
|
764
|
-
#
|
765
|
-
#
|
766
|
-
#
|
767
|
-
#
|
768
|
-
#
|
769
|
-
#
|
765
|
+
# Beacon that the diagnostics are for.
|
766
|
+
# @param [String] page_token
|
767
|
+
# Requests results that occur after the `page_token`, obtained from the
|
768
|
+
# response to a previous request. Optional.
|
769
|
+
# @param [Fixnum] page_size
|
770
|
+
# Specifies the maximum number of results to return. Defaults to
|
771
|
+
# 10. Maximum 1000. Optional.
|
772
|
+
# @param [String] alert_filter
|
773
|
+
# Requests only beacons that have the given alert. For example, to find
|
774
|
+
# beacons that have low batteries use `alert_filter=LOW_BATTERY`.
|
770
775
|
# @param [String] project_id
|
771
|
-
#
|
772
|
-
#
|
773
|
-
#
|
774
|
-
# specified and the projectId string is empty, then the project
|
775
|
-
# making the request is used.
|
776
|
-
# Optional.
|
777
|
-
# @param [String] namespaced_type
|
778
|
-
# Specifies the namespace and type of attachment to include in response in
|
779
|
-
# <var>namespace/type</var> format. Accepts `*/*` to specify
|
780
|
-
# "all types in all namespaces".
|
776
|
+
# Requests only diagnostic records for the given project id. If not set,
|
777
|
+
# then the project making the request will be used for looking up
|
778
|
+
# diagnostic records. Optional.
|
781
779
|
# @param [String] fields
|
782
780
|
# Selector specifying which fields to include in a partial response.
|
783
781
|
# @param [String] quota_user
|
@@ -787,21 +785,23 @@ module Google
|
|
787
785
|
# Request-specific options
|
788
786
|
#
|
789
787
|
# @yield [result, err] Result & error if block supplied
|
790
|
-
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::
|
788
|
+
# @yieldparam result [Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse] parsed result object
|
791
789
|
# @yieldparam err [StandardError] error object if request failed
|
792
790
|
#
|
793
|
-
# @return [Google::Apis::ProximitybeaconV1beta1::
|
791
|
+
# @return [Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse]
|
794
792
|
#
|
795
793
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
796
794
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
797
795
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
798
|
-
def
|
799
|
-
command = make_simple_command(:get, 'v1beta1/{+beaconName}/
|
800
|
-
command.response_representation = Google::Apis::ProximitybeaconV1beta1::
|
801
|
-
command.response_class = Google::Apis::ProximitybeaconV1beta1::
|
796
|
+
def list_beacon_diagnostics(beacon_name, page_token: nil, page_size: nil, alert_filter: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
797
|
+
command = make_simple_command(:get, 'v1beta1/{+beaconName}/diagnostics', options)
|
798
|
+
command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse::Representation
|
799
|
+
command.response_class = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse
|
802
800
|
command.params['beaconName'] = beacon_name unless beacon_name.nil?
|
801
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
802
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
803
|
+
command.query['alertFilter'] = alert_filter unless alert_filter.nil?
|
803
804
|
command.query['projectId'] = project_id unless project_id.nil?
|
804
|
-
command.query['namespacedType'] = namespaced_type unless namespaced_type.nil?
|
805
805
|
command.query['fields'] = fields unless fields.nil?
|
806
806
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
807
807
|
execute_or_queue_command(command, &block)
|