google-apis-container_v1 0.106.0 → 0.108.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 +464 -357
- data/lib/google/apis/container_v1/gem_version.rb +2 -2
- data/lib/google/apis/container_v1/representations.rb +82 -0
- data/lib/google/apis/container_v1/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
|
|
@@ -604,8 +604,7 @@ module Google
|
|
|
604
604
|
# each node in the node pool. This should be of the form projects/[
|
|
605
605
|
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
|
606
606
|
# . For more information about protecting resources with Cloud KMS Keys please
|
|
607
|
-
# see: https
|
|
608
|
-
# disks/customer-managed-encryption
|
|
607
|
+
# see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
|
609
608
|
# Corresponds to the JSON property `bootDiskKmsKey`
|
|
610
609
|
# @return [String]
|
|
611
610
|
attr_accessor :boot_disk_kms_key
|
|
@@ -622,9 +621,8 @@ module Google
|
|
|
622
621
|
# @return [String]
|
|
623
622
|
attr_accessor :disk_type
|
|
624
623
|
|
|
625
|
-
# The image type to use for NAP created node. Please see https
|
|
626
|
-
#
|
|
627
|
-
# images for available image types.
|
|
624
|
+
# The image type to use for NAP created node. Please see https://cloud.google.
|
|
625
|
+
# com/kubernetes-engine/docs/concepts/node-images for available image types.
|
|
628
626
|
# Corresponds to the JSON property `imageType`
|
|
629
627
|
# @return [String]
|
|
630
628
|
attr_accessor :image_type
|
|
@@ -645,11 +643,11 @@ module Google
|
|
|
645
643
|
# instance may be scheduled on the specified or newer CPU platform. Applicable
|
|
646
644
|
# values are the friendly names of CPU platforms, such as minCpuPlatform: Intel
|
|
647
645
|
# Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how
|
|
648
|
-
# to specify min CPU platform](https
|
|
649
|
-
#
|
|
650
|
-
#
|
|
651
|
-
#
|
|
652
|
-
#
|
|
646
|
+
# to specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
|
647
|
+
# specify-min-cpu-platform). This field is deprecated, min_cpu_platform should
|
|
648
|
+
# be specified using `cloud.google.com/requested-min-cpu-platform` label
|
|
649
|
+
# selector on the pod. To unset the min cpu platform field pass "automatic" as
|
|
650
|
+
# field value.
|
|
653
651
|
# Corresponds to the JSON property `minCpuPlatform`
|
|
654
652
|
# @return [String]
|
|
655
653
|
attr_accessor :min_cpu_platform
|
|
@@ -956,17 +954,15 @@ module Google
|
|
|
956
954
|
attr_accessor :operation_id
|
|
957
955
|
|
|
958
956
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
959
|
-
#
|
|
960
|
-
#
|
|
961
|
-
# the name field.
|
|
957
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
958
|
+
# field has been deprecated and replaced by the name field.
|
|
962
959
|
# Corresponds to the JSON property `projectId`
|
|
963
960
|
# @return [String]
|
|
964
961
|
attr_accessor :project_id
|
|
965
962
|
|
|
966
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
967
|
-
#
|
|
968
|
-
#
|
|
969
|
-
# field.
|
|
963
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
964
|
+
# com/compute/docs/zones#available) in which the operation resides. This field
|
|
965
|
+
# has been deprecated and replaced by the name field.
|
|
970
966
|
# Corresponds to the JSON property `zone`
|
|
971
967
|
# @return [String]
|
|
972
968
|
attr_accessor :zone
|
|
@@ -995,9 +991,8 @@ module Google
|
|
|
995
991
|
# @return [Array<String>]
|
|
996
992
|
attr_accessor :fqdns
|
|
997
993
|
|
|
998
|
-
# GCPSecretManagerCertificateConfig configures a secret from [
|
|
999
|
-
#
|
|
1000
|
-
# manager).
|
|
994
|
+
# GCPSecretManagerCertificateConfig configures a secret from [Secret Manager](
|
|
995
|
+
# https://cloud.google.com/secret-manager).
|
|
1001
996
|
# Corresponds to the JSON property `gcpSecretManagerCertificateConfig`
|
|
1002
997
|
# @return [Google::Apis::ContainerV1::GcpSecretManagerCertificateConfig]
|
|
1003
998
|
attr_accessor :gcp_secret_manager_certificate_config
|
|
@@ -1013,6 +1008,55 @@ module Google
|
|
|
1013
1008
|
end
|
|
1014
1009
|
end
|
|
1015
1010
|
|
|
1011
|
+
# CertificateConfig configures certificate for the registry.
|
|
1012
|
+
class CertificateConfig
|
|
1013
|
+
include Google::Apis::Core::Hashable
|
|
1014
|
+
|
|
1015
|
+
# The URI configures a secret from [Secret Manager](https://cloud.google.com/
|
|
1016
|
+
# secret-manager) in the format "projects/$PROJECT_ID/secrets/$SECRET_NAME/
|
|
1017
|
+
# versions/$VERSION" for global secret or "projects/$PROJECT_ID/locations/$
|
|
1018
|
+
# REGION/secrets/$SECRET_NAME/versions/$VERSION" for regional secret. Version
|
|
1019
|
+
# can be fixed (e.g. "2") or "latest"
|
|
1020
|
+
# Corresponds to the JSON property `gcpSecretManagerSecretUri`
|
|
1021
|
+
# @return [String]
|
|
1022
|
+
attr_accessor :gcp_secret_manager_secret_uri
|
|
1023
|
+
|
|
1024
|
+
def initialize(**args)
|
|
1025
|
+
update!(**args)
|
|
1026
|
+
end
|
|
1027
|
+
|
|
1028
|
+
# Update properties of this object
|
|
1029
|
+
def update!(**args)
|
|
1030
|
+
@gcp_secret_manager_secret_uri = args[:gcp_secret_manager_secret_uri] if args.key?(:gcp_secret_manager_secret_uri)
|
|
1031
|
+
end
|
|
1032
|
+
end
|
|
1033
|
+
|
|
1034
|
+
# CertificateConfigPair configures pairs of certificates, which is used for
|
|
1035
|
+
# client certificate and key pairs under a registry.
|
|
1036
|
+
class CertificateConfigPair
|
|
1037
|
+
include Google::Apis::Core::Hashable
|
|
1038
|
+
|
|
1039
|
+
# CertificateConfig configures certificate for the registry.
|
|
1040
|
+
# Corresponds to the JSON property `cert`
|
|
1041
|
+
# @return [Google::Apis::ContainerV1::CertificateConfig]
|
|
1042
|
+
attr_accessor :cert
|
|
1043
|
+
|
|
1044
|
+
# CertificateConfig configures certificate for the registry.
|
|
1045
|
+
# Corresponds to the JSON property `key`
|
|
1046
|
+
# @return [Google::Apis::ContainerV1::CertificateConfig]
|
|
1047
|
+
attr_accessor :key
|
|
1048
|
+
|
|
1049
|
+
def initialize(**args)
|
|
1050
|
+
update!(**args)
|
|
1051
|
+
end
|
|
1052
|
+
|
|
1053
|
+
# Update properties of this object
|
|
1054
|
+
def update!(**args)
|
|
1055
|
+
@cert = args[:cert] if args.key?(:cert)
|
|
1056
|
+
@key = args[:key] if args.key?(:key)
|
|
1057
|
+
end
|
|
1058
|
+
end
|
|
1059
|
+
|
|
1016
1060
|
# CheckAutopilotCompatibilityResponse has a list of compatibility issues.
|
|
1017
1061
|
class CheckAutopilotCompatibilityResponse
|
|
1018
1062
|
include Google::Apis::Core::Hashable
|
|
@@ -1206,12 +1250,11 @@ module Google
|
|
|
1206
1250
|
# @return [Fixnum]
|
|
1207
1251
|
attr_accessor :current_node_count
|
|
1208
1252
|
|
|
1209
|
-
# Output only. Deprecated, use [NodePools.version](https
|
|
1210
|
-
#
|
|
1211
|
-
#
|
|
1212
|
-
#
|
|
1213
|
-
#
|
|
1214
|
-
# nodes.
|
|
1253
|
+
# Output only. Deprecated, use [NodePools.version](https://cloud.google.com/
|
|
1254
|
+
# kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools)
|
|
1255
|
+
# instead. The current version of the node software components. If they are
|
|
1256
|
+
# currently at multiple versions because they're in the process of being
|
|
1257
|
+
# upgraded, this reflects the minimum version of all nodes.
|
|
1215
1258
|
# Corresponds to the JSON property `currentNodeVersion`
|
|
1216
1259
|
# @return [String]
|
|
1217
1260
|
attr_accessor :current_node_version
|
|
@@ -1316,14 +1359,13 @@ module Google
|
|
|
1316
1359
|
attr_accessor :initial_cluster_version
|
|
1317
1360
|
|
|
1318
1361
|
# The number of nodes to create in this cluster. You must ensure that your
|
|
1319
|
-
# Compute Engine [resource quota](https
|
|
1320
|
-
#
|
|
1321
|
-
#
|
|
1322
|
-
#
|
|
1323
|
-
#
|
|
1324
|
-
# a
|
|
1325
|
-
# node_pool
|
|
1326
|
-
# initial_node_count instead.
|
|
1362
|
+
# Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is
|
|
1363
|
+
# sufficient for this number of instances. You must also have available firewall
|
|
1364
|
+
# and routes quota. For requests, this field should only be used in lieu of a "
|
|
1365
|
+
# node_pool" object, since this configuration (along with the "node_config")
|
|
1366
|
+
# will be used to create a "NodePool" object with an auto-generated name. Do not
|
|
1367
|
+
# use this and a node_pool at the same time. This field is deprecated, use
|
|
1368
|
+
# node_pool.initial_node_count instead.
|
|
1327
1369
|
# Corresponds to the JSON property `initialNodeCount`
|
|
1328
1370
|
# @return [Fixnum]
|
|
1329
1371
|
attr_accessor :initial_node_count
|
|
@@ -1348,26 +1390,23 @@ module Google
|
|
|
1348
1390
|
# @return [Google::Apis::ContainerV1::LegacyAbac]
|
|
1349
1391
|
attr_accessor :legacy_abac
|
|
1350
1392
|
|
|
1351
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
1352
|
-
#
|
|
1353
|
-
# available)
|
|
1354
|
-
#
|
|
1355
|
-
# resides.
|
|
1393
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
1394
|
+
# com/compute/docs/regions-zones/regions-zones#available) or [region](https://
|
|
1395
|
+
# cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
|
|
1396
|
+
# the cluster resides.
|
|
1356
1397
|
# Corresponds to the JSON property `location`
|
|
1357
1398
|
# @return [String]
|
|
1358
1399
|
attr_accessor :location
|
|
1359
1400
|
|
|
1360
|
-
# The list of Google Compute Engine [zones](https
|
|
1361
|
-
#
|
|
1362
|
-
#
|
|
1363
|
-
#
|
|
1364
|
-
#
|
|
1365
|
-
#
|
|
1366
|
-
#
|
|
1367
|
-
#
|
|
1368
|
-
#
|
|
1369
|
-
# locations) of all node pools and will result in nodes being added and/or
|
|
1370
|
-
# removed.
|
|
1401
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
1402
|
+
# docs/zones#available) in which the cluster's nodes should be located. This
|
|
1403
|
+
# field provides a default value if [NodePool.Locations](https://cloud.google.
|
|
1404
|
+
# com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.
|
|
1405
|
+
# nodePools#NodePool.FIELDS.locations) are not specified during node pool
|
|
1406
|
+
# creation. Warning: changing cluster locations will update the [NodePool.
|
|
1407
|
+
# Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/
|
|
1408
|
+
# projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node
|
|
1409
|
+
# pools and will result in nodes being added and/or removed.
|
|
1371
1410
|
# Corresponds to the JSON property `locations`
|
|
1372
1411
|
# @return [Array<String>]
|
|
1373
1412
|
attr_accessor :locations
|
|
@@ -1436,10 +1475,9 @@ module Google
|
|
|
1436
1475
|
# @return [String]
|
|
1437
1476
|
attr_accessor :name
|
|
1438
1477
|
|
|
1439
|
-
# The name of the Google Compute Engine [network](https
|
|
1440
|
-
#
|
|
1441
|
-
#
|
|
1442
|
-
# will be used.
|
|
1478
|
+
# The name of the Google Compute Engine [network](https://cloud.google.com/
|
|
1479
|
+
# compute/docs/networks-and-firewalls#networks) to which the cluster is
|
|
1480
|
+
# connected. If left unspecified, the `default` network will be used.
|
|
1443
1481
|
# Corresponds to the JSON property `network`
|
|
1444
1482
|
# @return [String]
|
|
1445
1483
|
attr_accessor :network
|
|
@@ -1586,9 +1624,8 @@ module Google
|
|
|
1586
1624
|
# @return [String]
|
|
1587
1625
|
attr_accessor :status_message
|
|
1588
1626
|
|
|
1589
|
-
# The name of the Google Compute Engine [subnetwork](https
|
|
1590
|
-
#
|
|
1591
|
-
# cluster is connected.
|
|
1627
|
+
# The name of the Google Compute Engine [subnetwork](https://cloud.google.com/
|
|
1628
|
+
# compute/docs/subnetworks) to which the cluster is connected.
|
|
1592
1629
|
# Corresponds to the JSON property `subnetwork`
|
|
1593
1630
|
# @return [String]
|
|
1594
1631
|
attr_accessor :subnetwork
|
|
@@ -1619,9 +1656,9 @@ module Google
|
|
|
1619
1656
|
# @return [Google::Apis::ContainerV1::WorkloadIdentityConfig]
|
|
1620
1657
|
attr_accessor :workload_identity_config
|
|
1621
1658
|
|
|
1622
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
1623
|
-
#
|
|
1624
|
-
#
|
|
1659
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
1660
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field is
|
|
1661
|
+
# deprecated, use location instead.
|
|
1625
1662
|
# Corresponds to the JSON property `zone`
|
|
1626
1663
|
# @return [String]
|
|
1627
1664
|
attr_accessor :zone
|
|
@@ -1720,9 +1757,8 @@ module Google
|
|
|
1720
1757
|
class ClusterAutoscaling
|
|
1721
1758
|
include Google::Apis::Core::Hashable
|
|
1722
1759
|
|
|
1723
|
-
# The list of Google Compute Engine [zones](https
|
|
1724
|
-
#
|
|
1725
|
-
# NodePool's nodes can be created by NAP.
|
|
1760
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
1761
|
+
# docs/zones#available) in which the NodePool's nodes can be created by NAP.
|
|
1726
1762
|
# Corresponds to the JSON property `autoprovisioningLocations`
|
|
1727
1763
|
# @return [Array<String>]
|
|
1728
1764
|
attr_accessor :autoprovisioning_locations
|
|
@@ -1985,11 +2021,11 @@ module Google
|
|
|
1985
2021
|
# @return [Google::Apis::ContainerV1::IlbSubsettingConfig]
|
|
1986
2022
|
attr_accessor :desired_l4ilb_subsetting_config
|
|
1987
2023
|
|
|
1988
|
-
# The desired list of Google Compute Engine [zones](https
|
|
1989
|
-
#
|
|
1990
|
-
#
|
|
1991
|
-
#
|
|
1992
|
-
#
|
|
2024
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
|
2025
|
+
# compute/docs/zones#available) in which the cluster's nodes should be located.
|
|
2026
|
+
# This list must always include the cluster's primary zone. Warning: changing
|
|
2027
|
+
# cluster locations will update the locations of all node pools and will result
|
|
2028
|
+
# in nodes being added and/or removed.
|
|
1993
2029
|
# Corresponds to the JSON property `desiredLocations`
|
|
1994
2030
|
# @return [Array<String>]
|
|
1995
2031
|
attr_accessor :desired_locations
|
|
@@ -2083,10 +2119,9 @@ module Google
|
|
|
2083
2119
|
|
|
2084
2120
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
2085
2121
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
2086
|
-
# be according to specifications in https
|
|
2087
|
-
#
|
|
2088
|
-
#
|
|
2089
|
-
# replaced with new values.
|
|
2122
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
2123
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
2124
|
+
# specified. Existing tags will be replaced with new values.
|
|
2090
2125
|
# Corresponds to the JSON property `desiredNodePoolAutoConfigResourceManagerTags`
|
|
2091
2126
|
# @return [Google::Apis::ContainerV1::ResourceManagerTags]
|
|
2092
2127
|
attr_accessor :desired_node_pool_auto_config_resource_manager_tags
|
|
@@ -2396,17 +2431,15 @@ module Google
|
|
|
2396
2431
|
attr_accessor :name
|
|
2397
2432
|
|
|
2398
2433
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
2399
|
-
#
|
|
2400
|
-
#
|
|
2401
|
-
# the name field.
|
|
2434
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
2435
|
+
# field has been deprecated and replaced by the name field.
|
|
2402
2436
|
# Corresponds to the JSON property `projectId`
|
|
2403
2437
|
# @return [String]
|
|
2404
2438
|
attr_accessor :project_id
|
|
2405
2439
|
|
|
2406
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
2407
|
-
#
|
|
2408
|
-
#
|
|
2409
|
-
# field.
|
|
2440
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
2441
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
2442
|
+
# been deprecated and replaced by the name field.
|
|
2410
2443
|
# Corresponds to the JSON property `zone`
|
|
2411
2444
|
# @return [String]
|
|
2412
2445
|
attr_accessor :zone
|
|
@@ -2561,6 +2594,13 @@ module Google
|
|
|
2561
2594
|
# @return [Google::Apis::ContainerV1::PrivateRegistryAccessConfig]
|
|
2562
2595
|
attr_accessor :private_registry_access_config
|
|
2563
2596
|
|
|
2597
|
+
# RegistryHostConfig configures containerd registry host configuration. Each
|
|
2598
|
+
# registry_hosts represents a hosts.toml file. At most 25 registry_hosts are
|
|
2599
|
+
# allowed.
|
|
2600
|
+
# Corresponds to the JSON property `registryHosts`
|
|
2601
|
+
# @return [Array<Google::Apis::ContainerV1::RegistryHostConfig>]
|
|
2602
|
+
attr_accessor :registry_hosts
|
|
2603
|
+
|
|
2564
2604
|
# Defines writable cgroups configuration.
|
|
2565
2605
|
# Corresponds to the JSON property `writableCgroups`
|
|
2566
2606
|
# @return [Google::Apis::ContainerV1::WritableCgroups]
|
|
@@ -2573,6 +2613,7 @@ module Google
|
|
|
2573
2613
|
# Update properties of this object
|
|
2574
2614
|
def update!(**args)
|
|
2575
2615
|
@private_registry_access_config = args[:private_registry_access_config] if args.key?(:private_registry_access_config)
|
|
2616
|
+
@registry_hosts = args[:registry_hosts] if args.key?(:registry_hosts)
|
|
2576
2617
|
@writable_cgroups = args[:writable_cgroups] if args.key?(:writable_cgroups)
|
|
2577
2618
|
end
|
|
2578
2619
|
end
|
|
@@ -2638,17 +2679,15 @@ module Google
|
|
|
2638
2679
|
attr_accessor :parent
|
|
2639
2680
|
|
|
2640
2681
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
2641
|
-
#
|
|
2642
|
-
#
|
|
2643
|
-
# the parent field.
|
|
2682
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
2683
|
+
# field has been deprecated and replaced by the parent field.
|
|
2644
2684
|
# Corresponds to the JSON property `projectId`
|
|
2645
2685
|
# @return [String]
|
|
2646
2686
|
attr_accessor :project_id
|
|
2647
2687
|
|
|
2648
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
2649
|
-
#
|
|
2650
|
-
#
|
|
2651
|
-
# field.
|
|
2688
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
2689
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
2690
|
+
# been deprecated and replaced by the parent field.
|
|
2652
2691
|
# Corresponds to the JSON property `zone`
|
|
2653
2692
|
# @return [String]
|
|
2654
2693
|
attr_accessor :zone
|
|
@@ -2693,17 +2732,15 @@ module Google
|
|
|
2693
2732
|
attr_accessor :parent
|
|
2694
2733
|
|
|
2695
2734
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
2696
|
-
#
|
|
2697
|
-
#
|
|
2698
|
-
# the parent field.
|
|
2735
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
2736
|
+
# field has been deprecated and replaced by the parent field.
|
|
2699
2737
|
# Corresponds to the JSON property `projectId`
|
|
2700
2738
|
# @return [String]
|
|
2701
2739
|
attr_accessor :project_id
|
|
2702
2740
|
|
|
2703
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
2704
|
-
#
|
|
2705
|
-
#
|
|
2706
|
-
# field.
|
|
2741
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
2742
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
2743
|
+
# been deprecated and replaced by the parent field.
|
|
2707
2744
|
# Corresponds to the JSON property `zone`
|
|
2708
2745
|
# @return [String]
|
|
2709
2746
|
attr_accessor :zone
|
|
@@ -3037,15 +3074,13 @@ module Google
|
|
|
3037
3074
|
# used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds,
|
|
3038
3075
|
# zero (or unset) means to disable using local SSDs as ephemeral storage. The
|
|
3039
3076
|
# limit for this value is dependent upon the maximum number of disk available on
|
|
3040
|
-
# a machine per zone. See: https
|
|
3041
|
-
#
|
|
3042
|
-
#
|
|
3043
|
-
#
|
|
3044
|
-
#
|
|
3045
|
-
#
|
|
3046
|
-
#
|
|
3047
|
-
# final_documentation_domain`/compute/docs/disks/local-ssd#
|
|
3048
|
-
# choose_number_local_ssds for more info.
|
|
3077
|
+
# a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd
|
|
3078
|
+
# for more information. 2. For Gen3 machines which dictate a specific number of
|
|
3079
|
+
# local ssds, zero (or unset) means to use the default number of local ssds that
|
|
3080
|
+
# goes with that machine type. For example, for a c3-standard-8-lssd machine, 2
|
|
3081
|
+
# local ssds would be provisioned. For c3-standard-8 (which doesn't support
|
|
3082
|
+
# local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/
|
|
3083
|
+
# disks/local-ssd#choose_number_local_ssds for more info.
|
|
3049
3084
|
# Corresponds to the JSON property `localSsdCount`
|
|
3050
3085
|
# @return [Fixnum]
|
|
3051
3086
|
attr_accessor :local_ssd_count
|
|
@@ -3357,9 +3392,8 @@ module Google
|
|
|
3357
3392
|
end
|
|
3358
3393
|
end
|
|
3359
3394
|
|
|
3360
|
-
# GCPSecretManagerCertificateConfig configures a secret from [
|
|
3361
|
-
#
|
|
3362
|
-
# manager).
|
|
3395
|
+
# GCPSecretManagerCertificateConfig configures a secret from [Secret Manager](
|
|
3396
|
+
# https://cloud.google.com/secret-manager).
|
|
3363
3397
|
class GcpSecretManagerCertificateConfig
|
|
3364
3398
|
include Google::Apis::Core::Hashable
|
|
3365
3399
|
|
|
@@ -3694,6 +3728,73 @@ module Google
|
|
|
3694
3728
|
end
|
|
3695
3729
|
end
|
|
3696
3730
|
|
|
3731
|
+
# HostConfig configures the registry host under a given Server.
|
|
3732
|
+
class HostConfig
|
|
3733
|
+
include Google::Apis::Core::Hashable
|
|
3734
|
+
|
|
3735
|
+
# CA configures the registry host certificate.
|
|
3736
|
+
# Corresponds to the JSON property `ca`
|
|
3737
|
+
# @return [Array<Google::Apis::ContainerV1::CertificateConfig>]
|
|
3738
|
+
attr_accessor :ca
|
|
3739
|
+
|
|
3740
|
+
# Capabilities represent the capabilities of the registry host, specifying what
|
|
3741
|
+
# operations a host is capable of performing. If not set, containerd enables all
|
|
3742
|
+
# capabilities by default.
|
|
3743
|
+
# Corresponds to the JSON property `capabilities`
|
|
3744
|
+
# @return [Array<String>]
|
|
3745
|
+
attr_accessor :capabilities
|
|
3746
|
+
|
|
3747
|
+
# Client configures the registry host client certificate and key.
|
|
3748
|
+
# Corresponds to the JSON property `client`
|
|
3749
|
+
# @return [Array<Google::Apis::ContainerV1::CertificateConfigPair>]
|
|
3750
|
+
attr_accessor :client
|
|
3751
|
+
|
|
3752
|
+
# Specifies the maximum duration allowed for a connection attempt to complete. A
|
|
3753
|
+
# shorter timeout helps reduce delays when falling back to the original registry
|
|
3754
|
+
# if the mirror is unreachable. Maximum allowed value is 180s. If not set,
|
|
3755
|
+
# containerd sets default 30s. The value should be a decimal number of seconds
|
|
3756
|
+
# with an `s` suffix.
|
|
3757
|
+
# Corresponds to the JSON property `dialTimeout`
|
|
3758
|
+
# @return [String]
|
|
3759
|
+
attr_accessor :dial_timeout
|
|
3760
|
+
|
|
3761
|
+
# Header configures the registry host headers.
|
|
3762
|
+
# Corresponds to the JSON property `header`
|
|
3763
|
+
# @return [Array<Google::Apis::ContainerV1::RegistryHeader>]
|
|
3764
|
+
attr_accessor :header
|
|
3765
|
+
|
|
3766
|
+
# Host configures the registry host/mirror. It supports fully qualified domain
|
|
3767
|
+
# names (FQDN) and IP addresses: Specifying port is supported. Wildcards are NOT
|
|
3768
|
+
# supported. Examples: - my.customdomain.com - 10.0.1.2:5000
|
|
3769
|
+
# Corresponds to the JSON property `host`
|
|
3770
|
+
# @return [String]
|
|
3771
|
+
attr_accessor :host
|
|
3772
|
+
|
|
3773
|
+
# OverridePath is used to indicate the host's API root endpoint is defined in
|
|
3774
|
+
# the URL path rather than by the API specification. This may be used with non-
|
|
3775
|
+
# compliant OCI registries which are missing the /v2 prefix. If not set,
|
|
3776
|
+
# containerd sets default false.
|
|
3777
|
+
# Corresponds to the JSON property `overridePath`
|
|
3778
|
+
# @return [Boolean]
|
|
3779
|
+
attr_accessor :override_path
|
|
3780
|
+
alias_method :override_path?, :override_path
|
|
3781
|
+
|
|
3782
|
+
def initialize(**args)
|
|
3783
|
+
update!(**args)
|
|
3784
|
+
end
|
|
3785
|
+
|
|
3786
|
+
# Update properties of this object
|
|
3787
|
+
def update!(**args)
|
|
3788
|
+
@ca = args[:ca] if args.key?(:ca)
|
|
3789
|
+
@capabilities = args[:capabilities] if args.key?(:capabilities)
|
|
3790
|
+
@client = args[:client] if args.key?(:client)
|
|
3791
|
+
@dial_timeout = args[:dial_timeout] if args.key?(:dial_timeout)
|
|
3792
|
+
@header = args[:header] if args.key?(:header)
|
|
3793
|
+
@host = args[:host] if args.key?(:host)
|
|
3794
|
+
@override_path = args[:override_path] if args.key?(:override_path)
|
|
3795
|
+
end
|
|
3796
|
+
end
|
|
3797
|
+
|
|
3697
3798
|
# RFC-2616: cache control support
|
|
3698
3799
|
class HttpCacheControlResponseHeader
|
|
3699
3800
|
include Google::Apis::Core::Hashable
|
|
@@ -4411,18 +4512,17 @@ module Google
|
|
|
4411
4512
|
include Google::Apis::Core::Hashable
|
|
4412
4513
|
|
|
4413
4514
|
# Number of local NVMe SSDs to use. The limit for this value is dependent upon
|
|
4414
|
-
# the maximum number of disk available on a machine per zone. See: https
|
|
4415
|
-
#
|
|
4416
|
-
#
|
|
4417
|
-
#
|
|
4418
|
-
#
|
|
4419
|
-
#
|
|
4420
|
-
#
|
|
4421
|
-
#
|
|
4422
|
-
#
|
|
4423
|
-
#
|
|
4424
|
-
#
|
|
4425
|
-
# choose_number_local_ssds for more info.
|
|
4515
|
+
# the maximum number of disk available on a machine per zone. See: https://cloud.
|
|
4516
|
+
# google.com/compute/docs/disks/local-ssd for more information. A zero (or unset)
|
|
4517
|
+
# value has different meanings depending on machine type being used: 1. For pre-
|
|
4518
|
+
# Gen3 machines, which support flexible numbers of local ssds, zero (or unset)
|
|
4519
|
+
# means to disable using local SSDs as ephemeral storage. 2. For Gen3 machines
|
|
4520
|
+
# which dictate a specific number of local ssds, zero (or unset) means to use
|
|
4521
|
+
# the default number of local ssds that goes with that machine type. For example,
|
|
4522
|
+
# for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-
|
|
4523
|
+
# standard-8 (which doesn't support local ssds), 0 will be provisioned. See
|
|
4524
|
+
# https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
|
|
4525
|
+
# for more info.
|
|
4426
4526
|
# Corresponds to the JSON property `localSsdCount`
|
|
4427
4527
|
# @return [Fixnum]
|
|
4428
4528
|
attr_accessor :local_ssd_count
|
|
@@ -4502,7 +4602,10 @@ module Google
|
|
|
4502
4602
|
# port 6988. This serves as a workaround for a port conflict with the gke-
|
|
4503
4603
|
# metadata-server. This field is required ONLY under the following conditions: 1.
|
|
4504
4604
|
# The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting
|
|
4505
|
-
# to a Lustre instance that has the 'gke-support-enabled' flag.
|
|
4605
|
+
# to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This
|
|
4606
|
+
# flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless
|
|
4607
|
+
# you are connecting to a Lustre instance that has the `gke-support-enabled`
|
|
4608
|
+
# flag.
|
|
4506
4609
|
# Corresponds to the JSON property `enableLegacyLustrePort`
|
|
4507
4610
|
# @return [Boolean]
|
|
4508
4611
|
attr_accessor :enable_legacy_lustre_port
|
|
@@ -4672,9 +4775,8 @@ module Google
|
|
|
4672
4775
|
# strong password. If a password is provided for cluster creation, username must
|
|
4673
4776
|
# be non-empty. Warning: basic authentication is deprecated, and will be removed
|
|
4674
4777
|
# in GKE control plane versions 1.19 and newer. For a list of recommended
|
|
4675
|
-
# authentication methods, see: https
|
|
4676
|
-
#
|
|
4677
|
-
# authentication
|
|
4778
|
+
# authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/
|
|
4779
|
+
# how-to/api-server-authentication
|
|
4678
4780
|
# Corresponds to the JSON property `password`
|
|
4679
4781
|
# @return [String]
|
|
4680
4782
|
attr_accessor :password
|
|
@@ -4684,8 +4786,8 @@ module Google
|
|
|
4684
4786
|
# username unspecified (or setting it to the empty string). Warning: basic
|
|
4685
4787
|
# authentication is deprecated, and will be removed in GKE control plane
|
|
4686
4788
|
# versions 1.19 and newer. For a list of recommended authentication methods, see:
|
|
4687
|
-
# https
|
|
4688
|
-
#
|
|
4789
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-
|
|
4790
|
+
# authentication
|
|
4689
4791
|
# Corresponds to the JSON property `username`
|
|
4690
4792
|
# @return [String]
|
|
4691
4793
|
attr_accessor :username
|
|
@@ -4983,10 +5085,9 @@ module Google
|
|
|
4983
5085
|
# @return [String]
|
|
4984
5086
|
attr_accessor :in_transit_encryption_config
|
|
4985
5087
|
|
|
4986
|
-
# Output only. The relative name of the Google Compute Engine [network](https
|
|
4987
|
-
#
|
|
4988
|
-
#
|
|
4989
|
-
# project/global/networks/my-network
|
|
5088
|
+
# Output only. The relative name of the Google Compute Engine [network](https://
|
|
5089
|
+
# cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
|
|
5090
|
+
# cluster is connected. Example: projects/my-project/global/networks/my-network
|
|
4990
5091
|
# Corresponds to the JSON property `network`
|
|
4991
5092
|
# @return [String]
|
|
4992
5093
|
attr_accessor :network
|
|
@@ -5008,9 +5109,8 @@ module Google
|
|
|
5008
5109
|
attr_accessor :service_external_ips_config
|
|
5009
5110
|
|
|
5010
5111
|
# Output only. The relative name of the Google Compute Engine [subnetwork](https:
|
|
5011
|
-
#
|
|
5012
|
-
#
|
|
5013
|
-
# subnetworks/my-subnet
|
|
5112
|
+
# //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
|
|
5113
|
+
# Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
|
|
5014
5114
|
# Corresponds to the JSON property `subnetwork`
|
|
5015
5115
|
# @return [String]
|
|
5016
5116
|
attr_accessor :subnetwork
|
|
@@ -5149,9 +5249,8 @@ module Google
|
|
|
5149
5249
|
end
|
|
5150
5250
|
|
|
5151
5251
|
# Specifies the NodeAffinity key, values, and affinity operator according to [
|
|
5152
|
-
# shared sole tenant node group affinities](https
|
|
5153
|
-
#
|
|
5154
|
-
# node_affinity_and_anti-affinity).
|
|
5252
|
+
# shared sole tenant node group affinities](https://cloud.google.com/compute/
|
|
5253
|
+
# docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity).
|
|
5155
5254
|
class NodeAffinity
|
|
5156
5255
|
include Google::Apis::Core::Hashable
|
|
5157
5256
|
|
|
@@ -5188,9 +5287,8 @@ module Google
|
|
|
5188
5287
|
class NodeConfig
|
|
5189
5288
|
include Google::Apis::Core::Hashable
|
|
5190
5289
|
|
|
5191
|
-
# A list of hardware accelerators to be attached to each node. See https
|
|
5192
|
-
#
|
|
5193
|
-
# information about support for GPUs.
|
|
5290
|
+
# A list of hardware accelerators to be attached to each node. See https://cloud.
|
|
5291
|
+
# google.com/compute/docs/gpus for more information about support for GPUs.
|
|
5194
5292
|
# Corresponds to the JSON property `accelerators`
|
|
5195
5293
|
# @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
|
|
5196
5294
|
attr_accessor :accelerators
|
|
@@ -5209,8 +5307,7 @@ module Google
|
|
|
5209
5307
|
# each node in the node pool. This should be of the form projects/[
|
|
5210
5308
|
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
|
5211
5309
|
# . For more information about protecting resources with Cloud KMS Keys please
|
|
5212
|
-
# see: https
|
|
5213
|
-
# disks/customer-managed-encryption
|
|
5310
|
+
# see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
|
5214
5311
|
# Corresponds to the JSON property `bootDiskKmsKey`
|
|
5215
5312
|
# @return [String]
|
|
5216
5313
|
attr_accessor :boot_disk_kms_key
|
|
@@ -5281,9 +5378,8 @@ module Google
|
|
|
5281
5378
|
attr_accessor :gvnic
|
|
5282
5379
|
|
|
5283
5380
|
# The image type to use for this node. Note that for a given image type, the
|
|
5284
|
-
# latest version of it will be used. Please see https
|
|
5285
|
-
#
|
|
5286
|
-
# available image types.
|
|
5381
|
+
# latest version of it will be used. Please see https://cloud.google.com/
|
|
5382
|
+
# kubernetes-engine/docs/concepts/node-images for available image types.
|
|
5287
5383
|
# Corresponds to the JSON property `imageType`
|
|
5288
5384
|
# @return [String]
|
|
5289
5385
|
attr_accessor :image_type
|
|
@@ -5317,8 +5413,8 @@ module Google
|
|
|
5317
5413
|
|
|
5318
5414
|
# The number of local SSD disks to be attached to the node. The limit for this
|
|
5319
5415
|
# value is dependent upon the maximum number of disks available on a machine per
|
|
5320
|
-
# zone. See: https
|
|
5321
|
-
#
|
|
5416
|
+
# zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
|
|
5417
|
+
# information.
|
|
5322
5418
|
# Corresponds to the JSON property `localSsdCount`
|
|
5323
5419
|
# @return [Fixnum]
|
|
5324
5420
|
attr_accessor :local_ssd_count
|
|
@@ -5334,9 +5430,9 @@ module Google
|
|
|
5334
5430
|
# @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
|
|
5335
5431
|
attr_accessor :logging_config
|
|
5336
5432
|
|
|
5337
|
-
# The name of a Google Compute Engine [machine type](https
|
|
5338
|
-
#
|
|
5339
|
-
#
|
|
5433
|
+
# The name of a Google Compute Engine [machine type](https://cloud.google.com/
|
|
5434
|
+
# compute/docs/machine-types) If unspecified, the default machine type is `e2-
|
|
5435
|
+
# medium`.
|
|
5340
5436
|
# Corresponds to the JSON property `machineType`
|
|
5341
5437
|
# @return [String]
|
|
5342
5438
|
attr_accessor :machine_type
|
|
@@ -5369,16 +5465,15 @@ module Google
|
|
|
5369
5465
|
# scheduled on the specified or newer CPU platform. Applicable values are the
|
|
5370
5466
|
# friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
|
|
5371
5467
|
# minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
|
|
5372
|
-
# specify min CPU platform](https
|
|
5373
|
-
#
|
|
5468
|
+
# specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
|
5469
|
+
# specify-min-cpu-platform)
|
|
5374
5470
|
# Corresponds to the JSON property `minCpuPlatform`
|
|
5375
5471
|
# @return [String]
|
|
5376
5472
|
attr_accessor :min_cpu_platform
|
|
5377
5473
|
|
|
5378
5474
|
# Setting this field will assign instances of this pool to run on the specified
|
|
5379
5475
|
# node group. This is useful for running workloads on [sole tenant nodes](https:/
|
|
5380
|
-
#
|
|
5381
|
-
# tenant-nodes).
|
|
5476
|
+
# /cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
|
|
5382
5477
|
# Corresponds to the JSON property `nodeGroup`
|
|
5383
5478
|
# @return [String]
|
|
5384
5479
|
attr_accessor :node_group
|
|
@@ -5388,25 +5483,25 @@ module Google
|
|
|
5388
5483
|
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
|
5389
5484
|
# compute` is required for mounting persistent storage on your nodes. * `https://
|
|
5390
5485
|
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
|
5391
|
-
# with **gcr.io** (the [
|
|
5392
|
-
#
|
|
5393
|
-
#
|
|
5394
|
-
#
|
|
5486
|
+
# with **gcr.io** (the [Artifact Registry](https://cloud.google.com/artifact-
|
|
5487
|
+
# registry/)). If unspecified, no scopes are added, unless Cloud Logging or
|
|
5488
|
+
# Cloud Monitoring are enabled, in which case their required scopes will be
|
|
5489
|
+
# added.
|
|
5395
5490
|
# Corresponds to the JSON property `oauthScopes`
|
|
5396
5491
|
# @return [Array<String>]
|
|
5397
5492
|
attr_accessor :oauth_scopes
|
|
5398
5493
|
|
|
5399
|
-
# Whether the nodes are created as preemptible VM instances. See: https
|
|
5400
|
-
#
|
|
5401
|
-
# preemptible
|
|
5494
|
+
# Whether the nodes are created as preemptible VM instances. See: https://cloud.
|
|
5495
|
+
# google.com/compute/docs/instances/preemptible for more information about
|
|
5496
|
+
# preemptible VM instances.
|
|
5402
5497
|
# Corresponds to the JSON property `preemptible`
|
|
5403
5498
|
# @return [Boolean]
|
|
5404
5499
|
attr_accessor :preemptible
|
|
5405
5500
|
alias_method :preemptible?, :preemptible
|
|
5406
5501
|
|
|
5407
|
-
# [ReservationAffinity](https
|
|
5408
|
-
#
|
|
5409
|
-
#
|
|
5502
|
+
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
|
5503
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
|
5504
|
+
# instances could take capacity from.
|
|
5410
5505
|
# Corresponds to the JSON property `reservationAffinity`
|
|
5411
5506
|
# @return [Google::Apis::ContainerV1::ReservationAffinity]
|
|
5412
5507
|
attr_accessor :reservation_affinity
|
|
@@ -5419,10 +5514,9 @@ module Google
|
|
|
5419
5514
|
|
|
5420
5515
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
5421
5516
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
5422
|
-
# be according to specifications in https
|
|
5423
|
-
#
|
|
5424
|
-
#
|
|
5425
|
-
# replaced with new values.
|
|
5517
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
5518
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
5519
|
+
# specified. Existing tags will be replaced with new values.
|
|
5426
5520
|
# Corresponds to the JSON property `resourceManagerTags`
|
|
5427
5521
|
# @return [Google::Apis::ContainerV1::ResourceManagerTags]
|
|
5428
5522
|
attr_accessor :resource_manager_tags
|
|
@@ -6026,30 +6120,27 @@ module Google
|
|
|
6026
6120
|
attr_accessor :etag
|
|
6027
6121
|
|
|
6028
6122
|
# The initial node count for the pool. You must ensure that your Compute Engine [
|
|
6029
|
-
# resource quota](https
|
|
6030
|
-
#
|
|
6031
|
-
#
|
|
6123
|
+
# resource quota](https://cloud.google.com/compute/quotas) is sufficient for
|
|
6124
|
+
# this number of instances. You must also have available firewall and routes
|
|
6125
|
+
# quota.
|
|
6032
6126
|
# Corresponds to the JSON property `initialNodeCount`
|
|
6033
6127
|
# @return [Fixnum]
|
|
6034
6128
|
attr_accessor :initial_node_count
|
|
6035
6129
|
|
|
6036
|
-
# Output only. The resource URLs of the [managed instance groups](https
|
|
6037
|
-
#
|
|
6038
|
-
#
|
|
6039
|
-
#
|
|
6040
|
-
# green resources.
|
|
6130
|
+
# Output only. The resource URLs of the [managed instance groups](https://cloud.
|
|
6131
|
+
# google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
|
|
6132
|
+
# associated with this node pool. During the node pool blue-green upgrade
|
|
6133
|
+
# operation, the URLs contain both blue and green resources.
|
|
6041
6134
|
# Corresponds to the JSON property `instanceGroupUrls`
|
|
6042
6135
|
# @return [Array<String>]
|
|
6043
6136
|
attr_accessor :instance_group_urls
|
|
6044
6137
|
|
|
6045
|
-
# The list of Google Compute Engine [zones](https
|
|
6046
|
-
#
|
|
6047
|
-
#
|
|
6048
|
-
#
|
|
6049
|
-
#
|
|
6050
|
-
# locations
|
|
6051
|
-
# Warning: changing node pool locations will result in nodes being added and/or
|
|
6052
|
-
# removed.
|
|
6138
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
6139
|
+
# docs/zones#available) in which the NodePool's nodes should be located. If this
|
|
6140
|
+
# value is unspecified during node pool creation, the [Cluster.Locations](https:/
|
|
6141
|
+
# /cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.
|
|
6142
|
+
# clusters#Cluster.FIELDS.locations) value will be used, instead. Warning:
|
|
6143
|
+
# changing node pool locations will result in nodes being added and/or removed.
|
|
6053
6144
|
# Corresponds to the JSON property `locations`
|
|
6054
6145
|
# @return [Array<String>]
|
|
6055
6146
|
attr_accessor :locations
|
|
@@ -6148,9 +6239,8 @@ module Google
|
|
|
6148
6239
|
attr_accessor :upgrade_settings
|
|
6149
6240
|
|
|
6150
6241
|
# The version of Kubernetes running on this NodePool's nodes. If unspecified, it
|
|
6151
|
-
# defaults as described [here](https
|
|
6152
|
-
#
|
|
6153
|
-
# specifying_node_version).
|
|
6242
|
+
# defaults as described [here](https://cloud.google.com/kubernetes-engine/
|
|
6243
|
+
# versioning#specifying_node_version).
|
|
6154
6244
|
# Corresponds to the JSON property `version`
|
|
6155
6245
|
# @return [String]
|
|
6156
6246
|
attr_accessor :version
|
|
@@ -6209,10 +6299,9 @@ module Google
|
|
|
6209
6299
|
|
|
6210
6300
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
6211
6301
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
6212
|
-
# be according to specifications in https
|
|
6213
|
-
#
|
|
6214
|
-
#
|
|
6215
|
-
# replaced with new values.
|
|
6302
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
6303
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
6304
|
+
# specified. Existing tags will be replaced with new values.
|
|
6216
6305
|
# Corresponds to the JSON property `resourceManagerTags`
|
|
6217
6306
|
# @return [Google::Apis::ContainerV1::ResourceManagerTags]
|
|
6218
6307
|
attr_accessor :resource_manager_tags
|
|
@@ -6493,11 +6582,10 @@ module Google
|
|
|
6493
6582
|
# @return [Google::Apis::ContainerV1::Status]
|
|
6494
6583
|
attr_accessor :error
|
|
6495
6584
|
|
|
6496
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
6497
|
-
#
|
|
6498
|
-
# available)
|
|
6499
|
-
#
|
|
6500
|
-
# resides.
|
|
6585
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
6586
|
+
# com/compute/docs/regions-zones/regions-zones#available) or [region](https://
|
|
6587
|
+
# cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
|
|
6588
|
+
# the cluster resides.
|
|
6501
6589
|
# Corresponds to the JSON property `location`
|
|
6502
6590
|
# @return [String]
|
|
6503
6591
|
attr_accessor :location
|
|
@@ -6559,9 +6647,9 @@ module Google
|
|
|
6559
6647
|
# @return [String]
|
|
6560
6648
|
attr_accessor :target_link
|
|
6561
6649
|
|
|
6562
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
6563
|
-
#
|
|
6564
|
-
#
|
|
6650
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
6651
|
+
# com/compute/docs/zones#available) in which the operation is taking place. This
|
|
6652
|
+
# field is deprecated, use location instead.
|
|
6565
6653
|
# Corresponds to the JSON property `zone`
|
|
6566
6654
|
# @return [String]
|
|
6567
6655
|
attr_accessor :zone
|
|
@@ -6720,8 +6808,8 @@ module Google
|
|
|
6720
6808
|
# @return [String]
|
|
6721
6809
|
attr_accessor :policy_name
|
|
6722
6810
|
|
|
6723
|
-
# Optional. TPU placement topology for pod slice node pool. https
|
|
6724
|
-
#
|
|
6811
|
+
# Optional. TPU placement topology for pod slice node pool. https://cloud.google.
|
|
6812
|
+
# com/tpu/docs/types-topologies#tpu_topologies
|
|
6725
6813
|
# Corresponds to the JSON property `tpuTopology`
|
|
6726
6814
|
# @return [String]
|
|
6727
6815
|
attr_accessor :tpu_topology
|
|
@@ -7158,6 +7246,62 @@ module Google
|
|
|
7158
7246
|
end
|
|
7159
7247
|
end
|
|
7160
7248
|
|
|
7249
|
+
# RegistryHeader configures headers for the registry.
|
|
7250
|
+
class RegistryHeader
|
|
7251
|
+
include Google::Apis::Core::Hashable
|
|
7252
|
+
|
|
7253
|
+
# Key configures the header key.
|
|
7254
|
+
# Corresponds to the JSON property `key`
|
|
7255
|
+
# @return [String]
|
|
7256
|
+
attr_accessor :key
|
|
7257
|
+
|
|
7258
|
+
# Value configures the header value.
|
|
7259
|
+
# Corresponds to the JSON property `value`
|
|
7260
|
+
# @return [Array<String>]
|
|
7261
|
+
attr_accessor :value
|
|
7262
|
+
|
|
7263
|
+
def initialize(**args)
|
|
7264
|
+
update!(**args)
|
|
7265
|
+
end
|
|
7266
|
+
|
|
7267
|
+
# Update properties of this object
|
|
7268
|
+
def update!(**args)
|
|
7269
|
+
@key = args[:key] if args.key?(:key)
|
|
7270
|
+
@value = args[:value] if args.key?(:value)
|
|
7271
|
+
end
|
|
7272
|
+
end
|
|
7273
|
+
|
|
7274
|
+
# RegistryHostConfig configures the top-level structure for a single containerd
|
|
7275
|
+
# registry server's configuration, which represents one hosts.toml file on the
|
|
7276
|
+
# node. It will override the same fqdns in PrivateRegistryAccessConfig.
|
|
7277
|
+
class RegistryHostConfig
|
|
7278
|
+
include Google::Apis::Core::Hashable
|
|
7279
|
+
|
|
7280
|
+
# HostConfig configures a list of host-specific configurations for the server.
|
|
7281
|
+
# Each server can have at most 10 host configurations.
|
|
7282
|
+
# Corresponds to the JSON property `hosts`
|
|
7283
|
+
# @return [Array<Google::Apis::ContainerV1::HostConfig>]
|
|
7284
|
+
attr_accessor :hosts
|
|
7285
|
+
|
|
7286
|
+
# Defines the host name of the registry server, which will be used to create
|
|
7287
|
+
# configuration file as /etc/containerd/hosts.d//hosts.toml. It supports fully
|
|
7288
|
+
# qualified domain names (FQDN) and IP addresses: Specifying port is supported.
|
|
7289
|
+
# Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000
|
|
7290
|
+
# Corresponds to the JSON property `server`
|
|
7291
|
+
# @return [String]
|
|
7292
|
+
attr_accessor :server
|
|
7293
|
+
|
|
7294
|
+
def initialize(**args)
|
|
7295
|
+
update!(**args)
|
|
7296
|
+
end
|
|
7297
|
+
|
|
7298
|
+
# Update properties of this object
|
|
7299
|
+
def update!(**args)
|
|
7300
|
+
@hosts = args[:hosts] if args.key?(:hosts)
|
|
7301
|
+
@server = args[:server] if args.key?(:server)
|
|
7302
|
+
end
|
|
7303
|
+
end
|
|
7304
|
+
|
|
7161
7305
|
# ReleaseChannel indicates which release channel a cluster is subscribed to.
|
|
7162
7306
|
# Release channels are arranged in order of risk. When a cluster is subscribed
|
|
7163
7307
|
# to a release channel, Google maintains both the master version and the node
|
|
@@ -7217,9 +7361,9 @@ module Google
|
|
|
7217
7361
|
end
|
|
7218
7362
|
end
|
|
7219
7363
|
|
|
7220
|
-
# [ReservationAffinity](https
|
|
7221
|
-
#
|
|
7222
|
-
#
|
|
7364
|
+
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
|
7365
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
|
7366
|
+
# instances could take capacity from.
|
|
7223
7367
|
class ReservationAffinity
|
|
7224
7368
|
include Google::Apis::Core::Hashable
|
|
7225
7369
|
|
|
@@ -7252,8 +7396,8 @@ module Google
|
|
|
7252
7396
|
end
|
|
7253
7397
|
end
|
|
7254
7398
|
|
|
7255
|
-
# Collection of [Resource Manager labels](https
|
|
7256
|
-
#
|
|
7399
|
+
# Collection of [Resource Manager labels](https://cloud.google.com/resource-
|
|
7400
|
+
# manager/docs/creating-managing-labels).
|
|
7257
7401
|
class ResourceLabels
|
|
7258
7402
|
include Google::Apis::Core::Hashable
|
|
7259
7403
|
|
|
@@ -7306,10 +7450,9 @@ module Google
|
|
|
7306
7450
|
|
|
7307
7451
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
7308
7452
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
7309
|
-
# be according to specifications in https
|
|
7310
|
-
#
|
|
7311
|
-
#
|
|
7312
|
-
# replaced with new values.
|
|
7453
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
7454
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
7455
|
+
# specified. Existing tags will be replaced with new values.
|
|
7313
7456
|
class ResourceManagerTags
|
|
7314
7457
|
include Google::Apis::Core::Hashable
|
|
7315
7458
|
|
|
@@ -7389,9 +7532,8 @@ module Google
|
|
|
7389
7532
|
attr_accessor :node_pool_id
|
|
7390
7533
|
|
|
7391
7534
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
7392
|
-
#
|
|
7393
|
-
#
|
|
7394
|
-
# the name field.
|
|
7535
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
7536
|
+
# field has been deprecated and replaced by the name field.
|
|
7395
7537
|
# Corresponds to the JSON property `projectId`
|
|
7396
7538
|
# @return [String]
|
|
7397
7539
|
attr_accessor :project_id
|
|
@@ -7402,10 +7544,9 @@ module Google
|
|
|
7402
7544
|
attr_accessor :respect_pdb
|
|
7403
7545
|
alias_method :respect_pdb?, :respect_pdb
|
|
7404
7546
|
|
|
7405
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
7406
|
-
#
|
|
7407
|
-
#
|
|
7408
|
-
# field.
|
|
7547
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
7548
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
7549
|
+
# been deprecated and replaced by the name field.
|
|
7409
7550
|
# Corresponds to the JSON property `zone`
|
|
7410
7551
|
# @return [String]
|
|
7411
7552
|
attr_accessor :zone
|
|
@@ -7744,17 +7885,15 @@ module Google
|
|
|
7744
7885
|
attr_accessor :name
|
|
7745
7886
|
|
|
7746
7887
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
7747
|
-
#
|
|
7748
|
-
#
|
|
7749
|
-
# the name field.
|
|
7888
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
7889
|
+
# field has been deprecated and replaced by the name field.
|
|
7750
7890
|
# Corresponds to the JSON property `projectId`
|
|
7751
7891
|
# @return [String]
|
|
7752
7892
|
attr_accessor :project_id
|
|
7753
7893
|
|
|
7754
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
7755
|
-
#
|
|
7756
|
-
#
|
|
7757
|
-
# field.
|
|
7894
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
7895
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
7896
|
+
# been deprecated and replaced by the name field.
|
|
7758
7897
|
# Corresponds to the JSON property `zone`
|
|
7759
7898
|
# @return [String]
|
|
7760
7899
|
attr_accessor :zone
|
|
@@ -7801,9 +7940,8 @@ module Google
|
|
|
7801
7940
|
attr_accessor :name
|
|
7802
7941
|
|
|
7803
7942
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
7804
|
-
#
|
|
7805
|
-
#
|
|
7806
|
-
# the name field.
|
|
7943
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
7944
|
+
# field has been deprecated and replaced by the name field.
|
|
7807
7945
|
# Corresponds to the JSON property `projectId`
|
|
7808
7946
|
# @return [String]
|
|
7809
7947
|
attr_accessor :project_id
|
|
@@ -7813,10 +7951,9 @@ module Google
|
|
|
7813
7951
|
# @return [Hash<String,String>]
|
|
7814
7952
|
attr_accessor :resource_labels
|
|
7815
7953
|
|
|
7816
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
7817
|
-
#
|
|
7818
|
-
#
|
|
7819
|
-
# field.
|
|
7954
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
7955
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
7956
|
+
# been deprecated and replaced by the name field.
|
|
7820
7957
|
# Corresponds to the JSON property `zone`
|
|
7821
7958
|
# @return [String]
|
|
7822
7959
|
attr_accessor :zone
|
|
@@ -7860,17 +7997,15 @@ module Google
|
|
|
7860
7997
|
attr_accessor :name
|
|
7861
7998
|
|
|
7862
7999
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
7863
|
-
#
|
|
7864
|
-
#
|
|
7865
|
-
# the name field.
|
|
8000
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8001
|
+
# field has been deprecated and replaced by the name field.
|
|
7866
8002
|
# Corresponds to the JSON property `projectId`
|
|
7867
8003
|
# @return [String]
|
|
7868
8004
|
attr_accessor :project_id
|
|
7869
8005
|
|
|
7870
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
7871
|
-
#
|
|
7872
|
-
#
|
|
7873
|
-
# field.
|
|
8006
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8007
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8008
|
+
# been deprecated and replaced by the name field.
|
|
7874
8009
|
# Corresponds to the JSON property `zone`
|
|
7875
8010
|
# @return [String]
|
|
7876
8011
|
attr_accessor :zone
|
|
@@ -7899,12 +8034,12 @@ module Google
|
|
|
7899
8034
|
# @return [String]
|
|
7900
8035
|
attr_accessor :cluster_id
|
|
7901
8036
|
|
|
7902
|
-
# Required. The desired list of Google Compute Engine [zones](https
|
|
7903
|
-
#
|
|
7904
|
-
#
|
|
7905
|
-
#
|
|
7906
|
-
#
|
|
7907
|
-
#
|
|
8037
|
+
# Required. The desired list of Google Compute Engine [zones](https://cloud.
|
|
8038
|
+
# google.com/compute/docs/zones#available) in which the cluster's nodes should
|
|
8039
|
+
# be located. Changing the locations a cluster is in will result in nodes being
|
|
8040
|
+
# either created or removed from the cluster, depending on whether locations are
|
|
8041
|
+
# being added or removed. This list must always include the cluster's primary
|
|
8042
|
+
# zone.
|
|
7908
8043
|
# Corresponds to the JSON property `locations`
|
|
7909
8044
|
# @return [Array<String>]
|
|
7910
8045
|
attr_accessor :locations
|
|
@@ -7916,17 +8051,15 @@ module Google
|
|
|
7916
8051
|
attr_accessor :name
|
|
7917
8052
|
|
|
7918
8053
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
7919
|
-
#
|
|
7920
|
-
#
|
|
7921
|
-
# the name field.
|
|
8054
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8055
|
+
# field has been deprecated and replaced by the name field.
|
|
7922
8056
|
# Corresponds to the JSON property `projectId`
|
|
7923
8057
|
# @return [String]
|
|
7924
8058
|
attr_accessor :project_id
|
|
7925
8059
|
|
|
7926
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
7927
|
-
#
|
|
7928
|
-
#
|
|
7929
|
-
# field.
|
|
8060
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8061
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8062
|
+
# been deprecated and replaced by the name field.
|
|
7930
8063
|
# Corresponds to the JSON property `zone`
|
|
7931
8064
|
# @return [String]
|
|
7932
8065
|
attr_accessor :zone
|
|
@@ -7973,17 +8106,15 @@ module Google
|
|
|
7973
8106
|
attr_accessor :name
|
|
7974
8107
|
|
|
7975
8108
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
7976
|
-
#
|
|
7977
|
-
#
|
|
7978
|
-
# the name field.
|
|
8109
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8110
|
+
# field has been deprecated and replaced by the name field.
|
|
7979
8111
|
# Corresponds to the JSON property `projectId`
|
|
7980
8112
|
# @return [String]
|
|
7981
8113
|
attr_accessor :project_id
|
|
7982
8114
|
|
|
7983
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
7984
|
-
#
|
|
7985
|
-
#
|
|
7986
|
-
# field.
|
|
8115
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8116
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8117
|
+
# been deprecated and replaced by the name field.
|
|
7987
8118
|
# Corresponds to the JSON property `zone`
|
|
7988
8119
|
# @return [String]
|
|
7989
8120
|
attr_accessor :zone
|
|
@@ -8023,15 +8154,13 @@ module Google
|
|
|
8023
8154
|
attr_accessor :name
|
|
8024
8155
|
|
|
8025
8156
|
# Required. The Google Developers Console [project ID or project number](https://
|
|
8026
|
-
#
|
|
8027
|
-
# creating-managing-projects).
|
|
8157
|
+
# cloud.google.com/resource-manager/docs/creating-managing-projects).
|
|
8028
8158
|
# Corresponds to the JSON property `projectId`
|
|
8029
8159
|
# @return [String]
|
|
8030
8160
|
attr_accessor :project_id
|
|
8031
8161
|
|
|
8032
|
-
# Required. The name of the Google Compute Engine [zone](https
|
|
8033
|
-
#
|
|
8034
|
-
# the cluster resides.
|
|
8162
|
+
# Required. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8163
|
+
# com/compute/docs/zones#available) in which the cluster resides.
|
|
8035
8164
|
# Corresponds to the JSON property `zone`
|
|
8036
8165
|
# @return [String]
|
|
8037
8166
|
attr_accessor :zone
|
|
@@ -8072,9 +8201,8 @@ module Google
|
|
|
8072
8201
|
attr_accessor :name
|
|
8073
8202
|
|
|
8074
8203
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8075
|
-
#
|
|
8076
|
-
#
|
|
8077
|
-
# the name field.
|
|
8204
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8205
|
+
# field has been deprecated and replaced by the name field.
|
|
8078
8206
|
# Corresponds to the JSON property `projectId`
|
|
8079
8207
|
# @return [String]
|
|
8080
8208
|
attr_accessor :project_id
|
|
@@ -8085,10 +8213,9 @@ module Google
|
|
|
8085
8213
|
# @return [Google::Apis::ContainerV1::MasterAuth]
|
|
8086
8214
|
attr_accessor :update
|
|
8087
8215
|
|
|
8088
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8089
|
-
#
|
|
8090
|
-
#
|
|
8091
|
-
# field.
|
|
8216
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8217
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8218
|
+
# been deprecated and replaced by the name field.
|
|
8092
8219
|
# Corresponds to the JSON property `zone`
|
|
8093
8220
|
# @return [String]
|
|
8094
8221
|
attr_accessor :zone
|
|
@@ -8136,17 +8263,15 @@ module Google
|
|
|
8136
8263
|
attr_accessor :name
|
|
8137
8264
|
|
|
8138
8265
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8139
|
-
#
|
|
8140
|
-
#
|
|
8141
|
-
# the name field.
|
|
8266
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8267
|
+
# field has been deprecated and replaced by the name field.
|
|
8142
8268
|
# Corresponds to the JSON property `projectId`
|
|
8143
8269
|
# @return [String]
|
|
8144
8270
|
attr_accessor :project_id
|
|
8145
8271
|
|
|
8146
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8147
|
-
#
|
|
8148
|
-
#
|
|
8149
|
-
# field.
|
|
8272
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8273
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8274
|
+
# been deprecated and replaced by the name field.
|
|
8150
8275
|
# Corresponds to the JSON property `zone`
|
|
8151
8276
|
# @return [String]
|
|
8152
8277
|
attr_accessor :zone
|
|
@@ -8188,17 +8313,15 @@ module Google
|
|
|
8188
8313
|
attr_accessor :network_policy
|
|
8189
8314
|
|
|
8190
8315
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8191
|
-
#
|
|
8192
|
-
#
|
|
8193
|
-
# the name field.
|
|
8316
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8317
|
+
# field has been deprecated and replaced by the name field.
|
|
8194
8318
|
# Corresponds to the JSON property `projectId`
|
|
8195
8319
|
# @return [String]
|
|
8196
8320
|
attr_accessor :project_id
|
|
8197
8321
|
|
|
8198
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8199
|
-
#
|
|
8200
|
-
#
|
|
8201
|
-
# field.
|
|
8322
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8323
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8324
|
+
# been deprecated and replaced by the name field.
|
|
8202
8325
|
# Corresponds to the JSON property `zone`
|
|
8203
8326
|
# @return [String]
|
|
8204
8327
|
attr_accessor :zone
|
|
@@ -8247,17 +8370,15 @@ module Google
|
|
|
8247
8370
|
attr_accessor :node_pool_id
|
|
8248
8371
|
|
|
8249
8372
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8250
|
-
#
|
|
8251
|
-
#
|
|
8252
|
-
# the name field.
|
|
8373
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8374
|
+
# field has been deprecated and replaced by the name field.
|
|
8253
8375
|
# Corresponds to the JSON property `projectId`
|
|
8254
8376
|
# @return [String]
|
|
8255
8377
|
attr_accessor :project_id
|
|
8256
8378
|
|
|
8257
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8258
|
-
#
|
|
8259
|
-
#
|
|
8260
|
-
# field.
|
|
8379
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8380
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8381
|
+
# been deprecated and replaced by the name field.
|
|
8261
8382
|
# Corresponds to the JSON property `zone`
|
|
8262
8383
|
# @return [String]
|
|
8263
8384
|
attr_accessor :zone
|
|
@@ -8308,17 +8429,15 @@ module Google
|
|
|
8308
8429
|
attr_accessor :node_pool_id
|
|
8309
8430
|
|
|
8310
8431
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8311
|
-
#
|
|
8312
|
-
#
|
|
8313
|
-
# the name field.
|
|
8432
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8433
|
+
# field has been deprecated and replaced by the name field.
|
|
8314
8434
|
# Corresponds to the JSON property `projectId`
|
|
8315
8435
|
# @return [String]
|
|
8316
8436
|
attr_accessor :project_id
|
|
8317
8437
|
|
|
8318
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8319
|
-
#
|
|
8320
|
-
#
|
|
8321
|
-
# field.
|
|
8438
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8439
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8440
|
+
# been deprecated and replaced by the name field.
|
|
8322
8441
|
# Corresponds to the JSON property `zone`
|
|
8323
8442
|
# @return [String]
|
|
8324
8443
|
attr_accessor :zone
|
|
@@ -8366,17 +8485,15 @@ module Google
|
|
|
8366
8485
|
attr_accessor :node_pool_id
|
|
8367
8486
|
|
|
8368
8487
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8369
|
-
#
|
|
8370
|
-
#
|
|
8371
|
-
# the name field.
|
|
8488
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8489
|
+
# field has been deprecated and replaced by the name field.
|
|
8372
8490
|
# Corresponds to the JSON property `projectId`
|
|
8373
8491
|
# @return [String]
|
|
8374
8492
|
attr_accessor :project_id
|
|
8375
8493
|
|
|
8376
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8377
|
-
#
|
|
8378
|
-
#
|
|
8379
|
-
# field.
|
|
8494
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8495
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8496
|
+
# been deprecated and replaced by the name field.
|
|
8380
8497
|
# Corresponds to the JSON property `zone`
|
|
8381
8498
|
# @return [String]
|
|
8382
8499
|
attr_accessor :zone
|
|
@@ -8528,9 +8645,8 @@ module Google
|
|
|
8528
8645
|
attr_accessor :name
|
|
8529
8646
|
|
|
8530
8647
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8531
|
-
#
|
|
8532
|
-
#
|
|
8533
|
-
# the name field.
|
|
8648
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8649
|
+
# field has been deprecated and replaced by the name field.
|
|
8534
8650
|
# Corresponds to the JSON property `projectId`
|
|
8535
8651
|
# @return [String]
|
|
8536
8652
|
attr_accessor :project_id
|
|
@@ -8541,10 +8657,9 @@ module Google
|
|
|
8541
8657
|
attr_accessor :rotate_credentials
|
|
8542
8658
|
alias_method :rotate_credentials?, :rotate_credentials
|
|
8543
8659
|
|
|
8544
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8545
|
-
#
|
|
8546
|
-
#
|
|
8547
|
-
# field.
|
|
8660
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8661
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8662
|
+
# been deprecated and replaced by the name field.
|
|
8548
8663
|
# Corresponds to the JSON property `zone`
|
|
8549
8664
|
# @return [String]
|
|
8550
8665
|
attr_accessor :zone
|
|
@@ -8746,9 +8861,8 @@ module Google
|
|
|
8746
8861
|
attr_accessor :name
|
|
8747
8862
|
|
|
8748
8863
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8749
|
-
#
|
|
8750
|
-
#
|
|
8751
|
-
# the name field.
|
|
8864
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8865
|
+
# field has been deprecated and replaced by the name field.
|
|
8752
8866
|
# Corresponds to the JSON property `projectId`
|
|
8753
8867
|
# @return [String]
|
|
8754
8868
|
attr_accessor :project_id
|
|
@@ -8759,10 +8873,9 @@ module Google
|
|
|
8759
8873
|
# @return [Google::Apis::ContainerV1::ClusterUpdate]
|
|
8760
8874
|
attr_accessor :update
|
|
8761
8875
|
|
|
8762
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8763
|
-
#
|
|
8764
|
-
#
|
|
8765
|
-
# field.
|
|
8876
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8877
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8878
|
+
# been deprecated and replaced by the name field.
|
|
8766
8879
|
# Corresponds to the JSON property `zone`
|
|
8767
8880
|
# @return [String]
|
|
8768
8881
|
attr_accessor :zone
|
|
@@ -8829,17 +8942,15 @@ module Google
|
|
|
8829
8942
|
attr_accessor :name
|
|
8830
8943
|
|
|
8831
8944
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8832
|
-
#
|
|
8833
|
-
#
|
|
8834
|
-
# the name field.
|
|
8945
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8946
|
+
# field has been deprecated and replaced by the name field.
|
|
8835
8947
|
# Corresponds to the JSON property `projectId`
|
|
8836
8948
|
# @return [String]
|
|
8837
8949
|
attr_accessor :project_id
|
|
8838
8950
|
|
|
8839
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8840
|
-
#
|
|
8841
|
-
#
|
|
8842
|
-
# field.
|
|
8951
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8952
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8953
|
+
# been deprecated and replaced by the name field.
|
|
8843
8954
|
# Corresponds to the JSON property `zone`
|
|
8844
8955
|
# @return [String]
|
|
8845
8956
|
attr_accessor :zone
|
|
@@ -8862,9 +8973,8 @@ module Google
|
|
|
8862
8973
|
class UpdateNodePoolRequest
|
|
8863
8974
|
include Google::Apis::Core::Hashable
|
|
8864
8975
|
|
|
8865
|
-
# A list of hardware accelerators to be attached to each node. See https
|
|
8866
|
-
#
|
|
8867
|
-
# information about support for GPUs.
|
|
8976
|
+
# A list of hardware accelerators to be attached to each node. See https://cloud.
|
|
8977
|
+
# google.com/compute/docs/gpus for more information about support for GPUs.
|
|
8868
8978
|
# Corresponds to the JSON property `accelerators`
|
|
8869
8979
|
# @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
|
|
8870
8980
|
attr_accessor :accelerators
|
|
@@ -8934,9 +9044,9 @@ module Google
|
|
|
8934
9044
|
# @return [Google::Apis::ContainerV1::VirtualNic]
|
|
8935
9045
|
attr_accessor :gvnic
|
|
8936
9046
|
|
|
8937
|
-
# Required. The desired image type for the node pool. Please see https
|
|
8938
|
-
#
|
|
8939
|
-
#
|
|
9047
|
+
# Required. The desired image type for the node pool. Please see https://cloud.
|
|
9048
|
+
# google.com/kubernetes-engine/docs/concepts/node-images for available image
|
|
9049
|
+
# types.
|
|
8940
9050
|
# Corresponds to the JSON property `imageType`
|
|
8941
9051
|
# @return [String]
|
|
8942
9052
|
attr_accessor :image_type
|
|
@@ -8957,17 +9067,17 @@ module Google
|
|
|
8957
9067
|
# @return [Google::Apis::ContainerV1::LinuxNodeConfig]
|
|
8958
9068
|
attr_accessor :linux_node_config
|
|
8959
9069
|
|
|
8960
|
-
# The desired list of Google Compute Engine [zones](https
|
|
8961
|
-
#
|
|
8962
|
-
#
|
|
8963
|
-
#
|
|
8964
|
-
#
|
|
8965
|
-
#
|
|
8966
|
-
#
|
|
8967
|
-
#
|
|
8968
|
-
#
|
|
8969
|
-
#
|
|
8970
|
-
#
|
|
9070
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
|
9071
|
+
# compute/docs/zones#available) in which the node pool's nodes should be located.
|
|
9072
|
+
# Changing the locations for a node pool will result in nodes being either
|
|
9073
|
+
# created or removed from the node pool, depending on whether locations are
|
|
9074
|
+
# being added or removed. Warning: It is recommended to update node pool
|
|
9075
|
+
# locations in a standalone API call. Do not combine a location update with
|
|
9076
|
+
# changes to other fields (such as `tags`, `labels`, `taints`, etc.) in the same
|
|
9077
|
+
# request. Otherwise, the API performs a structural modification where changes
|
|
9078
|
+
# to other fields will only apply to newly created nodes and will not be applied
|
|
9079
|
+
# to existing nodes in the node pool. To ensure all nodes are updated
|
|
9080
|
+
# consistently, use a separate API call for location changes.
|
|
8971
9081
|
# Corresponds to the JSON property `locations`
|
|
8972
9082
|
# @return [Array<String>]
|
|
8973
9083
|
attr_accessor :locations
|
|
@@ -8977,10 +9087,10 @@ module Google
|
|
|
8977
9087
|
# @return [Google::Apis::ContainerV1::NodePoolLoggingConfig]
|
|
8978
9088
|
attr_accessor :logging_config
|
|
8979
9089
|
|
|
8980
|
-
# Optional. The desired [Google Compute Engine machine type](https
|
|
8981
|
-
#
|
|
8982
|
-
#
|
|
8983
|
-
#
|
|
9090
|
+
# Optional. The desired [Google Compute Engine machine type](https://cloud.
|
|
9091
|
+
# google.com/compute/docs/machine-types) for nodes in the node pool. Initiates
|
|
9092
|
+
# an upgrade operation that migrates the nodes in the node pool to the specified
|
|
9093
|
+
# machine type.
|
|
8984
9094
|
# Corresponds to the JSON property `machineType`
|
|
8985
9095
|
# @return [String]
|
|
8986
9096
|
attr_accessor :machine_type
|
|
@@ -9020,9 +9130,8 @@ module Google
|
|
|
9020
9130
|
attr_accessor :node_version
|
|
9021
9131
|
|
|
9022
9132
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
9023
|
-
#
|
|
9024
|
-
#
|
|
9025
|
-
# the name field.
|
|
9133
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9134
|
+
# field has been deprecated and replaced by the name field.
|
|
9026
9135
|
# Corresponds to the JSON property `projectId`
|
|
9027
9136
|
# @return [String]
|
|
9028
9137
|
attr_accessor :project_id
|
|
@@ -9032,18 +9141,17 @@ module Google
|
|
|
9032
9141
|
# @return [Google::Apis::ContainerV1::QueuedProvisioning]
|
|
9033
9142
|
attr_accessor :queued_provisioning
|
|
9034
9143
|
|
|
9035
|
-
# Collection of [Resource Manager labels](https
|
|
9036
|
-
#
|
|
9144
|
+
# Collection of [Resource Manager labels](https://cloud.google.com/resource-
|
|
9145
|
+
# manager/docs/creating-managing-labels).
|
|
9037
9146
|
# Corresponds to the JSON property `resourceLabels`
|
|
9038
9147
|
# @return [Google::Apis::ContainerV1::ResourceLabels]
|
|
9039
9148
|
attr_accessor :resource_labels
|
|
9040
9149
|
|
|
9041
9150
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
9042
9151
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
9043
|
-
# be according to specifications in https
|
|
9044
|
-
#
|
|
9045
|
-
#
|
|
9046
|
-
# replaced with new values.
|
|
9152
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
9153
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
9154
|
+
# specified. Existing tags will be replaced with new values.
|
|
9047
9155
|
# Corresponds to the JSON property `resourceManagerTags`
|
|
9048
9156
|
# @return [Google::Apis::ContainerV1::ResourceManagerTags]
|
|
9049
9157
|
attr_accessor :resource_manager_tags
|
|
@@ -9114,10 +9222,9 @@ module Google
|
|
|
9114
9222
|
# @return [Google::Apis::ContainerV1::WorkloadMetadataConfig]
|
|
9115
9223
|
attr_accessor :workload_metadata_config
|
|
9116
9224
|
|
|
9117
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
9118
|
-
#
|
|
9119
|
-
#
|
|
9120
|
-
# field.
|
|
9225
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9226
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9227
|
+
# been deprecated and replaced by the name field.
|
|
9121
9228
|
# Corresponds to the JSON property `zone`
|
|
9122
9229
|
# @return [String]
|
|
9123
9230
|
attr_accessor :zone
|