google-apis-firebaseapphosting_v1 0.1.0

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.
@@ -0,0 +1,730 @@
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 FirebaseapphostingV1
24
+
25
+ class Backend
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Build
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class BuildSource
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class CancelOperationRequest
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Codebase
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CodebaseSource
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class Config
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ContainerSource
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class CustomDomainOperationMetadata
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CustomDomainStatus
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class DnsRecord
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DnsRecordSet
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class DnsUpdates
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class Domain
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class DomainOperationMetadata
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class Empty
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class EnvironmentVariable
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Error
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ListBackendsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ListBuildsResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ListDomainsResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ListLocationsResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ListOperationsResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ListRolloutsResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class LiveMigrationStep
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class Location
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class ManagedResource
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class Operation
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class OperationMetadata
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class Redirect
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class Rollout
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class RolloutPolicy
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class RunConfig
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class RunService
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class ServingBehavior
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class Status
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class Traffic
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class TrafficSet
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class TrafficSplit
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class UserMetadata
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class Backend
266
+ # @private
267
+ class Representation < Google::Apis::Core::JsonRepresentation
268
+ hash :annotations, as: 'annotations'
269
+ property :app_id, as: 'appId'
270
+ property :codebase, as: 'codebase', class: Google::Apis::FirebaseapphostingV1::Codebase, decorator: Google::Apis::FirebaseapphostingV1::Codebase::Representation
271
+
272
+ property :create_time, as: 'createTime'
273
+ property :delete_time, as: 'deleteTime'
274
+ property :display_name, as: 'displayName'
275
+ property :environment, as: 'environment'
276
+ property :etag, as: 'etag'
277
+ hash :labels, as: 'labels'
278
+ collection :managed_resources, as: 'managedResources', class: Google::Apis::FirebaseapphostingV1::ManagedResource, decorator: Google::Apis::FirebaseapphostingV1::ManagedResource::Representation
279
+
280
+ property :mode, as: 'mode'
281
+ property :name, as: 'name'
282
+ property :reconciling, as: 'reconciling'
283
+ property :service_account, as: 'serviceAccount'
284
+ property :serving_locality, as: 'servingLocality'
285
+ property :uid, as: 'uid'
286
+ property :update_time, as: 'updateTime'
287
+ property :uri, as: 'uri'
288
+ end
289
+ end
290
+
291
+ class Build
292
+ # @private
293
+ class Representation < Google::Apis::Core::JsonRepresentation
294
+ hash :annotations, as: 'annotations'
295
+ property :build_logs_uri, as: 'buildLogsUri'
296
+ property :config, as: 'config', class: Google::Apis::FirebaseapphostingV1::Config, decorator: Google::Apis::FirebaseapphostingV1::Config::Representation
297
+
298
+ property :create_time, as: 'createTime'
299
+ property :delete_time, as: 'deleteTime'
300
+ property :display_name, as: 'displayName'
301
+ property :environment, as: 'environment'
302
+ collection :errors, as: 'errors', class: Google::Apis::FirebaseapphostingV1::Error, decorator: Google::Apis::FirebaseapphostingV1::Error::Representation
303
+
304
+ property :etag, as: 'etag'
305
+ property :image, as: 'image'
306
+ hash :labels, as: 'labels'
307
+ property :name, as: 'name'
308
+ property :reconciling, as: 'reconciling'
309
+ property :source, as: 'source', class: Google::Apis::FirebaseapphostingV1::BuildSource, decorator: Google::Apis::FirebaseapphostingV1::BuildSource::Representation
310
+
311
+ property :state, as: 'state'
312
+ property :uid, as: 'uid'
313
+ property :update_time, as: 'updateTime'
314
+ end
315
+ end
316
+
317
+ class BuildSource
318
+ # @private
319
+ class Representation < Google::Apis::Core::JsonRepresentation
320
+ property :codebase, as: 'codebase', class: Google::Apis::FirebaseapphostingV1::CodebaseSource, decorator: Google::Apis::FirebaseapphostingV1::CodebaseSource::Representation
321
+
322
+ property :container, as: 'container', class: Google::Apis::FirebaseapphostingV1::ContainerSource, decorator: Google::Apis::FirebaseapphostingV1::ContainerSource::Representation
323
+
324
+ end
325
+ end
326
+
327
+ class CancelOperationRequest
328
+ # @private
329
+ class Representation < Google::Apis::Core::JsonRepresentation
330
+ end
331
+ end
332
+
333
+ class Codebase
334
+ # @private
335
+ class Representation < Google::Apis::Core::JsonRepresentation
336
+ property :repository, as: 'repository'
337
+ property :root_directory, as: 'rootDirectory'
338
+ end
339
+ end
340
+
341
+ class CodebaseSource
342
+ # @private
343
+ class Representation < Google::Apis::Core::JsonRepresentation
344
+ property :author, as: 'author', class: Google::Apis::FirebaseapphostingV1::UserMetadata, decorator: Google::Apis::FirebaseapphostingV1::UserMetadata::Representation
345
+
346
+ property :branch, as: 'branch'
347
+ property :commit, as: 'commit'
348
+ property :commit_message, as: 'commitMessage'
349
+ property :commit_time, as: 'commitTime'
350
+ property :display_name, as: 'displayName'
351
+ property :hash_prop, as: 'hash'
352
+ property :uri, as: 'uri'
353
+ end
354
+ end
355
+
356
+ class Config
357
+ # @private
358
+ class Representation < Google::Apis::Core::JsonRepresentation
359
+ collection :env, as: 'env', class: Google::Apis::FirebaseapphostingV1::EnvironmentVariable, decorator: Google::Apis::FirebaseapphostingV1::EnvironmentVariable::Representation
360
+
361
+ property :run_config, as: 'runConfig', class: Google::Apis::FirebaseapphostingV1::RunConfig, decorator: Google::Apis::FirebaseapphostingV1::RunConfig::Representation
362
+
363
+ end
364
+ end
365
+
366
+ class ContainerSource
367
+ # @private
368
+ class Representation < Google::Apis::Core::JsonRepresentation
369
+ property :image, as: 'image'
370
+ end
371
+ end
372
+
373
+ class CustomDomainOperationMetadata
374
+ # @private
375
+ class Representation < Google::Apis::Core::JsonRepresentation
376
+ property :cert_state, as: 'certState'
377
+ property :host_state, as: 'hostState'
378
+ collection :issues, as: 'issues', class: Google::Apis::FirebaseapphostingV1::Status, decorator: Google::Apis::FirebaseapphostingV1::Status::Representation
379
+
380
+ collection :live_migration_steps, as: 'liveMigrationSteps', class: Google::Apis::FirebaseapphostingV1::LiveMigrationStep, decorator: Google::Apis::FirebaseapphostingV1::LiveMigrationStep::Representation
381
+
382
+ property :ownership_state, as: 'ownershipState'
383
+ collection :quick_setup_updates, as: 'quickSetupUpdates', class: Google::Apis::FirebaseapphostingV1::DnsUpdates, decorator: Google::Apis::FirebaseapphostingV1::DnsUpdates::Representation
384
+
385
+ end
386
+ end
387
+
388
+ class CustomDomainStatus
389
+ # @private
390
+ class Representation < Google::Apis::Core::JsonRepresentation
391
+ property :cert_state, as: 'certState'
392
+ property :host_state, as: 'hostState'
393
+ collection :issues, as: 'issues', class: Google::Apis::FirebaseapphostingV1::Status, decorator: Google::Apis::FirebaseapphostingV1::Status::Representation
394
+
395
+ property :ownership_state, as: 'ownershipState'
396
+ collection :required_dns_updates, as: 'requiredDnsUpdates', class: Google::Apis::FirebaseapphostingV1::DnsUpdates, decorator: Google::Apis::FirebaseapphostingV1::DnsUpdates::Representation
397
+
398
+ end
399
+ end
400
+
401
+ class DnsRecord
402
+ # @private
403
+ class Representation < Google::Apis::Core::JsonRepresentation
404
+ property :domain_name, as: 'domainName'
405
+ property :rdata, as: 'rdata'
406
+ collection :relevant_state, as: 'relevantState'
407
+ property :required_action, as: 'requiredAction'
408
+ property :type, as: 'type'
409
+ end
410
+ end
411
+
412
+ class DnsRecordSet
413
+ # @private
414
+ class Representation < Google::Apis::Core::JsonRepresentation
415
+ property :check_error, as: 'checkError', class: Google::Apis::FirebaseapphostingV1::Status, decorator: Google::Apis::FirebaseapphostingV1::Status::Representation
416
+
417
+ property :domain_name, as: 'domainName'
418
+ collection :records, as: 'records', class: Google::Apis::FirebaseapphostingV1::DnsRecord, decorator: Google::Apis::FirebaseapphostingV1::DnsRecord::Representation
419
+
420
+ end
421
+ end
422
+
423
+ class DnsUpdates
424
+ # @private
425
+ class Representation < Google::Apis::Core::JsonRepresentation
426
+ property :check_time, as: 'checkTime'
427
+ collection :desired, as: 'desired', class: Google::Apis::FirebaseapphostingV1::DnsRecordSet, decorator: Google::Apis::FirebaseapphostingV1::DnsRecordSet::Representation
428
+
429
+ collection :discovered, as: 'discovered', class: Google::Apis::FirebaseapphostingV1::DnsRecordSet, decorator: Google::Apis::FirebaseapphostingV1::DnsRecordSet::Representation
430
+
431
+ property :domain_name, as: 'domainName'
432
+ end
433
+ end
434
+
435
+ class Domain
436
+ # @private
437
+ class Representation < Google::Apis::Core::JsonRepresentation
438
+ hash :annotations, as: 'annotations'
439
+ property :create_time, as: 'createTime'
440
+ property :custom_domain_status, as: 'customDomainStatus', class: Google::Apis::FirebaseapphostingV1::CustomDomainStatus, decorator: Google::Apis::FirebaseapphostingV1::CustomDomainStatus::Representation
441
+
442
+ property :delete_time, as: 'deleteTime'
443
+ property :disabled, as: 'disabled'
444
+ property :display_name, as: 'displayName'
445
+ property :etag, as: 'etag'
446
+ hash :labels, as: 'labels'
447
+ property :name, as: 'name'
448
+ property :reconciling, as: 'reconciling'
449
+ property :serve, as: 'serve', class: Google::Apis::FirebaseapphostingV1::ServingBehavior, decorator: Google::Apis::FirebaseapphostingV1::ServingBehavior::Representation
450
+
451
+ property :type, as: 'type'
452
+ property :uid, as: 'uid'
453
+ property :update_time, as: 'updateTime'
454
+ end
455
+ end
456
+
457
+ class DomainOperationMetadata
458
+ # @private
459
+ class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :api_version, as: 'apiVersion'
461
+ property :create_time, as: 'createTime'
462
+ property :custom_domain_operation_metadata, as: 'customDomainOperationMetadata', class: Google::Apis::FirebaseapphostingV1::CustomDomainOperationMetadata, decorator: Google::Apis::FirebaseapphostingV1::CustomDomainOperationMetadata::Representation
463
+
464
+ property :end_time, as: 'endTime'
465
+ property :requested_cancellation, as: 'requestedCancellation'
466
+ property :status_message, as: 'statusMessage'
467
+ property :target, as: 'target'
468
+ property :verb, as: 'verb'
469
+ end
470
+ end
471
+
472
+ class Empty
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ end
476
+ end
477
+
478
+ class EnvironmentVariable
479
+ # @private
480
+ class Representation < Google::Apis::Core::JsonRepresentation
481
+ collection :availability, as: 'availability'
482
+ property :secret, as: 'secret'
483
+ property :value, as: 'value'
484
+ property :variable, as: 'variable'
485
+ end
486
+ end
487
+
488
+ class Error
489
+ # @private
490
+ class Representation < Google::Apis::Core::JsonRepresentation
491
+ property :cloud_resource, as: 'cloudResource'
492
+ property :error, as: 'error', class: Google::Apis::FirebaseapphostingV1::Status, decorator: Google::Apis::FirebaseapphostingV1::Status::Representation
493
+
494
+ property :error_source, as: 'errorSource'
495
+ end
496
+ end
497
+
498
+ class ListBackendsResponse
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ collection :backends, as: 'backends', class: Google::Apis::FirebaseapphostingV1::Backend, decorator: Google::Apis::FirebaseapphostingV1::Backend::Representation
502
+
503
+ property :next_page_token, as: 'nextPageToken'
504
+ collection :unreachable, as: 'unreachable'
505
+ end
506
+ end
507
+
508
+ class ListBuildsResponse
509
+ # @private
510
+ class Representation < Google::Apis::Core::JsonRepresentation
511
+ collection :builds, as: 'builds', class: Google::Apis::FirebaseapphostingV1::Build, decorator: Google::Apis::FirebaseapphostingV1::Build::Representation
512
+
513
+ property :next_page_token, as: 'nextPageToken'
514
+ collection :unreachable, as: 'unreachable'
515
+ end
516
+ end
517
+
518
+ class ListDomainsResponse
519
+ # @private
520
+ class Representation < Google::Apis::Core::JsonRepresentation
521
+ collection :domains, as: 'domains', class: Google::Apis::FirebaseapphostingV1::Domain, decorator: Google::Apis::FirebaseapphostingV1::Domain::Representation
522
+
523
+ property :next_page_token, as: 'nextPageToken'
524
+ collection :unreachable, as: 'unreachable'
525
+ end
526
+ end
527
+
528
+ class ListLocationsResponse
529
+ # @private
530
+ class Representation < Google::Apis::Core::JsonRepresentation
531
+ collection :locations, as: 'locations', class: Google::Apis::FirebaseapphostingV1::Location, decorator: Google::Apis::FirebaseapphostingV1::Location::Representation
532
+
533
+ property :next_page_token, as: 'nextPageToken'
534
+ end
535
+ end
536
+
537
+ class ListOperationsResponse
538
+ # @private
539
+ class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :next_page_token, as: 'nextPageToken'
541
+ collection :operations, as: 'operations', class: Google::Apis::FirebaseapphostingV1::Operation, decorator: Google::Apis::FirebaseapphostingV1::Operation::Representation
542
+
543
+ end
544
+ end
545
+
546
+ class ListRolloutsResponse
547
+ # @private
548
+ class Representation < Google::Apis::Core::JsonRepresentation
549
+ property :next_page_token, as: 'nextPageToken'
550
+ collection :rollouts, as: 'rollouts', class: Google::Apis::FirebaseapphostingV1::Rollout, decorator: Google::Apis::FirebaseapphostingV1::Rollout::Representation
551
+
552
+ collection :unreachable, as: 'unreachable'
553
+ end
554
+ end
555
+
556
+ class LiveMigrationStep
557
+ # @private
558
+ class Representation < Google::Apis::Core::JsonRepresentation
559
+ collection :dns_updates, as: 'dnsUpdates', class: Google::Apis::FirebaseapphostingV1::DnsUpdates, decorator: Google::Apis::FirebaseapphostingV1::DnsUpdates::Representation
560
+
561
+ collection :issues, as: 'issues', class: Google::Apis::FirebaseapphostingV1::Status, decorator: Google::Apis::FirebaseapphostingV1::Status::Representation
562
+
563
+ collection :relevant_domain_states, as: 'relevantDomainStates'
564
+ property :step_state, as: 'stepState'
565
+ end
566
+ end
567
+
568
+ class Location
569
+ # @private
570
+ class Representation < Google::Apis::Core::JsonRepresentation
571
+ property :display_name, as: 'displayName'
572
+ hash :labels, as: 'labels'
573
+ property :location_id, as: 'locationId'
574
+ hash :metadata, as: 'metadata'
575
+ property :name, as: 'name'
576
+ end
577
+ end
578
+
579
+ class ManagedResource
580
+ # @private
581
+ class Representation < Google::Apis::Core::JsonRepresentation
582
+ property :run_service, as: 'runService', class: Google::Apis::FirebaseapphostingV1::RunService, decorator: Google::Apis::FirebaseapphostingV1::RunService::Representation
583
+
584
+ end
585
+ end
586
+
587
+ class Operation
588
+ # @private
589
+ class Representation < Google::Apis::Core::JsonRepresentation
590
+ property :done, as: 'done'
591
+ property :error, as: 'error', class: Google::Apis::FirebaseapphostingV1::Status, decorator: Google::Apis::FirebaseapphostingV1::Status::Representation
592
+
593
+ hash :metadata, as: 'metadata'
594
+ property :name, as: 'name'
595
+ hash :response, as: 'response'
596
+ end
597
+ end
598
+
599
+ class OperationMetadata
600
+ # @private
601
+ class Representation < Google::Apis::Core::JsonRepresentation
602
+ property :api_version, as: 'apiVersion'
603
+ property :create_time, as: 'createTime'
604
+ property :end_time, as: 'endTime'
605
+ property :requested_cancellation, as: 'requestedCancellation'
606
+ property :status_message, as: 'statusMessage'
607
+ property :target, as: 'target'
608
+ property :verb, as: 'verb'
609
+ end
610
+ end
611
+
612
+ class Redirect
613
+ # @private
614
+ class Representation < Google::Apis::Core::JsonRepresentation
615
+ property :status, :numeric_string => true, as: 'status'
616
+ property :uri, as: 'uri'
617
+ end
618
+ end
619
+
620
+ class Rollout
621
+ # @private
622
+ class Representation < Google::Apis::Core::JsonRepresentation
623
+ hash :annotations, as: 'annotations'
624
+ property :build, as: 'build'
625
+ property :create_time, as: 'createTime'
626
+ property :delete_time, as: 'deleteTime'
627
+ property :display_name, as: 'displayName'
628
+ property :error, as: 'error', class: Google::Apis::FirebaseapphostingV1::Status, decorator: Google::Apis::FirebaseapphostingV1::Status::Representation
629
+
630
+ property :etag, as: 'etag'
631
+ hash :labels, as: 'labels'
632
+ property :name, as: 'name'
633
+ property :reconciling, as: 'reconciling'
634
+ property :state, as: 'state'
635
+ property :uid, as: 'uid'
636
+ property :update_time, as: 'updateTime'
637
+ end
638
+ end
639
+
640
+ class RolloutPolicy
641
+ # @private
642
+ class Representation < Google::Apis::Core::JsonRepresentation
643
+ property :codebase_branch, as: 'codebaseBranch'
644
+ property :disabled, as: 'disabled'
645
+ property :disabled_time, as: 'disabledTime'
646
+ end
647
+ end
648
+
649
+ class RunConfig
650
+ # @private
651
+ class Representation < Google::Apis::Core::JsonRepresentation
652
+ property :concurrency, as: 'concurrency'
653
+ property :cpu, as: 'cpu'
654
+ property :max_instances, as: 'maxInstances'
655
+ property :memory_mib, as: 'memoryMib'
656
+ property :min_instances, as: 'minInstances'
657
+ end
658
+ end
659
+
660
+ class RunService
661
+ # @private
662
+ class Representation < Google::Apis::Core::JsonRepresentation
663
+ property :service, as: 'service'
664
+ end
665
+ end
666
+
667
+ class ServingBehavior
668
+ # @private
669
+ class Representation < Google::Apis::Core::JsonRepresentation
670
+ property :redirect, as: 'redirect', class: Google::Apis::FirebaseapphostingV1::Redirect, decorator: Google::Apis::FirebaseapphostingV1::Redirect::Representation
671
+
672
+ end
673
+ end
674
+
675
+ class Status
676
+ # @private
677
+ class Representation < Google::Apis::Core::JsonRepresentation
678
+ property :code, as: 'code'
679
+ collection :details, as: 'details'
680
+ property :message, as: 'message'
681
+ end
682
+ end
683
+
684
+ class Traffic
685
+ # @private
686
+ class Representation < Google::Apis::Core::JsonRepresentation
687
+ hash :annotations, as: 'annotations'
688
+ property :create_time, as: 'createTime'
689
+ property :current, as: 'current', class: Google::Apis::FirebaseapphostingV1::TrafficSet, decorator: Google::Apis::FirebaseapphostingV1::TrafficSet::Representation
690
+
691
+ property :etag, as: 'etag'
692
+ hash :labels, as: 'labels'
693
+ property :name, as: 'name'
694
+ property :reconciling, as: 'reconciling'
695
+ property :rollout_policy, as: 'rolloutPolicy', class: Google::Apis::FirebaseapphostingV1::RolloutPolicy, decorator: Google::Apis::FirebaseapphostingV1::RolloutPolicy::Representation
696
+
697
+ property :target, as: 'target', class: Google::Apis::FirebaseapphostingV1::TrafficSet, decorator: Google::Apis::FirebaseapphostingV1::TrafficSet::Representation
698
+
699
+ property :uid, as: 'uid'
700
+ property :update_time, as: 'updateTime'
701
+ end
702
+ end
703
+
704
+ class TrafficSet
705
+ # @private
706
+ class Representation < Google::Apis::Core::JsonRepresentation
707
+ collection :splits, as: 'splits', class: Google::Apis::FirebaseapphostingV1::TrafficSplit, decorator: Google::Apis::FirebaseapphostingV1::TrafficSplit::Representation
708
+
709
+ end
710
+ end
711
+
712
+ class TrafficSplit
713
+ # @private
714
+ class Representation < Google::Apis::Core::JsonRepresentation
715
+ property :build, as: 'build'
716
+ property :percent, as: 'percent'
717
+ end
718
+ end
719
+
720
+ class UserMetadata
721
+ # @private
722
+ class Representation < Google::Apis::Core::JsonRepresentation
723
+ property :display_name, as: 'displayName'
724
+ property :email, as: 'email'
725
+ property :image_uri, as: 'imageUri'
726
+ end
727
+ end
728
+ end
729
+ end
730
+ end