google-apis-container_v1 0.97.0 → 0.99.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_v1/classes.rb +510 -272
- data/lib/google/apis/container_v1/gem_version.rb +2 -2
- data/lib/google/apis/container_v1/representations.rb +71 -0
- data/lib/google/apis/container_v1/service.rb +287 -209
- 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://`$universe.dns_names.final_documentation_domain`/compute/docs/gpus)
|
36
36
|
# Corresponds to the JSON property `acceleratorType`
|
37
37
|
# @return [String]
|
38
38
|
attr_accessor :accelerator_type
|
@@ -70,6 +70,35 @@ module Google
|
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|
73
|
+
# AdditionalIPRangesConfig is the configuration for individual additional
|
74
|
+
# subnetwork attached to the cluster
|
75
|
+
class AdditionalIpRangesConfig
|
76
|
+
include Google::Apis::Core::Hashable
|
77
|
+
|
78
|
+
# List of secondary ranges names within this subnetwork that can be used for pod
|
79
|
+
# IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2
|
80
|
+
# Corresponds to the JSON property `podIpv4RangeNames`
|
81
|
+
# @return [Array<String>]
|
82
|
+
attr_accessor :pod_ipv4_range_names
|
83
|
+
|
84
|
+
# Name of the subnetwork. This can be the full path of the subnetwork or just
|
85
|
+
# the name. Example1: my-subnet Example2: projects/gke-project/regions/us-
|
86
|
+
# central1/subnetworks/my-subnet
|
87
|
+
# Corresponds to the JSON property `subnetwork`
|
88
|
+
# @return [String]
|
89
|
+
attr_accessor :subnetwork
|
90
|
+
|
91
|
+
def initialize(**args)
|
92
|
+
update!(**args)
|
93
|
+
end
|
94
|
+
|
95
|
+
# Update properties of this object
|
96
|
+
def update!(**args)
|
97
|
+
@pod_ipv4_range_names = args[:pod_ipv4_range_names] if args.key?(:pod_ipv4_range_names)
|
98
|
+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
73
102
|
# AdditionalNodeNetworkConfig is the configuration for additional node networks
|
74
103
|
# within the NodeNetworkConfig message
|
75
104
|
class AdditionalNodeNetworkConfig
|
@@ -345,12 +374,18 @@ module Google
|
|
345
374
|
class AnonymousAuthenticationConfig
|
346
375
|
include Google::Apis::Core::Hashable
|
347
376
|
|
377
|
+
# Defines the mode of limiting anonymous access in the cluster.
|
378
|
+
# Corresponds to the JSON property `mode`
|
379
|
+
# @return [String]
|
380
|
+
attr_accessor :mode
|
381
|
+
|
348
382
|
def initialize(**args)
|
349
383
|
update!(**args)
|
350
384
|
end
|
351
385
|
|
352
386
|
# Update properties of this object
|
353
387
|
def update!(**args)
|
388
|
+
@mode = args[:mode] if args.key?(:mode)
|
354
389
|
end
|
355
390
|
end
|
356
391
|
|
@@ -382,6 +417,19 @@ module Google
|
|
382
417
|
end
|
383
418
|
end
|
384
419
|
|
420
|
+
# AutoIpamConfig contains all information related to Auto IPAM
|
421
|
+
class AutoIpamConfig
|
422
|
+
include Google::Apis::Core::Hashable
|
423
|
+
|
424
|
+
def initialize(**args)
|
425
|
+
update!(**args)
|
426
|
+
end
|
427
|
+
|
428
|
+
# Update properties of this object
|
429
|
+
def update!(**args)
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
385
433
|
# AutoMonitoringConfig defines the configuration for GKE Workload Auto-
|
386
434
|
# Monitoring.
|
387
435
|
class AutoMonitoringConfig
|
@@ -536,7 +584,8 @@ module Google
|
|
536
584
|
# each node in the node pool. This should be of the form projects/[
|
537
585
|
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
538
586
|
# . For more information about protecting resources with Cloud KMS Keys please
|
539
|
-
# see: https
|
587
|
+
# see: https://`$universe.dns_names.final_documentation_domain`/compute/docs/
|
588
|
+
# disks/customer-managed-encryption
|
540
589
|
# Corresponds to the JSON property `bootDiskKmsKey`
|
541
590
|
# @return [String]
|
542
591
|
attr_accessor :boot_disk_kms_key
|
@@ -553,8 +602,9 @@ module Google
|
|
553
602
|
# @return [String]
|
554
603
|
attr_accessor :disk_type
|
555
604
|
|
556
|
-
# The image type to use for NAP created node. Please see https
|
557
|
-
#
|
605
|
+
# The image type to use for NAP created node. Please see https://`$universe.
|
606
|
+
# dns_names.final_documentation_domain`/kubernetes-engine/docs/concepts/node-
|
607
|
+
# images for available image types.
|
558
608
|
# Corresponds to the JSON property `imageType`
|
559
609
|
# @return [String]
|
560
610
|
attr_accessor :image_type
|
@@ -575,11 +625,11 @@ module Google
|
|
575
625
|
# instance may be scheduled on the specified or newer CPU platform. Applicable
|
576
626
|
# values are the friendly names of CPU platforms, such as minCpuPlatform: Intel
|
577
627
|
# Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how
|
578
|
-
# to specify min CPU platform](https
|
579
|
-
# specify-min-cpu-platform).
|
580
|
-
# be specified using `cloud.
|
581
|
-
# selector on the pod. To unset the
|
582
|
-
# field value.
|
628
|
+
# to specify min CPU platform](https://`$universe.dns_names.
|
629
|
+
# final_documentation_domain`/compute/docs/instances/specify-min-cpu-platform).
|
630
|
+
# This field is deprecated, min_cpu_platform should be specified using `cloud.
|
631
|
+
# google.com/requested-min-cpu-platform` label selector on the pod. To unset the
|
632
|
+
# min cpu platform field pass "automatic" as field value.
|
583
633
|
# Corresponds to the JSON property `minCpuPlatform`
|
584
634
|
# @return [String]
|
585
635
|
attr_accessor :min_cpu_platform
|
@@ -821,15 +871,17 @@ module Google
|
|
821
871
|
attr_accessor :operation_id
|
822
872
|
|
823
873
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
824
|
-
#
|
825
|
-
# field has been deprecated and replaced by
|
874
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
875
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
876
|
+
# the name field.
|
826
877
|
# Corresponds to the JSON property `projectId`
|
827
878
|
# @return [String]
|
828
879
|
attr_accessor :project_id
|
829
880
|
|
830
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
831
|
-
#
|
832
|
-
# has been deprecated and replaced by the name
|
881
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
882
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
883
|
+
# the operation resides. This field has been deprecated and replaced by the name
|
884
|
+
# field.
|
833
885
|
# Corresponds to the JSON property `zone`
|
834
886
|
# @return [String]
|
835
887
|
attr_accessor :zone
|
@@ -859,7 +911,8 @@ module Google
|
|
859
911
|
attr_accessor :fqdns
|
860
912
|
|
861
913
|
# GCPSecretManagerCertificateConfig configures a secret from [Google Secret
|
862
|
-
# Manager](https
|
914
|
+
# Manager](https://`$universe.dns_names.final_documentation_domain`/secret-
|
915
|
+
# manager).
|
863
916
|
# Corresponds to the JSON property `gcpSecretManagerCertificateConfig`
|
864
917
|
# @return [Google::Apis::ContainerV1::GcpSecretManagerCertificateConfig]
|
865
918
|
attr_accessor :gcp_secret_manager_certificate_config
|
@@ -1068,11 +1121,12 @@ module Google
|
|
1068
1121
|
# @return [Fixnum]
|
1069
1122
|
attr_accessor :current_node_count
|
1070
1123
|
|
1071
|
-
# Output only. Deprecated, use [NodePools.version](https
|
1072
|
-
# kubernetes-engine/docs/reference/rest/v1/projects.
|
1073
|
-
# instead. The current version of the node
|
1074
|
-
# currently at multiple versions because they'
|
1075
|
-
# upgraded, this reflects the minimum version of all
|
1124
|
+
# Output only. Deprecated, use [NodePools.version](https://`$universe.dns_names.
|
1125
|
+
# final_documentation_domain`/kubernetes-engine/docs/reference/rest/v1/projects.
|
1126
|
+
# locations.clusters.nodePools) instead. The current version of the node
|
1127
|
+
# software components. If they are currently at multiple versions because they'
|
1128
|
+
# re in the process of being upgraded, this reflects the minimum version of all
|
1129
|
+
# nodes.
|
1076
1130
|
# Corresponds to the JSON property `currentNodeVersion`
|
1077
1131
|
# @return [String]
|
1078
1132
|
attr_accessor :current_node_version
|
@@ -1146,6 +1200,11 @@ module Google
|
|
1146
1200
|
# @return [Google::Apis::ContainerV1::Fleet]
|
1147
1201
|
attr_accessor :fleet
|
1148
1202
|
|
1203
|
+
# GkeAutoUpgradeConfig is the configuration for GKE auto upgrades.
|
1204
|
+
# Corresponds to the JSON property `gkeAutoUpgradeConfig`
|
1205
|
+
# @return [Google::Apis::ContainerV1::GkeAutoUpgradeConfig]
|
1206
|
+
attr_accessor :gke_auto_upgrade_config
|
1207
|
+
|
1149
1208
|
# Output only. Unique id for the cluster.
|
1150
1209
|
# Corresponds to the JSON property `id`
|
1151
1210
|
# @return [String]
|
@@ -1171,13 +1230,14 @@ module Google
|
|
1171
1230
|
attr_accessor :initial_cluster_version
|
1172
1231
|
|
1173
1232
|
# The number of nodes to create in this cluster. You must ensure that your
|
1174
|
-
# Compute Engine [resource quota](https
|
1175
|
-
# sufficient for this number of
|
1176
|
-
#
|
1177
|
-
#
|
1178
|
-
#
|
1179
|
-
#
|
1180
|
-
# node_pool.
|
1233
|
+
# Compute Engine [resource quota](https://`$universe.dns_names.
|
1234
|
+
# final_documentation_domain`/compute/quotas) is sufficient for this number of
|
1235
|
+
# instances. You must also have available firewall and routes quota. For
|
1236
|
+
# requests, this field should only be used in lieu of a "node_pool" object,
|
1237
|
+
# since this configuration (along with the "node_config") will be used to create
|
1238
|
+
# a "NodePool" object with an auto-generated name. Do not use this and a
|
1239
|
+
# node_pool at the same time. This field is deprecated, use node_pool.
|
1240
|
+
# initial_node_count instead.
|
1181
1241
|
# Corresponds to the JSON property `initialNodeCount`
|
1182
1242
|
# @return [Fixnum]
|
1183
1243
|
attr_accessor :initial_node_count
|
@@ -1202,23 +1262,26 @@ module Google
|
|
1202
1262
|
# @return [Google::Apis::ContainerV1::LegacyAbac]
|
1203
1263
|
attr_accessor :legacy_abac
|
1204
1264
|
|
1205
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
1206
|
-
#
|
1207
|
-
#
|
1208
|
-
# the cluster
|
1265
|
+
# Output only. The name of the Google Compute Engine [zone](https://`$universe.
|
1266
|
+
# dns_names.final_documentation_domain`/compute/docs/regions-zones/regions-zones#
|
1267
|
+
# available) or [region](https://`$universe.dns_names.final_documentation_domain`
|
1268
|
+
# /compute/docs/regions-zones/regions-zones#available) in which the cluster
|
1269
|
+
# resides.
|
1209
1270
|
# Corresponds to the JSON property `location`
|
1210
1271
|
# @return [String]
|
1211
1272
|
attr_accessor :location
|
1212
1273
|
|
1213
|
-
# The list of Google Compute Engine [zones](https
|
1214
|
-
# docs/zones#available) in which the cluster'
|
1215
|
-
# field provides a default value if [NodePool.
|
1216
|
-
#
|
1217
|
-
# nodePools#NodePool.
|
1218
|
-
#
|
1219
|
-
# Locations](https
|
1220
|
-
#
|
1221
|
-
#
|
1274
|
+
# The list of Google Compute Engine [zones](https://`$universe.dns_names.
|
1275
|
+
# final_documentation_domain`/compute/docs/zones#available) in which the cluster'
|
1276
|
+
# s nodes should be located. This field provides a default value if [NodePool.
|
1277
|
+
# Locations](https://`$universe.dns_names.final_documentation_domain`/kubernetes-
|
1278
|
+
# engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.
|
1279
|
+
# FIELDS.locations) are not specified during node pool creation. Warning:
|
1280
|
+
# changing cluster locations will update the [NodePool.Locations](https://`$
|
1281
|
+
# universe.dns_names.final_documentation_domain`/kubernetes-engine/docs/
|
1282
|
+
# reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.
|
1283
|
+
# locations) of all node pools and will result in nodes being added and/or
|
1284
|
+
# removed.
|
1222
1285
|
# Corresponds to the JSON property `locations`
|
1223
1286
|
# @return [Array<String>]
|
1224
1287
|
attr_accessor :locations
|
@@ -1287,9 +1350,10 @@ module Google
|
|
1287
1350
|
# @return [String]
|
1288
1351
|
attr_accessor :name
|
1289
1352
|
|
1290
|
-
# The name of the Google Compute Engine [network](https
|
1291
|
-
# compute/docs/networks-and-firewalls#networks) to
|
1292
|
-
# connected. If left unspecified, the `default` network
|
1353
|
+
# The name of the Google Compute Engine [network](https://`$universe.dns_names.
|
1354
|
+
# final_documentation_domain`/compute/docs/networks-and-firewalls#networks) to
|
1355
|
+
# which the cluster is connected. If left unspecified, the `default` network
|
1356
|
+
# will be used.
|
1293
1357
|
# Corresponds to the JSON property `network`
|
1294
1358
|
# @return [String]
|
1295
1359
|
attr_accessor :network
|
@@ -1436,8 +1500,9 @@ module Google
|
|
1436
1500
|
# @return [String]
|
1437
1501
|
attr_accessor :status_message
|
1438
1502
|
|
1439
|
-
# The name of the Google Compute Engine [subnetwork](https
|
1440
|
-
# compute/docs/subnetworks) to which the
|
1503
|
+
# The name of the Google Compute Engine [subnetwork](https://`$universe.
|
1504
|
+
# dns_names.final_documentation_domain`/compute/docs/subnetworks) to which the
|
1505
|
+
# cluster is connected.
|
1441
1506
|
# Corresponds to the JSON property `subnetwork`
|
1442
1507
|
# @return [String]
|
1443
1508
|
attr_accessor :subnetwork
|
@@ -1468,9 +1533,9 @@ module Google
|
|
1468
1533
|
# @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
|
1469
1534
|
attr_accessor :workload_identity_config
|
1470
1535
|
|
1471
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
1472
|
-
#
|
1473
|
-
# deprecated, use location instead.
|
1536
|
+
# Output only. The name of the Google Compute Engine [zone](https://`$universe.
|
1537
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
1538
|
+
# the cluster resides. This field is deprecated, use location instead.
|
1474
1539
|
# Corresponds to the JSON property `zone`
|
1475
1540
|
# @return [String]
|
1476
1541
|
attr_accessor :zone
|
@@ -1509,6 +1574,7 @@ module Google
|
|
1509
1574
|
@etag = args[:etag] if args.key?(:etag)
|
1510
1575
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
1511
1576
|
@fleet = args[:fleet] if args.key?(:fleet)
|
1577
|
+
@gke_auto_upgrade_config = args[:gke_auto_upgrade_config] if args.key?(:gke_auto_upgrade_config)
|
1512
1578
|
@id = args[:id] if args.key?(:id)
|
1513
1579
|
@identity_service_config = args[:identity_service_config] if args.key?(:identity_service_config)
|
1514
1580
|
@initial_cluster_version = args[:initial_cluster_version] if args.key?(:initial_cluster_version)
|
@@ -1568,8 +1634,9 @@ module Google
|
|
1568
1634
|
class ClusterAutoscaling
|
1569
1635
|
include Google::Apis::Core::Hashable
|
1570
1636
|
|
1571
|
-
# The list of Google Compute Engine [zones](https
|
1572
|
-
# docs/zones#available) in which the
|
1637
|
+
# The list of Google Compute Engine [zones](https://`$universe.dns_names.
|
1638
|
+
# final_documentation_domain`/compute/docs/zones#available) in which the
|
1639
|
+
# NodePool's nodes can be created by NAP.
|
1573
1640
|
# Corresponds to the JSON property `autoprovisioningLocations`
|
1574
1641
|
# @return [Array<String>]
|
1575
1642
|
attr_accessor :autoprovisioning_locations
|
@@ -1641,6 +1708,12 @@ module Google
|
|
1641
1708
|
# @return [Google::Apis::ContainerV1::AdditionalPodRangesConfig]
|
1642
1709
|
attr_accessor :additional_pod_ranges_config
|
1643
1710
|
|
1711
|
+
# DesiredAdditionalIPRangesConfig is a wrapper used for cluster update operation
|
1712
|
+
# and contains multiple AdditionalIPRangesConfigs.
|
1713
|
+
# Corresponds to the JSON property `desiredAdditionalIpRangesConfig`
|
1714
|
+
# @return [Google::Apis::ContainerV1::DesiredAdditionalIpRangesConfig]
|
1715
|
+
attr_accessor :desired_additional_ip_ranges_config
|
1716
|
+
|
1644
1717
|
# Configuration for the addons that can be automatically spun up in the cluster,
|
1645
1718
|
# enabling additional functionality.
|
1646
1719
|
# Corresponds to the JSON property `desiredAddonsConfig`
|
@@ -1658,6 +1731,11 @@ module Google
|
|
1658
1731
|
# @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
|
1659
1732
|
attr_accessor :desired_authenticator_groups_config
|
1660
1733
|
|
1734
|
+
# AutoIpamConfig contains all information related to Auto IPAM
|
1735
|
+
# Corresponds to the JSON property `desiredAutoIpamConfig`
|
1736
|
+
# @return [Google::Apis::ContainerV1::AutoIpamConfig]
|
1737
|
+
attr_accessor :desired_auto_ipam_config
|
1738
|
+
|
1661
1739
|
# WorkloadPolicyConfig is the configuration related to GCW workload policy
|
1662
1740
|
# Corresponds to the JSON property `desiredAutopilotWorkloadPolicyConfig`
|
1663
1741
|
# @return [Google::Apis::ContainerV1::WorkloadPolicyConfig]
|
@@ -1813,11 +1891,11 @@ module Google
|
|
1813
1891
|
# @return [Google::Apis::ContainerV1::IlbSubsettingConfig]
|
1814
1892
|
attr_accessor :desired_l4ilb_subsetting_config
|
1815
1893
|
|
1816
|
-
# The desired list of Google Compute Engine [zones](https
|
1817
|
-
# compute/docs/zones#available) in which the cluster'
|
1818
|
-
# This list must always include the cluster's primary
|
1819
|
-
# cluster locations will update the locations of all
|
1820
|
-
# in nodes being added and/or removed.
|
1894
|
+
# The desired list of Google Compute Engine [zones](https://`$universe.dns_names.
|
1895
|
+
# final_documentation_domain`/compute/docs/zones#available) in which the cluster'
|
1896
|
+
# s nodes should be located. This list must always include the cluster's primary
|
1897
|
+
# zone. Warning: changing cluster locations will update the locations of all
|
1898
|
+
# node pools and will result in nodes being added and/or removed.
|
1821
1899
|
# Corresponds to the JSON property `desiredLocations`
|
1822
1900
|
# @return [Array<String>]
|
1823
1901
|
attr_accessor :desired_locations
|
@@ -1906,9 +1984,10 @@ module Google
|
|
1906
1984
|
|
1907
1985
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
1908
1986
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
1909
|
-
# be according to specifications in https
|
1910
|
-
# firewalls-overview#specifications. A
|
1911
|
-
# specified. Existing tags will be
|
1987
|
+
# be according to specifications in https://`$universe.dns_names.
|
1988
|
+
# final_documentation_domain`/vpc/docs/tags-firewalls-overview#specifications. A
|
1989
|
+
# maximum of 5 tag key-value pairs can be specified. Existing tags will be
|
1990
|
+
# replaced with new values.
|
1912
1991
|
# Corresponds to the JSON property `desiredNodePoolAutoConfigResourceManagerTags`
|
1913
1992
|
# @return [Google::Apis::ContainerV1::ResourceManagerTags]
|
1914
1993
|
attr_accessor :desired_node_pool_auto_config_resource_manager_tags
|
@@ -2017,6 +2096,12 @@ module Google
|
|
2017
2096
|
# @return [String]
|
2018
2097
|
attr_accessor :desired_stack_type
|
2019
2098
|
|
2099
|
+
# UserManagedKeysConfig holds the resource address to Keys which are used for
|
2100
|
+
# signing certs and token that are used for communication within cluster.
|
2101
|
+
# Corresponds to the JSON property `desiredUserManagedKeysConfig`
|
2102
|
+
# @return [Google::Apis::ContainerV1::UserManagedKeysConfig]
|
2103
|
+
attr_accessor :desired_user_managed_keys_config
|
2104
|
+
|
2020
2105
|
# VerticalPodAutoscaling contains global, per-cluster information required by
|
2021
2106
|
# Vertical Pod Autoscaler to automatically adjust the resources of pods
|
2022
2107
|
# controlled by it.
|
@@ -2041,6 +2126,11 @@ module Google
|
|
2041
2126
|
# @return [String]
|
2042
2127
|
attr_accessor :etag
|
2043
2128
|
|
2129
|
+
# GkeAutoUpgradeConfig is the configuration for GKE auto upgrades.
|
2130
|
+
# Corresponds to the JSON property `gkeAutoUpgradeConfig`
|
2131
|
+
# @return [Google::Apis::ContainerV1::GkeAutoUpgradeConfig]
|
2132
|
+
attr_accessor :gke_auto_upgrade_config
|
2133
|
+
|
2044
2134
|
# AdditionalPodRangesConfig is the configuration for additional pod secondary
|
2045
2135
|
# ranges supporting the ClusterUpdate message.
|
2046
2136
|
# Corresponds to the JSON property `removedAdditionalPodRangesConfig`
|
@@ -2060,9 +2150,11 @@ module Google
|
|
2060
2150
|
# Update properties of this object
|
2061
2151
|
def update!(**args)
|
2062
2152
|
@additional_pod_ranges_config = args[:additional_pod_ranges_config] if args.key?(:additional_pod_ranges_config)
|
2153
|
+
@desired_additional_ip_ranges_config = args[:desired_additional_ip_ranges_config] if args.key?(:desired_additional_ip_ranges_config)
|
2063
2154
|
@desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
|
2064
2155
|
@desired_anonymous_authentication_config = args[:desired_anonymous_authentication_config] if args.key?(:desired_anonymous_authentication_config)
|
2065
2156
|
@desired_authenticator_groups_config = args[:desired_authenticator_groups_config] if args.key?(:desired_authenticator_groups_config)
|
2157
|
+
@desired_auto_ipam_config = args[:desired_auto_ipam_config] if args.key?(:desired_auto_ipam_config)
|
2066
2158
|
@desired_autopilot_workload_policy_config = args[:desired_autopilot_workload_policy_config] if args.key?(:desired_autopilot_workload_policy_config)
|
2067
2159
|
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
|
2068
2160
|
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
@@ -2121,10 +2213,12 @@ module Google
|
|
2121
2213
|
@desired_service_external_ips_config = args[:desired_service_external_ips_config] if args.key?(:desired_service_external_ips_config)
|
2122
2214
|
@desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
|
2123
2215
|
@desired_stack_type = args[:desired_stack_type] if args.key?(:desired_stack_type)
|
2216
|
+
@desired_user_managed_keys_config = args[:desired_user_managed_keys_config] if args.key?(:desired_user_managed_keys_config)
|
2124
2217
|
@desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling)
|
2125
2218
|
@desired_workload_identity_config = args[:desired_workload_identity_config] if args.key?(:desired_workload_identity_config)
|
2126
2219
|
@enable_k8s_beta_apis = args[:enable_k8s_beta_apis] if args.key?(:enable_k8s_beta_apis)
|
2127
2220
|
@etag = args[:etag] if args.key?(:etag)
|
2221
|
+
@gke_auto_upgrade_config = args[:gke_auto_upgrade_config] if args.key?(:gke_auto_upgrade_config)
|
2128
2222
|
@removed_additional_pod_ranges_config = args[:removed_additional_pod_ranges_config] if args.key?(:removed_additional_pod_ranges_config)
|
2129
2223
|
@user_managed_keys_config = args[:user_managed_keys_config] if args.key?(:user_managed_keys_config)
|
2130
2224
|
end
|
@@ -2202,15 +2296,17 @@ module Google
|
|
2202
2296
|
attr_accessor :name
|
2203
2297
|
|
2204
2298
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2205
|
-
#
|
2206
|
-
# field has been deprecated and replaced by
|
2299
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2300
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2301
|
+
# the name field.
|
2207
2302
|
# Corresponds to the JSON property `projectId`
|
2208
2303
|
# @return [String]
|
2209
2304
|
attr_accessor :project_id
|
2210
2305
|
|
2211
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2212
|
-
#
|
2213
|
-
# been deprecated and replaced by the name
|
2306
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2307
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2308
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
2309
|
+
# field.
|
2214
2310
|
# Corresponds to the JSON property `zone`
|
2215
2311
|
# @return [String]
|
2216
2312
|
attr_accessor :zone
|
@@ -2436,15 +2532,17 @@ module Google
|
|
2436
2532
|
attr_accessor :parent
|
2437
2533
|
|
2438
2534
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2439
|
-
#
|
2440
|
-
# field has been deprecated and replaced by
|
2535
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2536
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2537
|
+
# the parent field.
|
2441
2538
|
# Corresponds to the JSON property `projectId`
|
2442
2539
|
# @return [String]
|
2443
2540
|
attr_accessor :project_id
|
2444
2541
|
|
2445
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2446
|
-
#
|
2447
|
-
# been deprecated and replaced by the parent
|
2542
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2543
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2544
|
+
# the cluster resides. This field has been deprecated and replaced by the parent
|
2545
|
+
# field.
|
2448
2546
|
# Corresponds to the JSON property `zone`
|
2449
2547
|
# @return [String]
|
2450
2548
|
attr_accessor :zone
|
@@ -2489,15 +2587,17 @@ module Google
|
|
2489
2587
|
attr_accessor :parent
|
2490
2588
|
|
2491
2589
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
2492
|
-
#
|
2493
|
-
# field has been deprecated and replaced by
|
2590
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
2591
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
2592
|
+
# the parent field.
|
2494
2593
|
# Corresponds to the JSON property `projectId`
|
2495
2594
|
# @return [String]
|
2496
2595
|
attr_accessor :project_id
|
2497
2596
|
|
2498
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
2499
|
-
#
|
2500
|
-
# been deprecated and replaced by the parent
|
2597
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
2598
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
2599
|
+
# the cluster resides. This field has been deprecated and replaced by the parent
|
2600
|
+
# field.
|
2501
2601
|
# Corresponds to the JSON property `zone`
|
2502
2602
|
# @return [String]
|
2503
2603
|
attr_accessor :zone
|
@@ -2678,6 +2778,27 @@ module Google
|
|
2678
2778
|
end
|
2679
2779
|
end
|
2680
2780
|
|
2781
|
+
# DesiredAdditionalIPRangesConfig is a wrapper used for cluster update operation
|
2782
|
+
# and contains multiple AdditionalIPRangesConfigs.
|
2783
|
+
class DesiredAdditionalIpRangesConfig
|
2784
|
+
include Google::Apis::Core::Hashable
|
2785
|
+
|
2786
|
+
# List of additional IP ranges configs where each AdditionalIPRangesConfig
|
2787
|
+
# corresponds to one subnetwork's IP ranges
|
2788
|
+
# Corresponds to the JSON property `additionalIpRangesConfigs`
|
2789
|
+
# @return [Array<Google::Apis::ContainerV1::AdditionalIpRangesConfig>]
|
2790
|
+
attr_accessor :additional_ip_ranges_configs
|
2791
|
+
|
2792
|
+
def initialize(**args)
|
2793
|
+
update!(**args)
|
2794
|
+
end
|
2795
|
+
|
2796
|
+
# Update properties of this object
|
2797
|
+
def update!(**args)
|
2798
|
+
@additional_ip_ranges_configs = args[:additional_ip_ranges_configs] if args.key?(:additional_ip_ranges_configs)
|
2799
|
+
end
|
2800
|
+
end
|
2801
|
+
|
2681
2802
|
# DesiredEnterpriseConfig is a wrapper used for updating enterprise_config.
|
2682
2803
|
class DesiredEnterpriseConfig
|
2683
2804
|
include Google::Apis::Core::Hashable
|
@@ -2773,13 +2894,15 @@ module Google
|
|
2773
2894
|
# used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds,
|
2774
2895
|
# zero (or unset) means to disable using local SSDs as ephemeral storage. The
|
2775
2896
|
# limit for this value is dependent upon the maximum number of disk available on
|
2776
|
-
# a machine per zone. See: https
|
2777
|
-
# for more information.
|
2778
|
-
#
|
2779
|
-
#
|
2780
|
-
#
|
2781
|
-
# local ssds), 0
|
2782
|
-
#
|
2897
|
+
# a machine per zone. See: https://`$universe.dns_names.
|
2898
|
+
# final_documentation_domain`/compute/docs/disks/local-ssd for more information.
|
2899
|
+
# 2. For Gen3 machines which dictate a specific number of local ssds, zero (or
|
2900
|
+
# unset) means to use the default number of local ssds that goes with that
|
2901
|
+
# machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds
|
2902
|
+
# would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0
|
2903
|
+
# will be provisioned. See https://`$universe.dns_names.
|
2904
|
+
# final_documentation_domain`/compute/docs/disks/local-ssd#
|
2905
|
+
# choose_number_local_ssds for more info.
|
2783
2906
|
# Corresponds to the JSON property `localSsdCount`
|
2784
2907
|
# @return [Fixnum]
|
2785
2908
|
attr_accessor :local_ssd_count
|
@@ -2874,7 +2997,8 @@ module Google
|
|
2874
2997
|
end
|
2875
2998
|
|
2876
2999
|
# GCPSecretManagerCertificateConfig configures a secret from [Google Secret
|
2877
|
-
# Manager](https
|
3000
|
+
# Manager](https://`$universe.dns_names.final_documentation_domain`/secret-
|
3001
|
+
# manager).
|
2878
3002
|
class GcpSecretManagerCertificateConfig
|
2879
3003
|
include Google::Apis::Core::Hashable
|
2880
3004
|
|
@@ -3127,6 +3251,25 @@ module Google
|
|
3127
3251
|
end
|
3128
3252
|
end
|
3129
3253
|
|
3254
|
+
# GkeAutoUpgradeConfig is the configuration for GKE auto upgrades.
|
3255
|
+
class GkeAutoUpgradeConfig
|
3256
|
+
include Google::Apis::Core::Hashable
|
3257
|
+
|
3258
|
+
# PatchMode specifies how auto upgrade patch builds should be selected.
|
3259
|
+
# Corresponds to the JSON property `patchMode`
|
3260
|
+
# @return [String]
|
3261
|
+
attr_accessor :patch_mode
|
3262
|
+
|
3263
|
+
def initialize(**args)
|
3264
|
+
update!(**args)
|
3265
|
+
end
|
3266
|
+
|
3267
|
+
# Update properties of this object
|
3268
|
+
def update!(**args)
|
3269
|
+
@patch_mode = args[:patch_mode] if args.key?(:patch_mode)
|
3270
|
+
end
|
3271
|
+
end
|
3272
|
+
|
3130
3273
|
# Configuration for the Backup for GKE Agent.
|
3131
3274
|
class GkeBackupAgentConfig
|
3132
3275
|
include Google::Apis::Core::Hashable
|
@@ -3293,12 +3436,25 @@ module Google
|
|
3293
3436
|
class IpAllocationPolicy
|
3294
3437
|
include Google::Apis::Core::Hashable
|
3295
3438
|
|
3439
|
+
# Output only. The additional IP ranges that are added to the cluster. These IP
|
3440
|
+
# ranges can be used by new node pools to allocate node and pod IPs
|
3441
|
+
# automatically. Each AdditionalIPRangesConfig corresponds to a single
|
3442
|
+
# subnetwork. Once a range is removed it will not show up in IPAllocationPolicy.
|
3443
|
+
# Corresponds to the JSON property `additionalIpRangesConfigs`
|
3444
|
+
# @return [Array<Google::Apis::ContainerV1::AdditionalIpRangesConfig>]
|
3445
|
+
attr_accessor :additional_ip_ranges_configs
|
3446
|
+
|
3296
3447
|
# AdditionalPodRangesConfig is the configuration for additional pod secondary
|
3297
3448
|
# ranges supporting the ClusterUpdate message.
|
3298
3449
|
# Corresponds to the JSON property `additionalPodRangesConfig`
|
3299
3450
|
# @return [Google::Apis::ContainerV1::AdditionalPodRangesConfig]
|
3300
3451
|
attr_accessor :additional_pod_ranges_config
|
3301
3452
|
|
3453
|
+
# AutoIpamConfig contains all information related to Auto IPAM
|
3454
|
+
# Corresponds to the JSON property `autoIpamConfig`
|
3455
|
+
# @return [Google::Apis::ContainerV1::AutoIpamConfig]
|
3456
|
+
attr_accessor :auto_ipam_config
|
3457
|
+
|
3302
3458
|
# This field is deprecated, use cluster_ipv4_cidr_block.
|
3303
3459
|
# Corresponds to the JSON property `clusterIpv4Cidr`
|
3304
3460
|
# @return [String]
|
@@ -3447,7 +3603,9 @@ module Google
|
|
3447
3603
|
|
3448
3604
|
# Update properties of this object
|
3449
3605
|
def update!(**args)
|
3606
|
+
@additional_ip_ranges_configs = args[:additional_ip_ranges_configs] if args.key?(:additional_ip_ranges_configs)
|
3450
3607
|
@additional_pod_ranges_config = args[:additional_pod_ranges_config] if args.key?(:additional_pod_ranges_config)
|
3608
|
+
@auto_ipam_config = args[:auto_ipam_config] if args.key?(:auto_ipam_config)
|
3451
3609
|
@cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
|
3452
3610
|
@cluster_ipv4_cidr_block = args[:cluster_ipv4_cidr_block] if args.key?(:cluster_ipv4_cidr_block)
|
3453
3611
|
@cluster_secondary_range_name = args[:cluster_secondary_range_name] if args.key?(:cluster_secondary_range_name)
|
@@ -3856,17 +4014,18 @@ module Google
|
|
3856
4014
|
include Google::Apis::Core::Hashable
|
3857
4015
|
|
3858
4016
|
# Number of local NVMe SSDs to use. The limit for this value is dependent upon
|
3859
|
-
# the maximum number of disk available on a machine per zone. See: https
|
3860
|
-
#
|
3861
|
-
#
|
3862
|
-
#
|
3863
|
-
# means to disable using local SSDs as
|
3864
|
-
# which dictate a specific number of
|
3865
|
-
# the default number of local ssds that
|
3866
|
-
# for a c3-standard-8-lssd machine, 2
|
3867
|
-
# standard-8 (which doesn't support
|
3868
|
-
# https
|
3869
|
-
#
|
4017
|
+
# the maximum number of disk available on a machine per zone. See: https://`$
|
4018
|
+
# universe.dns_names.final_documentation_domain`/compute/docs/disks/local-ssd
|
4019
|
+
# for more information. A zero (or unset) value has different meanings depending
|
4020
|
+
# on machine type being used: 1. For pre-Gen3 machines, which support flexible
|
4021
|
+
# numbers of local ssds, zero (or unset) means to disable using local SSDs as
|
4022
|
+
# ephemeral storage. 2. For Gen3 machines which dictate a specific number of
|
4023
|
+
# local ssds, zero (or unset) means to use the default number of local ssds that
|
4024
|
+
# goes with that machine type. For example, for a c3-standard-8-lssd machine, 2
|
4025
|
+
# local ssds would be provisioned. For c3-standard-8 (which doesn't support
|
4026
|
+
# local ssds), 0 will be provisioned. See https://`$universe.dns_names.
|
4027
|
+
# final_documentation_domain`/compute/docs/disks/local-ssd#
|
4028
|
+
# choose_number_local_ssds for more info.
|
3870
4029
|
# Corresponds to the JSON property `localSsdCount`
|
3871
4030
|
# @return [Fixnum]
|
3872
4031
|
attr_accessor :local_ssd_count
|
@@ -4079,8 +4238,9 @@ module Google
|
|
4079
4238
|
# strong password. If a password is provided for cluster creation, username must
|
4080
4239
|
# be non-empty. Warning: basic authentication is deprecated, and will be removed
|
4081
4240
|
# in GKE control plane versions 1.19 and newer. For a list of recommended
|
4082
|
-
# authentication methods, see: https
|
4083
|
-
# how-to/api-server-
|
4241
|
+
# authentication methods, see: https://`$universe.dns_names.
|
4242
|
+
# final_documentation_domain`/kubernetes-engine/docs/how-to/api-server-
|
4243
|
+
# authentication
|
4084
4244
|
# Corresponds to the JSON property `password`
|
4085
4245
|
# @return [String]
|
4086
4246
|
attr_accessor :password
|
@@ -4090,8 +4250,8 @@ module Google
|
|
4090
4250
|
# username unspecified (or setting it to the empty string). Warning: basic
|
4091
4251
|
# authentication is deprecated, and will be removed in GKE control plane
|
4092
4252
|
# versions 1.19 and newer. For a list of recommended authentication methods, see:
|
4093
|
-
# https
|
4094
|
-
# authentication
|
4253
|
+
# https://`$universe.dns_names.final_documentation_domain`/kubernetes-engine/
|
4254
|
+
# docs/how-to/api-server-authentication
|
4095
4255
|
# Corresponds to the JSON property `username`
|
4096
4256
|
# @return [String]
|
4097
4257
|
attr_accessor :username
|
@@ -4389,9 +4549,10 @@ module Google
|
|
4389
4549
|
# @return [String]
|
4390
4550
|
attr_accessor :in_transit_encryption_config
|
4391
4551
|
|
4392
|
-
# Output only. The relative name of the Google Compute Engine [network](https
|
4393
|
-
#
|
4394
|
-
# cluster is connected. Example: projects/my-
|
4552
|
+
# Output only. The relative name of the Google Compute Engine [network](https://`
|
4553
|
+
# $universe.dns_names.final_documentation_domain`/compute/docs/networks-and-
|
4554
|
+
# firewalls#networks) to which the cluster is connected. Example: projects/my-
|
4555
|
+
# project/global/networks/my-network
|
4395
4556
|
# Corresponds to the JSON property `network`
|
4396
4557
|
# @return [String]
|
4397
4558
|
attr_accessor :network
|
@@ -4413,8 +4574,9 @@ module Google
|
|
4413
4574
|
attr_accessor :service_external_ips_config
|
4414
4575
|
|
4415
4576
|
# Output only. The relative name of the Google Compute Engine [subnetwork](https:
|
4416
|
-
#
|
4417
|
-
# Example: projects/my-project/regions/us-central1/
|
4577
|
+
# //`$universe.dns_names.final_documentation_domain`/compute/docs/vpc) to which
|
4578
|
+
# the cluster is connected. Example: projects/my-project/regions/us-central1/
|
4579
|
+
# subnetworks/my-subnet
|
4418
4580
|
# Corresponds to the JSON property `subnetwork`
|
4419
4581
|
# @return [String]
|
4420
4582
|
attr_accessor :subnetwork
|
@@ -4534,8 +4696,9 @@ module Google
|
|
4534
4696
|
end
|
4535
4697
|
|
4536
4698
|
# Specifies the NodeAffinity key, values, and affinity operator according to [
|
4537
|
-
# shared sole tenant node group affinities](https
|
4538
|
-
# docs/nodes/sole-tenant-nodes#
|
4699
|
+
# shared sole tenant node group affinities](https://`$universe.dns_names.
|
4700
|
+
# final_documentation_domain`/compute/docs/nodes/sole-tenant-nodes#
|
4701
|
+
# node_affinity_and_anti-affinity).
|
4539
4702
|
class NodeAffinity
|
4540
4703
|
include Google::Apis::Core::Hashable
|
4541
4704
|
|
@@ -4572,8 +4735,9 @@ module Google
|
|
4572
4735
|
class NodeConfig
|
4573
4736
|
include Google::Apis::Core::Hashable
|
4574
4737
|
|
4575
|
-
# A list of hardware accelerators to be attached to each node. See https
|
4576
|
-
#
|
4738
|
+
# A list of hardware accelerators to be attached to each node. See https://`$
|
4739
|
+
# universe.dns_names.final_documentation_domain`/compute/docs/gpus for more
|
4740
|
+
# information about support for GPUs.
|
4577
4741
|
# Corresponds to the JSON property `accelerators`
|
4578
4742
|
# @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
|
4579
4743
|
attr_accessor :accelerators
|
@@ -4587,7 +4751,8 @@ module Google
|
|
4587
4751
|
# each node in the node pool. This should be of the form projects/[
|
4588
4752
|
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
4589
4753
|
# . For more information about protecting resources with Cloud KMS Keys please
|
4590
|
-
# see: https
|
4754
|
+
# see: https://`$universe.dns_names.final_documentation_domain`/compute/docs/
|
4755
|
+
# disks/customer-managed-encryption
|
4591
4756
|
# Corresponds to the JSON property `bootDiskKmsKey`
|
4592
4757
|
# @return [String]
|
4593
4758
|
attr_accessor :boot_disk_kms_key
|
@@ -4658,8 +4823,9 @@ module Google
|
|
4658
4823
|
attr_accessor :gvnic
|
4659
4824
|
|
4660
4825
|
# The image type to use for this node. Note that for a given image type, the
|
4661
|
-
# latest version of it will be used. Please see https
|
4662
|
-
# kubernetes-engine/docs/concepts/node-images for
|
4826
|
+
# latest version of it will be used. Please see https://`$universe.dns_names.
|
4827
|
+
# final_documentation_domain`/kubernetes-engine/docs/concepts/node-images for
|
4828
|
+
# available image types.
|
4663
4829
|
# Corresponds to the JSON property `imageType`
|
4664
4830
|
# @return [String]
|
4665
4831
|
attr_accessor :image_type
|
@@ -4693,8 +4859,8 @@ module Google
|
|
4693
4859
|
|
4694
4860
|
# The number of local SSD disks to be attached to the node. The limit for this
|
4695
4861
|
# value is dependent upon the maximum number of disks available on a machine per
|
4696
|
-
# zone. See: https
|
4697
|
-
# information.
|
4862
|
+
# zone. See: https://`$universe.dns_names.final_documentation_domain`/compute/
|
4863
|
+
# docs/disks/local-ssd for more information.
|
4698
4864
|
# Corresponds to the JSON property `localSsdCount`
|
4699
4865
|
# @return [Fixnum]
|
4700
4866
|
attr_accessor :local_ssd_count
|
@@ -4710,9 +4876,9 @@ module Google
|
|
4710
4876
|
# @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
|
4711
4877
|
attr_accessor :logging_config
|
4712
4878
|
|
4713
|
-
# The name of a Google Compute Engine [machine type](https
|
4714
|
-
# compute/docs/machine-types) If
|
4715
|
-
# medium`.
|
4879
|
+
# The name of a Google Compute Engine [machine type](https://`$universe.
|
4880
|
+
# dns_names.final_documentation_domain`/compute/docs/machine-types) If
|
4881
|
+
# unspecified, the default machine type is `e2-medium`.
|
4716
4882
|
# Corresponds to the JSON property `machineType`
|
4717
4883
|
# @return [String]
|
4718
4884
|
attr_accessor :machine_type
|
@@ -4745,15 +4911,16 @@ module Google
|
|
4745
4911
|
# scheduled on the specified or newer CPU platform. Applicable values are the
|
4746
4912
|
# friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
|
4747
4913
|
# minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
|
4748
|
-
# specify min CPU platform](https
|
4749
|
-
# specify-min-cpu-platform)
|
4914
|
+
# specify min CPU platform](https://`$universe.dns_names.
|
4915
|
+
# final_documentation_domain`/compute/docs/instances/specify-min-cpu-platform)
|
4750
4916
|
# Corresponds to the JSON property `minCpuPlatform`
|
4751
4917
|
# @return [String]
|
4752
4918
|
attr_accessor :min_cpu_platform
|
4753
4919
|
|
4754
4920
|
# Setting this field will assign instances of this pool to run on the specified
|
4755
4921
|
# node group. This is useful for running workloads on [sole tenant nodes](https:/
|
4756
|
-
#
|
4922
|
+
# /`$universe.dns_names.final_documentation_domain`/compute/docs/nodes/sole-
|
4923
|
+
# tenant-nodes).
|
4757
4924
|
# Corresponds to the JSON property `nodeGroup`
|
4758
4925
|
# @return [String]
|
4759
4926
|
attr_accessor :node_group
|
@@ -4763,25 +4930,25 @@ module Google
|
|
4763
4930
|
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
4764
4931
|
# compute` is required for mounting persistent storage on your nodes. * `https://
|
4765
4932
|
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
4766
|
-
# with **gcr.io** (the [Google Container Registry](https
|
4767
|
-
# container-registry/)). If unspecified, no scopes
|
4768
|
-
# Logging or Cloud Monitoring are enabled, in which case
|
4769
|
-
# will be added.
|
4933
|
+
# with **gcr.io** (the [Google Container Registry](https://`$universe.dns_names.
|
4934
|
+
# final_documentation_domain`/container-registry/)). If unspecified, no scopes
|
4935
|
+
# are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case
|
4936
|
+
# their required scopes will be added.
|
4770
4937
|
# Corresponds to the JSON property `oauthScopes`
|
4771
4938
|
# @return [Array<String>]
|
4772
4939
|
attr_accessor :oauth_scopes
|
4773
4940
|
|
4774
|
-
# Whether the nodes are created as preemptible VM instances. See: https
|
4775
|
-
#
|
4776
|
-
# preemptible VM instances.
|
4941
|
+
# Whether the nodes are created as preemptible VM instances. See: https://`$
|
4942
|
+
# universe.dns_names.final_documentation_domain`/compute/docs/instances/
|
4943
|
+
# preemptible for more information about preemptible VM instances.
|
4777
4944
|
# Corresponds to the JSON property `preemptible`
|
4778
4945
|
# @return [Boolean]
|
4779
4946
|
attr_accessor :preemptible
|
4780
4947
|
alias_method :preemptible?, :preemptible
|
4781
4948
|
|
4782
|
-
# [ReservationAffinity](https
|
4783
|
-
# reserving-zonal-resources) is the configuration of
|
4784
|
-
# instances could take capacity from.
|
4949
|
+
# [ReservationAffinity](https://`$universe.dns_names.final_documentation_domain`/
|
4950
|
+
# compute/docs/instances/reserving-zonal-resources) is the configuration of
|
4951
|
+
# desired reservation which instances could take capacity from.
|
4785
4952
|
# Corresponds to the JSON property `reservationAffinity`
|
4786
4953
|
# @return [Google::Apis::ContainerV1::ReservationAffinity]
|
4787
4954
|
attr_accessor :reservation_affinity
|
@@ -4794,9 +4961,10 @@ module Google
|
|
4794
4961
|
|
4795
4962
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
4796
4963
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
4797
|
-
# be according to specifications in https
|
4798
|
-
# firewalls-overview#specifications. A
|
4799
|
-
# specified. Existing tags will be
|
4964
|
+
# be according to specifications in https://`$universe.dns_names.
|
4965
|
+
# final_documentation_domain`/vpc/docs/tags-firewalls-overview#specifications. A
|
4966
|
+
# maximum of 5 tag key-value pairs can be specified. Existing tags will be
|
4967
|
+
# replaced with new values.
|
4800
4968
|
# Corresponds to the JSON property `resourceManagerTags`
|
4801
4969
|
# @return [Google::Apis::ContainerV1::ResourceManagerTags]
|
4802
4970
|
attr_accessor :resource_manager_tags
|
@@ -5090,6 +5258,15 @@ module Google
|
|
5090
5258
|
# @return [Fixnum]
|
5091
5259
|
attr_accessor :pod_pids_limit
|
5092
5260
|
|
5261
|
+
# Optional. Defines whether to enable single process OOM killer. If true, will
|
5262
|
+
# prevent the memory.oom.group flag from being set for container cgroups in
|
5263
|
+
# cgroups v2. This causes processes in the container to be OOM killed
|
5264
|
+
# individually instead of as a group.
|
5265
|
+
# Corresponds to the JSON property `singleProcessOomKill`
|
5266
|
+
# @return [Boolean]
|
5267
|
+
attr_accessor :single_process_oom_kill
|
5268
|
+
alias_method :single_process_oom_kill?, :single_process_oom_kill
|
5269
|
+
|
5093
5270
|
# TopologyManager defines the configuration options for Topology Manager feature.
|
5094
5271
|
# See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/
|
5095
5272
|
# Corresponds to the JSON property `topologyManager`
|
@@ -5115,6 +5292,7 @@ module Google
|
|
5115
5292
|
@insecure_kubelet_readonly_port_enabled = args[:insecure_kubelet_readonly_port_enabled] if args.key?(:insecure_kubelet_readonly_port_enabled)
|
5116
5293
|
@memory_manager = args[:memory_manager] if args.key?(:memory_manager)
|
5117
5294
|
@pod_pids_limit = args[:pod_pids_limit] if args.key?(:pod_pids_limit)
|
5295
|
+
@single_process_oom_kill = args[:single_process_oom_kill] if args.key?(:single_process_oom_kill)
|
5118
5296
|
@topology_manager = args[:topology_manager] if args.key?(:topology_manager)
|
5119
5297
|
end
|
5120
5298
|
end
|
@@ -5251,6 +5429,14 @@ module Google
|
|
5251
5429
|
# @return [String]
|
5252
5430
|
attr_accessor :pod_range
|
5253
5431
|
|
5432
|
+
# Output only. The subnetwork path for the node pool. Format: projects/`project`/
|
5433
|
+
# regions/`region`/subnetworks/`subnetwork` If the cluster is associated with
|
5434
|
+
# multiple subnetworks, the subnetwork for the node pool is picked based on the
|
5435
|
+
# IP utilization during node pool creation and is immutable.
|
5436
|
+
# Corresponds to the JSON property `subnetwork`
|
5437
|
+
# @return [String]
|
5438
|
+
attr_accessor :subnetwork
|
5439
|
+
|
5254
5440
|
def initialize(**args)
|
5255
5441
|
update!(**args)
|
5256
5442
|
end
|
@@ -5266,6 +5452,7 @@ module Google
|
|
5266
5452
|
@pod_ipv4_cidr_block = args[:pod_ipv4_cidr_block] if args.key?(:pod_ipv4_cidr_block)
|
5267
5453
|
@pod_ipv4_range_utilization = args[:pod_ipv4_range_utilization] if args.key?(:pod_ipv4_range_utilization)
|
5268
5454
|
@pod_range = args[:pod_range] if args.key?(:pod_range)
|
5455
|
+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
5269
5456
|
end
|
5270
5457
|
end
|
5271
5458
|
|
@@ -5314,27 +5501,30 @@ module Google
|
|
5314
5501
|
attr_accessor :etag
|
5315
5502
|
|
5316
5503
|
# The initial node count for the pool. You must ensure that your Compute Engine [
|
5317
|
-
# resource quota](https
|
5318
|
-
# this number of instances. You must also have
|
5319
|
-
# quota.
|
5504
|
+
# resource quota](https://`$universe.dns_names.final_documentation_domain`/
|
5505
|
+
# compute/quotas) is sufficient for this number of instances. You must also have
|
5506
|
+
# available firewall and routes quota.
|
5320
5507
|
# Corresponds to the JSON property `initialNodeCount`
|
5321
5508
|
# @return [Fixnum]
|
5322
5509
|
attr_accessor :initial_node_count
|
5323
5510
|
|
5324
|
-
# Output only. The resource URLs of the [managed instance groups](https
|
5325
|
-
#
|
5326
|
-
# associated with this node pool. During
|
5327
|
-
# operation, the URLs contain both blue and
|
5511
|
+
# Output only. The resource URLs of the [managed instance groups](https://`$
|
5512
|
+
# universe.dns_names.final_documentation_domain`/compute/docs/instance-groups/
|
5513
|
+
# creating-groups-of-managed-instances) associated with this node pool. During
|
5514
|
+
# the node pool blue-green upgrade operation, the URLs contain both blue and
|
5515
|
+
# green resources.
|
5328
5516
|
# Corresponds to the JSON property `instanceGroupUrls`
|
5329
5517
|
# @return [Array<String>]
|
5330
5518
|
attr_accessor :instance_group_urls
|
5331
5519
|
|
5332
|
-
# The list of Google Compute Engine [zones](https
|
5333
|
-
# docs/zones#available) in which the
|
5334
|
-
# value is unspecified during node
|
5335
|
-
#
|
5336
|
-
#
|
5337
|
-
#
|
5520
|
+
# The list of Google Compute Engine [zones](https://`$universe.dns_names.
|
5521
|
+
# final_documentation_domain`/compute/docs/zones#available) in which the
|
5522
|
+
# NodePool's nodes should be located. If this value is unspecified during node
|
5523
|
+
# pool creation, the [Cluster.Locations](https://`$universe.dns_names.
|
5524
|
+
# final_documentation_domain`/kubernetes-engine/docs/reference/rest/v1/projects.
|
5525
|
+
# locations.clusters#Cluster.FIELDS.locations) value will be used, instead.
|
5526
|
+
# Warning: changing node pool locations will result in nodes being added and/or
|
5527
|
+
# removed.
|
5338
5528
|
# Corresponds to the JSON property `locations`
|
5339
5529
|
# @return [Array<String>]
|
5340
5530
|
attr_accessor :locations
|
@@ -5433,8 +5623,9 @@ module Google
|
|
5433
5623
|
attr_accessor :upgrade_settings
|
5434
5624
|
|
5435
5625
|
# The version of Kubernetes running on this NodePool's nodes. If unspecified, it
|
5436
|
-
# defaults as described [here](https
|
5437
|
-
# versioning#
|
5626
|
+
# defaults as described [here](https://`$universe.dns_names.
|
5627
|
+
# final_documentation_domain`/kubernetes-engine/versioning#
|
5628
|
+
# specifying_node_version).
|
5438
5629
|
# Corresponds to the JSON property `version`
|
5439
5630
|
# @return [String]
|
5440
5631
|
attr_accessor :version
|
@@ -5493,9 +5684,10 @@ module Google
|
|
5493
5684
|
|
5494
5685
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
5495
5686
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
5496
|
-
# be according to specifications in https
|
5497
|
-
# firewalls-overview#specifications. A
|
5498
|
-
# specified. Existing tags will be
|
5687
|
+
# be according to specifications in https://`$universe.dns_names.
|
5688
|
+
# final_documentation_domain`/vpc/docs/tags-firewalls-overview#specifications. A
|
5689
|
+
# maximum of 5 tag key-value pairs can be specified. Existing tags will be
|
5690
|
+
# replaced with new values.
|
5499
5691
|
# Corresponds to the JSON property `resourceManagerTags`
|
5500
5692
|
# @return [Google::Apis::ContainerV1::ResourceManagerTags]
|
5501
5693
|
attr_accessor :resource_manager_tags
|
@@ -5776,10 +5968,11 @@ module Google
|
|
5776
5968
|
# @return [Google::Apis::ContainerV1::Status]
|
5777
5969
|
attr_accessor :error
|
5778
5970
|
|
5779
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
5780
|
-
#
|
5781
|
-
#
|
5782
|
-
# the cluster
|
5971
|
+
# Output only. The name of the Google Compute Engine [zone](https://`$universe.
|
5972
|
+
# dns_names.final_documentation_domain`/compute/docs/regions-zones/regions-zones#
|
5973
|
+
# available) or [region](https://`$universe.dns_names.final_documentation_domain`
|
5974
|
+
# /compute/docs/regions-zones/regions-zones#available) in which the cluster
|
5975
|
+
# resides.
|
5783
5976
|
# Corresponds to the JSON property `location`
|
5784
5977
|
# @return [String]
|
5785
5978
|
attr_accessor :location
|
@@ -5841,9 +6034,9 @@ module Google
|
|
5841
6034
|
# @return [String]
|
5842
6035
|
attr_accessor :target_link
|
5843
6036
|
|
5844
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
5845
|
-
#
|
5846
|
-
# field is deprecated, use location instead.
|
6037
|
+
# Output only. The name of the Google Compute Engine [zone](https://`$universe.
|
6038
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
6039
|
+
# the operation is taking place. This field is deprecated, use location instead.
|
5847
6040
|
# Corresponds to the JSON property `zone`
|
5848
6041
|
# @return [String]
|
5849
6042
|
attr_accessor :zone
|
@@ -6002,8 +6195,8 @@ module Google
|
|
6002
6195
|
# @return [String]
|
6003
6196
|
attr_accessor :policy_name
|
6004
6197
|
|
6005
|
-
# Optional. TPU placement topology for pod slice node pool. https
|
6006
|
-
#
|
6198
|
+
# Optional. TPU placement topology for pod slice node pool. https://`$universe.
|
6199
|
+
# dns_names.final_documentation_domain`/tpu/docs/types-topologies#tpu_topologies
|
6007
6200
|
# Corresponds to the JSON property `tpuTopology`
|
6008
6201
|
# @return [String]
|
6009
6202
|
attr_accessor :tpu_topology
|
@@ -6474,9 +6667,9 @@ module Google
|
|
6474
6667
|
end
|
6475
6668
|
end
|
6476
6669
|
|
6477
|
-
# [ReservationAffinity](https
|
6478
|
-
# reserving-zonal-resources) is the configuration of
|
6479
|
-
# instances could take capacity from.
|
6670
|
+
# [ReservationAffinity](https://`$universe.dns_names.final_documentation_domain`/
|
6671
|
+
# compute/docs/instances/reserving-zonal-resources) is the configuration of
|
6672
|
+
# desired reservation which instances could take capacity from.
|
6480
6673
|
class ReservationAffinity
|
6481
6674
|
include Google::Apis::Core::Hashable
|
6482
6675
|
|
@@ -6509,8 +6702,8 @@ module Google
|
|
6509
6702
|
end
|
6510
6703
|
end
|
6511
6704
|
|
6512
|
-
# Collection of [GCP labels](https
|
6513
|
-
# creating-managing-labels).
|
6705
|
+
# Collection of [GCP labels](https://`$universe.dns_names.
|
6706
|
+
# final_documentation_domain`/resource-manager/docs/creating-managing-labels).
|
6514
6707
|
class ResourceLabels
|
6515
6708
|
include Google::Apis::Core::Hashable
|
6516
6709
|
|
@@ -6563,9 +6756,10 @@ module Google
|
|
6563
6756
|
|
6564
6757
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
6565
6758
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
6566
|
-
# be according to specifications in https
|
6567
|
-
# firewalls-overview#specifications. A
|
6568
|
-
# specified. Existing tags will be
|
6759
|
+
# be according to specifications in https://`$universe.dns_names.
|
6760
|
+
# final_documentation_domain`/vpc/docs/tags-firewalls-overview#specifications. A
|
6761
|
+
# maximum of 5 tag key-value pairs can be specified. Existing tags will be
|
6762
|
+
# replaced with new values.
|
6569
6763
|
class ResourceManagerTags
|
6570
6764
|
include Google::Apis::Core::Hashable
|
6571
6765
|
|
@@ -6645,8 +6839,9 @@ module Google
|
|
6645
6839
|
attr_accessor :node_pool_id
|
6646
6840
|
|
6647
6841
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
6648
|
-
#
|
6649
|
-
# field has been deprecated and replaced by
|
6842
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
6843
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
6844
|
+
# the name field.
|
6650
6845
|
# Corresponds to the JSON property `projectId`
|
6651
6846
|
# @return [String]
|
6652
6847
|
attr_accessor :project_id
|
@@ -6657,9 +6852,10 @@ module Google
|
|
6657
6852
|
attr_accessor :respect_pdb
|
6658
6853
|
alias_method :respect_pdb?, :respect_pdb
|
6659
6854
|
|
6660
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
6661
|
-
#
|
6662
|
-
# been deprecated and replaced by the name
|
6855
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
6856
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
6857
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
6858
|
+
# field.
|
6663
6859
|
# Corresponds to the JSON property `zone`
|
6664
6860
|
# @return [String]
|
6665
6861
|
attr_accessor :zone
|
@@ -6965,15 +7161,17 @@ module Google
|
|
6965
7161
|
attr_accessor :name
|
6966
7162
|
|
6967
7163
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
6968
|
-
#
|
6969
|
-
# field has been deprecated and replaced by
|
7164
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
7165
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
7166
|
+
# the name field.
|
6970
7167
|
# Corresponds to the JSON property `projectId`
|
6971
7168
|
# @return [String]
|
6972
7169
|
attr_accessor :project_id
|
6973
7170
|
|
6974
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
6975
|
-
#
|
6976
|
-
# been deprecated and replaced by the name
|
7171
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
7172
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
7173
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
7174
|
+
# field.
|
6977
7175
|
# Corresponds to the JSON property `zone`
|
6978
7176
|
# @return [String]
|
6979
7177
|
attr_accessor :zone
|
@@ -7020,8 +7218,9 @@ module Google
|
|
7020
7218
|
attr_accessor :name
|
7021
7219
|
|
7022
7220
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
7023
|
-
#
|
7024
|
-
# field has been deprecated and replaced by
|
7221
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
7222
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
7223
|
+
# the name field.
|
7025
7224
|
# Corresponds to the JSON property `projectId`
|
7026
7225
|
# @return [String]
|
7027
7226
|
attr_accessor :project_id
|
@@ -7031,9 +7230,10 @@ module Google
|
|
7031
7230
|
# @return [Hash<String,String>]
|
7032
7231
|
attr_accessor :resource_labels
|
7033
7232
|
|
7034
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
7035
|
-
#
|
7036
|
-
# been deprecated and replaced by the name
|
7233
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
7234
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
7235
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
7236
|
+
# field.
|
7037
7237
|
# Corresponds to the JSON property `zone`
|
7038
7238
|
# @return [String]
|
7039
7239
|
attr_accessor :zone
|
@@ -7077,15 +7277,17 @@ module Google
|
|
7077
7277
|
attr_accessor :name
|
7078
7278
|
|
7079
7279
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
7080
|
-
#
|
7081
|
-
# field has been deprecated and replaced by
|
7280
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
7281
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
7282
|
+
# the name field.
|
7082
7283
|
# Corresponds to the JSON property `projectId`
|
7083
7284
|
# @return [String]
|
7084
7285
|
attr_accessor :project_id
|
7085
7286
|
|
7086
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
7087
|
-
#
|
7088
|
-
# been deprecated and replaced by the name
|
7287
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
7288
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
7289
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
7290
|
+
# field.
|
7089
7291
|
# Corresponds to the JSON property `zone`
|
7090
7292
|
# @return [String]
|
7091
7293
|
attr_accessor :zone
|
@@ -7114,12 +7316,12 @@ module Google
|
|
7114
7316
|
# @return [String]
|
7115
7317
|
attr_accessor :cluster_id
|
7116
7318
|
|
7117
|
-
# Required. The desired list of Google Compute Engine [zones](https
|
7118
|
-
#
|
7119
|
-
# be located. Changing the locations a cluster is in
|
7120
|
-
# either created or removed from the cluster,
|
7121
|
-
# being added or removed. This list must
|
7122
|
-
# zone.
|
7319
|
+
# Required. The desired list of Google Compute Engine [zones](https://`$universe.
|
7320
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
7321
|
+
# the cluster's nodes should be located. Changing the locations a cluster is in
|
7322
|
+
# will result in nodes being either created or removed from the cluster,
|
7323
|
+
# depending on whether locations are being added or removed. This list must
|
7324
|
+
# always include the cluster's primary zone.
|
7123
7325
|
# Corresponds to the JSON property `locations`
|
7124
7326
|
# @return [Array<String>]
|
7125
7327
|
attr_accessor :locations
|
@@ -7131,15 +7333,17 @@ module Google
|
|
7131
7333
|
attr_accessor :name
|
7132
7334
|
|
7133
7335
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
7134
|
-
#
|
7135
|
-
# field has been deprecated and replaced by
|
7336
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
7337
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
7338
|
+
# the name field.
|
7136
7339
|
# Corresponds to the JSON property `projectId`
|
7137
7340
|
# @return [String]
|
7138
7341
|
attr_accessor :project_id
|
7139
7342
|
|
7140
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
7141
|
-
#
|
7142
|
-
# been deprecated and replaced by the name
|
7343
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
7344
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
7345
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
7346
|
+
# field.
|
7143
7347
|
# Corresponds to the JSON property `zone`
|
7144
7348
|
# @return [String]
|
7145
7349
|
attr_accessor :zone
|
@@ -7186,15 +7390,17 @@ module Google
|
|
7186
7390
|
attr_accessor :name
|
7187
7391
|
|
7188
7392
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
7189
|
-
#
|
7190
|
-
# field has been deprecated and replaced by
|
7393
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
7394
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
7395
|
+
# the name field.
|
7191
7396
|
# Corresponds to the JSON property `projectId`
|
7192
7397
|
# @return [String]
|
7193
7398
|
attr_accessor :project_id
|
7194
7399
|
|
7195
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
7196
|
-
#
|
7197
|
-
# been deprecated and replaced by the name
|
7400
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
7401
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
7402
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
7403
|
+
# field.
|
7198
7404
|
# Corresponds to the JSON property `zone`
|
7199
7405
|
# @return [String]
|
7200
7406
|
attr_accessor :zone
|
@@ -7234,13 +7440,15 @@ module Google
|
|
7234
7440
|
attr_accessor :name
|
7235
7441
|
|
7236
7442
|
# Required. The Google Developers Console [project ID or project number](https://
|
7237
|
-
#
|
7443
|
+
# `$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
7444
|
+
# creating-managing-projects).
|
7238
7445
|
# Corresponds to the JSON property `projectId`
|
7239
7446
|
# @return [String]
|
7240
7447
|
attr_accessor :project_id
|
7241
7448
|
|
7242
|
-
# Required. The name of the Google Compute Engine [zone](https
|
7243
|
-
#
|
7449
|
+
# Required. The name of the Google Compute Engine [zone](https://`$universe.
|
7450
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
7451
|
+
# the cluster resides.
|
7244
7452
|
# Corresponds to the JSON property `zone`
|
7245
7453
|
# @return [String]
|
7246
7454
|
attr_accessor :zone
|
@@ -7281,8 +7489,9 @@ module Google
|
|
7281
7489
|
attr_accessor :name
|
7282
7490
|
|
7283
7491
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
7284
|
-
#
|
7285
|
-
# field has been deprecated and replaced by
|
7492
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
7493
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
7494
|
+
# the name field.
|
7286
7495
|
# Corresponds to the JSON property `projectId`
|
7287
7496
|
# @return [String]
|
7288
7497
|
attr_accessor :project_id
|
@@ -7293,9 +7502,10 @@ module Google
|
|
7293
7502
|
# @return [Google::Apis::ContainerV1::MasterAuth]
|
7294
7503
|
attr_accessor :update
|
7295
7504
|
|
7296
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
7297
|
-
#
|
7298
|
-
# been deprecated and replaced by the name
|
7505
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
7506
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
7507
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
7508
|
+
# field.
|
7299
7509
|
# Corresponds to the JSON property `zone`
|
7300
7510
|
# @return [String]
|
7301
7511
|
attr_accessor :zone
|
@@ -7343,15 +7553,17 @@ module Google
|
|
7343
7553
|
attr_accessor :name
|
7344
7554
|
|
7345
7555
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
7346
|
-
#
|
7347
|
-
# field has been deprecated and replaced by
|
7556
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
7557
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
7558
|
+
# the name field.
|
7348
7559
|
# Corresponds to the JSON property `projectId`
|
7349
7560
|
# @return [String]
|
7350
7561
|
attr_accessor :project_id
|
7351
7562
|
|
7352
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
7353
|
-
#
|
7354
|
-
# been deprecated and replaced by the name
|
7563
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
7564
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
7565
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
7566
|
+
# field.
|
7355
7567
|
# Corresponds to the JSON property `zone`
|
7356
7568
|
# @return [String]
|
7357
7569
|
attr_accessor :zone
|
@@ -7393,15 +7605,17 @@ module Google
|
|
7393
7605
|
attr_accessor :network_policy
|
7394
7606
|
|
7395
7607
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
7396
|
-
#
|
7397
|
-
# field has been deprecated and replaced by
|
7608
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
7609
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
7610
|
+
# the name field.
|
7398
7611
|
# Corresponds to the JSON property `projectId`
|
7399
7612
|
# @return [String]
|
7400
7613
|
attr_accessor :project_id
|
7401
7614
|
|
7402
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
7403
|
-
#
|
7404
|
-
# been deprecated and replaced by the name
|
7615
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
7616
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
7617
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
7618
|
+
# field.
|
7405
7619
|
# Corresponds to the JSON property `zone`
|
7406
7620
|
# @return [String]
|
7407
7621
|
attr_accessor :zone
|
@@ -7450,15 +7664,17 @@ module Google
|
|
7450
7664
|
attr_accessor :node_pool_id
|
7451
7665
|
|
7452
7666
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
7453
|
-
#
|
7454
|
-
# field has been deprecated and replaced by
|
7667
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
7668
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
7669
|
+
# the name field.
|
7455
7670
|
# Corresponds to the JSON property `projectId`
|
7456
7671
|
# @return [String]
|
7457
7672
|
attr_accessor :project_id
|
7458
7673
|
|
7459
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
7460
|
-
#
|
7461
|
-
# been deprecated and replaced by the name
|
7674
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
7675
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
7676
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
7677
|
+
# field.
|
7462
7678
|
# Corresponds to the JSON property `zone`
|
7463
7679
|
# @return [String]
|
7464
7680
|
attr_accessor :zone
|
@@ -7509,15 +7725,17 @@ module Google
|
|
7509
7725
|
attr_accessor :node_pool_id
|
7510
7726
|
|
7511
7727
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
7512
|
-
#
|
7513
|
-
# field has been deprecated and replaced by
|
7728
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
7729
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
7730
|
+
# the name field.
|
7514
7731
|
# Corresponds to the JSON property `projectId`
|
7515
7732
|
# @return [String]
|
7516
7733
|
attr_accessor :project_id
|
7517
7734
|
|
7518
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
7519
|
-
#
|
7520
|
-
# been deprecated and replaced by the name
|
7735
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
7736
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
7737
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
7738
|
+
# field.
|
7521
7739
|
# Corresponds to the JSON property `zone`
|
7522
7740
|
# @return [String]
|
7523
7741
|
attr_accessor :zone
|
@@ -7565,15 +7783,17 @@ module Google
|
|
7565
7783
|
attr_accessor :node_pool_id
|
7566
7784
|
|
7567
7785
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
7568
|
-
#
|
7569
|
-
# field has been deprecated and replaced by
|
7786
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
7787
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
7788
|
+
# the name field.
|
7570
7789
|
# Corresponds to the JSON property `projectId`
|
7571
7790
|
# @return [String]
|
7572
7791
|
attr_accessor :project_id
|
7573
7792
|
|
7574
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
7575
|
-
#
|
7576
|
-
# been deprecated and replaced by the name
|
7793
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
7794
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
7795
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
7796
|
+
# field.
|
7577
7797
|
# Corresponds to the JSON property `zone`
|
7578
7798
|
# @return [String]
|
7579
7799
|
attr_accessor :zone
|
@@ -7652,6 +7872,13 @@ module Google
|
|
7652
7872
|
class SoleTenantConfig
|
7653
7873
|
include Google::Apis::Core::Hashable
|
7654
7874
|
|
7875
|
+
# Optional. The minimum number of virtual CPUs this instance will consume when
|
7876
|
+
# running on a sole-tenant node. This field can only be set if the node pool is
|
7877
|
+
# created in a shared sole-tenant node group.
|
7878
|
+
# Corresponds to the JSON property `minNodeCpus`
|
7879
|
+
# @return [Fixnum]
|
7880
|
+
attr_accessor :min_node_cpus
|
7881
|
+
|
7655
7882
|
# NodeAffinities used to match to a shared sole tenant node group.
|
7656
7883
|
# Corresponds to the JSON property `nodeAffinities`
|
7657
7884
|
# @return [Array<Google::Apis::ContainerV1::NodeAffinity>]
|
@@ -7663,6 +7890,7 @@ module Google
|
|
7663
7890
|
|
7664
7891
|
# Update properties of this object
|
7665
7892
|
def update!(**args)
|
7893
|
+
@min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
|
7666
7894
|
@node_affinities = args[:node_affinities] if args.key?(:node_affinities)
|
7667
7895
|
end
|
7668
7896
|
end
|
@@ -7717,8 +7945,9 @@ module Google
|
|
7717
7945
|
attr_accessor :name
|
7718
7946
|
|
7719
7947
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
7720
|
-
#
|
7721
|
-
# field has been deprecated and replaced by
|
7948
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
7949
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
7950
|
+
# the name field.
|
7722
7951
|
# Corresponds to the JSON property `projectId`
|
7723
7952
|
# @return [String]
|
7724
7953
|
attr_accessor :project_id
|
@@ -7729,9 +7958,10 @@ module Google
|
|
7729
7958
|
attr_accessor :rotate_credentials
|
7730
7959
|
alias_method :rotate_credentials?, :rotate_credentials
|
7731
7960
|
|
7732
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
7733
|
-
#
|
7734
|
-
# been deprecated and replaced by the name
|
7961
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
7962
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
7963
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
7964
|
+
# field.
|
7735
7965
|
# Corresponds to the JSON property `zone`
|
7736
7966
|
# @return [String]
|
7737
7967
|
attr_accessor :zone
|
@@ -7933,8 +8163,9 @@ module Google
|
|
7933
8163
|
attr_accessor :name
|
7934
8164
|
|
7935
8165
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
7936
|
-
#
|
7937
|
-
# field has been deprecated and replaced by
|
8166
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
8167
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
8168
|
+
# the name field.
|
7938
8169
|
# Corresponds to the JSON property `projectId`
|
7939
8170
|
# @return [String]
|
7940
8171
|
attr_accessor :project_id
|
@@ -7945,9 +8176,10 @@ module Google
|
|
7945
8176
|
# @return [Google::Apis::ContainerV1::ClusterUpdate]
|
7946
8177
|
attr_accessor :update
|
7947
8178
|
|
7948
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
7949
|
-
#
|
7950
|
-
# been deprecated and replaced by the name
|
8179
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
8180
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
8181
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
8182
|
+
# field.
|
7951
8183
|
# Corresponds to the JSON property `zone`
|
7952
8184
|
# @return [String]
|
7953
8185
|
attr_accessor :zone
|
@@ -8014,15 +8246,17 @@ module Google
|
|
8014
8246
|
attr_accessor :name
|
8015
8247
|
|
8016
8248
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
8017
|
-
#
|
8018
|
-
# field has been deprecated and replaced by
|
8249
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
8250
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
8251
|
+
# the name field.
|
8019
8252
|
# Corresponds to the JSON property `projectId`
|
8020
8253
|
# @return [String]
|
8021
8254
|
attr_accessor :project_id
|
8022
8255
|
|
8023
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
8024
|
-
#
|
8025
|
-
# been deprecated and replaced by the name
|
8256
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
8257
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
8258
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
8259
|
+
# field.
|
8026
8260
|
# Corresponds to the JSON property `zone`
|
8027
8261
|
# @return [String]
|
8028
8262
|
attr_accessor :zone
|
@@ -8045,8 +8279,9 @@ module Google
|
|
8045
8279
|
class UpdateNodePoolRequest
|
8046
8280
|
include Google::Apis::Core::Hashable
|
8047
8281
|
|
8048
|
-
# A list of hardware accelerators to be attached to each node. See https
|
8049
|
-
#
|
8282
|
+
# A list of hardware accelerators to be attached to each node. See https://`$
|
8283
|
+
# universe.dns_names.final_documentation_domain`/compute/docs/gpus for more
|
8284
|
+
# information about support for GPUs.
|
8050
8285
|
# Corresponds to the JSON property `accelerators`
|
8051
8286
|
# @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
|
8052
8287
|
attr_accessor :accelerators
|
@@ -8111,9 +8346,9 @@ module Google
|
|
8111
8346
|
# @return [Google::Apis::ContainerV1::VirtualNic]
|
8112
8347
|
attr_accessor :gvnic
|
8113
8348
|
|
8114
|
-
# Required. The desired image type for the node pool. Please see https
|
8115
|
-
#
|
8116
|
-
# types.
|
8349
|
+
# Required. The desired image type for the node pool. Please see https://`$
|
8350
|
+
# universe.dns_names.final_documentation_domain`/kubernetes-engine/docs/concepts/
|
8351
|
+
# node-images for available image types.
|
8117
8352
|
# Corresponds to the JSON property `imageType`
|
8118
8353
|
# @return [String]
|
8119
8354
|
attr_accessor :image_type
|
@@ -8134,11 +8369,11 @@ module Google
|
|
8134
8369
|
# @return [Google::Apis::ContainerV1::LinuxNodeConfig]
|
8135
8370
|
attr_accessor :linux_node_config
|
8136
8371
|
|
8137
|
-
# The desired list of Google Compute Engine [zones](https
|
8138
|
-
# compute/docs/zones#available) in which the node
|
8139
|
-
# Changing the locations for a node pool will
|
8140
|
-
# created or removed from the node pool, depending
|
8141
|
-
# being added or removed.
|
8372
|
+
# The desired list of Google Compute Engine [zones](https://`$universe.dns_names.
|
8373
|
+
# final_documentation_domain`/compute/docs/zones#available) in which the node
|
8374
|
+
# pool's nodes should be located. Changing the locations for a node pool will
|
8375
|
+
# result in nodes being either created or removed from the node pool, depending
|
8376
|
+
# on whether locations are being added or removed.
|
8142
8377
|
# Corresponds to the JSON property `locations`
|
8143
8378
|
# @return [Array<String>]
|
8144
8379
|
attr_accessor :locations
|
@@ -8148,10 +8383,10 @@ module Google
|
|
8148
8383
|
# @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
|
8149
8384
|
attr_accessor :logging_config
|
8150
8385
|
|
8151
|
-
# Optional. The desired [Google Compute Engine machine type](https
|
8152
|
-
#
|
8153
|
-
# an upgrade operation that migrates the nodes in the
|
8154
|
-
# machine type.
|
8386
|
+
# Optional. The desired [Google Compute Engine machine type](https://`$universe.
|
8387
|
+
# dns_names.final_documentation_domain`/compute/docs/machine-types) for nodes in
|
8388
|
+
# the node pool. Initiates an upgrade operation that migrates the nodes in the
|
8389
|
+
# node pool to the specified machine type.
|
8155
8390
|
# Corresponds to the JSON property `machineType`
|
8156
8391
|
# @return [String]
|
8157
8392
|
attr_accessor :machine_type
|
@@ -8191,8 +8426,9 @@ module Google
|
|
8191
8426
|
attr_accessor :node_version
|
8192
8427
|
|
8193
8428
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
8194
|
-
#
|
8195
|
-
# field has been deprecated and replaced by
|
8429
|
+
# //`$universe.dns_names.final_documentation_domain`/resource-manager/docs/
|
8430
|
+
# creating-managing-projects). This field has been deprecated and replaced by
|
8431
|
+
# the name field.
|
8196
8432
|
# Corresponds to the JSON property `projectId`
|
8197
8433
|
# @return [String]
|
8198
8434
|
attr_accessor :project_id
|
@@ -8202,17 +8438,18 @@ module Google
|
|
8202
8438
|
# @return [Google::Apis::ContainerV1::QueuedProvisioning]
|
8203
8439
|
attr_accessor :queued_provisioning
|
8204
8440
|
|
8205
|
-
# Collection of [GCP labels](https
|
8206
|
-
# creating-managing-labels).
|
8441
|
+
# Collection of [GCP labels](https://`$universe.dns_names.
|
8442
|
+
# final_documentation_domain`/resource-manager/docs/creating-managing-labels).
|
8207
8443
|
# Corresponds to the JSON property `resourceLabels`
|
8208
8444
|
# @return [Google::Apis::ContainerV1::ResourceLabels]
|
8209
8445
|
attr_accessor :resource_labels
|
8210
8446
|
|
8211
8447
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
8212
8448
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
8213
|
-
# be according to specifications in https
|
8214
|
-
# firewalls-overview#specifications. A
|
8215
|
-
# specified. Existing tags will be
|
8449
|
+
# be according to specifications in https://`$universe.dns_names.
|
8450
|
+
# final_documentation_domain`/vpc/docs/tags-firewalls-overview#specifications. A
|
8451
|
+
# maximum of 5 tag key-value pairs can be specified. Existing tags will be
|
8452
|
+
# replaced with new values.
|
8216
8453
|
# Corresponds to the JSON property `resourceManagerTags`
|
8217
8454
|
# @return [Google::Apis::ContainerV1::ResourceManagerTags]
|
8218
8455
|
attr_accessor :resource_manager_tags
|
@@ -8283,9 +8520,10 @@ module Google
|
|
8283
8520
|
# @return [Google::Apis::ContainerV1::WorkloadMetadataConfig]
|
8284
8521
|
attr_accessor :workload_metadata_config
|
8285
8522
|
|
8286
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
8287
|
-
#
|
8288
|
-
# been deprecated and replaced by the name
|
8523
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://`$universe.
|
8524
|
+
# dns_names.final_documentation_domain`/compute/docs/zones#available) in which
|
8525
|
+
# the cluster resides. This field has been deprecated and replaced by the name
|
8526
|
+
# field.
|
8289
8527
|
# Corresponds to the JSON property `zone`
|
8290
8528
|
# @return [String]
|
8291
8529
|
attr_accessor :zone
|