google-apis-container_v1beta1 0.93.0 → 0.95.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 +588 -362
- data/lib/google/apis/container_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/container_v1beta1/representations.rb +146 -0
- data/lib/google/apis/container_v1beta1/service.rb +209 -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
|
|
@@ -647,8 +647,7 @@ module Google
|
|
|
647
647
|
# each node in the node pool. This should be of the form projects/[
|
|
648
648
|
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
|
649
649
|
# . For more information about protecting resources with Cloud KMS Keys please
|
|
650
|
-
# see: https
|
|
651
|
-
# disks/customer-managed-encryption
|
|
650
|
+
# see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
|
652
651
|
# Corresponds to the JSON property `bootDiskKmsKey`
|
|
653
652
|
# @return [String]
|
|
654
653
|
attr_accessor :boot_disk_kms_key
|
|
@@ -665,9 +664,8 @@ module Google
|
|
|
665
664
|
# @return [String]
|
|
666
665
|
attr_accessor :disk_type
|
|
667
666
|
|
|
668
|
-
# The image type to use for NAP created node. Please see https
|
|
669
|
-
#
|
|
670
|
-
# images for available image types.
|
|
667
|
+
# The image type to use for NAP created node. Please see https://cloud.google.
|
|
668
|
+
# com/kubernetes-engine/docs/concepts/node-images for available image types.
|
|
671
669
|
# Corresponds to the JSON property `imageType`
|
|
672
670
|
# @return [String]
|
|
673
671
|
attr_accessor :image_type
|
|
@@ -688,11 +686,11 @@ module Google
|
|
|
688
686
|
# instance may be scheduled on the specified or newer CPU platform. Applicable
|
|
689
687
|
# values are the friendly names of CPU platforms, such as minCpuPlatform: Intel
|
|
690
688
|
# Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how
|
|
691
|
-
# to specify min CPU platform](https
|
|
692
|
-
#
|
|
693
|
-
#
|
|
694
|
-
#
|
|
695
|
-
#
|
|
689
|
+
# to specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
|
690
|
+
# specify-min-cpu-platform). This field is deprecated, min_cpu_platform should
|
|
691
|
+
# be specified using `cloud.google.com/requested-min-cpu-platform` label
|
|
692
|
+
# selector on the pod. To unset the min cpu platform field pass "automatic" as
|
|
693
|
+
# field value.
|
|
696
694
|
# Corresponds to the JSON property `minCpuPlatform`
|
|
697
695
|
# @return [String]
|
|
698
696
|
attr_accessor :min_cpu_platform
|
|
@@ -702,10 +700,10 @@ module Google
|
|
|
702
700
|
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
|
703
701
|
# compute` is required for mounting persistent storage on your nodes. * `https://
|
|
704
702
|
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
|
705
|
-
# with **gcr.io** (the [
|
|
706
|
-
#
|
|
707
|
-
#
|
|
708
|
-
#
|
|
703
|
+
# with **gcr.io** (the [Artifact Registry](https://cloud.google.com/artifact-
|
|
704
|
+
# registry/)). If unspecified, no scopes are added, unless Cloud Logging or
|
|
705
|
+
# Cloud Monitoring are enabled, in which case their required scopes will be
|
|
706
|
+
# added.
|
|
709
707
|
# Corresponds to the JSON property `oauthScopes`
|
|
710
708
|
# @return [Array<String>]
|
|
711
709
|
attr_accessor :oauth_scopes
|
|
@@ -1023,6 +1021,31 @@ module Google
|
|
|
1023
1021
|
end
|
|
1024
1022
|
end
|
|
1025
1023
|
|
|
1024
|
+
# Swap on the node's boot disk.
|
|
1025
|
+
class BootDiskProfile
|
|
1026
|
+
include Google::Apis::Core::Hashable
|
|
1027
|
+
|
|
1028
|
+
# Specifies the size of the swap space in gibibytes (GiB).
|
|
1029
|
+
# Corresponds to the JSON property `swapSizeGib`
|
|
1030
|
+
# @return [Fixnum]
|
|
1031
|
+
attr_accessor :swap_size_gib
|
|
1032
|
+
|
|
1033
|
+
# Specifies the size of the swap space as a percentage of the boot disk size.
|
|
1034
|
+
# Corresponds to the JSON property `swapSizePercent`
|
|
1035
|
+
# @return [Fixnum]
|
|
1036
|
+
attr_accessor :swap_size_percent
|
|
1037
|
+
|
|
1038
|
+
def initialize(**args)
|
|
1039
|
+
update!(**args)
|
|
1040
|
+
end
|
|
1041
|
+
|
|
1042
|
+
# Update properties of this object
|
|
1043
|
+
def update!(**args)
|
|
1044
|
+
@swap_size_gib = args[:swap_size_gib] if args.key?(:swap_size_gib)
|
|
1045
|
+
@swap_size_percent = args[:swap_size_percent] if args.key?(:swap_size_percent)
|
|
1046
|
+
end
|
|
1047
|
+
end
|
|
1048
|
+
|
|
1026
1049
|
# CancelOperationRequest cancels a single operation.
|
|
1027
1050
|
class CancelOperationRequest
|
|
1028
1051
|
include Google::Apis::Core::Hashable
|
|
@@ -1040,17 +1063,15 @@ module Google
|
|
|
1040
1063
|
attr_accessor :operation_id
|
|
1041
1064
|
|
|
1042
1065
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
1043
|
-
#
|
|
1044
|
-
#
|
|
1045
|
-
# the name field.
|
|
1066
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
1067
|
+
# field has been deprecated and replaced by the name field.
|
|
1046
1068
|
# Corresponds to the JSON property `projectId`
|
|
1047
1069
|
# @return [String]
|
|
1048
1070
|
attr_accessor :project_id
|
|
1049
1071
|
|
|
1050
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
1051
|
-
#
|
|
1052
|
-
#
|
|
1053
|
-
# field.
|
|
1072
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
1073
|
+
# com/compute/docs/zones#available) in which the operation resides. This field
|
|
1074
|
+
# has been deprecated and replaced by the name field.
|
|
1054
1075
|
# Corresponds to the JSON property `zone`
|
|
1055
1076
|
# @return [String]
|
|
1056
1077
|
attr_accessor :zone
|
|
@@ -1079,9 +1100,8 @@ module Google
|
|
|
1079
1100
|
# @return [Array<String>]
|
|
1080
1101
|
attr_accessor :fqdns
|
|
1081
1102
|
|
|
1082
|
-
# GCPSecretManagerCertificateConfig configures a secret from [
|
|
1083
|
-
#
|
|
1084
|
-
# manager).
|
|
1103
|
+
# GCPSecretManagerCertificateConfig configures a secret from [Secret Manager](
|
|
1104
|
+
# https://cloud.google.com/secret-manager).
|
|
1085
1105
|
# Corresponds to the JSON property `gcpSecretManagerCertificateConfig`
|
|
1086
1106
|
# @return [Google::Apis::ContainerV1beta1::GcpSecretManagerCertificateConfig]
|
|
1087
1107
|
attr_accessor :gcp_secret_manager_certificate_config
|
|
@@ -1295,12 +1315,11 @@ module Google
|
|
|
1295
1315
|
# @return [Fixnum]
|
|
1296
1316
|
attr_accessor :current_node_count
|
|
1297
1317
|
|
|
1298
|
-
# Output only. Deprecated, use [NodePool.version](https
|
|
1299
|
-
#
|
|
1300
|
-
#
|
|
1301
|
-
#
|
|
1302
|
-
#
|
|
1303
|
-
# all nodes.
|
|
1318
|
+
# Output only. Deprecated, use [NodePool.version](https://cloud.google.com/
|
|
1319
|
+
# kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.
|
|
1320
|
+
# nodePools) instead. The current version of the node software components. If
|
|
1321
|
+
# they are currently at multiple versions because they're in the process of
|
|
1322
|
+
# being upgraded, this reflects the minimum version of all nodes.
|
|
1304
1323
|
# Corresponds to the JSON property `currentNodeVersion`
|
|
1305
1324
|
# @return [String]
|
|
1306
1325
|
attr_accessor :current_node_version
|
|
@@ -1405,14 +1424,13 @@ module Google
|
|
|
1405
1424
|
attr_accessor :initial_cluster_version
|
|
1406
1425
|
|
|
1407
1426
|
# 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.
|
|
1427
|
+
# Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is
|
|
1428
|
+
# sufficient for this number of instances. You must also have available firewall
|
|
1429
|
+
# and routes quota. For requests, this field should only be used in lieu of a "
|
|
1430
|
+
# node_pool" object, since this configuration (along with the "node_config")
|
|
1431
|
+
# will be used to create a "NodePool" object with an auto-generated name. Do not
|
|
1432
|
+
# use this and a node_pool at the same time. This field is deprecated, use
|
|
1433
|
+
# node_pool.initial_node_count instead.
|
|
1416
1434
|
# Corresponds to the JSON property `initialNodeCount`
|
|
1417
1435
|
# @return [Fixnum]
|
|
1418
1436
|
attr_accessor :initial_node_count
|
|
@@ -1437,26 +1455,23 @@ module Google
|
|
|
1437
1455
|
# @return [Google::Apis::ContainerV1beta1::LegacyAbac]
|
|
1438
1456
|
attr_accessor :legacy_abac
|
|
1439
1457
|
|
|
1440
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
1441
|
-
#
|
|
1442
|
-
# available)
|
|
1443
|
-
#
|
|
1444
|
-
# resides.
|
|
1458
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
1459
|
+
# com/compute/docs/regions-zones/regions-zones#available) or [region](https://
|
|
1460
|
+
# cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
|
|
1461
|
+
# the cluster resides.
|
|
1445
1462
|
# Corresponds to the JSON property `location`
|
|
1446
1463
|
# @return [String]
|
|
1447
1464
|
attr_accessor :location
|
|
1448
1465
|
|
|
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.
|
|
1466
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
1467
|
+
# docs/zones#available) in which the cluster's nodes should be located. This
|
|
1468
|
+
# field provides a default value if [NodePool.Locations](https://cloud.google.
|
|
1469
|
+
# com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.
|
|
1470
|
+
# nodePools#NodePool.FIELDS.locations) are not specified during node pool
|
|
1471
|
+
# creation. Warning: changing cluster locations will update the [NodePool.
|
|
1472
|
+
# Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/
|
|
1473
|
+
# projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node
|
|
1474
|
+
# pools and will result in nodes being added and/or removed.
|
|
1460
1475
|
# Corresponds to the JSON property `locations`
|
|
1461
1476
|
# @return [Array<String>]
|
|
1462
1477
|
attr_accessor :locations
|
|
@@ -1538,10 +1553,10 @@ module Google
|
|
|
1538
1553
|
# @return [String]
|
|
1539
1554
|
attr_accessor :name
|
|
1540
1555
|
|
|
1541
|
-
# The name of the Google Compute Engine [network](https
|
|
1542
|
-
#
|
|
1543
|
-
#
|
|
1544
|
-
#
|
|
1556
|
+
# The name of the Google Compute Engine [network](https://cloud.google.com/
|
|
1557
|
+
# compute/docs/networks-and-firewalls#networks) to which the cluster is
|
|
1558
|
+
# connected. If left unspecified, the `default` network will be used. On output
|
|
1559
|
+
# this shows the network ID instead of the name.
|
|
1545
1560
|
# Corresponds to the JSON property `network`
|
|
1546
1561
|
# @return [String]
|
|
1547
1562
|
attr_accessor :network
|
|
@@ -1673,6 +1688,11 @@ module Google
|
|
|
1673
1688
|
# @return [Google::Apis::ContainerV1beta1::SecretManagerConfig]
|
|
1674
1689
|
attr_accessor :secret_manager_config
|
|
1675
1690
|
|
|
1691
|
+
# Configuration for sync Secret Manager secrets as k8s secrets.
|
|
1692
|
+
# Corresponds to the JSON property `secretSyncConfig`
|
|
1693
|
+
# @return [Google::Apis::ContainerV1beta1::SecretSyncConfig]
|
|
1694
|
+
attr_accessor :secret_sync_config
|
|
1695
|
+
|
|
1676
1696
|
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
|
1677
1697
|
# the Security Posture API.
|
|
1678
1698
|
# Corresponds to the JSON property `securityPostureConfig`
|
|
@@ -1708,10 +1728,9 @@ module Google
|
|
|
1708
1728
|
# @return [String]
|
|
1709
1729
|
attr_accessor :status_message
|
|
1710
1730
|
|
|
1711
|
-
# The name of the Google Compute Engine [subnetwork](https
|
|
1712
|
-
#
|
|
1713
|
-
#
|
|
1714
|
-
# name.
|
|
1731
|
+
# The name of the Google Compute Engine [subnetwork](https://cloud.google.com/
|
|
1732
|
+
# compute/docs/subnetworks) to which the cluster is connected. On output this
|
|
1733
|
+
# shows the subnetwork ID instead of the name.
|
|
1715
1734
|
# Corresponds to the JSON property `subnetwork`
|
|
1716
1735
|
# @return [String]
|
|
1717
1736
|
attr_accessor :subnetwork
|
|
@@ -1760,9 +1779,9 @@ module Google
|
|
|
1760
1779
|
# @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
|
|
1761
1780
|
attr_accessor :workload_identity_config
|
|
1762
1781
|
|
|
1763
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
1764
|
-
#
|
|
1765
|
-
#
|
|
1782
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
1783
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field is
|
|
1784
|
+
# deprecated, use location instead.
|
|
1766
1785
|
# Corresponds to the JSON property `zone`
|
|
1767
1786
|
# @return [String]
|
|
1768
1787
|
attr_accessor :zone
|
|
@@ -1846,6 +1865,7 @@ module Google
|
|
|
1846
1865
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
|
1847
1866
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
|
1848
1867
|
@secret_manager_config = args[:secret_manager_config] if args.key?(:secret_manager_config)
|
|
1868
|
+
@secret_sync_config = args[:secret_sync_config] if args.key?(:secret_sync_config)
|
|
1849
1869
|
@security_posture_config = args[:security_posture_config] if args.key?(:security_posture_config)
|
|
1850
1870
|
@self_link = args[:self_link] if args.key?(:self_link)
|
|
1851
1871
|
@services_ipv4_cidr = args[:services_ipv4_cidr] if args.key?(:services_ipv4_cidr)
|
|
@@ -1870,9 +1890,8 @@ module Google
|
|
|
1870
1890
|
class ClusterAutoscaling
|
|
1871
1891
|
include Google::Apis::Core::Hashable
|
|
1872
1892
|
|
|
1873
|
-
# The list of Google Compute Engine [zones](https
|
|
1874
|
-
#
|
|
1875
|
-
# NodePool's nodes can be created by NAP.
|
|
1893
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
1894
|
+
# docs/zones#available) in which the NodePool's nodes can be created by NAP.
|
|
1876
1895
|
# Corresponds to the JSON property `autoprovisioningLocations`
|
|
1877
1896
|
# @return [Array<String>]
|
|
1878
1897
|
attr_accessor :autoprovisioning_locations
|
|
@@ -2165,11 +2184,11 @@ module Google
|
|
|
2165
2184
|
# @return [Google::Apis::ContainerV1beta1::IlbSubsettingConfig]
|
|
2166
2185
|
attr_accessor :desired_l4ilb_subsetting_config
|
|
2167
2186
|
|
|
2168
|
-
# The desired list of Google Compute Engine [zones](https
|
|
2169
|
-
#
|
|
2170
|
-
#
|
|
2171
|
-
#
|
|
2172
|
-
#
|
|
2187
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
|
2188
|
+
# compute/docs/zones#available) in which the cluster's nodes should be located.
|
|
2189
|
+
# This list must always include the cluster's primary zone. Warning: changing
|
|
2190
|
+
# cluster locations will update the locations of all node pools and will result
|
|
2191
|
+
# in nodes being added and/or removed.
|
|
2173
2192
|
# Corresponds to the JSON property `desiredLocations`
|
|
2174
2193
|
# @return [Array<String>]
|
|
2175
2194
|
attr_accessor :desired_locations
|
|
@@ -2269,10 +2288,9 @@ module Google
|
|
|
2269
2288
|
|
|
2270
2289
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
2271
2290
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
2272
|
-
# be according to specifications in https
|
|
2273
|
-
#
|
|
2274
|
-
#
|
|
2275
|
-
# replaced with new values.
|
|
2291
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
2292
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
2293
|
+
# specified. Existing tags will be replaced with new values.
|
|
2276
2294
|
# Corresponds to the JSON property `desiredNodePoolAutoConfigResourceManagerTags`
|
|
2277
2295
|
# @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
|
|
2278
2296
|
attr_accessor :desired_node_pool_auto_config_resource_manager_tags
|
|
@@ -2370,6 +2388,11 @@ module Google
|
|
|
2370
2388
|
# @return [Google::Apis::ContainerV1beta1::SecretManagerConfig]
|
|
2371
2389
|
attr_accessor :desired_secret_manager_config
|
|
2372
2390
|
|
|
2391
|
+
# Configuration for sync Secret Manager secrets as k8s secrets.
|
|
2392
|
+
# Corresponds to the JSON property `desiredSecretSyncConfig`
|
|
2393
|
+
# @return [Google::Apis::ContainerV1beta1::SecretSyncConfig]
|
|
2394
|
+
attr_accessor :desired_secret_sync_config
|
|
2395
|
+
|
|
2373
2396
|
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
|
2374
2397
|
# the Security Posture API.
|
|
2375
2398
|
# Corresponds to the JSON property `desiredSecurityPostureConfig`
|
|
@@ -2535,6 +2558,7 @@ module Google
|
|
|
2535
2558
|
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
|
|
2536
2559
|
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
|
|
2537
2560
|
@desired_secret_manager_config = args[:desired_secret_manager_config] if args.key?(:desired_secret_manager_config)
|
|
2561
|
+
@desired_secret_sync_config = args[:desired_secret_sync_config] if args.key?(:desired_secret_sync_config)
|
|
2538
2562
|
@desired_security_posture_config = args[:desired_security_posture_config] if args.key?(:desired_security_posture_config)
|
|
2539
2563
|
@desired_service_external_ips_config = args[:desired_service_external_ips_config] if args.key?(:desired_service_external_ips_config)
|
|
2540
2564
|
@desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
|
|
@@ -2626,17 +2650,15 @@ module Google
|
|
|
2626
2650
|
attr_accessor :name
|
|
2627
2651
|
|
|
2628
2652
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
2629
|
-
#
|
|
2630
|
-
#
|
|
2631
|
-
# the name field.
|
|
2653
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
2654
|
+
# field has been deprecated and replaced by the name field.
|
|
2632
2655
|
# Corresponds to the JSON property `projectId`
|
|
2633
2656
|
# @return [String]
|
|
2634
2657
|
attr_accessor :project_id
|
|
2635
2658
|
|
|
2636
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
2637
|
-
#
|
|
2638
|
-
#
|
|
2639
|
-
# field.
|
|
2659
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
2660
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
2661
|
+
# been deprecated and replaced by the name field.
|
|
2640
2662
|
# Corresponds to the JSON property `zone`
|
|
2641
2663
|
# @return [String]
|
|
2642
2664
|
attr_accessor :zone
|
|
@@ -2791,6 +2813,11 @@ module Google
|
|
|
2791
2813
|
# @return [Google::Apis::ContainerV1beta1::PrivateRegistryAccessConfig]
|
|
2792
2814
|
attr_accessor :private_registry_access_config
|
|
2793
2815
|
|
|
2816
|
+
# Defines writable cgroups configuration.
|
|
2817
|
+
# Corresponds to the JSON property `writableCgroups`
|
|
2818
|
+
# @return [Google::Apis::ContainerV1beta1::WritableCgroups]
|
|
2819
|
+
attr_accessor :writable_cgroups
|
|
2820
|
+
|
|
2794
2821
|
def initialize(**args)
|
|
2795
2822
|
update!(**args)
|
|
2796
2823
|
end
|
|
@@ -2798,6 +2825,7 @@ module Google
|
|
|
2798
2825
|
# Update properties of this object
|
|
2799
2826
|
def update!(**args)
|
|
2800
2827
|
@private_registry_access_config = args[:private_registry_access_config] if args.key?(:private_registry_access_config)
|
|
2828
|
+
@writable_cgroups = args[:writable_cgroups] if args.key?(:writable_cgroups)
|
|
2801
2829
|
end
|
|
2802
2830
|
end
|
|
2803
2831
|
|
|
@@ -2862,17 +2890,15 @@ module Google
|
|
|
2862
2890
|
attr_accessor :parent
|
|
2863
2891
|
|
|
2864
2892
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
2865
|
-
#
|
|
2866
|
-
#
|
|
2867
|
-
# the parent field.
|
|
2893
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
2894
|
+
# field has been deprecated and replaced by the parent field.
|
|
2868
2895
|
# Corresponds to the JSON property `projectId`
|
|
2869
2896
|
# @return [String]
|
|
2870
2897
|
attr_accessor :project_id
|
|
2871
2898
|
|
|
2872
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
2873
|
-
#
|
|
2874
|
-
#
|
|
2875
|
-
# field.
|
|
2899
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
2900
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
2901
|
+
# been deprecated and replaced by the parent field.
|
|
2876
2902
|
# Corresponds to the JSON property `zone`
|
|
2877
2903
|
# @return [String]
|
|
2878
2904
|
attr_accessor :zone
|
|
@@ -2917,17 +2943,15 @@ module Google
|
|
|
2917
2943
|
attr_accessor :parent
|
|
2918
2944
|
|
|
2919
2945
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
2920
|
-
#
|
|
2921
|
-
#
|
|
2922
|
-
# the parent field.
|
|
2946
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
2947
|
+
# field has been deprecated and replaced by the parent field.
|
|
2923
2948
|
# Corresponds to the JSON property `projectId`
|
|
2924
2949
|
# @return [String]
|
|
2925
2950
|
attr_accessor :project_id
|
|
2926
2951
|
|
|
2927
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
2928
|
-
#
|
|
2929
|
-
#
|
|
2930
|
-
# field.
|
|
2952
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
2953
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
2954
|
+
# been deprecated and replaced by the parent field.
|
|
2931
2955
|
# Corresponds to the JSON property `zone`
|
|
2932
2956
|
# @return [String]
|
|
2933
2957
|
attr_accessor :zone
|
|
@@ -3140,6 +3164,25 @@ module Google
|
|
|
3140
3164
|
end
|
|
3141
3165
|
end
|
|
3142
3166
|
|
|
3167
|
+
# Provisions a new, separate local NVMe SSD exclusively for swap.
|
|
3168
|
+
class DedicatedLocalSsdProfile
|
|
3169
|
+
include Google::Apis::Core::Hashable
|
|
3170
|
+
|
|
3171
|
+
# The number of physical local NVMe SSD disks to attach.
|
|
3172
|
+
# Corresponds to the JSON property `diskCount`
|
|
3173
|
+
# @return [Fixnum]
|
|
3174
|
+
attr_accessor :disk_count
|
|
3175
|
+
|
|
3176
|
+
def initialize(**args)
|
|
3177
|
+
update!(**args)
|
|
3178
|
+
end
|
|
3179
|
+
|
|
3180
|
+
# Update properties of this object
|
|
3181
|
+
def update!(**args)
|
|
3182
|
+
@disk_count = args[:disk_count] if args.key?(:disk_count)
|
|
3183
|
+
end
|
|
3184
|
+
end
|
|
3185
|
+
|
|
3143
3186
|
# DefaultComputeClassConfig defines default compute class configuration.
|
|
3144
3187
|
class DefaultComputeClassConfig
|
|
3145
3188
|
include Google::Apis::Core::Hashable
|
|
@@ -3259,6 +3302,27 @@ module Google
|
|
|
3259
3302
|
end
|
|
3260
3303
|
end
|
|
3261
3304
|
|
|
3305
|
+
# Defines encryption settings for the swap space.
|
|
3306
|
+
class EncryptionConfig
|
|
3307
|
+
include Google::Apis::Core::Hashable
|
|
3308
|
+
|
|
3309
|
+
# Optional. If true, swap space will not be encrypted. Defaults to false (
|
|
3310
|
+
# encrypted).
|
|
3311
|
+
# Corresponds to the JSON property `disabled`
|
|
3312
|
+
# @return [Boolean]
|
|
3313
|
+
attr_accessor :disabled
|
|
3314
|
+
alias_method :disabled?, :disabled
|
|
3315
|
+
|
|
3316
|
+
def initialize(**args)
|
|
3317
|
+
update!(**args)
|
|
3318
|
+
end
|
|
3319
|
+
|
|
3320
|
+
# Update properties of this object
|
|
3321
|
+
def update!(**args)
|
|
3322
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
|
3323
|
+
end
|
|
3324
|
+
end
|
|
3325
|
+
|
|
3262
3326
|
# EnterpriseConfig is the cluster enterprise configuration. Deprecated: GKE
|
|
3263
3327
|
# Enterprise features are now available without an Enterprise tier.
|
|
3264
3328
|
class EnterpriseConfig
|
|
@@ -3285,6 +3349,32 @@ module Google
|
|
|
3285
3349
|
end
|
|
3286
3350
|
end
|
|
3287
3351
|
|
|
3352
|
+
# Swap on the local SSD shared with pod ephemeral storage.
|
|
3353
|
+
class EphemeralLocalSsdProfile
|
|
3354
|
+
include Google::Apis::Core::Hashable
|
|
3355
|
+
|
|
3356
|
+
# Specifies the size of the swap space in gibibytes (GiB).
|
|
3357
|
+
# Corresponds to the JSON property `swapSizeGib`
|
|
3358
|
+
# @return [Fixnum]
|
|
3359
|
+
attr_accessor :swap_size_gib
|
|
3360
|
+
|
|
3361
|
+
# Specifies the size of the swap space as a percentage of the ephemeral local
|
|
3362
|
+
# SSD capacity.
|
|
3363
|
+
# Corresponds to the JSON property `swapSizePercent`
|
|
3364
|
+
# @return [Fixnum]
|
|
3365
|
+
attr_accessor :swap_size_percent
|
|
3366
|
+
|
|
3367
|
+
def initialize(**args)
|
|
3368
|
+
update!(**args)
|
|
3369
|
+
end
|
|
3370
|
+
|
|
3371
|
+
# Update properties of this object
|
|
3372
|
+
def update!(**args)
|
|
3373
|
+
@swap_size_gib = args[:swap_size_gib] if args.key?(:swap_size_gib)
|
|
3374
|
+
@swap_size_percent = args[:swap_size_percent] if args.key?(:swap_size_percent)
|
|
3375
|
+
end
|
|
3376
|
+
end
|
|
3377
|
+
|
|
3288
3378
|
# EphemeralStorageConfig contains configuration for the ephemeral storage
|
|
3289
3379
|
# filesystem.
|
|
3290
3380
|
class EphemeralStorageConfig
|
|
@@ -3292,16 +3382,15 @@ module Google
|
|
|
3292
3382
|
|
|
3293
3383
|
# Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces.
|
|
3294
3384
|
# The limit for this value is dependent upon the maximum number of disk
|
|
3295
|
-
# available on a machine per zone. See: https
|
|
3296
|
-
#
|
|
3297
|
-
#
|
|
3298
|
-
#
|
|
3299
|
-
#
|
|
3300
|
-
#
|
|
3301
|
-
#
|
|
3302
|
-
#
|
|
3303
|
-
#
|
|
3304
|
-
# provisioned. See https://`$universe.dns_names.final_documentation_domain`/
|
|
3385
|
+
# available on a machine per zone. See: https://cloud.google.com/compute/docs/
|
|
3386
|
+
# disks/local-ssd for more information. A zero (or unset) value has different
|
|
3387
|
+
# meanings depending on machine type being used: 1. For pre-Gen3 machines, which
|
|
3388
|
+
# support flexible numbers of local ssds, zero (or unset) means to disable using
|
|
3389
|
+
# local SSDs as ephemeral storage. 2. For Gen3 machines which dictate a specific
|
|
3390
|
+
# number of local ssds, zero (or unset) means to use the default number of local
|
|
3391
|
+
# ssds that goes with that machine type. For example, for a c3-standard-8-lssd
|
|
3392
|
+
# machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't
|
|
3393
|
+
# support local ssds), 0 will be provisioned. See https://cloud.google.com/
|
|
3305
3394
|
# compute/docs/disks/local-ssd#choose_number_local_ssds for more info.
|
|
3306
3395
|
# Corresponds to the JSON property `localSsdCount`
|
|
3307
3396
|
# @return [Fixnum]
|
|
@@ -3332,15 +3421,13 @@ module Google
|
|
|
3332
3421
|
# used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds,
|
|
3333
3422
|
# zero (or unset) means to disable using local SSDs as ephemeral storage. The
|
|
3334
3423
|
# limit for this value is dependent upon the maximum number of disk available on
|
|
3335
|
-
# a machine per zone. See: https
|
|
3336
|
-
#
|
|
3337
|
-
#
|
|
3338
|
-
#
|
|
3339
|
-
#
|
|
3340
|
-
#
|
|
3341
|
-
#
|
|
3342
|
-
# final_documentation_domain`/compute/docs/disks/local-ssd#
|
|
3343
|
-
# choose_number_local_ssds for more info.
|
|
3424
|
+
# a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd
|
|
3425
|
+
# for more information. 2. For Gen3 machines which dictate a specific number of
|
|
3426
|
+
# local ssds, zero (or unset) means to use the default number of local ssds that
|
|
3427
|
+
# goes with that machine type. For example, for a c3-standard-8-lssd machine, 2
|
|
3428
|
+
# local ssds would be provisioned. For c3-standard-8 (which doesn't support
|
|
3429
|
+
# local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/
|
|
3430
|
+
# disks/local-ssd#choose_number_local_ssds for more info.
|
|
3344
3431
|
# Corresponds to the JSON property `localSsdCount`
|
|
3345
3432
|
# @return [Fixnum]
|
|
3346
3433
|
attr_accessor :local_ssd_count
|
|
@@ -3648,9 +3735,8 @@ module Google
|
|
|
3648
3735
|
end
|
|
3649
3736
|
end
|
|
3650
3737
|
|
|
3651
|
-
# GCPSecretManagerCertificateConfig configures a secret from [
|
|
3652
|
-
#
|
|
3653
|
-
# manager).
|
|
3738
|
+
# GCPSecretManagerCertificateConfig configures a secret from [Secret Manager](
|
|
3739
|
+
# https://cloud.google.com/secret-manager).
|
|
3654
3740
|
class GcpSecretManagerCertificateConfig
|
|
3655
3741
|
include Google::Apis::Core::Hashable
|
|
3656
3742
|
|
|
@@ -4627,6 +4713,16 @@ module Google
|
|
|
4627
4713
|
# @return [Google::Apis::ContainerV1beta1::HugepagesConfig]
|
|
4628
4714
|
attr_accessor :hugepages
|
|
4629
4715
|
|
|
4716
|
+
# Configuration for kernel module loading on nodes.
|
|
4717
|
+
# Corresponds to the JSON property `nodeKernelModuleLoading`
|
|
4718
|
+
# @return [Google::Apis::ContainerV1beta1::NodeKernelModuleLoading]
|
|
4719
|
+
attr_accessor :node_kernel_module_loading
|
|
4720
|
+
|
|
4721
|
+
# Configuration for swap memory on a node pool.
|
|
4722
|
+
# Corresponds to the JSON property `swapConfig`
|
|
4723
|
+
# @return [Google::Apis::ContainerV1beta1::SwapConfig]
|
|
4724
|
+
attr_accessor :swap_config
|
|
4725
|
+
|
|
4630
4726
|
# The Linux kernel parameters to be applied to the nodes and all pods running on
|
|
4631
4727
|
# the nodes. The following parameters are supported. net.core.busy_poll net.core.
|
|
4632
4728
|
# busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default
|
|
@@ -4671,6 +4767,8 @@ module Google
|
|
|
4671
4767
|
def update!(**args)
|
|
4672
4768
|
@cgroup_mode = args[:cgroup_mode] if args.key?(:cgroup_mode)
|
|
4673
4769
|
@hugepages = args[:hugepages] if args.key?(:hugepages)
|
|
4770
|
+
@node_kernel_module_loading = args[:node_kernel_module_loading] if args.key?(:node_kernel_module_loading)
|
|
4771
|
+
@swap_config = args[:swap_config] if args.key?(:swap_config)
|
|
4674
4772
|
@sysctls = args[:sysctls] if args.key?(:sysctls)
|
|
4675
4773
|
@transparent_hugepage_defrag = args[:transparent_hugepage_defrag] if args.key?(:transparent_hugepage_defrag)
|
|
4676
4774
|
@transparent_hugepage_enabled = args[:transparent_hugepage_enabled] if args.key?(:transparent_hugepage_enabled)
|
|
@@ -4811,18 +4909,17 @@ module Google
|
|
|
4811
4909
|
include Google::Apis::Core::Hashable
|
|
4812
4910
|
|
|
4813
4911
|
# Number of local NVMe SSDs to use. The limit for this value is dependent upon
|
|
4814
|
-
# the maximum number of disk available on a machine per zone. See: https
|
|
4815
|
-
#
|
|
4816
|
-
#
|
|
4817
|
-
#
|
|
4818
|
-
#
|
|
4819
|
-
#
|
|
4820
|
-
#
|
|
4821
|
-
#
|
|
4822
|
-
#
|
|
4823
|
-
#
|
|
4824
|
-
#
|
|
4825
|
-
# choose_number_local_ssds for more info.
|
|
4912
|
+
# the maximum number of disk available on a machine per zone. See: https://cloud.
|
|
4913
|
+
# google.com/compute/docs/disks/local-ssd for more information. A zero (or unset)
|
|
4914
|
+
# value has different meanings depending on machine type being used: 1. For pre-
|
|
4915
|
+
# Gen3 machines, which support flexible numbers of local ssds, zero (or unset)
|
|
4916
|
+
# means to disable using local SSDs as ephemeral storage. 2. For Gen3 machines
|
|
4917
|
+
# which dictate a specific number of local ssds, zero (or unset) means to use
|
|
4918
|
+
# the default number of local ssds that goes with that machine type. For example,
|
|
4919
|
+
# for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-
|
|
4920
|
+
# standard-8 (which doesn't support local ssds), 0 will be provisioned. See
|
|
4921
|
+
# https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
|
|
4922
|
+
# for more info.
|
|
4826
4923
|
# Corresponds to the JSON property `localSsdCount`
|
|
4827
4924
|
# @return [Fixnum]
|
|
4828
4925
|
attr_accessor :local_ssd_count
|
|
@@ -4963,6 +5060,11 @@ module Google
|
|
|
4963
5060
|
class MaintenanceExclusionOptions
|
|
4964
5061
|
include Google::Apis::Core::Hashable
|
|
4965
5062
|
|
|
5063
|
+
# EndTimeBehavior specifies the behavior of the exclusion end time.
|
|
5064
|
+
# Corresponds to the JSON property `endTimeBehavior`
|
|
5065
|
+
# @return [String]
|
|
5066
|
+
attr_accessor :end_time_behavior
|
|
5067
|
+
|
|
4966
5068
|
# Scope specifies the upgrade scope which upgrades are blocked by the exclusion.
|
|
4967
5069
|
# Corresponds to the JSON property `scope`
|
|
4968
5070
|
# @return [String]
|
|
@@ -4974,6 +5076,7 @@ module Google
|
|
|
4974
5076
|
|
|
4975
5077
|
# Update properties of this object
|
|
4976
5078
|
def update!(**args)
|
|
5079
|
+
@end_time_behavior = args[:end_time_behavior] if args.key?(:end_time_behavior)
|
|
4977
5080
|
@scope = args[:scope] if args.key?(:scope)
|
|
4978
5081
|
end
|
|
4979
5082
|
end
|
|
@@ -5113,9 +5216,8 @@ module Google
|
|
|
5113
5216
|
# strong password. If a password is provided for cluster creation, username must
|
|
5114
5217
|
# be non-empty. Warning: basic authentication is deprecated, and will be removed
|
|
5115
5218
|
# in GKE control plane versions 1.19 and newer. For a list of recommended
|
|
5116
|
-
# authentication methods, see: https
|
|
5117
|
-
#
|
|
5118
|
-
# authentication
|
|
5219
|
+
# authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/
|
|
5220
|
+
# how-to/api-server-authentication
|
|
5119
5221
|
# Corresponds to the JSON property `password`
|
|
5120
5222
|
# @return [String]
|
|
5121
5223
|
attr_accessor :password
|
|
@@ -5125,8 +5227,8 @@ module Google
|
|
|
5125
5227
|
# username unspecified (or setting it to the empty string). Warning: basic
|
|
5126
5228
|
# authentication is deprecated, and will be removed in GKE control plane
|
|
5127
5229
|
# versions 1.19 and newer. For a list of recommended authentication methods, see:
|
|
5128
|
-
# https
|
|
5129
|
-
#
|
|
5230
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-
|
|
5231
|
+
# authentication
|
|
5130
5232
|
# Corresponds to the JSON property `username`
|
|
5131
5233
|
# @return [String]
|
|
5132
5234
|
attr_accessor :username
|
|
@@ -5423,10 +5525,9 @@ module Google
|
|
|
5423
5525
|
# @return [String]
|
|
5424
5526
|
attr_accessor :in_transit_encryption_config
|
|
5425
5527
|
|
|
5426
|
-
# Output only. The relative name of the Google Compute Engine [network](https
|
|
5427
|
-
#
|
|
5428
|
-
#
|
|
5429
|
-
# project/global/networks/my-network
|
|
5528
|
+
# Output only. The relative name of the Google Compute Engine [network](https://
|
|
5529
|
+
# cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
|
|
5530
|
+
# cluster is connected. Example: projects/my-project/global/networks/my-network
|
|
5430
5531
|
# Corresponds to the JSON property `network`
|
|
5431
5532
|
# @return [String]
|
|
5432
5533
|
attr_accessor :network
|
|
@@ -5448,9 +5549,8 @@ module Google
|
|
|
5448
5549
|
attr_accessor :service_external_ips_config
|
|
5449
5550
|
|
|
5450
5551
|
# Output only. The relative name of the Google Compute Engine [subnetwork](https:
|
|
5451
|
-
#
|
|
5452
|
-
#
|
|
5453
|
-
# subnetworks/my-subnet
|
|
5552
|
+
# //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
|
|
5553
|
+
# Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
|
|
5454
5554
|
# Corresponds to the JSON property `subnetwork`
|
|
5455
5555
|
# @return [String]
|
|
5456
5556
|
attr_accessor :subnetwork
|
|
@@ -5597,9 +5697,8 @@ module Google
|
|
|
5597
5697
|
end
|
|
5598
5698
|
|
|
5599
5699
|
# Specifies the NodeAffinity key, values, and affinity operator according to [
|
|
5600
|
-
# shared sole tenant node group affinities](https
|
|
5601
|
-
#
|
|
5602
|
-
# node_affinity_and_anti-affinity).
|
|
5700
|
+
# shared sole tenant node group affinities](https://cloud.google.com/compute/
|
|
5701
|
+
# docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity).
|
|
5603
5702
|
class NodeAffinity
|
|
5604
5703
|
include Google::Apis::Core::Hashable
|
|
5605
5704
|
|
|
@@ -5636,9 +5735,8 @@ module Google
|
|
|
5636
5735
|
class NodeConfig
|
|
5637
5736
|
include Google::Apis::Core::Hashable
|
|
5638
5737
|
|
|
5639
|
-
# A list of hardware accelerators to be attached to each node. See https
|
|
5640
|
-
#
|
|
5641
|
-
# information about support for GPUs.
|
|
5738
|
+
# A list of hardware accelerators to be attached to each node. See https://cloud.
|
|
5739
|
+
# google.com/compute/docs/gpus for more information about support for GPUs.
|
|
5642
5740
|
# Corresponds to the JSON property `accelerators`
|
|
5643
5741
|
# @return [Array<Google::Apis::ContainerV1beta1::AcceleratorConfig>]
|
|
5644
5742
|
attr_accessor :accelerators
|
|
@@ -5657,8 +5755,7 @@ module Google
|
|
|
5657
5755
|
# each node in the node pool. This should be of the form projects/[
|
|
5658
5756
|
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
|
5659
5757
|
# . For more information about protecting resources with Cloud KMS Keys please
|
|
5660
|
-
# see: https
|
|
5661
|
-
# disks/customer-managed-encryption
|
|
5758
|
+
# see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
|
5662
5759
|
# Corresponds to the JSON property `bootDiskKmsKey`
|
|
5663
5760
|
# @return [String]
|
|
5664
5761
|
attr_accessor :boot_disk_kms_key
|
|
@@ -5740,9 +5837,8 @@ module Google
|
|
|
5740
5837
|
attr_accessor :host_maintenance_policy
|
|
5741
5838
|
|
|
5742
5839
|
# The image type to use for this node. Note that for a given image type, the
|
|
5743
|
-
# latest version of it will be used. Please see https
|
|
5744
|
-
#
|
|
5745
|
-
# available image types.
|
|
5840
|
+
# latest version of it will be used. Please see https://cloud.google.com/
|
|
5841
|
+
# kubernetes-engine/docs/concepts/node-images for available image types.
|
|
5746
5842
|
# Corresponds to the JSON property `imageType`
|
|
5747
5843
|
# @return [String]
|
|
5748
5844
|
attr_accessor :image_type
|
|
@@ -5776,8 +5872,8 @@ module Google
|
|
|
5776
5872
|
|
|
5777
5873
|
# The number of local SSD disks to be attached to the node. The limit for this
|
|
5778
5874
|
# value is dependent upon the maximum number of disks available on a machine per
|
|
5779
|
-
# zone. See: https
|
|
5780
|
-
#
|
|
5875
|
+
# zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
|
|
5876
|
+
# information.
|
|
5781
5877
|
# Corresponds to the JSON property `localSsdCount`
|
|
5782
5878
|
# @return [Fixnum]
|
|
5783
5879
|
attr_accessor :local_ssd_count
|
|
@@ -5793,9 +5889,9 @@ module Google
|
|
|
5793
5889
|
# @return [Google::Apis::ContainerV1beta1::NodePoolLoggingConfig]
|
|
5794
5890
|
attr_accessor :logging_config
|
|
5795
5891
|
|
|
5796
|
-
# The name of a Google Compute Engine [machine type](https
|
|
5797
|
-
#
|
|
5798
|
-
#
|
|
5892
|
+
# The name of a Google Compute Engine [machine type](https://cloud.google.com/
|
|
5893
|
+
# compute/docs/machine-types). If unspecified, the default machine type is `e2-
|
|
5894
|
+
# medium`.
|
|
5799
5895
|
# Corresponds to the JSON property `machineType`
|
|
5800
5896
|
# @return [String]
|
|
5801
5897
|
attr_accessor :machine_type
|
|
@@ -5828,16 +5924,15 @@ module Google
|
|
|
5828
5924
|
# scheduled on the specified or newer CPU platform. Applicable values are the
|
|
5829
5925
|
# friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
|
|
5830
5926
|
# minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
|
|
5831
|
-
# specify min CPU platform](https
|
|
5832
|
-
#
|
|
5927
|
+
# specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
|
5928
|
+
# specify-min-cpu-platform).
|
|
5833
5929
|
# Corresponds to the JSON property `minCpuPlatform`
|
|
5834
5930
|
# @return [String]
|
|
5835
5931
|
attr_accessor :min_cpu_platform
|
|
5836
5932
|
|
|
5837
5933
|
# Setting this field will assign instances of this pool to run on the specified
|
|
5838
5934
|
# node group. This is useful for running workloads on [sole tenant nodes](https:/
|
|
5839
|
-
#
|
|
5840
|
-
# tenant-nodes).
|
|
5935
|
+
# /cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
|
|
5841
5936
|
# Corresponds to the JSON property `nodeGroup`
|
|
5842
5937
|
# @return [String]
|
|
5843
5938
|
attr_accessor :node_group
|
|
@@ -5847,25 +5942,25 @@ module Google
|
|
|
5847
5942
|
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
|
5848
5943
|
# compute` is required for mounting persistent storage on your nodes. * `https://
|
|
5849
5944
|
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
|
5850
|
-
# with **gcr.io** (the [
|
|
5851
|
-
#
|
|
5852
|
-
#
|
|
5853
|
-
#
|
|
5945
|
+
# with **gcr.io** (the [Artifact Registry](https://cloud.google.com/artifact-
|
|
5946
|
+
# registry/)). If unspecified, no scopes are added, unless Cloud Logging or
|
|
5947
|
+
# Cloud Monitoring are enabled, in which case their required scopes will be
|
|
5948
|
+
# added.
|
|
5854
5949
|
# Corresponds to the JSON property `oauthScopes`
|
|
5855
5950
|
# @return [Array<String>]
|
|
5856
5951
|
attr_accessor :oauth_scopes
|
|
5857
5952
|
|
|
5858
|
-
# Whether the nodes are created as preemptible VM instances. See: https
|
|
5859
|
-
#
|
|
5860
|
-
# preemptible
|
|
5953
|
+
# Whether the nodes are created as preemptible VM instances. See: https://cloud.
|
|
5954
|
+
# google.com/compute/docs/instances/preemptible for more information about
|
|
5955
|
+
# preemptible VM instances.
|
|
5861
5956
|
# Corresponds to the JSON property `preemptible`
|
|
5862
5957
|
# @return [Boolean]
|
|
5863
5958
|
attr_accessor :preemptible
|
|
5864
5959
|
alias_method :preemptible?, :preemptible
|
|
5865
5960
|
|
|
5866
|
-
# [ReservationAffinity](https
|
|
5867
|
-
#
|
|
5868
|
-
#
|
|
5961
|
+
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
|
5962
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
|
5963
|
+
# instances could take capacity from.
|
|
5869
5964
|
# Corresponds to the JSON property `reservationAffinity`
|
|
5870
5965
|
# @return [Google::Apis::ContainerV1beta1::ReservationAffinity]
|
|
5871
5966
|
attr_accessor :reservation_affinity
|
|
@@ -5878,10 +5973,9 @@ module Google
|
|
|
5878
5973
|
|
|
5879
5974
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
5880
5975
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
5881
|
-
# be according to specifications in https
|
|
5882
|
-
#
|
|
5883
|
-
#
|
|
5884
|
-
# replaced with new values.
|
|
5976
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
5977
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
5978
|
+
# specified. Existing tags will be replaced with new values.
|
|
5885
5979
|
# Corresponds to the JSON property `resourceManagerTags`
|
|
5886
5980
|
# @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
|
|
5887
5981
|
attr_accessor :resource_manager_tags
|
|
@@ -6060,6 +6154,25 @@ module Google
|
|
|
6060
6154
|
end
|
|
6061
6155
|
end
|
|
6062
6156
|
|
|
6157
|
+
# Configuration for kernel module loading on nodes.
|
|
6158
|
+
class NodeKernelModuleLoading
|
|
6159
|
+
include Google::Apis::Core::Hashable
|
|
6160
|
+
|
|
6161
|
+
# Set the node module loading policy for nodes in the node pool.
|
|
6162
|
+
# Corresponds to the JSON property `policy`
|
|
6163
|
+
# @return [String]
|
|
6164
|
+
attr_accessor :policy
|
|
6165
|
+
|
|
6166
|
+
def initialize(**args)
|
|
6167
|
+
update!(**args)
|
|
6168
|
+
end
|
|
6169
|
+
|
|
6170
|
+
# Update properties of this object
|
|
6171
|
+
def update!(**args)
|
|
6172
|
+
@policy = args[:policy] if args.key?(:policy)
|
|
6173
|
+
end
|
|
6174
|
+
end
|
|
6175
|
+
|
|
6063
6176
|
# Node kubelet configs.
|
|
6064
6177
|
class NodeKubeletConfig
|
|
6065
6178
|
include Google::Apis::Core::Hashable
|
|
@@ -6110,7 +6223,7 @@ module Google
|
|
|
6110
6223
|
# Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a
|
|
6111
6224
|
# sequence of decimal numbers, each with optional fraction and a unit suffix,
|
|
6112
6225
|
# such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
|
|
6113
|
-
# . The value must be a positive duration.
|
|
6226
|
+
# . The value must be a positive duration between 1ms and 1 second, inclusive.
|
|
6114
6227
|
# Corresponds to the JSON property `cpuCfsQuotaPeriod`
|
|
6115
6228
|
# @return [String]
|
|
6116
6229
|
attr_accessor :cpu_cfs_quota_period
|
|
@@ -6323,6 +6436,14 @@ module Google
|
|
|
6323
6436
|
class NodeNetworkConfig
|
|
6324
6437
|
include Google::Apis::Core::Hashable
|
|
6325
6438
|
|
|
6439
|
+
# Immutable. The accelerator network profile for the node pool. For now the only
|
|
6440
|
+
# valid value is "auto". If specified, the network configuration of the nodes in
|
|
6441
|
+
# this node pool will be managed by this profile for the supported machine types,
|
|
6442
|
+
# zone, etc.
|
|
6443
|
+
# Corresponds to the JSON property `acceleratorNetworkProfile`
|
|
6444
|
+
# @return [String]
|
|
6445
|
+
attr_accessor :accelerator_network_profile
|
|
6446
|
+
|
|
6326
6447
|
# We specify the additional node networks for this node pool using this list.
|
|
6327
6448
|
# Each node network corresponds to an additional interface
|
|
6328
6449
|
# Corresponds to the JSON property `additionalNodeNetworkConfigs`
|
|
@@ -6410,6 +6531,7 @@ module Google
|
|
|
6410
6531
|
|
|
6411
6532
|
# Update properties of this object
|
|
6412
6533
|
def update!(**args)
|
|
6534
|
+
@accelerator_network_profile = args[:accelerator_network_profile] if args.key?(:accelerator_network_profile)
|
|
6413
6535
|
@additional_node_network_configs = args[:additional_node_network_configs] if args.key?(:additional_node_network_configs)
|
|
6414
6536
|
@additional_pod_network_configs = args[:additional_pod_network_configs] if args.key?(:additional_pod_network_configs)
|
|
6415
6537
|
@create_pod_range = args[:create_pod_range] if args.key?(:create_pod_range)
|
|
@@ -6469,30 +6591,27 @@ module Google
|
|
|
6469
6591
|
attr_accessor :etag
|
|
6470
6592
|
|
|
6471
6593
|
# The initial node count for the pool. You must ensure that your Compute Engine [
|
|
6472
|
-
# resource quota](https
|
|
6473
|
-
#
|
|
6474
|
-
#
|
|
6594
|
+
# resource quota](https://cloud.google.com/compute/quotas) is sufficient for
|
|
6595
|
+
# this number of instances. You must also have available firewall and routes
|
|
6596
|
+
# quota.
|
|
6475
6597
|
# Corresponds to the JSON property `initialNodeCount`
|
|
6476
6598
|
# @return [Fixnum]
|
|
6477
6599
|
attr_accessor :initial_node_count
|
|
6478
6600
|
|
|
6479
|
-
# Output only. The resource URLs of the [managed instance groups](https
|
|
6480
|
-
#
|
|
6481
|
-
#
|
|
6482
|
-
#
|
|
6483
|
-
# green resources.
|
|
6601
|
+
# Output only. The resource URLs of the [managed instance groups](https://cloud.
|
|
6602
|
+
# google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
|
|
6603
|
+
# associated with this node pool. During the node pool blue-green upgrade
|
|
6604
|
+
# operation, the URLs contain both blue and green resources.
|
|
6484
6605
|
# Corresponds to the JSON property `instanceGroupUrls`
|
|
6485
6606
|
# @return [Array<String>]
|
|
6486
6607
|
attr_accessor :instance_group_urls
|
|
6487
6608
|
|
|
6488
|
-
# The list of Google Compute Engine [zones](https
|
|
6489
|
-
#
|
|
6490
|
-
#
|
|
6491
|
-
#
|
|
6492
|
-
#
|
|
6493
|
-
# locations
|
|
6494
|
-
# Warning: changing node pool locations will result in nodes being added and/or
|
|
6495
|
-
# removed.
|
|
6609
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
6610
|
+
# docs/zones#available) in which the NodePool's nodes should be located. If this
|
|
6611
|
+
# value is unspecified during node pool creation, the [Cluster.Locations](https:/
|
|
6612
|
+
# /cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.
|
|
6613
|
+
# clusters#Cluster.FIELDS.locations) value will be used, instead. Warning:
|
|
6614
|
+
# changing node pool locations will result in nodes being added and/or removed.
|
|
6496
6615
|
# Corresponds to the JSON property `locations`
|
|
6497
6616
|
# @return [Array<String>]
|
|
6498
6617
|
attr_accessor :locations
|
|
@@ -6591,9 +6710,8 @@ module Google
|
|
|
6591
6710
|
attr_accessor :upgrade_settings
|
|
6592
6711
|
|
|
6593
6712
|
# The version of Kubernetes running on this NodePool's nodes. If unspecified, it
|
|
6594
|
-
# defaults as described [here](https
|
|
6595
|
-
#
|
|
6596
|
-
# specifying_node_version).
|
|
6713
|
+
# defaults as described [here](https://cloud.google.com/kubernetes-engine/
|
|
6714
|
+
# versioning#specifying_node_version).
|
|
6597
6715
|
# Corresponds to the JSON property `version`
|
|
6598
6716
|
# @return [String]
|
|
6599
6717
|
attr_accessor :version
|
|
@@ -6653,10 +6771,9 @@ module Google
|
|
|
6653
6771
|
|
|
6654
6772
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
6655
6773
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
6656
|
-
# be according to specifications in https
|
|
6657
|
-
#
|
|
6658
|
-
#
|
|
6659
|
-
# replaced with new values.
|
|
6774
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
6775
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
6776
|
+
# specified. Existing tags will be replaced with new values.
|
|
6660
6777
|
# Corresponds to the JSON property `resourceManagerTags`
|
|
6661
6778
|
# @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
|
|
6662
6779
|
attr_accessor :resource_manager_tags
|
|
@@ -6937,11 +7054,10 @@ module Google
|
|
|
6937
7054
|
# @return [Google::Apis::ContainerV1beta1::Status]
|
|
6938
7055
|
attr_accessor :error
|
|
6939
7056
|
|
|
6940
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
6941
|
-
#
|
|
6942
|
-
# available)
|
|
6943
|
-
#
|
|
6944
|
-
# resides.
|
|
7057
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
7058
|
+
# com/compute/docs/regions-zones/regions-zones#available) or [region](https://
|
|
7059
|
+
# cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
|
|
7060
|
+
# the cluster resides.
|
|
6945
7061
|
# Corresponds to the JSON property `location`
|
|
6946
7062
|
# @return [String]
|
|
6947
7063
|
attr_accessor :location
|
|
@@ -7003,9 +7119,9 @@ module Google
|
|
|
7003
7119
|
# @return [String]
|
|
7004
7120
|
attr_accessor :target_link
|
|
7005
7121
|
|
|
7006
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
7007
|
-
#
|
|
7008
|
-
#
|
|
7122
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
7123
|
+
# com/compute/docs/zones#available) in which the operation is taking place. This
|
|
7124
|
+
# field is deprecated, use location instead.
|
|
7009
7125
|
# Corresponds to the JSON property `zone`
|
|
7010
7126
|
# @return [String]
|
|
7011
7127
|
attr_accessor :zone
|
|
@@ -7201,8 +7317,8 @@ module Google
|
|
|
7201
7317
|
# @return [String]
|
|
7202
7318
|
attr_accessor :policy_name
|
|
7203
7319
|
|
|
7204
|
-
# TPU placement topology for pod slice node pool. https
|
|
7205
|
-
#
|
|
7320
|
+
# TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/
|
|
7321
|
+
# docs/types-topologies#tpu_topologies
|
|
7206
7322
|
# Corresponds to the JSON property `tpuTopology`
|
|
7207
7323
|
# @return [String]
|
|
7208
7324
|
attr_accessor :tpu_topology
|
|
@@ -7773,9 +7889,9 @@ module Google
|
|
|
7773
7889
|
end
|
|
7774
7890
|
end
|
|
7775
7891
|
|
|
7776
|
-
# [ReservationAffinity](https
|
|
7777
|
-
#
|
|
7778
|
-
#
|
|
7892
|
+
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
|
7893
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
|
7894
|
+
# instances could take capacity from.
|
|
7779
7895
|
class ReservationAffinity
|
|
7780
7896
|
include Google::Apis::Core::Hashable
|
|
7781
7897
|
|
|
@@ -7808,8 +7924,8 @@ module Google
|
|
|
7808
7924
|
end
|
|
7809
7925
|
end
|
|
7810
7926
|
|
|
7811
|
-
# Collection of [Resource Manager labels](https
|
|
7812
|
-
#
|
|
7927
|
+
# Collection of [Resource Manager labels](https://cloud.google.com/resource-
|
|
7928
|
+
# manager/docs/creating-managing-labels).
|
|
7813
7929
|
class ResourceLabels
|
|
7814
7930
|
include Google::Apis::Core::Hashable
|
|
7815
7931
|
|
|
@@ -7862,10 +7978,9 @@ module Google
|
|
|
7862
7978
|
|
|
7863
7979
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
7864
7980
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
7865
|
-
# be according to specifications in https
|
|
7866
|
-
#
|
|
7867
|
-
#
|
|
7868
|
-
# replaced with new values.
|
|
7981
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
7982
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
7983
|
+
# specified. Existing tags will be replaced with new values.
|
|
7869
7984
|
class ResourceManagerTags
|
|
7870
7985
|
include Google::Apis::Core::Hashable
|
|
7871
7986
|
|
|
@@ -7945,9 +8060,8 @@ module Google
|
|
|
7945
8060
|
attr_accessor :node_pool_id
|
|
7946
8061
|
|
|
7947
8062
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
7948
|
-
#
|
|
7949
|
-
#
|
|
7950
|
-
# the name field.
|
|
8063
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8064
|
+
# field has been deprecated and replaced by the name field.
|
|
7951
8065
|
# Corresponds to the JSON property `projectId`
|
|
7952
8066
|
# @return [String]
|
|
7953
8067
|
attr_accessor :project_id
|
|
@@ -7958,10 +8072,9 @@ module Google
|
|
|
7958
8072
|
attr_accessor :respect_pdb
|
|
7959
8073
|
alias_method :respect_pdb?, :respect_pdb
|
|
7960
8074
|
|
|
7961
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
7962
|
-
#
|
|
7963
|
-
#
|
|
7964
|
-
# field.
|
|
8075
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8076
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8077
|
+
# been deprecated and replaced by the name field.
|
|
7965
8078
|
# Corresponds to the JSON property `zone`
|
|
7966
8079
|
# @return [String]
|
|
7967
8080
|
attr_accessor :zone
|
|
@@ -8099,6 +8212,32 @@ module Google
|
|
|
8099
8212
|
end
|
|
8100
8213
|
end
|
|
8101
8214
|
|
|
8215
|
+
# Configuration for sync Secret Manager secrets as k8s secrets.
|
|
8216
|
+
class SecretSyncConfig
|
|
8217
|
+
include Google::Apis::Core::Hashable
|
|
8218
|
+
|
|
8219
|
+
# Enable/Disable Secret Sync Config.
|
|
8220
|
+
# Corresponds to the JSON property `enabled`
|
|
8221
|
+
# @return [Boolean]
|
|
8222
|
+
attr_accessor :enabled
|
|
8223
|
+
alias_method :enabled?, :enabled
|
|
8224
|
+
|
|
8225
|
+
# SyncRotationConfig is config for secret manager auto rotation.
|
|
8226
|
+
# Corresponds to the JSON property `rotationConfig`
|
|
8227
|
+
# @return [Google::Apis::ContainerV1beta1::SyncRotationConfig]
|
|
8228
|
+
attr_accessor :rotation_config
|
|
8229
|
+
|
|
8230
|
+
def initialize(**args)
|
|
8231
|
+
update!(**args)
|
|
8232
|
+
end
|
|
8233
|
+
|
|
8234
|
+
# Update properties of this object
|
|
8235
|
+
def update!(**args)
|
|
8236
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
8237
|
+
@rotation_config = args[:rotation_config] if args.key?(:rotation_config)
|
|
8238
|
+
end
|
|
8239
|
+
end
|
|
8240
|
+
|
|
8102
8241
|
# SecurityBulletinEvent is a notification sent to customers when a security
|
|
8103
8242
|
# bulletin has been posted that they are vulnerable to.
|
|
8104
8243
|
class SecurityBulletinEvent
|
|
@@ -8312,17 +8451,15 @@ module Google
|
|
|
8312
8451
|
attr_accessor :name
|
|
8313
8452
|
|
|
8314
8453
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8315
|
-
#
|
|
8316
|
-
#
|
|
8317
|
-
# the name field.
|
|
8454
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8455
|
+
# field has been deprecated and replaced by the name field.
|
|
8318
8456
|
# Corresponds to the JSON property `projectId`
|
|
8319
8457
|
# @return [String]
|
|
8320
8458
|
attr_accessor :project_id
|
|
8321
8459
|
|
|
8322
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8323
|
-
#
|
|
8324
|
-
#
|
|
8325
|
-
# field.
|
|
8460
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8461
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8462
|
+
# been deprecated and replaced by the name field.
|
|
8326
8463
|
# Corresponds to the JSON property `zone`
|
|
8327
8464
|
# @return [String]
|
|
8328
8465
|
attr_accessor :zone
|
|
@@ -8369,9 +8506,8 @@ module Google
|
|
|
8369
8506
|
attr_accessor :name
|
|
8370
8507
|
|
|
8371
8508
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8372
|
-
#
|
|
8373
|
-
#
|
|
8374
|
-
# the name field.
|
|
8509
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8510
|
+
# field has been deprecated and replaced by the name field.
|
|
8375
8511
|
# Corresponds to the JSON property `projectId`
|
|
8376
8512
|
# @return [String]
|
|
8377
8513
|
attr_accessor :project_id
|
|
@@ -8381,10 +8517,9 @@ module Google
|
|
|
8381
8517
|
# @return [Hash<String,String>]
|
|
8382
8518
|
attr_accessor :resource_labels
|
|
8383
8519
|
|
|
8384
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8385
|
-
#
|
|
8386
|
-
#
|
|
8387
|
-
# field.
|
|
8520
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8521
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8522
|
+
# been deprecated and replaced by the name field.
|
|
8388
8523
|
# Corresponds to the JSON property `zone`
|
|
8389
8524
|
# @return [String]
|
|
8390
8525
|
attr_accessor :zone
|
|
@@ -8428,17 +8563,15 @@ module Google
|
|
|
8428
8563
|
attr_accessor :name
|
|
8429
8564
|
|
|
8430
8565
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8431
|
-
#
|
|
8432
|
-
#
|
|
8433
|
-
# the name field.
|
|
8566
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8567
|
+
# field has been deprecated and replaced by the name field.
|
|
8434
8568
|
# Corresponds to the JSON property `projectId`
|
|
8435
8569
|
# @return [String]
|
|
8436
8570
|
attr_accessor :project_id
|
|
8437
8571
|
|
|
8438
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8439
|
-
#
|
|
8440
|
-
#
|
|
8441
|
-
# field.
|
|
8572
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8573
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8574
|
+
# been deprecated and replaced by the name field.
|
|
8442
8575
|
# Corresponds to the JSON property `zone`
|
|
8443
8576
|
# @return [String]
|
|
8444
8577
|
attr_accessor :zone
|
|
@@ -8467,12 +8600,12 @@ module Google
|
|
|
8467
8600
|
# @return [String]
|
|
8468
8601
|
attr_accessor :cluster_id
|
|
8469
8602
|
|
|
8470
|
-
# Required. The desired list of Google Compute Engine [zones](https
|
|
8471
|
-
#
|
|
8472
|
-
#
|
|
8473
|
-
#
|
|
8474
|
-
#
|
|
8475
|
-
#
|
|
8603
|
+
# Required. The desired list of Google Compute Engine [zones](https://cloud.
|
|
8604
|
+
# google.com/compute/docs/zones#available) in which the cluster's nodes should
|
|
8605
|
+
# be located. Changing the locations a cluster is in will result in nodes being
|
|
8606
|
+
# either created or removed from the cluster, depending on whether locations are
|
|
8607
|
+
# being added or removed. This list must always include the cluster's primary
|
|
8608
|
+
# zone.
|
|
8476
8609
|
# Corresponds to the JSON property `locations`
|
|
8477
8610
|
# @return [Array<String>]
|
|
8478
8611
|
attr_accessor :locations
|
|
@@ -8484,17 +8617,15 @@ module Google
|
|
|
8484
8617
|
attr_accessor :name
|
|
8485
8618
|
|
|
8486
8619
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8487
|
-
#
|
|
8488
|
-
#
|
|
8489
|
-
# the name field.
|
|
8620
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8621
|
+
# field has been deprecated and replaced by the name field.
|
|
8490
8622
|
# Corresponds to the JSON property `projectId`
|
|
8491
8623
|
# @return [String]
|
|
8492
8624
|
attr_accessor :project_id
|
|
8493
8625
|
|
|
8494
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8495
|
-
#
|
|
8496
|
-
#
|
|
8497
|
-
# field.
|
|
8626
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8627
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8628
|
+
# been deprecated and replaced by the name field.
|
|
8498
8629
|
# Corresponds to the JSON property `zone`
|
|
8499
8630
|
# @return [String]
|
|
8500
8631
|
attr_accessor :zone
|
|
@@ -8541,17 +8672,15 @@ module Google
|
|
|
8541
8672
|
attr_accessor :name
|
|
8542
8673
|
|
|
8543
8674
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8544
|
-
#
|
|
8545
|
-
#
|
|
8546
|
-
# the name field.
|
|
8675
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8676
|
+
# field has been deprecated and replaced by the name field.
|
|
8547
8677
|
# Corresponds to the JSON property `projectId`
|
|
8548
8678
|
# @return [String]
|
|
8549
8679
|
attr_accessor :project_id
|
|
8550
8680
|
|
|
8551
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8552
|
-
#
|
|
8553
|
-
#
|
|
8554
|
-
# field.
|
|
8681
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8682
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8683
|
+
# been deprecated and replaced by the name field.
|
|
8555
8684
|
# Corresponds to the JSON property `zone`
|
|
8556
8685
|
# @return [String]
|
|
8557
8686
|
attr_accessor :zone
|
|
@@ -8591,15 +8720,13 @@ module Google
|
|
|
8591
8720
|
attr_accessor :name
|
|
8592
8721
|
|
|
8593
8722
|
# Required. The Google Developers Console [project ID or project number](https://
|
|
8594
|
-
#
|
|
8595
|
-
# creating-managing-projects).
|
|
8723
|
+
# cloud.google.com/resource-manager/docs/creating-managing-projects).
|
|
8596
8724
|
# Corresponds to the JSON property `projectId`
|
|
8597
8725
|
# @return [String]
|
|
8598
8726
|
attr_accessor :project_id
|
|
8599
8727
|
|
|
8600
|
-
# Required. The name of the Google Compute Engine [zone](https
|
|
8601
|
-
#
|
|
8602
|
-
# the cluster resides.
|
|
8728
|
+
# Required. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8729
|
+
# com/compute/docs/zones#available) in which the cluster resides.
|
|
8603
8730
|
# Corresponds to the JSON property `zone`
|
|
8604
8731
|
# @return [String]
|
|
8605
8732
|
attr_accessor :zone
|
|
@@ -8640,9 +8767,8 @@ module Google
|
|
|
8640
8767
|
attr_accessor :name
|
|
8641
8768
|
|
|
8642
8769
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8643
|
-
#
|
|
8644
|
-
#
|
|
8645
|
-
# the name field.
|
|
8770
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8771
|
+
# field has been deprecated and replaced by the name field.
|
|
8646
8772
|
# Corresponds to the JSON property `projectId`
|
|
8647
8773
|
# @return [String]
|
|
8648
8774
|
attr_accessor :project_id
|
|
@@ -8653,10 +8779,9 @@ module Google
|
|
|
8653
8779
|
# @return [Google::Apis::ContainerV1beta1::MasterAuth]
|
|
8654
8780
|
attr_accessor :update
|
|
8655
8781
|
|
|
8656
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8657
|
-
#
|
|
8658
|
-
#
|
|
8659
|
-
# field.
|
|
8782
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8783
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8784
|
+
# been deprecated and replaced by the name field.
|
|
8660
8785
|
# Corresponds to the JSON property `zone`
|
|
8661
8786
|
# @return [String]
|
|
8662
8787
|
attr_accessor :zone
|
|
@@ -8704,17 +8829,15 @@ module Google
|
|
|
8704
8829
|
attr_accessor :name
|
|
8705
8830
|
|
|
8706
8831
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8707
|
-
#
|
|
8708
|
-
#
|
|
8709
|
-
# the name field.
|
|
8832
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8833
|
+
# field has been deprecated and replaced by the name field.
|
|
8710
8834
|
# Corresponds to the JSON property `projectId`
|
|
8711
8835
|
# @return [String]
|
|
8712
8836
|
attr_accessor :project_id
|
|
8713
8837
|
|
|
8714
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8715
|
-
#
|
|
8716
|
-
#
|
|
8717
|
-
# field.
|
|
8838
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8839
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8840
|
+
# been deprecated and replaced by the name field.
|
|
8718
8841
|
# Corresponds to the JSON property `zone`
|
|
8719
8842
|
# @return [String]
|
|
8720
8843
|
attr_accessor :zone
|
|
@@ -8756,17 +8879,15 @@ module Google
|
|
|
8756
8879
|
attr_accessor :network_policy
|
|
8757
8880
|
|
|
8758
8881
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8759
|
-
#
|
|
8760
|
-
#
|
|
8761
|
-
# the name field.
|
|
8882
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8883
|
+
# field has been deprecated and replaced by the name field.
|
|
8762
8884
|
# Corresponds to the JSON property `projectId`
|
|
8763
8885
|
# @return [String]
|
|
8764
8886
|
attr_accessor :project_id
|
|
8765
8887
|
|
|
8766
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8767
|
-
#
|
|
8768
|
-
#
|
|
8769
|
-
# field.
|
|
8888
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8889
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8890
|
+
# been deprecated and replaced by the name field.
|
|
8770
8891
|
# Corresponds to the JSON property `zone`
|
|
8771
8892
|
# @return [String]
|
|
8772
8893
|
attr_accessor :zone
|
|
@@ -8815,17 +8936,15 @@ module Google
|
|
|
8815
8936
|
attr_accessor :node_pool_id
|
|
8816
8937
|
|
|
8817
8938
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8818
|
-
#
|
|
8819
|
-
#
|
|
8820
|
-
# the name field.
|
|
8939
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8940
|
+
# field has been deprecated and replaced by the name field.
|
|
8821
8941
|
# Corresponds to the JSON property `projectId`
|
|
8822
8942
|
# @return [String]
|
|
8823
8943
|
attr_accessor :project_id
|
|
8824
8944
|
|
|
8825
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8826
|
-
#
|
|
8827
|
-
#
|
|
8828
|
-
# field.
|
|
8945
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8946
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8947
|
+
# been deprecated and replaced by the name field.
|
|
8829
8948
|
# Corresponds to the JSON property `zone`
|
|
8830
8949
|
# @return [String]
|
|
8831
8950
|
attr_accessor :zone
|
|
@@ -8876,17 +8995,15 @@ module Google
|
|
|
8876
8995
|
attr_accessor :node_pool_id
|
|
8877
8996
|
|
|
8878
8997
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8879
|
-
#
|
|
8880
|
-
#
|
|
8881
|
-
# the name field.
|
|
8998
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8999
|
+
# field has been deprecated and replaced by the name field.
|
|
8882
9000
|
# Corresponds to the JSON property `projectId`
|
|
8883
9001
|
# @return [String]
|
|
8884
9002
|
attr_accessor :project_id
|
|
8885
9003
|
|
|
8886
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8887
|
-
#
|
|
8888
|
-
#
|
|
8889
|
-
# field.
|
|
9004
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9005
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9006
|
+
# been deprecated and replaced by the name field.
|
|
8890
9007
|
# Corresponds to the JSON property `zone`
|
|
8891
9008
|
# @return [String]
|
|
8892
9009
|
attr_accessor :zone
|
|
@@ -8934,17 +9051,15 @@ module Google
|
|
|
8934
9051
|
attr_accessor :node_pool_id
|
|
8935
9052
|
|
|
8936
9053
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8937
|
-
#
|
|
8938
|
-
#
|
|
8939
|
-
# the name field.
|
|
9054
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9055
|
+
# field has been deprecated and replaced by the name field.
|
|
8940
9056
|
# Corresponds to the JSON property `projectId`
|
|
8941
9057
|
# @return [String]
|
|
8942
9058
|
attr_accessor :project_id
|
|
8943
9059
|
|
|
8944
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8945
|
-
#
|
|
8946
|
-
#
|
|
8947
|
-
# field.
|
|
9060
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9061
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9062
|
+
# been deprecated and replaced by the name field.
|
|
8948
9063
|
# Corresponds to the JSON property `zone`
|
|
8949
9064
|
# @return [String]
|
|
8950
9065
|
attr_accessor :zone
|
|
@@ -9096,9 +9211,8 @@ module Google
|
|
|
9096
9211
|
attr_accessor :name
|
|
9097
9212
|
|
|
9098
9213
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
9099
|
-
#
|
|
9100
|
-
#
|
|
9101
|
-
# the name field.
|
|
9214
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9215
|
+
# field has been deprecated and replaced by the name field.
|
|
9102
9216
|
# Corresponds to the JSON property `projectId`
|
|
9103
9217
|
# @return [String]
|
|
9104
9218
|
attr_accessor :project_id
|
|
@@ -9109,10 +9223,9 @@ module Google
|
|
|
9109
9223
|
attr_accessor :rotate_credentials
|
|
9110
9224
|
alias_method :rotate_credentials?, :rotate_credentials
|
|
9111
9225
|
|
|
9112
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
9113
|
-
#
|
|
9114
|
-
#
|
|
9115
|
-
# field.
|
|
9226
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9227
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9228
|
+
# been deprecated and replaced by the name field.
|
|
9116
9229
|
# Corresponds to the JSON property `zone`
|
|
9117
9230
|
# @return [String]
|
|
9118
9231
|
attr_accessor :zone
|
|
@@ -9223,6 +9336,77 @@ module Google
|
|
|
9223
9336
|
end
|
|
9224
9337
|
end
|
|
9225
9338
|
|
|
9339
|
+
# Configuration for swap memory on a node pool.
|
|
9340
|
+
class SwapConfig
|
|
9341
|
+
include Google::Apis::Core::Hashable
|
|
9342
|
+
|
|
9343
|
+
# Swap on the node's boot disk.
|
|
9344
|
+
# Corresponds to the JSON property `bootDiskProfile`
|
|
9345
|
+
# @return [Google::Apis::ContainerV1beta1::BootDiskProfile]
|
|
9346
|
+
attr_accessor :boot_disk_profile
|
|
9347
|
+
|
|
9348
|
+
# Provisions a new, separate local NVMe SSD exclusively for swap.
|
|
9349
|
+
# Corresponds to the JSON property `dedicatedLocalSsdProfile`
|
|
9350
|
+
# @return [Google::Apis::ContainerV1beta1::DedicatedLocalSsdProfile]
|
|
9351
|
+
attr_accessor :dedicated_local_ssd_profile
|
|
9352
|
+
|
|
9353
|
+
# Optional. Enables or disables swap for the node pool.
|
|
9354
|
+
# Corresponds to the JSON property `enabled`
|
|
9355
|
+
# @return [Boolean]
|
|
9356
|
+
attr_accessor :enabled
|
|
9357
|
+
alias_method :enabled?, :enabled
|
|
9358
|
+
|
|
9359
|
+
# Defines encryption settings for the swap space.
|
|
9360
|
+
# Corresponds to the JSON property `encryptionConfig`
|
|
9361
|
+
# @return [Google::Apis::ContainerV1beta1::EncryptionConfig]
|
|
9362
|
+
attr_accessor :encryption_config
|
|
9363
|
+
|
|
9364
|
+
# Swap on the local SSD shared with pod ephemeral storage.
|
|
9365
|
+
# Corresponds to the JSON property `ephemeralLocalSsdProfile`
|
|
9366
|
+
# @return [Google::Apis::ContainerV1beta1::EphemeralLocalSsdProfile]
|
|
9367
|
+
attr_accessor :ephemeral_local_ssd_profile
|
|
9368
|
+
|
|
9369
|
+
def initialize(**args)
|
|
9370
|
+
update!(**args)
|
|
9371
|
+
end
|
|
9372
|
+
|
|
9373
|
+
# Update properties of this object
|
|
9374
|
+
def update!(**args)
|
|
9375
|
+
@boot_disk_profile = args[:boot_disk_profile] if args.key?(:boot_disk_profile)
|
|
9376
|
+
@dedicated_local_ssd_profile = args[:dedicated_local_ssd_profile] if args.key?(:dedicated_local_ssd_profile)
|
|
9377
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
9378
|
+
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
|
9379
|
+
@ephemeral_local_ssd_profile = args[:ephemeral_local_ssd_profile] if args.key?(:ephemeral_local_ssd_profile)
|
|
9380
|
+
end
|
|
9381
|
+
end
|
|
9382
|
+
|
|
9383
|
+
# SyncRotationConfig is config for secret manager auto rotation.
|
|
9384
|
+
class SyncRotationConfig
|
|
9385
|
+
include Google::Apis::Core::Hashable
|
|
9386
|
+
|
|
9387
|
+
# Whether the rotation is enabled.
|
|
9388
|
+
# Corresponds to the JSON property `enabled`
|
|
9389
|
+
# @return [Boolean]
|
|
9390
|
+
attr_accessor :enabled
|
|
9391
|
+
alias_method :enabled?, :enabled
|
|
9392
|
+
|
|
9393
|
+
# The interval between two consecutive rotations. Default rotation interval is 2
|
|
9394
|
+
# minutes.
|
|
9395
|
+
# Corresponds to the JSON property `rotationInterval`
|
|
9396
|
+
# @return [String]
|
|
9397
|
+
attr_accessor :rotation_interval
|
|
9398
|
+
|
|
9399
|
+
def initialize(**args)
|
|
9400
|
+
update!(**args)
|
|
9401
|
+
end
|
|
9402
|
+
|
|
9403
|
+
# Update properties of this object
|
|
9404
|
+
def update!(**args)
|
|
9405
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
9406
|
+
@rotation_interval = args[:rotation_interval] if args.key?(:rotation_interval)
|
|
9407
|
+
end
|
|
9408
|
+
end
|
|
9409
|
+
|
|
9226
9410
|
# Represents an arbitrary window of time.
|
|
9227
9411
|
class TimeWindow
|
|
9228
9412
|
include Google::Apis::Core::Hashable
|
|
@@ -9348,9 +9532,8 @@ module Google
|
|
|
9348
9532
|
attr_accessor :name
|
|
9349
9533
|
|
|
9350
9534
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
9351
|
-
#
|
|
9352
|
-
#
|
|
9353
|
-
# the name field.
|
|
9535
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9536
|
+
# field has been deprecated and replaced by the name field.
|
|
9354
9537
|
# Corresponds to the JSON property `projectId`
|
|
9355
9538
|
# @return [String]
|
|
9356
9539
|
attr_accessor :project_id
|
|
@@ -9361,10 +9544,9 @@ module Google
|
|
|
9361
9544
|
# @return [Google::Apis::ContainerV1beta1::ClusterUpdate]
|
|
9362
9545
|
attr_accessor :update
|
|
9363
9546
|
|
|
9364
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
9365
|
-
#
|
|
9366
|
-
#
|
|
9367
|
-
# field.
|
|
9547
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9548
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9549
|
+
# been deprecated and replaced by the name field.
|
|
9368
9550
|
# Corresponds to the JSON property `zone`
|
|
9369
9551
|
# @return [String]
|
|
9370
9552
|
attr_accessor :zone
|
|
@@ -9431,17 +9613,15 @@ module Google
|
|
|
9431
9613
|
attr_accessor :name
|
|
9432
9614
|
|
|
9433
9615
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
9434
|
-
#
|
|
9435
|
-
#
|
|
9436
|
-
# the name field.
|
|
9616
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9617
|
+
# field has been deprecated and replaced by the name field.
|
|
9437
9618
|
# Corresponds to the JSON property `projectId`
|
|
9438
9619
|
# @return [String]
|
|
9439
9620
|
attr_accessor :project_id
|
|
9440
9621
|
|
|
9441
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
9442
|
-
#
|
|
9443
|
-
#
|
|
9444
|
-
# field.
|
|
9622
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9623
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9624
|
+
# been deprecated and replaced by the name field.
|
|
9445
9625
|
# Corresponds to the JSON property `zone`
|
|
9446
9626
|
# @return [String]
|
|
9447
9627
|
attr_accessor :zone
|
|
@@ -9464,9 +9644,8 @@ module Google
|
|
|
9464
9644
|
class UpdateNodePoolRequest
|
|
9465
9645
|
include Google::Apis::Core::Hashable
|
|
9466
9646
|
|
|
9467
|
-
# A list of hardware accelerators to be attached to each node. See https
|
|
9468
|
-
#
|
|
9469
|
-
# information about support for GPUs.
|
|
9647
|
+
# A list of hardware accelerators to be attached to each node. See https://cloud.
|
|
9648
|
+
# google.com/compute/docs/gpus for more information about support for GPUs.
|
|
9470
9649
|
# Corresponds to the JSON property `accelerators`
|
|
9471
9650
|
# @return [Array<Google::Apis::ContainerV1beta1::AcceleratorConfig>]
|
|
9472
9651
|
attr_accessor :accelerators
|
|
@@ -9535,9 +9714,9 @@ module Google
|
|
|
9535
9714
|
# @return [Google::Apis::ContainerV1beta1::VirtualNic]
|
|
9536
9715
|
attr_accessor :gvnic
|
|
9537
9716
|
|
|
9538
|
-
# Required. The desired image type for the node pool. Please see https
|
|
9539
|
-
#
|
|
9540
|
-
#
|
|
9717
|
+
# Required. The desired image type for the node pool. Please see https://cloud.
|
|
9718
|
+
# google.com/kubernetes-engine/docs/concepts/node-images for available image
|
|
9719
|
+
# types.
|
|
9541
9720
|
# Corresponds to the JSON property `imageType`
|
|
9542
9721
|
# @return [String]
|
|
9543
9722
|
attr_accessor :image_type
|
|
@@ -9558,11 +9737,17 @@ module Google
|
|
|
9558
9737
|
# @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
|
|
9559
9738
|
attr_accessor :linux_node_config
|
|
9560
9739
|
|
|
9561
|
-
# The desired list of Google Compute Engine [zones](https
|
|
9562
|
-
#
|
|
9563
|
-
#
|
|
9564
|
-
#
|
|
9565
|
-
#
|
|
9740
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
|
9741
|
+
# compute/docs/zones#available) in which the node pool's nodes should be located.
|
|
9742
|
+
# Changing the locations for a node pool will result in nodes being either
|
|
9743
|
+
# created or removed from the node pool, depending on whether locations are
|
|
9744
|
+
# being added or removed. Warning: It is recommended to update node pool
|
|
9745
|
+
# locations in a standalone API call. Do not combine a location update with
|
|
9746
|
+
# changes to other fields (such as `tags`, `labels`, `taints`, etc.) in the same
|
|
9747
|
+
# request. Otherwise, the API performs a structural modification where changes
|
|
9748
|
+
# to other fields will only apply to newly created nodes and will not be applied
|
|
9749
|
+
# to existing nodes in the node pool. To ensure all nodes are updated
|
|
9750
|
+
# consistently, use a separate API call for location changes.
|
|
9566
9751
|
# Corresponds to the JSON property `locations`
|
|
9567
9752
|
# @return [Array<String>]
|
|
9568
9753
|
attr_accessor :locations
|
|
@@ -9614,9 +9799,8 @@ module Google
|
|
|
9614
9799
|
attr_accessor :node_version
|
|
9615
9800
|
|
|
9616
9801
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
9617
|
-
#
|
|
9618
|
-
#
|
|
9619
|
-
# the name field.
|
|
9802
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9803
|
+
# field has been deprecated and replaced by the name field.
|
|
9620
9804
|
# Corresponds to the JSON property `projectId`
|
|
9621
9805
|
# @return [String]
|
|
9622
9806
|
attr_accessor :project_id
|
|
@@ -9626,18 +9810,17 @@ module Google
|
|
|
9626
9810
|
# @return [Google::Apis::ContainerV1beta1::QueuedProvisioning]
|
|
9627
9811
|
attr_accessor :queued_provisioning
|
|
9628
9812
|
|
|
9629
|
-
# Collection of [Resource Manager labels](https
|
|
9630
|
-
#
|
|
9813
|
+
# Collection of [Resource Manager labels](https://cloud.google.com/resource-
|
|
9814
|
+
# manager/docs/creating-managing-labels).
|
|
9631
9815
|
# Corresponds to the JSON property `resourceLabels`
|
|
9632
9816
|
# @return [Google::Apis::ContainerV1beta1::ResourceLabels]
|
|
9633
9817
|
attr_accessor :resource_labels
|
|
9634
9818
|
|
|
9635
9819
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
9636
9820
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
9637
|
-
# be according to specifications in https
|
|
9638
|
-
#
|
|
9639
|
-
#
|
|
9640
|
-
# replaced with new values.
|
|
9821
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
9822
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
9823
|
+
# specified. Existing tags will be replaced with new values.
|
|
9641
9824
|
# Corresponds to the JSON property `resourceManagerTags`
|
|
9642
9825
|
# @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
|
|
9643
9826
|
attr_accessor :resource_manager_tags
|
|
@@ -9709,10 +9892,9 @@ module Google
|
|
|
9709
9892
|
# @return [Google::Apis::ContainerV1beta1::WorkloadMetadataConfig]
|
|
9710
9893
|
attr_accessor :workload_metadata_config
|
|
9711
9894
|
|
|
9712
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
9713
|
-
#
|
|
9714
|
-
#
|
|
9715
|
-
# field.
|
|
9895
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9896
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9897
|
+
# been deprecated and replaced by the name field.
|
|
9716
9898
|
# Corresponds to the JSON property `zone`
|
|
9717
9899
|
# @return [String]
|
|
9718
9900
|
attr_accessor :zone
|
|
@@ -9864,6 +10046,11 @@ module Google
|
|
|
9864
10046
|
class UpgradeEvent
|
|
9865
10047
|
include Google::Apis::Core::Hashable
|
|
9866
10048
|
|
|
10049
|
+
# The current emulated version before the upgrade.
|
|
10050
|
+
# Corresponds to the JSON property `currentEmulatedVersion`
|
|
10051
|
+
# @return [String]
|
|
10052
|
+
attr_accessor :current_emulated_version
|
|
10053
|
+
|
|
9867
10054
|
# The current version before the upgrade.
|
|
9868
10055
|
# Corresponds to the JSON property `currentVersion`
|
|
9869
10056
|
# @return [String]
|
|
@@ -9890,6 +10077,11 @@ module Google
|
|
|
9890
10077
|
# @return [String]
|
|
9891
10078
|
attr_accessor :resource_type
|
|
9892
10079
|
|
|
10080
|
+
# The target emulated version for the upgrade.
|
|
10081
|
+
# Corresponds to the JSON property `targetEmulatedVersion`
|
|
10082
|
+
# @return [String]
|
|
10083
|
+
attr_accessor :target_emulated_version
|
|
10084
|
+
|
|
9893
10085
|
# The target version for the upgrade.
|
|
9894
10086
|
# Corresponds to the JSON property `targetVersion`
|
|
9895
10087
|
# @return [String]
|
|
@@ -9901,11 +10093,13 @@ module Google
|
|
|
9901
10093
|
|
|
9902
10094
|
# Update properties of this object
|
|
9903
10095
|
def update!(**args)
|
|
10096
|
+
@current_emulated_version = args[:current_emulated_version] if args.key?(:current_emulated_version)
|
|
9904
10097
|
@current_version = args[:current_version] if args.key?(:current_version)
|
|
9905
10098
|
@operation = args[:operation] if args.key?(:operation)
|
|
9906
10099
|
@operation_start_time = args[:operation_start_time] if args.key?(:operation_start_time)
|
|
9907
10100
|
@resource = args[:resource] if args.key?(:resource)
|
|
9908
10101
|
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
|
10102
|
+
@target_emulated_version = args[:target_emulated_version] if args.key?(:target_emulated_version)
|
|
9909
10103
|
@target_version = args[:target_version] if args.key?(:target_version)
|
|
9910
10104
|
end
|
|
9911
10105
|
end
|
|
@@ -9915,6 +10109,11 @@ module Google
|
|
|
9915
10109
|
class UpgradeInfoEvent
|
|
9916
10110
|
include Google::Apis::Core::Hashable
|
|
9917
10111
|
|
|
10112
|
+
# The current emulated version before the upgrade.
|
|
10113
|
+
# Corresponds to the JSON property `currentEmulatedVersion`
|
|
10114
|
+
# @return [String]
|
|
10115
|
+
attr_accessor :current_emulated_version
|
|
10116
|
+
|
|
9918
10117
|
# The current version before the upgrade.
|
|
9919
10118
|
# Corresponds to the JSON property `currentVersion`
|
|
9920
10119
|
# @return [String]
|
|
@@ -9971,6 +10170,11 @@ module Google
|
|
|
9971
10170
|
# @return [String]
|
|
9972
10171
|
attr_accessor :state
|
|
9973
10172
|
|
|
10173
|
+
# The target emulated version for the upgrade.
|
|
10174
|
+
# Corresponds to the JSON property `targetEmulatedVersion`
|
|
10175
|
+
# @return [String]
|
|
10176
|
+
attr_accessor :target_emulated_version
|
|
10177
|
+
|
|
9974
10178
|
# The target version for the upgrade.
|
|
9975
10179
|
# Corresponds to the JSON property `targetVersion`
|
|
9976
10180
|
# @return [String]
|
|
@@ -9982,6 +10186,7 @@ module Google
|
|
|
9982
10186
|
|
|
9983
10187
|
# Update properties of this object
|
|
9984
10188
|
def update!(**args)
|
|
10189
|
+
@current_emulated_version = args[:current_emulated_version] if args.key?(:current_emulated_version)
|
|
9985
10190
|
@current_version = args[:current_version] if args.key?(:current_version)
|
|
9986
10191
|
@description = args[:description] if args.key?(:description)
|
|
9987
10192
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
@@ -9993,6 +10198,7 @@ module Google
|
|
|
9993
10198
|
@standard_support_end_time = args[:standard_support_end_time] if args.key?(:standard_support_end_time)
|
|
9994
10199
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
9995
10200
|
@state = args[:state] if args.key?(:state)
|
|
10201
|
+
@target_emulated_version = args[:target_emulated_version] if args.key?(:target_emulated_version)
|
|
9996
10202
|
@target_version = args[:target_version] if args.key?(:target_version)
|
|
9997
10203
|
end
|
|
9998
10204
|
end
|
|
@@ -10490,6 +10696,26 @@ module Google
|
|
|
10490
10696
|
@autopilot_compatibility_auditing_enabled = args[:autopilot_compatibility_auditing_enabled] if args.key?(:autopilot_compatibility_auditing_enabled)
|
|
10491
10697
|
end
|
|
10492
10698
|
end
|
|
10699
|
+
|
|
10700
|
+
# Defines writable cgroups configuration.
|
|
10701
|
+
class WritableCgroups
|
|
10702
|
+
include Google::Apis::Core::Hashable
|
|
10703
|
+
|
|
10704
|
+
# Optional. Whether writable cgroups is enabled.
|
|
10705
|
+
# Corresponds to the JSON property `enabled`
|
|
10706
|
+
# @return [Boolean]
|
|
10707
|
+
attr_accessor :enabled
|
|
10708
|
+
alias_method :enabled?, :enabled
|
|
10709
|
+
|
|
10710
|
+
def initialize(**args)
|
|
10711
|
+
update!(**args)
|
|
10712
|
+
end
|
|
10713
|
+
|
|
10714
|
+
# Update properties of this object
|
|
10715
|
+
def update!(**args)
|
|
10716
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
10717
|
+
end
|
|
10718
|
+
end
|
|
10493
10719
|
end
|
|
10494
10720
|
end
|
|
10495
10721
|
end
|