google-apis-firebase_v1beta1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module FirebaseV1beta1
18
+ # Version of the google-apis-firebase_v1beta1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201027"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,535 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module FirebaseV1beta1
24
+
25
+ class AddFirebaseRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AddGoogleAnalyticsRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AdminSdkConfig
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class AnalyticsDetails
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class AnalyticsProperty
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class AndroidApp
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class AndroidAppConfig
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class DefaultResources
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class Empty
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class FinalizeDefaultLocationRequest
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class FirebaseAppInfo
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class FirebaseProject
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class IosApp
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class IosAppConfig
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ListAndroidAppsResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ListAvailableLocationsResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ListAvailableProjectsResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ListFirebaseProjectsResponse
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ListIosAppsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ListShaCertificatesResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ListWebAppsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class Location
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class MessageSet
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class Operation
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class ProjectInfo
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class RemoveAnalyticsRequest
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class SearchFirebaseAppsResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class ShaCertificate
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Status
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class StatusProto
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class StreamMapping
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class WebApp
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class WebAppConfig
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class AddFirebaseRequest
224
+ # @private
225
+ class Representation < Google::Apis::Core::JsonRepresentation
226
+ property :location_id, as: 'locationId'
227
+ property :region_code, as: 'regionCode'
228
+ property :time_zone, as: 'timeZone'
229
+ end
230
+ end
231
+
232
+ class AddGoogleAnalyticsRequest
233
+ # @private
234
+ class Representation < Google::Apis::Core::JsonRepresentation
235
+ property :analytics_account_id, as: 'analyticsAccountId'
236
+ property :analytics_property_id, as: 'analyticsPropertyId'
237
+ end
238
+ end
239
+
240
+ class AdminSdkConfig
241
+ # @private
242
+ class Representation < Google::Apis::Core::JsonRepresentation
243
+ property :database_url, as: 'databaseURL'
244
+ property :location_id, as: 'locationId'
245
+ property :project_id, as: 'projectId'
246
+ property :storage_bucket, as: 'storageBucket'
247
+ end
248
+ end
249
+
250
+ class AnalyticsDetails
251
+ # @private
252
+ class Representation < Google::Apis::Core::JsonRepresentation
253
+ property :analytics_property, as: 'analyticsProperty', class: Google::Apis::FirebaseV1beta1::AnalyticsProperty, decorator: Google::Apis::FirebaseV1beta1::AnalyticsProperty::Representation
254
+
255
+ collection :stream_mappings, as: 'streamMappings', class: Google::Apis::FirebaseV1beta1::StreamMapping, decorator: Google::Apis::FirebaseV1beta1::StreamMapping::Representation
256
+
257
+ end
258
+ end
259
+
260
+ class AnalyticsProperty
261
+ # @private
262
+ class Representation < Google::Apis::Core::JsonRepresentation
263
+ property :display_name, as: 'displayName'
264
+ property :id, as: 'id'
265
+ end
266
+ end
267
+
268
+ class AndroidApp
269
+ # @private
270
+ class Representation < Google::Apis::Core::JsonRepresentation
271
+ property :app_id, as: 'appId'
272
+ property :display_name, as: 'displayName'
273
+ property :name, as: 'name'
274
+ property :package_name, as: 'packageName'
275
+ property :project_id, as: 'projectId'
276
+ end
277
+ end
278
+
279
+ class AndroidAppConfig
280
+ # @private
281
+ class Representation < Google::Apis::Core::JsonRepresentation
282
+ property :config_file_contents, :base64 => true, as: 'configFileContents'
283
+ property :config_filename, as: 'configFilename'
284
+ end
285
+ end
286
+
287
+ class DefaultResources
288
+ # @private
289
+ class Representation < Google::Apis::Core::JsonRepresentation
290
+ property :hosting_site, as: 'hostingSite'
291
+ property :location_id, as: 'locationId'
292
+ property :realtime_database_instance, as: 'realtimeDatabaseInstance'
293
+ property :storage_bucket, as: 'storageBucket'
294
+ end
295
+ end
296
+
297
+ class Empty
298
+ # @private
299
+ class Representation < Google::Apis::Core::JsonRepresentation
300
+ end
301
+ end
302
+
303
+ class FinalizeDefaultLocationRequest
304
+ # @private
305
+ class Representation < Google::Apis::Core::JsonRepresentation
306
+ property :location_id, as: 'locationId'
307
+ end
308
+ end
309
+
310
+ class FirebaseAppInfo
311
+ # @private
312
+ class Representation < Google::Apis::Core::JsonRepresentation
313
+ property :app_id, as: 'appId'
314
+ property :display_name, as: 'displayName'
315
+ property :name, as: 'name'
316
+ property :namespace, as: 'namespace'
317
+ property :platform, as: 'platform'
318
+ end
319
+ end
320
+
321
+ class FirebaseProject
322
+ # @private
323
+ class Representation < Google::Apis::Core::JsonRepresentation
324
+ property :display_name, as: 'displayName'
325
+ property :name, as: 'name'
326
+ property :project_id, as: 'projectId'
327
+ property :project_number, :numeric_string => true, as: 'projectNumber'
328
+ property :resources, as: 'resources', class: Google::Apis::FirebaseV1beta1::DefaultResources, decorator: Google::Apis::FirebaseV1beta1::DefaultResources::Representation
329
+
330
+ property :state, as: 'state'
331
+ end
332
+ end
333
+
334
+ class IosApp
335
+ # @private
336
+ class Representation < Google::Apis::Core::JsonRepresentation
337
+ property :app_id, as: 'appId'
338
+ property :app_store_id, as: 'appStoreId'
339
+ property :bundle_id, as: 'bundleId'
340
+ property :display_name, as: 'displayName'
341
+ property :name, as: 'name'
342
+ property :project_id, as: 'projectId'
343
+ end
344
+ end
345
+
346
+ class IosAppConfig
347
+ # @private
348
+ class Representation < Google::Apis::Core::JsonRepresentation
349
+ property :config_file_contents, :base64 => true, as: 'configFileContents'
350
+ property :config_filename, as: 'configFilename'
351
+ end
352
+ end
353
+
354
+ class ListAndroidAppsResponse
355
+ # @private
356
+ class Representation < Google::Apis::Core::JsonRepresentation
357
+ collection :apps, as: 'apps', class: Google::Apis::FirebaseV1beta1::AndroidApp, decorator: Google::Apis::FirebaseV1beta1::AndroidApp::Representation
358
+
359
+ property :next_page_token, as: 'nextPageToken'
360
+ end
361
+ end
362
+
363
+ class ListAvailableLocationsResponse
364
+ # @private
365
+ class Representation < Google::Apis::Core::JsonRepresentation
366
+ collection :locations, as: 'locations', class: Google::Apis::FirebaseV1beta1::Location, decorator: Google::Apis::FirebaseV1beta1::Location::Representation
367
+
368
+ property :next_page_token, as: 'nextPageToken'
369
+ end
370
+ end
371
+
372
+ class ListAvailableProjectsResponse
373
+ # @private
374
+ class Representation < Google::Apis::Core::JsonRepresentation
375
+ property :next_page_token, as: 'nextPageToken'
376
+ collection :project_info, as: 'projectInfo', class: Google::Apis::FirebaseV1beta1::ProjectInfo, decorator: Google::Apis::FirebaseV1beta1::ProjectInfo::Representation
377
+
378
+ end
379
+ end
380
+
381
+ class ListFirebaseProjectsResponse
382
+ # @private
383
+ class Representation < Google::Apis::Core::JsonRepresentation
384
+ property :next_page_token, as: 'nextPageToken'
385
+ collection :results, as: 'results', class: Google::Apis::FirebaseV1beta1::FirebaseProject, decorator: Google::Apis::FirebaseV1beta1::FirebaseProject::Representation
386
+
387
+ end
388
+ end
389
+
390
+ class ListIosAppsResponse
391
+ # @private
392
+ class Representation < Google::Apis::Core::JsonRepresentation
393
+ collection :apps, as: 'apps', class: Google::Apis::FirebaseV1beta1::IosApp, decorator: Google::Apis::FirebaseV1beta1::IosApp::Representation
394
+
395
+ property :next_page_token, as: 'nextPageToken'
396
+ end
397
+ end
398
+
399
+ class ListShaCertificatesResponse
400
+ # @private
401
+ class Representation < Google::Apis::Core::JsonRepresentation
402
+ collection :certificates, as: 'certificates', class: Google::Apis::FirebaseV1beta1::ShaCertificate, decorator: Google::Apis::FirebaseV1beta1::ShaCertificate::Representation
403
+
404
+ end
405
+ end
406
+
407
+ class ListWebAppsResponse
408
+ # @private
409
+ class Representation < Google::Apis::Core::JsonRepresentation
410
+ collection :apps, as: 'apps', class: Google::Apis::FirebaseV1beta1::WebApp, decorator: Google::Apis::FirebaseV1beta1::WebApp::Representation
411
+
412
+ property :next_page_token, as: 'nextPageToken'
413
+ end
414
+ end
415
+
416
+ class Location
417
+ # @private
418
+ class Representation < Google::Apis::Core::JsonRepresentation
419
+ collection :features, as: 'features'
420
+ property :location_id, as: 'locationId'
421
+ property :type, as: 'type'
422
+ end
423
+ end
424
+
425
+ class MessageSet
426
+ # @private
427
+ class Representation < Google::Apis::Core::JsonRepresentation
428
+ end
429
+ end
430
+
431
+ class Operation
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ property :done, as: 'done'
435
+ property :error, as: 'error', class: Google::Apis::FirebaseV1beta1::Status, decorator: Google::Apis::FirebaseV1beta1::Status::Representation
436
+
437
+ hash :metadata, as: 'metadata'
438
+ property :name, as: 'name'
439
+ hash :response, as: 'response'
440
+ end
441
+ end
442
+
443
+ class ProjectInfo
444
+ # @private
445
+ class Representation < Google::Apis::Core::JsonRepresentation
446
+ property :display_name, as: 'displayName'
447
+ property :location_id, as: 'locationId'
448
+ property :project, as: 'project'
449
+ end
450
+ end
451
+
452
+ class RemoveAnalyticsRequest
453
+ # @private
454
+ class Representation < Google::Apis::Core::JsonRepresentation
455
+ property :analytics_property_id, as: 'analyticsPropertyId'
456
+ end
457
+ end
458
+
459
+ class SearchFirebaseAppsResponse
460
+ # @private
461
+ class Representation < Google::Apis::Core::JsonRepresentation
462
+ collection :apps, as: 'apps', class: Google::Apis::FirebaseV1beta1::FirebaseAppInfo, decorator: Google::Apis::FirebaseV1beta1::FirebaseAppInfo::Representation
463
+
464
+ property :next_page_token, as: 'nextPageToken'
465
+ end
466
+ end
467
+
468
+ class ShaCertificate
469
+ # @private
470
+ class Representation < Google::Apis::Core::JsonRepresentation
471
+ property :cert_type, as: 'certType'
472
+ property :name, as: 'name'
473
+ property :sha_hash, as: 'shaHash'
474
+ end
475
+ end
476
+
477
+ class Status
478
+ # @private
479
+ class Representation < Google::Apis::Core::JsonRepresentation
480
+ property :code, as: 'code'
481
+ collection :details, as: 'details'
482
+ property :message, as: 'message'
483
+ end
484
+ end
485
+
486
+ class StatusProto
487
+ # @private
488
+ class Representation < Google::Apis::Core::JsonRepresentation
489
+ property :canonical_code, as: 'canonicalCode'
490
+ property :code, as: 'code'
491
+ property :message, as: 'message'
492
+ property :message_set, as: 'messageSet', class: Google::Apis::FirebaseV1beta1::MessageSet, decorator: Google::Apis::FirebaseV1beta1::MessageSet::Representation
493
+
494
+ property :space, as: 'space'
495
+ end
496
+ end
497
+
498
+ class StreamMapping
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ property :app, as: 'app'
502
+ property :measurement_id, as: 'measurementId'
503
+ property :stream_id, :numeric_string => true, as: 'streamId'
504
+ end
505
+ end
506
+
507
+ class WebApp
508
+ # @private
509
+ class Representation < Google::Apis::Core::JsonRepresentation
510
+ property :app_id, as: 'appId'
511
+ collection :app_urls, as: 'appUrls'
512
+ property :display_name, as: 'displayName'
513
+ property :name, as: 'name'
514
+ property :project_id, as: 'projectId'
515
+ property :web_id, as: 'webId'
516
+ end
517
+ end
518
+
519
+ class WebAppConfig
520
+ # @private
521
+ class Representation < Google::Apis::Core::JsonRepresentation
522
+ property :api_key, as: 'apiKey'
523
+ property :app_id, as: 'appId'
524
+ property :auth_domain, as: 'authDomain'
525
+ property :database_url, as: 'databaseURL'
526
+ property :location_id, as: 'locationId'
527
+ property :measurement_id, as: 'measurementId'
528
+ property :messaging_sender_id, as: 'messagingSenderId'
529
+ property :project_id, as: 'projectId'
530
+ property :storage_bucket, as: 'storageBucket'
531
+ end
532
+ end
533
+ end
534
+ end
535
+ end