google-apis-saasservicemgmt_v1beta1 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,735 @@
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 SaasservicemgmtV1beta1
24
+
25
+ class Aggregate
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Blueprint
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class Dependency
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class Deprovision
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Empty
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ErrorBudget
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class FromMapping
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudLocationLocation
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ListLocationsResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ListReleasesResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ListRolloutKindsResponse
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ListRolloutsResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ListSaasResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ListTenantsResponse
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ListUnitKindsResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ListUnitOperationsResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ListUnitsResponse
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class Location
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class MaintenanceSettings
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Provision
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class Release
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ReleaseRequirements
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class Rollout
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class RolloutControl
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class RolloutKind
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class RolloutStats
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class RunRolloutActionParams
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class Saas
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class Schedule
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class Tenant
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class ToMapping
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Unit
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class UnitCondition
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class UnitDependency
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class UnitKind
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class UnitOperation
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class UnitOperationCondition
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class UnitVariable
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class Upgrade
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class VariableMapping
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class Aggregate
266
+ # @private
267
+ class Representation < Google::Apis::Core::JsonRepresentation
268
+ property :count, as: 'count'
269
+ property :group, as: 'group'
270
+ end
271
+ end
272
+
273
+ class Blueprint
274
+ # @private
275
+ class Representation < Google::Apis::Core::JsonRepresentation
276
+ property :engine, as: 'engine'
277
+ property :package, as: 'package'
278
+ property :version, as: 'version'
279
+ end
280
+ end
281
+
282
+ class Dependency
283
+ # @private
284
+ class Representation < Google::Apis::Core::JsonRepresentation
285
+ property :alias, as: 'alias'
286
+ property :unit_kind, as: 'unitKind'
287
+ end
288
+ end
289
+
290
+ class Deprovision
291
+ # @private
292
+ class Representation < Google::Apis::Core::JsonRepresentation
293
+ end
294
+ end
295
+
296
+ class Empty
297
+ # @private
298
+ class Representation < Google::Apis::Core::JsonRepresentation
299
+ end
300
+ end
301
+
302
+ class ErrorBudget
303
+ # @private
304
+ class Representation < Google::Apis::Core::JsonRepresentation
305
+ property :allowed_count, as: 'allowedCount'
306
+ property :allowed_percentage, as: 'allowedPercentage'
307
+ end
308
+ end
309
+
310
+ class FromMapping
311
+ # @private
312
+ class Representation < Google::Apis::Core::JsonRepresentation
313
+ property :dependency, as: 'dependency'
314
+ property :output_variable, as: 'outputVariable'
315
+ end
316
+ end
317
+
318
+ class GoogleCloudLocationLocation
319
+ # @private
320
+ class Representation < Google::Apis::Core::JsonRepresentation
321
+ property :display_name, as: 'displayName'
322
+ hash :labels, as: 'labels'
323
+ property :location_id, as: 'locationId'
324
+ hash :metadata, as: 'metadata'
325
+ property :name, as: 'name'
326
+ end
327
+ end
328
+
329
+ class ListLocationsResponse
330
+ # @private
331
+ class Representation < Google::Apis::Core::JsonRepresentation
332
+ collection :locations, as: 'locations', class: Google::Apis::SaasservicemgmtV1beta1::GoogleCloudLocationLocation, decorator: Google::Apis::SaasservicemgmtV1beta1::GoogleCloudLocationLocation::Representation
333
+
334
+ property :next_page_token, as: 'nextPageToken'
335
+ end
336
+ end
337
+
338
+ class ListReleasesResponse
339
+ # @private
340
+ class Representation < Google::Apis::Core::JsonRepresentation
341
+ property :next_page_token, as: 'nextPageToken'
342
+ collection :releases, as: 'releases', class: Google::Apis::SaasservicemgmtV1beta1::Release, decorator: Google::Apis::SaasservicemgmtV1beta1::Release::Representation
343
+
344
+ collection :unreachable, as: 'unreachable'
345
+ end
346
+ end
347
+
348
+ class ListRolloutKindsResponse
349
+ # @private
350
+ class Representation < Google::Apis::Core::JsonRepresentation
351
+ property :next_page_token, as: 'nextPageToken'
352
+ collection :rollout_kinds, as: 'rolloutKinds', class: Google::Apis::SaasservicemgmtV1beta1::RolloutKind, decorator: Google::Apis::SaasservicemgmtV1beta1::RolloutKind::Representation
353
+
354
+ collection :unreachable, as: 'unreachable'
355
+ end
356
+ end
357
+
358
+ class ListRolloutsResponse
359
+ # @private
360
+ class Representation < Google::Apis::Core::JsonRepresentation
361
+ property :next_page_token, as: 'nextPageToken'
362
+ collection :rollouts, as: 'rollouts', class: Google::Apis::SaasservicemgmtV1beta1::Rollout, decorator: Google::Apis::SaasservicemgmtV1beta1::Rollout::Representation
363
+
364
+ collection :unreachable, as: 'unreachable'
365
+ end
366
+ end
367
+
368
+ class ListSaasResponse
369
+ # @private
370
+ class Representation < Google::Apis::Core::JsonRepresentation
371
+ property :next_page_token, as: 'nextPageToken'
372
+ collection :saas, as: 'saas', class: Google::Apis::SaasservicemgmtV1beta1::Saas, decorator: Google::Apis::SaasservicemgmtV1beta1::Saas::Representation
373
+
374
+ collection :unreachable, as: 'unreachable'
375
+ end
376
+ end
377
+
378
+ class ListTenantsResponse
379
+ # @private
380
+ class Representation < Google::Apis::Core::JsonRepresentation
381
+ property :next_page_token, as: 'nextPageToken'
382
+ collection :tenants, as: 'tenants', class: Google::Apis::SaasservicemgmtV1beta1::Tenant, decorator: Google::Apis::SaasservicemgmtV1beta1::Tenant::Representation
383
+
384
+ collection :unreachable, as: 'unreachable'
385
+ end
386
+ end
387
+
388
+ class ListUnitKindsResponse
389
+ # @private
390
+ class Representation < Google::Apis::Core::JsonRepresentation
391
+ property :next_page_token, as: 'nextPageToken'
392
+ collection :unit_kinds, as: 'unitKinds', class: Google::Apis::SaasservicemgmtV1beta1::UnitKind, decorator: Google::Apis::SaasservicemgmtV1beta1::UnitKind::Representation
393
+
394
+ collection :unreachable, as: 'unreachable'
395
+ end
396
+ end
397
+
398
+ class ListUnitOperationsResponse
399
+ # @private
400
+ class Representation < Google::Apis::Core::JsonRepresentation
401
+ property :next_page_token, as: 'nextPageToken'
402
+ collection :unit_operations, as: 'unitOperations', class: Google::Apis::SaasservicemgmtV1beta1::UnitOperation, decorator: Google::Apis::SaasservicemgmtV1beta1::UnitOperation::Representation
403
+
404
+ collection :unreachable, as: 'unreachable'
405
+ end
406
+ end
407
+
408
+ class ListUnitsResponse
409
+ # @private
410
+ class Representation < Google::Apis::Core::JsonRepresentation
411
+ property :next_page_token, as: 'nextPageToken'
412
+ collection :units, as: 'units', class: Google::Apis::SaasservicemgmtV1beta1::Unit, decorator: Google::Apis::SaasservicemgmtV1beta1::Unit::Representation
413
+
414
+ collection :unreachable, as: 'unreachable'
415
+ end
416
+ end
417
+
418
+ class Location
419
+ # @private
420
+ class Representation < Google::Apis::Core::JsonRepresentation
421
+ property :name, as: 'name'
422
+ end
423
+ end
424
+
425
+ class MaintenanceSettings
426
+ # @private
427
+ class Representation < Google::Apis::Core::JsonRepresentation
428
+ property :pinned_until_time, as: 'pinnedUntilTime'
429
+ end
430
+ end
431
+
432
+ class Provision
433
+ # @private
434
+ class Representation < Google::Apis::Core::JsonRepresentation
435
+ collection :input_variables, as: 'inputVariables', class: Google::Apis::SaasservicemgmtV1beta1::UnitVariable, decorator: Google::Apis::SaasservicemgmtV1beta1::UnitVariable::Representation
436
+
437
+ property :release, as: 'release'
438
+ end
439
+ end
440
+
441
+ class Release
442
+ # @private
443
+ class Representation < Google::Apis::Core::JsonRepresentation
444
+ hash :annotations, as: 'annotations'
445
+ property :blueprint, as: 'blueprint', class: Google::Apis::SaasservicemgmtV1beta1::Blueprint, decorator: Google::Apis::SaasservicemgmtV1beta1::Blueprint::Representation
446
+
447
+ property :create_time, as: 'createTime'
448
+ property :etag, as: 'etag'
449
+ collection :input_variable_defaults, as: 'inputVariableDefaults', class: Google::Apis::SaasservicemgmtV1beta1::UnitVariable, decorator: Google::Apis::SaasservicemgmtV1beta1::UnitVariable::Representation
450
+
451
+ collection :input_variables, as: 'inputVariables', class: Google::Apis::SaasservicemgmtV1beta1::UnitVariable, decorator: Google::Apis::SaasservicemgmtV1beta1::UnitVariable::Representation
452
+
453
+ hash :labels, as: 'labels'
454
+ property :name, as: 'name'
455
+ collection :output_variables, as: 'outputVariables', class: Google::Apis::SaasservicemgmtV1beta1::UnitVariable, decorator: Google::Apis::SaasservicemgmtV1beta1::UnitVariable::Representation
456
+
457
+ property :release_requirements, as: 'releaseRequirements', class: Google::Apis::SaasservicemgmtV1beta1::ReleaseRequirements, decorator: Google::Apis::SaasservicemgmtV1beta1::ReleaseRequirements::Representation
458
+
459
+ property :uid, as: 'uid'
460
+ property :unit_kind, as: 'unitKind'
461
+ property :update_time, as: 'updateTime'
462
+ end
463
+ end
464
+
465
+ class ReleaseRequirements
466
+ # @private
467
+ class Representation < Google::Apis::Core::JsonRepresentation
468
+ collection :upgradeable_from_releases, as: 'upgradeableFromReleases'
469
+ end
470
+ end
471
+
472
+ class Rollout
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ hash :annotations, as: 'annotations'
476
+ property :control, as: 'control', class: Google::Apis::SaasservicemgmtV1beta1::RolloutControl, decorator: Google::Apis::SaasservicemgmtV1beta1::RolloutControl::Representation
477
+
478
+ property :create_time, as: 'createTime'
479
+ property :end_time, as: 'endTime'
480
+ property :etag, as: 'etag'
481
+ hash :labels, as: 'labels'
482
+ property :name, as: 'name'
483
+ property :parent_rollout, as: 'parentRollout'
484
+ property :release, as: 'release'
485
+ property :rollout_kind, as: 'rolloutKind'
486
+ property :rollout_orchestration_strategy, as: 'rolloutOrchestrationStrategy'
487
+ property :root_rollout, as: 'rootRollout'
488
+ property :start_time, as: 'startTime'
489
+ property :state, as: 'state'
490
+ property :state_message, as: 'stateMessage'
491
+ property :state_transition_time, as: 'stateTransitionTime'
492
+ property :stats, as: 'stats', class: Google::Apis::SaasservicemgmtV1beta1::RolloutStats, decorator: Google::Apis::SaasservicemgmtV1beta1::RolloutStats::Representation
493
+
494
+ property :uid, as: 'uid'
495
+ property :unit_filter, as: 'unitFilter'
496
+ property :update_time, as: 'updateTime'
497
+ end
498
+ end
499
+
500
+ class RolloutControl
501
+ # @private
502
+ class Representation < Google::Apis::Core::JsonRepresentation
503
+ property :action, as: 'action'
504
+ property :run_params, as: 'runParams', class: Google::Apis::SaasservicemgmtV1beta1::RunRolloutActionParams, decorator: Google::Apis::SaasservicemgmtV1beta1::RunRolloutActionParams::Representation
505
+
506
+ end
507
+ end
508
+
509
+ class RolloutKind
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ hash :annotations, as: 'annotations'
513
+ property :create_time, as: 'createTime'
514
+ property :error_budget, as: 'errorBudget', class: Google::Apis::SaasservicemgmtV1beta1::ErrorBudget, decorator: Google::Apis::SaasservicemgmtV1beta1::ErrorBudget::Representation
515
+
516
+ property :etag, as: 'etag'
517
+ hash :labels, as: 'labels'
518
+ property :name, as: 'name'
519
+ property :rollout_orchestration_strategy, as: 'rolloutOrchestrationStrategy'
520
+ property :uid, as: 'uid'
521
+ property :unit_filter, as: 'unitFilter'
522
+ property :unit_kind, as: 'unitKind'
523
+ property :update_time, as: 'updateTime'
524
+ property :update_unit_kind_strategy, as: 'updateUnitKindStrategy'
525
+ end
526
+ end
527
+
528
+ class RolloutStats
529
+ # @private
530
+ class Representation < Google::Apis::Core::JsonRepresentation
531
+ collection :operations_by_state, as: 'operationsByState', class: Google::Apis::SaasservicemgmtV1beta1::Aggregate, decorator: Google::Apis::SaasservicemgmtV1beta1::Aggregate::Representation
532
+
533
+ end
534
+ end
535
+
536
+ class RunRolloutActionParams
537
+ # @private
538
+ class Representation < Google::Apis::Core::JsonRepresentation
539
+ property :retry_failed_operations, as: 'retryFailedOperations'
540
+ end
541
+ end
542
+
543
+ class Saas
544
+ # @private
545
+ class Representation < Google::Apis::Core::JsonRepresentation
546
+ hash :annotations, as: 'annotations'
547
+ property :create_time, as: 'createTime'
548
+ property :etag, as: 'etag'
549
+ hash :labels, as: 'labels'
550
+ collection :locations, as: 'locations', class: Google::Apis::SaasservicemgmtV1beta1::Location, decorator: Google::Apis::SaasservicemgmtV1beta1::Location::Representation
551
+
552
+ property :name, as: 'name'
553
+ property :uid, as: 'uid'
554
+ property :update_time, as: 'updateTime'
555
+ end
556
+ end
557
+
558
+ class Schedule
559
+ # @private
560
+ class Representation < Google::Apis::Core::JsonRepresentation
561
+ property :start_time, as: 'startTime'
562
+ end
563
+ end
564
+
565
+ class Tenant
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ hash :annotations, as: 'annotations'
569
+ property :consumer_resource, as: 'consumerResource'
570
+ property :create_time, as: 'createTime'
571
+ property :etag, as: 'etag'
572
+ hash :labels, as: 'labels'
573
+ property :name, as: 'name'
574
+ property :saas, as: 'saas'
575
+ property :uid, as: 'uid'
576
+ property :update_time, as: 'updateTime'
577
+ end
578
+ end
579
+
580
+ class ToMapping
581
+ # @private
582
+ class Representation < Google::Apis::Core::JsonRepresentation
583
+ property :dependency, as: 'dependency'
584
+ property :ignore_for_lookup, as: 'ignoreForLookup'
585
+ property :input_variable, as: 'inputVariable'
586
+ end
587
+ end
588
+
589
+ class Unit
590
+ # @private
591
+ class Representation < Google::Apis::Core::JsonRepresentation
592
+ hash :annotations, as: 'annotations'
593
+ collection :conditions, as: 'conditions', class: Google::Apis::SaasservicemgmtV1beta1::UnitCondition, decorator: Google::Apis::SaasservicemgmtV1beta1::UnitCondition::Representation
594
+
595
+ property :create_time, as: 'createTime'
596
+ collection :dependencies, as: 'dependencies', class: Google::Apis::SaasservicemgmtV1beta1::UnitDependency, decorator: Google::Apis::SaasservicemgmtV1beta1::UnitDependency::Representation
597
+
598
+ collection :dependents, as: 'dependents', class: Google::Apis::SaasservicemgmtV1beta1::UnitDependency, decorator: Google::Apis::SaasservicemgmtV1beta1::UnitDependency::Representation
599
+
600
+ property :etag, as: 'etag'
601
+ collection :input_variables, as: 'inputVariables', class: Google::Apis::SaasservicemgmtV1beta1::UnitVariable, decorator: Google::Apis::SaasservicemgmtV1beta1::UnitVariable::Representation
602
+
603
+ hash :labels, as: 'labels'
604
+ property :maintenance, as: 'maintenance', class: Google::Apis::SaasservicemgmtV1beta1::MaintenanceSettings, decorator: Google::Apis::SaasservicemgmtV1beta1::MaintenanceSettings::Representation
605
+
606
+ property :management_mode, as: 'managementMode'
607
+ property :name, as: 'name'
608
+ collection :ongoing_operations, as: 'ongoingOperations'
609
+ collection :output_variables, as: 'outputVariables', class: Google::Apis::SaasservicemgmtV1beta1::UnitVariable, decorator: Google::Apis::SaasservicemgmtV1beta1::UnitVariable::Representation
610
+
611
+ collection :pending_operations, as: 'pendingOperations'
612
+ property :release, as: 'release'
613
+ collection :scheduled_operations, as: 'scheduledOperations'
614
+ property :state, as: 'state'
615
+ property :system_cleanup_at, as: 'systemCleanupAt'
616
+ property :system_managed_state, as: 'systemManagedState'
617
+ property :tenant, as: 'tenant'
618
+ property :uid, as: 'uid'
619
+ property :unit_kind, as: 'unitKind'
620
+ property :update_time, as: 'updateTime'
621
+ end
622
+ end
623
+
624
+ class UnitCondition
625
+ # @private
626
+ class Representation < Google::Apis::Core::JsonRepresentation
627
+ property :last_transition_time, as: 'lastTransitionTime'
628
+ property :message, as: 'message'
629
+ property :reason, as: 'reason'
630
+ property :status, as: 'status'
631
+ property :type, as: 'type'
632
+ end
633
+ end
634
+
635
+ class UnitDependency
636
+ # @private
637
+ class Representation < Google::Apis::Core::JsonRepresentation
638
+ property :alias, as: 'alias'
639
+ property :unit, as: 'unit'
640
+ end
641
+ end
642
+
643
+ class UnitKind
644
+ # @private
645
+ class Representation < Google::Apis::Core::JsonRepresentation
646
+ hash :annotations, as: 'annotations'
647
+ property :create_time, as: 'createTime'
648
+ property :default_release, as: 'defaultRelease'
649
+ collection :dependencies, as: 'dependencies', class: Google::Apis::SaasservicemgmtV1beta1::Dependency, decorator: Google::Apis::SaasservicemgmtV1beta1::Dependency::Representation
650
+
651
+ property :etag, as: 'etag'
652
+ collection :input_variable_mappings, as: 'inputVariableMappings', class: Google::Apis::SaasservicemgmtV1beta1::VariableMapping, decorator: Google::Apis::SaasservicemgmtV1beta1::VariableMapping::Representation
653
+
654
+ hash :labels, as: 'labels'
655
+ property :name, as: 'name'
656
+ collection :output_variable_mappings, as: 'outputVariableMappings', class: Google::Apis::SaasservicemgmtV1beta1::VariableMapping, decorator: Google::Apis::SaasservicemgmtV1beta1::VariableMapping::Representation
657
+
658
+ property :saas, as: 'saas'
659
+ property :uid, as: 'uid'
660
+ property :update_time, as: 'updateTime'
661
+ end
662
+ end
663
+
664
+ class UnitOperation
665
+ # @private
666
+ class Representation < Google::Apis::Core::JsonRepresentation
667
+ hash :annotations, as: 'annotations'
668
+ property :cancel, as: 'cancel'
669
+ collection :conditions, as: 'conditions', class: Google::Apis::SaasservicemgmtV1beta1::UnitOperationCondition, decorator: Google::Apis::SaasservicemgmtV1beta1::UnitOperationCondition::Representation
670
+
671
+ property :create_time, as: 'createTime'
672
+ property :deprovision, as: 'deprovision', class: Google::Apis::SaasservicemgmtV1beta1::Deprovision, decorator: Google::Apis::SaasservicemgmtV1beta1::Deprovision::Representation
673
+
674
+ property :engine_state, as: 'engineState'
675
+ property :error_category, as: 'errorCategory'
676
+ property :etag, as: 'etag'
677
+ hash :labels, as: 'labels'
678
+ property :name, as: 'name'
679
+ property :parent_unit_operation, as: 'parentUnitOperation'
680
+ property :provision, as: 'provision', class: Google::Apis::SaasservicemgmtV1beta1::Provision, decorator: Google::Apis::SaasservicemgmtV1beta1::Provision::Representation
681
+
682
+ property :rollout, as: 'rollout'
683
+ property :schedule, as: 'schedule', class: Google::Apis::SaasservicemgmtV1beta1::Schedule, decorator: Google::Apis::SaasservicemgmtV1beta1::Schedule::Representation
684
+
685
+ property :state, as: 'state'
686
+ property :uid, as: 'uid'
687
+ property :unit, as: 'unit'
688
+ property :update_time, as: 'updateTime'
689
+ property :upgrade, as: 'upgrade', class: Google::Apis::SaasservicemgmtV1beta1::Upgrade, decorator: Google::Apis::SaasservicemgmtV1beta1::Upgrade::Representation
690
+
691
+ end
692
+ end
693
+
694
+ class UnitOperationCondition
695
+ # @private
696
+ class Representation < Google::Apis::Core::JsonRepresentation
697
+ property :last_transition_time, as: 'lastTransitionTime'
698
+ property :message, as: 'message'
699
+ property :reason, as: 'reason'
700
+ property :status, as: 'status'
701
+ property :type, as: 'type'
702
+ end
703
+ end
704
+
705
+ class UnitVariable
706
+ # @private
707
+ class Representation < Google::Apis::Core::JsonRepresentation
708
+ property :type, as: 'type'
709
+ property :value, as: 'value'
710
+ property :variable, as: 'variable'
711
+ end
712
+ end
713
+
714
+ class Upgrade
715
+ # @private
716
+ class Representation < Google::Apis::Core::JsonRepresentation
717
+ collection :input_variables, as: 'inputVariables', class: Google::Apis::SaasservicemgmtV1beta1::UnitVariable, decorator: Google::Apis::SaasservicemgmtV1beta1::UnitVariable::Representation
718
+
719
+ property :release, as: 'release'
720
+ end
721
+ end
722
+
723
+ class VariableMapping
724
+ # @private
725
+ class Representation < Google::Apis::Core::JsonRepresentation
726
+ property :from, as: 'from', class: Google::Apis::SaasservicemgmtV1beta1::FromMapping, decorator: Google::Apis::SaasservicemgmtV1beta1::FromMapping::Representation
727
+
728
+ property :to, as: 'to', class: Google::Apis::SaasservicemgmtV1beta1::ToMapping, decorator: Google::Apis::SaasservicemgmtV1beta1::ToMapping::Representation
729
+
730
+ property :variable, as: 'variable'
731
+ end
732
+ end
733
+ end
734
+ end
735
+ end