google-apis-gkehub_v1alpha 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,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 GkehubV1alpha
18
+ # Version of the google-apis-gkehub_v1alpha gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.2.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20210315"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,912 @@
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 GkehubV1alpha
24
+
25
+ class AuditConfig
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AuditLogConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class Binding
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 CloudAuditLoggingFeatureSpec
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CommonFeatureSpec
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class CommonFeatureState
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ConfigManagementBinauthzConfig
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ConfigManagementBinauthzState
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class ConfigManagementBinauthzVersion
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ConfigManagementConfigSync
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ConfigManagementConfigSyncDeploymentState
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ConfigManagementConfigSyncState
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ConfigManagementConfigSyncVersion
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ConfigManagementErrorResource
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ConfigManagementGatekeeperDeploymentState
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ConfigManagementGitConfig
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ConfigManagementGroupVersionKind
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ConfigManagementHierarchyControllerConfig
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ConfigManagementHierarchyControllerDeploymentState
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ConfigManagementHierarchyControllerState
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class ConfigManagementHierarchyControllerVersion
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class ConfigManagementInstallError
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class ConfigManagementMembershipSpec
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class ConfigManagementMembershipState
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class ConfigManagementOperatorState
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class ConfigManagementPolicyController
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class ConfigManagementPolicyControllerState
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class ConfigManagementPolicyControllerVersion
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class ConfigManagementSyncError
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class ConfigManagementSyncState
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class Empty
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class Expr
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Feature
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class FeatureResourceState
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class FeatureState
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleRpcStatus
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class ListFeaturesResponse
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class ListLocationsResponse
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ListOperationsResponse
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class Location
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class MembershipFeatureSpec
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class MembershipFeatureState
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
283
+ class MeteringMembershipState
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
289
+ class MultiClusterIngressFeatureSpec
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class Operation
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class OperationMetadata
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class Policy
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
313
+ class ServiceMeshAnalysisMessage
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
319
+ class ServiceMeshAnalysisMessageBase
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class ServiceMeshFeatureState
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class ServiceMeshMembershipState
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class ServiceMeshType
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class SetIamPolicyRequest
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class TestIamPermissionsRequest
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class TestIamPermissionsResponse
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class AuditConfig
362
+ # @private
363
+ class Representation < Google::Apis::Core::JsonRepresentation
364
+ collection :audit_log_configs, as: 'auditLogConfigs', class: Google::Apis::GkehubV1alpha::AuditLogConfig, decorator: Google::Apis::GkehubV1alpha::AuditLogConfig::Representation
365
+
366
+ property :service, as: 'service'
367
+ end
368
+ end
369
+
370
+ class AuditLogConfig
371
+ # @private
372
+ class Representation < Google::Apis::Core::JsonRepresentation
373
+ collection :exempted_members, as: 'exemptedMembers'
374
+ property :log_type, as: 'logType'
375
+ end
376
+ end
377
+
378
+ class Binding
379
+ # @private
380
+ class Representation < Google::Apis::Core::JsonRepresentation
381
+ property :condition, as: 'condition', class: Google::Apis::GkehubV1alpha::Expr, decorator: Google::Apis::GkehubV1alpha::Expr::Representation
382
+
383
+ collection :members, as: 'members'
384
+ property :role, as: 'role'
385
+ end
386
+ end
387
+
388
+ class CancelOperationRequest
389
+ # @private
390
+ class Representation < Google::Apis::Core::JsonRepresentation
391
+ end
392
+ end
393
+
394
+ class CloudAuditLoggingFeatureSpec
395
+ # @private
396
+ class Representation < Google::Apis::Core::JsonRepresentation
397
+ collection :allowlisted_service_accounts, as: 'allowlistedServiceAccounts'
398
+ end
399
+ end
400
+
401
+ class CommonFeatureSpec
402
+ # @private
403
+ class Representation < Google::Apis::Core::JsonRepresentation
404
+ property :cloudauditlogging, as: 'cloudauditlogging', class: Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec, decorator: Google::Apis::GkehubV1alpha::CloudAuditLoggingFeatureSpec::Representation
405
+
406
+ property :multiclusteringress, as: 'multiclusteringress', class: Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec, decorator: Google::Apis::GkehubV1alpha::MultiClusterIngressFeatureSpec::Representation
407
+
408
+ end
409
+ end
410
+
411
+ class CommonFeatureState
412
+ # @private
413
+ class Representation < Google::Apis::Core::JsonRepresentation
414
+ property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshFeatureState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshFeatureState::Representation
415
+
416
+ property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FeatureState, decorator: Google::Apis::GkehubV1alpha::FeatureState::Representation
417
+
418
+ end
419
+ end
420
+
421
+ class ConfigManagementBinauthzConfig
422
+ # @private
423
+ class Representation < Google::Apis::Core::JsonRepresentation
424
+ property :enabled, as: 'enabled'
425
+ end
426
+ end
427
+
428
+ class ConfigManagementBinauthzState
429
+ # @private
430
+ class Representation < Google::Apis::Core::JsonRepresentation
431
+ property :version, as: 'version', class: Google::Apis::GkehubV1alpha::ConfigManagementBinauthzVersion, decorator: Google::Apis::GkehubV1alpha::ConfigManagementBinauthzVersion::Representation
432
+
433
+ property :webhook, as: 'webhook'
434
+ end
435
+ end
436
+
437
+ class ConfigManagementBinauthzVersion
438
+ # @private
439
+ class Representation < Google::Apis::Core::JsonRepresentation
440
+ property :webhook_version, as: 'webhookVersion'
441
+ end
442
+ end
443
+
444
+ class ConfigManagementConfigSync
445
+ # @private
446
+ class Representation < Google::Apis::Core::JsonRepresentation
447
+ property :git, as: 'git', class: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGitConfig::Representation
448
+
449
+ property :source_format, as: 'sourceFormat'
450
+ end
451
+ end
452
+
453
+ class ConfigManagementConfigSyncDeploymentState
454
+ # @private
455
+ class Representation < Google::Apis::Core::JsonRepresentation
456
+ property :git_sync, as: 'gitSync'
457
+ property :importer, as: 'importer'
458
+ property :monitor, as: 'monitor'
459
+ property :reconciler_manager, as: 'reconcilerManager'
460
+ property :root_reconciler, as: 'rootReconciler'
461
+ property :syncer, as: 'syncer'
462
+ end
463
+ end
464
+
465
+ class ConfigManagementConfigSyncState
466
+ # @private
467
+ class Representation < Google::Apis::Core::JsonRepresentation
468
+ property :deployment_state, as: 'deploymentState', class: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncDeploymentState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncDeploymentState::Representation
469
+
470
+ property :sync_state, as: 'syncState', class: Google::Apis::GkehubV1alpha::ConfigManagementSyncState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementSyncState::Representation
471
+
472
+ property :version, as: 'version', class: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncVersion, decorator: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncVersion::Representation
473
+
474
+ end
475
+ end
476
+
477
+ class ConfigManagementConfigSyncVersion
478
+ # @private
479
+ class Representation < Google::Apis::Core::JsonRepresentation
480
+ property :git_sync, as: 'gitSync'
481
+ property :importer, as: 'importer'
482
+ property :monitor, as: 'monitor'
483
+ property :reconciler_manager, as: 'reconcilerManager'
484
+ property :root_reconciler, as: 'rootReconciler'
485
+ property :syncer, as: 'syncer'
486
+ end
487
+ end
488
+
489
+ class ConfigManagementErrorResource
490
+ # @private
491
+ class Representation < Google::Apis::Core::JsonRepresentation
492
+ property :resource_gvk, as: 'resourceGvk', class: Google::Apis::GkehubV1alpha::ConfigManagementGroupVersionKind, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGroupVersionKind::Representation
493
+
494
+ property :resource_name, as: 'resourceName'
495
+ property :resource_namespace, as: 'resourceNamespace'
496
+ property :source_path, as: 'sourcePath'
497
+ end
498
+ end
499
+
500
+ class ConfigManagementGatekeeperDeploymentState
501
+ # @private
502
+ class Representation < Google::Apis::Core::JsonRepresentation
503
+ property :gatekeeper_audit, as: 'gatekeeperAudit'
504
+ property :gatekeeper_controller_manager_state, as: 'gatekeeperControllerManagerState'
505
+ end
506
+ end
507
+
508
+ class ConfigManagementGitConfig
509
+ # @private
510
+ class Representation < Google::Apis::Core::JsonRepresentation
511
+ property :https_proxy, as: 'httpsProxy'
512
+ property :policy_dir, as: 'policyDir'
513
+ property :secret_type, as: 'secretType'
514
+ property :sync_branch, as: 'syncBranch'
515
+ property :sync_repo, as: 'syncRepo'
516
+ property :sync_rev, as: 'syncRev'
517
+ property :sync_wait_secs, :numeric_string => true, as: 'syncWaitSecs'
518
+ end
519
+ end
520
+
521
+ class ConfigManagementGroupVersionKind
522
+ # @private
523
+ class Representation < Google::Apis::Core::JsonRepresentation
524
+ property :group, as: 'group'
525
+ property :kind, as: 'kind'
526
+ property :version, as: 'version'
527
+ end
528
+ end
529
+
530
+ class ConfigManagementHierarchyControllerConfig
531
+ # @private
532
+ class Representation < Google::Apis::Core::JsonRepresentation
533
+ property :enable_hierarchical_resource_quota, as: 'enableHierarchicalResourceQuota'
534
+ property :enable_pod_tree_labels, as: 'enablePodTreeLabels'
535
+ property :enabled, as: 'enabled'
536
+ end
537
+ end
538
+
539
+ class ConfigManagementHierarchyControllerDeploymentState
540
+ # @private
541
+ class Representation < Google::Apis::Core::JsonRepresentation
542
+ property :extension, as: 'extension'
543
+ property :hnc, as: 'hnc'
544
+ end
545
+ end
546
+
547
+ class ConfigManagementHierarchyControllerState
548
+ # @private
549
+ class Representation < Google::Apis::Core::JsonRepresentation
550
+ property :state, as: 'state', class: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerDeploymentState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerDeploymentState::Representation
551
+
552
+ property :version, as: 'version', class: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerVersion, decorator: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerVersion::Representation
553
+
554
+ end
555
+ end
556
+
557
+ class ConfigManagementHierarchyControllerVersion
558
+ # @private
559
+ class Representation < Google::Apis::Core::JsonRepresentation
560
+ property :extension, as: 'extension'
561
+ property :hnc, as: 'hnc'
562
+ end
563
+ end
564
+
565
+ class ConfigManagementInstallError
566
+ # @private
567
+ class Representation < Google::Apis::Core::JsonRepresentation
568
+ property :error_message, as: 'errorMessage'
569
+ end
570
+ end
571
+
572
+ class ConfigManagementMembershipSpec
573
+ # @private
574
+ class Representation < Google::Apis::Core::JsonRepresentation
575
+ property :binauthz, as: 'binauthz', class: Google::Apis::GkehubV1alpha::ConfigManagementBinauthzConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementBinauthzConfig::Representation
576
+
577
+ property :config_sync, as: 'configSync', class: Google::Apis::GkehubV1alpha::ConfigManagementConfigSync, decorator: Google::Apis::GkehubV1alpha::ConfigManagementConfigSync::Representation
578
+
579
+ property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerConfig::Representation
580
+
581
+ property :policy_controller, as: 'policyController', class: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController, decorator: Google::Apis::GkehubV1alpha::ConfigManagementPolicyController::Representation
582
+
583
+ property :version, as: 'version'
584
+ end
585
+ end
586
+
587
+ class ConfigManagementMembershipState
588
+ # @private
589
+ class Representation < Google::Apis::Core::JsonRepresentation
590
+ property :binauthz_state, as: 'binauthzState', class: Google::Apis::GkehubV1alpha::ConfigManagementBinauthzState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementBinauthzState::Representation
591
+
592
+ property :cluster_name, as: 'clusterName'
593
+ property :config_sync_state, as: 'configSyncState', class: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementConfigSyncState::Representation
594
+
595
+ property :hierarchy_controller_state, as: 'hierarchyControllerState', class: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerState::Representation
596
+
597
+ property :membership_spec, as: 'membershipSpec', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec::Representation
598
+
599
+ property :operator_state, as: 'operatorState', class: Google::Apis::GkehubV1alpha::ConfigManagementOperatorState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementOperatorState::Representation
600
+
601
+ property :policy_controller_state, as: 'policyControllerState', class: Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerState::Representation
602
+
603
+ end
604
+ end
605
+
606
+ class ConfigManagementOperatorState
607
+ # @private
608
+ class Representation < Google::Apis::Core::JsonRepresentation
609
+ property :deployment_state, as: 'deploymentState'
610
+ collection :errors, as: 'errors', class: Google::Apis::GkehubV1alpha::ConfigManagementInstallError, decorator: Google::Apis::GkehubV1alpha::ConfigManagementInstallError::Representation
611
+
612
+ property :version, as: 'version'
613
+ end
614
+ end
615
+
616
+ class ConfigManagementPolicyController
617
+ # @private
618
+ class Representation < Google::Apis::Core::JsonRepresentation
619
+ property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
620
+ property :enabled, as: 'enabled'
621
+ collection :exemptable_namespaces, as: 'exemptableNamespaces'
622
+ property :log_denies_enabled, as: 'logDeniesEnabled'
623
+ property :referential_rules_enabled, as: 'referentialRulesEnabled'
624
+ property :template_library_installed, as: 'templateLibraryInstalled'
625
+ end
626
+ end
627
+
628
+ class ConfigManagementPolicyControllerState
629
+ # @private
630
+ class Representation < Google::Apis::Core::JsonRepresentation
631
+ property :deployment_state, as: 'deploymentState', class: Google::Apis::GkehubV1alpha::ConfigManagementGatekeeperDeploymentState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementGatekeeperDeploymentState::Representation
632
+
633
+ property :version, as: 'version', class: Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerVersion, decorator: Google::Apis::GkehubV1alpha::ConfigManagementPolicyControllerVersion::Representation
634
+
635
+ end
636
+ end
637
+
638
+ class ConfigManagementPolicyControllerVersion
639
+ # @private
640
+ class Representation < Google::Apis::Core::JsonRepresentation
641
+ property :version, as: 'version'
642
+ end
643
+ end
644
+
645
+ class ConfigManagementSyncError
646
+ # @private
647
+ class Representation < Google::Apis::Core::JsonRepresentation
648
+ property :code, as: 'code'
649
+ property :error_message, as: 'errorMessage'
650
+ collection :error_resources, as: 'errorResources', class: Google::Apis::GkehubV1alpha::ConfigManagementErrorResource, decorator: Google::Apis::GkehubV1alpha::ConfigManagementErrorResource::Representation
651
+
652
+ end
653
+ end
654
+
655
+ class ConfigManagementSyncState
656
+ # @private
657
+ class Representation < Google::Apis::Core::JsonRepresentation
658
+ property :code, as: 'code'
659
+ collection :errors, as: 'errors', class: Google::Apis::GkehubV1alpha::ConfigManagementSyncError, decorator: Google::Apis::GkehubV1alpha::ConfigManagementSyncError::Representation
660
+
661
+ property :import_token, as: 'importToken'
662
+ property :last_sync, as: 'lastSync'
663
+ property :last_sync_time, as: 'lastSyncTime'
664
+ property :source_token, as: 'sourceToken'
665
+ property :sync_token, as: 'syncToken'
666
+ end
667
+ end
668
+
669
+ class Empty
670
+ # @private
671
+ class Representation < Google::Apis::Core::JsonRepresentation
672
+ end
673
+ end
674
+
675
+ class Expr
676
+ # @private
677
+ class Representation < Google::Apis::Core::JsonRepresentation
678
+ property :description, as: 'description'
679
+ property :expression, as: 'expression'
680
+ property :location, as: 'location'
681
+ property :title, as: 'title'
682
+ end
683
+ end
684
+
685
+ class Feature
686
+ # @private
687
+ class Representation < Google::Apis::Core::JsonRepresentation
688
+ property :create_time, as: 'createTime'
689
+ property :delete_time, as: 'deleteTime'
690
+ hash :labels, as: 'labels'
691
+ hash :membership_specs, as: 'membershipSpecs', class: Google::Apis::GkehubV1alpha::MembershipFeatureSpec, decorator: Google::Apis::GkehubV1alpha::MembershipFeatureSpec::Representation
692
+
693
+ hash :membership_states, as: 'membershipStates', class: Google::Apis::GkehubV1alpha::MembershipFeatureState, decorator: Google::Apis::GkehubV1alpha::MembershipFeatureState::Representation
694
+
695
+ property :name, as: 'name'
696
+ property :resource_state, as: 'resourceState', class: Google::Apis::GkehubV1alpha::FeatureResourceState, decorator: Google::Apis::GkehubV1alpha::FeatureResourceState::Representation
697
+
698
+ property :spec, as: 'spec', class: Google::Apis::GkehubV1alpha::CommonFeatureSpec, decorator: Google::Apis::GkehubV1alpha::CommonFeatureSpec::Representation
699
+
700
+ property :state, as: 'state', class: Google::Apis::GkehubV1alpha::CommonFeatureState, decorator: Google::Apis::GkehubV1alpha::CommonFeatureState::Representation
701
+
702
+ property :update_time, as: 'updateTime'
703
+ end
704
+ end
705
+
706
+ class FeatureResourceState
707
+ # @private
708
+ class Representation < Google::Apis::Core::JsonRepresentation
709
+ property :state, as: 'state'
710
+ end
711
+ end
712
+
713
+ class FeatureState
714
+ # @private
715
+ class Representation < Google::Apis::Core::JsonRepresentation
716
+ property :code, as: 'code'
717
+ property :description, as: 'description'
718
+ property :update_time, as: 'updateTime'
719
+ end
720
+ end
721
+
722
+ class GoogleRpcStatus
723
+ # @private
724
+ class Representation < Google::Apis::Core::JsonRepresentation
725
+ property :code, as: 'code'
726
+ collection :details, as: 'details'
727
+ property :message, as: 'message'
728
+ end
729
+ end
730
+
731
+ class ListFeaturesResponse
732
+ # @private
733
+ class Representation < Google::Apis::Core::JsonRepresentation
734
+ property :next_page_token, as: 'nextPageToken'
735
+ collection :resources, as: 'resources', class: Google::Apis::GkehubV1alpha::Feature, decorator: Google::Apis::GkehubV1alpha::Feature::Representation
736
+
737
+ end
738
+ end
739
+
740
+ class ListLocationsResponse
741
+ # @private
742
+ class Representation < Google::Apis::Core::JsonRepresentation
743
+ collection :locations, as: 'locations', class: Google::Apis::GkehubV1alpha::Location, decorator: Google::Apis::GkehubV1alpha::Location::Representation
744
+
745
+ property :next_page_token, as: 'nextPageToken'
746
+ end
747
+ end
748
+
749
+ class ListOperationsResponse
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :next_page_token, as: 'nextPageToken'
753
+ collection :operations, as: 'operations', class: Google::Apis::GkehubV1alpha::Operation, decorator: Google::Apis::GkehubV1alpha::Operation::Representation
754
+
755
+ end
756
+ end
757
+
758
+ class Location
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ property :display_name, as: 'displayName'
762
+ hash :labels, as: 'labels'
763
+ property :location_id, as: 'locationId'
764
+ hash :metadata, as: 'metadata'
765
+ property :name, as: 'name'
766
+ end
767
+ end
768
+
769
+ class MembershipFeatureSpec
770
+ # @private
771
+ class Representation < Google::Apis::Core::JsonRepresentation
772
+ property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipSpec::Representation
773
+
774
+ end
775
+ end
776
+
777
+ class MembershipFeatureState
778
+ # @private
779
+ class Representation < Google::Apis::Core::JsonRepresentation
780
+ property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1alpha::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1alpha::ConfigManagementMembershipState::Representation
781
+
782
+ property :metering, as: 'metering', class: Google::Apis::GkehubV1alpha::MeteringMembershipState, decorator: Google::Apis::GkehubV1alpha::MeteringMembershipState::Representation
783
+
784
+ property :servicemesh, as: 'servicemesh', class: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState, decorator: Google::Apis::GkehubV1alpha::ServiceMeshMembershipState::Representation
785
+
786
+ property :state, as: 'state', class: Google::Apis::GkehubV1alpha::FeatureState, decorator: Google::Apis::GkehubV1alpha::FeatureState::Representation
787
+
788
+ end
789
+ end
790
+
791
+ class MeteringMembershipState
792
+ # @private
793
+ class Representation < Google::Apis::Core::JsonRepresentation
794
+ property :last_measurement_time, as: 'lastMeasurementTime'
795
+ property :precise_last_measured_cluster_vcpu_capacity, as: 'preciseLastMeasuredClusterVcpuCapacity'
796
+ end
797
+ end
798
+
799
+ class MultiClusterIngressFeatureSpec
800
+ # @private
801
+ class Representation < Google::Apis::Core::JsonRepresentation
802
+ property :config_membership, as: 'configMembership'
803
+ end
804
+ end
805
+
806
+ class Operation
807
+ # @private
808
+ class Representation < Google::Apis::Core::JsonRepresentation
809
+ property :done, as: 'done'
810
+ property :error, as: 'error', class: Google::Apis::GkehubV1alpha::GoogleRpcStatus, decorator: Google::Apis::GkehubV1alpha::GoogleRpcStatus::Representation
811
+
812
+ hash :metadata, as: 'metadata'
813
+ property :name, as: 'name'
814
+ hash :response, as: 'response'
815
+ end
816
+ end
817
+
818
+ class OperationMetadata
819
+ # @private
820
+ class Representation < Google::Apis::Core::JsonRepresentation
821
+ property :api_version, as: 'apiVersion'
822
+ property :cancel_requested, as: 'cancelRequested'
823
+ property :create_time, as: 'createTime'
824
+ property :end_time, as: 'endTime'
825
+ property :status_detail, as: 'statusDetail'
826
+ property :target, as: 'target'
827
+ property :verb, as: 'verb'
828
+ end
829
+ end
830
+
831
+ class Policy
832
+ # @private
833
+ class Representation < Google::Apis::Core::JsonRepresentation
834
+ collection :audit_configs, as: 'auditConfigs', class: Google::Apis::GkehubV1alpha::AuditConfig, decorator: Google::Apis::GkehubV1alpha::AuditConfig::Representation
835
+
836
+ collection :bindings, as: 'bindings', class: Google::Apis::GkehubV1alpha::Binding, decorator: Google::Apis::GkehubV1alpha::Binding::Representation
837
+
838
+ property :etag, :base64 => true, as: 'etag'
839
+ property :version, as: 'version'
840
+ end
841
+ end
842
+
843
+ class ServiceMeshAnalysisMessage
844
+ # @private
845
+ class Representation < Google::Apis::Core::JsonRepresentation
846
+ hash :args, as: 'args'
847
+ property :description, as: 'description'
848
+ property :message_base, as: 'messageBase', class: Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessageBase, decorator: Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessageBase::Representation
849
+
850
+ collection :resource_paths, as: 'resourcePaths'
851
+ end
852
+ end
853
+
854
+ class ServiceMeshAnalysisMessageBase
855
+ # @private
856
+ class Representation < Google::Apis::Core::JsonRepresentation
857
+ property :documentation_url, as: 'documentationUrl'
858
+ property :level, as: 'level'
859
+ property :type, as: 'type', class: Google::Apis::GkehubV1alpha::ServiceMeshType, decorator: Google::Apis::GkehubV1alpha::ServiceMeshType::Representation
860
+
861
+ end
862
+ end
863
+
864
+ class ServiceMeshFeatureState
865
+ # @private
866
+ class Representation < Google::Apis::Core::JsonRepresentation
867
+ collection :analysis_messages, as: 'analysisMessages', class: Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage, decorator: Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage::Representation
868
+
869
+ end
870
+ end
871
+
872
+ class ServiceMeshMembershipState
873
+ # @private
874
+ class Representation < Google::Apis::Core::JsonRepresentation
875
+ collection :analysis_messages, as: 'analysisMessages', class: Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage, decorator: Google::Apis::GkehubV1alpha::ServiceMeshAnalysisMessage::Representation
876
+
877
+ end
878
+ end
879
+
880
+ class ServiceMeshType
881
+ # @private
882
+ class Representation < Google::Apis::Core::JsonRepresentation
883
+ property :code, as: 'code'
884
+ property :display_name, as: 'displayName'
885
+ end
886
+ end
887
+
888
+ class SetIamPolicyRequest
889
+ # @private
890
+ class Representation < Google::Apis::Core::JsonRepresentation
891
+ property :policy, as: 'policy', class: Google::Apis::GkehubV1alpha::Policy, decorator: Google::Apis::GkehubV1alpha::Policy::Representation
892
+
893
+ property :update_mask, as: 'updateMask'
894
+ end
895
+ end
896
+
897
+ class TestIamPermissionsRequest
898
+ # @private
899
+ class Representation < Google::Apis::Core::JsonRepresentation
900
+ collection :permissions, as: 'permissions'
901
+ end
902
+ end
903
+
904
+ class TestIamPermissionsResponse
905
+ # @private
906
+ class Representation < Google::Apis::Core::JsonRepresentation
907
+ collection :permissions, as: 'permissions'
908
+ end
909
+ end
910
+ end
911
+ end
912
+ end