google-api-client 0.10.2 → 0.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/MIGRATING.md +22 -7
  4. data/README.md +4 -8
  5. data/api_names.yaml +1210 -37815
  6. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +32 -0
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +144 -0
  8. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +86 -0
  9. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +90 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +764 -764
  12. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +180 -180
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +421 -421
  14. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1/classes.rb +1 -0
  16. data/generated/google/apis/admin_reports_v1.rb +1 -1
  17. data/generated/google/apis/adsense_v1_4.rb +1 -1
  18. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  19. data/generated/google/apis/analyticsreporting_v4/classes.rb +187 -187
  20. data/generated/google/apis/analyticsreporting_v4/representations.rb +42 -42
  21. data/generated/google/apis/appengine_v1.rb +40 -0
  22. data/generated/google/apis/appengine_v1/classes.rb +2251 -0
  23. data/generated/google/apis/appengine_v1/representations.rb +858 -0
  24. data/generated/google/apis/appengine_v1/service.rb +894 -0
  25. data/generated/google/apis/bigquery_v2.rb +1 -1
  26. data/generated/google/apis/bigquery_v2/classes.rb +11 -6
  27. data/generated/google/apis/books_v1.rb +1 -1
  28. data/generated/google/apis/books_v1/classes.rb +26 -0
  29. data/generated/google/apis/books_v1/representations.rb +15 -0
  30. data/generated/google/apis/books_v1/service.rb +4 -1
  31. data/generated/google/apis/calendar_v3.rb +1 -1
  32. data/generated/google/apis/classroom_v1.rb +1 -1
  33. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1/classes.rb +638 -637
  35. data/generated/google/apis/cloudbuild_v1/representations.rb +110 -110
  36. data/generated/google/apis/cloudbuild_v1/service.rb +139 -139
  37. data/generated/google/apis/clouddebugger_v2.rb +3 -3
  38. data/generated/google/apis/clouddebugger_v2/classes.rb +131 -131
  39. data/generated/google/apis/clouddebugger_v2/representations.rb +25 -25
  40. data/generated/google/apis/clouderrorreporting_v1beta1.rb +36 -0
  41. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +590 -0
  42. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +252 -0
  43. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +350 -0
  44. data/generated/google/apis/cloudfunctions_v1.rb +35 -0
  45. data/generated/google/apis/cloudfunctions_v1/classes.rb +98 -0
  46. data/generated/google/apis/cloudfunctions_v1/representations.rb +57 -0
  47. data/generated/google/apis/cloudfunctions_v1/service.rb +89 -0
  48. data/generated/google/apis/cloudkms_v1/classes.rb +277 -270
  49. data/generated/google/apis/cloudkms_v1/representations.rb +73 -73
  50. data/generated/google/apis/cloudkms_v1/service.rb +194 -194
  51. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  52. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1147 -1144
  53. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
  54. data/generated/google/apis/cloudresourcemanager_v1/service.rb +513 -936
  55. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +307 -916
  57. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +63 -285
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +333 -681
  59. data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
  60. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  61. data/generated/google/apis/cloudtrace_v1/service.rb +16 -16
  62. data/generated/google/apis/compute_beta.rb +1 -1
  63. data/generated/google/apis/compute_beta/classes.rb +32 -7
  64. data/generated/google/apis/compute_beta/representations.rb +2 -0
  65. data/generated/google/apis/compute_beta/service.rb +11 -11
  66. data/generated/google/apis/compute_v1.rb +1 -1
  67. data/generated/google/apis/compute_v1/classes.rb +95 -2
  68. data/generated/google/apis/compute_v1/representations.rb +33 -0
  69. data/generated/google/apis/dataflow_v1b3/classes.rb +3333 -3333
  70. data/generated/google/apis/dataflow_v1b3/representations.rb +759 -759
  71. data/generated/google/apis/dataflow_v1b3/service.rb +154 -154
  72. data/generated/google/apis/dataproc_v1.rb +1 -1
  73. data/generated/google/apis/dataproc_v1/classes.rb +1097 -1097
  74. data/generated/google/apis/dataproc_v1/representations.rb +200 -200
  75. data/generated/google/apis/dataproc_v1/service.rb +356 -356
  76. data/generated/google/apis/datastore_v1.rb +4 -4
  77. data/generated/google/apis/datastore_v1/classes.rb +701 -690
  78. data/generated/google/apis/datastore_v1/representations.rb +160 -160
  79. data/generated/google/apis/datastore_v1/service.rb +52 -52
  80. data/generated/google/apis/deploymentmanager_v2/classes.rb +4 -0
  81. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  82. data/generated/google/apis/drive_v2.rb +1 -1
  83. data/generated/google/apis/drive_v2/classes.rb +158 -35
  84. data/generated/google/apis/drive_v2/representations.rb +39 -0
  85. data/generated/google/apis/drive_v2/service.rb +4 -4
  86. data/generated/google/apis/drive_v3.rb +1 -1
  87. data/generated/google/apis/drive_v3/classes.rb +162 -33
  88. data/generated/google/apis/drive_v3/representations.rb +39 -0
  89. data/generated/google/apis/drive_v3/service.rb +4 -4
  90. data/generated/google/apis/firebasedynamiclinks_v1.rb +35 -0
  91. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +466 -0
  92. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +222 -0
  93. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +95 -0
  94. data/generated/google/apis/firebaserules_v1.rb +41 -0
  95. data/generated/google/apis/firebaserules_v1/classes.rb +425 -0
  96. data/generated/google/apis/firebaserules_v1/representations.rb +222 -0
  97. data/generated/google/apis/firebaserules_v1/service.rb +495 -0
  98. data/generated/google/apis/games_v1/classes.rb +4 -0
  99. data/generated/google/apis/genomics_v1.rb +7 -7
  100. data/generated/google/apis/genomics_v1/classes.rb +2336 -2335
  101. data/generated/google/apis/genomics_v1/representations.rb +387 -387
  102. data/generated/google/apis/genomics_v1/service.rb +1187 -1187
  103. data/generated/google/apis/gmail_v1/classes.rb +3 -0
  104. data/generated/google/apis/iam_v1.rb +1 -1
  105. data/generated/google/apis/iam_v1/classes.rb +123 -117
  106. data/generated/google/apis/iam_v1/representations.rb +33 -33
  107. data/generated/google/apis/iam_v1/service.rb +109 -109
  108. data/generated/google/apis/identitytoolkit_v3/classes.rb +5 -0
  109. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  110. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  111. data/generated/google/apis/kgsearch_v1/service.rb +4 -4
  112. data/generated/google/apis/language_v1.rb +36 -0
  113. data/generated/google/apis/language_v1/classes.rb +757 -0
  114. data/generated/google/apis/language_v1/representations.rb +338 -0
  115. data/generated/google/apis/language_v1/service.rb +185 -0
  116. data/generated/google/apis/language_v1beta1/classes.rb +407 -407
  117. data/generated/google/apis/language_v1beta1/representations.rb +103 -103
  118. data/generated/google/apis/language_v1beta1/service.rb +45 -45
  119. data/generated/google/apis/logging_v2.rb +46 -0
  120. data/generated/google/apis/logging_v2/classes.rb +1271 -0
  121. data/generated/google/apis/logging_v2/representations.rb +421 -0
  122. data/generated/google/apis/logging_v2/service.rb +1569 -0
  123. data/generated/google/apis/logging_v2beta1.rb +1 -1
  124. data/generated/google/apis/logging_v2beta1/classes.rb +886 -886
  125. data/generated/google/apis/logging_v2beta1/representations.rb +132 -132
  126. data/generated/google/apis/logging_v2beta1/service.rb +235 -235
  127. data/generated/google/apis/manufacturers_v1/classes.rb +147 -147
  128. data/generated/google/apis/manufacturers_v1/representations.rb +29 -29
  129. data/generated/google/apis/ml_v1.rb +34 -0
  130. data/generated/google/apis/ml_v1/classes.rb +1617 -0
  131. data/generated/google/apis/ml_v1/representations.rb +498 -0
  132. data/generated/google/apis/ml_v1/service.rb +769 -0
  133. data/generated/google/apis/monitoring_v3.rb +4 -4
  134. data/generated/google/apis/monitoring_v3/classes.rb +630 -630
  135. data/generated/google/apis/monitoring_v3/representations.rb +134 -134
  136. data/generated/google/apis/monitoring_v3/service.rb +240 -240
  137. data/generated/google/apis/pagespeedonline_v2/classes.rb +1 -0
  138. data/generated/google/apis/partners_v2.rb +1 -1
  139. data/generated/google/apis/partners_v2/classes.rb +639 -639
  140. data/generated/google/apis/partners_v2/representations.rb +168 -168
  141. data/generated/google/apis/partners_v2/service.rb +381 -381
  142. data/generated/google/apis/people_v1.rb +10 -10
  143. data/generated/google/apis/people_v1/classes.rb +524 -524
  144. data/generated/google/apis/people_v1/representations.rb +143 -143
  145. data/generated/google/apis/people_v1/service.rb +30 -30
  146. data/generated/google/apis/plus_domains_v1.rb +1 -1
  147. data/generated/google/apis/plus_v1.rb +1 -1
  148. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +454 -444
  149. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +90 -90
  150. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +110 -110
  151. data/generated/google/apis/pubsub_v1/classes.rb +175 -173
  152. data/generated/google/apis/pubsub_v1/representations.rb +53 -53
  153. data/generated/google/apis/pubsub_v1/service.rb +210 -210
  154. data/generated/google/apis/replicapool_v1beta2/classes.rb +2 -0
  155. data/generated/google/apis/runtimeconfig_v1.rb +38 -0
  156. data/generated/google/apis/runtimeconfig_v1/classes.rb +252 -0
  157. data/generated/google/apis/runtimeconfig_v1/representations.rb +98 -0
  158. data/generated/google/apis/runtimeconfig_v1/service.rb +176 -0
  159. data/generated/google/apis/script_v1.rb +1 -1
  160. data/generated/google/apis/script_v1/classes.rb +6 -6
  161. data/generated/google/apis/script_v1/representations.rb +1 -1
  162. data/generated/google/apis/searchconsole_v1.rb +31 -0
  163. data/generated/google/apis/searchconsole_v1/classes.rb +205 -0
  164. data/generated/google/apis/searchconsole_v1/representations.rb +129 -0
  165. data/generated/google/apis/searchconsole_v1/service.rb +88 -0
  166. data/generated/google/apis/servicecontrol_v1.rb +38 -0
  167. data/generated/google/apis/servicecontrol_v1/classes.rb +1675 -0
  168. data/generated/google/apis/servicecontrol_v1/representations.rb +601 -0
  169. data/generated/google/apis/servicecontrol_v1/service.rb +337 -0
  170. data/generated/google/apis/servicemanagement_v1.rb +45 -0
  171. data/generated/google/apis/servicemanagement_v1/classes.rb +4934 -0
  172. data/generated/google/apis/servicemanagement_v1/representations.rb +1526 -0
  173. data/generated/google/apis/servicemanagement_v1/service.rb +860 -0
  174. data/generated/google/apis/serviceuser_v1.rb +42 -0
  175. data/generated/google/apis/serviceuser_v1/classes.rb +3746 -0
  176. data/generated/google/apis/serviceuser_v1/representations.rb +1041 -0
  177. data/generated/google/apis/serviceuser_v1/service.rb +214 -0
  178. data/generated/google/apis/sheets_v4.rb +3 -3
  179. data/generated/google/apis/sheets_v4/classes.rb +4390 -4390
  180. data/generated/google/apis/sheets_v4/representations.rb +381 -381
  181. data/generated/google/apis/sheets_v4/service.rb +48 -48
  182. data/generated/google/apis/slides_v1.rb +3 -3
  183. data/generated/google/apis/slides_v1/classes.rb +2860 -2860
  184. data/generated/google/apis/slides_v1/representations.rb +693 -693
  185. data/generated/google/apis/slides_v1/service.rb +30 -30
  186. data/generated/google/apis/sourcerepo_v1.rb +34 -0
  187. data/generated/google/apis/sourcerepo_v1/classes.rb +687 -0
  188. data/generated/google/apis/sourcerepo_v1/representations.rb +285 -0
  189. data/generated/google/apis/sourcerepo_v1/service.rb +291 -0
  190. data/generated/google/apis/spanner_v1.rb +35 -0
  191. data/generated/google/apis/spanner_v1/classes.rb +3294 -0
  192. data/generated/google/apis/spanner_v1/representations.rb +984 -0
  193. data/generated/google/apis/spanner_v1/service.rb +1504 -0
  194. data/generated/google/apis/speech_v1beta1.rb +1 -1
  195. data/generated/google/apis/speech_v1beta1/classes.rb +197 -196
  196. data/generated/google/apis/speech_v1beta1/representations.rb +53 -53
  197. data/generated/google/apis/speech_v1beta1/service.rb +27 -27
  198. data/generated/google/apis/storage_v1.rb +1 -1
  199. data/generated/google/apis/storage_v1/classes.rb +131 -0
  200. data/generated/google/apis/storage_v1/representations.rb +51 -0
  201. data/generated/google/apis/storage_v1/service.rb +182 -0
  202. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  203. data/generated/google/apis/storagetransfer_v1/classes.rb +732 -661
  204. data/generated/google/apis/storagetransfer_v1/representations.rb +132 -132
  205. data/generated/google/apis/storagetransfer_v1/service.rb +174 -197
  206. data/generated/google/apis/surveys_v2.rb +40 -0
  207. data/generated/google/apis/surveys_v2/classes.rb +806 -0
  208. data/generated/google/apis/surveys_v2/representations.rb +347 -0
  209. data/generated/google/apis/surveys_v2/service.rb +477 -0
  210. data/generated/google/apis/tagmanager_v2.rb +52 -0
  211. data/generated/google/apis/tagmanager_v2/classes.rb +2435 -0
  212. data/generated/google/apis/tagmanager_v2/representations.rb +993 -0
  213. data/generated/google/apis/tagmanager_v2/service.rb +2865 -0
  214. data/generated/google/apis/toolresults_v1beta3.rb +34 -0
  215. data/generated/google/apis/toolresults_v1beta3/classes.rb +2160 -0
  216. data/generated/google/apis/toolresults_v1beta3/representations.rb +729 -0
  217. data/generated/google/apis/toolresults_v1beta3/service.rb +1236 -0
  218. data/generated/google/apis/tracing_v1.rb +40 -0
  219. data/generated/google/apis/tracing_v1/classes.rb +664 -0
  220. data/generated/google/apis/tracing_v1/representations.rb +279 -0
  221. data/generated/google/apis/tracing_v1/service.rb +225 -0
  222. data/generated/google/apis/vision_v1.rb +1 -1
  223. data/generated/google/apis/vision_v1/classes.rb +1223 -1222
  224. data/generated/google/apis/vision_v1/representations.rb +234 -234
  225. data/generated/google/apis/vision_v1/service.rb +10 -10
  226. data/generated/google/apis/webfonts_v1.rb +33 -0
  227. data/generated/google/apis/webfonts_v1/classes.rb +113 -0
  228. data/generated/google/apis/webfonts_v1/representations.rb +62 -0
  229. data/generated/google/apis/webfonts_v1/service.rb +102 -0
  230. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  231. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  232. data/generated/google/apis/youtube_partner_v1/classes.rb +31 -0
  233. data/generated/google/apis/youtube_partner_v1/representations.rb +6 -0
  234. data/generated/google/apis/youtube_partner_v1/service.rb +41 -0
  235. data/generated/google/apis/youtube_v3/classes.rb +1 -0
  236. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  237. data/generated/google/apis/youtubereporting_v1/classes.rb +76 -76
  238. data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
  239. data/generated/google/apis/youtubereporting_v1/service.rb +95 -95
  240. data/lib/google/apis/generator/annotator.rb +5 -4
  241. data/lib/google/apis/generator/templates/_class.tmpl +3 -0
  242. data/lib/google/apis/version.rb +1 -1
  243. data/samples/cli/lib/samples/adsense.rb +99 -0
  244. data/samples/cli/lib/samples/analytics.rb +18 -0
  245. data/samples/cli/lib/samples/gmail.rb +33 -0
  246. data/samples/cli/lib/samples/vision.rb +69 -0
  247. metadata +89 -4
  248. data/sync.rb +0 -71
@@ -22,6 +22,42 @@ module Google
22
22
  module Apis
23
23
  module ProximitybeaconV1beta1
24
24
 
25
+ class GetInfoForObservedBeaconsResponse
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Beacon
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AdvertisedId
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class IndoorLevel
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Date
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ListNamespacesResponse
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
25
61
  class ListBeaconsResponse
26
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
63
 
@@ -34,13 +70,13 @@ module Google
34
70
  include Google::Apis::Core::JsonObjectSupport
35
71
  end
36
72
 
37
- class GetInfoForObservedBeaconsRequest
73
+ class Empty
38
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
75
 
40
76
  include Google::Apis::Core::JsonObjectSupport
41
77
  end
42
78
 
43
- class Empty
79
+ class GetInfoForObservedBeaconsRequest
44
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
81
 
46
82
  include Google::Apis::Core::JsonObjectSupport
@@ -113,39 +149,64 @@ module Google
113
149
  end
114
150
 
115
151
  class GetInfoForObservedBeaconsResponse
116
- class Representation < Google::Apis::Core::JsonRepresentation; end
152
+ # @private
153
+ class Representation < Google::Apis::Core::JsonRepresentation
154
+ collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::BeaconInfo, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconInfo::Representation
117
155
 
118
- include Google::Apis::Core::JsonObjectSupport
156
+ end
119
157
  end
120
158
 
121
159
  class Beacon
122
- class Representation < Google::Apis::Core::JsonRepresentation; end
160
+ # @private
161
+ class Representation < Google::Apis::Core::JsonRepresentation
162
+ property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
123
163
 
124
- include Google::Apis::Core::JsonObjectSupport
125
- end
164
+ property :provisioning_key, :base64 => true, as: 'provisioningKey'
165
+ property :ephemeral_id_registration, as: 'ephemeralIdRegistration', class: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration, decorator: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration::Representation
126
166
 
127
- class AdvertisedId
128
- class Representation < Google::Apis::Core::JsonRepresentation; end
167
+ property :lat_lng, as: 'latLng', class: Google::Apis::ProximitybeaconV1beta1::LatLng, decorator: Google::Apis::ProximitybeaconV1beta1::LatLng::Representation
129
168
 
130
- include Google::Apis::Core::JsonObjectSupport
131
- end
169
+ property :description, as: 'description'
170
+ property :place_id, as: 'placeId'
171
+ hash :properties, as: 'properties'
172
+ property :status, as: 'status'
173
+ property :indoor_level, as: 'indoorLevel', class: Google::Apis::ProximitybeaconV1beta1::IndoorLevel, decorator: Google::Apis::ProximitybeaconV1beta1::IndoorLevel::Representation
132
174
 
133
- class Date
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
175
+ property :beacon_name, as: 'beaconName'
176
+ property :expected_stability, as: 'expectedStability'
177
+ end
178
+ end
135
179
 
136
- include Google::Apis::Core::JsonObjectSupport
180
+ class AdvertisedId
181
+ # @private
182
+ class Representation < Google::Apis::Core::JsonRepresentation
183
+ property :type, as: 'type'
184
+ property :id, :base64 => true, as: 'id'
185
+ end
137
186
  end
138
187
 
139
188
  class IndoorLevel
140
- class Representation < Google::Apis::Core::JsonRepresentation; end
189
+ # @private
190
+ class Representation < Google::Apis::Core::JsonRepresentation
191
+ property :name, as: 'name'
192
+ end
193
+ end
141
194
 
142
- include Google::Apis::Core::JsonObjectSupport
195
+ class Date
196
+ # @private
197
+ class Representation < Google::Apis::Core::JsonRepresentation
198
+ property :year, as: 'year'
199
+ property :day, as: 'day'
200
+ property :month, as: 'month'
201
+ end
143
202
  end
144
203
 
145
204
  class ListNamespacesResponse
146
- class Representation < Google::Apis::Core::JsonRepresentation; end
205
+ # @private
206
+ class Representation < Google::Apis::Core::JsonRepresentation
207
+ collection :namespaces, as: 'namespaces', class: Google::Apis::ProximitybeaconV1beta1::Namespace, decorator: Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
147
208
 
148
- include Google::Apis::Core::JsonObjectSupport
209
+ end
149
210
  end
150
211
 
151
212
  class ListBeaconsResponse
@@ -168,18 +229,18 @@ module Google
168
229
  end
169
230
  end
170
231
 
171
- class GetInfoForObservedBeaconsRequest
232
+ class Empty
172
233
  # @private
173
234
  class Representation < Google::Apis::Core::JsonRepresentation
174
- collection :observations, as: 'observations', class: Google::Apis::ProximitybeaconV1beta1::Observation, decorator: Google::Apis::ProximitybeaconV1beta1::Observation::Representation
175
-
176
- collection :namespaced_types, as: 'namespacedTypes'
177
235
  end
178
236
  end
179
237
 
180
- class Empty
238
+ class GetInfoForObservedBeaconsRequest
181
239
  # @private
182
240
  class Representation < Google::Apis::Core::JsonRepresentation
241
+ collection :observations, as: 'observations', class: Google::Apis::ProximitybeaconV1beta1::Observation, decorator: Google::Apis::ProximitybeaconV1beta1::Observation::Representation
242
+
243
+ collection :namespaced_types, as: 'namespacedTypes'
183
244
  end
184
245
  end
185
246
 
@@ -196,12 +257,12 @@ module Google
196
257
  class EphemeralIdRegistration
197
258
  # @private
198
259
  class Representation < Google::Apis::Core::JsonRepresentation
199
- property :initial_clock_value, as: 'initialClockValue'
200
- property :beacon_ecdh_public_key, :base64 => true, as: 'beaconEcdhPublicKey'
201
- property :rotation_period_exponent, as: 'rotationPeriodExponent'
202
260
  property :service_ecdh_public_key, :base64 => true, as: 'serviceEcdhPublicKey'
203
261
  property :beacon_identity_key, :base64 => true, as: 'beaconIdentityKey'
204
262
  property :initial_eid, :base64 => true, as: 'initialEid'
263
+ property :beacon_ecdh_public_key, :base64 => true, as: 'beaconEcdhPublicKey'
264
+ property :initial_clock_value, as: 'initialClockValue'
265
+ property :rotation_period_exponent, as: 'rotationPeriodExponent'
205
266
  end
206
267
  end
207
268
 
@@ -240,11 +301,11 @@ module Google
240
301
  class BeaconInfo
241
302
  # @private
242
303
  class Representation < Google::Apis::Core::JsonRepresentation
243
- property :beacon_name, as: 'beaconName'
244
304
  property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
245
305
 
246
306
  collection :attachments, as: 'attachments', class: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo, decorator: Google::Apis::ProximitybeaconV1beta1::AttachmentInfo::Representation
247
307
 
308
+ property :beacon_name, as: 'beaconName'
248
309
  end
249
310
  end
250
311
 
@@ -267,10 +328,10 @@ module Google
267
328
  class Observation
268
329
  # @private
269
330
  class Representation < Google::Apis::Core::JsonRepresentation
270
- property :telemetry, :base64 => true, as: 'telemetry'
271
- property :timestamp_ms, as: 'timestampMs'
272
331
  property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
273
332
 
333
+ property :telemetry, :base64 => true, as: 'telemetry'
334
+ property :timestamp_ms, as: 'timestampMs'
274
335
  end
275
336
  end
276
337
 
@@ -282,67 +343,6 @@ module Google
282
343
  property :next_page_token, as: 'nextPageToken'
283
344
  end
284
345
  end
285
-
286
- class GetInfoForObservedBeaconsResponse
287
- # @private
288
- class Representation < Google::Apis::Core::JsonRepresentation
289
- collection :beacons, as: 'beacons', class: Google::Apis::ProximitybeaconV1beta1::BeaconInfo, decorator: Google::Apis::ProximitybeaconV1beta1::BeaconInfo::Representation
290
-
291
- end
292
- end
293
-
294
- class Beacon
295
- # @private
296
- class Representation < Google::Apis::Core::JsonRepresentation
297
- property :advertised_id, as: 'advertisedId', class: Google::Apis::ProximitybeaconV1beta1::AdvertisedId, decorator: Google::Apis::ProximitybeaconV1beta1::AdvertisedId::Representation
298
-
299
- property :ephemeral_id_registration, as: 'ephemeralIdRegistration', class: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration, decorator: Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistration::Representation
300
-
301
- property :provisioning_key, :base64 => true, as: 'provisioningKey'
302
- property :description, as: 'description'
303
- property :lat_lng, as: 'latLng', class: Google::Apis::ProximitybeaconV1beta1::LatLng, decorator: Google::Apis::ProximitybeaconV1beta1::LatLng::Representation
304
-
305
- property :place_id, as: 'placeId'
306
- hash :properties, as: 'properties'
307
- property :status, as: 'status'
308
- property :indoor_level, as: 'indoorLevel', class: Google::Apis::ProximitybeaconV1beta1::IndoorLevel, decorator: Google::Apis::ProximitybeaconV1beta1::IndoorLevel::Representation
309
-
310
- property :beacon_name, as: 'beaconName'
311
- property :expected_stability, as: 'expectedStability'
312
- end
313
- end
314
-
315
- class AdvertisedId
316
- # @private
317
- class Representation < Google::Apis::Core::JsonRepresentation
318
- property :type, as: 'type'
319
- property :id, :base64 => true, as: 'id'
320
- end
321
- end
322
-
323
- class Date
324
- # @private
325
- class Representation < Google::Apis::Core::JsonRepresentation
326
- property :year, as: 'year'
327
- property :day, as: 'day'
328
- property :month, as: 'month'
329
- end
330
- end
331
-
332
- class IndoorLevel
333
- # @private
334
- class Representation < Google::Apis::Core::JsonRepresentation
335
- property :name, as: 'name'
336
- end
337
- end
338
-
339
- class ListNamespacesResponse
340
- # @private
341
- class Representation < Google::Apis::Core::JsonRepresentation
342
- collection :namespaces, as: 'namespaces', class: Google::Apis::ProximitybeaconV1beta1::Namespace, decorator: Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
343
-
344
- end
345
- end
346
346
  end
347
347
  end
348
348
  end
@@ -52,11 +52,11 @@ module Google
52
52
  # APIKey)
53
53
  # for the application.
54
54
  # @param [Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsRequest] get_info_for_observed_beacons_request_object
55
- # @param [String] fields
56
- # Selector specifying which fields to include in a partial response.
57
55
  # @param [String] quota_user
58
56
  # Available to use for quota purposes for server-side applications. Can be any
59
57
  # arbitrary string assigned to a user, but should not exceed 40 characters.
58
+ # @param [String] fields
59
+ # Selector specifying which fields to include in a partial response.
60
60
  # @param [Google::Apis::RequestOptions] options
61
61
  # Request-specific options
62
62
  #
@@ -69,14 +69,14 @@ module Google
69
69
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
70
70
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
71
71
  # @raise [Google::Apis::AuthorizationError] Authorization is required
72
- def getforobserved_beaconinfo(get_info_for_observed_beacons_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
72
+ def getforobserved_beaconinfo(get_info_for_observed_beacons_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
73
73
  command = make_simple_command(:post, 'v1beta1/beaconinfo:getforobserved', options)
74
74
  command.request_representation = Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsRequest::Representation
75
75
  command.request_object = get_info_for_observed_beacons_request_object
76
76
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse::Representation
77
77
  command.response_class = Google::Apis::ProximitybeaconV1beta1::GetInfoForObservedBeaconsResponse
78
- command.query['fields'] = fields unless fields.nil?
79
78
  command.query['quotaUser'] = quota_user unless quota_user.nil?
79
+ command.query['fields'] = fields unless fields.nil?
80
80
  execute_or_queue_command(command, &block)
81
81
  end
82
82
 
@@ -90,11 +90,11 @@ module Google
90
90
  # @param [String] project_id
91
91
  # The project id to list namespaces under.
92
92
  # Optional.
93
- # @param [String] fields
94
- # Selector specifying which fields to include in a partial response.
95
93
  # @param [String] quota_user
96
94
  # Available to use for quota purposes for server-side applications. Can be any
97
95
  # arbitrary string assigned to a user, but should not exceed 40 characters.
96
+ # @param [String] fields
97
+ # Selector specifying which fields to include in a partial response.
98
98
  # @param [Google::Apis::RequestOptions] options
99
99
  # Request-specific options
100
100
  #
@@ -107,13 +107,13 @@ module Google
107
107
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
108
108
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
109
109
  # @raise [Google::Apis::AuthorizationError] Authorization is required
110
- def list_namespaces(project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
110
+ def list_namespaces(project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
111
111
  command = make_simple_command(:get, 'v1beta1/namespaces', options)
112
112
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse::Representation
113
113
  command.response_class = Google::Apis::ProximitybeaconV1beta1::ListNamespacesResponse
114
114
  command.query['projectId'] = project_id unless project_id.nil?
115
- command.query['fields'] = fields unless fields.nil?
116
115
  command.query['quotaUser'] = quota_user unless quota_user.nil?
116
+ command.query['fields'] = fields unless fields.nil?
117
117
  execute_or_queue_command(command, &block)
118
118
  end
119
119
 
@@ -128,11 +128,11 @@ module Google
128
128
  # specified then the project making the request is used. The project id
129
129
  # must match the project that owns the beacon.
130
130
  # Optional.
131
- # @param [String] fields
132
- # Selector specifying which fields to include in a partial response.
133
131
  # @param [String] quota_user
134
132
  # Available to use for quota purposes for server-side applications. Can be any
135
133
  # arbitrary string assigned to a user, but should not exceed 40 characters.
134
+ # @param [String] fields
135
+ # Selector specifying which fields to include in a partial response.
136
136
  # @param [Google::Apis::RequestOptions] options
137
137
  # Request-specific options
138
138
  #
@@ -145,7 +145,7 @@ module Google
145
145
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
146
146
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
147
147
  # @raise [Google::Apis::AuthorizationError] Authorization is required
148
- def update_namespace(namespace_name, namespace_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
148
+ def update_namespace(namespace_name, namespace_object = nil, project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
149
149
  command = make_simple_command(:put, 'v1beta1/{+namespaceName}', options)
150
150
  command.request_representation = Google::Apis::ProximitybeaconV1beta1::Namespace::Representation
151
151
  command.request_object = namespace_object
@@ -153,8 +153,8 @@ module Google
153
153
  command.response_class = Google::Apis::ProximitybeaconV1beta1::Namespace
154
154
  command.params['namespaceName'] = namespace_name unless namespace_name.nil?
155
155
  command.query['projectId'] = project_id unless project_id.nil?
156
- command.query['fields'] = fields unless fields.nil?
157
156
  command.query['quotaUser'] = quota_user unless quota_user.nil?
157
+ command.query['fields'] = fields unless fields.nil?
158
158
  execute_or_queue_command(command, &block)
159
159
  end
160
160
 
@@ -165,11 +165,11 @@ module Google
165
165
  # to provision and register multiple beacons. However, clients should be
166
166
  # prepared to refresh this key when they encounter an error registering an
167
167
  # Eddystone-EID beacon.
168
- # @param [String] fields
169
- # Selector specifying which fields to include in a partial response.
170
168
  # @param [String] quota_user
171
169
  # Available to use for quota purposes for server-side applications. Can be any
172
170
  # arbitrary string assigned to a user, but should not exceed 40 characters.
171
+ # @param [String] fields
172
+ # Selector specifying which fields to include in a partial response.
173
173
  # @param [Google::Apis::RequestOptions] options
174
174
  # Request-specific options
175
175
  #
@@ -182,12 +182,12 @@ module Google
182
182
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
183
183
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
184
184
  # @raise [Google::Apis::AuthorizationError] Authorization is required
185
- def get_eidparams(fields: nil, quota_user: nil, options: nil, &block)
185
+ def get_eidparams(quota_user: nil, fields: nil, options: nil, &block)
186
186
  command = make_simple_command(:get, 'v1beta1/eidparams', options)
187
187
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams::Representation
188
188
  command.response_class = Google::Apis::ProximitybeaconV1beta1::EphemeralIdRegistrationParams
189
- command.query['fields'] = fields unless fields.nil?
190
189
  command.query['quotaUser'] = quota_user unless quota_user.nil?
190
+ command.query['fields'] = fields unless fields.nil?
191
191
  execute_or_queue_command(command, &block)
192
192
  end
193
193
 
@@ -271,11 +271,11 @@ module Google
271
271
  # Optional.
272
272
  # @param [String] page_token
273
273
  # A pagination token obtained from a previous request to list beacons.
274
- # @param [String] fields
275
- # Selector specifying which fields to include in a partial response.
276
274
  # @param [String] quota_user
277
275
  # Available to use for quota purposes for server-side applications. Can be any
278
276
  # arbitrary string assigned to a user, but should not exceed 40 characters.
277
+ # @param [String] fields
278
+ # Selector specifying which fields to include in a partial response.
279
279
  # @param [Google::Apis::RequestOptions] options
280
280
  # Request-specific options
281
281
  #
@@ -288,7 +288,7 @@ module Google
288
288
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
289
289
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
290
290
  # @raise [Google::Apis::AuthorizationError] Authorization is required
291
- def list_beacons(q: nil, page_size: nil, project_id: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
291
+ def list_beacons(q: nil, page_size: nil, project_id: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block)
292
292
  command = make_simple_command(:get, 'v1beta1/beacons', options)
293
293
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse::Representation
294
294
  command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconsResponse
@@ -296,8 +296,8 @@ module Google
296
296
  command.query['pageSize'] = page_size unless page_size.nil?
297
297
  command.query['projectId'] = project_id unless project_id.nil?
298
298
  command.query['pageToken'] = page_token unless page_token.nil?
299
- command.query['fields'] = fields unless fields.nil?
300
299
  command.query['quotaUser'] = quota_user unless quota_user.nil?
300
+ command.query['fields'] = fields unless fields.nil?
301
301
  execute_or_queue_command(command, &block)
302
302
  end
303
303
 
@@ -313,11 +313,11 @@ module Google
313
313
  # the project id is not specified then the project making the request
314
314
  # is used.
315
315
  # Optional.
316
- # @param [String] fields
317
- # Selector specifying which fields to include in a partial response.
318
316
  # @param [String] quota_user
319
317
  # Available to use for quota purposes for server-side applications. Can be any
320
318
  # arbitrary string assigned to a user, but should not exceed 40 characters.
319
+ # @param [String] fields
320
+ # Selector specifying which fields to include in a partial response.
321
321
  # @param [Google::Apis::RequestOptions] options
322
322
  # Request-specific options
323
323
  #
@@ -330,15 +330,15 @@ module Google
330
330
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
331
331
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
332
332
  # @raise [Google::Apis::AuthorizationError] Authorization is required
333
- def register_beacon(beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
333
+ def register_beacon(beacon_object = nil, project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
334
334
  command = make_simple_command(:post, 'v1beta1/beacons:register', options)
335
335
  command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
336
336
  command.request_object = beacon_object
337
337
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
338
338
  command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
339
339
  command.query['projectId'] = project_id unless project_id.nil?
340
- command.query['fields'] = fields unless fields.nil?
341
340
  command.query['quotaUser'] = quota_user unless quota_user.nil?
341
+ command.query['fields'] = fields unless fields.nil?
342
342
  execute_or_queue_command(command, &block)
343
343
  end
344
344
 
@@ -363,11 +363,11 @@ module Google
363
363
  # specified then the project making the request is used. The project id
364
364
  # must match the project that owns the beacon.
365
365
  # Optional.
366
- # @param [String] fields
367
- # Selector specifying which fields to include in a partial response.
368
366
  # @param [String] quota_user
369
367
  # Available to use for quota purposes for server-side applications. Can be any
370
368
  # arbitrary string assigned to a user, but should not exceed 40 characters.
369
+ # @param [String] fields
370
+ # Selector specifying which fields to include in a partial response.
371
371
  # @param [Google::Apis::RequestOptions] options
372
372
  # Request-specific options
373
373
  #
@@ -380,14 +380,14 @@ module Google
380
380
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
381
381
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
382
382
  # @raise [Google::Apis::AuthorizationError] Authorization is required
383
- def activate_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
383
+ def activate_beacon(beacon_name, project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
384
384
  command = make_simple_command(:post, 'v1beta1/{+beaconName}:activate', options)
385
385
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
386
386
  command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
387
387
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
388
388
  command.query['projectId'] = project_id unless project_id.nil?
389
- command.query['fields'] = fields unless fields.nil?
390
389
  command.query['quotaUser'] = quota_user unless quota_user.nil?
390
+ command.query['fields'] = fields unless fields.nil?
391
391
  execute_or_queue_command(command, &block)
392
392
  end
393
393
 
@@ -414,11 +414,11 @@ module Google
414
414
  # then the project making the request is used. The project id must match the
415
415
  # project that owns the beacon.
416
416
  # Optional.
417
- # @param [String] fields
418
- # Selector specifying which fields to include in a partial response.
419
417
  # @param [String] quota_user
420
418
  # Available to use for quota purposes for server-side applications. Can be any
421
419
  # arbitrary string assigned to a user, but should not exceed 40 characters.
420
+ # @param [String] fields
421
+ # Selector specifying which fields to include in a partial response.
422
422
  # @param [Google::Apis::RequestOptions] options
423
423
  # Request-specific options
424
424
  #
@@ -431,14 +431,14 @@ module Google
431
431
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
432
432
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
433
433
  # @raise [Google::Apis::AuthorizationError] Authorization is required
434
- def get_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
434
+ def get_beacon(beacon_name, project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
435
435
  command = make_simple_command(:get, 'v1beta1/{+beaconName}', options)
436
436
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
437
437
  command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
438
438
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
439
439
  command.query['projectId'] = project_id unless project_id.nil?
440
- command.query['fields'] = fields unless fields.nil?
441
440
  command.query['quotaUser'] = quota_user unless quota_user.nil?
441
+ command.query['fields'] = fields unless fields.nil?
442
442
  execute_or_queue_command(command, &block)
443
443
  end
444
444
 
@@ -466,11 +466,11 @@ module Google
466
466
  # specified then the project making the request is used. The project id
467
467
  # must match the project that owns the beacon.
468
468
  # Optional.
469
- # @param [String] fields
470
- # Selector specifying which fields to include in a partial response.
471
469
  # @param [String] quota_user
472
470
  # Available to use for quota purposes for server-side applications. Can be any
473
471
  # arbitrary string assigned to a user, but should not exceed 40 characters.
472
+ # @param [String] fields
473
+ # Selector specifying which fields to include in a partial response.
474
474
  # @param [Google::Apis::RequestOptions] options
475
475
  # Request-specific options
476
476
  #
@@ -483,7 +483,7 @@ module Google
483
483
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
484
484
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
485
485
  # @raise [Google::Apis::AuthorizationError] Authorization is required
486
- def update_beacon(beacon_name, beacon_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
486
+ def update_beacon(beacon_name, beacon_object = nil, project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
487
487
  command = make_simple_command(:put, 'v1beta1/{+beaconName}', options)
488
488
  command.request_representation = Google::Apis::ProximitybeaconV1beta1::Beacon::Representation
489
489
  command.request_object = beacon_object
@@ -491,8 +491,8 @@ module Google
491
491
  command.response_class = Google::Apis::ProximitybeaconV1beta1::Beacon
492
492
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
493
493
  command.query['projectId'] = project_id unless project_id.nil?
494
- command.query['fields'] = fields unless fields.nil?
495
494
  command.query['quotaUser'] = quota_user unless quota_user.nil?
495
+ command.query['fields'] = fields unless fields.nil?
496
496
  execute_or_queue_command(command, &block)
497
497
  end
498
498
 
@@ -517,11 +517,11 @@ module Google
517
517
  # specified then the project making the request is used. The project id
518
518
  # must match the project that owns the beacon.
519
519
  # Optional.
520
- # @param [String] fields
521
- # Selector specifying which fields to include in a partial response.
522
520
  # @param [String] quota_user
523
521
  # Available to use for quota purposes for server-side applications. Can be any
524
522
  # arbitrary string assigned to a user, but should not exceed 40 characters.
523
+ # @param [String] fields
524
+ # Selector specifying which fields to include in a partial response.
525
525
  # @param [Google::Apis::RequestOptions] options
526
526
  # Request-specific options
527
527
  #
@@ -534,14 +534,14 @@ module Google
534
534
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
535
535
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
536
536
  # @raise [Google::Apis::AuthorizationError] Authorization is required
537
- def decommission_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
537
+ def decommission_beacon(beacon_name, project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
538
538
  command = make_simple_command(:post, 'v1beta1/{+beaconName}:decommission', options)
539
539
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
540
540
  command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
541
541
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
542
542
  command.query['projectId'] = project_id unless project_id.nil?
543
- command.query['fields'] = fields unless fields.nil?
544
543
  command.query['quotaUser'] = quota_user unless quota_user.nil?
544
+ command.query['fields'] = fields unless fields.nil?
545
545
  execute_or_queue_command(command, &block)
546
546
  end
547
547
 
@@ -566,11 +566,11 @@ module Google
566
566
  # specified then the project making the request is used. The project id must
567
567
  # match the project that owns the beacon.
568
568
  # Optional.
569
- # @param [String] fields
570
- # Selector specifying which fields to include in a partial response.
571
569
  # @param [String] quota_user
572
570
  # Available to use for quota purposes for server-side applications. Can be any
573
571
  # arbitrary string assigned to a user, but should not exceed 40 characters.
572
+ # @param [String] fields
573
+ # Selector specifying which fields to include in a partial response.
574
574
  # @param [Google::Apis::RequestOptions] options
575
575
  # Request-specific options
576
576
  #
@@ -583,14 +583,14 @@ module Google
583
583
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
584
584
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
585
585
  # @raise [Google::Apis::AuthorizationError] Authorization is required
586
- def deactivate_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
586
+ def deactivate_beacon(beacon_name, project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
587
587
  command = make_simple_command(:post, 'v1beta1/{+beaconName}:deactivate', options)
588
588
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
589
589
  command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
590
590
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
591
591
  command.query['projectId'] = project_id unless project_id.nil?
592
- command.query['fields'] = fields unless fields.nil?
593
592
  command.query['quotaUser'] = quota_user unless quota_user.nil?
593
+ command.query['fields'] = fields unless fields.nil?
594
594
  execute_or_queue_command(command, &block)
595
595
  end
596
596
 
@@ -613,11 +613,11 @@ module Google
613
613
  # The project id of the beacon to delete. If not provided, the project
614
614
  # that is making the request is used.
615
615
  # Optional.
616
- # @param [String] fields
617
- # Selector specifying which fields to include in a partial response.
618
616
  # @param [String] quota_user
619
617
  # Available to use for quota purposes for server-side applications. Can be any
620
618
  # arbitrary string assigned to a user, but should not exceed 40 characters.
619
+ # @param [String] fields
620
+ # Selector specifying which fields to include in a partial response.
621
621
  # @param [Google::Apis::RequestOptions] options
622
622
  # Request-specific options
623
623
  #
@@ -630,14 +630,14 @@ module Google
630
630
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
631
631
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
632
632
  # @raise [Google::Apis::AuthorizationError] Authorization is required
633
- def delete_beacon(beacon_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
633
+ def delete_beacon(beacon_name, project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
634
634
  command = make_simple_command(:delete, 'v1beta1/{+beaconName}', options)
635
635
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
636
636
  command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
637
637
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
638
638
  command.query['projectId'] = project_id unless project_id.nil?
639
- command.query['fields'] = fields unless fields.nil?
640
639
  command.query['quotaUser'] = quota_user unless quota_user.nil?
640
+ command.query['fields'] = fields unless fields.nil?
641
641
  execute_or_queue_command(command, &block)
642
642
  end
643
643
 
@@ -663,11 +663,11 @@ module Google
663
663
  # @param [String] page_token
664
664
  # Requests results that occur after the `page_token`, obtained from the
665
665
  # response to a previous request. Optional.
666
- # @param [String] fields
667
- # Selector specifying which fields to include in a partial response.
668
666
  # @param [String] quota_user
669
667
  # Available to use for quota purposes for server-side applications. Can be any
670
668
  # arbitrary string assigned to a user, but should not exceed 40 characters.
669
+ # @param [String] fields
670
+ # Selector specifying which fields to include in a partial response.
671
671
  # @param [Google::Apis::RequestOptions] options
672
672
  # Request-specific options
673
673
  #
@@ -680,7 +680,7 @@ module Google
680
680
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
681
681
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
682
682
  # @raise [Google::Apis::AuthorizationError] Authorization is required
683
- def list_beacon_diagnostics(beacon_name, page_size: nil, alert_filter: nil, project_id: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
683
+ def list_beacon_diagnostics(beacon_name, page_size: nil, alert_filter: nil, project_id: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block)
684
684
  command = make_simple_command(:get, 'v1beta1/{+beaconName}/diagnostics', options)
685
685
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse::Representation
686
686
  command.response_class = Google::Apis::ProximitybeaconV1beta1::ListDiagnosticsResponse
@@ -689,8 +689,56 @@ module Google
689
689
  command.query['alertFilter'] = alert_filter unless alert_filter.nil?
690
690
  command.query['projectId'] = project_id unless project_id.nil?
691
691
  command.query['pageToken'] = page_token unless page_token.nil?
692
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
692
693
  command.query['fields'] = fields unless fields.nil?
694
+ execute_or_queue_command(command, &block)
695
+ end
696
+
697
+ # Deletes the specified attachment for the given beacon. Each attachment has
698
+ # a unique attachment name (`attachmentName`) which is returned when you
699
+ # fetch the attachment data via this API. You specify this with the delete
700
+ # request to control which attachment is removed. This operation cannot be
701
+ # undone.
702
+ # Authenticate using an [OAuth access token](https://developers.google.com/
703
+ # identity/protocols/OAuth2)
704
+ # from a signed-in user with **Is owner** or **Can edit** permissions in the
705
+ # Google Developers Console project.
706
+ # @param [String] attachment_name
707
+ # The attachment name (`attachmentName`) of
708
+ # the attachment to remove. For example:
709
+ # `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For
710
+ # Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the
711
+ # beacon's current EID, or its "stable" Eddystone-UID.
712
+ # Required.
713
+ # @param [String] project_id
714
+ # The project id of the attachment to delete. If not provided, the project
715
+ # that is making the request is used.
716
+ # Optional.
717
+ # @param [String] quota_user
718
+ # Available to use for quota purposes for server-side applications. Can be any
719
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
720
+ # @param [String] fields
721
+ # Selector specifying which fields to include in a partial response.
722
+ # @param [Google::Apis::RequestOptions] options
723
+ # Request-specific options
724
+ #
725
+ # @yield [result, err] Result & error if block supplied
726
+ # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object
727
+ # @yieldparam err [StandardError] error object if request failed
728
+ #
729
+ # @return [Google::Apis::ProximitybeaconV1beta1::Empty]
730
+ #
731
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
732
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
733
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
734
+ def delete_beacon_attachment(attachment_name, project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
735
+ command = make_simple_command(:delete, 'v1beta1/{+attachmentName}', options)
736
+ command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
737
+ command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
738
+ command.params['attachmentName'] = attachment_name unless attachment_name.nil?
739
+ command.query['projectId'] = project_id unless project_id.nil?
693
740
  command.query['quotaUser'] = quota_user unless quota_user.nil?
741
+ command.query['fields'] = fields unless fields.nil?
694
742
  execute_or_queue_command(command, &block)
695
743
  end
696
744
 
@@ -723,11 +771,11 @@ module Google
723
771
  # specified and the projectId string is empty, then the project
724
772
  # making the request is used.
725
773
  # Optional.
726
- # @param [String] fields
727
- # Selector specifying which fields to include in a partial response.
728
774
  # @param [String] quota_user
729
775
  # Available to use for quota purposes for server-side applications. Can be any
730
776
  # arbitrary string assigned to a user, but should not exceed 40 characters.
777
+ # @param [String] fields
778
+ # Selector specifying which fields to include in a partial response.
731
779
  # @param [Google::Apis::RequestOptions] options
732
780
  # Request-specific options
733
781
  #
@@ -740,15 +788,15 @@ module Google
740
788
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
741
789
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
742
790
  # @raise [Google::Apis::AuthorizationError] Authorization is required
743
- def list_beacon_attachments(beacon_name, namespaced_type: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
791
+ def list_beacon_attachments(beacon_name, namespaced_type: nil, project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
744
792
  command = make_simple_command(:get, 'v1beta1/{+beaconName}/attachments', options)
745
793
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse::Representation
746
794
  command.response_class = Google::Apis::ProximitybeaconV1beta1::ListBeaconAttachmentsResponse
747
795
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
748
796
  command.query['namespacedType'] = namespaced_type unless namespaced_type.nil?
749
797
  command.query['projectId'] = project_id unless project_id.nil?
750
- command.query['fields'] = fields unless fields.nil?
751
798
  command.query['quotaUser'] = quota_user unless quota_user.nil?
799
+ command.query['fields'] = fields unless fields.nil?
752
800
  execute_or_queue_command(command, &block)
753
801
  end
754
802
 
@@ -781,11 +829,11 @@ module Google
781
829
  # the project id is not specified then the project making the request
782
830
  # is used.
783
831
  # Optional.
784
- # @param [String] fields
785
- # Selector specifying which fields to include in a partial response.
786
832
  # @param [String] quota_user
787
833
  # Available to use for quota purposes for server-side applications. Can be any
788
834
  # arbitrary string assigned to a user, but should not exceed 40 characters.
835
+ # @param [String] fields
836
+ # Selector specifying which fields to include in a partial response.
789
837
  # @param [Google::Apis::RequestOptions] options
790
838
  # Request-specific options
791
839
  #
@@ -798,7 +846,7 @@ module Google
798
846
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
799
847
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
800
848
  # @raise [Google::Apis::AuthorizationError] Authorization is required
801
- def create_beacon_attachment(beacon_name, beacon_attachment_object = nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
849
+ def create_beacon_attachment(beacon_name, beacon_attachment_object = nil, project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
802
850
  command = make_simple_command(:post, 'v1beta1/{+beaconName}/attachments', options)
803
851
  command.request_representation = Google::Apis::ProximitybeaconV1beta1::BeaconAttachment::Representation
804
852
  command.request_object = beacon_attachment_object
@@ -806,8 +854,8 @@ module Google
806
854
  command.response_class = Google::Apis::ProximitybeaconV1beta1::BeaconAttachment
807
855
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
808
856
  command.query['projectId'] = project_id unless project_id.nil?
809
- command.query['fields'] = fields unless fields.nil?
810
857
  command.query['quotaUser'] = quota_user unless quota_user.nil?
858
+ command.query['fields'] = fields unless fields.nil?
811
859
  execute_or_queue_command(command, &block)
812
860
  end
813
861
 
@@ -841,11 +889,11 @@ module Google
841
889
  # specified and the projectId string is empty, then the project
842
890
  # making the request is used.
843
891
  # Optional.
844
- # @param [String] fields
845
- # Selector specifying which fields to include in a partial response.
846
892
  # @param [String] quota_user
847
893
  # Available to use for quota purposes for server-side applications. Can be any
848
894
  # arbitrary string assigned to a user, but should not exceed 40 characters.
895
+ # @param [String] fields
896
+ # Selector specifying which fields to include in a partial response.
849
897
  # @param [Google::Apis::RequestOptions] options
850
898
  # Request-specific options
851
899
  #
@@ -858,63 +906,15 @@ module Google
858
906
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
859
907
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
860
908
  # @raise [Google::Apis::AuthorizationError] Authorization is required
861
- def batch_beacon_attachment_delete(beacon_name, namespaced_type: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
909
+ def batch_beacon_attachment_delete(beacon_name, namespaced_type: nil, project_id: nil, quota_user: nil, fields: nil, options: nil, &block)
862
910
  command = make_simple_command(:post, 'v1beta1/{+beaconName}/attachments:batchDelete', options)
863
911
  command.response_representation = Google::Apis::ProximitybeaconV1beta1::DeleteAttachmentsResponse::Representation
864
912
  command.response_class = Google::Apis::ProximitybeaconV1beta1::DeleteAttachmentsResponse
865
913
  command.params['beaconName'] = beacon_name unless beacon_name.nil?
866
914
  command.query['namespacedType'] = namespaced_type unless namespaced_type.nil?
867
915
  command.query['projectId'] = project_id unless project_id.nil?
868
- command.query['fields'] = fields unless fields.nil?
869
916
  command.query['quotaUser'] = quota_user unless quota_user.nil?
870
- execute_or_queue_command(command, &block)
871
- end
872
-
873
- # Deletes the specified attachment for the given beacon. Each attachment has
874
- # a unique attachment name (`attachmentName`) which is returned when you
875
- # fetch the attachment data via this API. You specify this with the delete
876
- # request to control which attachment is removed. This operation cannot be
877
- # undone.
878
- # Authenticate using an [OAuth access token](https://developers.google.com/
879
- # identity/protocols/OAuth2)
880
- # from a signed-in user with **Is owner** or **Can edit** permissions in the
881
- # Google Developers Console project.
882
- # @param [String] attachment_name
883
- # The attachment name (`attachmentName`) of
884
- # the attachment to remove. For example:
885
- # `beacons/3!893737abc9/attachments/c5e937-af0-494-959-ec49d12738`. For
886
- # Eddystone-EID beacons, the beacon ID portion (`3!893737abc9`) may be the
887
- # beacon's current EID, or its "stable" Eddystone-UID.
888
- # Required.
889
- # @param [String] project_id
890
- # The project id of the attachment to delete. If not provided, the project
891
- # that is making the request is used.
892
- # Optional.
893
- # @param [String] fields
894
- # Selector specifying which fields to include in a partial response.
895
- # @param [String] quota_user
896
- # Available to use for quota purposes for server-side applications. Can be any
897
- # arbitrary string assigned to a user, but should not exceed 40 characters.
898
- # @param [Google::Apis::RequestOptions] options
899
- # Request-specific options
900
- #
901
- # @yield [result, err] Result & error if block supplied
902
- # @yieldparam result [Google::Apis::ProximitybeaconV1beta1::Empty] parsed result object
903
- # @yieldparam err [StandardError] error object if request failed
904
- #
905
- # @return [Google::Apis::ProximitybeaconV1beta1::Empty]
906
- #
907
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
908
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
909
- # @raise [Google::Apis::AuthorizationError] Authorization is required
910
- def delete_beacon_attachment(attachment_name, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
911
- command = make_simple_command(:delete, 'v1beta1/{+attachmentName}', options)
912
- command.response_representation = Google::Apis::ProximitybeaconV1beta1::Empty::Representation
913
- command.response_class = Google::Apis::ProximitybeaconV1beta1::Empty
914
- command.params['attachmentName'] = attachment_name unless attachment_name.nil?
915
- command.query['projectId'] = project_id unless project_id.nil?
916
917
  command.query['fields'] = fields unless fields.nil?
917
- command.query['quotaUser'] = quota_user unless quota_user.nil?
918
918
  execute_or_queue_command(command, &block)
919
919
  end
920
920