google-apis-container_v1beta1 0.94.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 +8 -0
- data/lib/google/apis/container_v1beta1/classes.rb +858 -362
- data/lib/google/apis/container_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/container_v1beta1/representations.rb +263 -0
- data/lib/google/apis/container_v1beta1/service.rb +279 -287
- metadata +2 -2
|
@@ -32,7 +32,7 @@ module Google
|
|
|
32
32
|
attr_accessor :accelerator_count
|
|
33
33
|
|
|
34
34
|
# The accelerator type resource name. List of supported accelerators [here](
|
|
35
|
-
# https
|
|
35
|
+
# https://cloud.google.com/compute/docs/gpus)
|
|
36
36
|
# Corresponds to the JSON property `acceleratorType`
|
|
37
37
|
# @return [String]
|
|
38
38
|
attr_accessor :accelerator_type
|
|
@@ -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
|
|
@@ -647,8 +653,7 @@ module Google
|
|
|
647
653
|
# each node in the node pool. This should be of the form projects/[
|
|
648
654
|
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
|
649
655
|
# . For more information about protecting resources with Cloud KMS Keys please
|
|
650
|
-
# see: https
|
|
651
|
-
# disks/customer-managed-encryption
|
|
656
|
+
# see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
|
652
657
|
# Corresponds to the JSON property `bootDiskKmsKey`
|
|
653
658
|
# @return [String]
|
|
654
659
|
attr_accessor :boot_disk_kms_key
|
|
@@ -665,9 +670,8 @@ module Google
|
|
|
665
670
|
# @return [String]
|
|
666
671
|
attr_accessor :disk_type
|
|
667
672
|
|
|
668
|
-
# The image type to use for NAP created node. Please see https
|
|
669
|
-
#
|
|
670
|
-
# images for available image types.
|
|
673
|
+
# The image type to use for NAP created node. Please see https://cloud.google.
|
|
674
|
+
# com/kubernetes-engine/docs/concepts/node-images for available image types.
|
|
671
675
|
# Corresponds to the JSON property `imageType`
|
|
672
676
|
# @return [String]
|
|
673
677
|
attr_accessor :image_type
|
|
@@ -688,11 +692,11 @@ module Google
|
|
|
688
692
|
# instance may be scheduled on the specified or newer CPU platform. Applicable
|
|
689
693
|
# values are the friendly names of CPU platforms, such as minCpuPlatform: Intel
|
|
690
694
|
# Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how
|
|
691
|
-
# to specify min CPU platform](https
|
|
692
|
-
#
|
|
693
|
-
#
|
|
694
|
-
#
|
|
695
|
-
#
|
|
695
|
+
# to specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
|
696
|
+
# specify-min-cpu-platform). This field is deprecated, min_cpu_platform should
|
|
697
|
+
# be specified using `cloud.google.com/requested-min-cpu-platform` label
|
|
698
|
+
# selector on the pod. To unset the min cpu platform field pass "automatic" as
|
|
699
|
+
# field value.
|
|
696
700
|
# Corresponds to the JSON property `minCpuPlatform`
|
|
697
701
|
# @return [String]
|
|
698
702
|
attr_accessor :min_cpu_platform
|
|
@@ -702,10 +706,10 @@ module Google
|
|
|
702
706
|
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
|
703
707
|
# compute` is required for mounting persistent storage on your nodes. * `https://
|
|
704
708
|
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
|
705
|
-
# with **gcr.io** (the [
|
|
706
|
-
#
|
|
707
|
-
#
|
|
708
|
-
#
|
|
709
|
+
# with **gcr.io** (the [Artifact Registry](https://cloud.google.com/artifact-
|
|
710
|
+
# registry/)). If unspecified, no scopes are added, unless Cloud Logging or
|
|
711
|
+
# Cloud Monitoring are enabled, in which case their required scopes will be
|
|
712
|
+
# added.
|
|
709
713
|
# Corresponds to the JSON property `oauthScopes`
|
|
710
714
|
# @return [Array<String>]
|
|
711
715
|
attr_accessor :oauth_scopes
|
|
@@ -1023,6 +1027,31 @@ module Google
|
|
|
1023
1027
|
end
|
|
1024
1028
|
end
|
|
1025
1029
|
|
|
1030
|
+
# Swap on the node's boot disk.
|
|
1031
|
+
class BootDiskProfile
|
|
1032
|
+
include Google::Apis::Core::Hashable
|
|
1033
|
+
|
|
1034
|
+
# Specifies the size of the swap space in gibibytes (GiB).
|
|
1035
|
+
# Corresponds to the JSON property `swapSizeGib`
|
|
1036
|
+
# @return [Fixnum]
|
|
1037
|
+
attr_accessor :swap_size_gib
|
|
1038
|
+
|
|
1039
|
+
# Specifies the size of the swap space as a percentage of the boot disk size.
|
|
1040
|
+
# Corresponds to the JSON property `swapSizePercent`
|
|
1041
|
+
# @return [Fixnum]
|
|
1042
|
+
attr_accessor :swap_size_percent
|
|
1043
|
+
|
|
1044
|
+
def initialize(**args)
|
|
1045
|
+
update!(**args)
|
|
1046
|
+
end
|
|
1047
|
+
|
|
1048
|
+
# Update properties of this object
|
|
1049
|
+
def update!(**args)
|
|
1050
|
+
@swap_size_gib = args[:swap_size_gib] if args.key?(:swap_size_gib)
|
|
1051
|
+
@swap_size_percent = args[:swap_size_percent] if args.key?(:swap_size_percent)
|
|
1052
|
+
end
|
|
1053
|
+
end
|
|
1054
|
+
|
|
1026
1055
|
# CancelOperationRequest cancels a single operation.
|
|
1027
1056
|
class CancelOperationRequest
|
|
1028
1057
|
include Google::Apis::Core::Hashable
|
|
@@ -1040,17 +1069,15 @@ module Google
|
|
|
1040
1069
|
attr_accessor :operation_id
|
|
1041
1070
|
|
|
1042
1071
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
1043
|
-
#
|
|
1044
|
-
#
|
|
1045
|
-
# the name field.
|
|
1072
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
1073
|
+
# field has been deprecated and replaced by the name field.
|
|
1046
1074
|
# Corresponds to the JSON property `projectId`
|
|
1047
1075
|
# @return [String]
|
|
1048
1076
|
attr_accessor :project_id
|
|
1049
1077
|
|
|
1050
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
1051
|
-
#
|
|
1052
|
-
#
|
|
1053
|
-
# field.
|
|
1078
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
1079
|
+
# com/compute/docs/zones#available) in which the operation resides. This field
|
|
1080
|
+
# has been deprecated and replaced by the name field.
|
|
1054
1081
|
# Corresponds to the JSON property `zone`
|
|
1055
1082
|
# @return [String]
|
|
1056
1083
|
attr_accessor :zone
|
|
@@ -1079,9 +1106,8 @@ module Google
|
|
|
1079
1106
|
# @return [Array<String>]
|
|
1080
1107
|
attr_accessor :fqdns
|
|
1081
1108
|
|
|
1082
|
-
# GCPSecretManagerCertificateConfig configures a secret from [
|
|
1083
|
-
#
|
|
1084
|
-
# manager).
|
|
1109
|
+
# GCPSecretManagerCertificateConfig configures a secret from [Secret Manager](
|
|
1110
|
+
# https://cloud.google.com/secret-manager).
|
|
1085
1111
|
# Corresponds to the JSON property `gcpSecretManagerCertificateConfig`
|
|
1086
1112
|
# @return [Google::Apis::ContainerV1beta1::GcpSecretManagerCertificateConfig]
|
|
1087
1113
|
attr_accessor :gcp_secret_manager_certificate_config
|
|
@@ -1097,6 +1123,55 @@ module Google
|
|
|
1097
1123
|
end
|
|
1098
1124
|
end
|
|
1099
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
|
+
|
|
1100
1175
|
# CheckAutopilotCompatibilityResponse has a list of compatibility issues.
|
|
1101
1176
|
class CheckAutopilotCompatibilityResponse
|
|
1102
1177
|
include Google::Apis::Core::Hashable
|
|
@@ -1284,6 +1359,13 @@ module Google
|
|
|
1284
1359
|
# @return [String]
|
|
1285
1360
|
attr_accessor :create_time
|
|
1286
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
|
+
|
|
1287
1369
|
# Output only. The current software version of the master endpoint.
|
|
1288
1370
|
# Corresponds to the JSON property `currentMasterVersion`
|
|
1289
1371
|
# @return [String]
|
|
@@ -1295,12 +1377,11 @@ module Google
|
|
|
1295
1377
|
# @return [Fixnum]
|
|
1296
1378
|
attr_accessor :current_node_count
|
|
1297
1379
|
|
|
1298
|
-
# Output only. Deprecated, use [NodePool.version](https
|
|
1299
|
-
#
|
|
1300
|
-
#
|
|
1301
|
-
#
|
|
1302
|
-
#
|
|
1303
|
-
# all nodes.
|
|
1380
|
+
# Output only. Deprecated, use [NodePool.version](https://cloud.google.com/
|
|
1381
|
+
# kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.
|
|
1382
|
+
# nodePools) instead. The current version of the node software components. If
|
|
1383
|
+
# they are currently at multiple versions because they're in the process of
|
|
1384
|
+
# being upgraded, this reflects the minimum version of all nodes.
|
|
1304
1385
|
# Corresponds to the JSON property `currentNodeVersion`
|
|
1305
1386
|
# @return [String]
|
|
1306
1387
|
attr_accessor :current_node_version
|
|
@@ -1405,14 +1486,13 @@ module Google
|
|
|
1405
1486
|
attr_accessor :initial_cluster_version
|
|
1406
1487
|
|
|
1407
1488
|
# The number of nodes to create in this cluster. You must ensure that your
|
|
1408
|
-
# Compute Engine [resource quota](https
|
|
1409
|
-
#
|
|
1410
|
-
#
|
|
1411
|
-
#
|
|
1412
|
-
#
|
|
1413
|
-
# a
|
|
1414
|
-
# node_pool
|
|
1415
|
-
# initial_node_count instead.
|
|
1489
|
+
# Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is
|
|
1490
|
+
# sufficient for this number of instances. You must also have available firewall
|
|
1491
|
+
# and routes quota. For requests, this field should only be used in lieu of a "
|
|
1492
|
+
# node_pool" object, since this configuration (along with the "node_config")
|
|
1493
|
+
# will be used to create a "NodePool" object with an auto-generated name. Do not
|
|
1494
|
+
# use this and a node_pool at the same time. This field is deprecated, use
|
|
1495
|
+
# node_pool.initial_node_count instead.
|
|
1416
1496
|
# Corresponds to the JSON property `initialNodeCount`
|
|
1417
1497
|
# @return [Fixnum]
|
|
1418
1498
|
attr_accessor :initial_node_count
|
|
@@ -1437,26 +1517,23 @@ module Google
|
|
|
1437
1517
|
# @return [Google::Apis::ContainerV1beta1::LegacyAbac]
|
|
1438
1518
|
attr_accessor :legacy_abac
|
|
1439
1519
|
|
|
1440
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
1441
|
-
#
|
|
1442
|
-
# available)
|
|
1443
|
-
#
|
|
1444
|
-
# resides.
|
|
1520
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
1521
|
+
# com/compute/docs/regions-zones/regions-zones#available) or [region](https://
|
|
1522
|
+
# cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
|
|
1523
|
+
# the cluster resides.
|
|
1445
1524
|
# Corresponds to the JSON property `location`
|
|
1446
1525
|
# @return [String]
|
|
1447
1526
|
attr_accessor :location
|
|
1448
1527
|
|
|
1449
|
-
# The list of Google Compute Engine [zones](https
|
|
1450
|
-
#
|
|
1451
|
-
#
|
|
1452
|
-
#
|
|
1453
|
-
#
|
|
1454
|
-
#
|
|
1455
|
-
#
|
|
1456
|
-
#
|
|
1457
|
-
#
|
|
1458
|
-
# locations) of all node pools and will result in nodes being added and/or
|
|
1459
|
-
# removed.
|
|
1528
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
1529
|
+
# docs/zones#available) in which the cluster's nodes should be located. This
|
|
1530
|
+
# field provides a default value if [NodePool.Locations](https://cloud.google.
|
|
1531
|
+
# com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.
|
|
1532
|
+
# nodePools#NodePool.FIELDS.locations) are not specified during node pool
|
|
1533
|
+
# creation. Warning: changing cluster locations will update the [NodePool.
|
|
1534
|
+
# Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/
|
|
1535
|
+
# projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node
|
|
1536
|
+
# pools and will result in nodes being added and/or removed.
|
|
1460
1537
|
# Corresponds to the JSON property `locations`
|
|
1461
1538
|
# @return [Array<String>]
|
|
1462
1539
|
attr_accessor :locations
|
|
@@ -1538,10 +1615,10 @@ module Google
|
|
|
1538
1615
|
# @return [String]
|
|
1539
1616
|
attr_accessor :name
|
|
1540
1617
|
|
|
1541
|
-
# The name of the Google Compute Engine [network](https
|
|
1542
|
-
#
|
|
1543
|
-
#
|
|
1544
|
-
#
|
|
1618
|
+
# The name of the Google Compute Engine [network](https://cloud.google.com/
|
|
1619
|
+
# compute/docs/networks-and-firewalls#networks) to which the cluster is
|
|
1620
|
+
# connected. If left unspecified, the `default` network will be used. On output
|
|
1621
|
+
# this shows the network ID instead of the name.
|
|
1545
1622
|
# Corresponds to the JSON property `network`
|
|
1546
1623
|
# @return [String]
|
|
1547
1624
|
attr_accessor :network
|
|
@@ -1656,6 +1733,11 @@ module Google
|
|
|
1656
1733
|
# @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig]
|
|
1657
1734
|
attr_accessor :resource_usage_export_config
|
|
1658
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
|
+
|
|
1659
1741
|
# Output only. Reserved for future use.
|
|
1660
1742
|
# Corresponds to the JSON property `satisfiesPzi`
|
|
1661
1743
|
# @return [Boolean]
|
|
@@ -1713,10 +1795,9 @@ module Google
|
|
|
1713
1795
|
# @return [String]
|
|
1714
1796
|
attr_accessor :status_message
|
|
1715
1797
|
|
|
1716
|
-
# The name of the Google Compute Engine [subnetwork](https
|
|
1717
|
-
#
|
|
1718
|
-
#
|
|
1719
|
-
# name.
|
|
1798
|
+
# The name of the Google Compute Engine [subnetwork](https://cloud.google.com/
|
|
1799
|
+
# compute/docs/subnetworks) to which the cluster is connected. On output this
|
|
1800
|
+
# shows the subnetwork ID instead of the name.
|
|
1720
1801
|
# Corresponds to the JSON property `subnetwork`
|
|
1721
1802
|
# @return [String]
|
|
1722
1803
|
attr_accessor :subnetwork
|
|
@@ -1765,9 +1846,9 @@ module Google
|
|
|
1765
1846
|
# @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
|
|
1766
1847
|
attr_accessor :workload_identity_config
|
|
1767
1848
|
|
|
1768
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
1769
|
-
#
|
|
1770
|
-
#
|
|
1849
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
1850
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field is
|
|
1851
|
+
# deprecated, use location instead.
|
|
1771
1852
|
# Corresponds to the JSON property `zone`
|
|
1772
1853
|
# @return [String]
|
|
1773
1854
|
attr_accessor :zone
|
|
@@ -1793,6 +1874,7 @@ module Google
|
|
|
1793
1874
|
@control_plane_endpoints_config = args[:control_plane_endpoints_config] if args.key?(:control_plane_endpoints_config)
|
|
1794
1875
|
@cost_management_config = args[:cost_management_config] if args.key?(:cost_management_config)
|
|
1795
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)
|
|
1796
1878
|
@current_master_version = args[:current_master_version] if args.key?(:current_master_version)
|
|
1797
1879
|
@current_node_count = args[:current_node_count] if args.key?(:current_node_count)
|
|
1798
1880
|
@current_node_version = args[:current_node_version] if args.key?(:current_node_version)
|
|
@@ -1848,6 +1930,7 @@ module Google
|
|
|
1848
1930
|
@release_channel = args[:release_channel] if args.key?(:release_channel)
|
|
1849
1931
|
@resource_labels = args[:resource_labels] if args.key?(:resource_labels)
|
|
1850
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)
|
|
1851
1934
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
|
1852
1935
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
|
1853
1936
|
@secret_manager_config = args[:secret_manager_config] if args.key?(:secret_manager_config)
|
|
@@ -1876,9 +1959,8 @@ module Google
|
|
|
1876
1959
|
class ClusterAutoscaling
|
|
1877
1960
|
include Google::Apis::Core::Hashable
|
|
1878
1961
|
|
|
1879
|
-
# The list of Google Compute Engine [zones](https
|
|
1880
|
-
#
|
|
1881
|
-
# NodePool's nodes can be created by NAP.
|
|
1962
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
1963
|
+
# docs/zones#available) in which the NodePool's nodes can be created by NAP.
|
|
1882
1964
|
# Corresponds to the JSON property `autoprovisioningLocations`
|
|
1883
1965
|
# @return [Array<String>]
|
|
1884
1966
|
attr_accessor :autoprovisioning_locations
|
|
@@ -2171,11 +2253,11 @@ module Google
|
|
|
2171
2253
|
# @return [Google::Apis::ContainerV1beta1::IlbSubsettingConfig]
|
|
2172
2254
|
attr_accessor :desired_l4ilb_subsetting_config
|
|
2173
2255
|
|
|
2174
|
-
# The desired list of Google Compute Engine [zones](https
|
|
2175
|
-
#
|
|
2176
|
-
#
|
|
2177
|
-
#
|
|
2178
|
-
#
|
|
2256
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
|
2257
|
+
# compute/docs/zones#available) in which the cluster's nodes should be located.
|
|
2258
|
+
# This list must always include the cluster's primary zone. Warning: changing
|
|
2259
|
+
# cluster locations will update the locations of all node pools and will result
|
|
2260
|
+
# in nodes being added and/or removed.
|
|
2179
2261
|
# Corresponds to the JSON property `desiredLocations`
|
|
2180
2262
|
# @return [Array<String>]
|
|
2181
2263
|
attr_accessor :desired_locations
|
|
@@ -2275,10 +2357,9 @@ module Google
|
|
|
2275
2357
|
|
|
2276
2358
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
2277
2359
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
2278
|
-
# be according to specifications in https
|
|
2279
|
-
#
|
|
2280
|
-
#
|
|
2281
|
-
# replaced with new values.
|
|
2360
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
2361
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
2362
|
+
# specified. Existing tags will be replaced with new values.
|
|
2282
2363
|
# Corresponds to the JSON property `desiredNodePoolAutoConfigResourceManagerTags`
|
|
2283
2364
|
# @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
|
|
2284
2365
|
attr_accessor :desired_node_pool_auto_config_resource_manager_tags
|
|
@@ -2371,11 +2452,21 @@ module Google
|
|
|
2371
2452
|
# @return [Google::Apis::ContainerV1beta1::ResourceUsageExportConfig]
|
|
2372
2453
|
attr_accessor :desired_resource_usage_export_config
|
|
2373
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
|
+
|
|
2374
2460
|
# SecretManagerConfig is config for secret manager enablement.
|
|
2375
2461
|
# Corresponds to the JSON property `desiredSecretManagerConfig`
|
|
2376
2462
|
# @return [Google::Apis::ContainerV1beta1::SecretManagerConfig]
|
|
2377
2463
|
attr_accessor :desired_secret_manager_config
|
|
2378
2464
|
|
|
2465
|
+
# Configuration for sync Secret Manager secrets as k8s secrets.
|
|
2466
|
+
# Corresponds to the JSON property `desiredSecretSyncConfig`
|
|
2467
|
+
# @return [Google::Apis::ContainerV1beta1::SecretSyncConfig]
|
|
2468
|
+
attr_accessor :desired_secret_sync_config
|
|
2469
|
+
|
|
2379
2470
|
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
|
2380
2471
|
# the Security Posture API.
|
|
2381
2472
|
# Corresponds to the JSON property `desiredSecurityPostureConfig`
|
|
@@ -2540,7 +2631,9 @@ module Google
|
|
|
2540
2631
|
@desired_rbac_binding_config = args[:desired_rbac_binding_config] if args.key?(:desired_rbac_binding_config)
|
|
2541
2632
|
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
|
|
2542
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)
|
|
2543
2635
|
@desired_secret_manager_config = args[:desired_secret_manager_config] if args.key?(:desired_secret_manager_config)
|
|
2636
|
+
@desired_secret_sync_config = args[:desired_secret_sync_config] if args.key?(:desired_secret_sync_config)
|
|
2544
2637
|
@desired_security_posture_config = args[:desired_security_posture_config] if args.key?(:desired_security_posture_config)
|
|
2545
2638
|
@desired_service_external_ips_config = args[:desired_service_external_ips_config] if args.key?(:desired_service_external_ips_config)
|
|
2546
2639
|
@desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
|
|
@@ -2594,6 +2687,12 @@ module Google
|
|
|
2594
2687
|
# @return [Array<String>]
|
|
2595
2688
|
attr_accessor :paused_reason
|
|
2596
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
|
+
|
|
2597
2696
|
# The list of past auto upgrades.
|
|
2598
2697
|
# Corresponds to the JSON property `upgradeDetails`
|
|
2599
2698
|
# @return [Array<Google::Apis::ContainerV1beta1::UpgradeDetails>]
|
|
@@ -2611,10 +2710,60 @@ module Google
|
|
|
2611
2710
|
@minor_target_version = args[:minor_target_version] if args.key?(:minor_target_version)
|
|
2612
2711
|
@patch_target_version = args[:patch_target_version] if args.key?(:patch_target_version)
|
|
2613
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)
|
|
2614
2714
|
@upgrade_details = args[:upgrade_details] if args.key?(:upgrade_details)
|
|
2615
2715
|
end
|
|
2616
2716
|
end
|
|
2617
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
|
+
|
|
2618
2767
|
# CompleteIPRotationRequest moves the cluster master back into single-IP mode.
|
|
2619
2768
|
class CompleteIpRotationRequest
|
|
2620
2769
|
include Google::Apis::Core::Hashable
|
|
@@ -2632,17 +2781,15 @@ module Google
|
|
|
2632
2781
|
attr_accessor :name
|
|
2633
2782
|
|
|
2634
2783
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
2635
|
-
#
|
|
2636
|
-
#
|
|
2637
|
-
# the name field.
|
|
2784
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
2785
|
+
# field has been deprecated and replaced by the name field.
|
|
2638
2786
|
# Corresponds to the JSON property `projectId`
|
|
2639
2787
|
# @return [String]
|
|
2640
2788
|
attr_accessor :project_id
|
|
2641
2789
|
|
|
2642
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
2643
|
-
#
|
|
2644
|
-
#
|
|
2645
|
-
# field.
|
|
2790
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
2791
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
2792
|
+
# been deprecated and replaced by the name field.
|
|
2646
2793
|
# Corresponds to the JSON property `zone`
|
|
2647
2794
|
# @return [String]
|
|
2648
2795
|
attr_accessor :zone
|
|
@@ -2797,6 +2944,13 @@ module Google
|
|
|
2797
2944
|
# @return [Google::Apis::ContainerV1beta1::PrivateRegistryAccessConfig]
|
|
2798
2945
|
attr_accessor :private_registry_access_config
|
|
2799
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
|
+
|
|
2800
2954
|
# Defines writable cgroups configuration.
|
|
2801
2955
|
# Corresponds to the JSON property `writableCgroups`
|
|
2802
2956
|
# @return [Google::Apis::ContainerV1beta1::WritableCgroups]
|
|
@@ -2809,6 +2963,7 @@ module Google
|
|
|
2809
2963
|
# Update properties of this object
|
|
2810
2964
|
def update!(**args)
|
|
2811
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)
|
|
2812
2967
|
@writable_cgroups = args[:writable_cgroups] if args.key?(:writable_cgroups)
|
|
2813
2968
|
end
|
|
2814
2969
|
end
|
|
@@ -2874,17 +3029,15 @@ module Google
|
|
|
2874
3029
|
attr_accessor :parent
|
|
2875
3030
|
|
|
2876
3031
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
2877
|
-
#
|
|
2878
|
-
#
|
|
2879
|
-
# the parent field.
|
|
3032
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
3033
|
+
# field has been deprecated and replaced by the parent field.
|
|
2880
3034
|
# Corresponds to the JSON property `projectId`
|
|
2881
3035
|
# @return [String]
|
|
2882
3036
|
attr_accessor :project_id
|
|
2883
3037
|
|
|
2884
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
2885
|
-
#
|
|
2886
|
-
#
|
|
2887
|
-
# field.
|
|
3038
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3039
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3040
|
+
# been deprecated and replaced by the parent field.
|
|
2888
3041
|
# Corresponds to the JSON property `zone`
|
|
2889
3042
|
# @return [String]
|
|
2890
3043
|
attr_accessor :zone
|
|
@@ -2929,17 +3082,15 @@ module Google
|
|
|
2929
3082
|
attr_accessor :parent
|
|
2930
3083
|
|
|
2931
3084
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
2932
|
-
#
|
|
2933
|
-
#
|
|
2934
|
-
# the parent field.
|
|
3085
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
3086
|
+
# field has been deprecated and replaced by the parent field.
|
|
2935
3087
|
# Corresponds to the JSON property `projectId`
|
|
2936
3088
|
# @return [String]
|
|
2937
3089
|
attr_accessor :project_id
|
|
2938
3090
|
|
|
2939
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
2940
|
-
#
|
|
2941
|
-
#
|
|
2942
|
-
# field.
|
|
3091
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
3092
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
3093
|
+
# been deprecated and replaced by the parent field.
|
|
2943
3094
|
# Corresponds to the JSON property `zone`
|
|
2944
3095
|
# @return [String]
|
|
2945
3096
|
attr_accessor :zone
|
|
@@ -3152,6 +3303,25 @@ module Google
|
|
|
3152
3303
|
end
|
|
3153
3304
|
end
|
|
3154
3305
|
|
|
3306
|
+
# Provisions a new, separate local NVMe SSD exclusively for swap.
|
|
3307
|
+
class DedicatedLocalSsdProfile
|
|
3308
|
+
include Google::Apis::Core::Hashable
|
|
3309
|
+
|
|
3310
|
+
# The number of physical local NVMe SSD disks to attach.
|
|
3311
|
+
# Corresponds to the JSON property `diskCount`
|
|
3312
|
+
# @return [Fixnum]
|
|
3313
|
+
attr_accessor :disk_count
|
|
3314
|
+
|
|
3315
|
+
def initialize(**args)
|
|
3316
|
+
update!(**args)
|
|
3317
|
+
end
|
|
3318
|
+
|
|
3319
|
+
# Update properties of this object
|
|
3320
|
+
def update!(**args)
|
|
3321
|
+
@disk_count = args[:disk_count] if args.key?(:disk_count)
|
|
3322
|
+
end
|
|
3323
|
+
end
|
|
3324
|
+
|
|
3155
3325
|
# DefaultComputeClassConfig defines default compute class configuration.
|
|
3156
3326
|
class DefaultComputeClassConfig
|
|
3157
3327
|
include Google::Apis::Core::Hashable
|
|
@@ -3271,6 +3441,27 @@ module Google
|
|
|
3271
3441
|
end
|
|
3272
3442
|
end
|
|
3273
3443
|
|
|
3444
|
+
# Defines encryption settings for the swap space.
|
|
3445
|
+
class EncryptionConfig
|
|
3446
|
+
include Google::Apis::Core::Hashable
|
|
3447
|
+
|
|
3448
|
+
# Optional. If true, swap space will not be encrypted. Defaults to false (
|
|
3449
|
+
# encrypted).
|
|
3450
|
+
# Corresponds to the JSON property `disabled`
|
|
3451
|
+
# @return [Boolean]
|
|
3452
|
+
attr_accessor :disabled
|
|
3453
|
+
alias_method :disabled?, :disabled
|
|
3454
|
+
|
|
3455
|
+
def initialize(**args)
|
|
3456
|
+
update!(**args)
|
|
3457
|
+
end
|
|
3458
|
+
|
|
3459
|
+
# Update properties of this object
|
|
3460
|
+
def update!(**args)
|
|
3461
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
|
3462
|
+
end
|
|
3463
|
+
end
|
|
3464
|
+
|
|
3274
3465
|
# EnterpriseConfig is the cluster enterprise configuration. Deprecated: GKE
|
|
3275
3466
|
# Enterprise features are now available without an Enterprise tier.
|
|
3276
3467
|
class EnterpriseConfig
|
|
@@ -3297,6 +3488,32 @@ module Google
|
|
|
3297
3488
|
end
|
|
3298
3489
|
end
|
|
3299
3490
|
|
|
3491
|
+
# Swap on the local SSD shared with pod ephemeral storage.
|
|
3492
|
+
class EphemeralLocalSsdProfile
|
|
3493
|
+
include Google::Apis::Core::Hashable
|
|
3494
|
+
|
|
3495
|
+
# Specifies the size of the swap space in gibibytes (GiB).
|
|
3496
|
+
# Corresponds to the JSON property `swapSizeGib`
|
|
3497
|
+
# @return [Fixnum]
|
|
3498
|
+
attr_accessor :swap_size_gib
|
|
3499
|
+
|
|
3500
|
+
# Specifies the size of the swap space as a percentage of the ephemeral local
|
|
3501
|
+
# SSD capacity.
|
|
3502
|
+
# Corresponds to the JSON property `swapSizePercent`
|
|
3503
|
+
# @return [Fixnum]
|
|
3504
|
+
attr_accessor :swap_size_percent
|
|
3505
|
+
|
|
3506
|
+
def initialize(**args)
|
|
3507
|
+
update!(**args)
|
|
3508
|
+
end
|
|
3509
|
+
|
|
3510
|
+
# Update properties of this object
|
|
3511
|
+
def update!(**args)
|
|
3512
|
+
@swap_size_gib = args[:swap_size_gib] if args.key?(:swap_size_gib)
|
|
3513
|
+
@swap_size_percent = args[:swap_size_percent] if args.key?(:swap_size_percent)
|
|
3514
|
+
end
|
|
3515
|
+
end
|
|
3516
|
+
|
|
3300
3517
|
# EphemeralStorageConfig contains configuration for the ephemeral storage
|
|
3301
3518
|
# filesystem.
|
|
3302
3519
|
class EphemeralStorageConfig
|
|
@@ -3304,16 +3521,15 @@ module Google
|
|
|
3304
3521
|
|
|
3305
3522
|
# Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces.
|
|
3306
3523
|
# The limit for this value is dependent upon the maximum number of disk
|
|
3307
|
-
# available on a machine per zone. See: https
|
|
3308
|
-
#
|
|
3309
|
-
#
|
|
3310
|
-
#
|
|
3311
|
-
#
|
|
3312
|
-
#
|
|
3313
|
-
#
|
|
3314
|
-
#
|
|
3315
|
-
#
|
|
3316
|
-
# provisioned. See https://`$universe.dns_names.final_documentation_domain`/
|
|
3524
|
+
# available on a machine per zone. See: https://cloud.google.com/compute/docs/
|
|
3525
|
+
# disks/local-ssd for more information. A zero (or unset) value has different
|
|
3526
|
+
# meanings depending on machine type being used: 1. For pre-Gen3 machines, which
|
|
3527
|
+
# support flexible numbers of local ssds, zero (or unset) means to disable using
|
|
3528
|
+
# local SSDs as ephemeral storage. 2. For Gen3 machines which dictate a specific
|
|
3529
|
+
# number of local ssds, zero (or unset) means to use the default number of local
|
|
3530
|
+
# ssds that goes with that machine type. For example, for a c3-standard-8-lssd
|
|
3531
|
+
# machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't
|
|
3532
|
+
# support local ssds), 0 will be provisioned. See https://cloud.google.com/
|
|
3317
3533
|
# compute/docs/disks/local-ssd#choose_number_local_ssds for more info.
|
|
3318
3534
|
# Corresponds to the JSON property `localSsdCount`
|
|
3319
3535
|
# @return [Fixnum]
|
|
@@ -3344,15 +3560,13 @@ module Google
|
|
|
3344
3560
|
# used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds,
|
|
3345
3561
|
# zero (or unset) means to disable using local SSDs as ephemeral storage. The
|
|
3346
3562
|
# limit for this value is dependent upon the maximum number of disk available on
|
|
3347
|
-
# a machine per zone. See: https
|
|
3348
|
-
#
|
|
3349
|
-
#
|
|
3350
|
-
#
|
|
3351
|
-
#
|
|
3352
|
-
#
|
|
3353
|
-
#
|
|
3354
|
-
# final_documentation_domain`/compute/docs/disks/local-ssd#
|
|
3355
|
-
# choose_number_local_ssds for more info.
|
|
3563
|
+
# a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd
|
|
3564
|
+
# for more information. 2. For Gen3 machines which dictate a specific number of
|
|
3565
|
+
# local ssds, zero (or unset) means to use the default number of local ssds that
|
|
3566
|
+
# goes with that machine type. For example, for a c3-standard-8-lssd machine, 2
|
|
3567
|
+
# local ssds would be provisioned. For c3-standard-8 (which doesn't support
|
|
3568
|
+
# local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/
|
|
3569
|
+
# disks/local-ssd#choose_number_local_ssds for more info.
|
|
3356
3570
|
# Corresponds to the JSON property `localSsdCount`
|
|
3357
3571
|
# @return [Fixnum]
|
|
3358
3572
|
attr_accessor :local_ssd_count
|
|
@@ -3660,9 +3874,8 @@ module Google
|
|
|
3660
3874
|
end
|
|
3661
3875
|
end
|
|
3662
3876
|
|
|
3663
|
-
# GCPSecretManagerCertificateConfig configures a secret from [
|
|
3664
|
-
#
|
|
3665
|
-
# manager).
|
|
3877
|
+
# GCPSecretManagerCertificateConfig configures a secret from [Secret Manager](
|
|
3878
|
+
# https://cloud.google.com/secret-manager).
|
|
3666
3879
|
class GcpSecretManagerCertificateConfig
|
|
3667
3880
|
include Google::Apis::Core::Hashable
|
|
3668
3881
|
|
|
@@ -3996,6 +4209,73 @@ module Google
|
|
|
3996
4209
|
end
|
|
3997
4210
|
end
|
|
3998
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
|
+
|
|
3999
4279
|
# HostMaintenancePolicy contains the maintenance policy for the hosts on which
|
|
4000
4280
|
# the GKE VMs run on.
|
|
4001
4281
|
class HostMaintenancePolicy
|
|
@@ -4639,6 +4919,16 @@ module Google
|
|
|
4639
4919
|
# @return [Google::Apis::ContainerV1beta1::HugepagesConfig]
|
|
4640
4920
|
attr_accessor :hugepages
|
|
4641
4921
|
|
|
4922
|
+
# Configuration for kernel module loading on nodes.
|
|
4923
|
+
# Corresponds to the JSON property `nodeKernelModuleLoading`
|
|
4924
|
+
# @return [Google::Apis::ContainerV1beta1::NodeKernelModuleLoading]
|
|
4925
|
+
attr_accessor :node_kernel_module_loading
|
|
4926
|
+
|
|
4927
|
+
# Configuration for swap memory on a node pool.
|
|
4928
|
+
# Corresponds to the JSON property `swapConfig`
|
|
4929
|
+
# @return [Google::Apis::ContainerV1beta1::SwapConfig]
|
|
4930
|
+
attr_accessor :swap_config
|
|
4931
|
+
|
|
4642
4932
|
# The Linux kernel parameters to be applied to the nodes and all pods running on
|
|
4643
4933
|
# the nodes. The following parameters are supported. net.core.busy_poll net.core.
|
|
4644
4934
|
# busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default
|
|
@@ -4683,6 +4973,8 @@ module Google
|
|
|
4683
4973
|
def update!(**args)
|
|
4684
4974
|
@cgroup_mode = args[:cgroup_mode] if args.key?(:cgroup_mode)
|
|
4685
4975
|
@hugepages = args[:hugepages] if args.key?(:hugepages)
|
|
4976
|
+
@node_kernel_module_loading = args[:node_kernel_module_loading] if args.key?(:node_kernel_module_loading)
|
|
4977
|
+
@swap_config = args[:swap_config] if args.key?(:swap_config)
|
|
4686
4978
|
@sysctls = args[:sysctls] if args.key?(:sysctls)
|
|
4687
4979
|
@transparent_hugepage_defrag = args[:transparent_hugepage_defrag] if args.key?(:transparent_hugepage_defrag)
|
|
4688
4980
|
@transparent_hugepage_enabled = args[:transparent_hugepage_enabled] if args.key?(:transparent_hugepage_enabled)
|
|
@@ -4823,18 +5115,17 @@ module Google
|
|
|
4823
5115
|
include Google::Apis::Core::Hashable
|
|
4824
5116
|
|
|
4825
5117
|
# Number of local NVMe SSDs to use. The limit for this value is dependent upon
|
|
4826
|
-
# the maximum number of disk available on a machine per zone. See: https
|
|
4827
|
-
#
|
|
4828
|
-
#
|
|
4829
|
-
#
|
|
4830
|
-
#
|
|
4831
|
-
#
|
|
4832
|
-
#
|
|
4833
|
-
#
|
|
4834
|
-
#
|
|
4835
|
-
#
|
|
4836
|
-
#
|
|
4837
|
-
# choose_number_local_ssds for more info.
|
|
5118
|
+
# the maximum number of disk available on a machine per zone. See: https://cloud.
|
|
5119
|
+
# google.com/compute/docs/disks/local-ssd for more information. A zero (or unset)
|
|
5120
|
+
# value has different meanings depending on machine type being used: 1. For pre-
|
|
5121
|
+
# Gen3 machines, which support flexible numbers of local ssds, zero (or unset)
|
|
5122
|
+
# means to disable using local SSDs as ephemeral storage. 2. For Gen3 machines
|
|
5123
|
+
# which dictate a specific number of local ssds, zero (or unset) means to use
|
|
5124
|
+
# the default number of local ssds that goes with that machine type. For example,
|
|
5125
|
+
# for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-
|
|
5126
|
+
# standard-8 (which doesn't support local ssds), 0 will be provisioned. See
|
|
5127
|
+
# https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
|
|
5128
|
+
# for more info.
|
|
4838
5129
|
# Corresponds to the JSON property `localSsdCount`
|
|
4839
5130
|
# @return [Fixnum]
|
|
4840
5131
|
attr_accessor :local_ssd_count
|
|
@@ -4948,7 +5239,10 @@ module Google
|
|
|
4948
5239
|
# port 6988. This serves as a workaround for a port conflict with the gke-
|
|
4949
5240
|
# metadata-server. This field is required ONLY under the following conditions: 1.
|
|
4950
5241
|
# The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting
|
|
4951
|
-
# 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.
|
|
4952
5246
|
# Corresponds to the JSON property `enableLegacyLustrePort`
|
|
4953
5247
|
# @return [Boolean]
|
|
4954
5248
|
attr_accessor :enable_legacy_lustre_port
|
|
@@ -4975,6 +5269,11 @@ module Google
|
|
|
4975
5269
|
class MaintenanceExclusionOptions
|
|
4976
5270
|
include Google::Apis::Core::Hashable
|
|
4977
5271
|
|
|
5272
|
+
# EndTimeBehavior specifies the behavior of the exclusion end time.
|
|
5273
|
+
# Corresponds to the JSON property `endTimeBehavior`
|
|
5274
|
+
# @return [String]
|
|
5275
|
+
attr_accessor :end_time_behavior
|
|
5276
|
+
|
|
4978
5277
|
# Scope specifies the upgrade scope which upgrades are blocked by the exclusion.
|
|
4979
5278
|
# Corresponds to the JSON property `scope`
|
|
4980
5279
|
# @return [String]
|
|
@@ -4986,6 +5285,7 @@ module Google
|
|
|
4986
5285
|
|
|
4987
5286
|
# Update properties of this object
|
|
4988
5287
|
def update!(**args)
|
|
5288
|
+
@end_time_behavior = args[:end_time_behavior] if args.key?(:end_time_behavior)
|
|
4989
5289
|
@scope = args[:scope] if args.key?(:scope)
|
|
4990
5290
|
end
|
|
4991
5291
|
end
|
|
@@ -5083,12 +5383,18 @@ module Google
|
|
|
5083
5383
|
class Master
|
|
5084
5384
|
include Google::Apis::Core::Hashable
|
|
5085
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
|
+
|
|
5086
5391
|
def initialize(**args)
|
|
5087
5392
|
update!(**args)
|
|
5088
5393
|
end
|
|
5089
5394
|
|
|
5090
5395
|
# Update properties of this object
|
|
5091
5396
|
def update!(**args)
|
|
5397
|
+
@compatibility_status = args[:compatibility_status] if args.key?(:compatibility_status)
|
|
5092
5398
|
end
|
|
5093
5399
|
end
|
|
5094
5400
|
|
|
@@ -5125,9 +5431,8 @@ module Google
|
|
|
5125
5431
|
# strong password. If a password is provided for cluster creation, username must
|
|
5126
5432
|
# be non-empty. Warning: basic authentication is deprecated, and will be removed
|
|
5127
5433
|
# in GKE control plane versions 1.19 and newer. For a list of recommended
|
|
5128
|
-
# authentication methods, see: https
|
|
5129
|
-
#
|
|
5130
|
-
# authentication
|
|
5434
|
+
# authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/
|
|
5435
|
+
# how-to/api-server-authentication
|
|
5131
5436
|
# Corresponds to the JSON property `password`
|
|
5132
5437
|
# @return [String]
|
|
5133
5438
|
attr_accessor :password
|
|
@@ -5137,8 +5442,8 @@ module Google
|
|
|
5137
5442
|
# username unspecified (or setting it to the empty string). Warning: basic
|
|
5138
5443
|
# authentication is deprecated, and will be removed in GKE control plane
|
|
5139
5444
|
# versions 1.19 and newer. For a list of recommended authentication methods, see:
|
|
5140
|
-
# https
|
|
5141
|
-
#
|
|
5445
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-
|
|
5446
|
+
# authentication
|
|
5142
5447
|
# Corresponds to the JSON property `username`
|
|
5143
5448
|
# @return [String]
|
|
5144
5449
|
attr_accessor :username
|
|
@@ -5435,10 +5740,9 @@ module Google
|
|
|
5435
5740
|
# @return [String]
|
|
5436
5741
|
attr_accessor :in_transit_encryption_config
|
|
5437
5742
|
|
|
5438
|
-
# Output only. The relative name of the Google Compute Engine [network](https
|
|
5439
|
-
#
|
|
5440
|
-
#
|
|
5441
|
-
# project/global/networks/my-network
|
|
5743
|
+
# Output only. The relative name of the Google Compute Engine [network](https://
|
|
5744
|
+
# cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
|
|
5745
|
+
# cluster is connected. Example: projects/my-project/global/networks/my-network
|
|
5442
5746
|
# Corresponds to the JSON property `network`
|
|
5443
5747
|
# @return [String]
|
|
5444
5748
|
attr_accessor :network
|
|
@@ -5460,9 +5764,8 @@ module Google
|
|
|
5460
5764
|
attr_accessor :service_external_ips_config
|
|
5461
5765
|
|
|
5462
5766
|
# Output only. The relative name of the Google Compute Engine [subnetwork](https:
|
|
5463
|
-
#
|
|
5464
|
-
#
|
|
5465
|
-
# subnetworks/my-subnet
|
|
5767
|
+
# //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
|
|
5768
|
+
# Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
|
|
5466
5769
|
# Corresponds to the JSON property `subnetwork`
|
|
5467
5770
|
# @return [String]
|
|
5468
5771
|
attr_accessor :subnetwork
|
|
@@ -5609,9 +5912,8 @@ module Google
|
|
|
5609
5912
|
end
|
|
5610
5913
|
|
|
5611
5914
|
# Specifies the NodeAffinity key, values, and affinity operator according to [
|
|
5612
|
-
# shared sole tenant node group affinities](https
|
|
5613
|
-
#
|
|
5614
|
-
# node_affinity_and_anti-affinity).
|
|
5915
|
+
# shared sole tenant node group affinities](https://cloud.google.com/compute/
|
|
5916
|
+
# docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity).
|
|
5615
5917
|
class NodeAffinity
|
|
5616
5918
|
include Google::Apis::Core::Hashable
|
|
5617
5919
|
|
|
@@ -5648,9 +5950,8 @@ module Google
|
|
|
5648
5950
|
class NodeConfig
|
|
5649
5951
|
include Google::Apis::Core::Hashable
|
|
5650
5952
|
|
|
5651
|
-
# A list of hardware accelerators to be attached to each node. See https
|
|
5652
|
-
#
|
|
5653
|
-
# information about support for GPUs.
|
|
5953
|
+
# A list of hardware accelerators to be attached to each node. See https://cloud.
|
|
5954
|
+
# google.com/compute/docs/gpus for more information about support for GPUs.
|
|
5654
5955
|
# Corresponds to the JSON property `accelerators`
|
|
5655
5956
|
# @return [Array<Google::Apis::ContainerV1beta1::AcceleratorConfig>]
|
|
5656
5957
|
attr_accessor :accelerators
|
|
@@ -5669,8 +5970,7 @@ module Google
|
|
|
5669
5970
|
# each node in the node pool. This should be of the form projects/[
|
|
5670
5971
|
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
|
5671
5972
|
# . For more information about protecting resources with Cloud KMS Keys please
|
|
5672
|
-
# see: https
|
|
5673
|
-
# disks/customer-managed-encryption
|
|
5973
|
+
# see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
|
5674
5974
|
# Corresponds to the JSON property `bootDiskKmsKey`
|
|
5675
5975
|
# @return [String]
|
|
5676
5976
|
attr_accessor :boot_disk_kms_key
|
|
@@ -5752,9 +6052,8 @@ module Google
|
|
|
5752
6052
|
attr_accessor :host_maintenance_policy
|
|
5753
6053
|
|
|
5754
6054
|
# The image type to use for this node. Note that for a given image type, the
|
|
5755
|
-
# latest version of it will be used. Please see https
|
|
5756
|
-
#
|
|
5757
|
-
# available image types.
|
|
6055
|
+
# latest version of it will be used. Please see https://cloud.google.com/
|
|
6056
|
+
# kubernetes-engine/docs/concepts/node-images for available image types.
|
|
5758
6057
|
# Corresponds to the JSON property `imageType`
|
|
5759
6058
|
# @return [String]
|
|
5760
6059
|
attr_accessor :image_type
|
|
@@ -5788,8 +6087,8 @@ module Google
|
|
|
5788
6087
|
|
|
5789
6088
|
# The number of local SSD disks to be attached to the node. The limit for this
|
|
5790
6089
|
# value is dependent upon the maximum number of disks available on a machine per
|
|
5791
|
-
# zone. See: https
|
|
5792
|
-
#
|
|
6090
|
+
# zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
|
|
6091
|
+
# information.
|
|
5793
6092
|
# Corresponds to the JSON property `localSsdCount`
|
|
5794
6093
|
# @return [Fixnum]
|
|
5795
6094
|
attr_accessor :local_ssd_count
|
|
@@ -5805,9 +6104,9 @@ module Google
|
|
|
5805
6104
|
# @return [Google::Apis::ContainerV1beta1::NodePoolLoggingConfig]
|
|
5806
6105
|
attr_accessor :logging_config
|
|
5807
6106
|
|
|
5808
|
-
# The name of a Google Compute Engine [machine type](https
|
|
5809
|
-
#
|
|
5810
|
-
#
|
|
6107
|
+
# The name of a Google Compute Engine [machine type](https://cloud.google.com/
|
|
6108
|
+
# compute/docs/machine-types). If unspecified, the default machine type is `e2-
|
|
6109
|
+
# medium`.
|
|
5811
6110
|
# Corresponds to the JSON property `machineType`
|
|
5812
6111
|
# @return [String]
|
|
5813
6112
|
attr_accessor :machine_type
|
|
@@ -5840,16 +6139,15 @@ module Google
|
|
|
5840
6139
|
# scheduled on the specified or newer CPU platform. Applicable values are the
|
|
5841
6140
|
# friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
|
|
5842
6141
|
# minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
|
|
5843
|
-
# specify min CPU platform](https
|
|
5844
|
-
#
|
|
6142
|
+
# specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
|
6143
|
+
# specify-min-cpu-platform).
|
|
5845
6144
|
# Corresponds to the JSON property `minCpuPlatform`
|
|
5846
6145
|
# @return [String]
|
|
5847
6146
|
attr_accessor :min_cpu_platform
|
|
5848
6147
|
|
|
5849
6148
|
# Setting this field will assign instances of this pool to run on the specified
|
|
5850
6149
|
# node group. This is useful for running workloads on [sole tenant nodes](https:/
|
|
5851
|
-
#
|
|
5852
|
-
# tenant-nodes).
|
|
6150
|
+
# /cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
|
|
5853
6151
|
# Corresponds to the JSON property `nodeGroup`
|
|
5854
6152
|
# @return [String]
|
|
5855
6153
|
attr_accessor :node_group
|
|
@@ -5859,25 +6157,25 @@ module Google
|
|
|
5859
6157
|
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
|
5860
6158
|
# compute` is required for mounting persistent storage on your nodes. * `https://
|
|
5861
6159
|
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
|
5862
|
-
# with **gcr.io** (the [
|
|
5863
|
-
#
|
|
5864
|
-
#
|
|
5865
|
-
#
|
|
6160
|
+
# with **gcr.io** (the [Artifact Registry](https://cloud.google.com/artifact-
|
|
6161
|
+
# registry/)). If unspecified, no scopes are added, unless Cloud Logging or
|
|
6162
|
+
# Cloud Monitoring are enabled, in which case their required scopes will be
|
|
6163
|
+
# added.
|
|
5866
6164
|
# Corresponds to the JSON property `oauthScopes`
|
|
5867
6165
|
# @return [Array<String>]
|
|
5868
6166
|
attr_accessor :oauth_scopes
|
|
5869
6167
|
|
|
5870
|
-
# Whether the nodes are created as preemptible VM instances. See: https
|
|
5871
|
-
#
|
|
5872
|
-
# preemptible
|
|
6168
|
+
# Whether the nodes are created as preemptible VM instances. See: https://cloud.
|
|
6169
|
+
# google.com/compute/docs/instances/preemptible for more information about
|
|
6170
|
+
# preemptible VM instances.
|
|
5873
6171
|
# Corresponds to the JSON property `preemptible`
|
|
5874
6172
|
# @return [Boolean]
|
|
5875
6173
|
attr_accessor :preemptible
|
|
5876
6174
|
alias_method :preemptible?, :preemptible
|
|
5877
6175
|
|
|
5878
|
-
# [ReservationAffinity](https
|
|
5879
|
-
#
|
|
5880
|
-
#
|
|
6176
|
+
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
|
6177
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
|
6178
|
+
# instances could take capacity from.
|
|
5881
6179
|
# Corresponds to the JSON property `reservationAffinity`
|
|
5882
6180
|
# @return [Google::Apis::ContainerV1beta1::ReservationAffinity]
|
|
5883
6181
|
attr_accessor :reservation_affinity
|
|
@@ -5890,10 +6188,9 @@ module Google
|
|
|
5890
6188
|
|
|
5891
6189
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
5892
6190
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
5893
|
-
# be according to specifications in https
|
|
5894
|
-
#
|
|
5895
|
-
#
|
|
5896
|
-
# replaced with new values.
|
|
6191
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
6192
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
6193
|
+
# specified. Existing tags will be replaced with new values.
|
|
5897
6194
|
# Corresponds to the JSON property `resourceManagerTags`
|
|
5898
6195
|
# @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
|
|
5899
6196
|
attr_accessor :resource_manager_tags
|
|
@@ -6072,6 +6369,25 @@ module Google
|
|
|
6072
6369
|
end
|
|
6073
6370
|
end
|
|
6074
6371
|
|
|
6372
|
+
# Configuration for kernel module loading on nodes.
|
|
6373
|
+
class NodeKernelModuleLoading
|
|
6374
|
+
include Google::Apis::Core::Hashable
|
|
6375
|
+
|
|
6376
|
+
# Set the node module loading policy for nodes in the node pool.
|
|
6377
|
+
# Corresponds to the JSON property `policy`
|
|
6378
|
+
# @return [String]
|
|
6379
|
+
attr_accessor :policy
|
|
6380
|
+
|
|
6381
|
+
def initialize(**args)
|
|
6382
|
+
update!(**args)
|
|
6383
|
+
end
|
|
6384
|
+
|
|
6385
|
+
# Update properties of this object
|
|
6386
|
+
def update!(**args)
|
|
6387
|
+
@policy = args[:policy] if args.key?(:policy)
|
|
6388
|
+
end
|
|
6389
|
+
end
|
|
6390
|
+
|
|
6075
6391
|
# Node kubelet configs.
|
|
6076
6392
|
class NodeKubeletConfig
|
|
6077
6393
|
include Google::Apis::Core::Hashable
|
|
@@ -6335,6 +6651,14 @@ module Google
|
|
|
6335
6651
|
class NodeNetworkConfig
|
|
6336
6652
|
include Google::Apis::Core::Hashable
|
|
6337
6653
|
|
|
6654
|
+
# Immutable. The accelerator network profile for the node pool. For now the only
|
|
6655
|
+
# valid value is "auto". If specified, the network configuration of the nodes in
|
|
6656
|
+
# this node pool will be managed by this profile for the supported machine types,
|
|
6657
|
+
# zone, etc.
|
|
6658
|
+
# Corresponds to the JSON property `acceleratorNetworkProfile`
|
|
6659
|
+
# @return [String]
|
|
6660
|
+
attr_accessor :accelerator_network_profile
|
|
6661
|
+
|
|
6338
6662
|
# We specify the additional node networks for this node pool using this list.
|
|
6339
6663
|
# Each node network corresponds to an additional interface
|
|
6340
6664
|
# Corresponds to the JSON property `additionalNodeNetworkConfigs`
|
|
@@ -6422,6 +6746,7 @@ module Google
|
|
|
6422
6746
|
|
|
6423
6747
|
# Update properties of this object
|
|
6424
6748
|
def update!(**args)
|
|
6749
|
+
@accelerator_network_profile = args[:accelerator_network_profile] if args.key?(:accelerator_network_profile)
|
|
6425
6750
|
@additional_node_network_configs = args[:additional_node_network_configs] if args.key?(:additional_node_network_configs)
|
|
6426
6751
|
@additional_pod_network_configs = args[:additional_pod_network_configs] if args.key?(:additional_pod_network_configs)
|
|
6427
6752
|
@create_pod_range = args[:create_pod_range] if args.key?(:create_pod_range)
|
|
@@ -6481,30 +6806,27 @@ module Google
|
|
|
6481
6806
|
attr_accessor :etag
|
|
6482
6807
|
|
|
6483
6808
|
# The initial node count for the pool. You must ensure that your Compute Engine [
|
|
6484
|
-
# resource quota](https
|
|
6485
|
-
#
|
|
6486
|
-
#
|
|
6809
|
+
# resource quota](https://cloud.google.com/compute/quotas) is sufficient for
|
|
6810
|
+
# this number of instances. You must also have available firewall and routes
|
|
6811
|
+
# quota.
|
|
6487
6812
|
# Corresponds to the JSON property `initialNodeCount`
|
|
6488
6813
|
# @return [Fixnum]
|
|
6489
6814
|
attr_accessor :initial_node_count
|
|
6490
6815
|
|
|
6491
|
-
# Output only. The resource URLs of the [managed instance groups](https
|
|
6492
|
-
#
|
|
6493
|
-
#
|
|
6494
|
-
#
|
|
6495
|
-
# green resources.
|
|
6816
|
+
# Output only. The resource URLs of the [managed instance groups](https://cloud.
|
|
6817
|
+
# google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
|
|
6818
|
+
# associated with this node pool. During the node pool blue-green upgrade
|
|
6819
|
+
# operation, the URLs contain both blue and green resources.
|
|
6496
6820
|
# Corresponds to the JSON property `instanceGroupUrls`
|
|
6497
6821
|
# @return [Array<String>]
|
|
6498
6822
|
attr_accessor :instance_group_urls
|
|
6499
6823
|
|
|
6500
|
-
# The list of Google Compute Engine [zones](https
|
|
6501
|
-
#
|
|
6502
|
-
#
|
|
6503
|
-
#
|
|
6504
|
-
#
|
|
6505
|
-
# locations
|
|
6506
|
-
# Warning: changing node pool locations will result in nodes being added and/or
|
|
6507
|
-
# removed.
|
|
6824
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
6825
|
+
# docs/zones#available) in which the NodePool's nodes should be located. If this
|
|
6826
|
+
# value is unspecified during node pool creation, the [Cluster.Locations](https:/
|
|
6827
|
+
# /cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.
|
|
6828
|
+
# clusters#Cluster.FIELDS.locations) value will be used, instead. Warning:
|
|
6829
|
+
# changing node pool locations will result in nodes being added and/or removed.
|
|
6508
6830
|
# Corresponds to the JSON property `locations`
|
|
6509
6831
|
# @return [Array<String>]
|
|
6510
6832
|
attr_accessor :locations
|
|
@@ -6603,9 +6925,8 @@ module Google
|
|
|
6603
6925
|
attr_accessor :upgrade_settings
|
|
6604
6926
|
|
|
6605
6927
|
# The version of Kubernetes running on this NodePool's nodes. If unspecified, it
|
|
6606
|
-
# defaults as described [here](https
|
|
6607
|
-
#
|
|
6608
|
-
# specifying_node_version).
|
|
6928
|
+
# defaults as described [here](https://cloud.google.com/kubernetes-engine/
|
|
6929
|
+
# versioning#specifying_node_version).
|
|
6609
6930
|
# Corresponds to the JSON property `version`
|
|
6610
6931
|
# @return [String]
|
|
6611
6932
|
attr_accessor :version
|
|
@@ -6665,10 +6986,9 @@ module Google
|
|
|
6665
6986
|
|
|
6666
6987
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
6667
6988
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
6668
|
-
# be according to specifications in https
|
|
6669
|
-
#
|
|
6670
|
-
#
|
|
6671
|
-
# replaced with new values.
|
|
6989
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
6990
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
6991
|
+
# specified. Existing tags will be replaced with new values.
|
|
6672
6992
|
# Corresponds to the JSON property `resourceManagerTags`
|
|
6673
6993
|
# @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
|
|
6674
6994
|
attr_accessor :resource_manager_tags
|
|
@@ -6949,11 +7269,10 @@ module Google
|
|
|
6949
7269
|
# @return [Google::Apis::ContainerV1beta1::Status]
|
|
6950
7270
|
attr_accessor :error
|
|
6951
7271
|
|
|
6952
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
6953
|
-
#
|
|
6954
|
-
# available)
|
|
6955
|
-
#
|
|
6956
|
-
# resides.
|
|
7272
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
7273
|
+
# com/compute/docs/regions-zones/regions-zones#available) or [region](https://
|
|
7274
|
+
# cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
|
|
7275
|
+
# the cluster resides.
|
|
6957
7276
|
# Corresponds to the JSON property `location`
|
|
6958
7277
|
# @return [String]
|
|
6959
7278
|
attr_accessor :location
|
|
@@ -7015,9 +7334,9 @@ module Google
|
|
|
7015
7334
|
# @return [String]
|
|
7016
7335
|
attr_accessor :target_link
|
|
7017
7336
|
|
|
7018
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
7019
|
-
#
|
|
7020
|
-
#
|
|
7337
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
7338
|
+
# com/compute/docs/zones#available) in which the operation is taking place. This
|
|
7339
|
+
# field is deprecated, use location instead.
|
|
7021
7340
|
# Corresponds to the JSON property `zone`
|
|
7022
7341
|
# @return [String]
|
|
7023
7342
|
attr_accessor :zone
|
|
@@ -7213,8 +7532,8 @@ module Google
|
|
|
7213
7532
|
# @return [String]
|
|
7214
7533
|
attr_accessor :policy_name
|
|
7215
7534
|
|
|
7216
|
-
# TPU placement topology for pod slice node pool. https
|
|
7217
|
-
#
|
|
7535
|
+
# TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/
|
|
7536
|
+
# docs/types-topologies#tpu_topologies
|
|
7218
7537
|
# Corresponds to the JSON property `tpuTopology`
|
|
7219
7538
|
# @return [String]
|
|
7220
7539
|
attr_accessor :tpu_topology
|
|
@@ -7298,6 +7617,26 @@ module Google
|
|
|
7298
7617
|
end
|
|
7299
7618
|
end
|
|
7300
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
|
+
|
|
7301
7640
|
# Binauthz policy that applies to this cluster.
|
|
7302
7641
|
class PolicyBinding
|
|
7303
7642
|
include Google::Apis::Core::Hashable
|
|
@@ -7719,6 +8058,62 @@ module Google
|
|
|
7719
8058
|
end
|
|
7720
8059
|
end
|
|
7721
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
|
+
|
|
7722
8117
|
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
|
7723
8118
|
# Release channels are arranged in order of risk. When a cluster is subscribed
|
|
7724
8119
|
# to a release channel, Google maintains both the master version and the node
|
|
@@ -7785,9 +8180,9 @@ module Google
|
|
|
7785
8180
|
end
|
|
7786
8181
|
end
|
|
7787
8182
|
|
|
7788
|
-
# [ReservationAffinity](https
|
|
7789
|
-
#
|
|
7790
|
-
#
|
|
8183
|
+
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
|
8184
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
|
8185
|
+
# instances could take capacity from.
|
|
7791
8186
|
class ReservationAffinity
|
|
7792
8187
|
include Google::Apis::Core::Hashable
|
|
7793
8188
|
|
|
@@ -7820,8 +8215,8 @@ module Google
|
|
|
7820
8215
|
end
|
|
7821
8216
|
end
|
|
7822
8217
|
|
|
7823
|
-
# Collection of [Resource Manager labels](https
|
|
7824
|
-
#
|
|
8218
|
+
# Collection of [Resource Manager labels](https://cloud.google.com/resource-
|
|
8219
|
+
# manager/docs/creating-managing-labels).
|
|
7825
8220
|
class ResourceLabels
|
|
7826
8221
|
include Google::Apis::Core::Hashable
|
|
7827
8222
|
|
|
@@ -7874,10 +8269,9 @@ module Google
|
|
|
7874
8269
|
|
|
7875
8270
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
7876
8271
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
7877
|
-
# be according to specifications in https
|
|
7878
|
-
#
|
|
7879
|
-
#
|
|
7880
|
-
# replaced with new values.
|
|
8272
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
8273
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
8274
|
+
# specified. Existing tags will be replaced with new values.
|
|
7881
8275
|
class ResourceManagerTags
|
|
7882
8276
|
include Google::Apis::Core::Hashable
|
|
7883
8277
|
|
|
@@ -7957,9 +8351,8 @@ module Google
|
|
|
7957
8351
|
attr_accessor :node_pool_id
|
|
7958
8352
|
|
|
7959
8353
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
7960
|
-
#
|
|
7961
|
-
#
|
|
7962
|
-
# the name field.
|
|
8354
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8355
|
+
# field has been deprecated and replaced by the name field.
|
|
7963
8356
|
# Corresponds to the JSON property `projectId`
|
|
7964
8357
|
# @return [String]
|
|
7965
8358
|
attr_accessor :project_id
|
|
@@ -7970,10 +8363,9 @@ module Google
|
|
|
7970
8363
|
attr_accessor :respect_pdb
|
|
7971
8364
|
alias_method :respect_pdb?, :respect_pdb
|
|
7972
8365
|
|
|
7973
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
7974
|
-
#
|
|
7975
|
-
#
|
|
7976
|
-
# field.
|
|
8366
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8367
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8368
|
+
# been deprecated and replaced by the name field.
|
|
7977
8369
|
# Corresponds to the JSON property `zone`
|
|
7978
8370
|
# @return [String]
|
|
7979
8371
|
attr_accessor :zone
|
|
@@ -7993,6 +8385,58 @@ module Google
|
|
|
7993
8385
|
end
|
|
7994
8386
|
end
|
|
7995
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
|
+
|
|
7996
8440
|
# RotationConfig is config for secret manager auto rotation.
|
|
7997
8441
|
class RotationConfig
|
|
7998
8442
|
include Google::Apis::Core::Hashable
|
|
@@ -8350,17 +8794,15 @@ module Google
|
|
|
8350
8794
|
attr_accessor :name
|
|
8351
8795
|
|
|
8352
8796
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8353
|
-
#
|
|
8354
|
-
#
|
|
8355
|
-
# the name field.
|
|
8797
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8798
|
+
# field has been deprecated and replaced by the name field.
|
|
8356
8799
|
# Corresponds to the JSON property `projectId`
|
|
8357
8800
|
# @return [String]
|
|
8358
8801
|
attr_accessor :project_id
|
|
8359
8802
|
|
|
8360
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8361
|
-
#
|
|
8362
|
-
#
|
|
8363
|
-
# field.
|
|
8803
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8804
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8805
|
+
# been deprecated and replaced by the name field.
|
|
8364
8806
|
# Corresponds to the JSON property `zone`
|
|
8365
8807
|
# @return [String]
|
|
8366
8808
|
attr_accessor :zone
|
|
@@ -8407,9 +8849,8 @@ module Google
|
|
|
8407
8849
|
attr_accessor :name
|
|
8408
8850
|
|
|
8409
8851
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8410
|
-
#
|
|
8411
|
-
#
|
|
8412
|
-
# the name field.
|
|
8852
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8853
|
+
# field has been deprecated and replaced by the name field.
|
|
8413
8854
|
# Corresponds to the JSON property `projectId`
|
|
8414
8855
|
# @return [String]
|
|
8415
8856
|
attr_accessor :project_id
|
|
@@ -8419,10 +8860,9 @@ module Google
|
|
|
8419
8860
|
# @return [Hash<String,String>]
|
|
8420
8861
|
attr_accessor :resource_labels
|
|
8421
8862
|
|
|
8422
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8423
|
-
#
|
|
8424
|
-
#
|
|
8425
|
-
# field.
|
|
8863
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8864
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8865
|
+
# been deprecated and replaced by the name field.
|
|
8426
8866
|
# Corresponds to the JSON property `zone`
|
|
8427
8867
|
# @return [String]
|
|
8428
8868
|
attr_accessor :zone
|
|
@@ -8466,17 +8906,15 @@ module Google
|
|
|
8466
8906
|
attr_accessor :name
|
|
8467
8907
|
|
|
8468
8908
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8469
|
-
#
|
|
8470
|
-
#
|
|
8471
|
-
# the name field.
|
|
8909
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8910
|
+
# field has been deprecated and replaced by the name field.
|
|
8472
8911
|
# Corresponds to the JSON property `projectId`
|
|
8473
8912
|
# @return [String]
|
|
8474
8913
|
attr_accessor :project_id
|
|
8475
8914
|
|
|
8476
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8477
|
-
#
|
|
8478
|
-
#
|
|
8479
|
-
# field.
|
|
8915
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8916
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8917
|
+
# been deprecated and replaced by the name field.
|
|
8480
8918
|
# Corresponds to the JSON property `zone`
|
|
8481
8919
|
# @return [String]
|
|
8482
8920
|
attr_accessor :zone
|
|
@@ -8505,12 +8943,12 @@ module Google
|
|
|
8505
8943
|
# @return [String]
|
|
8506
8944
|
attr_accessor :cluster_id
|
|
8507
8945
|
|
|
8508
|
-
# Required. The desired list of Google Compute Engine [zones](https
|
|
8509
|
-
#
|
|
8510
|
-
#
|
|
8511
|
-
#
|
|
8512
|
-
#
|
|
8513
|
-
#
|
|
8946
|
+
# Required. The desired list of Google Compute Engine [zones](https://cloud.
|
|
8947
|
+
# google.com/compute/docs/zones#available) in which the cluster's nodes should
|
|
8948
|
+
# be located. Changing the locations a cluster is in will result in nodes being
|
|
8949
|
+
# either created or removed from the cluster, depending on whether locations are
|
|
8950
|
+
# being added or removed. This list must always include the cluster's primary
|
|
8951
|
+
# zone.
|
|
8514
8952
|
# Corresponds to the JSON property `locations`
|
|
8515
8953
|
# @return [Array<String>]
|
|
8516
8954
|
attr_accessor :locations
|
|
@@ -8522,17 +8960,15 @@ module Google
|
|
|
8522
8960
|
attr_accessor :name
|
|
8523
8961
|
|
|
8524
8962
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8525
|
-
#
|
|
8526
|
-
#
|
|
8527
|
-
# the name field.
|
|
8963
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8964
|
+
# field has been deprecated and replaced by the name field.
|
|
8528
8965
|
# Corresponds to the JSON property `projectId`
|
|
8529
8966
|
# @return [String]
|
|
8530
8967
|
attr_accessor :project_id
|
|
8531
8968
|
|
|
8532
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8533
|
-
#
|
|
8534
|
-
#
|
|
8535
|
-
# field.
|
|
8969
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8970
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8971
|
+
# been deprecated and replaced by the name field.
|
|
8536
8972
|
# Corresponds to the JSON property `zone`
|
|
8537
8973
|
# @return [String]
|
|
8538
8974
|
attr_accessor :zone
|
|
@@ -8579,17 +9015,15 @@ module Google
|
|
|
8579
9015
|
attr_accessor :name
|
|
8580
9016
|
|
|
8581
9017
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8582
|
-
#
|
|
8583
|
-
#
|
|
8584
|
-
# the name field.
|
|
9018
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9019
|
+
# field has been deprecated and replaced by the name field.
|
|
8585
9020
|
# Corresponds to the JSON property `projectId`
|
|
8586
9021
|
# @return [String]
|
|
8587
9022
|
attr_accessor :project_id
|
|
8588
9023
|
|
|
8589
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8590
|
-
#
|
|
8591
|
-
#
|
|
8592
|
-
# field.
|
|
9024
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9025
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9026
|
+
# been deprecated and replaced by the name field.
|
|
8593
9027
|
# Corresponds to the JSON property `zone`
|
|
8594
9028
|
# @return [String]
|
|
8595
9029
|
attr_accessor :zone
|
|
@@ -8629,15 +9063,13 @@ module Google
|
|
|
8629
9063
|
attr_accessor :name
|
|
8630
9064
|
|
|
8631
9065
|
# Required. The Google Developers Console [project ID or project number](https://
|
|
8632
|
-
#
|
|
8633
|
-
# creating-managing-projects).
|
|
9066
|
+
# cloud.google.com/resource-manager/docs/creating-managing-projects).
|
|
8634
9067
|
# Corresponds to the JSON property `projectId`
|
|
8635
9068
|
# @return [String]
|
|
8636
9069
|
attr_accessor :project_id
|
|
8637
9070
|
|
|
8638
|
-
# Required. The name of the Google Compute Engine [zone](https
|
|
8639
|
-
#
|
|
8640
|
-
# the cluster resides.
|
|
9071
|
+
# Required. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9072
|
+
# com/compute/docs/zones#available) in which the cluster resides.
|
|
8641
9073
|
# Corresponds to the JSON property `zone`
|
|
8642
9074
|
# @return [String]
|
|
8643
9075
|
attr_accessor :zone
|
|
@@ -8678,9 +9110,8 @@ module Google
|
|
|
8678
9110
|
attr_accessor :name
|
|
8679
9111
|
|
|
8680
9112
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8681
|
-
#
|
|
8682
|
-
#
|
|
8683
|
-
# the name field.
|
|
9113
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9114
|
+
# field has been deprecated and replaced by the name field.
|
|
8684
9115
|
# Corresponds to the JSON property `projectId`
|
|
8685
9116
|
# @return [String]
|
|
8686
9117
|
attr_accessor :project_id
|
|
@@ -8691,10 +9122,9 @@ module Google
|
|
|
8691
9122
|
# @return [Google::Apis::ContainerV1beta1::MasterAuth]
|
|
8692
9123
|
attr_accessor :update
|
|
8693
9124
|
|
|
8694
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8695
|
-
#
|
|
8696
|
-
#
|
|
8697
|
-
# field.
|
|
9125
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9126
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9127
|
+
# been deprecated and replaced by the name field.
|
|
8698
9128
|
# Corresponds to the JSON property `zone`
|
|
8699
9129
|
# @return [String]
|
|
8700
9130
|
attr_accessor :zone
|
|
@@ -8742,17 +9172,15 @@ module Google
|
|
|
8742
9172
|
attr_accessor :name
|
|
8743
9173
|
|
|
8744
9174
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8745
|
-
#
|
|
8746
|
-
#
|
|
8747
|
-
# the name field.
|
|
9175
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9176
|
+
# field has been deprecated and replaced by the name field.
|
|
8748
9177
|
# Corresponds to the JSON property `projectId`
|
|
8749
9178
|
# @return [String]
|
|
8750
9179
|
attr_accessor :project_id
|
|
8751
9180
|
|
|
8752
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8753
|
-
#
|
|
8754
|
-
#
|
|
8755
|
-
# field.
|
|
9181
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9182
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9183
|
+
# been deprecated and replaced by the name field.
|
|
8756
9184
|
# Corresponds to the JSON property `zone`
|
|
8757
9185
|
# @return [String]
|
|
8758
9186
|
attr_accessor :zone
|
|
@@ -8794,17 +9222,15 @@ module Google
|
|
|
8794
9222
|
attr_accessor :network_policy
|
|
8795
9223
|
|
|
8796
9224
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8797
|
-
#
|
|
8798
|
-
#
|
|
8799
|
-
# the name field.
|
|
9225
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9226
|
+
# field has been deprecated and replaced by the name field.
|
|
8800
9227
|
# Corresponds to the JSON property `projectId`
|
|
8801
9228
|
# @return [String]
|
|
8802
9229
|
attr_accessor :project_id
|
|
8803
9230
|
|
|
8804
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8805
|
-
#
|
|
8806
|
-
#
|
|
8807
|
-
# field.
|
|
9231
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9232
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9233
|
+
# been deprecated and replaced by the name field.
|
|
8808
9234
|
# Corresponds to the JSON property `zone`
|
|
8809
9235
|
# @return [String]
|
|
8810
9236
|
attr_accessor :zone
|
|
@@ -8853,17 +9279,15 @@ module Google
|
|
|
8853
9279
|
attr_accessor :node_pool_id
|
|
8854
9280
|
|
|
8855
9281
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8856
|
-
#
|
|
8857
|
-
#
|
|
8858
|
-
# the name field.
|
|
9282
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9283
|
+
# field has been deprecated and replaced by the name field.
|
|
8859
9284
|
# Corresponds to the JSON property `projectId`
|
|
8860
9285
|
# @return [String]
|
|
8861
9286
|
attr_accessor :project_id
|
|
8862
9287
|
|
|
8863
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8864
|
-
#
|
|
8865
|
-
#
|
|
8866
|
-
# field.
|
|
9288
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9289
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9290
|
+
# been deprecated and replaced by the name field.
|
|
8867
9291
|
# Corresponds to the JSON property `zone`
|
|
8868
9292
|
# @return [String]
|
|
8869
9293
|
attr_accessor :zone
|
|
@@ -8914,17 +9338,15 @@ module Google
|
|
|
8914
9338
|
attr_accessor :node_pool_id
|
|
8915
9339
|
|
|
8916
9340
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8917
|
-
#
|
|
8918
|
-
#
|
|
8919
|
-
# the name field.
|
|
9341
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9342
|
+
# field has been deprecated and replaced by the name field.
|
|
8920
9343
|
# Corresponds to the JSON property `projectId`
|
|
8921
9344
|
# @return [String]
|
|
8922
9345
|
attr_accessor :project_id
|
|
8923
9346
|
|
|
8924
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8925
|
-
#
|
|
8926
|
-
#
|
|
8927
|
-
# field.
|
|
9347
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9348
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9349
|
+
# been deprecated and replaced by the name field.
|
|
8928
9350
|
# Corresponds to the JSON property `zone`
|
|
8929
9351
|
# @return [String]
|
|
8930
9352
|
attr_accessor :zone
|
|
@@ -8972,17 +9394,15 @@ module Google
|
|
|
8972
9394
|
attr_accessor :node_pool_id
|
|
8973
9395
|
|
|
8974
9396
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8975
|
-
#
|
|
8976
|
-
#
|
|
8977
|
-
# the name field.
|
|
9397
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9398
|
+
# field has been deprecated and replaced by the name field.
|
|
8978
9399
|
# Corresponds to the JSON property `projectId`
|
|
8979
9400
|
# @return [String]
|
|
8980
9401
|
attr_accessor :project_id
|
|
8981
9402
|
|
|
8982
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8983
|
-
#
|
|
8984
|
-
#
|
|
8985
|
-
# field.
|
|
9403
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9404
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9405
|
+
# been deprecated and replaced by the name field.
|
|
8986
9406
|
# Corresponds to the JSON property `zone`
|
|
8987
9407
|
# @return [String]
|
|
8988
9408
|
attr_accessor :zone
|
|
@@ -9134,9 +9554,8 @@ module Google
|
|
|
9134
9554
|
attr_accessor :name
|
|
9135
9555
|
|
|
9136
9556
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
9137
|
-
#
|
|
9138
|
-
#
|
|
9139
|
-
# the name field.
|
|
9557
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9558
|
+
# field has been deprecated and replaced by the name field.
|
|
9140
9559
|
# Corresponds to the JSON property `projectId`
|
|
9141
9560
|
# @return [String]
|
|
9142
9561
|
attr_accessor :project_id
|
|
@@ -9147,10 +9566,9 @@ module Google
|
|
|
9147
9566
|
attr_accessor :rotate_credentials
|
|
9148
9567
|
alias_method :rotate_credentials?, :rotate_credentials
|
|
9149
9568
|
|
|
9150
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
9151
|
-
#
|
|
9152
|
-
#
|
|
9153
|
-
# field.
|
|
9569
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9570
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9571
|
+
# been deprecated and replaced by the name field.
|
|
9154
9572
|
# Corresponds to the JSON property `zone`
|
|
9155
9573
|
# @return [String]
|
|
9156
9574
|
attr_accessor :zone
|
|
@@ -9261,6 +9679,50 @@ module Google
|
|
|
9261
9679
|
end
|
|
9262
9680
|
end
|
|
9263
9681
|
|
|
9682
|
+
# Configuration for swap memory on a node pool.
|
|
9683
|
+
class SwapConfig
|
|
9684
|
+
include Google::Apis::Core::Hashable
|
|
9685
|
+
|
|
9686
|
+
# Swap on the node's boot disk.
|
|
9687
|
+
# Corresponds to the JSON property `bootDiskProfile`
|
|
9688
|
+
# @return [Google::Apis::ContainerV1beta1::BootDiskProfile]
|
|
9689
|
+
attr_accessor :boot_disk_profile
|
|
9690
|
+
|
|
9691
|
+
# Provisions a new, separate local NVMe SSD exclusively for swap.
|
|
9692
|
+
# Corresponds to the JSON property `dedicatedLocalSsdProfile`
|
|
9693
|
+
# @return [Google::Apis::ContainerV1beta1::DedicatedLocalSsdProfile]
|
|
9694
|
+
attr_accessor :dedicated_local_ssd_profile
|
|
9695
|
+
|
|
9696
|
+
# Optional. Enables or disables swap for the node pool.
|
|
9697
|
+
# Corresponds to the JSON property `enabled`
|
|
9698
|
+
# @return [Boolean]
|
|
9699
|
+
attr_accessor :enabled
|
|
9700
|
+
alias_method :enabled?, :enabled
|
|
9701
|
+
|
|
9702
|
+
# Defines encryption settings for the swap space.
|
|
9703
|
+
# Corresponds to the JSON property `encryptionConfig`
|
|
9704
|
+
# @return [Google::Apis::ContainerV1beta1::EncryptionConfig]
|
|
9705
|
+
attr_accessor :encryption_config
|
|
9706
|
+
|
|
9707
|
+
# Swap on the local SSD shared with pod ephemeral storage.
|
|
9708
|
+
# Corresponds to the JSON property `ephemeralLocalSsdProfile`
|
|
9709
|
+
# @return [Google::Apis::ContainerV1beta1::EphemeralLocalSsdProfile]
|
|
9710
|
+
attr_accessor :ephemeral_local_ssd_profile
|
|
9711
|
+
|
|
9712
|
+
def initialize(**args)
|
|
9713
|
+
update!(**args)
|
|
9714
|
+
end
|
|
9715
|
+
|
|
9716
|
+
# Update properties of this object
|
|
9717
|
+
def update!(**args)
|
|
9718
|
+
@boot_disk_profile = args[:boot_disk_profile] if args.key?(:boot_disk_profile)
|
|
9719
|
+
@dedicated_local_ssd_profile = args[:dedicated_local_ssd_profile] if args.key?(:dedicated_local_ssd_profile)
|
|
9720
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
9721
|
+
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
|
9722
|
+
@ephemeral_local_ssd_profile = args[:ephemeral_local_ssd_profile] if args.key?(:ephemeral_local_ssd_profile)
|
|
9723
|
+
end
|
|
9724
|
+
end
|
|
9725
|
+
|
|
9264
9726
|
# SyncRotationConfig is config for secret manager auto rotation.
|
|
9265
9727
|
class SyncRotationConfig
|
|
9266
9728
|
include Google::Apis::Core::Hashable
|
|
@@ -9413,9 +9875,8 @@ module Google
|
|
|
9413
9875
|
attr_accessor :name
|
|
9414
9876
|
|
|
9415
9877
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
9416
|
-
#
|
|
9417
|
-
#
|
|
9418
|
-
# the name field.
|
|
9878
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9879
|
+
# field has been deprecated and replaced by the name field.
|
|
9419
9880
|
# Corresponds to the JSON property `projectId`
|
|
9420
9881
|
# @return [String]
|
|
9421
9882
|
attr_accessor :project_id
|
|
@@ -9426,10 +9887,9 @@ module Google
|
|
|
9426
9887
|
# @return [Google::Apis::ContainerV1beta1::ClusterUpdate]
|
|
9427
9888
|
attr_accessor :update
|
|
9428
9889
|
|
|
9429
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
9430
|
-
#
|
|
9431
|
-
#
|
|
9432
|
-
# field.
|
|
9890
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9891
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9892
|
+
# been deprecated and replaced by the name field.
|
|
9433
9893
|
# Corresponds to the JSON property `zone`
|
|
9434
9894
|
# @return [String]
|
|
9435
9895
|
attr_accessor :zone
|
|
@@ -9496,17 +9956,15 @@ module Google
|
|
|
9496
9956
|
attr_accessor :name
|
|
9497
9957
|
|
|
9498
9958
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
9499
|
-
#
|
|
9500
|
-
#
|
|
9501
|
-
# the name field.
|
|
9959
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9960
|
+
# field has been deprecated and replaced by the name field.
|
|
9502
9961
|
# Corresponds to the JSON property `projectId`
|
|
9503
9962
|
# @return [String]
|
|
9504
9963
|
attr_accessor :project_id
|
|
9505
9964
|
|
|
9506
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
9507
|
-
#
|
|
9508
|
-
#
|
|
9509
|
-
# field.
|
|
9965
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9966
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9967
|
+
# been deprecated and replaced by the name field.
|
|
9510
9968
|
# Corresponds to the JSON property `zone`
|
|
9511
9969
|
# @return [String]
|
|
9512
9970
|
attr_accessor :zone
|
|
@@ -9529,9 +9987,8 @@ module Google
|
|
|
9529
9987
|
class UpdateNodePoolRequest
|
|
9530
9988
|
include Google::Apis::Core::Hashable
|
|
9531
9989
|
|
|
9532
|
-
# A list of hardware accelerators to be attached to each node. See https
|
|
9533
|
-
#
|
|
9534
|
-
# information about support for GPUs.
|
|
9990
|
+
# A list of hardware accelerators to be attached to each node. See https://cloud.
|
|
9991
|
+
# google.com/compute/docs/gpus for more information about support for GPUs.
|
|
9535
9992
|
# Corresponds to the JSON property `accelerators`
|
|
9536
9993
|
# @return [Array<Google::Apis::ContainerV1beta1::AcceleratorConfig>]
|
|
9537
9994
|
attr_accessor :accelerators
|
|
@@ -9600,9 +10057,9 @@ module Google
|
|
|
9600
10057
|
# @return [Google::Apis::ContainerV1beta1::VirtualNic]
|
|
9601
10058
|
attr_accessor :gvnic
|
|
9602
10059
|
|
|
9603
|
-
# Required. The desired image type for the node pool. Please see https
|
|
9604
|
-
#
|
|
9605
|
-
#
|
|
10060
|
+
# Required. The desired image type for the node pool. Please see https://cloud.
|
|
10061
|
+
# google.com/kubernetes-engine/docs/concepts/node-images for available image
|
|
10062
|
+
# types.
|
|
9606
10063
|
# Corresponds to the JSON property `imageType`
|
|
9607
10064
|
# @return [String]
|
|
9608
10065
|
attr_accessor :image_type
|
|
@@ -9623,11 +10080,17 @@ module Google
|
|
|
9623
10080
|
# @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
|
|
9624
10081
|
attr_accessor :linux_node_config
|
|
9625
10082
|
|
|
9626
|
-
# The desired list of Google Compute Engine [zones](https
|
|
9627
|
-
#
|
|
9628
|
-
#
|
|
9629
|
-
#
|
|
9630
|
-
#
|
|
10083
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
|
10084
|
+
# compute/docs/zones#available) in which the node pool's nodes should be located.
|
|
10085
|
+
# Changing the locations for a node pool will result in nodes being either
|
|
10086
|
+
# created or removed from the node pool, depending on whether locations are
|
|
10087
|
+
# being added or removed. Warning: It is recommended to update node pool
|
|
10088
|
+
# locations in a standalone API call. Do not combine a location update with
|
|
10089
|
+
# changes to other fields (such as `tags`, `labels`, `taints`, etc.) in the same
|
|
10090
|
+
# request. Otherwise, the API performs a structural modification where changes
|
|
10091
|
+
# to other fields will only apply to newly created nodes and will not be applied
|
|
10092
|
+
# to existing nodes in the node pool. To ensure all nodes are updated
|
|
10093
|
+
# consistently, use a separate API call for location changes.
|
|
9631
10094
|
# Corresponds to the JSON property `locations`
|
|
9632
10095
|
# @return [Array<String>]
|
|
9633
10096
|
attr_accessor :locations
|
|
@@ -9679,9 +10142,8 @@ module Google
|
|
|
9679
10142
|
attr_accessor :node_version
|
|
9680
10143
|
|
|
9681
10144
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
9682
|
-
#
|
|
9683
|
-
#
|
|
9684
|
-
# the name field.
|
|
10145
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
10146
|
+
# field has been deprecated and replaced by the name field.
|
|
9685
10147
|
# Corresponds to the JSON property `projectId`
|
|
9686
10148
|
# @return [String]
|
|
9687
10149
|
attr_accessor :project_id
|
|
@@ -9691,18 +10153,17 @@ module Google
|
|
|
9691
10153
|
# @return [Google::Apis::ContainerV1beta1::QueuedProvisioning]
|
|
9692
10154
|
attr_accessor :queued_provisioning
|
|
9693
10155
|
|
|
9694
|
-
# Collection of [Resource Manager labels](https
|
|
9695
|
-
#
|
|
10156
|
+
# Collection of [Resource Manager labels](https://cloud.google.com/resource-
|
|
10157
|
+
# manager/docs/creating-managing-labels).
|
|
9696
10158
|
# Corresponds to the JSON property `resourceLabels`
|
|
9697
10159
|
# @return [Google::Apis::ContainerV1beta1::ResourceLabels]
|
|
9698
10160
|
attr_accessor :resource_labels
|
|
9699
10161
|
|
|
9700
10162
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
9701
10163
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
9702
|
-
# be according to specifications in https
|
|
9703
|
-
#
|
|
9704
|
-
#
|
|
9705
|
-
# replaced with new values.
|
|
10164
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
10165
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
10166
|
+
# specified. Existing tags will be replaced with new values.
|
|
9706
10167
|
# Corresponds to the JSON property `resourceManagerTags`
|
|
9707
10168
|
# @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
|
|
9708
10169
|
attr_accessor :resource_manager_tags
|
|
@@ -9774,10 +10235,9 @@ module Google
|
|
|
9774
10235
|
# @return [Google::Apis::ContainerV1beta1::WorkloadMetadataConfig]
|
|
9775
10236
|
attr_accessor :workload_metadata_config
|
|
9776
10237
|
|
|
9777
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
9778
|
-
#
|
|
9779
|
-
#
|
|
9780
|
-
# field.
|
|
10238
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
10239
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
10240
|
+
# been deprecated and replaced by the name field.
|
|
9781
10241
|
# Corresponds to the JSON property `zone`
|
|
9782
10242
|
# @return [String]
|
|
9783
10243
|
attr_accessor :zone
|
|
@@ -9884,6 +10344,11 @@ module Google
|
|
|
9884
10344
|
# @return [String]
|
|
9885
10345
|
attr_accessor :end_time
|
|
9886
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
|
+
|
|
9887
10352
|
# The version before the upgrade.
|
|
9888
10353
|
# Corresponds to the JSON property `initialVersion`
|
|
9889
10354
|
# @return [String]
|
|
@@ -9904,6 +10369,11 @@ module Google
|
|
|
9904
10369
|
# @return [String]
|
|
9905
10370
|
attr_accessor :state
|
|
9906
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
|
+
|
|
9907
10377
|
# The version after the upgrade.
|
|
9908
10378
|
# Corresponds to the JSON property `targetVersion`
|
|
9909
10379
|
# @return [String]
|
|
@@ -9916,10 +10386,12 @@ module Google
|
|
|
9916
10386
|
# Update properties of this object
|
|
9917
10387
|
def update!(**args)
|
|
9918
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)
|
|
9919
10390
|
@initial_version = args[:initial_version] if args.key?(:initial_version)
|
|
9920
10391
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
9921
10392
|
@start_type = args[:start_type] if args.key?(:start_type)
|
|
9922
10393
|
@state = args[:state] if args.key?(:state)
|
|
10394
|
+
@target_emulated_version = args[:target_emulated_version] if args.key?(:target_emulated_version)
|
|
9923
10395
|
@target_version = args[:target_version] if args.key?(:target_version)
|
|
9924
10396
|
end
|
|
9925
10397
|
end
|
|
@@ -9929,6 +10401,11 @@ module Google
|
|
|
9929
10401
|
class UpgradeEvent
|
|
9930
10402
|
include Google::Apis::Core::Hashable
|
|
9931
10403
|
|
|
10404
|
+
# The current emulated version before the upgrade.
|
|
10405
|
+
# Corresponds to the JSON property `currentEmulatedVersion`
|
|
10406
|
+
# @return [String]
|
|
10407
|
+
attr_accessor :current_emulated_version
|
|
10408
|
+
|
|
9932
10409
|
# The current version before the upgrade.
|
|
9933
10410
|
# Corresponds to the JSON property `currentVersion`
|
|
9934
10411
|
# @return [String]
|
|
@@ -9955,6 +10432,11 @@ module Google
|
|
|
9955
10432
|
# @return [String]
|
|
9956
10433
|
attr_accessor :resource_type
|
|
9957
10434
|
|
|
10435
|
+
# The target emulated version for the upgrade.
|
|
10436
|
+
# Corresponds to the JSON property `targetEmulatedVersion`
|
|
10437
|
+
# @return [String]
|
|
10438
|
+
attr_accessor :target_emulated_version
|
|
10439
|
+
|
|
9958
10440
|
# The target version for the upgrade.
|
|
9959
10441
|
# Corresponds to the JSON property `targetVersion`
|
|
9960
10442
|
# @return [String]
|
|
@@ -9966,11 +10448,13 @@ module Google
|
|
|
9966
10448
|
|
|
9967
10449
|
# Update properties of this object
|
|
9968
10450
|
def update!(**args)
|
|
10451
|
+
@current_emulated_version = args[:current_emulated_version] if args.key?(:current_emulated_version)
|
|
9969
10452
|
@current_version = args[:current_version] if args.key?(:current_version)
|
|
9970
10453
|
@operation = args[:operation] if args.key?(:operation)
|
|
9971
10454
|
@operation_start_time = args[:operation_start_time] if args.key?(:operation_start_time)
|
|
9972
10455
|
@resource = args[:resource] if args.key?(:resource)
|
|
9973
10456
|
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
|
10457
|
+
@target_emulated_version = args[:target_emulated_version] if args.key?(:target_emulated_version)
|
|
9974
10458
|
@target_version = args[:target_version] if args.key?(:target_version)
|
|
9975
10459
|
end
|
|
9976
10460
|
end
|
|
@@ -9980,6 +10464,11 @@ module Google
|
|
|
9980
10464
|
class UpgradeInfoEvent
|
|
9981
10465
|
include Google::Apis::Core::Hashable
|
|
9982
10466
|
|
|
10467
|
+
# The current emulated version before the upgrade.
|
|
10468
|
+
# Corresponds to the JSON property `currentEmulatedVersion`
|
|
10469
|
+
# @return [String]
|
|
10470
|
+
attr_accessor :current_emulated_version
|
|
10471
|
+
|
|
9983
10472
|
# The current version before the upgrade.
|
|
9984
10473
|
# Corresponds to the JSON property `currentVersion`
|
|
9985
10474
|
# @return [String]
|
|
@@ -10036,6 +10525,11 @@ module Google
|
|
|
10036
10525
|
# @return [String]
|
|
10037
10526
|
attr_accessor :state
|
|
10038
10527
|
|
|
10528
|
+
# The target emulated version for the upgrade.
|
|
10529
|
+
# Corresponds to the JSON property `targetEmulatedVersion`
|
|
10530
|
+
# @return [String]
|
|
10531
|
+
attr_accessor :target_emulated_version
|
|
10532
|
+
|
|
10039
10533
|
# The target version for the upgrade.
|
|
10040
10534
|
# Corresponds to the JSON property `targetVersion`
|
|
10041
10535
|
# @return [String]
|
|
@@ -10047,6 +10541,7 @@ module Google
|
|
|
10047
10541
|
|
|
10048
10542
|
# Update properties of this object
|
|
10049
10543
|
def update!(**args)
|
|
10544
|
+
@current_emulated_version = args[:current_emulated_version] if args.key?(:current_emulated_version)
|
|
10050
10545
|
@current_version = args[:current_version] if args.key?(:current_version)
|
|
10051
10546
|
@description = args[:description] if args.key?(:description)
|
|
10052
10547
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
@@ -10058,6 +10553,7 @@ module Google
|
|
|
10058
10553
|
@standard_support_end_time = args[:standard_support_end_time] if args.key?(:standard_support_end_time)
|
|
10059
10554
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
10060
10555
|
@state = args[:state] if args.key?(:state)
|
|
10556
|
+
@target_emulated_version = args[:target_emulated_version] if args.key?(:target_emulated_version)
|
|
10061
10557
|
@target_version = args[:target_version] if args.key?(:target_version)
|
|
10062
10558
|
end
|
|
10063
10559
|
end
|