google-apis-gkehub_v1 0.62.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: 8f7c2546f5f14a1196d67f960f932e0aece77ea07c07b62b076c8f44033ce4fa
4
- data.tar.gz: 95665b93d4a9dd3bc4f749c0e5c138b1543cf74fcc9e16e148d768046d49d1e7
3
+ metadata.gz: 9c0444129b1cf120787f0fff38b2fbaf5a9d514ffda9af84edd4014899e84a9f
4
+ data.tar.gz: cefb178944c2c16b5972bbf071174740e5b65f5c570898105de8b4e9dddb7b6a
5
5
  SHA512:
6
- metadata.gz: 01c9fa5cbf6a0ac99d01779cfeaf12e426c3fcfb8468bda3d79e96201667aabc8315cdfc86a41e845d12c09f11ff7ee84df1e628a138c241a4876fe99e15df1a
7
- data.tar.gz: 55a6e882ae7eb319e8576a0dcd15d0feaa83ff145983af597ae98883d91d4a75f8e72baa78ee5b97779dbc2e23f0f6d47214208f6d3b06a103fa3f68cdb9c234
6
+ metadata.gz: d526bfe43910c984dc95e7e3b51be2a37ea38df20cd34f50b56566276953e597dceab63f50b599965336083af0acd504ec9c013b771fed363555bae0880352e7
7
+ data.tar.gz: cd5233e4c921395a7158855fbfa4ab2bf07ffa417274ae5f094712113ba08464db97198dea2da4e32fe3250106735970ed03e3c440e4e0703cabddc78801505f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-gkehub_v1
2
2
 
3
+ ### v0.64.0 (2023-12-10)
4
+
5
+ * Regenerated from discovery document revision 20231201
6
+
7
+ ### v0.63.0 (2023-11-19)
8
+
9
+ * Regenerated from discovery document revision 20231114
10
+
3
11
  ### v0.62.0 (2023-11-12)
4
12
 
5
13
  * 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,356 @@ 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
+ # IgnoredMembership represents a membership ignored by the feature. A membership
594
+ # can be ignored because it was manually upgraded to a newer version than RC
595
+ # default.
596
+ # Corresponds to the JSON property `ignored`
597
+ # @return [Google::Apis::GkehubV1::ClusterUpgradeIgnoredMembership]
598
+ attr_accessor :ignored
599
+
600
+ # Actual upgrade state against desired.
601
+ # Corresponds to the JSON property `upgrades`
602
+ # @return [Array<Google::Apis::GkehubV1::ClusterUpgradeMembershipGkeUpgradeState>]
603
+ attr_accessor :upgrades
604
+
605
+ def initialize(**args)
606
+ update!(**args)
607
+ end
608
+
609
+ # Update properties of this object
610
+ def update!(**args)
611
+ @ignored = args[:ignored] if args.key?(:ignored)
612
+ @upgrades = args[:upgrades] if args.key?(:upgrades)
613
+ end
614
+ end
615
+
616
+ # Post conditional checks after an upgrade has been applied on all eligible
617
+ # clusters.
618
+ class ClusterUpgradePostConditions
619
+ include Google::Apis::Core::Hashable
620
+
621
+ # Required. Amount of time to "soak" after a rollout has been finished before
622
+ # marking it COMPLETE. Cannot exceed 30 days. Required.
623
+ # Corresponds to the JSON property `soaking`
624
+ # @return [String]
625
+ attr_accessor :soaking
626
+
627
+ def initialize(**args)
628
+ update!(**args)
629
+ end
630
+
631
+ # Update properties of this object
632
+ def update!(**args)
633
+ @soaking = args[:soaking] if args.key?(:soaking)
634
+ end
635
+ end
636
+
637
+ # UpgradeStatus provides status information for each upgrade.
638
+ class ClusterUpgradeUpgradeStatus
639
+ include Google::Apis::Core::Hashable
640
+
641
+ # Status code of the upgrade.
642
+ # Corresponds to the JSON property `code`
643
+ # @return [String]
644
+ attr_accessor :code
645
+
646
+ # Reason for this status.
647
+ # Corresponds to the JSON property `reason`
648
+ # @return [String]
649
+ attr_accessor :reason
650
+
651
+ # Last timestamp the status was updated.
652
+ # Corresponds to the JSON property `updateTime`
653
+ # @return [String]
654
+ attr_accessor :update_time
655
+
656
+ def initialize(**args)
657
+ update!(**args)
658
+ end
659
+
660
+ # Update properties of this object
661
+ def update!(**args)
662
+ @code = args[:code] if args.key?(:code)
663
+ @reason = args[:reason] if args.key?(:reason)
664
+ @update_time = args[:update_time] if args.key?(:update_time)
665
+ end
666
+ end
667
+
292
668
  # CommonFeatureSpec contains Hub-wide configuration information
293
669
  class CommonFeatureSpec
294
670
  include Google::Apis::Core::Hashable
@@ -298,6 +674,12 @@ module Google
298
674
  # @return [Google::Apis::GkehubV1::AppDevExperienceFeatureSpec]
299
675
  attr_accessor :appdevexperience
300
676
 
677
+ # **ClusterUpgrade**: The configuration for the fleet-level ClusterUpgrade
678
+ # feature.
679
+ # Corresponds to the JSON property `clusterupgrade`
680
+ # @return [Google::Apis::GkehubV1::ClusterUpgradeFleetSpec]
681
+ attr_accessor :clusterupgrade
682
+
301
683
  # **Fleet Observability**: The Hub-wide input for the FleetObservability feature.
302
684
  # Corresponds to the JSON property `fleetobservability`
303
685
  # @return [Google::Apis::GkehubV1::FleetObservabilityFeatureSpec]
@@ -316,6 +698,7 @@ module Google
316
698
  # Update properties of this object
317
699
  def update!(**args)
318
700
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
701
+ @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
319
702
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
320
703
  @multiclusteringress = args[:multiclusteringress] if args.key?(:multiclusteringress)
321
704
  end
@@ -330,6 +713,11 @@ module Google
330
713
  # @return [Google::Apis::GkehubV1::AppDevExperienceFeatureState]
331
714
  attr_accessor :appdevexperience
332
715
 
716
+ # **ClusterUpgrade**: The state for the fleet-level ClusterUpgrade feature.
717
+ # Corresponds to the JSON property `clusterupgrade`
718
+ # @return [Google::Apis::GkehubV1::ClusterUpgradeFleetState]
719
+ attr_accessor :clusterupgrade
720
+
333
721
  # **FleetObservability**: Hub-wide Feature for FleetObservability feature. state.
334
722
  # Corresponds to the JSON property `fleetobservability`
335
723
  # @return [Google::Apis::GkehubV1::FleetObservabilityFeatureState]
@@ -349,6 +737,7 @@ module Google
349
737
  # Update properties of this object
350
738
  def update!(**args)
351
739
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
740
+ @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
352
741
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
353
742
  @state = args[:state] if args.key?(:state)
354
743
  end
@@ -424,8 +813,7 @@ module Google
424
813
  # Sync metrics to Cloud Monitoring and Cloud Monarch when Workload Identity is
425
814
  # enabled. The GSA should have the Monitoring Metric Writer (roles/monitoring.
426
815
  # metricWriter) IAM role. The Kubernetes ServiceAccount `default` in the
427
- # namespace `config-management-monitoring` should be bound to the GSA. This
428
- # field is required when automatic Feature management is enabled.
816
+ # namespace `config-management-monitoring` should be bound to the GSA.
429
817
  # Corresponds to the JSON property `metricsGcpServiceAccountEmail`
430
818
  # @return [String]
431
819
  attr_accessor :metrics_gcp_service_account_email
@@ -449,14 +837,6 @@ module Google
449
837
  # @return [String]
450
838
  attr_accessor :source_format
451
839
 
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
840
  def initialize(**args)
461
841
  update!(**args)
462
842
  end
@@ -470,7 +850,6 @@ module Google
470
850
  @oci = args[:oci] if args.key?(:oci)
471
851
  @prevent_drift = args[:prevent_drift] if args.key?(:prevent_drift)
472
852
  @source_format = args[:source_format] if args.key?(:source_format)
473
- @stop_syncing = args[:stop_syncing] if args.key?(:stop_syncing)
474
853
  end
475
854
  end
476
855
 
@@ -957,11 +1336,6 @@ module Google
957
1336
  # @return [Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig]
958
1337
  attr_accessor :hierarchy_controller
959
1338
 
960
- # Enables automatic Feature management.
961
- # Corresponds to the JSON property `management`
962
- # @return [String]
963
- attr_accessor :management
964
-
965
1339
  # Configuration for Policy Controller
966
1340
  # Corresponds to the JSON property `policyController`
967
1341
  # @return [Google::Apis::GkehubV1::ConfigManagementPolicyController]
@@ -981,7 +1355,6 @@ module Google
981
1355
  @cluster = args[:cluster] if args.key?(:cluster)
982
1356
  @config_sync = args[:config_sync] if args.key?(:config_sync)
983
1357
  @hierarchy_controller = args[:hierarchy_controller] if args.key?(:hierarchy_controller)
984
- @management = args[:management] if args.key?(:management)
985
1358
  @policy_controller = args[:policy_controller] if args.key?(:policy_controller)
986
1359
  @version = args[:version] if args.key?(:version)
987
1360
  end
@@ -1414,6 +1787,12 @@ module Google
1414
1787
  class DefaultClusterConfig
1415
1788
  include Google::Apis::Core::Hashable
1416
1789
 
1790
+ # BinaryAuthorizationConfig defines the fleet level configuration of binary
1791
+ # authorization feature.
1792
+ # Corresponds to the JSON property `binaryAuthorizationConfig`
1793
+ # @return [Google::Apis::GkehubV1::BinaryAuthorizationConfig]
1794
+ attr_accessor :binary_authorization_config
1795
+
1417
1796
  # SecurityPostureConfig defines the flags needed to enable/disable features for
1418
1797
  # the Security Posture API.
1419
1798
  # Corresponds to the JSON property `securityPostureConfig`
@@ -1426,6 +1805,7 @@ module Google
1426
1805
 
1427
1806
  # Update properties of this object
1428
1807
  def update!(**args)
1808
+ @binary_authorization_config = args[:binary_authorization_config] if args.key?(:binary_authorization_config)
1429
1809
  @security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
1430
1810
  end
1431
1811
  end
@@ -3089,6 +3469,11 @@ module Google
3089
3469
  # @return [Google::Apis::GkehubV1::AppDevExperienceFeatureState]
3090
3470
  attr_accessor :appdevexperience
3091
3471
 
3472
+ # Per-membership state for this feature.
3473
+ # Corresponds to the JSON property `clusterupgrade`
3474
+ # @return [Google::Apis::GkehubV1::ClusterUpgradeMembershipState]
3475
+ attr_accessor :clusterupgrade
3476
+
3092
3477
  # **Anthos Config Management**: State for a single cluster.
3093
3478
  # Corresponds to the JSON property `configmanagement`
3094
3479
  # @return [Google::Apis::GkehubV1::ConfigManagementMembershipState]
@@ -3130,6 +3515,7 @@ module Google
3130
3515
  # Update properties of this object
3131
3516
  def update!(**args)
3132
3517
  @appdevexperience = args[:appdevexperience] if args.key?(:appdevexperience)
3518
+ @clusterupgrade = args[:clusterupgrade] if args.key?(:clusterupgrade)
3133
3519
  @configmanagement = args[:configmanagement] if args.key?(:configmanagement)
3134
3520
  @fleetobservability = args[:fleetobservability] if args.key?(:fleetobservability)
3135
3521
  @identityservice = args[:identityservice] if args.key?(:identityservice)
@@ -3634,6 +4020,27 @@ module Google
3634
4020
  end
3635
4021
  end
3636
4022
 
4023
+ # Binauthz policy that applies to this cluster.
4024
+ class PolicyBinding
4025
+ include Google::Apis::Core::Hashable
4026
+
4027
+ # The relative resource name of the binauthz platform policy to audit. GKE
4028
+ # platform policies have the following format: `projects/`project_number`/
4029
+ # platforms/gke/policies/`policy_id``.
4030
+ # Corresponds to the JSON property `name`
4031
+ # @return [String]
4032
+ attr_accessor :name
4033
+
4034
+ def initialize(**args)
4035
+ update!(**args)
4036
+ end
4037
+
4038
+ # Update properties of this object
4039
+ def update!(**args)
4040
+ @name = args[:name] if args.key?(:name)
4041
+ end
4042
+ end
4043
+
3637
4044
  # BundleInstallSpec is the specification configuration for a single managed
3638
4045
  # bundle.
3639
4046
  class PolicyControllerBundleInstallSpec
@@ -4081,9 +4488,9 @@ module Google
4081
4488
  attr_accessor :labels
4082
4489
 
4083
4490
  # 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``
4491
+ # location`/scopes/`scope`/rbacrolebindings/`rbacrolebinding`` or `projects/`
4492
+ # project`/locations/`location`/memberships/`membership`/rbacrolebindings/`
4493
+ # rbacrolebinding``
4087
4494
  # Corresponds to the JSON property `name`
4088
4495
  # @return [String]
4089
4496
  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.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 = "20231103"
25
+ REVISION = "20231201"
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,128 @@ 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 :ignored, as: 'ignored', class: Google::Apis::GkehubV1::ClusterUpgradeIgnoredMembership, decorator: Google::Apis::GkehubV1::ClusterUpgradeIgnoredMembership::Representation
1037
+
1038
+ collection :upgrades, as: 'upgrades', class: Google::Apis::GkehubV1::ClusterUpgradeMembershipGkeUpgradeState, decorator: Google::Apis::GkehubV1::ClusterUpgradeMembershipGkeUpgradeState::Representation
1039
+
1040
+ end
1041
+ end
1042
+
1043
+ class ClusterUpgradePostConditions
1044
+ # @private
1045
+ class Representation < Google::Apis::Core::JsonRepresentation
1046
+ property :soaking, as: 'soaking'
1047
+ end
1048
+ end
1049
+
1050
+ class ClusterUpgradeUpgradeStatus
1051
+ # @private
1052
+ class Representation < Google::Apis::Core::JsonRepresentation
1053
+ property :code, as: 'code'
1054
+ property :reason, as: 'reason'
1055
+ property :update_time, as: 'updateTime'
1056
+ end
1057
+ end
1058
+
851
1059
  class CommonFeatureSpec
852
1060
  # @private
853
1061
  class Representation < Google::Apis::Core::JsonRepresentation
854
1062
  property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1::AppDevExperienceFeatureSpec, decorator: Google::Apis::GkehubV1::AppDevExperienceFeatureSpec::Representation
855
1063
 
1064
+ property :clusterupgrade, as: 'clusterupgrade', class: Google::Apis::GkehubV1::ClusterUpgradeFleetSpec, decorator: Google::Apis::GkehubV1::ClusterUpgradeFleetSpec::Representation
1065
+
856
1066
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1::FleetObservabilityFeatureSpec, decorator: Google::Apis::GkehubV1::FleetObservabilityFeatureSpec::Representation
857
1067
 
858
1068
  property :multiclusteringress, as: 'multiclusteringress', class: Google::Apis::GkehubV1::MultiClusterIngressFeatureSpec, decorator: Google::Apis::GkehubV1::MultiClusterIngressFeatureSpec::Representation
@@ -865,6 +1075,8 @@ module Google
865
1075
  class Representation < Google::Apis::Core::JsonRepresentation
866
1076
  property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1::AppDevExperienceFeatureState::Representation
867
1077
 
1078
+ property :clusterupgrade, as: 'clusterupgrade', class: Google::Apis::GkehubV1::ClusterUpgradeFleetState, decorator: Google::Apis::GkehubV1::ClusterUpgradeFleetState::Representation
1079
+
868
1080
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1::FleetObservabilityFeatureState, decorator: Google::Apis::GkehubV1::FleetObservabilityFeatureState::Representation
869
1081
 
870
1082
  property :state, as: 'state', class: Google::Apis::GkehubV1::FeatureState, decorator: Google::Apis::GkehubV1::FeatureState::Representation
@@ -898,7 +1110,6 @@ module Google
898
1110
 
899
1111
  property :prevent_drift, as: 'preventDrift'
900
1112
  property :source_format, as: 'sourceFormat'
901
- property :stop_syncing, as: 'stopSyncing'
902
1113
  end
903
1114
  end
904
1115
 
@@ -1042,7 +1253,6 @@ module Google
1042
1253
 
1043
1254
  property :hierarchy_controller, as: 'hierarchyController', class: Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig, decorator: Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig::Representation
1044
1255
 
1045
- property :management, as: 'management'
1046
1256
  property :policy_controller, as: 'policyController', class: Google::Apis::GkehubV1::ConfigManagementPolicyController, decorator: Google::Apis::GkehubV1::ConfigManagementPolicyController::Representation
1047
1257
 
1048
1258
  property :version, as: 'version'
@@ -1173,6 +1383,8 @@ module Google
1173
1383
  class DefaultClusterConfig
1174
1384
  # @private
1175
1385
  class Representation < Google::Apis::Core::JsonRepresentation
1386
+ property :binary_authorization_config, as: 'binaryAuthorizationConfig', class: Google::Apis::GkehubV1::BinaryAuthorizationConfig, decorator: Google::Apis::GkehubV1::BinaryAuthorizationConfig::Representation
1387
+
1176
1388
  property :security_posture_config, as: 'securityPostureConfig', class: Google::Apis::GkehubV1::SecurityPostureConfig, decorator: Google::Apis::GkehubV1::SecurityPostureConfig::Representation
1177
1389
 
1178
1390
  end
@@ -1653,6 +1865,8 @@ module Google
1653
1865
  class Representation < Google::Apis::Core::JsonRepresentation
1654
1866
  property :appdevexperience, as: 'appdevexperience', class: Google::Apis::GkehubV1::AppDevExperienceFeatureState, decorator: Google::Apis::GkehubV1::AppDevExperienceFeatureState::Representation
1655
1867
 
1868
+ property :clusterupgrade, as: 'clusterupgrade', class: Google::Apis::GkehubV1::ClusterUpgradeMembershipState, decorator: Google::Apis::GkehubV1::ClusterUpgradeMembershipState::Representation
1869
+
1656
1870
  property :configmanagement, as: 'configmanagement', class: Google::Apis::GkehubV1::ConfigManagementMembershipState, decorator: Google::Apis::GkehubV1::ConfigManagementMembershipState::Representation
1657
1871
 
1658
1872
  property :fleetobservability, as: 'fleetobservability', class: Google::Apis::GkehubV1::FleetObservabilityMembershipState, decorator: Google::Apis::GkehubV1::FleetObservabilityMembershipState::Representation
@@ -1778,6 +1992,13 @@ module Google
1778
1992
  end
1779
1993
  end
1780
1994
 
1995
+ class PolicyBinding
1996
+ # @private
1997
+ class Representation < Google::Apis::Core::JsonRepresentation
1998
+ property :name, as: 'name'
1999
+ end
2000
+ end
2001
+
1781
2002
  class PolicyControllerBundleInstallSpec
1782
2003
  # @private
1783
2004
  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.64.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-12-10 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.64.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: []