google-apis-gkehub_v1beta 0.63.0 → 0.64.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1c4fbec47b0093ab82b49a2ffd2048569fbb235b55ca7f4eab124b350a41028
|
4
|
+
data.tar.gz: 8aa30d4d83d4ca09742e34ea6137b7d8e1058be137a91842ec2c26f578a16c26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df26d1804732cf05fb08a3d262644b7f7a5fa07db5b50a30560b604ff9fe0015c1ab0db1ec410b91475b484f6fc6a63b8c28c6cb98551c7098df9f686508cfa6
|
7
|
+
data.tar.gz: 1a3821a76f73400d7eed7331a68a2391a38b8c8d65590419b48449ff6500f9f7e0fd6d98495e89f2ba12612dd4ecdb7f806b99790c1e751297fef243af2faa78
|
data/CHANGELOG.md
CHANGED
@@ -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,370 @@ 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
|
+
# Project number or id of the fleet. It is set only for Memberships that are
|
648
|
+
# part of fleet-based Rollout Sequencing.
|
649
|
+
# Corresponds to the JSON property `fleet`
|
650
|
+
# @return [String]
|
651
|
+
attr_accessor :fleet
|
652
|
+
|
653
|
+
# IgnoredMembership represents a membership ignored by the feature. A membership
|
654
|
+
# can be ignored because it was manually upgraded to a newer version than RC
|
655
|
+
# default.
|
656
|
+
# Corresponds to the JSON property `ignored`
|
657
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradeIgnoredMembership]
|
658
|
+
attr_accessor :ignored
|
659
|
+
|
660
|
+
# Fully qualified scope names that this clusters is bound to which also have
|
661
|
+
# rollout sequencing enabled.
|
662
|
+
# Corresponds to the JSON property `scopes`
|
663
|
+
# @return [Array<String>]
|
664
|
+
attr_accessor :scopes
|
665
|
+
|
666
|
+
# Actual upgrade state against desired.
|
667
|
+
# Corresponds to the JSON property `upgrades`
|
668
|
+
# @return [Array<Google::Apis::GkehubV1beta::ClusterUpgradeMembershipGkeUpgradeState>]
|
669
|
+
attr_accessor :upgrades
|
670
|
+
|
671
|
+
def initialize(**args)
|
672
|
+
update!(**args)
|
673
|
+
end
|
674
|
+
|
675
|
+
# Update properties of this object
|
676
|
+
def update!(**args)
|
677
|
+
@fleet = args[:fleet] if args.key?(:fleet)
|
678
|
+
@ignored = args[:ignored] if args.key?(:ignored)
|
679
|
+
@scopes = args[:scopes] if args.key?(:scopes)
|
680
|
+
@upgrades = args[:upgrades] if args.key?(:upgrades)
|
681
|
+
end
|
682
|
+
end
|
683
|
+
|
684
|
+
# Post conditional checks after an upgrade has been applied on all eligible
|
685
|
+
# clusters.
|
686
|
+
class ClusterUpgradePostConditions
|
687
|
+
include Google::Apis::Core::Hashable
|
688
|
+
|
689
|
+
# Required. Amount of time to "soak" after a rollout has been finished before
|
690
|
+
# marking it COMPLETE. Cannot exceed 30 days. Required.
|
691
|
+
# Corresponds to the JSON property `soaking`
|
692
|
+
# @return [String]
|
693
|
+
attr_accessor :soaking
|
694
|
+
|
695
|
+
def initialize(**args)
|
696
|
+
update!(**args)
|
697
|
+
end
|
698
|
+
|
699
|
+
# Update properties of this object
|
700
|
+
def update!(**args)
|
701
|
+
@soaking = args[:soaking] if args.key?(:soaking)
|
702
|
+
end
|
703
|
+
end
|
704
|
+
|
705
|
+
# UpgradeStatus provides status information for each upgrade.
|
706
|
+
class ClusterUpgradeUpgradeStatus
|
707
|
+
include Google::Apis::Core::Hashable
|
708
|
+
|
709
|
+
# Status code of the upgrade.
|
710
|
+
# Corresponds to the JSON property `code`
|
711
|
+
# @return [String]
|
712
|
+
attr_accessor :code
|
713
|
+
|
714
|
+
# Reason for this status.
|
715
|
+
# Corresponds to the JSON property `reason`
|
716
|
+
# @return [String]
|
717
|
+
attr_accessor :reason
|
718
|
+
|
719
|
+
# Last timestamp the status was updated.
|
720
|
+
# Corresponds to the JSON property `updateTime`
|
721
|
+
# @return [String]
|
722
|
+
attr_accessor :update_time
|
723
|
+
|
724
|
+
def initialize(**args)
|
725
|
+
update!(**args)
|
726
|
+
end
|
727
|
+
|
728
|
+
# Update properties of this object
|
729
|
+
def update!(**args)
|
730
|
+
@code = args[:code] if args.key?(:code)
|
731
|
+
@reason = args[:reason] if args.key?(:reason)
|
732
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
733
|
+
end
|
734
|
+
end
|
735
|
+
|
346
736
|
# CommonFeatureSpec contains Hub-wide configuration information
|
347
737
|
class CommonFeatureSpec
|
348
738
|
include Google::Apis::Core::Hashable
|
@@ -357,6 +747,12 @@ module Google
|
|
357
747
|
# @return [Google::Apis::GkehubV1beta::AppDevExperienceFeatureSpec]
|
358
748
|
attr_accessor :appdevexperience
|
359
749
|
|
750
|
+
# **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade
|
751
|
+
# feature.
|
752
|
+
# Corresponds to the JSON property `clusterupgrade`
|
753
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradeFleetSpec]
|
754
|
+
attr_accessor :clusterupgrade
|
755
|
+
|
360
756
|
# **Fleet Observability**: The Hub-wide input for the FleetObservability feature.
|
361
757
|
# Corresponds to the JSON property `fleetobservability`
|
362
758
|
# @return [Google::Apis::GkehubV1beta::FleetObservabilityFeatureSpec]
|
@@ -376,6 +772,7 @@ module Google
|
|
376
772
|
def update!(**args)
|
377
773
|
@anthosobservability = args[:anthosobservability] if args.key?(:anthosobservability)
|
378
774
|
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
775
|
+
@clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
|
379
776
|
@fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
|
380
777
|
@multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
|
381
778
|
end
|
@@ -390,6 +787,11 @@ module Google
|
|
390
787
|
# @return [Google::Apis::GkehubV1beta::AppDevExperienceFeatureState]
|
391
788
|
attr_accessor :appdevexperience
|
392
789
|
|
790
|
+
# **ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature.
|
791
|
+
# Corresponds to the JSON property `clusterupgrade`
|
792
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradeFleetState]
|
793
|
+
attr_accessor :clusterupgrade
|
794
|
+
|
393
795
|
# **FleetObservability**: Hub-wide Feature for FleetObservability feature. state.
|
394
796
|
# Corresponds to the JSON property `fleetobservability`
|
395
797
|
# @return [Google::Apis::GkehubV1beta::FleetObservabilityFeatureState]
|
@@ -409,6 +811,7 @@ module Google
|
|
409
811
|
# Update properties of this object
|
410
812
|
def update!(**args)
|
411
813
|
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
814
|
+
@clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
|
412
815
|
@fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
|
413
816
|
@state = args[:state] if args.key?(:state)
|
414
817
|
end
|
@@ -573,14 +976,6 @@ module Google
|
|
573
976
|
# @return [String]
|
574
977
|
attr_accessor :source_format
|
575
978
|
|
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
979
|
def initialize(**args)
|
585
980
|
update!(**args)
|
586
981
|
end
|
@@ -594,7 +989,6 @@ module Google
|
|
594
989
|
@oci = args[:oci] if args.key?(:oci)
|
595
990
|
@prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
|
596
991
|
@source_format = args[:source_format] if args.key?(:source_format)
|
597
|
-
@stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
|
598
992
|
end
|
599
993
|
end
|
600
994
|
|
@@ -1086,11 +1480,6 @@ module Google
|
|
1086
1480
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementHierarchyControllerConfig]
|
1087
1481
|
attr_accessor :hierarchy_controller
|
1088
1482
|
|
1089
|
-
# Enables automatic Feature management.
|
1090
|
-
# Corresponds to the JSON property `management`
|
1091
|
-
# @return [String]
|
1092
|
-
attr_accessor :management
|
1093
|
-
|
1094
1483
|
# Configuration for Policy Controller
|
1095
1484
|
# Corresponds to the JSON property `policyController`
|
1096
1485
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementPolicyController]
|
@@ -1111,7 +1500,6 @@ module Google
|
|
1111
1500
|
@cluster = args[:cluster] if args.key?(:cluster)
|
1112
1501
|
@config_sync = args[:config_sync] if args.key?(:config_sync)
|
1113
1502
|
@hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
|
1114
|
-
@management = args[:management] if args.key?(:management)
|
1115
1503
|
@policy_controller = args[:policy_controller] if args.key?(:policy_controller)
|
1116
1504
|
@version = args[:version] if args.key?(:version)
|
1117
1505
|
end
|
@@ -1550,6 +1938,12 @@ module Google
|
|
1550
1938
|
class DefaultClusterConfig
|
1551
1939
|
include Google::Apis::Core::Hashable
|
1552
1940
|
|
1941
|
+
# BinaryAuthorizationConfig defines the fleet level configuration of binary
|
1942
|
+
# authorization feature.
|
1943
|
+
# Corresponds to the JSON property `binaryAuthorizationConfig`
|
1944
|
+
# @return [Google::Apis::GkehubV1beta::BinaryAuthorizationConfig]
|
1945
|
+
attr_accessor :binary_authorization_config
|
1946
|
+
|
1553
1947
|
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
1554
1948
|
# the Security Posture API.
|
1555
1949
|
# Corresponds to the JSON property `securityPostureConfig`
|
@@ -1562,6 +1956,7 @@ module Google
|
|
1562
1956
|
|
1563
1957
|
# Update properties of this object
|
1564
1958
|
def update!(**args)
|
1959
|
+
@binary_authorization_config = args[:binary_authorization_config] if args.key?(:binary_authorization_config)
|
1565
1960
|
@security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
|
1566
1961
|
end
|
1567
1962
|
end
|
@@ -2794,32 +3189,6 @@ module Google
|
|
2794
3189
|
end
|
2795
3190
|
end
|
2796
3191
|
|
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
3192
|
# The response message for Operations.ListOperations.
|
2824
3193
|
class ListOperationsResponse
|
2825
3194
|
include Google::Apis::Core::Hashable
|
@@ -2845,33 +3214,6 @@ module Google
|
|
2845
3214
|
end
|
2846
3215
|
end
|
2847
3216
|
|
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
3217
|
# List of fleet namespaces.
|
2876
3218
|
class ListScopeNamespacesResponse
|
2877
3219
|
include Google::Apis::Core::Hashable
|
@@ -3336,6 +3678,11 @@ module Google
|
|
3336
3678
|
# @return [Google::Apis::GkehubV1beta::AppDevExperienceFeatureState]
|
3337
3679
|
attr_accessor :appdevexperience
|
3338
3680
|
|
3681
|
+
# Per-membership state for this feature.
|
3682
|
+
# Corresponds to the JSON property `clusterupgrade`
|
3683
|
+
# @return [Google::Apis::GkehubV1beta::ClusterUpgradeMembershipState]
|
3684
|
+
attr_accessor :clusterupgrade
|
3685
|
+
|
3339
3686
|
# **Anthos Config Management**: State for a single cluster.
|
3340
3687
|
# Corresponds to the JSON property `configmanagement`
|
3341
3688
|
# @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipState]
|
@@ -3382,6 +3729,7 @@ module Google
|
|
3382
3729
|
# Update properties of this object
|
3383
3730
|
def update!(**args)
|
3384
3731
|
@appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
|
3732
|
+
@clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
|
3385
3733
|
@configmanagement = args[:configmanagement] if args.key?(:configmanagement)
|
3386
3734
|
@fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
|
3387
3735
|
@identityservice = args[:identityservice] if args.key?(:identityservice)
|
@@ -3946,6 +4294,27 @@ module Google
|
|
3946
4294
|
end
|
3947
4295
|
end
|
3948
4296
|
|
4297
|
+
# Binauthz policy that applies to this cluster.
|
4298
|
+
class PolicyBinding
|
4299
|
+
include Google::Apis::Core::Hashable
|
4300
|
+
|
4301
|
+
# The relative resource name of the binauthz platform policy to audit. GKE
|
4302
|
+
# platform policies have the following format: `projects/`project_number`/
|
4303
|
+
# platforms/gke/policies/`policy_id``.
|
4304
|
+
# Corresponds to the JSON property `name`
|
4305
|
+
# @return [String]
|
4306
|
+
attr_accessor :name
|
4307
|
+
|
4308
|
+
def initialize(**args)
|
4309
|
+
update!(**args)
|
4310
|
+
end
|
4311
|
+
|
4312
|
+
# Update properties of this object
|
4313
|
+
def update!(**args)
|
4314
|
+
@name = args[:name] if args.key?(:name)
|
4315
|
+
end
|
4316
|
+
end
|
4317
|
+
|
3949
4318
|
# BundleInstallSpec is the specification configuration for a single managed
|
3950
4319
|
# bundle.
|
3951
4320
|
class PolicyControllerBundleInstallSpec
|
@@ -4393,9 +4762,9 @@ module Google
|
|
4393
4762
|
attr_accessor :labels
|
4394
4763
|
|
4395
4764
|
# The resource name for the rbacrolebinding `projects/`project`/locations/`
|
4396
|
-
# location`/
|
4397
|
-
#
|
4398
|
-
#
|
4765
|
+
# location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
|
4766
|
+
# project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
|
4767
|
+
# rbacrolebinding``
|
4399
4768
|
# Corresponds to the JSON property `name`
|
4400
4769
|
# @return [String]
|
4401
4770
|
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.64.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 = "20231114"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|