google-apis-container_v1beta1 0.95.0 → 0.96.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/container_v1beta1/classes.rb +356 -1
- data/lib/google/apis/container_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/container_v1beta1/representations.rb +163 -0
- data/lib/google/apis/container_v1beta1/service.rb +70 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5756ac2b5af2cb6850258fe6d94dbd5d56ebd3ee934fc1bf74a78e0542dcadf1
|
|
4
|
+
data.tar.gz: a1552aedad30ff23e871b0cff9676147ecaf3acb061c4cd5941554a2b6bcd766
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 370a05c67019b96130c8a29c3f1899428a754972162131c7f130334dd54f0c08e147cfd4de2fe17899cff0099f0e81377ccca4dfb2aa1ad9bfa77246ce3f9cef
|
|
7
|
+
data.tar.gz: 208b0c3c0116e309d77e33cabb41bf794cc788832f656660abc3c34a61ef3ac112fd6ccbd72a441b82600ce48adefabd1033e88556818240ba2e2b35a294c377
|
data/CHANGELOG.md
CHANGED
|
@@ -287,6 +287,11 @@ module Google
|
|
|
287
287
|
# @return [Google::Apis::ContainerV1beta1::ParallelstoreCsiDriverConfig]
|
|
288
288
|
attr_accessor :parallelstore_csi_driver_config
|
|
289
289
|
|
|
290
|
+
# PodSnapshotConfig is the configuration for GKE Pod Snapshots feature.
|
|
291
|
+
# Corresponds to the JSON property `podSnapshotConfig`
|
|
292
|
+
# @return [Google::Apis::ContainerV1beta1::PodSnapshotConfig]
|
|
293
|
+
attr_accessor :pod_snapshot_config
|
|
294
|
+
|
|
290
295
|
# Configuration options for the Ray Operator add-on.
|
|
291
296
|
# Corresponds to the JSON property `rayOperatorConfig`
|
|
292
297
|
# @return [Google::Apis::ContainerV1beta1::RayOperatorConfig]
|
|
@@ -319,6 +324,7 @@ module Google
|
|
|
319
324
|
@lustre_csi_driver_config = args[:lustre_csi_driver_config] if args.key?(:lustre_csi_driver_config)
|
|
320
325
|
@network_policy_config = args[:network_policy_config] if args.key?(:network_policy_config)
|
|
321
326
|
@parallelstore_csi_driver_config = args[:parallelstore_csi_driver_config] if args.key?(:parallelstore_csi_driver_config)
|
|
327
|
+
@pod_snapshot_config = args[:pod_snapshot_config] if args.key?(:pod_snapshot_config)
|
|
322
328
|
@ray_operator_config = args[:ray_operator_config] if args.key?(:ray_operator_config)
|
|
323
329
|
@stateful_ha_config = args[:stateful_ha_config] if args.key?(:stateful_ha_config)
|
|
324
330
|
end
|
|
@@ -1117,6 +1123,55 @@ module Google
|
|
|
1117
1123
|
end
|
|
1118
1124
|
end
|
|
1119
1125
|
|
|
1126
|
+
# CertificateConfig configures certificate for the registry.
|
|
1127
|
+
class CertificateConfig
|
|
1128
|
+
include Google::Apis::Core::Hashable
|
|
1129
|
+
|
|
1130
|
+
# The URI configures a secret from [Secret Manager](https://cloud.google.com/
|
|
1131
|
+
# secret-manager) in the format "projects/$PROJECT_ID/secrets/$SECRET_NAME/
|
|
1132
|
+
# versions/$VERSION" for global secret or "projects/$PROJECT_ID/locations/$
|
|
1133
|
+
# REGION/secrets/$SECRET_NAME/versions/$VERSION" for regional secret. Version
|
|
1134
|
+
# can be fixed (e.g. "2") or "latest"
|
|
1135
|
+
# Corresponds to the JSON property `gcpSecretManagerSecretUri`
|
|
1136
|
+
# @return [String]
|
|
1137
|
+
attr_accessor :gcp_secret_manager_secret_uri
|
|
1138
|
+
|
|
1139
|
+
def initialize(**args)
|
|
1140
|
+
update!(**args)
|
|
1141
|
+
end
|
|
1142
|
+
|
|
1143
|
+
# Update properties of this object
|
|
1144
|
+
def update!(**args)
|
|
1145
|
+
@gcp_secret_manager_secret_uri = args[:gcp_secret_manager_secret_uri] if args.key?(:gcp_secret_manager_secret_uri)
|
|
1146
|
+
end
|
|
1147
|
+
end
|
|
1148
|
+
|
|
1149
|
+
# CertificateConfigPair configures pairs of certificates, which is used for
|
|
1150
|
+
# client certificate and key pairs under a registry.
|
|
1151
|
+
class CertificateConfigPair
|
|
1152
|
+
include Google::Apis::Core::Hashable
|
|
1153
|
+
|
|
1154
|
+
# CertificateConfig configures certificate for the registry.
|
|
1155
|
+
# Corresponds to the JSON property `cert`
|
|
1156
|
+
# @return [Google::Apis::ContainerV1beta1::CertificateConfig]
|
|
1157
|
+
attr_accessor :cert
|
|
1158
|
+
|
|
1159
|
+
# CertificateConfig configures certificate for the registry.
|
|
1160
|
+
# Corresponds to the JSON property `key`
|
|
1161
|
+
# @return [Google::Apis::ContainerV1beta1::CertificateConfig]
|
|
1162
|
+
attr_accessor :key
|
|
1163
|
+
|
|
1164
|
+
def initialize(**args)
|
|
1165
|
+
update!(**args)
|
|
1166
|
+
end
|
|
1167
|
+
|
|
1168
|
+
# Update properties of this object
|
|
1169
|
+
def update!(**args)
|
|
1170
|
+
@cert = args[:cert] if args.key?(:cert)
|
|
1171
|
+
@key = args[:key] if args.key?(:key)
|
|
1172
|
+
end
|
|
1173
|
+
end
|
|
1174
|
+
|
|
1120
1175
|
# CheckAutopilotCompatibilityResponse has a list of compatibility issues.
|
|
1121
1176
|
class CheckAutopilotCompatibilityResponse
|
|
1122
1177
|
include Google::Apis::Core::Hashable
|
|
@@ -1304,6 +1359,13 @@ module Google
|
|
|
1304
1359
|
# @return [String]
|
|
1305
1360
|
attr_accessor :create_time
|
|
1306
1361
|
|
|
1362
|
+
# Output only. The current emulated version of the master endpoint. The version
|
|
1363
|
+
# is in minor version format, e.g. 1.30. No value or empty string means the
|
|
1364
|
+
# cluster has no emulated version.
|
|
1365
|
+
# Corresponds to the JSON property `currentEmulatedVersion`
|
|
1366
|
+
# @return [String]
|
|
1367
|
+
attr_accessor :current_emulated_version
|
|
1368
|
+
|
|
1307
1369
|
# Output only. The current software version of the master endpoint.
|
|
1308
1370
|
# Corresponds to the JSON property `currentMasterVersion`
|
|
1309
1371
|
# @return [String]
|
|
@@ -1671,6 +1733,11 @@ module Google
|
|
|
1671
1733
|
# @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig]
|
|
1672
1734
|
attr_accessor :resource_usage_export_config
|
|
1673
1735
|
|
|
1736
|
+
# RollbackSafeUpgrade is the configuration for the rollback safe upgrade.
|
|
1737
|
+
# Corresponds to the JSON property `rollbackSafeUpgrade`
|
|
1738
|
+
# @return [Google::Apis::ContainerV1beta1::RollbackSafeUpgrade]
|
|
1739
|
+
attr_accessor :rollback_safe_upgrade
|
|
1740
|
+
|
|
1674
1741
|
# Output only. Reserved for future use.
|
|
1675
1742
|
# Corresponds to the JSON property `satisfiesPzi`
|
|
1676
1743
|
# @return [Boolean]
|
|
@@ -1807,6 +1874,7 @@ module Google
|
|
|
1807
1874
|
@control_plane_endpoints_config = args[:control_plane_endpoints_config] if args.key?(:control_plane_endpoints_config)
|
|
1808
1875
|
@cost_management_config = args[:cost_management_config] if args.key?(:cost_management_config)
|
|
1809
1876
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1877
|
+
@current_emulated_version = args[:current_emulated_version] if args.key?(:current_emulated_version)
|
|
1810
1878
|
@current_master_version = args[:current_master_version] if args.key?(:current_master_version)
|
|
1811
1879
|
@current_node_count = args[:current_node_count] if args.key?(:current_node_count)
|
|
1812
1880
|
@current_node_version = args[:current_node_version] if args.key?(:current_node_version)
|
|
@@ -1862,6 +1930,7 @@ module Google
|
|
|
1862
1930
|
@release_channel = args[:release_channel] if args.key?(:release_channel)
|
|
1863
1931
|
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
|
|
1864
1932
|
@resource_usage_export_config = args[:resource_usage_export_config] if args.key?(:resource_usage_export_config)
|
|
1933
|
+
@rollback_safe_upgrade = args[:rollback_safe_upgrade] if args.key?(:rollback_safe_upgrade)
|
|
1865
1934
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
|
1866
1935
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
|
1867
1936
|
@secret_manager_config = args[:secret_manager_config] if args.key?(:secret_manager_config)
|
|
@@ -2383,6 +2452,11 @@ module Google
|
|
|
2383
2452
|
# @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig]
|
|
2384
2453
|
attr_accessor :desired_resource_usage_export_config
|
|
2385
2454
|
|
|
2455
|
+
# RollbackSafeUpgrade is the configuration for the rollback safe upgrade.
|
|
2456
|
+
# Corresponds to the JSON property `desiredRollbackSafeUpgrade`
|
|
2457
|
+
# @return [Google::Apis::ContainerV1beta1::RollbackSafeUpgrade]
|
|
2458
|
+
attr_accessor :desired_rollback_safe_upgrade
|
|
2459
|
+
|
|
2386
2460
|
# SecretManagerConfig is config for secret manager enablement.
|
|
2387
2461
|
# Corresponds to the JSON property `desiredSecretManagerConfig`
|
|
2388
2462
|
# @return [Google::Apis::ContainerV1beta1::SecretManagerConfig]
|
|
@@ -2557,6 +2631,7 @@ module Google
|
|
|
2557
2631
|
@desired_rbac_binding_config = args[:desired_rbac_binding_config] if args.key?(:desired_rbac_binding_config)
|
|
2558
2632
|
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
|
|
2559
2633
|
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
|
|
2634
|
+
@desired_rollback_safe_upgrade = args[:desired_rollback_safe_upgrade] if args.key?(:desired_rollback_safe_upgrade)
|
|
2560
2635
|
@desired_secret_manager_config = args[:desired_secret_manager_config] if args.key?(:desired_secret_manager_config)
|
|
2561
2636
|
@desired_secret_sync_config = args[:desired_secret_sync_config] if args.key?(:desired_secret_sync_config)
|
|
2562
2637
|
@desired_security_posture_config = args[:desired_security_posture_config] if args.key?(:desired_security_posture_config)
|
|
@@ -2612,6 +2687,12 @@ module Google
|
|
|
2612
2687
|
# @return [Array<String>]
|
|
2613
2688
|
attr_accessor :paused_reason
|
|
2614
2689
|
|
|
2690
|
+
# RollbackSafeUpgradeStatus contains the rollback-safe upgrade status of a
|
|
2691
|
+
# cluster.
|
|
2692
|
+
# Corresponds to the JSON property `rollbackSafeUpgradeStatus`
|
|
2693
|
+
# @return [Google::Apis::ContainerV1beta1::RollbackSafeUpgradeStatus]
|
|
2694
|
+
attr_accessor :rollback_safe_upgrade_status
|
|
2695
|
+
|
|
2615
2696
|
# The list of past auto upgrades.
|
|
2616
2697
|
# Corresponds to the JSON property `upgradeDetails`
|
|
2617
2698
|
# @return [Array<Google::Apis::ContainerV1beta1::UpgradeDetails>]
|
|
@@ -2629,10 +2710,60 @@ module Google
|
|
|
2629
2710
|
@minor_target_version = args[:minor_target_version] if args.key?(:minor_target_version)
|
|
2630
2711
|
@patch_target_version = args[:patch_target_version] if args.key?(:patch_target_version)
|
|
2631
2712
|
@paused_reason = args[:paused_reason] if args.key?(:paused_reason)
|
|
2713
|
+
@rollback_safe_upgrade_status = args[:rollback_safe_upgrade_status] if args.key?(:rollback_safe_upgrade_status)
|
|
2632
2714
|
@upgrade_details = args[:upgrade_details] if args.key?(:upgrade_details)
|
|
2633
2715
|
end
|
|
2634
2716
|
end
|
|
2635
2717
|
|
|
2718
|
+
# CompatibilityStatus is the status regarding the control plane's compatibility.
|
|
2719
|
+
class CompatibilityStatus
|
|
2720
|
+
include Google::Apis::Core::Hashable
|
|
2721
|
+
|
|
2722
|
+
# Output only. The GKE version that the cluster can be safely downgraded to if
|
|
2723
|
+
# the cluster is emulating the previous minor version. It is usually the cluster'
|
|
2724
|
+
# s previous version before a minor version upgrade.
|
|
2725
|
+
# Corresponds to the JSON property `downgradableVersion`
|
|
2726
|
+
# @return [String]
|
|
2727
|
+
attr_accessor :downgradable_version
|
|
2728
|
+
|
|
2729
|
+
# Output only. Last time the control plane became available after a minor
|
|
2730
|
+
# version binary upgrade with emulated version set. It indicates the last time
|
|
2731
|
+
# the cluster entered the rollback safe mode.
|
|
2732
|
+
# Corresponds to the JSON property `emulatedVersionTime`
|
|
2733
|
+
# @return [String]
|
|
2734
|
+
attr_accessor :emulated_version_time
|
|
2735
|
+
|
|
2736
|
+
def initialize(**args)
|
|
2737
|
+
update!(**args)
|
|
2738
|
+
end
|
|
2739
|
+
|
|
2740
|
+
# Update properties of this object
|
|
2741
|
+
def update!(**args)
|
|
2742
|
+
@downgradable_version = args[:downgradable_version] if args.key?(:downgradable_version)
|
|
2743
|
+
@emulated_version_time = args[:emulated_version_time] if args.key?(:emulated_version_time)
|
|
2744
|
+
end
|
|
2745
|
+
end
|
|
2746
|
+
|
|
2747
|
+
# CompleteControlPlaneUpgradeRequest sets the name of target cluster to complete
|
|
2748
|
+
# upgrade.
|
|
2749
|
+
class CompleteControlPlaneUpgradeRequest
|
|
2750
|
+
include Google::Apis::Core::Hashable
|
|
2751
|
+
|
|
2752
|
+
# API request version that initiates this operation.
|
|
2753
|
+
# Corresponds to the JSON property `version`
|
|
2754
|
+
# @return [String]
|
|
2755
|
+
attr_accessor :version
|
|
2756
|
+
|
|
2757
|
+
def initialize(**args)
|
|
2758
|
+
update!(**args)
|
|
2759
|
+
end
|
|
2760
|
+
|
|
2761
|
+
# Update properties of this object
|
|
2762
|
+
def update!(**args)
|
|
2763
|
+
@version = args[:version] if args.key?(:version)
|
|
2764
|
+
end
|
|
2765
|
+
end
|
|
2766
|
+
|
|
2636
2767
|
# CompleteIPRotationRequest moves the cluster master back into single-IP mode.
|
|
2637
2768
|
class CompleteIpRotationRequest
|
|
2638
2769
|
include Google::Apis::Core::Hashable
|
|
@@ -2813,6 +2944,13 @@ module Google
|
|
|
2813
2944
|
# @return [Google::Apis::ContainerV1beta1::PrivateRegistryAccessConfig]
|
|
2814
2945
|
attr_accessor :private_registry_access_config
|
|
2815
2946
|
|
|
2947
|
+
# RegistryHostConfig configures containerd registry host configuration. Each
|
|
2948
|
+
# registry_hosts represents a hosts.toml file. At most 25 registry_hosts are
|
|
2949
|
+
# allowed.
|
|
2950
|
+
# Corresponds to the JSON property `registryHosts`
|
|
2951
|
+
# @return [Array<Google::Apis::ContainerV1beta1::RegistryHostConfig>]
|
|
2952
|
+
attr_accessor :registry_hosts
|
|
2953
|
+
|
|
2816
2954
|
# Defines writable cgroups configuration.
|
|
2817
2955
|
# Corresponds to the JSON property `writableCgroups`
|
|
2818
2956
|
# @return [Google::Apis::ContainerV1beta1::WritableCgroups]
|
|
@@ -2825,6 +2963,7 @@ module Google
|
|
|
2825
2963
|
# Update properties of this object
|
|
2826
2964
|
def update!(**args)
|
|
2827
2965
|
@private_registry_access_config = args[:private_registry_access_config] if args.key?(:private_registry_access_config)
|
|
2966
|
+
@registry_hosts = args[:registry_hosts] if args.key?(:registry_hosts)
|
|
2828
2967
|
@writable_cgroups = args[:writable_cgroups] if args.key?(:writable_cgroups)
|
|
2829
2968
|
end
|
|
2830
2969
|
end
|
|
@@ -4070,6 +4209,73 @@ module Google
|
|
|
4070
4209
|
end
|
|
4071
4210
|
end
|
|
4072
4211
|
|
|
4212
|
+
# HostConfig configures the registry host under a given Server.
|
|
4213
|
+
class HostConfig
|
|
4214
|
+
include Google::Apis::Core::Hashable
|
|
4215
|
+
|
|
4216
|
+
# CA configures the registry host certificate.
|
|
4217
|
+
# Corresponds to the JSON property `ca`
|
|
4218
|
+
# @return [Array<Google::Apis::ContainerV1beta1::CertificateConfig>]
|
|
4219
|
+
attr_accessor :ca
|
|
4220
|
+
|
|
4221
|
+
# Capabilities represent the capabilities of the registry host, specifying what
|
|
4222
|
+
# operations a host is capable of performing. If not set, containerd enables all
|
|
4223
|
+
# capabilities by default.
|
|
4224
|
+
# Corresponds to the JSON property `capabilities`
|
|
4225
|
+
# @return [Array<String>]
|
|
4226
|
+
attr_accessor :capabilities
|
|
4227
|
+
|
|
4228
|
+
# Client configures the registry host client certificate and key.
|
|
4229
|
+
# Corresponds to the JSON property `client`
|
|
4230
|
+
# @return [Array<Google::Apis::ContainerV1beta1::CertificateConfigPair>]
|
|
4231
|
+
attr_accessor :client
|
|
4232
|
+
|
|
4233
|
+
# Specifies the maximum duration allowed for a connection attempt to complete. A
|
|
4234
|
+
# shorter timeout helps reduce delays when falling back to the original registry
|
|
4235
|
+
# if the mirror is unreachable. Maximum allowed value is 180s. If not set,
|
|
4236
|
+
# containerd sets default 30s. The value should be a decimal number of seconds
|
|
4237
|
+
# with an `s` suffix.
|
|
4238
|
+
# Corresponds to the JSON property `dialTimeout`
|
|
4239
|
+
# @return [String]
|
|
4240
|
+
attr_accessor :dial_timeout
|
|
4241
|
+
|
|
4242
|
+
# Header configures the registry host headers.
|
|
4243
|
+
# Corresponds to the JSON property `header`
|
|
4244
|
+
# @return [Array<Google::Apis::ContainerV1beta1::RegistryHeader>]
|
|
4245
|
+
attr_accessor :header
|
|
4246
|
+
|
|
4247
|
+
# Host configures the registry host/mirror. It supports fully qualified domain
|
|
4248
|
+
# names (FQDN) and IP addresses: Specifying port is supported. Wildcards are NOT
|
|
4249
|
+
# supported. Examples: - my.customdomain.com - 10.0.1.2:5000
|
|
4250
|
+
# Corresponds to the JSON property `host`
|
|
4251
|
+
# @return [String]
|
|
4252
|
+
attr_accessor :host
|
|
4253
|
+
|
|
4254
|
+
# OverridePath is used to indicate the host's API root endpoint is defined in
|
|
4255
|
+
# the URL path rather than by the API specification. This may be used with non-
|
|
4256
|
+
# compliant OCI registries which are missing the /v2 prefix. If not set,
|
|
4257
|
+
# containerd sets default false.
|
|
4258
|
+
# Corresponds to the JSON property `overridePath`
|
|
4259
|
+
# @return [Boolean]
|
|
4260
|
+
attr_accessor :override_path
|
|
4261
|
+
alias_method :override_path?, :override_path
|
|
4262
|
+
|
|
4263
|
+
def initialize(**args)
|
|
4264
|
+
update!(**args)
|
|
4265
|
+
end
|
|
4266
|
+
|
|
4267
|
+
# Update properties of this object
|
|
4268
|
+
def update!(**args)
|
|
4269
|
+
@ca = args[:ca] if args.key?(:ca)
|
|
4270
|
+
@capabilities = args[:capabilities] if args.key?(:capabilities)
|
|
4271
|
+
@client = args[:client] if args.key?(:client)
|
|
4272
|
+
@dial_timeout = args[:dial_timeout] if args.key?(:dial_timeout)
|
|
4273
|
+
@header = args[:header] if args.key?(:header)
|
|
4274
|
+
@host = args[:host] if args.key?(:host)
|
|
4275
|
+
@override_path = args[:override_path] if args.key?(:override_path)
|
|
4276
|
+
end
|
|
4277
|
+
end
|
|
4278
|
+
|
|
4073
4279
|
# HostMaintenancePolicy contains the maintenance policy for the hosts on which
|
|
4074
4280
|
# the GKE VMs run on.
|
|
4075
4281
|
class HostMaintenancePolicy
|
|
@@ -5033,7 +5239,10 @@ module Google
|
|
|
5033
5239
|
# port 6988. This serves as a workaround for a port conflict with the gke-
|
|
5034
5240
|
# metadata-server. This field is required ONLY under the following conditions: 1.
|
|
5035
5241
|
# The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting
|
|
5036
|
-
# to a Lustre instance that has the 'gke-support-enabled' flag.
|
|
5242
|
+
# to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This
|
|
5243
|
+
# flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless
|
|
5244
|
+
# you are connecting to a Lustre instance that has the `gke-support-enabled`
|
|
5245
|
+
# flag.
|
|
5037
5246
|
# Corresponds to the JSON property `enableLegacyLustrePort`
|
|
5038
5247
|
# @return [Boolean]
|
|
5039
5248
|
attr_accessor :enable_legacy_lustre_port
|
|
@@ -5174,12 +5383,18 @@ module Google
|
|
|
5174
5383
|
class Master
|
|
5175
5384
|
include Google::Apis::Core::Hashable
|
|
5176
5385
|
|
|
5386
|
+
# CompatibilityStatus is the status regarding the control plane's compatibility.
|
|
5387
|
+
# Corresponds to the JSON property `compatibilityStatus`
|
|
5388
|
+
# @return [Google::Apis::ContainerV1beta1::CompatibilityStatus]
|
|
5389
|
+
attr_accessor :compatibility_status
|
|
5390
|
+
|
|
5177
5391
|
def initialize(**args)
|
|
5178
5392
|
update!(**args)
|
|
5179
5393
|
end
|
|
5180
5394
|
|
|
5181
5395
|
# Update properties of this object
|
|
5182
5396
|
def update!(**args)
|
|
5397
|
+
@compatibility_status = args[:compatibility_status] if args.key?(:compatibility_status)
|
|
5183
5398
|
end
|
|
5184
5399
|
end
|
|
5185
5400
|
|
|
@@ -7402,6 +7617,26 @@ module Google
|
|
|
7402
7617
|
end
|
|
7403
7618
|
end
|
|
7404
7619
|
|
|
7620
|
+
# PodSnapshotConfig is the configuration for GKE Pod Snapshots feature.
|
|
7621
|
+
class PodSnapshotConfig
|
|
7622
|
+
include Google::Apis::Core::Hashable
|
|
7623
|
+
|
|
7624
|
+
# Whether or not the Pod Snapshots feature is enabled.
|
|
7625
|
+
# Corresponds to the JSON property `enabled`
|
|
7626
|
+
# @return [Boolean]
|
|
7627
|
+
attr_accessor :enabled
|
|
7628
|
+
alias_method :enabled?, :enabled
|
|
7629
|
+
|
|
7630
|
+
def initialize(**args)
|
|
7631
|
+
update!(**args)
|
|
7632
|
+
end
|
|
7633
|
+
|
|
7634
|
+
# Update properties of this object
|
|
7635
|
+
def update!(**args)
|
|
7636
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
7637
|
+
end
|
|
7638
|
+
end
|
|
7639
|
+
|
|
7405
7640
|
# Binauthz policy that applies to this cluster.
|
|
7406
7641
|
class PolicyBinding
|
|
7407
7642
|
include Google::Apis::Core::Hashable
|
|
@@ -7823,6 +8058,62 @@ module Google
|
|
|
7823
8058
|
end
|
|
7824
8059
|
end
|
|
7825
8060
|
|
|
8061
|
+
# RegistryHeader configures headers for the registry.
|
|
8062
|
+
class RegistryHeader
|
|
8063
|
+
include Google::Apis::Core::Hashable
|
|
8064
|
+
|
|
8065
|
+
# Key configures the header key.
|
|
8066
|
+
# Corresponds to the JSON property `key`
|
|
8067
|
+
# @return [String]
|
|
8068
|
+
attr_accessor :key
|
|
8069
|
+
|
|
8070
|
+
# Value configures the header value.
|
|
8071
|
+
# Corresponds to the JSON property `value`
|
|
8072
|
+
# @return [Array<String>]
|
|
8073
|
+
attr_accessor :value
|
|
8074
|
+
|
|
8075
|
+
def initialize(**args)
|
|
8076
|
+
update!(**args)
|
|
8077
|
+
end
|
|
8078
|
+
|
|
8079
|
+
# Update properties of this object
|
|
8080
|
+
def update!(**args)
|
|
8081
|
+
@key = args[:key] if args.key?(:key)
|
|
8082
|
+
@value = args[:value] if args.key?(:value)
|
|
8083
|
+
end
|
|
8084
|
+
end
|
|
8085
|
+
|
|
8086
|
+
# RegistryHostConfig configures the top-level structure for a single containerd
|
|
8087
|
+
# registry server's configuration, which represents one hosts.toml file on the
|
|
8088
|
+
# node. It will override the same fqdns in PrivateRegistryAccessConfig.
|
|
8089
|
+
class RegistryHostConfig
|
|
8090
|
+
include Google::Apis::Core::Hashable
|
|
8091
|
+
|
|
8092
|
+
# HostConfig configures a list of host-specific configurations for the server.
|
|
8093
|
+
# Each server can have at most 10 host configurations.
|
|
8094
|
+
# Corresponds to the JSON property `hosts`
|
|
8095
|
+
# @return [Array<Google::Apis::ContainerV1beta1::HostConfig>]
|
|
8096
|
+
attr_accessor :hosts
|
|
8097
|
+
|
|
8098
|
+
# Defines the host name of the registry server, which will be used to create
|
|
8099
|
+
# configuration file as /etc/containerd/hosts.d//hosts.toml. It supports fully
|
|
8100
|
+
# qualified domain names (FQDN) and IP addresses: Specifying port is supported.
|
|
8101
|
+
# Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000
|
|
8102
|
+
# Corresponds to the JSON property `server`
|
|
8103
|
+
# @return [String]
|
|
8104
|
+
attr_accessor :server
|
|
8105
|
+
|
|
8106
|
+
def initialize(**args)
|
|
8107
|
+
update!(**args)
|
|
8108
|
+
end
|
|
8109
|
+
|
|
8110
|
+
# Update properties of this object
|
|
8111
|
+
def update!(**args)
|
|
8112
|
+
@hosts = args[:hosts] if args.key?(:hosts)
|
|
8113
|
+
@server = args[:server] if args.key?(:server)
|
|
8114
|
+
end
|
|
8115
|
+
end
|
|
8116
|
+
|
|
7826
8117
|
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
|
7827
8118
|
# Release channels are arranged in order of risk. When a cluster is subscribed
|
|
7828
8119
|
# to a release channel, Google maintains both the master version and the node
|
|
@@ -8094,6 +8385,58 @@ module Google
|
|
|
8094
8385
|
end
|
|
8095
8386
|
end
|
|
8096
8387
|
|
|
8388
|
+
# RollbackSafeUpgrade is the configuration for the rollback safe upgrade.
|
|
8389
|
+
class RollbackSafeUpgrade
|
|
8390
|
+
include Google::Apis::Core::Hashable
|
|
8391
|
+
|
|
8392
|
+
# A user-defined period for the cluster remains in the rollbackable state. ex: `
|
|
8393
|
+
# seconds: 21600`.
|
|
8394
|
+
# Corresponds to the JSON property `controlPlaneSoakDuration`
|
|
8395
|
+
# @return [String]
|
|
8396
|
+
attr_accessor :control_plane_soak_duration
|
|
8397
|
+
|
|
8398
|
+
def initialize(**args)
|
|
8399
|
+
update!(**args)
|
|
8400
|
+
end
|
|
8401
|
+
|
|
8402
|
+
# Update properties of this object
|
|
8403
|
+
def update!(**args)
|
|
8404
|
+
@control_plane_soak_duration = args[:control_plane_soak_duration] if args.key?(:control_plane_soak_duration)
|
|
8405
|
+
end
|
|
8406
|
+
end
|
|
8407
|
+
|
|
8408
|
+
# RollbackSafeUpgradeStatus contains the rollback-safe upgrade status of a
|
|
8409
|
+
# cluster.
|
|
8410
|
+
class RollbackSafeUpgradeStatus
|
|
8411
|
+
include Google::Apis::Core::Hashable
|
|
8412
|
+
|
|
8413
|
+
# The rollback-safe mode expiration time.
|
|
8414
|
+
# Corresponds to the JSON property `controlPlaneUpgradeRollbackEndTime`
|
|
8415
|
+
# @return [String]
|
|
8416
|
+
attr_accessor :control_plane_upgrade_rollback_end_time
|
|
8417
|
+
|
|
8418
|
+
# The mode of the rollback-safe upgrade.
|
|
8419
|
+
# Corresponds to the JSON property `mode`
|
|
8420
|
+
# @return [String]
|
|
8421
|
+
attr_accessor :mode
|
|
8422
|
+
|
|
8423
|
+
# The GKE version that the cluster previously used before step-one upgrade.
|
|
8424
|
+
# Corresponds to the JSON property `previousVersion`
|
|
8425
|
+
# @return [String]
|
|
8426
|
+
attr_accessor :previous_version
|
|
8427
|
+
|
|
8428
|
+
def initialize(**args)
|
|
8429
|
+
update!(**args)
|
|
8430
|
+
end
|
|
8431
|
+
|
|
8432
|
+
# Update properties of this object
|
|
8433
|
+
def update!(**args)
|
|
8434
|
+
@control_plane_upgrade_rollback_end_time = args[:control_plane_upgrade_rollback_end_time] if args.key?(:control_plane_upgrade_rollback_end_time)
|
|
8435
|
+
@mode = args[:mode] if args.key?(:mode)
|
|
8436
|
+
@previous_version = args[:previous_version] if args.key?(:previous_version)
|
|
8437
|
+
end
|
|
8438
|
+
end
|
|
8439
|
+
|
|
8097
8440
|
# RotationConfig is config for secret manager auto rotation.
|
|
8098
8441
|
class RotationConfig
|
|
8099
8442
|
include Google::Apis::Core::Hashable
|
|
@@ -10001,6 +10344,11 @@ module Google
|
|
|
10001
10344
|
# @return [String]
|
|
10002
10345
|
attr_accessor :end_time
|
|
10003
10346
|
|
|
10347
|
+
# The emulated version before the upgrade.
|
|
10348
|
+
# Corresponds to the JSON property `initialEmulatedVersion`
|
|
10349
|
+
# @return [String]
|
|
10350
|
+
attr_accessor :initial_emulated_version
|
|
10351
|
+
|
|
10004
10352
|
# The version before the upgrade.
|
|
10005
10353
|
# Corresponds to the JSON property `initialVersion`
|
|
10006
10354
|
# @return [String]
|
|
@@ -10021,6 +10369,11 @@ module Google
|
|
|
10021
10369
|
# @return [String]
|
|
10022
10370
|
attr_accessor :state
|
|
10023
10371
|
|
|
10372
|
+
# The emulated version after the upgrade.
|
|
10373
|
+
# Corresponds to the JSON property `targetEmulatedVersion`
|
|
10374
|
+
# @return [String]
|
|
10375
|
+
attr_accessor :target_emulated_version
|
|
10376
|
+
|
|
10024
10377
|
# The version after the upgrade.
|
|
10025
10378
|
# Corresponds to the JSON property `targetVersion`
|
|
10026
10379
|
# @return [String]
|
|
@@ -10033,10 +10386,12 @@ module Google
|
|
|
10033
10386
|
# Update properties of this object
|
|
10034
10387
|
def update!(**args)
|
|
10035
10388
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
10389
|
+
@initial_emulated_version = args[:initial_emulated_version] if args.key?(:initial_emulated_version)
|
|
10036
10390
|
@initial_version = args[:initial_version] if args.key?(:initial_version)
|
|
10037
10391
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
10038
10392
|
@start_type = args[:start_type] if args.key?(:start_type)
|
|
10039
10393
|
@state = args[:state] if args.key?(:state)
|
|
10394
|
+
@target_emulated_version = args[:target_emulated_version] if args.key?(:target_emulated_version)
|
|
10040
10395
|
@target_version = args[:target_version] if args.key?(:target_version)
|
|
10041
10396
|
end
|
|
10042
10397
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ContainerV1beta1
|
|
18
18
|
# Version of the google-apis-container_v1beta1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.96.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251028"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -196,6 +196,18 @@ module Google
|
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
+
class CertificateConfig
|
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
|
+
|
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
class CertificateConfigPair
|
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
207
|
+
|
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
209
|
+
end
|
|
210
|
+
|
|
199
211
|
class CheckAutopilotCompatibilityResponse
|
|
200
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
213
|
|
|
@@ -256,6 +268,18 @@ module Google
|
|
|
256
268
|
include Google::Apis::Core::JsonObjectSupport
|
|
257
269
|
end
|
|
258
270
|
|
|
271
|
+
class CompatibilityStatus
|
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
+
|
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
class CompleteControlPlaneUpgradeRequest
|
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
|
+
|
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
281
|
+
end
|
|
282
|
+
|
|
259
283
|
class CompleteIpRotationRequest
|
|
260
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
285
|
|
|
@@ -550,6 +574,12 @@ module Google
|
|
|
550
574
|
include Google::Apis::Core::JsonObjectSupport
|
|
551
575
|
end
|
|
552
576
|
|
|
577
|
+
class HostConfig
|
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
579
|
+
|
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
581
|
+
end
|
|
582
|
+
|
|
553
583
|
class HostMaintenancePolicy
|
|
554
584
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
555
585
|
|
|
@@ -988,6 +1018,12 @@ module Google
|
|
|
988
1018
|
include Google::Apis::Core::JsonObjectSupport
|
|
989
1019
|
end
|
|
990
1020
|
|
|
1021
|
+
class PodSnapshotConfig
|
|
1022
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1023
|
+
|
|
1024
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1025
|
+
end
|
|
1026
|
+
|
|
991
1027
|
class PolicyBinding
|
|
992
1028
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
993
1029
|
|
|
@@ -1072,6 +1108,18 @@ module Google
|
|
|
1072
1108
|
include Google::Apis::Core::JsonObjectSupport
|
|
1073
1109
|
end
|
|
1074
1110
|
|
|
1111
|
+
class RegistryHeader
|
|
1112
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1113
|
+
|
|
1114
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1115
|
+
end
|
|
1116
|
+
|
|
1117
|
+
class RegistryHostConfig
|
|
1118
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1119
|
+
|
|
1120
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1121
|
+
end
|
|
1122
|
+
|
|
1075
1123
|
class ReleaseChannel
|
|
1076
1124
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1077
1125
|
|
|
@@ -1120,6 +1168,18 @@ module Google
|
|
|
1120
1168
|
include Google::Apis::Core::JsonObjectSupport
|
|
1121
1169
|
end
|
|
1122
1170
|
|
|
1171
|
+
class RollbackSafeUpgrade
|
|
1172
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1173
|
+
|
|
1174
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1175
|
+
end
|
|
1176
|
+
|
|
1177
|
+
class RollbackSafeUpgradeStatus
|
|
1178
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1179
|
+
|
|
1180
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1181
|
+
end
|
|
1182
|
+
|
|
1123
1183
|
class RotationConfig
|
|
1124
1184
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1125
1185
|
|
|
@@ -1559,6 +1619,8 @@ module Google
|
|
|
1559
1619
|
|
|
1560
1620
|
property :parallelstore_csi_driver_config, as: 'parallelstoreCsiDriverConfig', class: Google::Apis::ContainerV1beta1::ParallelstoreCsiDriverConfig, decorator: Google::Apis::ContainerV1beta1::ParallelstoreCsiDriverConfig::Representation
|
|
1561
1621
|
|
|
1622
|
+
property :pod_snapshot_config, as: 'podSnapshotConfig', class: Google::Apis::ContainerV1beta1::PodSnapshotConfig, decorator: Google::Apis::ContainerV1beta1::PodSnapshotConfig::Representation
|
|
1623
|
+
|
|
1562
1624
|
property :ray_operator_config, as: 'rayOperatorConfig', class: Google::Apis::ContainerV1beta1::RayOperatorConfig, decorator: Google::Apis::ContainerV1beta1::RayOperatorConfig::Representation
|
|
1563
1625
|
|
|
1564
1626
|
property :stateful_ha_config, as: 'statefulHaConfig', class: Google::Apis::ContainerV1beta1::StatefulHaConfig, decorator: Google::Apis::ContainerV1beta1::StatefulHaConfig::Representation
|
|
@@ -1779,6 +1841,23 @@ module Google
|
|
|
1779
1841
|
end
|
|
1780
1842
|
end
|
|
1781
1843
|
|
|
1844
|
+
class CertificateConfig
|
|
1845
|
+
# @private
|
|
1846
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1847
|
+
property :gcp_secret_manager_secret_uri, as: 'gcpSecretManagerSecretUri'
|
|
1848
|
+
end
|
|
1849
|
+
end
|
|
1850
|
+
|
|
1851
|
+
class CertificateConfigPair
|
|
1852
|
+
# @private
|
|
1853
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1854
|
+
property :cert, as: 'cert', class: Google::Apis::ContainerV1beta1::CertificateConfig, decorator: Google::Apis::ContainerV1beta1::CertificateConfig::Representation
|
|
1855
|
+
|
|
1856
|
+
property :key, as: 'key', class: Google::Apis::ContainerV1beta1::CertificateConfig, decorator: Google::Apis::ContainerV1beta1::CertificateConfig::Representation
|
|
1857
|
+
|
|
1858
|
+
end
|
|
1859
|
+
end
|
|
1860
|
+
|
|
1782
1861
|
class CheckAutopilotCompatibilityResponse
|
|
1783
1862
|
# @private
|
|
1784
1863
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -1841,6 +1920,7 @@ module Google
|
|
|
1841
1920
|
property :cost_management_config, as: 'costManagementConfig', class: Google::Apis::ContainerV1beta1::CostManagementConfig, decorator: Google::Apis::ContainerV1beta1::CostManagementConfig::Representation
|
|
1842
1921
|
|
|
1843
1922
|
property :create_time, as: 'createTime'
|
|
1923
|
+
property :current_emulated_version, as: 'currentEmulatedVersion'
|
|
1844
1924
|
property :current_master_version, as: 'currentMasterVersion'
|
|
1845
1925
|
property :current_node_count, as: 'currentNodeCount'
|
|
1846
1926
|
property :current_node_version, as: 'currentNodeVersion'
|
|
@@ -1927,6 +2007,8 @@ module Google
|
|
|
1927
2007
|
hash :resource_labels, as: 'resourceLabels'
|
|
1928
2008
|
property :resource_usage_export_config, as: 'resourceUsageExportConfig', class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig::Representation
|
|
1929
2009
|
|
|
2010
|
+
property :rollback_safe_upgrade, as: 'rollbackSafeUpgrade', class: Google::Apis::ContainerV1beta1::RollbackSafeUpgrade, decorator: Google::Apis::ContainerV1beta1::RollbackSafeUpgrade::Representation
|
|
2011
|
+
|
|
1930
2012
|
property :satisfies_pzi, as: 'satisfiesPzi'
|
|
1931
2013
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
|
1932
2014
|
property :secret_manager_config, as: 'secretManagerConfig', class: Google::Apis::ContainerV1beta1::SecretManagerConfig, decorator: Google::Apis::ContainerV1beta1::SecretManagerConfig::Representation
|
|
@@ -2105,6 +2187,8 @@ module Google
|
|
|
2105
2187
|
|
|
2106
2188
|
property :desired_resource_usage_export_config, as: 'desiredResourceUsageExportConfig', class: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig, decorator: Google::Apis::ContainerV1beta1::ResourceUsageExportConfig::Representation
|
|
2107
2189
|
|
|
2190
|
+
property :desired_rollback_safe_upgrade, as: 'desiredRollbackSafeUpgrade', class: Google::Apis::ContainerV1beta1::RollbackSafeUpgrade, decorator: Google::Apis::ContainerV1beta1::RollbackSafeUpgrade::Representation
|
|
2191
|
+
|
|
2108
2192
|
property :desired_secret_manager_config, as: 'desiredSecretManagerConfig', class: Google::Apis::ContainerV1beta1::SecretManagerConfig, decorator: Google::Apis::ContainerV1beta1::SecretManagerConfig::Representation
|
|
2109
2193
|
|
|
2110
2194
|
property :desired_secret_sync_config, as: 'desiredSecretSyncConfig', class: Google::Apis::ContainerV1beta1::SecretSyncConfig, decorator: Google::Apis::ContainerV1beta1::SecretSyncConfig::Representation
|
|
@@ -2151,11 +2235,28 @@ module Google
|
|
|
2151
2235
|
property :minor_target_version, as: 'minorTargetVersion'
|
|
2152
2236
|
property :patch_target_version, as: 'patchTargetVersion'
|
|
2153
2237
|
collection :paused_reason, as: 'pausedReason'
|
|
2238
|
+
property :rollback_safe_upgrade_status, as: 'rollbackSafeUpgradeStatus', class: Google::Apis::ContainerV1beta1::RollbackSafeUpgradeStatus, decorator: Google::Apis::ContainerV1beta1::RollbackSafeUpgradeStatus::Representation
|
|
2239
|
+
|
|
2154
2240
|
collection :upgrade_details, as: 'upgradeDetails', class: Google::Apis::ContainerV1beta1::UpgradeDetails, decorator: Google::Apis::ContainerV1beta1::UpgradeDetails::Representation
|
|
2155
2241
|
|
|
2156
2242
|
end
|
|
2157
2243
|
end
|
|
2158
2244
|
|
|
2245
|
+
class CompatibilityStatus
|
|
2246
|
+
# @private
|
|
2247
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2248
|
+
property :downgradable_version, as: 'downgradableVersion'
|
|
2249
|
+
property :emulated_version_time, as: 'emulatedVersionTime'
|
|
2250
|
+
end
|
|
2251
|
+
end
|
|
2252
|
+
|
|
2253
|
+
class CompleteControlPlaneUpgradeRequest
|
|
2254
|
+
# @private
|
|
2255
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2256
|
+
property :version, as: 'version'
|
|
2257
|
+
end
|
|
2258
|
+
end
|
|
2259
|
+
|
|
2159
2260
|
class CompleteIpRotationRequest
|
|
2160
2261
|
# @private
|
|
2161
2262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2215,6 +2316,8 @@ module Google
|
|
|
2215
2316
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2216
2317
|
property :private_registry_access_config, as: 'privateRegistryAccessConfig', class: Google::Apis::ContainerV1beta1::PrivateRegistryAccessConfig, decorator: Google::Apis::ContainerV1beta1::PrivateRegistryAccessConfig::Representation
|
|
2217
2318
|
|
|
2319
|
+
collection :registry_hosts, as: 'registryHosts', class: Google::Apis::ContainerV1beta1::RegistryHostConfig, decorator: Google::Apis::ContainerV1beta1::RegistryHostConfig::Representation
|
|
2320
|
+
|
|
2218
2321
|
property :writable_cgroups, as: 'writableCgroups', class: Google::Apis::ContainerV1beta1::WritableCgroups, decorator: Google::Apis::ContainerV1beta1::WritableCgroups::Representation
|
|
2219
2322
|
|
|
2220
2323
|
end
|
|
@@ -2566,6 +2669,22 @@ module Google
|
|
|
2566
2669
|
end
|
|
2567
2670
|
end
|
|
2568
2671
|
|
|
2672
|
+
class HostConfig
|
|
2673
|
+
# @private
|
|
2674
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2675
|
+
collection :ca, as: 'ca', class: Google::Apis::ContainerV1beta1::CertificateConfig, decorator: Google::Apis::ContainerV1beta1::CertificateConfig::Representation
|
|
2676
|
+
|
|
2677
|
+
collection :capabilities, as: 'capabilities'
|
|
2678
|
+
collection :client, as: 'client', class: Google::Apis::ContainerV1beta1::CertificateConfigPair, decorator: Google::Apis::ContainerV1beta1::CertificateConfigPair::Representation
|
|
2679
|
+
|
|
2680
|
+
property :dial_timeout, as: 'dialTimeout'
|
|
2681
|
+
collection :header, as: 'header', class: Google::Apis::ContainerV1beta1::RegistryHeader, decorator: Google::Apis::ContainerV1beta1::RegistryHeader::Representation
|
|
2682
|
+
|
|
2683
|
+
property :host, as: 'host'
|
|
2684
|
+
property :override_path, as: 'overridePath'
|
|
2685
|
+
end
|
|
2686
|
+
end
|
|
2687
|
+
|
|
2569
2688
|
class HostMaintenancePolicy
|
|
2570
2689
|
# @private
|
|
2571
2690
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2867,6 +2986,8 @@ module Google
|
|
|
2867
2986
|
class Master
|
|
2868
2987
|
# @private
|
|
2869
2988
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2989
|
+
property :compatibility_status, as: 'compatibilityStatus', class: Google::Apis::ContainerV1beta1::CompatibilityStatus, decorator: Google::Apis::ContainerV1beta1::CompatibilityStatus::Representation
|
|
2990
|
+
|
|
2870
2991
|
end
|
|
2871
2992
|
end
|
|
2872
2993
|
|
|
@@ -3412,6 +3533,13 @@ module Google
|
|
|
3412
3533
|
end
|
|
3413
3534
|
end
|
|
3414
3535
|
|
|
3536
|
+
class PodSnapshotConfig
|
|
3537
|
+
# @private
|
|
3538
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3539
|
+
property :enabled, as: 'enabled'
|
|
3540
|
+
end
|
|
3541
|
+
end
|
|
3542
|
+
|
|
3415
3543
|
class PolicyBinding
|
|
3416
3544
|
# @private
|
|
3417
3545
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3533,6 +3661,23 @@ module Google
|
|
|
3533
3661
|
end
|
|
3534
3662
|
end
|
|
3535
3663
|
|
|
3664
|
+
class RegistryHeader
|
|
3665
|
+
# @private
|
|
3666
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3667
|
+
property :key, as: 'key'
|
|
3668
|
+
collection :value, as: 'value'
|
|
3669
|
+
end
|
|
3670
|
+
end
|
|
3671
|
+
|
|
3672
|
+
class RegistryHostConfig
|
|
3673
|
+
# @private
|
|
3674
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3675
|
+
collection :hosts, as: 'hosts', class: Google::Apis::ContainerV1beta1::HostConfig, decorator: Google::Apis::ContainerV1beta1::HostConfig::Representation
|
|
3676
|
+
|
|
3677
|
+
property :server, as: 'server'
|
|
3678
|
+
end
|
|
3679
|
+
end
|
|
3680
|
+
|
|
3536
3681
|
class ReleaseChannel
|
|
3537
3682
|
# @private
|
|
3538
3683
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3607,6 +3752,22 @@ module Google
|
|
|
3607
3752
|
end
|
|
3608
3753
|
end
|
|
3609
3754
|
|
|
3755
|
+
class RollbackSafeUpgrade
|
|
3756
|
+
# @private
|
|
3757
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3758
|
+
property :control_plane_soak_duration, as: 'controlPlaneSoakDuration'
|
|
3759
|
+
end
|
|
3760
|
+
end
|
|
3761
|
+
|
|
3762
|
+
class RollbackSafeUpgradeStatus
|
|
3763
|
+
# @private
|
|
3764
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3765
|
+
property :control_plane_upgrade_rollback_end_time, as: 'controlPlaneUpgradeRollbackEndTime'
|
|
3766
|
+
property :mode, as: 'mode'
|
|
3767
|
+
property :previous_version, as: 'previousVersion'
|
|
3768
|
+
end
|
|
3769
|
+
end
|
|
3770
|
+
|
|
3610
3771
|
class RotationConfig
|
|
3611
3772
|
# @private
|
|
3612
3773
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -4073,10 +4234,12 @@ module Google
|
|
|
4073
4234
|
# @private
|
|
4074
4235
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
4075
4236
|
property :end_time, as: 'endTime'
|
|
4237
|
+
property :initial_emulated_version, as: 'initialEmulatedVersion'
|
|
4076
4238
|
property :initial_version, as: 'initialVersion'
|
|
4077
4239
|
property :start_time, as: 'startTime'
|
|
4078
4240
|
property :start_type, as: 'startType'
|
|
4079
4241
|
property :state, as: 'state'
|
|
4242
|
+
property :target_emulated_version, as: 'targetEmulatedVersion'
|
|
4080
4243
|
property :target_version, as: 'targetVersion'
|
|
4081
4244
|
end
|
|
4082
4245
|
end
|
|
@@ -203,6 +203,41 @@ module Google
|
|
|
203
203
|
execute_or_queue_command(command, &block)
|
|
204
204
|
end
|
|
205
205
|
|
|
206
|
+
# CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing
|
|
207
|
+
# the step two upgrade for a specific cluster.
|
|
208
|
+
# @param [String] name
|
|
209
|
+
# The name (project, location, cluster) of the cluster to complete upgrade.
|
|
210
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
|
211
|
+
# @param [Google::Apis::ContainerV1beta1::CompleteControlPlaneUpgradeRequest] complete_control_plane_upgrade_request_object
|
|
212
|
+
# @param [String] fields
|
|
213
|
+
# Selector specifying which fields to include in a partial response.
|
|
214
|
+
# @param [String] quota_user
|
|
215
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
216
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
217
|
+
# @param [Google::Apis::RequestOptions] options
|
|
218
|
+
# Request-specific options
|
|
219
|
+
#
|
|
220
|
+
# @yield [result, err] Result & error if block supplied
|
|
221
|
+
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
|
|
222
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
223
|
+
#
|
|
224
|
+
# @return [Google::Apis::ContainerV1beta1::Operation]
|
|
225
|
+
#
|
|
226
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
227
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
228
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
229
|
+
def complete_project_location_cluster_control_plane_upgrade(name, complete_control_plane_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
230
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:completeControlPlaneUpgrade', options)
|
|
231
|
+
command.request_representation = Google::Apis::ContainerV1beta1::CompleteControlPlaneUpgradeRequest::Representation
|
|
232
|
+
command.request_object = complete_control_plane_upgrade_request_object
|
|
233
|
+
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
|
|
234
|
+
command.response_class = Google::Apis::ContainerV1beta1::Operation
|
|
235
|
+
command.params['name'] = name unless name.nil?
|
|
236
|
+
command.query['fields'] = fields unless fields.nil?
|
|
237
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
238
|
+
execute_or_queue_command(command, &block)
|
|
239
|
+
end
|
|
240
|
+
|
|
206
241
|
# Completes master IP rotation.
|
|
207
242
|
# @param [String] name
|
|
208
243
|
# The name (project, location, cluster name) of the cluster to complete IP
|
|
@@ -1555,6 +1590,41 @@ module Google
|
|
|
1555
1590
|
execute_or_queue_command(command, &block)
|
|
1556
1591
|
end
|
|
1557
1592
|
|
|
1593
|
+
# CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing
|
|
1594
|
+
# the step two upgrade for a specific cluster.
|
|
1595
|
+
# @param [String] name
|
|
1596
|
+
# The name (project, location, cluster) of the cluster to complete upgrade.
|
|
1597
|
+
# Specified in the format `projects/*/locations/*/clusters/*`.
|
|
1598
|
+
# @param [Google::Apis::ContainerV1beta1::CompleteControlPlaneUpgradeRequest] complete_control_plane_upgrade_request_object
|
|
1599
|
+
# @param [String] fields
|
|
1600
|
+
# Selector specifying which fields to include in a partial response.
|
|
1601
|
+
# @param [String] quota_user
|
|
1602
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1603
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1604
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1605
|
+
# Request-specific options
|
|
1606
|
+
#
|
|
1607
|
+
# @yield [result, err] Result & error if block supplied
|
|
1608
|
+
# @yieldparam result [Google::Apis::ContainerV1beta1::Operation] parsed result object
|
|
1609
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1610
|
+
#
|
|
1611
|
+
# @return [Google::Apis::ContainerV1beta1::Operation]
|
|
1612
|
+
#
|
|
1613
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1614
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1615
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1616
|
+
def complete_project_zone_cluster_control_plane_upgrade(name, complete_control_plane_upgrade_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1617
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:completeControlPlaneUpgrade', options)
|
|
1618
|
+
command.request_representation = Google::Apis::ContainerV1beta1::CompleteControlPlaneUpgradeRequest::Representation
|
|
1619
|
+
command.request_object = complete_control_plane_upgrade_request_object
|
|
1620
|
+
command.response_representation = Google::Apis::ContainerV1beta1::Operation::Representation
|
|
1621
|
+
command.response_class = Google::Apis::ContainerV1beta1::Operation
|
|
1622
|
+
command.params['name'] = name unless name.nil?
|
|
1623
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1624
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1625
|
+
execute_or_queue_command(command, &block)
|
|
1626
|
+
end
|
|
1627
|
+
|
|
1558
1628
|
# Completes master IP rotation.
|
|
1559
1629
|
# @param [String] project_id
|
|
1560
1630
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-container_v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.96.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1beta1/v0.96.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1beta1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|