google-apis-gkehub_v1beta 0.38.0 → 0.40.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.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1beta
18
18
  # Version of the google-apis-gkehub_v1beta gem
19
- GEM_VERSION = "0.38.0"
19
+ GEM_VERSION = "0.40.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230119"
25
+ REVISION = "20230219"
26
26
  end
27
27
  end
28
28
  end
@@ -214,6 +214,12 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class ConfigManagementPolicyControllerMigration
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class ConfigManagementPolicyControllerMonitoring
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -352,18 +358,54 @@ module Google
352
358
  include Google::Apis::Core::JsonObjectSupport
353
359
  end
354
360
 
361
+ class ListMembershipBindingsResponse
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class ListNamespacesResponse
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
355
373
  class ListOperationsResponse
356
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
375
 
358
376
  include Google::Apis::Core::JsonObjectSupport
359
377
  end
360
378
 
379
+ class ListRbacRoleBindingsResponse
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class ListScopesResponse
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
361
391
  class Location
362
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
393
 
364
394
  include Google::Apis::Core::JsonObjectSupport
365
395
  end
366
396
 
397
+ class MembershipBinding
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
403
+ class MembershipBindingLifecycleState
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
367
409
  class MembershipFeatureSpec
368
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
411
 
@@ -394,6 +436,18 @@ module Google
394
436
  include Google::Apis::Core::JsonObjectSupport
395
437
  end
396
438
 
439
+ class Namespace
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class NamespaceLifecycleState
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
397
451
  class Operation
398
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
453
 
@@ -454,12 +508,60 @@ module Google
454
508
  include Google::Apis::Core::JsonObjectSupport
455
509
  end
456
510
 
511
+ class PolicyControllerPolicyControllerDeploymentConfig
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
517
+ class PolicyControllerResourceList
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
523
+ class PolicyControllerResourceRequirements
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
457
529
  class PolicyControllerTemplateLibraryConfig
458
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
531
 
460
532
  include Google::Apis::Core::JsonObjectSupport
461
533
  end
462
534
 
535
+ class PolicyControllerToleration
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
541
+ class RbacRoleBinding
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
547
+ class RbacRoleBindingLifecycleState
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
553
+ class Role
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
559
+ class Scope
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
463
565
  class ScopeFeatureSpec
464
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
465
567
 
@@ -472,6 +574,12 @@ module Google
472
574
  include Google::Apis::Core::JsonObjectSupport
473
575
  end
474
576
 
577
+ class ScopeLifecycleState
578
+ class Representation < Google::Apis::Core::JsonRepresentation; end
579
+
580
+ include Google::Apis::Core::JsonObjectSupport
581
+ end
582
+
475
583
  class ServiceMeshControlPlaneManagement
476
584
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
585
 
@@ -854,6 +962,13 @@ module Google
854
962
  end
855
963
  end
856
964
 
965
+ class ConfigManagementPolicyControllerMigration
966
+ # @private
967
+ class Representation < Google::Apis::Core::JsonRepresentation
968
+ property :stage, as: 'stage'
969
+ end
970
+ end
971
+
857
972
  class ConfigManagementPolicyControllerMonitoring
858
973
  # @private
859
974
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -866,6 +981,8 @@ module Google
866
981
  class Representation < Google::Apis::Core::JsonRepresentation
867
982
  property :deployment_state, as: 'deploymentState', class: Google::Apis::GkehubV1beta::ConfigManagementGatekeeperDeploymentState, decorator: Google::Apis::GkehubV1beta::ConfigManagementGatekeeperDeploymentState::Representation
868
983
 
984
+ property :migration, as: 'migration', class: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerMigration, decorator: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerMigration::Representation
985
+
869
986
  property :version, as: 'version', class: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerVersion, decorator: Google::Apis::GkehubV1beta::ConfigManagementPolicyControllerVersion::Representation
870
987
 
871
988
  end
@@ -1083,6 +1200,24 @@ module Google
1083
1200
  end
1084
1201
  end
1085
1202
 
1203
+ class ListMembershipBindingsResponse
1204
+ # @private
1205
+ class Representation < Google::Apis::Core::JsonRepresentation
1206
+ collection :membership_bindings, as: 'membershipBindings', class: Google::Apis::GkehubV1beta::MembershipBinding, decorator: Google::Apis::GkehubV1beta::MembershipBinding::Representation
1207
+
1208
+ property :next_page_token, as: 'nextPageToken'
1209
+ end
1210
+ end
1211
+
1212
+ class ListNamespacesResponse
1213
+ # @private
1214
+ class Representation < Google::Apis::Core::JsonRepresentation
1215
+ collection :namespaces, as: 'namespaces', class: Google::Apis::GkehubV1beta::Namespace, decorator: Google::Apis::GkehubV1beta::Namespace::Representation
1216
+
1217
+ property :next_page_token, as: 'nextPageToken'
1218
+ end
1219
+ end
1220
+
1086
1221
  class ListOperationsResponse
1087
1222
  # @private
1088
1223
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1092,6 +1227,24 @@ module Google
1092
1227
  end
1093
1228
  end
1094
1229
 
1230
+ class ListRbacRoleBindingsResponse
1231
+ # @private
1232
+ class Representation < Google::Apis::Core::JsonRepresentation
1233
+ property :next_page_token, as: 'nextPageToken'
1234
+ collection :rbacrolebindings, as: 'rbacrolebindings', class: Google::Apis::GkehubV1beta::RbacRoleBinding, decorator: Google::Apis::GkehubV1beta::RbacRoleBinding::Representation
1235
+
1236
+ end
1237
+ end
1238
+
1239
+ class ListScopesResponse
1240
+ # @private
1241
+ class Representation < Google::Apis::Core::JsonRepresentation
1242
+ property :next_page_token, as: 'nextPageToken'
1243
+ collection :scopes, as: 'scopes', class: Google::Apis::GkehubV1beta::Scope, decorator: Google::Apis::GkehubV1beta::Scope::Representation
1244
+
1245
+ end
1246
+ end
1247
+
1095
1248
  class Location
1096
1249
  # @private
1097
1250
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1103,6 +1256,28 @@ module Google
1103
1256
  end
1104
1257
  end
1105
1258
 
1259
+ class MembershipBinding
1260
+ # @private
1261
+ class Representation < Google::Apis::Core::JsonRepresentation
1262
+ property :create_time, as: 'createTime'
1263
+ property :delete_time, as: 'deleteTime'
1264
+ property :fleet, as: 'fleet'
1265
+ property :name, as: 'name'
1266
+ property :scope, as: 'scope'
1267
+ property :state, as: 'state', class: Google::Apis::GkehubV1beta::MembershipBindingLifecycleState, decorator: Google::Apis::GkehubV1beta::MembershipBindingLifecycleState::Representation
1268
+
1269
+ property :uid, as: 'uid'
1270
+ property :update_time, as: 'updateTime'
1271
+ end
1272
+ end
1273
+
1274
+ class MembershipBindingLifecycleState
1275
+ # @private
1276
+ class Representation < Google::Apis::Core::JsonRepresentation
1277
+ property :code, as: 'code'
1278
+ end
1279
+ end
1280
+
1106
1281
  class MembershipFeatureSpec
1107
1282
  # @private
1108
1283
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1170,6 +1345,27 @@ module Google
1170
1345
  end
1171
1346
  end
1172
1347
 
1348
+ class Namespace
1349
+ # @private
1350
+ class Representation < Google::Apis::Core::JsonRepresentation
1351
+ property :create_time, as: 'createTime'
1352
+ property :delete_time, as: 'deleteTime'
1353
+ property :name, as: 'name'
1354
+ property :scope, as: 'scope'
1355
+ property :state, as: 'state', class: Google::Apis::GkehubV1beta::NamespaceLifecycleState, decorator: Google::Apis::GkehubV1beta::NamespaceLifecycleState::Representation
1356
+
1357
+ property :uid, as: 'uid'
1358
+ property :update_time, as: 'updateTime'
1359
+ end
1360
+ end
1361
+
1362
+ class NamespaceLifecycleState
1363
+ # @private
1364
+ class Representation < Google::Apis::Core::JsonRepresentation
1365
+ property :code, as: 'code'
1366
+ end
1367
+ end
1368
+
1173
1369
  class Operation
1174
1370
  # @private
1175
1371
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1219,6 +1415,9 @@ module Google
1219
1415
  # @private
1220
1416
  class Representation < Google::Apis::Core::JsonRepresentation
1221
1417
  property :audit_interval_seconds, :numeric_string => true, as: 'auditIntervalSeconds'
1418
+ property :constraint_violation_limit, :numeric_string => true, as: 'constraintViolationLimit'
1419
+ hash :deployment_configs, as: 'deploymentConfigs', class: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerDeploymentConfig, decorator: Google::Apis::GkehubV1beta::PolicyControllerPolicyControllerDeploymentConfig::Representation
1420
+
1222
1421
  collection :exemptable_namespaces, as: 'exemptableNamespaces'
1223
1422
  property :install_spec, as: 'installSpec'
1224
1423
  property :log_denies_enabled, as: 'logDeniesEnabled'
@@ -1276,6 +1475,36 @@ module Google
1276
1475
  end
1277
1476
  end
1278
1477
 
1478
+ class PolicyControllerPolicyControllerDeploymentConfig
1479
+ # @private
1480
+ class Representation < Google::Apis::Core::JsonRepresentation
1481
+ property :container_resources, as: 'containerResources', class: Google::Apis::GkehubV1beta::PolicyControllerResourceRequirements, decorator: Google::Apis::GkehubV1beta::PolicyControllerResourceRequirements::Representation
1482
+
1483
+ property :pod_anti_affinity, as: 'podAntiAffinity'
1484
+ collection :pod_tolerations, as: 'podTolerations', class: Google::Apis::GkehubV1beta::PolicyControllerToleration, decorator: Google::Apis::GkehubV1beta::PolicyControllerToleration::Representation
1485
+
1486
+ property :replica_count, :numeric_string => true, as: 'replicaCount'
1487
+ end
1488
+ end
1489
+
1490
+ class PolicyControllerResourceList
1491
+ # @private
1492
+ class Representation < Google::Apis::Core::JsonRepresentation
1493
+ property :cpu, as: 'cpu'
1494
+ property :memory, as: 'memory'
1495
+ end
1496
+ end
1497
+
1498
+ class PolicyControllerResourceRequirements
1499
+ # @private
1500
+ class Representation < Google::Apis::Core::JsonRepresentation
1501
+ property :limits, as: 'limits', class: Google::Apis::GkehubV1beta::PolicyControllerResourceList, decorator: Google::Apis::GkehubV1beta::PolicyControllerResourceList::Representation
1502
+
1503
+ property :requests, as: 'requests', class: Google::Apis::GkehubV1beta::PolicyControllerResourceList, decorator: Google::Apis::GkehubV1beta::PolicyControllerResourceList::Representation
1504
+
1505
+ end
1506
+ end
1507
+
1279
1508
  class PolicyControllerTemplateLibraryConfig
1280
1509
  # @private
1281
1510
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1283,6 +1512,60 @@ module Google
1283
1512
  end
1284
1513
  end
1285
1514
 
1515
+ class PolicyControllerToleration
1516
+ # @private
1517
+ class Representation < Google::Apis::Core::JsonRepresentation
1518
+ property :effect, as: 'effect'
1519
+ property :key, as: 'key'
1520
+ property :operator, as: 'operator'
1521
+ property :value, as: 'value'
1522
+ end
1523
+ end
1524
+
1525
+ class RbacRoleBinding
1526
+ # @private
1527
+ class Representation < Google::Apis::Core::JsonRepresentation
1528
+ property :create_time, as: 'createTime'
1529
+ property :delete_time, as: 'deleteTime'
1530
+ property :group, as: 'group'
1531
+ property :name, as: 'name'
1532
+ property :role, as: 'role', class: Google::Apis::GkehubV1beta::Role, decorator: Google::Apis::GkehubV1beta::Role::Representation
1533
+
1534
+ property :state, as: 'state', class: Google::Apis::GkehubV1beta::RbacRoleBindingLifecycleState, decorator: Google::Apis::GkehubV1beta::RbacRoleBindingLifecycleState::Representation
1535
+
1536
+ property :uid, as: 'uid'
1537
+ property :update_time, as: 'updateTime'
1538
+ property :user, as: 'user'
1539
+ end
1540
+ end
1541
+
1542
+ class RbacRoleBindingLifecycleState
1543
+ # @private
1544
+ class Representation < Google::Apis::Core::JsonRepresentation
1545
+ property :code, as: 'code'
1546
+ end
1547
+ end
1548
+
1549
+ class Role
1550
+ # @private
1551
+ class Representation < Google::Apis::Core::JsonRepresentation
1552
+ property :predefined_role, as: 'predefinedRole'
1553
+ end
1554
+ end
1555
+
1556
+ class Scope
1557
+ # @private
1558
+ class Representation < Google::Apis::Core::JsonRepresentation
1559
+ property :create_time, as: 'createTime'
1560
+ property :delete_time, as: 'deleteTime'
1561
+ property :name, as: 'name'
1562
+ property :state, as: 'state', class: Google::Apis::GkehubV1beta::ScopeLifecycleState, decorator: Google::Apis::GkehubV1beta::ScopeLifecycleState::Representation
1563
+
1564
+ property :uid, as: 'uid'
1565
+ property :update_time, as: 'updateTime'
1566
+ end
1567
+ end
1568
+
1286
1569
  class ScopeFeatureSpec
1287
1570
  # @private
1288
1571
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1297,6 +1580,13 @@ module Google
1297
1580
  end
1298
1581
  end
1299
1582
 
1583
+ class ScopeLifecycleState
1584
+ # @private
1585
+ class Representation < Google::Apis::Core::JsonRepresentation
1586
+ property :code, as: 'code'
1587
+ end
1588
+ end
1589
+
1300
1590
  class ServiceMeshControlPlaneManagement
1301
1591
  # @private
1302
1592
  class Representation < Google::Apis::Core::JsonRepresentation