google-apis-managedidentities_v1 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 ManagedidentitiesV1
18
+ # Version of the google-apis-managedidentities_v1 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 = "20201113"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,724 @@
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 ManagedidentitiesV1
24
+
25
+ class AttachTrustRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Binding
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class CancelOperationRequest
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class DailyCycle
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 DenyMaintenancePeriod
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class DetachTrustRequest
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Domain
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 Expr
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudManagedidentitiesV1OpMetadata
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudManagedidentitiesV1alpha1OpMetadata
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleCloudManagedidentitiesV1beta1OpMetadata
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ListDomainsResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ListLocationsResponse
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ListOperationsResponse
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class Location
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class MaintenancePolicy
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class MaintenanceWindow
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 Policy
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class ReconfigureTrustRequest
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class ResetAdminPasswordRequest
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class ResetAdminPasswordResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Schedule
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class SetIamPolicyRequest
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 TestIamPermissionsRequest
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class TestIamPermissionsResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class TimeOfDay
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class TrustProp
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class UpdatePolicy
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class ValidateTrustRequest
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class WeeklyCycle
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class AttachTrustRequest
284
+ # @private
285
+ class Representation < Google::Apis::Core::JsonRepresentation
286
+ property :trust_prop, as: 'trust', class: Google::Apis::ManagedidentitiesV1::TrustProp, decorator: Google::Apis::ManagedidentitiesV1::TrustProp::Representation
287
+
288
+ end
289
+ end
290
+
291
+ class Binding
292
+ # @private
293
+ class Representation < Google::Apis::Core::JsonRepresentation
294
+ property :condition, as: 'condition', class: Google::Apis::ManagedidentitiesV1::Expr, decorator: Google::Apis::ManagedidentitiesV1::Expr::Representation
295
+
296
+ collection :members, as: 'members'
297
+ property :role, as: 'role'
298
+ end
299
+ end
300
+
301
+ class CancelOperationRequest
302
+ # @private
303
+ class Representation < Google::Apis::Core::JsonRepresentation
304
+ end
305
+ end
306
+
307
+ class DailyCycle
308
+ # @private
309
+ class Representation < Google::Apis::Core::JsonRepresentation
310
+ property :duration, as: 'duration'
311
+ property :start_time, as: 'startTime', class: Google::Apis::ManagedidentitiesV1::TimeOfDay, decorator: Google::Apis::ManagedidentitiesV1::TimeOfDay::Representation
312
+
313
+ end
314
+ end
315
+
316
+ class Date
317
+ # @private
318
+ class Representation < Google::Apis::Core::JsonRepresentation
319
+ property :day, as: 'day'
320
+ property :month, as: 'month'
321
+ property :year, as: 'year'
322
+ end
323
+ end
324
+
325
+ class DenyMaintenancePeriod
326
+ # @private
327
+ class Representation < Google::Apis::Core::JsonRepresentation
328
+ property :end_date, as: 'endDate', class: Google::Apis::ManagedidentitiesV1::Date, decorator: Google::Apis::ManagedidentitiesV1::Date::Representation
329
+
330
+ property :start_date, as: 'startDate', class: Google::Apis::ManagedidentitiesV1::Date, decorator: Google::Apis::ManagedidentitiesV1::Date::Representation
331
+
332
+ property :time, as: 'time', class: Google::Apis::ManagedidentitiesV1::TimeOfDay, decorator: Google::Apis::ManagedidentitiesV1::TimeOfDay::Representation
333
+
334
+ end
335
+ end
336
+
337
+ class DetachTrustRequest
338
+ # @private
339
+ class Representation < Google::Apis::Core::JsonRepresentation
340
+ property :trust_prop, as: 'trust', class: Google::Apis::ManagedidentitiesV1::TrustProp, decorator: Google::Apis::ManagedidentitiesV1::TrustProp::Representation
341
+
342
+ end
343
+ end
344
+
345
+ class Domain
346
+ # @private
347
+ class Representation < Google::Apis::Core::JsonRepresentation
348
+ property :admin, as: 'admin'
349
+ collection :authorized_networks, as: 'authorizedNetworks'
350
+ property :create_time, as: 'createTime'
351
+ property :fqdn, as: 'fqdn'
352
+ hash :labels, as: 'labels'
353
+ collection :locations, as: 'locations'
354
+ property :name, as: 'name'
355
+ property :reserved_ip_range, as: 'reservedIpRange'
356
+ property :state, as: 'state'
357
+ property :status_message, as: 'statusMessage'
358
+ collection :trusts, as: 'trusts', class: Google::Apis::ManagedidentitiesV1::TrustProp, decorator: Google::Apis::ManagedidentitiesV1::TrustProp::Representation
359
+
360
+ property :update_time, as: 'updateTime'
361
+ end
362
+ end
363
+
364
+ class Empty
365
+ # @private
366
+ class Representation < Google::Apis::Core::JsonRepresentation
367
+ end
368
+ end
369
+
370
+ class Expr
371
+ # @private
372
+ class Representation < Google::Apis::Core::JsonRepresentation
373
+ property :description, as: 'description'
374
+ property :expression, as: 'expression'
375
+ property :location, as: 'location'
376
+ property :title, as: 'title'
377
+ end
378
+ end
379
+
380
+ class GoogleCloudManagedidentitiesV1OpMetadata
381
+ # @private
382
+ class Representation < Google::Apis::Core::JsonRepresentation
383
+ property :api_version, as: 'apiVersion'
384
+ property :create_time, as: 'createTime'
385
+ property :end_time, as: 'endTime'
386
+ property :requested_cancellation, as: 'requestedCancellation'
387
+ property :target, as: 'target'
388
+ property :verb, as: 'verb'
389
+ end
390
+ end
391
+
392
+ class GoogleCloudManagedidentitiesV1alpha1OpMetadata
393
+ # @private
394
+ class Representation < Google::Apis::Core::JsonRepresentation
395
+ property :api_version, as: 'apiVersion'
396
+ property :create_time, as: 'createTime'
397
+ property :end_time, as: 'endTime'
398
+ property :requested_cancellation, as: 'requestedCancellation'
399
+ property :target, as: 'target'
400
+ property :verb, as: 'verb'
401
+ end
402
+ end
403
+
404
+ class GoogleCloudManagedidentitiesV1beta1OpMetadata
405
+ # @private
406
+ class Representation < Google::Apis::Core::JsonRepresentation
407
+ property :api_version, as: 'apiVersion'
408
+ property :create_time, as: 'createTime'
409
+ property :end_time, as: 'endTime'
410
+ property :requested_cancellation, as: 'requestedCancellation'
411
+ property :target, as: 'target'
412
+ property :verb, as: 'verb'
413
+ end
414
+ end
415
+
416
+ class GoogleCloudSaasacceleratorManagementProvidersV1Instance
417
+ # @private
418
+ class Representation < Google::Apis::Core::JsonRepresentation
419
+ property :consumer_defined_name, as: 'consumerDefinedName'
420
+ property :create_time, as: 'createTime'
421
+ hash :labels, as: 'labels'
422
+ hash :maintenance_policy_names, as: 'maintenancePolicyNames'
423
+ hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
424
+
425
+ property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
426
+
427
+ property :name, as: 'name'
428
+ hash :producer_metadata, as: 'producerMetadata'
429
+ collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
430
+
431
+ property :slm_instance_template, as: 'slmInstanceTemplate'
432
+ property :slo_metadata, as: 'sloMetadata', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::Representation
433
+
434
+ hash :software_versions, as: 'softwareVersions'
435
+ property :state, as: 'state'
436
+ property :tenant_project_id, as: 'tenantProjectId'
437
+ property :update_time, as: 'updateTime'
438
+ end
439
+ end
440
+
441
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
442
+ # @private
443
+ class Representation < Google::Apis::Core::JsonRepresentation
444
+ property :can_reschedule, as: 'canReschedule'
445
+ property :end_time, as: 'endTime'
446
+ property :rollout_management_policy, as: 'rolloutManagementPolicy'
447
+ property :start_time, as: 'startTime'
448
+ end
449
+ end
450
+
451
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
452
+ # @private
453
+ class Representation < Google::Apis::Core::JsonRepresentation
454
+ property :exclude, as: 'exclude'
455
+ hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::ManagedidentitiesV1::MaintenancePolicy, decorator: Google::Apis::ManagedidentitiesV1::MaintenancePolicy::Representation
456
+
457
+ end
458
+ end
459
+
460
+ class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
461
+ # @private
462
+ class Representation < Google::Apis::Core::JsonRepresentation
463
+ collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
464
+
465
+ property :location, as: 'location'
466
+ property :node_id, as: 'nodeId'
467
+ end
468
+ end
469
+
470
+ class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
471
+ # @private
472
+ class Representation < Google::Apis::Core::JsonRepresentation
473
+ property :resource_type, as: 'resourceType'
474
+ property :resource_url, as: 'resourceUrl'
475
+ end
476
+ end
477
+
478
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
479
+ # @private
480
+ class Representation < Google::Apis::Core::JsonRepresentation
481
+ property :eligible, as: 'eligible'
482
+ property :reason, as: 'reason'
483
+ end
484
+ end
485
+
486
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
487
+ # @private
488
+ class Representation < Google::Apis::Core::JsonRepresentation
489
+ property :duration, as: 'duration'
490
+ property :reason, as: 'reason'
491
+ property :sli_name, as: 'sliName'
492
+ property :start_time, as: 'startTime'
493
+ end
494
+ end
495
+
496
+ class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
497
+ # @private
498
+ class Representation < Google::Apis::Core::JsonRepresentation
499
+ property :eligibility, as: 'eligibility', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
500
+
501
+ collection :exclusions, as: 'exclusions', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
502
+
503
+ collection :nodes, as: 'nodes', class: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
504
+
505
+ property :tier, as: 'tier'
506
+ end
507
+ end
508
+
509
+ class ListDomainsResponse
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ collection :domains, as: 'domains', class: Google::Apis::ManagedidentitiesV1::Domain, decorator: Google::Apis::ManagedidentitiesV1::Domain::Representation
513
+
514
+ property :next_page_token, as: 'nextPageToken'
515
+ collection :unreachable, as: 'unreachable'
516
+ end
517
+ end
518
+
519
+ class ListLocationsResponse
520
+ # @private
521
+ class Representation < Google::Apis::Core::JsonRepresentation
522
+ collection :locations, as: 'locations', class: Google::Apis::ManagedidentitiesV1::Location, decorator: Google::Apis::ManagedidentitiesV1::Location::Representation
523
+
524
+ property :next_page_token, as: 'nextPageToken'
525
+ end
526
+ end
527
+
528
+ class ListOperationsResponse
529
+ # @private
530
+ class Representation < Google::Apis::Core::JsonRepresentation
531
+ property :next_page_token, as: 'nextPageToken'
532
+ collection :operations, as: 'operations', class: Google::Apis::ManagedidentitiesV1::Operation, decorator: Google::Apis::ManagedidentitiesV1::Operation::Representation
533
+
534
+ end
535
+ end
536
+
537
+ class Location
538
+ # @private
539
+ class Representation < Google::Apis::Core::JsonRepresentation
540
+ property :display_name, as: 'displayName'
541
+ hash :labels, as: 'labels'
542
+ property :location_id, as: 'locationId'
543
+ hash :metadata, as: 'metadata'
544
+ property :name, as: 'name'
545
+ end
546
+ end
547
+
548
+ class MaintenancePolicy
549
+ # @private
550
+ class Representation < Google::Apis::Core::JsonRepresentation
551
+ property :create_time, as: 'createTime'
552
+ property :description, as: 'description'
553
+ hash :labels, as: 'labels'
554
+ property :name, as: 'name'
555
+ property :state, as: 'state'
556
+ property :update_policy, as: 'updatePolicy', class: Google::Apis::ManagedidentitiesV1::UpdatePolicy, decorator: Google::Apis::ManagedidentitiesV1::UpdatePolicy::Representation
557
+
558
+ property :update_time, as: 'updateTime'
559
+ end
560
+ end
561
+
562
+ class MaintenanceWindow
563
+ # @private
564
+ class Representation < Google::Apis::Core::JsonRepresentation
565
+ property :daily_cycle, as: 'dailyCycle', class: Google::Apis::ManagedidentitiesV1::DailyCycle, decorator: Google::Apis::ManagedidentitiesV1::DailyCycle::Representation
566
+
567
+ property :weekly_cycle, as: 'weeklyCycle', class: Google::Apis::ManagedidentitiesV1::WeeklyCycle, decorator: Google::Apis::ManagedidentitiesV1::WeeklyCycle::Representation
568
+
569
+ end
570
+ end
571
+
572
+ class Operation
573
+ # @private
574
+ class Representation < Google::Apis::Core::JsonRepresentation
575
+ property :done, as: 'done'
576
+ property :error, as: 'error', class: Google::Apis::ManagedidentitiesV1::Status, decorator: Google::Apis::ManagedidentitiesV1::Status::Representation
577
+
578
+ hash :metadata, as: 'metadata'
579
+ property :name, as: 'name'
580
+ hash :response, as: 'response'
581
+ end
582
+ end
583
+
584
+ class OperationMetadata
585
+ # @private
586
+ class Representation < Google::Apis::Core::JsonRepresentation
587
+ property :api_version, as: 'apiVersion'
588
+ property :cancel_requested, as: 'cancelRequested'
589
+ property :create_time, as: 'createTime'
590
+ property :end_time, as: 'endTime'
591
+ property :status_detail, as: 'statusDetail'
592
+ property :target, as: 'target'
593
+ property :verb, as: 'verb'
594
+ end
595
+ end
596
+
597
+ class Policy
598
+ # @private
599
+ class Representation < Google::Apis::Core::JsonRepresentation
600
+ collection :bindings, as: 'bindings', class: Google::Apis::ManagedidentitiesV1::Binding, decorator: Google::Apis::ManagedidentitiesV1::Binding::Representation
601
+
602
+ property :etag, :base64 => true, as: 'etag'
603
+ property :version, as: 'version'
604
+ end
605
+ end
606
+
607
+ class ReconfigureTrustRequest
608
+ # @private
609
+ class Representation < Google::Apis::Core::JsonRepresentation
610
+ collection :target_dns_ip_addresses, as: 'targetDnsIpAddresses'
611
+ property :target_domain_name, as: 'targetDomainName'
612
+ end
613
+ end
614
+
615
+ class ResetAdminPasswordRequest
616
+ # @private
617
+ class Representation < Google::Apis::Core::JsonRepresentation
618
+ end
619
+ end
620
+
621
+ class ResetAdminPasswordResponse
622
+ # @private
623
+ class Representation < Google::Apis::Core::JsonRepresentation
624
+ property :password, as: 'password'
625
+ end
626
+ end
627
+
628
+ class Schedule
629
+ # @private
630
+ class Representation < Google::Apis::Core::JsonRepresentation
631
+ property :day, as: 'day'
632
+ property :duration, as: 'duration'
633
+ property :start_time, as: 'startTime', class: Google::Apis::ManagedidentitiesV1::TimeOfDay, decorator: Google::Apis::ManagedidentitiesV1::TimeOfDay::Representation
634
+
635
+ end
636
+ end
637
+
638
+ class SetIamPolicyRequest
639
+ # @private
640
+ class Representation < Google::Apis::Core::JsonRepresentation
641
+ property :policy, as: 'policy', class: Google::Apis::ManagedidentitiesV1::Policy, decorator: Google::Apis::ManagedidentitiesV1::Policy::Representation
642
+
643
+ end
644
+ end
645
+
646
+ class Status
647
+ # @private
648
+ class Representation < Google::Apis::Core::JsonRepresentation
649
+ property :code, as: 'code'
650
+ collection :details, as: 'details'
651
+ property :message, as: 'message'
652
+ end
653
+ end
654
+
655
+ class TestIamPermissionsRequest
656
+ # @private
657
+ class Representation < Google::Apis::Core::JsonRepresentation
658
+ collection :permissions, as: 'permissions'
659
+ end
660
+ end
661
+
662
+ class TestIamPermissionsResponse
663
+ # @private
664
+ class Representation < Google::Apis::Core::JsonRepresentation
665
+ collection :permissions, as: 'permissions'
666
+ end
667
+ end
668
+
669
+ class TimeOfDay
670
+ # @private
671
+ class Representation < Google::Apis::Core::JsonRepresentation
672
+ property :hours, as: 'hours'
673
+ property :minutes, as: 'minutes'
674
+ property :nanos, as: 'nanos'
675
+ property :seconds, as: 'seconds'
676
+ end
677
+ end
678
+
679
+ class TrustProp
680
+ # @private
681
+ class Representation < Google::Apis::Core::JsonRepresentation
682
+ property :create_time, as: 'createTime'
683
+ property :last_trust_heartbeat_time, as: 'lastTrustHeartbeatTime'
684
+ property :selective_authentication, as: 'selectiveAuthentication'
685
+ property :state, as: 'state'
686
+ property :state_description, as: 'stateDescription'
687
+ collection :target_dns_ip_addresses, as: 'targetDnsIpAddresses'
688
+ property :target_domain_name, as: 'targetDomainName'
689
+ property :trust_direction, as: 'trustDirection'
690
+ property :trust_handshake_secret, as: 'trustHandshakeSecret'
691
+ property :trust_type, as: 'trustType'
692
+ property :update_time, as: 'updateTime'
693
+ end
694
+ end
695
+
696
+ class UpdatePolicy
697
+ # @private
698
+ class Representation < Google::Apis::Core::JsonRepresentation
699
+ property :channel, as: 'channel'
700
+ collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::ManagedidentitiesV1::DenyMaintenancePeriod, decorator: Google::Apis::ManagedidentitiesV1::DenyMaintenancePeriod::Representation
701
+
702
+ property :window, as: 'window', class: Google::Apis::ManagedidentitiesV1::MaintenanceWindow, decorator: Google::Apis::ManagedidentitiesV1::MaintenanceWindow::Representation
703
+
704
+ end
705
+ end
706
+
707
+ class ValidateTrustRequest
708
+ # @private
709
+ class Representation < Google::Apis::Core::JsonRepresentation
710
+ property :trust_prop, as: 'trust', class: Google::Apis::ManagedidentitiesV1::TrustProp, decorator: Google::Apis::ManagedidentitiesV1::TrustProp::Representation
711
+
712
+ end
713
+ end
714
+
715
+ class WeeklyCycle
716
+ # @private
717
+ class Representation < Google::Apis::Core::JsonRepresentation
718
+ collection :schedule, as: 'schedule', class: Google::Apis::ManagedidentitiesV1::Schedule, decorator: Google::Apis::ManagedidentitiesV1::Schedule::Representation
719
+
720
+ end
721
+ end
722
+ end
723
+ end
724
+ end