@@ -445,12 +445,19 @@ def update!(**args)
445
445
class AutoIpamConfig
446
446
include Google ::Apis ::Core ::Hashable
447
447
448
+ # The flag that enables Auto IPAM on this cluster
449
+ # Corresponds to the JSON property `enabled`
450
+ # @return [Boolean]
451
+ attr_accessor :enabled
452
+ alias_method :enabled? , :enabled
453
+
448
454
def initialize ( **args )
449
455
update! ( **args )
450
456
end
451
457
452
458
# Update properties of this object
453
459
def update! ( **args )
460
+ @enabled = args [ :enabled ] if args . key? ( :enabled )
454
461
end
455
462
end
456
463
@@ -518,6 +525,12 @@ class Autopilot
518
525
attr_accessor :enabled
519
526
alias_method :enabled? , :enabled
520
527
528
+ # PrivilegedAdmissionConfig stores the list of authorized allowlist paths for
529
+ # the cluster.
530
+ # Corresponds to the JSON property `privilegedAdmissionConfig`
531
+ # @return [Google::Apis::ContainerV1beta1::PrivilegedAdmissionConfig]
532
+ attr_accessor :privileged_admission_config
533
+
521
534
# WorkloadPolicyConfig is the configuration related to GCW workload policy
522
535
# Corresponds to the JSON property `workloadPolicyConfig`
523
536
# @return [Google::Apis::ContainerV1beta1::WorkloadPolicyConfig]
@@ -531,6 +544,7 @@ def initialize(**args)
531
544
def update! ( **args )
532
545
@conversion_status = args [ :conversion_status ] if args . key? ( :conversion_status )
533
546
@enabled = args [ :enabled ] if args . key? ( :enabled )
547
+ @privileged_admission_config = args [ :privileged_admission_config ] if args . key? ( :privileged_admission_config )
534
548
@workload_policy_config = args [ :workload_policy_config ] if args . key? ( :workload_policy_config )
535
549
end
536
550
end
@@ -763,20 +777,6 @@ def update!(**args)
763
777
end
764
778
end
765
779
766
- # Autoscaled rollout policy uses cluster autoscaler during blue-green upgrades
767
- # to scale both the green and blue pools.
768
- class AutoscaledRolloutPolicy
769
- include Google ::Apis ::Core ::Hashable
770
-
771
- def initialize ( **args )
772
- update! ( **args )
773
- end
774
-
775
- # Update properties of this object
776
- def update! ( **args )
777
- end
778
- end
779
-
780
780
# Deprecated.
781
781
class AvailableVersion
782
782
include Google ::Apis ::Core ::Hashable
@@ -936,12 +936,6 @@ def update!(**args)
936
936
class BlueGreenSettings
937
937
include Google ::Apis ::Core ::Hashable
938
938
939
- # Autoscaled rollout policy uses cluster autoscaler during blue-green upgrades
940
- # to scale both the green and blue pools.
941
- # Corresponds to the JSON property `autoscaledRolloutPolicy`
942
- # @return [Google::Apis::ContainerV1beta1::AutoscaledRolloutPolicy]
943
- attr_accessor :autoscaled_rollout_policy
944
-
945
939
# Time needed after draining entire blue pool. After this period, blue pool will
946
940
# be cleaned up.
947
941
# Corresponds to the JSON property `nodePoolSoakDuration`
@@ -959,7 +953,6 @@ def initialize(**args)
959
953
960
954
# Update properties of this object
961
955
def update! ( **args )
962
- @autoscaled_rollout_policy = args [ :autoscaled_rollout_policy ] if args . key? ( :autoscaled_rollout_policy )
963
956
@node_pool_soak_duration = args [ :node_pool_soak_duration ] if args . key? ( :node_pool_soak_duration )
964
957
@standard_rollout_policy = args [ :standard_rollout_policy ] if args . key? ( :standard_rollout_policy )
965
958
end
@@ -1864,6 +1857,11 @@ class ClusterAutoscaling
1864
1857
# @return [String]
1865
1858
attr_accessor :autoscaling_profile
1866
1859
1860
+ # DefaultComputeClassConfig defines default compute class configuration.
1861
+ # Corresponds to the JSON property `defaultComputeClassConfig`
1862
+ # @return [Google::Apis::ContainerV1beta1::DefaultComputeClassConfig]
1863
+ attr_accessor :default_compute_class_config
1864
+
1867
1865
# Enables automatic node pool creation and deletion.
1868
1866
# Corresponds to the JSON property `enableNodeAutoprovisioning`
1869
1867
# @return [Boolean]
@@ -1885,6 +1883,7 @@ def update!(**args)
1885
1883
@autoprovisioning_locations = args [ :autoprovisioning_locations ] if args . key? ( :autoprovisioning_locations )
1886
1884
@autoprovisioning_node_pool_defaults = args [ :autoprovisioning_node_pool_defaults ] if args . key? ( :autoprovisioning_node_pool_defaults )
1887
1885
@autoscaling_profile = args [ :autoscaling_profile ] if args . key? ( :autoscaling_profile )
1886
+ @default_compute_class_config = args [ :default_compute_class_config ] if args . key? ( :default_compute_class_config )
1888
1887
@enable_node_autoprovisioning = args [ :enable_node_autoprovisioning ] if args . key? ( :enable_node_autoprovisioning )
1889
1888
@resource_limits = args [ :resource_limits ] if args . key? ( :resource_limits )
1890
1889
end
@@ -3086,6 +3085,26 @@ def update!(**args)
3086
3085
end
3087
3086
end
3088
3087
3088
+ # DefaultComputeClassConfig defines default compute class configuration.
3089
+ class DefaultComputeClassConfig
3090
+ include Google ::Apis ::Core ::Hashable
3091
+
3092
+ # Enables default compute class.
3093
+ # Corresponds to the JSON property `enabled`
3094
+ # @return [Boolean]
3095
+ attr_accessor :enabled
3096
+ alias_method :enabled? , :enabled
3097
+
3098
+ def initialize ( **args )
3099
+ update! ( **args )
3100
+ end
3101
+
3102
+ # Update properties of this object
3103
+ def update! ( **args )
3104
+ @enabled = args [ :enabled ] if args . key? ( :enabled )
3105
+ end
3106
+ end
3107
+
3089
3108
# DefaultSnatStatus contains the desired state of whether default sNAT should be
3090
3109
# disabled on the cluster.
3091
3110
class DefaultSnatStatus
@@ -3540,6 +3559,11 @@ class Fleet
3540
3559
# @return [String]
3541
3560
attr_accessor :membership
3542
3561
3562
+ # The type of the cluster's fleet membership.
3563
+ # Corresponds to the JSON property `membershipType`
3564
+ # @return [String]
3565
+ attr_accessor :membership_type
3566
+
3543
3567
# Output only. Whether the cluster has been registered through the fleet API.
3544
3568
# Corresponds to the JSON property `preRegistered`
3545
3569
# @return [Boolean]
@@ -3560,6 +3584,7 @@ def initialize(**args)
3560
3584
# Update properties of this object
3561
3585
def update! ( **args )
3562
3586
@membership = args [ :membership ] if args . key? ( :membership )
3587
+ @membership_type = args [ :membership_type ] if args . key? ( :membership_type )
3563
3588
@pre_registered = args [ :pre_registered ] if args . key? ( :pre_registered )
3564
3589
@project = args [ :project ] if args . key? ( :project )
3565
3590
end
@@ -7315,6 +7340,31 @@ def update!(**args)
7315
7340
end
7316
7341
end
7317
7342
7343
+ # PrivilegedAdmissionConfig stores the list of authorized allowlist paths for
7344
+ # the cluster.
7345
+ class PrivilegedAdmissionConfig
7346
+ include Google ::Apis ::Core ::Hashable
7347
+
7348
+ # The customer allowlist Cloud Storage paths for the cluster. These paths are
7349
+ # used with the `--autopilot-privileged-admission` flag to authorize privileged
7350
+ # workloads in Autopilot clusters. Paths can be GKE-owned, in the format `gke:///
7351
+ # /`, or customer-owned, in the format `gs:///`. Wildcards (`*`) are supported
7352
+ # to authorize all allowlists under specific paths or directories. Example: `gs:/
7353
+ # /my-bucket/*` will authorize all allowlists under the `my-bucket` bucket.
7354
+ # Corresponds to the JSON property `allowlistPaths`
7355
+ # @return [Array<String>]
7356
+ attr_accessor :allowlist_paths
7357
+
7358
+ def initialize ( **args )
7359
+ update! ( **args )
7360
+ end
7361
+
7362
+ # Update properties of this object
7363
+ def update! ( **args )
7364
+ @allowlist_paths = args [ :allowlist_paths ] if args . key? ( :allowlist_paths )
7365
+ end
7366
+ end
7367
+
7318
7368
# ProtectConfig defines the flags needed to enable/disable features for the
7319
7369
# Protect API.
7320
7370
class ProtectConfig
0 commit comments