google-apis-gkehub_v1 0.62.0 → 0.63.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: 8f7c2546f5f14a1196d67f960f932e0aece77ea07c07b62b076c8f44033ce4fa
4
- data.tar.gz: 95665b93d4a9dd3bc4f749c0e5c138b1543cf74fcc9e16e148d768046d49d1e7
3
+ metadata.gz: e5f3cfc678b88e1efe65a6316f56895f43cd6ef79758eb0b115824750e4705a7
4
+ data.tar.gz: 50629144914acc3748dbe21894593396d2b595012b42fe3274188c1064ffdc56
5
5
  SHA512:
6
- metadata.gz: 01c9fa5cbf6a0ac99d01779cfeaf12e426c3fcfb8468bda3d79e96201667aabc8315cdfc86a41e845d12c09f11ff7ee84df1e628a138c241a4876fe99e15df1a
7
- data.tar.gz: 55a6e882ae7eb319e8576a0dcd15d0feaa83ff145983af597ae98883d91d4a75f8e72baa78ee5b97779dbc2e23f0f6d47214208f6d3b06a103fa3f68cdb9c234
6
+ metadata.gz: 924239fdd60bcfac79461b3e627d909dbbc84453c2c859c31ee96e1ad4fde5a21cf956c2d73b528bd883e30b2d75eedc58ba6edc9be2c99456adc5b624d69627
7
+ data.tar.gz: 0b207b96e0648e8e0aa226382784cadc38c13dfe43f9e419d98f7a845ae7ec85813178b4abdbb89814c07e0fd29d0479f7244b1c67184e1a2b581c75dadaa68d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.63.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231114
6
+
3
7
  ### v0.62.0 (2023-11-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20231103
@@ -200,6 +200,32 @@ module Google
200
200
  end
201
201
  end
202
202
 
203
+ # BinaryAuthorizationConfig defines the fleet level configuration of binary
204
+ # authorization feature.
205
+ class BinaryAuthorizationConfig
206
+ include Google::Apis::Core::Hashable
207
+
208
+ # Optional. Mode of operation for binauthz policy evaluation.
209
+ # Corresponds to the JSON property `evaluationMode`
210
+ # @return [String]
211
+ attr_accessor :evaluation_mode
212
+
213
+ # Optional. Binauthz policies that apply to this cluster.
214
+ # Corresponds to the JSON property `policyBindings`
215
+ # @return [Array<Google::Apis::GkehubV1::PolicyBinding>]
216
+ attr_accessor :policy_bindings
217
+
218
+ def initialize(**args)
219
+ update!(**args)
220
+ end
221
+
222
+ # Update properties of this object
223
+ def update!(**args)
224
+ @evaluation_mode = args[:evaluation_mode] if args.key?(:evaluation_mode)
225
+ @policy_bindings = args[:policy_bindings] if args.key?(:policy_bindings)
226
+ end
227
+ end
228
+
203
229
  # Associates `members`, or principals, with a `role`.
204
230
  class Binding
205
231
  include Google::Apis::Core::Hashable
@@ -289,6 +315,370 @@ module Google
289
315
  end
290
316
  end
291
317
 
318
+ # **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade
319
+ # feature.
320
+ class ClusterUpgradeFleetSpec
321
+ include Google::Apis::Core::Hashable
322
+
323
+ # Allow users to override some properties of each GKE upgrade.
324
+ # Corresponds to the JSON property `gkeUpgradeOverrides`
325
+ # @return [Array<Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeOverride>]
326
+ attr_accessor :gke_upgrade_overrides
327
+
328
+ # Post conditional checks after an upgrade has been applied on all eligible
329
+ # clusters.
330
+ # Corresponds to the JSON property `postConditions`
331
+ # @return [Google::Apis::GkehubV1::ClusterUpgradePostConditions]
332
+ attr_accessor :post_conditions
333
+
334
+ # This fleet consumes upgrades that have COMPLETE status code in the upstream
335
+ # fleets. See UpgradeStatus.Code for code definitions. The fleet name should be
336
+ # either fleet project number or id. This is defined as repeated for future
337
+ # proof reasons. Initial implementation will enforce at most one upstream fleet.
338
+ # Corresponds to the JSON property `upstreamFleets`
339
+ # @return [Array<String>]
340
+ attr_accessor :upstream_fleets
341
+
342
+ def initialize(**args)
343
+ update!(**args)
344
+ end
345
+
346
+ # Update properties of this object
347
+ def update!(**args)
348
+ @gke_upgrade_overrides = args[:gke_upgrade_overrides] if args.key?(:gke_upgrade_overrides)
349
+ @post_conditions = args[:post_conditions] if args.key?(:post_conditions)
350
+ @upstream_fleets = args[:upstream_fleets] if args.key?(:upstream_fleets)
351
+ end
352
+ end
353
+
354
+ # **ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature.
355
+ class ClusterUpgradeFleetState
356
+ include Google::Apis::Core::Hashable
357
+
358
+ # This fleets whose upstream_fleets contain the current fleet. The fleet name
359
+ # should be either fleet project number or id.
360
+ # Corresponds to the JSON property `downstreamFleets`
361
+ # @return [Array<String>]
362
+ attr_accessor :downstream_fleets
363
+
364
+ # GKEUpgradeFeatureState contains feature states for GKE clusters in the scope.
365
+ # Corresponds to the JSON property `gkeState`
366
+ # @return [Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeFeatureState]
367
+ attr_accessor :gke_state
368
+
369
+ # A list of memberships ignored by the feature. For example, manually upgraded
370
+ # clusters can be ignored if they are newer than the default versions of its
371
+ # release channel. The membership resource is in the format: `projects/`p`/
372
+ # locations/`l`/membership/`m``.
373
+ # Corresponds to the JSON property `ignored`
374
+ # @return [Hash<String,Google::Apis::GkehubV1::ClusterUpgradeIgnoredMembership>]
375
+ attr_accessor :ignored
376
+
377
+ def initialize(**args)
378
+ update!(**args)
379
+ end
380
+
381
+ # Update properties of this object
382
+ def update!(**args)
383
+ @downstream_fleets = args[:downstream_fleets] if args.key?(:downstream_fleets)
384
+ @gke_state = args[:gke_state] if args.key?(:gke_state)
385
+ @ignored = args[:ignored] if args.key?(:ignored)
386
+ end
387
+ end
388
+
389
+ # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
390
+ class ClusterUpgradeGkeUpgrade
391
+ include Google::Apis::Core::Hashable
392
+
393
+ # Name of the upgrade, e.g., "k8s_control_plane". It should be a valid upgrade
394
+ # name. It must not exceet 99 characters.
395
+ # Corresponds to the JSON property `name`
396
+ # @return [String]
397
+ attr_accessor :name
398
+
399
+ # Version of the upgrade, e.g., "1.22.1-gke.100". It should be a valid version.
400
+ # It must not exceet 99 characters.
401
+ # Corresponds to the JSON property `version`
402
+ # @return [String]
403
+ attr_accessor :version
404
+
405
+ def initialize(**args)
406
+ update!(**args)
407
+ end
408
+
409
+ # Update properties of this object
410
+ def update!(**args)
411
+ @name = args[:name] if args.key?(:name)
412
+ @version = args[:version] if args.key?(:version)
413
+ end
414
+ end
415
+
416
+ # GKEUpgradeFeatureCondition describes the condition of the feature for GKE
417
+ # clusters at a certain point of time.
418
+ class ClusterUpgradeGkeUpgradeFeatureCondition
419
+ include Google::Apis::Core::Hashable
420
+
421
+ # Reason why the feature is in this status.
422
+ # Corresponds to the JSON property `reason`
423
+ # @return [String]
424
+ attr_accessor :reason
425
+
426
+ # Status of the condition, one of True, False, Unknown.
427
+ # Corresponds to the JSON property `status`
428
+ # @return [String]
429
+ attr_accessor :status
430
+
431
+ # Type of the condition, for example, "ready".
432
+ # Corresponds to the JSON property `type`
433
+ # @return [String]
434
+ attr_accessor :type
435
+
436
+ # Last timestamp the condition was updated.
437
+ # Corresponds to the JSON property `updateTime`
438
+ # @return [String]
439
+ attr_accessor :update_time
440
+
441
+ def initialize(**args)
442
+ update!(**args)
443
+ end
444
+
445
+ # Update properties of this object
446
+ def update!(**args)
447
+ @reason = args[:reason] if args.key?(:reason)
448
+ @status = args[:status] if args.key?(:status)
449
+ @type = args[:type] if args.key?(:type)
450
+ @update_time = args[:update_time] if args.key?(:update_time)
451
+ end
452
+ end
453
+
454
+ # GKEUpgradeFeatureState contains feature states for GKE clusters in the scope.
455
+ class ClusterUpgradeGkeUpgradeFeatureState
456
+ include Google::Apis::Core::Hashable
457
+
458
+ # Current conditions of the feature.
459
+ # Corresponds to the JSON property `conditions`
460
+ # @return [Array<Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeFeatureCondition>]
461
+ attr_accessor :conditions
462
+
463
+ # Upgrade state. It will eventually replace `state`.
464
+ # Corresponds to the JSON property `upgradeState`
465
+ # @return [Array<Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeState>]
466
+ attr_accessor :upgrade_state
467
+
468
+ def initialize(**args)
469
+ update!(**args)
470
+ end
471
+
472
+ # Update properties of this object
473
+ def update!(**args)
474
+ @conditions = args[:conditions] if args.key?(:conditions)
475
+ @upgrade_state = args[:upgrade_state] if args.key?(:upgrade_state)
476
+ end
477
+ end
478
+
479
+ # Properties of a GKE upgrade that can be overridden by the user. For example, a
480
+ # user can skip soaking by overriding the soaking to 0.
481
+ class ClusterUpgradeGkeUpgradeOverride
482
+ include Google::Apis::Core::Hashable
483
+
484
+ # Post conditional checks after an upgrade has been applied on all eligible
485
+ # clusters.
486
+ # Corresponds to the JSON property `postConditions`
487
+ # @return [Google::Apis::GkehubV1::ClusterUpgradePostConditions]
488
+ attr_accessor :post_conditions
489
+
490
+ # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
491
+ # Corresponds to the JSON property `upgrade`
492
+ # @return [Google::Apis::GkehubV1::ClusterUpgradeGkeUpgrade]
493
+ attr_accessor :upgrade
494
+
495
+ def initialize(**args)
496
+ update!(**args)
497
+ end
498
+
499
+ # Update properties of this object
500
+ def update!(**args)
501
+ @post_conditions = args[:post_conditions] if args.key?(:post_conditions)
502
+ @upgrade = args[:upgrade] if args.key?(:upgrade)
503
+ end
504
+ end
505
+
506
+ # GKEUpgradeState is a GKEUpgrade and its state at the scope and fleet level.
507
+ class ClusterUpgradeGkeUpgradeState
508
+ include Google::Apis::Core::Hashable
509
+
510
+ # Number of GKE clusters in each status code.
511
+ # Corresponds to the JSON property `stats`
512
+ # @return [Hash<String,Fixnum>]
513
+ attr_accessor :stats
514
+
515
+ # UpgradeStatus provides status information for each upgrade.
516
+ # Corresponds to the JSON property `status`
517
+ # @return [Google::Apis::GkehubV1::ClusterUpgradeUpgradeStatus]
518
+ attr_accessor :status
519
+
520
+ # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
521
+ # Corresponds to the JSON property `upgrade`
522
+ # @return [Google::Apis::GkehubV1::ClusterUpgradeGkeUpgrade]
523
+ attr_accessor :upgrade
524
+
525
+ def initialize(**args)
526
+ update!(**args)
527
+ end
528
+
529
+ # Update properties of this object
530
+ def update!(**args)
531
+ @stats = args[:stats] if args.key?(:stats)
532
+ @status = args[:status] if args.key?(:status)
533
+ @upgrade = args[:upgrade] if args.key?(:upgrade)
534
+ end
535
+ end
536
+
537
+ # IgnoredMembership represents a membership ignored by the feature. A membership
538
+ # can be ignored because it was manually upgraded to a newer version than RC
539
+ # default.
540
+ class ClusterUpgradeIgnoredMembership
541
+ include Google::Apis::Core::Hashable
542
+
543
+ # Time when the membership was first set to ignored.
544
+ # Corresponds to the JSON property `ignoredTime`
545
+ # @return [String]
546
+ attr_accessor :ignored_time
547
+
548
+ # Reason why the membership is ignored.
549
+ # Corresponds to the JSON property `reason`
550
+ # @return [String]
551
+ attr_accessor :reason
552
+
553
+ def initialize(**args)
554
+ update!(**args)
555
+ end
556
+
557
+ # Update properties of this object
558
+ def update!(**args)
559
+ @ignored_time = args[:ignored_time] if args.key?(:ignored_time)
560
+ @reason = args[:reason] if args.key?(:reason)
561
+ end
562
+ end
563
+
564
+ # ScopeGKEUpgradeState is a GKEUpgrade and its state per-membership.
565
+ class ClusterUpgradeMembershipGkeUpgradeState
566
+ include Google::Apis::Core::Hashable
567
+
568
+ # UpgradeStatus provides status information for each upgrade.
569
+ # Corresponds to the JSON property `status`
570
+ # @return [Google::Apis::GkehubV1::ClusterUpgradeUpgradeStatus]
571
+ attr_accessor :status
572
+
573
+ # GKEUpgrade represents a GKE provided upgrade, e.g., control plane upgrade.
574
+ # Corresponds to the JSON property `upgrade`
575
+ # @return [Google::Apis::GkehubV1::ClusterUpgradeGkeUpgrade]
576
+ attr_accessor :upgrade
577
+
578
+ def initialize(**args)
579
+ update!(**args)
580
+ end
581
+
582
+ # Update properties of this object
583
+ def update!(**args)
584
+ @status = args[:status] if args.key?(:status)
585
+ @upgrade = args[:upgrade] if args.key?(:upgrade)
586
+ end
587
+ end
588
+
589
+ # Per-membership state for this feature.
590
+ class ClusterUpgradeMembershipState
591
+ include Google::Apis::Core::Hashable
592
+
593
+ # Project number or id of the fleet. It is set only for Memberships that are
594
+ # part of fleet-based Rollout Sequencing.
595
+ # Corresponds to the JSON property `fleet`
596
+ # @return [String]
597
+ attr_accessor :fleet
598
+
599
+ # IgnoredMembership represents a membership ignored by the feature. A membership
600
+ # can be ignored because it was manually upgraded to a newer version than RC
601
+ # default.
602
+ # Corresponds to the JSON property `ignored`
603
+ # @return [Google::Apis::GkehubV1::ClusterUpgradeIgnoredMembership]
604
+ attr_accessor :ignored
605
+
606
+ # Fully qualified scope names that this clusters is bound to which also have
607
+ # rollout sequencing enabled.
608
+ # Corresponds to the JSON property `scopes`
609
+ # @return [Array<String>]
610
+ attr_accessor :scopes
611
+
612
+ # Actual upgrade state against desired.
613
+ # Corresponds to the JSON property `upgrades`
614
+ # @return [Array<Google::Apis::GkehubV1::ClusterUpgradeMembershipGkeUpgradeState>]
615
+ attr_accessor :upgrades
616
+
617
+ def initialize(**args)
618
+ update!(**args)
619
+ end
620
+
621
+ # Update properties of this object
622
+ def update!(**args)
623
+ @fleet = args[:fleet] if args.key?(:fleet)
624
+ @ignored = args[:ignored] if args.key?(:ignored)
625
+ @scopes = args[:scopes] if args.key?(:scopes)
626
+ @upgrades = args[:upgrades] if args.key?(:upgrades)
627
+ end
628
+ end
629
+
630
+ # Post conditional checks after an upgrade has been applied on all eligible
631
+ # clusters.
632
+ class ClusterUpgradePostConditions
633
+ include Google::Apis::Core::Hashable
634
+
635
+ # Required. Amount of time to "soak" after a rollout has been finished before
636
+ # marking it COMPLETE. Cannot exceed 30 days. Required.
637
+ # Corresponds to the JSON property `soaking`
638
+ # @return [String]
639
+ attr_accessor :soaking
640
+
641
+ def initialize(**args)
642
+ update!(**args)
643
+ end
644
+
645
+ # Update properties of this object
646
+ def update!(**args)
647
+ @soaking = args[:soaking] if args.key?(:soaking)
648
+ end
649
+ end
650
+
651
+ # UpgradeStatus provides status information for each upgrade.
652
+ class ClusterUpgradeUpgradeStatus
653
+ include Google::Apis::Core::Hashable
654
+
655
+ # Status code of the upgrade.
656
+ # Corresponds to the JSON property `code`
657
+ # @return [String]
658
+ attr_accessor :code
659
+
660
+ # Reason for this status.
661
+ # Corresponds to the JSON property `reason`
662
+ # @return [String]
663
+ attr_accessor :reason
664
+
665
+ # Last timestamp the status was updated.
666
+ # Corresponds to the JSON property `updateTime`
667
+ # @return [String]
668
+ attr_accessor :update_time
669
+
670
+ def initialize(**args)
671
+ update!(**args)
672
+ end
673
+
674
+ # Update properties of this object
675
+ def update!(**args)
676
+ @code = args[:code] if args.key?(:code)
677
+ @reason = args[:reason] if args.key?(:reason)
678
+ @update_time = args[:update_time] if args.key?(:update_time)
679
+ end
680
+ end
681
+
292
682
  # CommonFeatureSpec contains Hub-wide configuration information
293
683
  class CommonFeatureSpec
294
684
  include Google::Apis::Core::Hashable
@@ -298,6 +688,12 @@ module Google
298
688
  # @return [Google::Apis::GkehubV1::AppDevExperienceFeatureSpec]
299
689
  attr_accessor :appdevexperience
300
690
 
691
+ # **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade
692
+ # feature.
693
+ # Corresponds to the JSON property `clusterupgrade`
694
+ # @return [Google::Apis::GkehubV1::ClusterUpgradeFleetSpec]
695
+ attr_accessor :clusterupgrade
696
+
301
697
  # **Fleet Observability**: The Hub-wide input for the FleetObservability feature.
302
698
  # Corresponds to the JSON property `fleetobservability`
303
699
  # @return [Google::Apis::GkehubV1::FleetObservabilityFeatureSpec]
@@ -316,6 +712,7 @@ module Google
316
712
  # Update properties of this object
317
713
  def update!(**args)
318
714
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
715
+ @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
319
716
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
320
717
  @multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
321
718
  end
@@ -330,6 +727,11 @@ module Google
330
727
  # @return [Google::Apis::GkehubV1::AppDevExperienceFeatureState]
331
728
  attr_accessor :appdevexperience
332
729
 
730
+ # **ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature.
731
+ # Corresponds to the JSON property `clusterupgrade`
732
+ # @return [Google::Apis::GkehubV1::ClusterUpgradeFleetState]
733
+ attr_accessor :clusterupgrade
734
+
333
735
  # **FleetObservability**: Hub-wide Feature for FleetObservability feature. state.
334
736
  # Corresponds to the JSON property `fleetobservability`
335
737
  # @return [Google::Apis::GkehubV1::FleetObservabilityFeatureState]
@@ -349,6 +751,7 @@ module Google
349
751
  # Update properties of this object
350
752
  def update!(**args)
351
753
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
754
+ @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
352
755
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
353
756
  @state = args[:state] if args.key?(:state)
354
757
  end
@@ -449,14 +852,6 @@ module Google
449
852
  # @return [String]
450
853
  attr_accessor :source_format
451
854
 
452
- # Set to true to stop syncing configs for a single cluster when automatic
453
- # Feature management is enabled. Default to false. The field will be ignored
454
- # when automatic Feature management is disabled.
455
- # Corresponds to the JSON property `stopSyncing`
456
- # @return [Boolean]
457
- attr_accessor :stop_syncing
458
- alias_method :stop_syncing?, :stop_syncing
459
-
460
855
  def initialize(**args)
461
856
  update!(**args)
462
857
  end
@@ -470,7 +865,6 @@ module Google
470
865
  @oci = args[:oci] if args.key?(:oci)
471
866
  @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
472
867
  @source_format = args[:source_format] if args.key?(:source_format)
473
- @stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
474
868
  end
475
869
  end
476
870
 
@@ -957,11 +1351,6 @@ module Google
957
1351
  # @return [Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig]
958
1352
  attr_accessor :hierarchy_controller
959
1353
 
960
- # Enables automatic Feature management.
961
- # Corresponds to the JSON property `management`
962
- # @return [String]
963
- attr_accessor :management
964
-
965
1354
  # Configuration for Policy Controller
966
1355
  # Corresponds to the JSON property `policyController`
967
1356
  # @return [Google::Apis::GkehubV1::ConfigManagementPolicyController]
@@ -981,7 +1370,6 @@ module Google
981
1370
  @cluster = args[:cluster] if args.key?(:cluster)
982
1371
  @config_sync = args[:config_sync] if args.key?(:config_sync)
983
1372
  @hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
984
- @management = args[:management] if args.key?(:management)
985
1373
  @policy_controller = args[:policy_controller] if args.key?(:policy_controller)
986
1374
  @version = args[:version] if args.key?(:version)
987
1375
  end
@@ -1414,6 +1802,12 @@ module Google
1414
1802
  class DefaultClusterConfig
1415
1803
  include Google::Apis::Core::Hashable
1416
1804
 
1805
+ # BinaryAuthorizationConfig defines the fleet level configuration of binary
1806
+ # authorization feature.
1807
+ # Corresponds to the JSON property `binaryAuthorizationConfig`
1808
+ # @return [Google::Apis::GkehubV1::BinaryAuthorizationConfig]
1809
+ attr_accessor :binary_authorization_config
1810
+
1417
1811
  # SecurityPostureConfig defines the flags needed to enable/disable features for
1418
1812
  # the Security Posture API.
1419
1813
  # Corresponds to the JSON property `securityPostureConfig`
@@ -1426,6 +1820,7 @@ module Google
1426
1820
 
1427
1821
  # Update properties of this object
1428
1822
  def update!(**args)
1823
+ @binary_authorization_config = args[:binary_authorization_config] if args.key?(:binary_authorization_config)
1429
1824
  @security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
1430
1825
  end
1431
1826
  end
@@ -3089,6 +3484,11 @@ module Google
3089
3484
  # @return [Google::Apis::GkehubV1::AppDevExperienceFeatureState]
3090
3485
  attr_accessor :appdevexperience
3091
3486
 
3487
+ # Per-membership state for this feature.
3488
+ # Corresponds to the JSON property `clusterupgrade`
3489
+ # @return [Google::Apis::GkehubV1::ClusterUpgradeMembershipState]
3490
+ attr_accessor :clusterupgrade
3491
+
3092
3492
  # **Anthos Config Management**: State for a single cluster.
3093
3493
  # Corresponds to the JSON property `configmanagement`
3094
3494
  # @return [Google::Apis::GkehubV1::ConfigManagementMembershipState]
@@ -3130,6 +3530,7 @@ module Google
3130
3530
  # Update properties of this object
3131
3531
  def update!(**args)
3132
3532
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
3533
+ @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
3133
3534
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
3134
3535
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
3135
3536
  @identityservice = args[:identityservice] if args.key?(:identityservice)
@@ -3634,6 +4035,27 @@ module Google
3634
4035
  end
3635
4036
  end
3636
4037
 
4038
+ # Binauthz policy that applies to this cluster.
4039
+ class PolicyBinding
4040
+ include Google::Apis::Core::Hashable
4041
+
4042
+ # The relative resource name of the binauthz platform policy to audit. GKE
4043
+ # platform policies have the following format: `projects/`project_number`/
4044
+ # platforms/gke/policies/`policy_id``.
4045
+ # Corresponds to the JSON property `name`
4046
+ # @return [String]
4047
+ attr_accessor :name
4048
+
4049
+ def initialize(**args)
4050
+ update!(**args)
4051
+ end
4052
+
4053
+ # Update properties of this object
4054
+ def update!(**args)
4055
+ @name = args[:name] if args.key?(:name)
4056
+ end
4057
+ end
4058
+
3637
4059
  # BundleInstallSpec is the specification configuration for a single managed
3638
4060
  # bundle.
3639
4061
  class PolicyControllerBundleInstallSpec
@@ -4081,9 +4503,9 @@ module Google
4081
4503
  attr_accessor :labels
4082
4504
 
4083
4505
  # The resource name for the rbacrolebinding `projects/`project`/locations/`
4084
- # location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
4085
- # projects/`project`/locations/`location`/memberships/`membership`/
4086
- # rbacrolebindings/`rbacrolebinding``
4506
+ # location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
4507
+ # project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
4508
+ # rbacrolebinding``
4087
4509
  # Corresponds to the JSON property `name`
4088
4510
  # @return [String]
4089
4511
  attr_accessor :name
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1
18
18
  # Version of the google-apis-gkehub_v1 gem
19
- GEM_VERSION = "0.62.0"
19
+ GEM_VERSION = "0.63.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 = "20231103"
25
+ REVISION = "20231114"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class BinaryAuthorizationConfig
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class Binding
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -70,6 +76,78 @@ module Google
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class ClusterUpgradeFleetSpec
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class ClusterUpgradeFleetState
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class ClusterUpgradeGkeUpgrade
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class ClusterUpgradeGkeUpgradeFeatureCondition
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class ClusterUpgradeGkeUpgradeFeatureState
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class ClusterUpgradeGkeUpgradeOverride
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class ClusterUpgradeGkeUpgradeState
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class ClusterUpgradeIgnoredMembership
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class ClusterUpgradeMembershipGkeUpgradeState
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ClusterUpgradeMembershipState
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class ClusterUpgradePostConditions
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class ClusterUpgradeUpgradeStatus
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
73
151
  class CommonFeatureSpec
74
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
153
 
@@ -586,6 +664,12 @@ module Google
586
664
  include Google::Apis::Core::JsonObjectSupport
587
665
  end
588
666
 
667
+ class PolicyBinding
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
589
673
  class PolicyControllerBundleInstallSpec
590
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
675
 
@@ -832,6 +916,15 @@ module Google
832
916
  end
833
917
  end
834
918
 
919
+ class BinaryAuthorizationConfig
920
+ # @private
921
+ class Representation < Google::Apis::Core::JsonRepresentation
922
+ property :evaluation_mode, as: 'evaluationMode'
923
+ collection :policy_bindings, as: 'policyBindings', class: Google::Apis::GkehubV1::PolicyBinding, decorator: Google::Apis::GkehubV1::PolicyBinding::Representation
924
+
925
+ end
926
+ end
927
+
835
928
  class Binding
836
929
  # @private
837
930
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -848,11 +941,130 @@ module Google
848
941
  end
849
942
  end
850
943
 
944
+ class ClusterUpgradeFleetSpec
945
+ # @private
946
+ class Representation < Google::Apis::Core::JsonRepresentation
947
+ collection :gke_upgrade_overrides, as: 'gkeUpgradeOverrides', class: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeOverride, decorator: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeOverride::Representation
948
+
949
+ property :post_conditions, as: 'postConditions', class: Google::Apis::GkehubV1::ClusterUpgradePostConditions, decorator: Google::Apis::GkehubV1::ClusterUpgradePostConditions::Representation
950
+
951
+ collection :upstream_fleets, as: 'upstreamFleets'
952
+ end
953
+ end
954
+
955
+ class ClusterUpgradeFleetState
956
+ # @private
957
+ class Representation < Google::Apis::Core::JsonRepresentation
958
+ collection :downstream_fleets, as: 'downstreamFleets'
959
+ property :gke_state, as: 'gkeState', class: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeFeatureState, decorator: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeFeatureState::Representation
960
+
961
+ hash :ignored, as: 'ignored', class: Google::Apis::GkehubV1::ClusterUpgradeIgnoredMembership, decorator: Google::Apis::GkehubV1::ClusterUpgradeIgnoredMembership::Representation
962
+
963
+ end
964
+ end
965
+
966
+ class ClusterUpgradeGkeUpgrade
967
+ # @private
968
+ class Representation < Google::Apis::Core::JsonRepresentation
969
+ property :name, as: 'name'
970
+ property :version, as: 'version'
971
+ end
972
+ end
973
+
974
+ class ClusterUpgradeGkeUpgradeFeatureCondition
975
+ # @private
976
+ class Representation < Google::Apis::Core::JsonRepresentation
977
+ property :reason, as: 'reason'
978
+ property :status, as: 'status'
979
+ property :type, as: 'type'
980
+ property :update_time, as: 'updateTime'
981
+ end
982
+ end
983
+
984
+ class ClusterUpgradeGkeUpgradeFeatureState
985
+ # @private
986
+ class Representation < Google::Apis::Core::JsonRepresentation
987
+ collection :conditions, as: 'conditions', class: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeFeatureCondition, decorator: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeFeatureCondition::Representation
988
+
989
+ collection :upgrade_state, as: 'upgradeState', class: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeState, decorator: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgradeState::Representation
990
+
991
+ end
992
+ end
993
+
994
+ class ClusterUpgradeGkeUpgradeOverride
995
+ # @private
996
+ class Representation < Google::Apis::Core::JsonRepresentation
997
+ property :post_conditions, as: 'postConditions', class: Google::Apis::GkehubV1::ClusterUpgradePostConditions, decorator: Google::Apis::GkehubV1::ClusterUpgradePostConditions::Representation
998
+
999
+ property :upgrade, as: 'upgrade', class: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgrade, decorator: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgrade::Representation
1000
+
1001
+ end
1002
+ end
1003
+
1004
+ class ClusterUpgradeGkeUpgradeState
1005
+ # @private
1006
+ class Representation < Google::Apis::Core::JsonRepresentation
1007
+ hash :stats, as: 'stats'
1008
+ property :status, as: 'status', class: Google::Apis::GkehubV1::ClusterUpgradeUpgradeStatus, decorator: Google::Apis::GkehubV1::ClusterUpgradeUpgradeStatus::Representation
1009
+
1010
+ property :upgrade, as: 'upgrade', class: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgrade, decorator: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgrade::Representation
1011
+
1012
+ end
1013
+ end
1014
+
1015
+ class ClusterUpgradeIgnoredMembership
1016
+ # @private
1017
+ class Representation < Google::Apis::Core::JsonRepresentation
1018
+ property :ignored_time, as: 'ignoredTime'
1019
+ property :reason, as: 'reason'
1020
+ end
1021
+ end
1022
+
1023
+ class ClusterUpgradeMembershipGkeUpgradeState
1024
+ # @private
1025
+ class Representation < Google::Apis::Core::JsonRepresentation
1026
+ property :status, as: 'status', class: Google::Apis::GkehubV1::ClusterUpgradeUpgradeStatus, decorator: Google::Apis::GkehubV1::ClusterUpgradeUpgradeStatus::Representation
1027
+
1028
+ property :upgrade, as: 'upgrade', class: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgrade, decorator: Google::Apis::GkehubV1::ClusterUpgradeGkeUpgrade::Representation
1029
+
1030
+ end
1031
+ end
1032
+
1033
+ class ClusterUpgradeMembershipState
1034
+ # @private
1035
+ class Representation < Google::Apis::Core::JsonRepresentation
1036
+ property :fleet, as: 'fleet'
1037
+ property :ignored, as: 'ignored', class: Google::Apis::GkehubV1::ClusterUpgradeIgnoredMembership, decorator: Google::Apis::GkehubV1::ClusterUpgradeIgnoredMembership::Representation
1038
+
1039
+ collection :scopes, as: 'scopes'
1040
+ collection :upgrades, as: 'upgrades', class: Google::Apis::GkehubV1::ClusterUpgradeMembershipGkeUpgradeState, decorator: Google::Apis::GkehubV1::ClusterUpgradeMembershipGkeUpgradeState::Representation
1041
+
1042
+ end
1043
+ end
1044
+
1045
+ class ClusterUpgradePostConditions
1046
+ # @private
1047
+ class Representation < Google::Apis::Core::JsonRepresentation
1048
+ property :soaking, as: 'soaking'
1049
+ end
1050
+ end
1051
+
1052
+ class ClusterUpgradeUpgradeStatus
1053
+ # @private
1054
+ class Representation < Google::Apis::Core::JsonRepresentation
1055
+ property :code, as: 'code'
1056
+ property :reason, as: 'reason'
1057
+ property :update_time, as: 'updateTime'
1058
+ end
1059
+ end
1060
+
851
1061
  class CommonFeatureSpec
852
1062
  # @private
853
1063
  class Representation < Google::Apis::Core::JsonRepresentation
854
1064
  property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1::AppDevExperienceFeatureSpec, decorator: Google::Apis::GkehubV1::AppDevExperienceFeatureSpec::Representation
855
1065
 
1066
+ property :clusterupgrade, as: 'clusterupgrade', class: Google::Apis::GkehubV1::ClusterUpgradeFleetSpec, decorator: Google::Apis::GkehubV1::ClusterUpgradeFleetSpec::Representation
1067
+
856
1068
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1::FleetObservabilityFeatureSpec, decorator: Google::Apis::GkehubV1::FleetObservabilityFeatureSpec::Representation
857
1069
 
858
1070
  property :multiclusteringress, as: 'multiclusteringress', class: Google::Apis::GkehubV1::MultiClusterIngressFeatureSpec, decorator: Google::Apis::GkehubV1::MultiClusterIngressFeatureSpec::Representation
@@ -865,6 +1077,8 @@ module Google
865
1077
  class Representation < Google::Apis::Core::JsonRepresentation
866
1078
  property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1::AppDevExperienceFeatureState::Representation
867
1079
 
1080
+ property :clusterupgrade, as: 'clusterupgrade', class: Google::Apis::GkehubV1::ClusterUpgradeFleetState, decorator: Google::Apis::GkehubV1::ClusterUpgradeFleetState::Representation
1081
+
868
1082
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1::FleetObservabilityFeatureState, decorator: Google::Apis::GkehubV1::FleetObservabilityFeatureState::Representation
869
1083
 
870
1084
  property :state, as: 'state', class: Google::Apis::GkehubV1::FeatureState, decorator: Google::Apis::GkehubV1::FeatureState::Representation
@@ -898,7 +1112,6 @@ module Google
898
1112
 
899
1113
  property :prevent_drift, as: 'preventDrift'
900
1114
  property :source_format, as: 'sourceFormat'
901
- property :stop_syncing, as: 'stopSyncing'
902
1115
  end
903
1116
  end
904
1117
 
@@ -1042,7 +1255,6 @@ module Google
1042
1255
 
1043
1256
  property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig::Representation
1044
1257
 
1045
- property :management, as: 'management'
1046
1258
  property :policy_controller, as: 'policyController', class: Google::Apis::GkehubV1::ConfigManagementPolicyController, decorator: Google::Apis::GkehubV1::ConfigManagementPolicyController::Representation
1047
1259
 
1048
1260
  property :version, as: 'version'
@@ -1173,6 +1385,8 @@ module Google
1173
1385
  class DefaultClusterConfig
1174
1386
  # @private
1175
1387
  class Representation < Google::Apis::Core::JsonRepresentation
1388
+ property :binary_authorization_config, as: 'binaryAuthorizationConfig', class: Google::Apis::GkehubV1::BinaryAuthorizationConfig, decorator: Google::Apis::GkehubV1::BinaryAuthorizationConfig::Representation
1389
+
1176
1390
  property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::GkehubV1::SecurityPostureConfig, decorator: Google::Apis::GkehubV1::SecurityPostureConfig::Representation
1177
1391
 
1178
1392
  end
@@ -1653,6 +1867,8 @@ module Google
1653
1867
  class Representation < Google::Apis::Core::JsonRepresentation
1654
1868
  property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1::AppDevExperienceFeatureState::Representation
1655
1869
 
1870
+ property :clusterupgrade, as: 'clusterupgrade', class: Google::Apis::GkehubV1::ClusterUpgradeMembershipState, decorator: Google::Apis::GkehubV1::ClusterUpgradeMembershipState::Representation
1871
+
1656
1872
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1::ConfigManagementMembershipState::Representation
1657
1873
 
1658
1874
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1::FleetObservabilityMembershipState, decorator: Google::Apis::GkehubV1::FleetObservabilityMembershipState::Representation
@@ -1778,6 +1994,13 @@ module Google
1778
1994
  end
1779
1995
  end
1780
1996
 
1997
+ class PolicyBinding
1998
+ # @private
1999
+ class Representation < Google::Apis::Core::JsonRepresentation
2000
+ property :name, as: 'name'
2001
+ end
2002
+ end
2003
+
1781
2004
  class PolicyControllerBundleInstallSpec
1782
2005
  # @private
1783
2006
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2060,9 +2060,9 @@ module Google
2060
2060
  # Updates a Scope RBACRoleBinding.
2061
2061
  # @param [String] name
2062
2062
  # The resource name for the rbacrolebinding `projects/`project`/locations/`
2063
- # location`/namespaces/`namespace`/rbacrolebindings/`rbacrolebinding`` or `
2064
- # projects/`project`/locations/`location`/memberships/`membership`/
2065
- # rbacrolebindings/`rbacrolebinding``
2063
+ # location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
2064
+ # project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
2065
+ # rbacrolebinding``
2066
2066
  # @param [Google::Apis::GkehubV1::RbacRoleBinding] rbac_role_binding_object
2067
2067
  # @param [String] update_mask
2068
2068
  # Required. The fields to be updated.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-gkehub_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.62.0
4
+ version: 0.63.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-12 00:00:00.000000000 Z
11
+ date: 2023-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.62.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1/v0.63.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-gkehub_v1
63
63
  post_install_message:
64
64
  rdoc_options: []