google-apis-gkehub_v1beta 0.63.0 → 0.65.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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f6273c8152b1edd9341c43ad73452446ae3144835ecaa62c4f62e339b1debf7
|
4
|
+
data.tar.gz: fb439fdf860a5ed19006491267db157d79f05106a3f2a07dfb3ad2519a041560
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0ac8aa0f405a9ed0cb6866cf9bb3d8d3b47d22243e1f59c9e69b8a5e6c1c495c9a80651e2b528ecbda2fd86d8dc9d2c829efbee5a365eaee288c24038569c07
|
7
|
+
data.tar.gz: 1128de728a239883a22a453a691ebf5bda01ce98452032736d5321ea12ec893d619cba64f8d1024f902f1051d13093839f1631fa2150d07c281512abdaa87e66
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-gkehub_v1beta
|
2
2
|
|
3
|
+
### v0.65.0 (2023-12-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231201
|
6
|
+
|
7
|
+
### v0.64.0 (2023-11-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231114
|
10
|
+
|
3
11
|
### v0.63.0 (2023-11-12)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231103
|
@@ -254,6 +254,32 @@ module Google
|
|
254
254
|
end
|
255
255
|
end
|
256
256
|
|
257
|
+
# BinaryAuthorizationConfig defines the fleet level configuration of binary
|
258
|
+
# authorization feature.
|
259
|
+
class BinaryAuthorizationConfig
|
260
|
+
include Google::Apis::Core::Hashable
|
261
|
+
|
262
|
+
# Optional. Mode of operation for binauthz policy evaluation.
|
263
|
+
# Corresponds to the JSON property `evaluationMode`
|
264
|
+
# @return [String]
|
265
|
+
attr_accessor :evaluation_mode
|
266
|
+
|
267
|
+
# Optional. Binauthz policies that apply to this cluster.
|
268
|
+
# Corresponds to the JSON property `policyBindings`
|
269
|
+
# @return [Array<Google::Apis::GkehubV1beta::PolicyBinding>]
|
270
|
+
attr_accessor :policy_bindings
|
271
|
+
|
272
|
+
def initialize(**args)
|
273
|
+
update!(**args)
|
274
|
+
end
|
275
|
+
|
276
|
+
# Update properties of this object
|
277
|
+
def update!(**args)
|
278
|
+
@evaluation_mode = args[:evaluation_mode] if args.key?(:evaluation_mode)
|
279
|
+
@policy_bindings = args[:policy_bindings] if args.key?(:policy_bindings)
|
280
|
+
end
|
281
|
+
end
|
282
|
+
|
257
283
|
# Associates `members`, or principals, with a `role`.
|
258
284
|
class Binding
|
259
285
|
include Google::Apis::Core::Hashable
|
@@ -343,6 +369,356 @@ module Google
|
|
343
369
|
end
|
344
370
|
end
|
345
371
|
|
372
|
+
# **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade
|
373
|
+
# feature.
|
374
|
+
class ClusterUpgradeFleetSpec
|
375
|
+
include Google::Apis::Core::Hashable
|
376
|
+
|
377
|
+
# Allow users to override some properties of each GKE upgrade.
|
378
|
+
# Corresponds to the JSON property `gkeUpgradeOverrides`
|
379
|
+
# @return [Array<Google::Apis::GkehubV1beta::ClusterUpgradeGkeUpgradeOverride>]
|
380
|
+
attr_accessor :gke_upgrade_overrides
|
381
|
+
|
382
|
+
# Post conditional checks after an upgrade has been applied on all eligible
|
383
|
+
# clusters.
|
384
|
+
# Corresponds to the JSON property `postConditions`
|
385
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradePostConditions]
|
386
|
+
attr_accessor :post_conditions
|
387
|
+
|
388
|
+
# This fleet consumes upgrades that have COMPLETE status code in the upstream
|
389
|
+
# fleets. See UpgradeStatus.Code for code definitions. The fleet name should be
|
390
|
+
# either fleet project number or id. This is defined as repeated for future
|
391
|
+
# proof reasons. Initial implementation will enforce at most one upstream fleet.
|
392
|
+
# Corresponds to the JSON property `upstreamFleets`
|
393
|
+
# @return [Array<String>]
|
394
|
+
attr_accessor :upstream_fleets
|
395
|
+
|
396
|
+
def initialize(**args)
|
397
|
+
update!(**args)
|
398
|
+
end
|
399
|
+
|
400
|
+
# Update properties of this object
|
401
|
+
def update!(**args)
|
402
|
+
@gke_upgrade_overrides = args[:gke_upgrade_overrides] if args.key?(:gke_upgrade_overrides)
|
403
|
+
@post_conditions = args[:post_conditions] if args.key?(:post_conditions)
|
404
|
+
@upstream_fleets = args[:upstream_fleets] if args.key?(:upstream_fleets)
|
405
|
+
end
|
406
|
+
end
|
407
|
+
|
408
|
+
# **ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature.
|
409
|
+
class ClusterUpgradeFleetState
|
410
|
+
include Google::Apis::Core::Hashable
|
411
|
+
|
412
|
+
# This fleets whose upstream_fleets contain the current fleet. The fleet name
|
413
|
+
# should be either fleet project number or id.
|
414
|
+
# Corresponds to the JSON property `downstreamFleets`
|
415
|
+
# @return [Array<String>]
|
416
|
+
attr_accessor :downstream_fleets
|
417
|
+
|
418
|
+
# GKEUpgradeFeatureState contains feature states for GKE clusters in the scope.
|
419
|
+
# Corresponds to the JSON property `gkeState`
|
420
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradeGkeUpgradeFeatureState]
|
421
|
+
attr_accessor :gke_state
|
422
|
+
|
423
|
+
# A list of memberships ignored by the feature. For example, manually upgraded
|
424
|
+
# clusters can be ignored if they are newer than the default versions of its
|
425
|
+
# release channel. The membership resource is in the format: `projects/`p`/
|
426
|
+
# locations/`l`/membership/`m``.
|
427
|
+
# Corresponds to the JSON property `ignored`
|
428
|
+
# @return [Hash<String,Google::Apis::GkehubV1beta::ClusterUpgradeIgnoredMembership>]
|
429
|
+
attr_accessor :ignored
|
430
|
+
|
431
|
+
def initialize(**args)
|
432
|
+
update!(**args)
|
433
|
+
end
|
434
|
+
|
435
|
+
# Update properties of this object
|
436
|
+
def update!(**args)
|
437
|
+
@downstream_fleets = args[:downstream_fleets] if args.key?(:downstream_fleets)
|
438
|
+
@gke_state = args[:gke_state] if args.key?(:gke_state)
|
439
|
+
@ignored = args[:ignored] if args.key?(:ignored)
|
440
|
+
end
|
441
|
+
end
|
442
|
+
|
443
|
+
# GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
|
444
|
+
class ClusterUpgradeGkeUpgrade
|
445
|
+
include Google::Apis::Core::Hashable
|
446
|
+
|
447
|
+
# Name of the upgrade, e.g., "k8s_control_plane". It should be a valid upgrade
|
448
|
+
# name. It must not exceet 99 characters.
|
449
|
+
# Corresponds to the JSON property `name`
|
450
|
+
# @return [String]
|
451
|
+
attr_accessor :name
|
452
|
+
|
453
|
+
# Version of the upgrade, e.g., "1.22.1-gke.100". It should be a valid version.
|
454
|
+
# It must not exceet 99 characters.
|
455
|
+
# Corresponds to the JSON property `version`
|
456
|
+
# @return [String]
|
457
|
+
attr_accessor :version
|
458
|
+
|
459
|
+
def initialize(**args)
|
460
|
+
update!(**args)
|
461
|
+
end
|
462
|
+
|
463
|
+
# Update properties of this object
|
464
|
+
def update!(**args)
|
465
|
+
@name = args[:name] if args.key?(:name)
|
466
|
+
@version = args[:version] if args.key?(:version)
|
467
|
+
end
|
468
|
+
end
|
469
|
+
|
470
|
+
# GKEUpgradeFeatureCondition describes the condition of the feature for GKE
|
471
|
+
# clusters at a certain point of time.
|
472
|
+
class ClusterUpgradeGkeUpgradeFeatureCondition
|
473
|
+
include Google::Apis::Core::Hashable
|
474
|
+
|
475
|
+
# Reason why the feature is in this status.
|
476
|
+
# Corresponds to the JSON property `reason`
|
477
|
+
# @return [String]
|
478
|
+
attr_accessor :reason
|
479
|
+
|
480
|
+
# Status of the condition, one of True, False, Unknown.
|
481
|
+
# Corresponds to the JSON property `status`
|
482
|
+
# @return [String]
|
483
|
+
attr_accessor :status
|
484
|
+
|
485
|
+
# Type of the condition, for example, "ready".
|
486
|
+
# Corresponds to the JSON property `type`
|
487
|
+
# @return [String]
|
488
|
+
attr_accessor :type
|
489
|
+
|
490
|
+
# Last timestamp the condition was updated.
|
491
|
+
# Corresponds to the JSON property `updateTime`
|
492
|
+
# @return [String]
|
493
|
+
attr_accessor :update_time
|
494
|
+
|
495
|
+
def initialize(**args)
|
496
|
+
update!(**args)
|
497
|
+
end
|
498
|
+
|
499
|
+
# Update properties of this object
|
500
|
+
def update!(**args)
|
501
|
+
@reason = args[:reason] if args.key?(:reason)
|
502
|
+
@status = args[:status] if args.key?(:status)
|
503
|
+
@type = args[:type] if args.key?(:type)
|
504
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
508
|
+
# GKEUpgradeFeatureState contains feature states for GKE clusters in the scope.
|
509
|
+
class ClusterUpgradeGkeUpgradeFeatureState
|
510
|
+
include Google::Apis::Core::Hashable
|
511
|
+
|
512
|
+
# Current conditions of the feature.
|
513
|
+
# Corresponds to the JSON property `conditions`
|
514
|
+
# @return [Array<Google::Apis::GkehubV1beta::ClusterUpgradeGkeUpgradeFeatureCondition>]
|
515
|
+
attr_accessor :conditions
|
516
|
+
|
517
|
+
# Upgrade state. It will eventually replace `state`.
|
518
|
+
# Corresponds to the JSON property `upgradeState`
|
519
|
+
# @return [Array<Google::Apis::GkehubV1beta::ClusterUpgradeGkeUpgradeState>]
|
520
|
+
attr_accessor :upgrade_state
|
521
|
+
|
522
|
+
def initialize(**args)
|
523
|
+
update!(**args)
|
524
|
+
end
|
525
|
+
|
526
|
+
# Update properties of this object
|
527
|
+
def update!(**args)
|
528
|
+
@conditions = args[:conditions] if args.key?(:conditions)
|
529
|
+
@upgrade_state = args[:upgrade_state] if args.key?(:upgrade_state)
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
# Properties of a GKE upgrade that can be overridden by the user. For example, a
|
534
|
+
# user can skip soaking by overriding the soaking to 0.
|
535
|
+
class ClusterUpgradeGkeUpgradeOverride
|
536
|
+
include Google::Apis::Core::Hashable
|
537
|
+
|
538
|
+
# Post conditional checks after an upgrade has been applied on all eligible
|
539
|
+
# clusters.
|
540
|
+
# Corresponds to the JSON property `postConditions`
|
541
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradePostConditions]
|
542
|
+
attr_accessor :post_conditions
|
543
|
+
|
544
|
+
# GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
|
545
|
+
# Corresponds to the JSON property `upgrade`
|
546
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradeGkeUpgrade]
|
547
|
+
attr_accessor :upgrade
|
548
|
+
|
549
|
+
def initialize(**args)
|
550
|
+
update!(**args)
|
551
|
+
end
|
552
|
+
|
553
|
+
# Update properties of this object
|
554
|
+
def update!(**args)
|
555
|
+
@post_conditions = args[:post_conditions] if args.key?(:post_conditions)
|
556
|
+
@upgrade = args[:upgrade] if args.key?(:upgrade)
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
560
|
+
# GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.
|
561
|
+
class ClusterUpgradeGkeUpgradeState
|
562
|
+
include Google::Apis::Core::Hashable
|
563
|
+
|
564
|
+
# Number of GKE clusters in each status code.
|
565
|
+
# Corresponds to the JSON property `stats`
|
566
|
+
# @return [Hash<String,Fixnum>]
|
567
|
+
attr_accessor :stats
|
568
|
+
|
569
|
+
# UpgradeStatus provides status information for each upgrade.
|
570
|
+
# Corresponds to the JSON property `status`
|
571
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradeUpgradeStatus]
|
572
|
+
attr_accessor :status
|
573
|
+
|
574
|
+
# GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
|
575
|
+
# Corresponds to the JSON property `upgrade`
|
576
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradeGkeUpgrade]
|
577
|
+
attr_accessor :upgrade
|
578
|
+
|
579
|
+
def initialize(**args)
|
580
|
+
update!(**args)
|
581
|
+
end
|
582
|
+
|
583
|
+
# Update properties of this object
|
584
|
+
def update!(**args)
|
585
|
+
@stats = args[:stats] if args.key?(:stats)
|
586
|
+
@status = args[:status] if args.key?(:status)
|
587
|
+
@upgrade = args[:upgrade] if args.key?(:upgrade)
|
588
|
+
end
|
589
|
+
end
|
590
|
+
|
591
|
+
# IgnoredMembership represents a membership ignored by the feature. A membership
|
592
|
+
# can be ignored because it was manually upgraded to a newer version than RC
|
593
|
+
# default.
|
594
|
+
class ClusterUpgradeIgnoredMembership
|
595
|
+
include Google::Apis::Core::Hashable
|
596
|
+
|
597
|
+
# Time when the membership was first set to ignored.
|
598
|
+
# Corresponds to the JSON property `ignoredTime`
|
599
|
+
# @return [String]
|
600
|
+
attr_accessor :ignored_time
|
601
|
+
|
602
|
+
# Reason why the membership is ignored.
|
603
|
+
# Corresponds to the JSON property `reason`
|
604
|
+
# @return [String]
|
605
|
+
attr_accessor :reason
|
606
|
+
|
607
|
+
def initialize(**args)
|
608
|
+
update!(**args)
|
609
|
+
end
|
610
|
+
|
611
|
+
# Update properties of this object
|
612
|
+
def update!(**args)
|
613
|
+
@ignored_time = args[:ignored_time] if args.key?(:ignored_time)
|
614
|
+
@reason = args[:reason] if args.key?(:reason)
|
615
|
+
end
|
616
|
+
end
|
617
|
+
|
618
|
+
# ScopeGKEUpgradeState is a GKEUpgrade and its state per-membership.
|
619
|
+
class ClusterUpgradeMembershipGkeUpgradeState
|
620
|
+
include Google::Apis::Core::Hashable
|
621
|
+
|
622
|
+
# UpgradeStatus provides status information for each upgrade.
|
623
|
+
# Corresponds to the JSON property `status`
|
624
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradeUpgradeStatus]
|
625
|
+
attr_accessor :status
|
626
|
+
|
627
|
+
# GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
|
628
|
+
# Corresponds to the JSON property `upgrade`
|
629
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradeGkeUpgrade]
|
630
|
+
attr_accessor :upgrade
|
631
|
+
|
632
|
+
def initialize(**args)
|
633
|
+
update!(**args)
|
634
|
+
end
|
635
|
+
|
636
|
+
# Update properties of this object
|
637
|
+
def update!(**args)
|
638
|
+
@status = args[:status] if args.key?(:status)
|
639
|
+
@upgrade = args[:upgrade] if args.key?(:upgrade)
|
640
|
+
end
|
641
|
+
end
|
642
|
+
|
643
|
+
# Per-membership state for this feature.
|
644
|
+
class ClusterUpgradeMembershipState
|
645
|
+
include Google::Apis::Core::Hashable
|
646
|
+
|
647
|
+
# IgnoredMembership represents a membership ignored by the feature. A membership
|
648
|
+
# can be ignored because it was manually upgraded to a newer version than RC
|
649
|
+
# default.
|
650
|
+
# Corresponds to the JSON property `ignored`
|
651
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradeIgnoredMembership]
|
652
|
+
attr_accessor :ignored
|
653
|
+
|
654
|
+
# Actual upgrade state against desired.
|
655
|
+
# Corresponds to the JSON property `upgrades`
|
656
|
+
# @return [Array<Google::Apis::GkehubV1beta::ClusterUpgradeMembershipGkeUpgradeState>]
|
657
|
+
attr_accessor :upgrades
|
658
|
+
|
659
|
+
def initialize(**args)
|
660
|
+
update!(**args)
|
661
|
+
end
|
662
|
+
|
663
|
+
# Update properties of this object
|
664
|
+
def update!(**args)
|
665
|
+
@ignored = args[:ignored] if args.key?(:ignored)
|
666
|
+
@upgrades = args[:upgrades] if args.key?(:upgrades)
|
667
|
+
end
|
668
|
+
end
|
669
|
+
|
670
|
+
# Post conditional checks after an upgrade has been applied on all eligible
|
671
|
+
# clusters.
|
672
|
+
class ClusterUpgradePostConditions
|
673
|
+
include Google::Apis::Core::Hashable
|
674
|
+
|
675
|
+
# Required. Amount of time to "soak" after a rollout has been finished before
|
676
|
+
# marking it COMPLETE. Cannot exceed 30 days. Required.
|
677
|
+
# Corresponds to the JSON property `soaking`
|
678
|
+
# @return [String]
|
679
|
+
attr_accessor :soaking
|
680
|
+
|
681
|
+
def initialize(**args)
|
682
|
+
update!(**args)
|
683
|
+
end
|
684
|
+
|
685
|
+
# Update properties of this object
|
686
|
+
def update!(**args)
|
687
|
+
@soaking = args[:soaking] if args.key?(:soaking)
|
688
|
+
end
|
689
|
+
end
|
690
|
+
|
691
|
+
# UpgradeStatus provides status information for each upgrade.
|
692
|
+
class ClusterUpgradeUpgradeStatus
|
693
|
+
include Google::Apis::Core::Hashable
|
694
|
+
|
695
|
+
# Status code of the upgrade.
|
696
|
+
# Corresponds to the JSON property `code`
|
697
|
+
# @return [String]
|
698
|
+
attr_accessor :code
|
699
|
+
|
700
|
+
# Reason for this status.
|
701
|
+
# Corresponds to the JSON property `reason`
|
702
|
+
# @return [String]
|
703
|
+
attr_accessor :reason
|
704
|
+
|
705
|
+
# Last timestamp the status was updated.
|
706
|
+
# Corresponds to the JSON property `updateTime`
|
707
|
+
# @return [String]
|
708
|
+
attr_accessor :update_time
|
709
|
+
|
710
|
+
def initialize(**args)
|
711
|
+
update!(**args)
|
712
|
+
end
|
713
|
+
|
714
|
+
# Update properties of this object
|
715
|
+
def update!(**args)
|
716
|
+
@code = args[:code] if args.key?(:code)
|
717
|
+
@reason = args[:reason] if args.key?(:reason)
|
718
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
719
|
+
end
|
720
|
+
end
|
721
|
+
|
346
722
|
# CommonFeatureSpec contains Hub-wide configuration information
|
347
723
|
class CommonFeatureSpec
|
348
724
|
include Google::Apis::Core::Hashable
|
@@ -357,6 +733,12 @@ module Google
|
|
357
733
|
# @return [Google::Apis::GkehubV1beta::AppDevExperienceFeatureSpec]
|
358
734
|
attr_accessor :appdevexperience
|
359
735
|
|
736
|
+
# **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade
|
737
|
+
# feature.
|
738
|
+
# Corresponds to the JSON property `clusterupgrade`
|
739
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradeFleetSpec]
|
740
|
+
attr_accessor :clusterupgrade
|
741
|
+
|
360
742
|
# **Fleet Observability**: The Hub-wide input for the FleetObservability feature.
|
361
743
|
# Corresponds to the JSON property `fleetobservability`
|
362
744
|
# @return [Google::Apis::GkehubV1beta::FleetObservabilityFeatureSpec]
|
@@ -376,6 +758,7 @@ module Google
|
|
376
758
|
def update!(**args)
|
377
759
|
@anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
|
378
760
|
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
761
|
+
@clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
|
379
762
|
@fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
|
380
763
|
@multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
|
381
764
|
end
|
@@ -390,6 +773,11 @@ module Google
|
|
390
773
|
# @return [Google::Apis::GkehubV1beta::AppDevExperienceFeatureState]
|
391
774
|
attr_accessor :appdevexperience
|
392
775
|
|
776
|
+
# **ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature.
|
777
|
+
# Corresponds to the JSON property `clusterupgrade`
|
778
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradeFleetState]
|
779
|
+
attr_accessor :clusterupgrade
|
780
|
+
|
393
781
|
# **FleetObservability**: Hub-wide Feature for FleetObservability feature. state.
|
394
782
|
# Corresponds to the JSON property `fleetobservability`
|
395
783
|
# @return [Google::Apis::GkehubV1beta::FleetObservabilityFeatureState]
|
@@ -409,6 +797,7 @@ module Google
|
|
409
797
|
# Update properties of this object
|
410
798
|
def update!(**args)
|
411
799
|
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
800
|
+
@clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
|
412
801
|
@fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
|
413
802
|
@state = args[:state] if args.key?(:state)
|
414
803
|
end
|
@@ -548,8 +937,7 @@ module Google
|
|
548
937
|
# Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
|
549
938
|
# enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
|
550
939
|
# metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
|
551
|
-
# namespace `config-management-monitoring` should be bound to the GSA.
|
552
|
-
# field is required when automatic Feature management is enabled.
|
940
|
+
# namespace `config-management-monitoring` should be bound to the GSA.
|
553
941
|
# Corresponds to the JSON property `metricsGcpServiceAccountEmail`
|
554
942
|
# @return [String]
|
555
943
|
attr_accessor :metrics_gcp_service_account_email
|
@@ -573,14 +961,6 @@ module Google
|
|
573
961
|
# @return [String]
|
574
962
|
attr_accessor :source_format
|
575
963
|
|
576
|
-
# Set to true to stop syncing configs for a single cluster when automatic
|
577
|
-
# Feature management is enabled. Default to false. The field will be ignored
|
578
|
-
# when automatic Feature management is disabled.
|
579
|
-
# Corresponds to the JSON property `stopSyncing`
|
580
|
-
# @return [Boolean]
|
581
|
-
attr_accessor :stop_syncing
|
582
|
-
alias_method :stop_syncing?, :stop_syncing
|
583
|
-
|
584
964
|
def initialize(**args)
|
585
965
|
update!(**args)
|
586
966
|
end
|
@@ -594,7 +974,6 @@ module Google
|
|
594
974
|
@oci = args[:oci] if args.key?(:oci)
|
595
975
|
@prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
|
596
976
|
@source_format = args[:source_format] if args.key?(:source_format)
|
597
|
-
@stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
|
598
977
|
end
|
599
978
|
end
|
600
979
|
|
@@ -1086,11 +1465,6 @@ module Google
|
|
1086
1465
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementHierarchyControllerConfig]
|
1087
1466
|
attr_accessor :hierarchy_controller
|
1088
1467
|
|
1089
|
-
# Enables automatic Feature management.
|
1090
|
-
# Corresponds to the JSON property `management`
|
1091
|
-
# @return [String]
|
1092
|
-
attr_accessor :management
|
1093
|
-
|
1094
1468
|
# Configuration for Policy Controller
|
1095
1469
|
# Corresponds to the JSON property `policyController`
|
1096
1470
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementPolicyController]
|
@@ -1111,7 +1485,6 @@ module Google
|
|
1111
1485
|
@cluster = args[:cluster] if args.key?(:cluster)
|
1112
1486
|
@config_sync = args[:config_sync] if args.key?(:config_sync)
|
1113
1487
|
@hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
|
1114
|
-
@management = args[:management] if args.key?(:management)
|
1115
1488
|
@policy_controller = args[:policy_controller] if args.key?(:policy_controller)
|
1116
1489
|
@version = args[:version] if args.key?(:version)
|
1117
1490
|
end
|
@@ -1550,6 +1923,12 @@ module Google
|
|
1550
1923
|
class DefaultClusterConfig
|
1551
1924
|
include Google::Apis::Core::Hashable
|
1552
1925
|
|
1926
|
+
# BinaryAuthorizationConfig defines the fleet level configuration of binary
|
1927
|
+
# authorization feature.
|
1928
|
+
# Corresponds to the JSON property `binaryAuthorizationConfig`
|
1929
|
+
# @return [Google::Apis::GkehubV1beta::BinaryAuthorizationConfig]
|
1930
|
+
attr_accessor :binary_authorization_config
|
1931
|
+
|
1553
1932
|
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
1554
1933
|
# the Security Posture API.
|
1555
1934
|
# Corresponds to the JSON property `securityPostureConfig`
|
@@ -1562,6 +1941,7 @@ module Google
|
|
1562
1941
|
|
1563
1942
|
# Update properties of this object
|
1564
1943
|
def update!(**args)
|
1944
|
+
@binary_authorization_config = args[:binary_authorization_config] if args.key?(:binary_authorization_config)
|
1565
1945
|
@security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
|
1566
1946
|
end
|
1567
1947
|
end
|
@@ -2794,32 +3174,6 @@ module Google
|
|
2794
3174
|
end
|
2795
3175
|
end
|
2796
3176
|
|
2797
|
-
# List of fleet namespaces.
|
2798
|
-
class ListNamespacesResponse
|
2799
|
-
include Google::Apis::Core::Hashable
|
2800
|
-
|
2801
|
-
# The list of fleet namespaces
|
2802
|
-
# Corresponds to the JSON property `namespaces`
|
2803
|
-
# @return [Array<Google::Apis::GkehubV1beta::Namespace>]
|
2804
|
-
attr_accessor :namespaces
|
2805
|
-
|
2806
|
-
# A token to request the next page of resources from the `ListNamespaces` method.
|
2807
|
-
# The value of an empty string means that there are no more resources to return.
|
2808
|
-
# Corresponds to the JSON property `nextPageToken`
|
2809
|
-
# @return [String]
|
2810
|
-
attr_accessor :next_page_token
|
2811
|
-
|
2812
|
-
def initialize(**args)
|
2813
|
-
update!(**args)
|
2814
|
-
end
|
2815
|
-
|
2816
|
-
# Update properties of this object
|
2817
|
-
def update!(**args)
|
2818
|
-
@namespaces = args[:namespaces] if args.key?(:namespaces)
|
2819
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2820
|
-
end
|
2821
|
-
end
|
2822
|
-
|
2823
3177
|
# The response message for Operations.ListOperations.
|
2824
3178
|
class ListOperationsResponse
|
2825
3179
|
include Google::Apis::Core::Hashable
|
@@ -2845,33 +3199,6 @@ module Google
|
|
2845
3199
|
end
|
2846
3200
|
end
|
2847
3201
|
|
2848
|
-
# List of RBACRoleBindings.
|
2849
|
-
class ListRbacRoleBindingsResponse
|
2850
|
-
include Google::Apis::Core::Hashable
|
2851
|
-
|
2852
|
-
# A token to request the next page of resources from the `ListRBACRoleBindings`
|
2853
|
-
# method. The value of an empty string means that there are no more resources to
|
2854
|
-
# return.
|
2855
|
-
# Corresponds to the JSON property `nextPageToken`
|
2856
|
-
# @return [String]
|
2857
|
-
attr_accessor :next_page_token
|
2858
|
-
|
2859
|
-
# The list of RBACRoleBindings
|
2860
|
-
# Corresponds to the JSON property `rbacrolebindings`
|
2861
|
-
# @return [Array<Google::Apis::GkehubV1beta::RbacRoleBinding>]
|
2862
|
-
attr_accessor :rbacrolebindings
|
2863
|
-
|
2864
|
-
def initialize(**args)
|
2865
|
-
update!(**args)
|
2866
|
-
end
|
2867
|
-
|
2868
|
-
# Update properties of this object
|
2869
|
-
def update!(**args)
|
2870
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2871
|
-
@rbacrolebindings = args[:rbacrolebindings] if args.key?(:rbacrolebindings)
|
2872
|
-
end
|
2873
|
-
end
|
2874
|
-
|
2875
3202
|
# List of fleet namespaces.
|
2876
3203
|
class ListScopeNamespacesResponse
|
2877
3204
|
include Google::Apis::Core::Hashable
|
@@ -3336,6 +3663,11 @@ module Google
|
|
3336
3663
|
# @return [Google::Apis::GkehubV1beta::AppDevExperienceFeatureState]
|
3337
3664
|
attr_accessor :appdevexperience
|
3338
3665
|
|
3666
|
+
# Per-membership state for this feature.
|
3667
|
+
# Corresponds to the JSON property `clusterupgrade`
|
3668
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradeMembershipState]
|
3669
|
+
attr_accessor :clusterupgrade
|
3670
|
+
|
3339
3671
|
# **Anthos Config Management**: State for a single cluster.
|
3340
3672
|
# Corresponds to the JSON property `configmanagement`
|
3341
3673
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipState]
|
@@ -3382,6 +3714,7 @@ module Google
|
|
3382
3714
|
# Update properties of this object
|
3383
3715
|
def update!(**args)
|
3384
3716
|
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
3717
|
+
@clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
|
3385
3718
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
3386
3719
|
@fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
|
3387
3720
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
@@ -3946,6 +4279,27 @@ module Google
|
|
3946
4279
|
end
|
3947
4280
|
end
|
3948
4281
|
|
4282
|
+
# Binauthz policy that applies to this cluster.
|
4283
|
+
class PolicyBinding
|
4284
|
+
include Google::Apis::Core::Hashable
|
4285
|
+
|
4286
|
+
# The relative resource name of the binauthz platform policy to audit. GKE
|
4287
|
+
# platform policies have the following format: `projects/`project_number`/
|
4288
|
+
# platforms/gke/policies/`policy_id``.
|
4289
|
+
# Corresponds to the JSON property `name`
|
4290
|
+
# @return [String]
|
4291
|
+
attr_accessor :name
|
4292
|
+
|
4293
|
+
def initialize(**args)
|
4294
|
+
update!(**args)
|
4295
|
+
end
|
4296
|
+
|
4297
|
+
# Update properties of this object
|
4298
|
+
def update!(**args)
|
4299
|
+
@name = args[:name] if args.key?(:name)
|
4300
|
+
end
|
4301
|
+
end
|
4302
|
+
|
3949
4303
|
# BundleInstallSpec is the specification configuration for a single managed
|
3950
4304
|
# bundle.
|
3951
4305
|
class PolicyControllerBundleInstallSpec
|
@@ -4393,9 +4747,9 @@ module Google
|
|
4393
4747
|
attr_accessor :labels
|
4394
4748
|
|
4395
4749
|
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
4396
|
-
# location`/
|
4397
|
-
#
|
4398
|
-
#
|
4750
|
+
# location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
|
4751
|
+
# project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
|
4752
|
+
# rbacrolebinding``
|
4399
4753
|
# Corresponds to the JSON property `name`
|
4400
4754
|
# @return [String]
|
4401
4755
|
attr_accessor :name
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.65.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231201"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|