google-apis-gkehub_v1beta 0.62.0 → 0.64.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.
@@ -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
@@ -1545,6 +1933,34 @@ module Google
1545
1933
  end
1546
1934
  end
1547
1935
 
1936
+ # DefaultClusterConfig describes the default cluster configurations to be
1937
+ # applied to all clusters born-in-fleet.
1938
+ class DefaultClusterConfig
1939
+ include Google::Apis::Core::Hashable
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
+
1947
+ # SecurityPostureConfig defines the flags needed to enable/disable features for
1948
+ # the Security Posture API.
1949
+ # Corresponds to the JSON property `securityPostureConfig`
1950
+ # @return [Google::Apis::GkehubV1beta::SecurityPostureConfig]
1951
+ attr_accessor :security_posture_config
1952
+
1953
+ def initialize(**args)
1954
+ update!(**args)
1955
+ end
1956
+
1957
+ # Update properties of this object
1958
+ def update!(**args)
1959
+ @binary_authorization_config = args[:binary_authorization_config] if args.key?(:binary_authorization_config)
1960
+ @security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
1961
+ end
1962
+ end
1963
+
1548
1964
  # EdgeCluster contains information specific to Google Edge Clusters.
1549
1965
  class EdgeCluster
1550
1966
  include Google::Apis::Core::Hashable
@@ -1822,6 +2238,12 @@ module Google
1822
2238
  # @return [String]
1823
2239
  attr_accessor :create_time
1824
2240
 
2241
+ # DefaultClusterConfig describes the default cluster configurations to be
2242
+ # applied to all clusters born-in-fleet.
2243
+ # Corresponds to the JSON property `defaultClusterConfig`
2244
+ # @return [Google::Apis::GkehubV1beta::DefaultClusterConfig]
2245
+ attr_accessor :default_cluster_config
2246
+
1825
2247
  # Output only. When the Fleet was deleted.
1826
2248
  # Corresponds to the JSON property `deleteTime`
1827
2249
  # @return [String]
@@ -1871,6 +2293,7 @@ module Google
1871
2293
  # Update properties of this object
1872
2294
  def update!(**args)
1873
2295
  @create_time = args[:create_time] if args.key?(:create_time)
2296
+ @default_cluster_config = args[:default_cluster_config] if args.key?(:default_cluster_config)
1874
2297
  @delete_time = args[:delete_time] if args.key?(:delete_time)
1875
2298
  @display_name = args[:display_name] if args.key?(:display_name)
1876
2299
  @labels = args[:labels] if args.key?(:labels)
@@ -2766,32 +3189,6 @@ module Google
2766
3189
  end
2767
3190
  end
2768
3191
 
2769
- # List of fleet namespaces.
2770
- class ListNamespacesResponse
2771
- include Google::Apis::Core::Hashable
2772
-
2773
- # The list of fleet namespaces
2774
- # Corresponds to the JSON property `namespaces`
2775
- # @return [Array<Google::Apis::GkehubV1beta::Namespace>]
2776
- attr_accessor :namespaces
2777
-
2778
- # A token to request the next page of resources from the `ListNamespaces` method.
2779
- # The value of an empty string means that there are no more resources to return.
2780
- # Corresponds to the JSON property `nextPageToken`
2781
- # @return [String]
2782
- attr_accessor :next_page_token
2783
-
2784
- def initialize(**args)
2785
- update!(**args)
2786
- end
2787
-
2788
- # Update properties of this object
2789
- def update!(**args)
2790
- @namespaces = args[:namespaces] if args.key?(:namespaces)
2791
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2792
- end
2793
- end
2794
-
2795
3192
  # The response message for Operations.ListOperations.
2796
3193
  class ListOperationsResponse
2797
3194
  include Google::Apis::Core::Hashable
@@ -2817,33 +3214,6 @@ module Google
2817
3214
  end
2818
3215
  end
2819
3216
 
2820
- # List of RBACRoleBindings.
2821
- class ListRbacRoleBindingsResponse
2822
- include Google::Apis::Core::Hashable
2823
-
2824
- # A token to request the next page of resources from the `ListRBACRoleBindings`
2825
- # method. The value of an empty string means that there are no more resources to
2826
- # return.
2827
- # Corresponds to the JSON property `nextPageToken`
2828
- # @return [String]
2829
- attr_accessor :next_page_token
2830
-
2831
- # The list of RBACRoleBindings
2832
- # Corresponds to the JSON property `rbacrolebindings`
2833
- # @return [Array<Google::Apis::GkehubV1beta::RbacRoleBinding>]
2834
- attr_accessor :rbacrolebindings
2835
-
2836
- def initialize(**args)
2837
- update!(**args)
2838
- end
2839
-
2840
- # Update properties of this object
2841
- def update!(**args)
2842
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2843
- @rbacrolebindings = args[:rbacrolebindings] if args.key?(:rbacrolebindings)
2844
- end
2845
- end
2846
-
2847
3217
  # List of fleet namespaces.
2848
3218
  class ListScopeNamespacesResponse
2849
3219
  include Google::Apis::Core::Hashable
@@ -3308,6 +3678,11 @@ module Google
3308
3678
  # @return [Google::Apis::GkehubV1beta::AppDevExperienceFeatureState]
3309
3679
  attr_accessor :appdevexperience
3310
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
+
3311
3686
  # **Anthos Config Management**: State for a single cluster.
3312
3687
  # Corresponds to the JSON property `configmanagement`
3313
3688
  # @return [Google::Apis::GkehubV1beta::ConfigManagementMembershipState]
@@ -3354,6 +3729,7 @@ module Google
3354
3729
  # Update properties of this object
3355
3730
  def update!(**args)
3356
3731
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
3732
+ @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
3357
3733
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
3358
3734
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
3359
3735
  @identityservice = args[:identityservice] if args.key?(:identityservice)
@@ -3918,6 +4294,27 @@ module Google
3918
4294
  end
3919
4295
  end
3920
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
+
3921
4318
  # BundleInstallSpec is the specification configuration for a single managed
3922
4319
  # bundle.
3923
4320
  class PolicyControllerBundleInstallSpec
@@ -4365,9 +4762,9 @@ module Google
4365
4762
  attr_accessor :labels
4366
4763
 
4367
4764
  # The resource name for the rbacrolebinding `projects/`project`/locations/`
4368
- # location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
4369
- # projects/`project`/locations/`location`/memberships/`membership`/
4370
- # rbacrolebindings/`rbacrolebinding``
4765
+ # location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
4766
+ # project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
4767
+ # rbacrolebinding``
4371
4768
  # Corresponds to the JSON property `name`
4372
4769
  # @return [String]
4373
4770
  attr_accessor :name
@@ -4647,6 +5044,32 @@ module Google
4647
5044
  end
4648
5045
  end
4649
5046
 
5047
+ # SecurityPostureConfig defines the flags needed to enable/disable features for
5048
+ # the Security Posture API.
5049
+ class SecurityPostureConfig
5050
+ include Google::Apis::Core::Hashable
5051
+
5052
+ # Sets which mode to use for Security Posture features.
5053
+ # Corresponds to the JSON property `mode`
5054
+ # @return [String]
5055
+ attr_accessor :mode
5056
+
5057
+ # Sets which mode to use for vulnerability scanning.
5058
+ # Corresponds to the JSON property `vulnerabilityMode`
5059
+ # @return [String]
5060
+ attr_accessor :vulnerability_mode
5061
+
5062
+ def initialize(**args)
5063
+ update!(**args)
5064
+ end
5065
+
5066
+ # Update properties of this object
5067
+ def update!(**args)
5068
+ @mode = args[:mode] if args.key?(:mode)
5069
+ @vulnerability_mode = args[:vulnerability_mode] if args.key?(:vulnerability_mode)
5070
+ end
5071
+ end
5072
+
4650
5073
  # Status of control plane management.
4651
5074
  class ServiceMeshControlPlaneManagement
4652
5075
  include Google::Apis::Core::Hashable