google-apis-container_v1beta1 0.94.0 → 0.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/container_v1beta1/classes.rb +502 -361
- data/lib/google/apis/container_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/container_v1beta1/representations.rb +100 -0
- data/lib/google/apis/container_v1beta1/service.rb +209 -287
- metadata +2 -2
|
@@ -32,7 +32,7 @@ module Google
|
|
|
32
32
|
attr_accessor :accelerator_count
|
|
33
33
|
|
|
34
34
|
# The accelerator type resource name. List of supported accelerators [here](
|
|
35
|
-
# https
|
|
35
|
+
# https://cloud.google.com/compute/docs/gpus)
|
|
36
36
|
# Corresponds to the JSON property `acceleratorType`
|
|
37
37
|
# @return [String]
|
|
38
38
|
attr_accessor :accelerator_type
|
|
@@ -647,8 +647,7 @@ module Google
|
|
|
647
647
|
# each node in the node pool. This should be of the form projects/[
|
|
648
648
|
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
|
649
649
|
# . For more information about protecting resources with Cloud KMS Keys please
|
|
650
|
-
# see: https
|
|
651
|
-
# disks/customer-managed-encryption
|
|
650
|
+
# see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
|
652
651
|
# Corresponds to the JSON property `bootDiskKmsKey`
|
|
653
652
|
# @return [String]
|
|
654
653
|
attr_accessor :boot_disk_kms_key
|
|
@@ -665,9 +664,8 @@ module Google
|
|
|
665
664
|
# @return [String]
|
|
666
665
|
attr_accessor :disk_type
|
|
667
666
|
|
|
668
|
-
# The image type to use for NAP created node. Please see https
|
|
669
|
-
#
|
|
670
|
-
# images for available image types.
|
|
667
|
+
# The image type to use for NAP created node. Please see https://cloud.google.
|
|
668
|
+
# com/kubernetes-engine/docs/concepts/node-images for available image types.
|
|
671
669
|
# Corresponds to the JSON property `imageType`
|
|
672
670
|
# @return [String]
|
|
673
671
|
attr_accessor :image_type
|
|
@@ -688,11 +686,11 @@ module Google
|
|
|
688
686
|
# instance may be scheduled on the specified or newer CPU platform. Applicable
|
|
689
687
|
# values are the friendly names of CPU platforms, such as minCpuPlatform: Intel
|
|
690
688
|
# Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how
|
|
691
|
-
# to specify min CPU platform](https
|
|
692
|
-
#
|
|
693
|
-
#
|
|
694
|
-
#
|
|
695
|
-
#
|
|
689
|
+
# to specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
|
690
|
+
# specify-min-cpu-platform). This field is deprecated, min_cpu_platform should
|
|
691
|
+
# be specified using `cloud.google.com/requested-min-cpu-platform` label
|
|
692
|
+
# selector on the pod. To unset the min cpu platform field pass "automatic" as
|
|
693
|
+
# field value.
|
|
696
694
|
# Corresponds to the JSON property `minCpuPlatform`
|
|
697
695
|
# @return [String]
|
|
698
696
|
attr_accessor :min_cpu_platform
|
|
@@ -702,10 +700,10 @@ module Google
|
|
|
702
700
|
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
|
703
701
|
# compute` is required for mounting persistent storage on your nodes. * `https://
|
|
704
702
|
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
|
705
|
-
# with **gcr.io** (the [
|
|
706
|
-
#
|
|
707
|
-
#
|
|
708
|
-
#
|
|
703
|
+
# with **gcr.io** (the [Artifact Registry](https://cloud.google.com/artifact-
|
|
704
|
+
# registry/)). If unspecified, no scopes are added, unless Cloud Logging or
|
|
705
|
+
# Cloud Monitoring are enabled, in which case their required scopes will be
|
|
706
|
+
# added.
|
|
709
707
|
# Corresponds to the JSON property `oauthScopes`
|
|
710
708
|
# @return [Array<String>]
|
|
711
709
|
attr_accessor :oauth_scopes
|
|
@@ -1023,6 +1021,31 @@ module Google
|
|
|
1023
1021
|
end
|
|
1024
1022
|
end
|
|
1025
1023
|
|
|
1024
|
+
# Swap on the node's boot disk.
|
|
1025
|
+
class BootDiskProfile
|
|
1026
|
+
include Google::Apis::Core::Hashable
|
|
1027
|
+
|
|
1028
|
+
# Specifies the size of the swap space in gibibytes (GiB).
|
|
1029
|
+
# Corresponds to the JSON property `swapSizeGib`
|
|
1030
|
+
# @return [Fixnum]
|
|
1031
|
+
attr_accessor :swap_size_gib
|
|
1032
|
+
|
|
1033
|
+
# Specifies the size of the swap space as a percentage of the boot disk size.
|
|
1034
|
+
# Corresponds to the JSON property `swapSizePercent`
|
|
1035
|
+
# @return [Fixnum]
|
|
1036
|
+
attr_accessor :swap_size_percent
|
|
1037
|
+
|
|
1038
|
+
def initialize(**args)
|
|
1039
|
+
update!(**args)
|
|
1040
|
+
end
|
|
1041
|
+
|
|
1042
|
+
# Update properties of this object
|
|
1043
|
+
def update!(**args)
|
|
1044
|
+
@swap_size_gib = args[:swap_size_gib] if args.key?(:swap_size_gib)
|
|
1045
|
+
@swap_size_percent = args[:swap_size_percent] if args.key?(:swap_size_percent)
|
|
1046
|
+
end
|
|
1047
|
+
end
|
|
1048
|
+
|
|
1026
1049
|
# CancelOperationRequest cancels a single operation.
|
|
1027
1050
|
class CancelOperationRequest
|
|
1028
1051
|
include Google::Apis::Core::Hashable
|
|
@@ -1040,17 +1063,15 @@ module Google
|
|
|
1040
1063
|
attr_accessor :operation_id
|
|
1041
1064
|
|
|
1042
1065
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
1043
|
-
#
|
|
1044
|
-
#
|
|
1045
|
-
# the name field.
|
|
1066
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
1067
|
+
# field has been deprecated and replaced by the name field.
|
|
1046
1068
|
# Corresponds to the JSON property `projectId`
|
|
1047
1069
|
# @return [String]
|
|
1048
1070
|
attr_accessor :project_id
|
|
1049
1071
|
|
|
1050
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
1051
|
-
#
|
|
1052
|
-
#
|
|
1053
|
-
# field.
|
|
1072
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
1073
|
+
# com/compute/docs/zones#available) in which the operation resides. This field
|
|
1074
|
+
# has been deprecated and replaced by the name field.
|
|
1054
1075
|
# Corresponds to the JSON property `zone`
|
|
1055
1076
|
# @return [String]
|
|
1056
1077
|
attr_accessor :zone
|
|
@@ -1079,9 +1100,8 @@ module Google
|
|
|
1079
1100
|
# @return [Array<String>]
|
|
1080
1101
|
attr_accessor :fqdns
|
|
1081
1102
|
|
|
1082
|
-
# GCPSecretManagerCertificateConfig configures a secret from [
|
|
1083
|
-
#
|
|
1084
|
-
# manager).
|
|
1103
|
+
# GCPSecretManagerCertificateConfig configures a secret from [Secret Manager](
|
|
1104
|
+
# https://cloud.google.com/secret-manager).
|
|
1085
1105
|
# Corresponds to the JSON property `gcpSecretManagerCertificateConfig`
|
|
1086
1106
|
# @return [Google::Apis::ContainerV1beta1::GcpSecretManagerCertificateConfig]
|
|
1087
1107
|
attr_accessor :gcp_secret_manager_certificate_config
|
|
@@ -1295,12 +1315,11 @@ module Google
|
|
|
1295
1315
|
# @return [Fixnum]
|
|
1296
1316
|
attr_accessor :current_node_count
|
|
1297
1317
|
|
|
1298
|
-
# Output only. Deprecated, use [NodePool.version](https
|
|
1299
|
-
#
|
|
1300
|
-
#
|
|
1301
|
-
#
|
|
1302
|
-
#
|
|
1303
|
-
# all nodes.
|
|
1318
|
+
# Output only. Deprecated, use [NodePool.version](https://cloud.google.com/
|
|
1319
|
+
# kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.
|
|
1320
|
+
# nodePools) instead. The current version of the node software components. If
|
|
1321
|
+
# they are currently at multiple versions because they're in the process of
|
|
1322
|
+
# being upgraded, this reflects the minimum version of all nodes.
|
|
1304
1323
|
# Corresponds to the JSON property `currentNodeVersion`
|
|
1305
1324
|
# @return [String]
|
|
1306
1325
|
attr_accessor :current_node_version
|
|
@@ -1405,14 +1424,13 @@ module Google
|
|
|
1405
1424
|
attr_accessor :initial_cluster_version
|
|
1406
1425
|
|
|
1407
1426
|
# The number of nodes to create in this cluster. You must ensure that your
|
|
1408
|
-
# Compute Engine [resource quota](https
|
|
1409
|
-
#
|
|
1410
|
-
#
|
|
1411
|
-
#
|
|
1412
|
-
#
|
|
1413
|
-
# a
|
|
1414
|
-
# node_pool
|
|
1415
|
-
# initial_node_count instead.
|
|
1427
|
+
# Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is
|
|
1428
|
+
# sufficient for this number of instances. You must also have available firewall
|
|
1429
|
+
# and routes quota. For requests, this field should only be used in lieu of a "
|
|
1430
|
+
# node_pool" object, since this configuration (along with the "node_config")
|
|
1431
|
+
# will be used to create a "NodePool" object with an auto-generated name. Do not
|
|
1432
|
+
# use this and a node_pool at the same time. This field is deprecated, use
|
|
1433
|
+
# node_pool.initial_node_count instead.
|
|
1416
1434
|
# Corresponds to the JSON property `initialNodeCount`
|
|
1417
1435
|
# @return [Fixnum]
|
|
1418
1436
|
attr_accessor :initial_node_count
|
|
@@ -1437,26 +1455,23 @@ module Google
|
|
|
1437
1455
|
# @return [Google::Apis::ContainerV1beta1::LegacyAbac]
|
|
1438
1456
|
attr_accessor :legacy_abac
|
|
1439
1457
|
|
|
1440
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
1441
|
-
#
|
|
1442
|
-
# available)
|
|
1443
|
-
#
|
|
1444
|
-
# resides.
|
|
1458
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
1459
|
+
# com/compute/docs/regions-zones/regions-zones#available) or [region](https://
|
|
1460
|
+
# cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
|
|
1461
|
+
# the cluster resides.
|
|
1445
1462
|
# Corresponds to the JSON property `location`
|
|
1446
1463
|
# @return [String]
|
|
1447
1464
|
attr_accessor :location
|
|
1448
1465
|
|
|
1449
|
-
# The list of Google Compute Engine [zones](https
|
|
1450
|
-
#
|
|
1451
|
-
#
|
|
1452
|
-
#
|
|
1453
|
-
#
|
|
1454
|
-
#
|
|
1455
|
-
#
|
|
1456
|
-
#
|
|
1457
|
-
#
|
|
1458
|
-
# locations) of all node pools and will result in nodes being added and/or
|
|
1459
|
-
# removed.
|
|
1466
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
1467
|
+
# docs/zones#available) in which the cluster's nodes should be located. This
|
|
1468
|
+
# field provides a default value if [NodePool.Locations](https://cloud.google.
|
|
1469
|
+
# com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.
|
|
1470
|
+
# nodePools#NodePool.FIELDS.locations) are not specified during node pool
|
|
1471
|
+
# creation. Warning: changing cluster locations will update the [NodePool.
|
|
1472
|
+
# Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/
|
|
1473
|
+
# projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node
|
|
1474
|
+
# pools and will result in nodes being added and/or removed.
|
|
1460
1475
|
# Corresponds to the JSON property `locations`
|
|
1461
1476
|
# @return [Array<String>]
|
|
1462
1477
|
attr_accessor :locations
|
|
@@ -1538,10 +1553,10 @@ module Google
|
|
|
1538
1553
|
# @return [String]
|
|
1539
1554
|
attr_accessor :name
|
|
1540
1555
|
|
|
1541
|
-
# The name of the Google Compute Engine [network](https
|
|
1542
|
-
#
|
|
1543
|
-
#
|
|
1544
|
-
#
|
|
1556
|
+
# The name of the Google Compute Engine [network](https://cloud.google.com/
|
|
1557
|
+
# compute/docs/networks-and-firewalls#networks) to which the cluster is
|
|
1558
|
+
# connected. If left unspecified, the `default` network will be used. On output
|
|
1559
|
+
# this shows the network ID instead of the name.
|
|
1545
1560
|
# Corresponds to the JSON property `network`
|
|
1546
1561
|
# @return [String]
|
|
1547
1562
|
attr_accessor :network
|
|
@@ -1713,10 +1728,9 @@ module Google
|
|
|
1713
1728
|
# @return [String]
|
|
1714
1729
|
attr_accessor :status_message
|
|
1715
1730
|
|
|
1716
|
-
# The name of the Google Compute Engine [subnetwork](https
|
|
1717
|
-
#
|
|
1718
|
-
#
|
|
1719
|
-
# name.
|
|
1731
|
+
# The name of the Google Compute Engine [subnetwork](https://cloud.google.com/
|
|
1732
|
+
# compute/docs/subnetworks) to which the cluster is connected. On output this
|
|
1733
|
+
# shows the subnetwork ID instead of the name.
|
|
1720
1734
|
# Corresponds to the JSON property `subnetwork`
|
|
1721
1735
|
# @return [String]
|
|
1722
1736
|
attr_accessor :subnetwork
|
|
@@ -1765,9 +1779,9 @@ module Google
|
|
|
1765
1779
|
# @return [Google::Apis::ContainerV1beta1::WorkloadIdentityConfig]
|
|
1766
1780
|
attr_accessor :workload_identity_config
|
|
1767
1781
|
|
|
1768
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
1769
|
-
#
|
|
1770
|
-
#
|
|
1782
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
1783
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field is
|
|
1784
|
+
# deprecated, use location instead.
|
|
1771
1785
|
# Corresponds to the JSON property `zone`
|
|
1772
1786
|
# @return [String]
|
|
1773
1787
|
attr_accessor :zone
|
|
@@ -1876,9 +1890,8 @@ module Google
|
|
|
1876
1890
|
class ClusterAutoscaling
|
|
1877
1891
|
include Google::Apis::Core::Hashable
|
|
1878
1892
|
|
|
1879
|
-
# The list of Google Compute Engine [zones](https
|
|
1880
|
-
#
|
|
1881
|
-
# NodePool's nodes can be created by NAP.
|
|
1893
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
1894
|
+
# docs/zones#available) in which the NodePool's nodes can be created by NAP.
|
|
1882
1895
|
# Corresponds to the JSON property `autoprovisioningLocations`
|
|
1883
1896
|
# @return [Array<String>]
|
|
1884
1897
|
attr_accessor :autoprovisioning_locations
|
|
@@ -2171,11 +2184,11 @@ module Google
|
|
|
2171
2184
|
# @return [Google::Apis::ContainerV1beta1::IlbSubsettingConfig]
|
|
2172
2185
|
attr_accessor :desired_l4ilb_subsetting_config
|
|
2173
2186
|
|
|
2174
|
-
# The desired list of Google Compute Engine [zones](https
|
|
2175
|
-
#
|
|
2176
|
-
#
|
|
2177
|
-
#
|
|
2178
|
-
#
|
|
2187
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
|
2188
|
+
# compute/docs/zones#available) in which the cluster's nodes should be located.
|
|
2189
|
+
# This list must always include the cluster's primary zone. Warning: changing
|
|
2190
|
+
# cluster locations will update the locations of all node pools and will result
|
|
2191
|
+
# in nodes being added and/or removed.
|
|
2179
2192
|
# Corresponds to the JSON property `desiredLocations`
|
|
2180
2193
|
# @return [Array<String>]
|
|
2181
2194
|
attr_accessor :desired_locations
|
|
@@ -2275,10 +2288,9 @@ module Google
|
|
|
2275
2288
|
|
|
2276
2289
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
2277
2290
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
2278
|
-
# be according to specifications in https
|
|
2279
|
-
#
|
|
2280
|
-
#
|
|
2281
|
-
# replaced with new values.
|
|
2291
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
2292
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
2293
|
+
# specified. Existing tags will be replaced with new values.
|
|
2282
2294
|
# Corresponds to the JSON property `desiredNodePoolAutoConfigResourceManagerTags`
|
|
2283
2295
|
# @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
|
|
2284
2296
|
attr_accessor :desired_node_pool_auto_config_resource_manager_tags
|
|
@@ -2376,6 +2388,11 @@ module Google
|
|
|
2376
2388
|
# @return [Google::Apis::ContainerV1beta1::SecretManagerConfig]
|
|
2377
2389
|
attr_accessor :desired_secret_manager_config
|
|
2378
2390
|
|
|
2391
|
+
# Configuration for sync Secret Manager secrets as k8s secrets.
|
|
2392
|
+
# Corresponds to the JSON property `desiredSecretSyncConfig`
|
|
2393
|
+
# @return [Google::Apis::ContainerV1beta1::SecretSyncConfig]
|
|
2394
|
+
attr_accessor :desired_secret_sync_config
|
|
2395
|
+
|
|
2379
2396
|
# SecurityPostureConfig defines the flags needed to enable/disable features for
|
|
2380
2397
|
# the Security Posture API.
|
|
2381
2398
|
# Corresponds to the JSON property `desiredSecurityPostureConfig`
|
|
@@ -2541,6 +2558,7 @@ module Google
|
|
|
2541
2558
|
@desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
|
|
2542
2559
|
@desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config)
|
|
2543
2560
|
@desired_secret_manager_config = args[:desired_secret_manager_config] if args.key?(:desired_secret_manager_config)
|
|
2561
|
+
@desired_secret_sync_config = args[:desired_secret_sync_config] if args.key?(:desired_secret_sync_config)
|
|
2544
2562
|
@desired_security_posture_config = args[:desired_security_posture_config] if args.key?(:desired_security_posture_config)
|
|
2545
2563
|
@desired_service_external_ips_config = args[:desired_service_external_ips_config] if args.key?(:desired_service_external_ips_config)
|
|
2546
2564
|
@desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes)
|
|
@@ -2632,17 +2650,15 @@ module Google
|
|
|
2632
2650
|
attr_accessor :name
|
|
2633
2651
|
|
|
2634
2652
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
2635
|
-
#
|
|
2636
|
-
#
|
|
2637
|
-
# the name field.
|
|
2653
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
2654
|
+
# field has been deprecated and replaced by the name field.
|
|
2638
2655
|
# Corresponds to the JSON property `projectId`
|
|
2639
2656
|
# @return [String]
|
|
2640
2657
|
attr_accessor :project_id
|
|
2641
2658
|
|
|
2642
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
2643
|
-
#
|
|
2644
|
-
#
|
|
2645
|
-
# field.
|
|
2659
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
2660
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
2661
|
+
# been deprecated and replaced by the name field.
|
|
2646
2662
|
# Corresponds to the JSON property `zone`
|
|
2647
2663
|
# @return [String]
|
|
2648
2664
|
attr_accessor :zone
|
|
@@ -2874,17 +2890,15 @@ module Google
|
|
|
2874
2890
|
attr_accessor :parent
|
|
2875
2891
|
|
|
2876
2892
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
2877
|
-
#
|
|
2878
|
-
#
|
|
2879
|
-
# the parent field.
|
|
2893
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
2894
|
+
# field has been deprecated and replaced by the parent field.
|
|
2880
2895
|
# Corresponds to the JSON property `projectId`
|
|
2881
2896
|
# @return [String]
|
|
2882
2897
|
attr_accessor :project_id
|
|
2883
2898
|
|
|
2884
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
2885
|
-
#
|
|
2886
|
-
#
|
|
2887
|
-
# field.
|
|
2899
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
2900
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
2901
|
+
# been deprecated and replaced by the parent field.
|
|
2888
2902
|
# Corresponds to the JSON property `zone`
|
|
2889
2903
|
# @return [String]
|
|
2890
2904
|
attr_accessor :zone
|
|
@@ -2929,17 +2943,15 @@ module Google
|
|
|
2929
2943
|
attr_accessor :parent
|
|
2930
2944
|
|
|
2931
2945
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
2932
|
-
#
|
|
2933
|
-
#
|
|
2934
|
-
# the parent field.
|
|
2946
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
2947
|
+
# field has been deprecated and replaced by the parent field.
|
|
2935
2948
|
# Corresponds to the JSON property `projectId`
|
|
2936
2949
|
# @return [String]
|
|
2937
2950
|
attr_accessor :project_id
|
|
2938
2951
|
|
|
2939
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
2940
|
-
#
|
|
2941
|
-
#
|
|
2942
|
-
# field.
|
|
2952
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
2953
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
2954
|
+
# been deprecated and replaced by the parent field.
|
|
2943
2955
|
# Corresponds to the JSON property `zone`
|
|
2944
2956
|
# @return [String]
|
|
2945
2957
|
attr_accessor :zone
|
|
@@ -3152,6 +3164,25 @@ module Google
|
|
|
3152
3164
|
end
|
|
3153
3165
|
end
|
|
3154
3166
|
|
|
3167
|
+
# Provisions a new, separate local NVMe SSD exclusively for swap.
|
|
3168
|
+
class DedicatedLocalSsdProfile
|
|
3169
|
+
include Google::Apis::Core::Hashable
|
|
3170
|
+
|
|
3171
|
+
# The number of physical local NVMe SSD disks to attach.
|
|
3172
|
+
# Corresponds to the JSON property `diskCount`
|
|
3173
|
+
# @return [Fixnum]
|
|
3174
|
+
attr_accessor :disk_count
|
|
3175
|
+
|
|
3176
|
+
def initialize(**args)
|
|
3177
|
+
update!(**args)
|
|
3178
|
+
end
|
|
3179
|
+
|
|
3180
|
+
# Update properties of this object
|
|
3181
|
+
def update!(**args)
|
|
3182
|
+
@disk_count = args[:disk_count] if args.key?(:disk_count)
|
|
3183
|
+
end
|
|
3184
|
+
end
|
|
3185
|
+
|
|
3155
3186
|
# DefaultComputeClassConfig defines default compute class configuration.
|
|
3156
3187
|
class DefaultComputeClassConfig
|
|
3157
3188
|
include Google::Apis::Core::Hashable
|
|
@@ -3271,6 +3302,27 @@ module Google
|
|
|
3271
3302
|
end
|
|
3272
3303
|
end
|
|
3273
3304
|
|
|
3305
|
+
# Defines encryption settings for the swap space.
|
|
3306
|
+
class EncryptionConfig
|
|
3307
|
+
include Google::Apis::Core::Hashable
|
|
3308
|
+
|
|
3309
|
+
# Optional. If true, swap space will not be encrypted. Defaults to false (
|
|
3310
|
+
# encrypted).
|
|
3311
|
+
# Corresponds to the JSON property `disabled`
|
|
3312
|
+
# @return [Boolean]
|
|
3313
|
+
attr_accessor :disabled
|
|
3314
|
+
alias_method :disabled?, :disabled
|
|
3315
|
+
|
|
3316
|
+
def initialize(**args)
|
|
3317
|
+
update!(**args)
|
|
3318
|
+
end
|
|
3319
|
+
|
|
3320
|
+
# Update properties of this object
|
|
3321
|
+
def update!(**args)
|
|
3322
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
|
3323
|
+
end
|
|
3324
|
+
end
|
|
3325
|
+
|
|
3274
3326
|
# EnterpriseConfig is the cluster enterprise configuration. Deprecated: GKE
|
|
3275
3327
|
# Enterprise features are now available without an Enterprise tier.
|
|
3276
3328
|
class EnterpriseConfig
|
|
@@ -3297,6 +3349,32 @@ module Google
|
|
|
3297
3349
|
end
|
|
3298
3350
|
end
|
|
3299
3351
|
|
|
3352
|
+
# Swap on the local SSD shared with pod ephemeral storage.
|
|
3353
|
+
class EphemeralLocalSsdProfile
|
|
3354
|
+
include Google::Apis::Core::Hashable
|
|
3355
|
+
|
|
3356
|
+
# Specifies the size of the swap space in gibibytes (GiB).
|
|
3357
|
+
# Corresponds to the JSON property `swapSizeGib`
|
|
3358
|
+
# @return [Fixnum]
|
|
3359
|
+
attr_accessor :swap_size_gib
|
|
3360
|
+
|
|
3361
|
+
# Specifies the size of the swap space as a percentage of the ephemeral local
|
|
3362
|
+
# SSD capacity.
|
|
3363
|
+
# Corresponds to the JSON property `swapSizePercent`
|
|
3364
|
+
# @return [Fixnum]
|
|
3365
|
+
attr_accessor :swap_size_percent
|
|
3366
|
+
|
|
3367
|
+
def initialize(**args)
|
|
3368
|
+
update!(**args)
|
|
3369
|
+
end
|
|
3370
|
+
|
|
3371
|
+
# Update properties of this object
|
|
3372
|
+
def update!(**args)
|
|
3373
|
+
@swap_size_gib = args[:swap_size_gib] if args.key?(:swap_size_gib)
|
|
3374
|
+
@swap_size_percent = args[:swap_size_percent] if args.key?(:swap_size_percent)
|
|
3375
|
+
end
|
|
3376
|
+
end
|
|
3377
|
+
|
|
3300
3378
|
# EphemeralStorageConfig contains configuration for the ephemeral storage
|
|
3301
3379
|
# filesystem.
|
|
3302
3380
|
class EphemeralStorageConfig
|
|
@@ -3304,16 +3382,15 @@ module Google
|
|
|
3304
3382
|
|
|
3305
3383
|
# Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces.
|
|
3306
3384
|
# The limit for this value is dependent upon the maximum number of disk
|
|
3307
|
-
# available on a machine per zone. See: https
|
|
3308
|
-
#
|
|
3309
|
-
#
|
|
3310
|
-
#
|
|
3311
|
-
#
|
|
3312
|
-
#
|
|
3313
|
-
#
|
|
3314
|
-
#
|
|
3315
|
-
#
|
|
3316
|
-
# provisioned. See https://`$universe.dns_names.final_documentation_domain`/
|
|
3385
|
+
# available on a machine per zone. See: https://cloud.google.com/compute/docs/
|
|
3386
|
+
# disks/local-ssd for more information. A zero (or unset) value has different
|
|
3387
|
+
# meanings depending on machine type being used: 1. For pre-Gen3 machines, which
|
|
3388
|
+
# support flexible numbers of local ssds, zero (or unset) means to disable using
|
|
3389
|
+
# local SSDs as ephemeral storage. 2. For Gen3 machines which dictate a specific
|
|
3390
|
+
# number of local ssds, zero (or unset) means to use the default number of local
|
|
3391
|
+
# ssds that goes with that machine type. For example, for a c3-standard-8-lssd
|
|
3392
|
+
# machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't
|
|
3393
|
+
# support local ssds), 0 will be provisioned. See https://cloud.google.com/
|
|
3317
3394
|
# compute/docs/disks/local-ssd#choose_number_local_ssds for more info.
|
|
3318
3395
|
# Corresponds to the JSON property `localSsdCount`
|
|
3319
3396
|
# @return [Fixnum]
|
|
@@ -3344,15 +3421,13 @@ module Google
|
|
|
3344
3421
|
# used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds,
|
|
3345
3422
|
# zero (or unset) means to disable using local SSDs as ephemeral storage. The
|
|
3346
3423
|
# limit for this value is dependent upon the maximum number of disk available on
|
|
3347
|
-
# a machine per zone. See: https
|
|
3348
|
-
#
|
|
3349
|
-
#
|
|
3350
|
-
#
|
|
3351
|
-
#
|
|
3352
|
-
#
|
|
3353
|
-
#
|
|
3354
|
-
# final_documentation_domain`/compute/docs/disks/local-ssd#
|
|
3355
|
-
# choose_number_local_ssds for more info.
|
|
3424
|
+
# a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd
|
|
3425
|
+
# for more information. 2. For Gen3 machines which dictate a specific number of
|
|
3426
|
+
# local ssds, zero (or unset) means to use the default number of local ssds that
|
|
3427
|
+
# goes with that machine type. For example, for a c3-standard-8-lssd machine, 2
|
|
3428
|
+
# local ssds would be provisioned. For c3-standard-8 (which doesn't support
|
|
3429
|
+
# local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/
|
|
3430
|
+
# disks/local-ssd#choose_number_local_ssds for more info.
|
|
3356
3431
|
# Corresponds to the JSON property `localSsdCount`
|
|
3357
3432
|
# @return [Fixnum]
|
|
3358
3433
|
attr_accessor :local_ssd_count
|
|
@@ -3660,9 +3735,8 @@ module Google
|
|
|
3660
3735
|
end
|
|
3661
3736
|
end
|
|
3662
3737
|
|
|
3663
|
-
# GCPSecretManagerCertificateConfig configures a secret from [
|
|
3664
|
-
#
|
|
3665
|
-
# manager).
|
|
3738
|
+
# GCPSecretManagerCertificateConfig configures a secret from [Secret Manager](
|
|
3739
|
+
# https://cloud.google.com/secret-manager).
|
|
3666
3740
|
class GcpSecretManagerCertificateConfig
|
|
3667
3741
|
include Google::Apis::Core::Hashable
|
|
3668
3742
|
|
|
@@ -4639,6 +4713,16 @@ module Google
|
|
|
4639
4713
|
# @return [Google::Apis::ContainerV1beta1::HugepagesConfig]
|
|
4640
4714
|
attr_accessor :hugepages
|
|
4641
4715
|
|
|
4716
|
+
# Configuration for kernel module loading on nodes.
|
|
4717
|
+
# Corresponds to the JSON property `nodeKernelModuleLoading`
|
|
4718
|
+
# @return [Google::Apis::ContainerV1beta1::NodeKernelModuleLoading]
|
|
4719
|
+
attr_accessor :node_kernel_module_loading
|
|
4720
|
+
|
|
4721
|
+
# Configuration for swap memory on a node pool.
|
|
4722
|
+
# Corresponds to the JSON property `swapConfig`
|
|
4723
|
+
# @return [Google::Apis::ContainerV1beta1::SwapConfig]
|
|
4724
|
+
attr_accessor :swap_config
|
|
4725
|
+
|
|
4642
4726
|
# The Linux kernel parameters to be applied to the nodes and all pods running on
|
|
4643
4727
|
# the nodes. The following parameters are supported. net.core.busy_poll net.core.
|
|
4644
4728
|
# busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default
|
|
@@ -4683,6 +4767,8 @@ module Google
|
|
|
4683
4767
|
def update!(**args)
|
|
4684
4768
|
@cgroup_mode = args[:cgroup_mode] if args.key?(:cgroup_mode)
|
|
4685
4769
|
@hugepages = args[:hugepages] if args.key?(:hugepages)
|
|
4770
|
+
@node_kernel_module_loading = args[:node_kernel_module_loading] if args.key?(:node_kernel_module_loading)
|
|
4771
|
+
@swap_config = args[:swap_config] if args.key?(:swap_config)
|
|
4686
4772
|
@sysctls = args[:sysctls] if args.key?(:sysctls)
|
|
4687
4773
|
@transparent_hugepage_defrag = args[:transparent_hugepage_defrag] if args.key?(:transparent_hugepage_defrag)
|
|
4688
4774
|
@transparent_hugepage_enabled = args[:transparent_hugepage_enabled] if args.key?(:transparent_hugepage_enabled)
|
|
@@ -4823,18 +4909,17 @@ module Google
|
|
|
4823
4909
|
include Google::Apis::Core::Hashable
|
|
4824
4910
|
|
|
4825
4911
|
# Number of local NVMe SSDs to use. The limit for this value is dependent upon
|
|
4826
|
-
# the maximum number of disk available on a machine per zone. See: https
|
|
4827
|
-
#
|
|
4828
|
-
#
|
|
4829
|
-
#
|
|
4830
|
-
#
|
|
4831
|
-
#
|
|
4832
|
-
#
|
|
4833
|
-
#
|
|
4834
|
-
#
|
|
4835
|
-
#
|
|
4836
|
-
#
|
|
4837
|
-
# choose_number_local_ssds for more info.
|
|
4912
|
+
# the maximum number of disk available on a machine per zone. See: https://cloud.
|
|
4913
|
+
# google.com/compute/docs/disks/local-ssd for more information. A zero (or unset)
|
|
4914
|
+
# value has different meanings depending on machine type being used: 1. For pre-
|
|
4915
|
+
# Gen3 machines, which support flexible numbers of local ssds, zero (or unset)
|
|
4916
|
+
# means to disable using local SSDs as ephemeral storage. 2. For Gen3 machines
|
|
4917
|
+
# which dictate a specific number of local ssds, zero (or unset) means to use
|
|
4918
|
+
# the default number of local ssds that goes with that machine type. For example,
|
|
4919
|
+
# for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-
|
|
4920
|
+
# standard-8 (which doesn't support local ssds), 0 will be provisioned. See
|
|
4921
|
+
# https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds
|
|
4922
|
+
# for more info.
|
|
4838
4923
|
# Corresponds to the JSON property `localSsdCount`
|
|
4839
4924
|
# @return [Fixnum]
|
|
4840
4925
|
attr_accessor :local_ssd_count
|
|
@@ -4975,6 +5060,11 @@ module Google
|
|
|
4975
5060
|
class MaintenanceExclusionOptions
|
|
4976
5061
|
include Google::Apis::Core::Hashable
|
|
4977
5062
|
|
|
5063
|
+
# EndTimeBehavior specifies the behavior of the exclusion end time.
|
|
5064
|
+
# Corresponds to the JSON property `endTimeBehavior`
|
|
5065
|
+
# @return [String]
|
|
5066
|
+
attr_accessor :end_time_behavior
|
|
5067
|
+
|
|
4978
5068
|
# Scope specifies the upgrade scope which upgrades are blocked by the exclusion.
|
|
4979
5069
|
# Corresponds to the JSON property `scope`
|
|
4980
5070
|
# @return [String]
|
|
@@ -4986,6 +5076,7 @@ module Google
|
|
|
4986
5076
|
|
|
4987
5077
|
# Update properties of this object
|
|
4988
5078
|
def update!(**args)
|
|
5079
|
+
@end_time_behavior = args[:end_time_behavior] if args.key?(:end_time_behavior)
|
|
4989
5080
|
@scope = args[:scope] if args.key?(:scope)
|
|
4990
5081
|
end
|
|
4991
5082
|
end
|
|
@@ -5125,9 +5216,8 @@ module Google
|
|
|
5125
5216
|
# strong password. If a password is provided for cluster creation, username must
|
|
5126
5217
|
# be non-empty. Warning: basic authentication is deprecated, and will be removed
|
|
5127
5218
|
# in GKE control plane versions 1.19 and newer. For a list of recommended
|
|
5128
|
-
# authentication methods, see: https
|
|
5129
|
-
#
|
|
5130
|
-
# authentication
|
|
5219
|
+
# authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/
|
|
5220
|
+
# how-to/api-server-authentication
|
|
5131
5221
|
# Corresponds to the JSON property `password`
|
|
5132
5222
|
# @return [String]
|
|
5133
5223
|
attr_accessor :password
|
|
@@ -5137,8 +5227,8 @@ module Google
|
|
|
5137
5227
|
# username unspecified (or setting it to the empty string). Warning: basic
|
|
5138
5228
|
# authentication is deprecated, and will be removed in GKE control plane
|
|
5139
5229
|
# versions 1.19 and newer. For a list of recommended authentication methods, see:
|
|
5140
|
-
# https
|
|
5141
|
-
#
|
|
5230
|
+
# https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-
|
|
5231
|
+
# authentication
|
|
5142
5232
|
# Corresponds to the JSON property `username`
|
|
5143
5233
|
# @return [String]
|
|
5144
5234
|
attr_accessor :username
|
|
@@ -5435,10 +5525,9 @@ module Google
|
|
|
5435
5525
|
# @return [String]
|
|
5436
5526
|
attr_accessor :in_transit_encryption_config
|
|
5437
5527
|
|
|
5438
|
-
# Output only. The relative name of the Google Compute Engine [network](https
|
|
5439
|
-
#
|
|
5440
|
-
#
|
|
5441
|
-
# project/global/networks/my-network
|
|
5528
|
+
# Output only. The relative name of the Google Compute Engine [network](https://
|
|
5529
|
+
# cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the
|
|
5530
|
+
# cluster is connected. Example: projects/my-project/global/networks/my-network
|
|
5442
5531
|
# Corresponds to the JSON property `network`
|
|
5443
5532
|
# @return [String]
|
|
5444
5533
|
attr_accessor :network
|
|
@@ -5460,9 +5549,8 @@ module Google
|
|
|
5460
5549
|
attr_accessor :service_external_ips_config
|
|
5461
5550
|
|
|
5462
5551
|
# Output only. The relative name of the Google Compute Engine [subnetwork](https:
|
|
5463
|
-
#
|
|
5464
|
-
#
|
|
5465
|
-
# subnetworks/my-subnet
|
|
5552
|
+
# //cloud.google.com/compute/docs/vpc) to which the cluster is connected.
|
|
5553
|
+
# Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
|
|
5466
5554
|
# Corresponds to the JSON property `subnetwork`
|
|
5467
5555
|
# @return [String]
|
|
5468
5556
|
attr_accessor :subnetwork
|
|
@@ -5609,9 +5697,8 @@ module Google
|
|
|
5609
5697
|
end
|
|
5610
5698
|
|
|
5611
5699
|
# Specifies the NodeAffinity key, values, and affinity operator according to [
|
|
5612
|
-
# shared sole tenant node group affinities](https
|
|
5613
|
-
#
|
|
5614
|
-
# node_affinity_and_anti-affinity).
|
|
5700
|
+
# shared sole tenant node group affinities](https://cloud.google.com/compute/
|
|
5701
|
+
# docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity).
|
|
5615
5702
|
class NodeAffinity
|
|
5616
5703
|
include Google::Apis::Core::Hashable
|
|
5617
5704
|
|
|
@@ -5648,9 +5735,8 @@ module Google
|
|
|
5648
5735
|
class NodeConfig
|
|
5649
5736
|
include Google::Apis::Core::Hashable
|
|
5650
5737
|
|
|
5651
|
-
# A list of hardware accelerators to be attached to each node. See https
|
|
5652
|
-
#
|
|
5653
|
-
# information about support for GPUs.
|
|
5738
|
+
# A list of hardware accelerators to be attached to each node. See https://cloud.
|
|
5739
|
+
# google.com/compute/docs/gpus for more information about support for GPUs.
|
|
5654
5740
|
# Corresponds to the JSON property `accelerators`
|
|
5655
5741
|
# @return [Array<Google::Apis::ContainerV1beta1::AcceleratorConfig>]
|
|
5656
5742
|
attr_accessor :accelerators
|
|
@@ -5669,8 +5755,7 @@ module Google
|
|
|
5669
5755
|
# each node in the node pool. This should be of the form projects/[
|
|
5670
5756
|
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
|
5671
5757
|
# . For more information about protecting resources with Cloud KMS Keys please
|
|
5672
|
-
# see: https
|
|
5673
|
-
# disks/customer-managed-encryption
|
|
5758
|
+
# see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
|
|
5674
5759
|
# Corresponds to the JSON property `bootDiskKmsKey`
|
|
5675
5760
|
# @return [String]
|
|
5676
5761
|
attr_accessor :boot_disk_kms_key
|
|
@@ -5752,9 +5837,8 @@ module Google
|
|
|
5752
5837
|
attr_accessor :host_maintenance_policy
|
|
5753
5838
|
|
|
5754
5839
|
# The image type to use for this node. Note that for a given image type, the
|
|
5755
|
-
# latest version of it will be used. Please see https
|
|
5756
|
-
#
|
|
5757
|
-
# available image types.
|
|
5840
|
+
# latest version of it will be used. Please see https://cloud.google.com/
|
|
5841
|
+
# kubernetes-engine/docs/concepts/node-images for available image types.
|
|
5758
5842
|
# Corresponds to the JSON property `imageType`
|
|
5759
5843
|
# @return [String]
|
|
5760
5844
|
attr_accessor :image_type
|
|
@@ -5788,8 +5872,8 @@ module Google
|
|
|
5788
5872
|
|
|
5789
5873
|
# The number of local SSD disks to be attached to the node. The limit for this
|
|
5790
5874
|
# value is dependent upon the maximum number of disks available on a machine per
|
|
5791
|
-
# zone. See: https
|
|
5792
|
-
#
|
|
5875
|
+
# zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
|
|
5876
|
+
# information.
|
|
5793
5877
|
# Corresponds to the JSON property `localSsdCount`
|
|
5794
5878
|
# @return [Fixnum]
|
|
5795
5879
|
attr_accessor :local_ssd_count
|
|
@@ -5805,9 +5889,9 @@ module Google
|
|
|
5805
5889
|
# @return [Google::Apis::ContainerV1beta1::NodePoolLoggingConfig]
|
|
5806
5890
|
attr_accessor :logging_config
|
|
5807
5891
|
|
|
5808
|
-
# The name of a Google Compute Engine [machine type](https
|
|
5809
|
-
#
|
|
5810
|
-
#
|
|
5892
|
+
# The name of a Google Compute Engine [machine type](https://cloud.google.com/
|
|
5893
|
+
# compute/docs/machine-types). If unspecified, the default machine type is `e2-
|
|
5894
|
+
# medium`.
|
|
5811
5895
|
# Corresponds to the JSON property `machineType`
|
|
5812
5896
|
# @return [String]
|
|
5813
5897
|
attr_accessor :machine_type
|
|
@@ -5840,16 +5924,15 @@ module Google
|
|
|
5840
5924
|
# scheduled on the specified or newer CPU platform. Applicable values are the
|
|
5841
5925
|
# friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
|
|
5842
5926
|
# minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
|
|
5843
|
-
# specify min CPU platform](https
|
|
5844
|
-
#
|
|
5927
|
+
# specify min CPU platform](https://cloud.google.com/compute/docs/instances/
|
|
5928
|
+
# specify-min-cpu-platform).
|
|
5845
5929
|
# Corresponds to the JSON property `minCpuPlatform`
|
|
5846
5930
|
# @return [String]
|
|
5847
5931
|
attr_accessor :min_cpu_platform
|
|
5848
5932
|
|
|
5849
5933
|
# Setting this field will assign instances of this pool to run on the specified
|
|
5850
5934
|
# node group. This is useful for running workloads on [sole tenant nodes](https:/
|
|
5851
|
-
#
|
|
5852
|
-
# tenant-nodes).
|
|
5935
|
+
# /cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
|
|
5853
5936
|
# Corresponds to the JSON property `nodeGroup`
|
|
5854
5937
|
# @return [String]
|
|
5855
5938
|
attr_accessor :node_group
|
|
@@ -5859,25 +5942,25 @@ module Google
|
|
|
5859
5942
|
# required, and by default are not included: * `https://www.googleapis.com/auth/
|
|
5860
5943
|
# compute` is required for mounting persistent storage on your nodes. * `https://
|
|
5861
5944
|
# www.googleapis.com/auth/devstorage.read_only` is required for communicating
|
|
5862
|
-
# with **gcr.io** (the [
|
|
5863
|
-
#
|
|
5864
|
-
#
|
|
5865
|
-
#
|
|
5945
|
+
# with **gcr.io** (the [Artifact Registry](https://cloud.google.com/artifact-
|
|
5946
|
+
# registry/)). If unspecified, no scopes are added, unless Cloud Logging or
|
|
5947
|
+
# Cloud Monitoring are enabled, in which case their required scopes will be
|
|
5948
|
+
# added.
|
|
5866
5949
|
# Corresponds to the JSON property `oauthScopes`
|
|
5867
5950
|
# @return [Array<String>]
|
|
5868
5951
|
attr_accessor :oauth_scopes
|
|
5869
5952
|
|
|
5870
|
-
# Whether the nodes are created as preemptible VM instances. See: https
|
|
5871
|
-
#
|
|
5872
|
-
# preemptible
|
|
5953
|
+
# Whether the nodes are created as preemptible VM instances. See: https://cloud.
|
|
5954
|
+
# google.com/compute/docs/instances/preemptible for more information about
|
|
5955
|
+
# preemptible VM instances.
|
|
5873
5956
|
# Corresponds to the JSON property `preemptible`
|
|
5874
5957
|
# @return [Boolean]
|
|
5875
5958
|
attr_accessor :preemptible
|
|
5876
5959
|
alias_method :preemptible?, :preemptible
|
|
5877
5960
|
|
|
5878
|
-
# [ReservationAffinity](https
|
|
5879
|
-
#
|
|
5880
|
-
#
|
|
5961
|
+
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
|
5962
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
|
5963
|
+
# instances could take capacity from.
|
|
5881
5964
|
# Corresponds to the JSON property `reservationAffinity`
|
|
5882
5965
|
# @return [Google::Apis::ContainerV1beta1::ReservationAffinity]
|
|
5883
5966
|
attr_accessor :reservation_affinity
|
|
@@ -5890,10 +5973,9 @@ module Google
|
|
|
5890
5973
|
|
|
5891
5974
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
5892
5975
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
5893
|
-
# be according to specifications in https
|
|
5894
|
-
#
|
|
5895
|
-
#
|
|
5896
|
-
# replaced with new values.
|
|
5976
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
5977
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
5978
|
+
# specified. Existing tags will be replaced with new values.
|
|
5897
5979
|
# Corresponds to the JSON property `resourceManagerTags`
|
|
5898
5980
|
# @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
|
|
5899
5981
|
attr_accessor :resource_manager_tags
|
|
@@ -6072,6 +6154,25 @@ module Google
|
|
|
6072
6154
|
end
|
|
6073
6155
|
end
|
|
6074
6156
|
|
|
6157
|
+
# Configuration for kernel module loading on nodes.
|
|
6158
|
+
class NodeKernelModuleLoading
|
|
6159
|
+
include Google::Apis::Core::Hashable
|
|
6160
|
+
|
|
6161
|
+
# Set the node module loading policy for nodes in the node pool.
|
|
6162
|
+
# Corresponds to the JSON property `policy`
|
|
6163
|
+
# @return [String]
|
|
6164
|
+
attr_accessor :policy
|
|
6165
|
+
|
|
6166
|
+
def initialize(**args)
|
|
6167
|
+
update!(**args)
|
|
6168
|
+
end
|
|
6169
|
+
|
|
6170
|
+
# Update properties of this object
|
|
6171
|
+
def update!(**args)
|
|
6172
|
+
@policy = args[:policy] if args.key?(:policy)
|
|
6173
|
+
end
|
|
6174
|
+
end
|
|
6175
|
+
|
|
6075
6176
|
# Node kubelet configs.
|
|
6076
6177
|
class NodeKubeletConfig
|
|
6077
6178
|
include Google::Apis::Core::Hashable
|
|
@@ -6335,6 +6436,14 @@ module Google
|
|
|
6335
6436
|
class NodeNetworkConfig
|
|
6336
6437
|
include Google::Apis::Core::Hashable
|
|
6337
6438
|
|
|
6439
|
+
# Immutable. The accelerator network profile for the node pool. For now the only
|
|
6440
|
+
# valid value is "auto". If specified, the network configuration of the nodes in
|
|
6441
|
+
# this node pool will be managed by this profile for the supported machine types,
|
|
6442
|
+
# zone, etc.
|
|
6443
|
+
# Corresponds to the JSON property `acceleratorNetworkProfile`
|
|
6444
|
+
# @return [String]
|
|
6445
|
+
attr_accessor :accelerator_network_profile
|
|
6446
|
+
|
|
6338
6447
|
# We specify the additional node networks for this node pool using this list.
|
|
6339
6448
|
# Each node network corresponds to an additional interface
|
|
6340
6449
|
# Corresponds to the JSON property `additionalNodeNetworkConfigs`
|
|
@@ -6422,6 +6531,7 @@ module Google
|
|
|
6422
6531
|
|
|
6423
6532
|
# Update properties of this object
|
|
6424
6533
|
def update!(**args)
|
|
6534
|
+
@accelerator_network_profile = args[:accelerator_network_profile] if args.key?(:accelerator_network_profile)
|
|
6425
6535
|
@additional_node_network_configs = args[:additional_node_network_configs] if args.key?(:additional_node_network_configs)
|
|
6426
6536
|
@additional_pod_network_configs = args[:additional_pod_network_configs] if args.key?(:additional_pod_network_configs)
|
|
6427
6537
|
@create_pod_range = args[:create_pod_range] if args.key?(:create_pod_range)
|
|
@@ -6481,30 +6591,27 @@ module Google
|
|
|
6481
6591
|
attr_accessor :etag
|
|
6482
6592
|
|
|
6483
6593
|
# The initial node count for the pool. You must ensure that your Compute Engine [
|
|
6484
|
-
# resource quota](https
|
|
6485
|
-
#
|
|
6486
|
-
#
|
|
6594
|
+
# resource quota](https://cloud.google.com/compute/quotas) is sufficient for
|
|
6595
|
+
# this number of instances. You must also have available firewall and routes
|
|
6596
|
+
# quota.
|
|
6487
6597
|
# Corresponds to the JSON property `initialNodeCount`
|
|
6488
6598
|
# @return [Fixnum]
|
|
6489
6599
|
attr_accessor :initial_node_count
|
|
6490
6600
|
|
|
6491
|
-
# Output only. The resource URLs of the [managed instance groups](https
|
|
6492
|
-
#
|
|
6493
|
-
#
|
|
6494
|
-
#
|
|
6495
|
-
# green resources.
|
|
6601
|
+
# Output only. The resource URLs of the [managed instance groups](https://cloud.
|
|
6602
|
+
# google.com/compute/docs/instance-groups/creating-groups-of-managed-instances)
|
|
6603
|
+
# associated with this node pool. During the node pool blue-green upgrade
|
|
6604
|
+
# operation, the URLs contain both blue and green resources.
|
|
6496
6605
|
# Corresponds to the JSON property `instanceGroupUrls`
|
|
6497
6606
|
# @return [Array<String>]
|
|
6498
6607
|
attr_accessor :instance_group_urls
|
|
6499
6608
|
|
|
6500
|
-
# The list of Google Compute Engine [zones](https
|
|
6501
|
-
#
|
|
6502
|
-
#
|
|
6503
|
-
#
|
|
6504
|
-
#
|
|
6505
|
-
# locations
|
|
6506
|
-
# Warning: changing node pool locations will result in nodes being added and/or
|
|
6507
|
-
# removed.
|
|
6609
|
+
# The list of Google Compute Engine [zones](https://cloud.google.com/compute/
|
|
6610
|
+
# docs/zones#available) in which the NodePool's nodes should be located. If this
|
|
6611
|
+
# value is unspecified during node pool creation, the [Cluster.Locations](https:/
|
|
6612
|
+
# /cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.
|
|
6613
|
+
# clusters#Cluster.FIELDS.locations) value will be used, instead. Warning:
|
|
6614
|
+
# changing node pool locations will result in nodes being added and/or removed.
|
|
6508
6615
|
# Corresponds to the JSON property `locations`
|
|
6509
6616
|
# @return [Array<String>]
|
|
6510
6617
|
attr_accessor :locations
|
|
@@ -6603,9 +6710,8 @@ module Google
|
|
|
6603
6710
|
attr_accessor :upgrade_settings
|
|
6604
6711
|
|
|
6605
6712
|
# The version of Kubernetes running on this NodePool's nodes. If unspecified, it
|
|
6606
|
-
# defaults as described [here](https
|
|
6607
|
-
#
|
|
6608
|
-
# specifying_node_version).
|
|
6713
|
+
# defaults as described [here](https://cloud.google.com/kubernetes-engine/
|
|
6714
|
+
# versioning#specifying_node_version).
|
|
6609
6715
|
# Corresponds to the JSON property `version`
|
|
6610
6716
|
# @return [String]
|
|
6611
6717
|
attr_accessor :version
|
|
@@ -6665,10 +6771,9 @@ module Google
|
|
|
6665
6771
|
|
|
6666
6772
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
6667
6773
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
6668
|
-
# be according to specifications in https
|
|
6669
|
-
#
|
|
6670
|
-
#
|
|
6671
|
-
# replaced with new values.
|
|
6774
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
6775
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
6776
|
+
# specified. Existing tags will be replaced with new values.
|
|
6672
6777
|
# Corresponds to the JSON property `resourceManagerTags`
|
|
6673
6778
|
# @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
|
|
6674
6779
|
attr_accessor :resource_manager_tags
|
|
@@ -6949,11 +7054,10 @@ module Google
|
|
|
6949
7054
|
# @return [Google::Apis::ContainerV1beta1::Status]
|
|
6950
7055
|
attr_accessor :error
|
|
6951
7056
|
|
|
6952
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
6953
|
-
#
|
|
6954
|
-
# available)
|
|
6955
|
-
#
|
|
6956
|
-
# resides.
|
|
7057
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
7058
|
+
# com/compute/docs/regions-zones/regions-zones#available) or [region](https://
|
|
7059
|
+
# cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which
|
|
7060
|
+
# the cluster resides.
|
|
6957
7061
|
# Corresponds to the JSON property `location`
|
|
6958
7062
|
# @return [String]
|
|
6959
7063
|
attr_accessor :location
|
|
@@ -7015,9 +7119,9 @@ module Google
|
|
|
7015
7119
|
# @return [String]
|
|
7016
7120
|
attr_accessor :target_link
|
|
7017
7121
|
|
|
7018
|
-
# Output only. The name of the Google Compute Engine [zone](https
|
|
7019
|
-
#
|
|
7020
|
-
#
|
|
7122
|
+
# Output only. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
7123
|
+
# com/compute/docs/zones#available) in which the operation is taking place. This
|
|
7124
|
+
# field is deprecated, use location instead.
|
|
7021
7125
|
# Corresponds to the JSON property `zone`
|
|
7022
7126
|
# @return [String]
|
|
7023
7127
|
attr_accessor :zone
|
|
@@ -7213,8 +7317,8 @@ module Google
|
|
|
7213
7317
|
# @return [String]
|
|
7214
7318
|
attr_accessor :policy_name
|
|
7215
7319
|
|
|
7216
|
-
# TPU placement topology for pod slice node pool. https
|
|
7217
|
-
#
|
|
7320
|
+
# TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/
|
|
7321
|
+
# docs/types-topologies#tpu_topologies
|
|
7218
7322
|
# Corresponds to the JSON property `tpuTopology`
|
|
7219
7323
|
# @return [String]
|
|
7220
7324
|
attr_accessor :tpu_topology
|
|
@@ -7785,9 +7889,9 @@ module Google
|
|
|
7785
7889
|
end
|
|
7786
7890
|
end
|
|
7787
7891
|
|
|
7788
|
-
# [ReservationAffinity](https
|
|
7789
|
-
#
|
|
7790
|
-
#
|
|
7892
|
+
# [ReservationAffinity](https://cloud.google.com/compute/docs/instances/
|
|
7893
|
+
# reserving-zonal-resources) is the configuration of desired reservation which
|
|
7894
|
+
# instances could take capacity from.
|
|
7791
7895
|
class ReservationAffinity
|
|
7792
7896
|
include Google::Apis::Core::Hashable
|
|
7793
7897
|
|
|
@@ -7820,8 +7924,8 @@ module Google
|
|
|
7820
7924
|
end
|
|
7821
7925
|
end
|
|
7822
7926
|
|
|
7823
|
-
# Collection of [Resource Manager labels](https
|
|
7824
|
-
#
|
|
7927
|
+
# Collection of [Resource Manager labels](https://cloud.google.com/resource-
|
|
7928
|
+
# manager/docs/creating-managing-labels).
|
|
7825
7929
|
class ResourceLabels
|
|
7826
7930
|
include Google::Apis::Core::Hashable
|
|
7827
7931
|
|
|
@@ -7874,10 +7978,9 @@ module Google
|
|
|
7874
7978
|
|
|
7875
7979
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
7876
7980
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
7877
|
-
# be according to specifications in https
|
|
7878
|
-
#
|
|
7879
|
-
#
|
|
7880
|
-
# replaced with new values.
|
|
7981
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
7982
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
7983
|
+
# specified. Existing tags will be replaced with new values.
|
|
7881
7984
|
class ResourceManagerTags
|
|
7882
7985
|
include Google::Apis::Core::Hashable
|
|
7883
7986
|
|
|
@@ -7957,9 +8060,8 @@ module Google
|
|
|
7957
8060
|
attr_accessor :node_pool_id
|
|
7958
8061
|
|
|
7959
8062
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
7960
|
-
#
|
|
7961
|
-
#
|
|
7962
|
-
# the name field.
|
|
8063
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8064
|
+
# field has been deprecated and replaced by the name field.
|
|
7963
8065
|
# Corresponds to the JSON property `projectId`
|
|
7964
8066
|
# @return [String]
|
|
7965
8067
|
attr_accessor :project_id
|
|
@@ -7970,10 +8072,9 @@ module Google
|
|
|
7970
8072
|
attr_accessor :respect_pdb
|
|
7971
8073
|
alias_method :respect_pdb?, :respect_pdb
|
|
7972
8074
|
|
|
7973
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
7974
|
-
#
|
|
7975
|
-
#
|
|
7976
|
-
# field.
|
|
8075
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8076
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8077
|
+
# been deprecated and replaced by the name field.
|
|
7977
8078
|
# Corresponds to the JSON property `zone`
|
|
7978
8079
|
# @return [String]
|
|
7979
8080
|
attr_accessor :zone
|
|
@@ -8350,17 +8451,15 @@ module Google
|
|
|
8350
8451
|
attr_accessor :name
|
|
8351
8452
|
|
|
8352
8453
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8353
|
-
#
|
|
8354
|
-
#
|
|
8355
|
-
# the name field.
|
|
8454
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8455
|
+
# field has been deprecated and replaced by the name field.
|
|
8356
8456
|
# Corresponds to the JSON property `projectId`
|
|
8357
8457
|
# @return [String]
|
|
8358
8458
|
attr_accessor :project_id
|
|
8359
8459
|
|
|
8360
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8361
|
-
#
|
|
8362
|
-
#
|
|
8363
|
-
# field.
|
|
8460
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8461
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8462
|
+
# been deprecated and replaced by the name field.
|
|
8364
8463
|
# Corresponds to the JSON property `zone`
|
|
8365
8464
|
# @return [String]
|
|
8366
8465
|
attr_accessor :zone
|
|
@@ -8407,9 +8506,8 @@ module Google
|
|
|
8407
8506
|
attr_accessor :name
|
|
8408
8507
|
|
|
8409
8508
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8410
|
-
#
|
|
8411
|
-
#
|
|
8412
|
-
# the name field.
|
|
8509
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8510
|
+
# field has been deprecated and replaced by the name field.
|
|
8413
8511
|
# Corresponds to the JSON property `projectId`
|
|
8414
8512
|
# @return [String]
|
|
8415
8513
|
attr_accessor :project_id
|
|
@@ -8419,10 +8517,9 @@ module Google
|
|
|
8419
8517
|
# @return [Hash<String,String>]
|
|
8420
8518
|
attr_accessor :resource_labels
|
|
8421
8519
|
|
|
8422
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8423
|
-
#
|
|
8424
|
-
#
|
|
8425
|
-
# field.
|
|
8520
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8521
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8522
|
+
# been deprecated and replaced by the name field.
|
|
8426
8523
|
# Corresponds to the JSON property `zone`
|
|
8427
8524
|
# @return [String]
|
|
8428
8525
|
attr_accessor :zone
|
|
@@ -8466,17 +8563,15 @@ module Google
|
|
|
8466
8563
|
attr_accessor :name
|
|
8467
8564
|
|
|
8468
8565
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8469
|
-
#
|
|
8470
|
-
#
|
|
8471
|
-
# the name field.
|
|
8566
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8567
|
+
# field has been deprecated and replaced by the name field.
|
|
8472
8568
|
# Corresponds to the JSON property `projectId`
|
|
8473
8569
|
# @return [String]
|
|
8474
8570
|
attr_accessor :project_id
|
|
8475
8571
|
|
|
8476
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8477
|
-
#
|
|
8478
|
-
#
|
|
8479
|
-
# field.
|
|
8572
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8573
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8574
|
+
# been deprecated and replaced by the name field.
|
|
8480
8575
|
# Corresponds to the JSON property `zone`
|
|
8481
8576
|
# @return [String]
|
|
8482
8577
|
attr_accessor :zone
|
|
@@ -8505,12 +8600,12 @@ module Google
|
|
|
8505
8600
|
# @return [String]
|
|
8506
8601
|
attr_accessor :cluster_id
|
|
8507
8602
|
|
|
8508
|
-
# Required. The desired list of Google Compute Engine [zones](https
|
|
8509
|
-
#
|
|
8510
|
-
#
|
|
8511
|
-
#
|
|
8512
|
-
#
|
|
8513
|
-
#
|
|
8603
|
+
# Required. The desired list of Google Compute Engine [zones](https://cloud.
|
|
8604
|
+
# google.com/compute/docs/zones#available) in which the cluster's nodes should
|
|
8605
|
+
# be located. Changing the locations a cluster is in will result in nodes being
|
|
8606
|
+
# either created or removed from the cluster, depending on whether locations are
|
|
8607
|
+
# being added or removed. This list must always include the cluster's primary
|
|
8608
|
+
# zone.
|
|
8514
8609
|
# Corresponds to the JSON property `locations`
|
|
8515
8610
|
# @return [Array<String>]
|
|
8516
8611
|
attr_accessor :locations
|
|
@@ -8522,17 +8617,15 @@ module Google
|
|
|
8522
8617
|
attr_accessor :name
|
|
8523
8618
|
|
|
8524
8619
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8525
|
-
#
|
|
8526
|
-
#
|
|
8527
|
-
# the name field.
|
|
8620
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8621
|
+
# field has been deprecated and replaced by the name field.
|
|
8528
8622
|
# Corresponds to the JSON property `projectId`
|
|
8529
8623
|
# @return [String]
|
|
8530
8624
|
attr_accessor :project_id
|
|
8531
8625
|
|
|
8532
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8533
|
-
#
|
|
8534
|
-
#
|
|
8535
|
-
# field.
|
|
8626
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8627
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8628
|
+
# been deprecated and replaced by the name field.
|
|
8536
8629
|
# Corresponds to the JSON property `zone`
|
|
8537
8630
|
# @return [String]
|
|
8538
8631
|
attr_accessor :zone
|
|
@@ -8579,17 +8672,15 @@ module Google
|
|
|
8579
8672
|
attr_accessor :name
|
|
8580
8673
|
|
|
8581
8674
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8582
|
-
#
|
|
8583
|
-
#
|
|
8584
|
-
# the name field.
|
|
8675
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8676
|
+
# field has been deprecated and replaced by the name field.
|
|
8585
8677
|
# Corresponds to the JSON property `projectId`
|
|
8586
8678
|
# @return [String]
|
|
8587
8679
|
attr_accessor :project_id
|
|
8588
8680
|
|
|
8589
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8590
|
-
#
|
|
8591
|
-
#
|
|
8592
|
-
# field.
|
|
8681
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8682
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8683
|
+
# been deprecated and replaced by the name field.
|
|
8593
8684
|
# Corresponds to the JSON property `zone`
|
|
8594
8685
|
# @return [String]
|
|
8595
8686
|
attr_accessor :zone
|
|
@@ -8629,15 +8720,13 @@ module Google
|
|
|
8629
8720
|
attr_accessor :name
|
|
8630
8721
|
|
|
8631
8722
|
# Required. The Google Developers Console [project ID or project number](https://
|
|
8632
|
-
#
|
|
8633
|
-
# creating-managing-projects).
|
|
8723
|
+
# cloud.google.com/resource-manager/docs/creating-managing-projects).
|
|
8634
8724
|
# Corresponds to the JSON property `projectId`
|
|
8635
8725
|
# @return [String]
|
|
8636
8726
|
attr_accessor :project_id
|
|
8637
8727
|
|
|
8638
|
-
# Required. The name of the Google Compute Engine [zone](https
|
|
8639
|
-
#
|
|
8640
|
-
# the cluster resides.
|
|
8728
|
+
# Required. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8729
|
+
# com/compute/docs/zones#available) in which the cluster resides.
|
|
8641
8730
|
# Corresponds to the JSON property `zone`
|
|
8642
8731
|
# @return [String]
|
|
8643
8732
|
attr_accessor :zone
|
|
@@ -8678,9 +8767,8 @@ module Google
|
|
|
8678
8767
|
attr_accessor :name
|
|
8679
8768
|
|
|
8680
8769
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8681
|
-
#
|
|
8682
|
-
#
|
|
8683
|
-
# the name field.
|
|
8770
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8771
|
+
# field has been deprecated and replaced by the name field.
|
|
8684
8772
|
# Corresponds to the JSON property `projectId`
|
|
8685
8773
|
# @return [String]
|
|
8686
8774
|
attr_accessor :project_id
|
|
@@ -8691,10 +8779,9 @@ module Google
|
|
|
8691
8779
|
# @return [Google::Apis::ContainerV1beta1::MasterAuth]
|
|
8692
8780
|
attr_accessor :update
|
|
8693
8781
|
|
|
8694
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8695
|
-
#
|
|
8696
|
-
#
|
|
8697
|
-
# field.
|
|
8782
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8783
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8784
|
+
# been deprecated and replaced by the name field.
|
|
8698
8785
|
# Corresponds to the JSON property `zone`
|
|
8699
8786
|
# @return [String]
|
|
8700
8787
|
attr_accessor :zone
|
|
@@ -8742,17 +8829,15 @@ module Google
|
|
|
8742
8829
|
attr_accessor :name
|
|
8743
8830
|
|
|
8744
8831
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8745
|
-
#
|
|
8746
|
-
#
|
|
8747
|
-
# the name field.
|
|
8832
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8833
|
+
# field has been deprecated and replaced by the name field.
|
|
8748
8834
|
# Corresponds to the JSON property `projectId`
|
|
8749
8835
|
# @return [String]
|
|
8750
8836
|
attr_accessor :project_id
|
|
8751
8837
|
|
|
8752
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8753
|
-
#
|
|
8754
|
-
#
|
|
8755
|
-
# field.
|
|
8838
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8839
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8840
|
+
# been deprecated and replaced by the name field.
|
|
8756
8841
|
# Corresponds to the JSON property `zone`
|
|
8757
8842
|
# @return [String]
|
|
8758
8843
|
attr_accessor :zone
|
|
@@ -8794,17 +8879,15 @@ module Google
|
|
|
8794
8879
|
attr_accessor :network_policy
|
|
8795
8880
|
|
|
8796
8881
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8797
|
-
#
|
|
8798
|
-
#
|
|
8799
|
-
# the name field.
|
|
8882
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8883
|
+
# field has been deprecated and replaced by the name field.
|
|
8800
8884
|
# Corresponds to the JSON property `projectId`
|
|
8801
8885
|
# @return [String]
|
|
8802
8886
|
attr_accessor :project_id
|
|
8803
8887
|
|
|
8804
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8805
|
-
#
|
|
8806
|
-
#
|
|
8807
|
-
# field.
|
|
8888
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8889
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8890
|
+
# been deprecated and replaced by the name field.
|
|
8808
8891
|
# Corresponds to the JSON property `zone`
|
|
8809
8892
|
# @return [String]
|
|
8810
8893
|
attr_accessor :zone
|
|
@@ -8853,17 +8936,15 @@ module Google
|
|
|
8853
8936
|
attr_accessor :node_pool_id
|
|
8854
8937
|
|
|
8855
8938
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8856
|
-
#
|
|
8857
|
-
#
|
|
8858
|
-
# the name field.
|
|
8939
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8940
|
+
# field has been deprecated and replaced by the name field.
|
|
8859
8941
|
# Corresponds to the JSON property `projectId`
|
|
8860
8942
|
# @return [String]
|
|
8861
8943
|
attr_accessor :project_id
|
|
8862
8944
|
|
|
8863
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8864
|
-
#
|
|
8865
|
-
#
|
|
8866
|
-
# field.
|
|
8945
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
8946
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
8947
|
+
# been deprecated and replaced by the name field.
|
|
8867
8948
|
# Corresponds to the JSON property `zone`
|
|
8868
8949
|
# @return [String]
|
|
8869
8950
|
attr_accessor :zone
|
|
@@ -8914,17 +8995,15 @@ module Google
|
|
|
8914
8995
|
attr_accessor :node_pool_id
|
|
8915
8996
|
|
|
8916
8997
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8917
|
-
#
|
|
8918
|
-
#
|
|
8919
|
-
# the name field.
|
|
8998
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
8999
|
+
# field has been deprecated and replaced by the name field.
|
|
8920
9000
|
# Corresponds to the JSON property `projectId`
|
|
8921
9001
|
# @return [String]
|
|
8922
9002
|
attr_accessor :project_id
|
|
8923
9003
|
|
|
8924
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8925
|
-
#
|
|
8926
|
-
#
|
|
8927
|
-
# field.
|
|
9004
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9005
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9006
|
+
# been deprecated and replaced by the name field.
|
|
8928
9007
|
# Corresponds to the JSON property `zone`
|
|
8929
9008
|
# @return [String]
|
|
8930
9009
|
attr_accessor :zone
|
|
@@ -8972,17 +9051,15 @@ module Google
|
|
|
8972
9051
|
attr_accessor :node_pool_id
|
|
8973
9052
|
|
|
8974
9053
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
8975
|
-
#
|
|
8976
|
-
#
|
|
8977
|
-
# the name field.
|
|
9054
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9055
|
+
# field has been deprecated and replaced by the name field.
|
|
8978
9056
|
# Corresponds to the JSON property `projectId`
|
|
8979
9057
|
# @return [String]
|
|
8980
9058
|
attr_accessor :project_id
|
|
8981
9059
|
|
|
8982
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
8983
|
-
#
|
|
8984
|
-
#
|
|
8985
|
-
# field.
|
|
9060
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9061
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9062
|
+
# been deprecated and replaced by the name field.
|
|
8986
9063
|
# Corresponds to the JSON property `zone`
|
|
8987
9064
|
# @return [String]
|
|
8988
9065
|
attr_accessor :zone
|
|
@@ -9134,9 +9211,8 @@ module Google
|
|
|
9134
9211
|
attr_accessor :name
|
|
9135
9212
|
|
|
9136
9213
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
9137
|
-
#
|
|
9138
|
-
#
|
|
9139
|
-
# the name field.
|
|
9214
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9215
|
+
# field has been deprecated and replaced by the name field.
|
|
9140
9216
|
# Corresponds to the JSON property `projectId`
|
|
9141
9217
|
# @return [String]
|
|
9142
9218
|
attr_accessor :project_id
|
|
@@ -9147,10 +9223,9 @@ module Google
|
|
|
9147
9223
|
attr_accessor :rotate_credentials
|
|
9148
9224
|
alias_method :rotate_credentials?, :rotate_credentials
|
|
9149
9225
|
|
|
9150
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
9151
|
-
#
|
|
9152
|
-
#
|
|
9153
|
-
# field.
|
|
9226
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9227
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9228
|
+
# been deprecated and replaced by the name field.
|
|
9154
9229
|
# Corresponds to the JSON property `zone`
|
|
9155
9230
|
# @return [String]
|
|
9156
9231
|
attr_accessor :zone
|
|
@@ -9261,6 +9336,50 @@ module Google
|
|
|
9261
9336
|
end
|
|
9262
9337
|
end
|
|
9263
9338
|
|
|
9339
|
+
# Configuration for swap memory on a node pool.
|
|
9340
|
+
class SwapConfig
|
|
9341
|
+
include Google::Apis::Core::Hashable
|
|
9342
|
+
|
|
9343
|
+
# Swap on the node's boot disk.
|
|
9344
|
+
# Corresponds to the JSON property `bootDiskProfile`
|
|
9345
|
+
# @return [Google::Apis::ContainerV1beta1::BootDiskProfile]
|
|
9346
|
+
attr_accessor :boot_disk_profile
|
|
9347
|
+
|
|
9348
|
+
# Provisions a new, separate local NVMe SSD exclusively for swap.
|
|
9349
|
+
# Corresponds to the JSON property `dedicatedLocalSsdProfile`
|
|
9350
|
+
# @return [Google::Apis::ContainerV1beta1::DedicatedLocalSsdProfile]
|
|
9351
|
+
attr_accessor :dedicated_local_ssd_profile
|
|
9352
|
+
|
|
9353
|
+
# Optional. Enables or disables swap for the node pool.
|
|
9354
|
+
# Corresponds to the JSON property `enabled`
|
|
9355
|
+
# @return [Boolean]
|
|
9356
|
+
attr_accessor :enabled
|
|
9357
|
+
alias_method :enabled?, :enabled
|
|
9358
|
+
|
|
9359
|
+
# Defines encryption settings for the swap space.
|
|
9360
|
+
# Corresponds to the JSON property `encryptionConfig`
|
|
9361
|
+
# @return [Google::Apis::ContainerV1beta1::EncryptionConfig]
|
|
9362
|
+
attr_accessor :encryption_config
|
|
9363
|
+
|
|
9364
|
+
# Swap on the local SSD shared with pod ephemeral storage.
|
|
9365
|
+
# Corresponds to the JSON property `ephemeralLocalSsdProfile`
|
|
9366
|
+
# @return [Google::Apis::ContainerV1beta1::EphemeralLocalSsdProfile]
|
|
9367
|
+
attr_accessor :ephemeral_local_ssd_profile
|
|
9368
|
+
|
|
9369
|
+
def initialize(**args)
|
|
9370
|
+
update!(**args)
|
|
9371
|
+
end
|
|
9372
|
+
|
|
9373
|
+
# Update properties of this object
|
|
9374
|
+
def update!(**args)
|
|
9375
|
+
@boot_disk_profile = args[:boot_disk_profile] if args.key?(:boot_disk_profile)
|
|
9376
|
+
@dedicated_local_ssd_profile = args[:dedicated_local_ssd_profile] if args.key?(:dedicated_local_ssd_profile)
|
|
9377
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
9378
|
+
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
|
9379
|
+
@ephemeral_local_ssd_profile = args[:ephemeral_local_ssd_profile] if args.key?(:ephemeral_local_ssd_profile)
|
|
9380
|
+
end
|
|
9381
|
+
end
|
|
9382
|
+
|
|
9264
9383
|
# SyncRotationConfig is config for secret manager auto rotation.
|
|
9265
9384
|
class SyncRotationConfig
|
|
9266
9385
|
include Google::Apis::Core::Hashable
|
|
@@ -9413,9 +9532,8 @@ module Google
|
|
|
9413
9532
|
attr_accessor :name
|
|
9414
9533
|
|
|
9415
9534
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
9416
|
-
#
|
|
9417
|
-
#
|
|
9418
|
-
# the name field.
|
|
9535
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9536
|
+
# field has been deprecated and replaced by the name field.
|
|
9419
9537
|
# Corresponds to the JSON property `projectId`
|
|
9420
9538
|
# @return [String]
|
|
9421
9539
|
attr_accessor :project_id
|
|
@@ -9426,10 +9544,9 @@ module Google
|
|
|
9426
9544
|
# @return [Google::Apis::ContainerV1beta1::ClusterUpdate]
|
|
9427
9545
|
attr_accessor :update
|
|
9428
9546
|
|
|
9429
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
9430
|
-
#
|
|
9431
|
-
#
|
|
9432
|
-
# field.
|
|
9547
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9548
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9549
|
+
# been deprecated and replaced by the name field.
|
|
9433
9550
|
# Corresponds to the JSON property `zone`
|
|
9434
9551
|
# @return [String]
|
|
9435
9552
|
attr_accessor :zone
|
|
@@ -9496,17 +9613,15 @@ module Google
|
|
|
9496
9613
|
attr_accessor :name
|
|
9497
9614
|
|
|
9498
9615
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
9499
|
-
#
|
|
9500
|
-
#
|
|
9501
|
-
# the name field.
|
|
9616
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9617
|
+
# field has been deprecated and replaced by the name field.
|
|
9502
9618
|
# Corresponds to the JSON property `projectId`
|
|
9503
9619
|
# @return [String]
|
|
9504
9620
|
attr_accessor :project_id
|
|
9505
9621
|
|
|
9506
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
9507
|
-
#
|
|
9508
|
-
#
|
|
9509
|
-
# field.
|
|
9622
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9623
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9624
|
+
# been deprecated and replaced by the name field.
|
|
9510
9625
|
# Corresponds to the JSON property `zone`
|
|
9511
9626
|
# @return [String]
|
|
9512
9627
|
attr_accessor :zone
|
|
@@ -9529,9 +9644,8 @@ module Google
|
|
|
9529
9644
|
class UpdateNodePoolRequest
|
|
9530
9645
|
include Google::Apis::Core::Hashable
|
|
9531
9646
|
|
|
9532
|
-
# A list of hardware accelerators to be attached to each node. See https
|
|
9533
|
-
#
|
|
9534
|
-
# information about support for GPUs.
|
|
9647
|
+
# A list of hardware accelerators to be attached to each node. See https://cloud.
|
|
9648
|
+
# google.com/compute/docs/gpus for more information about support for GPUs.
|
|
9535
9649
|
# Corresponds to the JSON property `accelerators`
|
|
9536
9650
|
# @return [Array<Google::Apis::ContainerV1beta1::AcceleratorConfig>]
|
|
9537
9651
|
attr_accessor :accelerators
|
|
@@ -9600,9 +9714,9 @@ module Google
|
|
|
9600
9714
|
# @return [Google::Apis::ContainerV1beta1::VirtualNic]
|
|
9601
9715
|
attr_accessor :gvnic
|
|
9602
9716
|
|
|
9603
|
-
# Required. The desired image type for the node pool. Please see https
|
|
9604
|
-
#
|
|
9605
|
-
#
|
|
9717
|
+
# Required. The desired image type for the node pool. Please see https://cloud.
|
|
9718
|
+
# google.com/kubernetes-engine/docs/concepts/node-images for available image
|
|
9719
|
+
# types.
|
|
9606
9720
|
# Corresponds to the JSON property `imageType`
|
|
9607
9721
|
# @return [String]
|
|
9608
9722
|
attr_accessor :image_type
|
|
@@ -9623,11 +9737,17 @@ module Google
|
|
|
9623
9737
|
# @return [Google::Apis::ContainerV1beta1::LinuxNodeConfig]
|
|
9624
9738
|
attr_accessor :linux_node_config
|
|
9625
9739
|
|
|
9626
|
-
# The desired list of Google Compute Engine [zones](https
|
|
9627
|
-
#
|
|
9628
|
-
#
|
|
9629
|
-
#
|
|
9630
|
-
#
|
|
9740
|
+
# The desired list of Google Compute Engine [zones](https://cloud.google.com/
|
|
9741
|
+
# compute/docs/zones#available) in which the node pool's nodes should be located.
|
|
9742
|
+
# Changing the locations for a node pool will result in nodes being either
|
|
9743
|
+
# created or removed from the node pool, depending on whether locations are
|
|
9744
|
+
# being added or removed. Warning: It is recommended to update node pool
|
|
9745
|
+
# locations in a standalone API call. Do not combine a location update with
|
|
9746
|
+
# changes to other fields (such as `tags`, `labels`, `taints`, etc.) in the same
|
|
9747
|
+
# request. Otherwise, the API performs a structural modification where changes
|
|
9748
|
+
# to other fields will only apply to newly created nodes and will not be applied
|
|
9749
|
+
# to existing nodes in the node pool. To ensure all nodes are updated
|
|
9750
|
+
# consistently, use a separate API call for location changes.
|
|
9631
9751
|
# Corresponds to the JSON property `locations`
|
|
9632
9752
|
# @return [Array<String>]
|
|
9633
9753
|
attr_accessor :locations
|
|
@@ -9679,9 +9799,8 @@ module Google
|
|
|
9679
9799
|
attr_accessor :node_version
|
|
9680
9800
|
|
|
9681
9801
|
# Deprecated. The Google Developers Console [project ID or project number](https:
|
|
9682
|
-
#
|
|
9683
|
-
#
|
|
9684
|
-
# the name field.
|
|
9802
|
+
# //cloud.google.com/resource-manager/docs/creating-managing-projects). This
|
|
9803
|
+
# field has been deprecated and replaced by the name field.
|
|
9685
9804
|
# Corresponds to the JSON property `projectId`
|
|
9686
9805
|
# @return [String]
|
|
9687
9806
|
attr_accessor :project_id
|
|
@@ -9691,18 +9810,17 @@ module Google
|
|
|
9691
9810
|
# @return [Google::Apis::ContainerV1beta1::QueuedProvisioning]
|
|
9692
9811
|
attr_accessor :queued_provisioning
|
|
9693
9812
|
|
|
9694
|
-
# Collection of [Resource Manager labels](https
|
|
9695
|
-
#
|
|
9813
|
+
# Collection of [Resource Manager labels](https://cloud.google.com/resource-
|
|
9814
|
+
# manager/docs/creating-managing-labels).
|
|
9696
9815
|
# Corresponds to the JSON property `resourceLabels`
|
|
9697
9816
|
# @return [Google::Apis::ContainerV1beta1::ResourceLabels]
|
|
9698
9817
|
attr_accessor :resource_labels
|
|
9699
9818
|
|
|
9700
9819
|
# A map of resource manager tag keys and values to be attached to the nodes for
|
|
9701
9820
|
# managing Compute Engine firewalls using Network Firewall Policies. Tags must
|
|
9702
|
-
# be according to specifications in https
|
|
9703
|
-
#
|
|
9704
|
-
#
|
|
9705
|
-
# replaced with new values.
|
|
9821
|
+
# be according to specifications in https://cloud.google.com/vpc/docs/tags-
|
|
9822
|
+
# firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be
|
|
9823
|
+
# specified. Existing tags will be replaced with new values.
|
|
9706
9824
|
# Corresponds to the JSON property `resourceManagerTags`
|
|
9707
9825
|
# @return [Google::Apis::ContainerV1beta1::ResourceManagerTags]
|
|
9708
9826
|
attr_accessor :resource_manager_tags
|
|
@@ -9774,10 +9892,9 @@ module Google
|
|
|
9774
9892
|
# @return [Google::Apis::ContainerV1beta1::WorkloadMetadataConfig]
|
|
9775
9893
|
attr_accessor :workload_metadata_config
|
|
9776
9894
|
|
|
9777
|
-
# Deprecated. The name of the Google Compute Engine [zone](https
|
|
9778
|
-
#
|
|
9779
|
-
#
|
|
9780
|
-
# field.
|
|
9895
|
+
# Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.
|
|
9896
|
+
# com/compute/docs/zones#available) in which the cluster resides. This field has
|
|
9897
|
+
# been deprecated and replaced by the name field.
|
|
9781
9898
|
# Corresponds to the JSON property `zone`
|
|
9782
9899
|
# @return [String]
|
|
9783
9900
|
attr_accessor :zone
|
|
@@ -9929,6 +10046,11 @@ module Google
|
|
|
9929
10046
|
class UpgradeEvent
|
|
9930
10047
|
include Google::Apis::Core::Hashable
|
|
9931
10048
|
|
|
10049
|
+
# The current emulated version before the upgrade.
|
|
10050
|
+
# Corresponds to the JSON property `currentEmulatedVersion`
|
|
10051
|
+
# @return [String]
|
|
10052
|
+
attr_accessor :current_emulated_version
|
|
10053
|
+
|
|
9932
10054
|
# The current version before the upgrade.
|
|
9933
10055
|
# Corresponds to the JSON property `currentVersion`
|
|
9934
10056
|
# @return [String]
|
|
@@ -9955,6 +10077,11 @@ module Google
|
|
|
9955
10077
|
# @return [String]
|
|
9956
10078
|
attr_accessor :resource_type
|
|
9957
10079
|
|
|
10080
|
+
# The target emulated version for the upgrade.
|
|
10081
|
+
# Corresponds to the JSON property `targetEmulatedVersion`
|
|
10082
|
+
# @return [String]
|
|
10083
|
+
attr_accessor :target_emulated_version
|
|
10084
|
+
|
|
9958
10085
|
# The target version for the upgrade.
|
|
9959
10086
|
# Corresponds to the JSON property `targetVersion`
|
|
9960
10087
|
# @return [String]
|
|
@@ -9966,11 +10093,13 @@ module Google
|
|
|
9966
10093
|
|
|
9967
10094
|
# Update properties of this object
|
|
9968
10095
|
def update!(**args)
|
|
10096
|
+
@current_emulated_version = args[:current_emulated_version] if args.key?(:current_emulated_version)
|
|
9969
10097
|
@current_version = args[:current_version] if args.key?(:current_version)
|
|
9970
10098
|
@operation = args[:operation] if args.key?(:operation)
|
|
9971
10099
|
@operation_start_time = args[:operation_start_time] if args.key?(:operation_start_time)
|
|
9972
10100
|
@resource = args[:resource] if args.key?(:resource)
|
|
9973
10101
|
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
|
10102
|
+
@target_emulated_version = args[:target_emulated_version] if args.key?(:target_emulated_version)
|
|
9974
10103
|
@target_version = args[:target_version] if args.key?(:target_version)
|
|
9975
10104
|
end
|
|
9976
10105
|
end
|
|
@@ -9980,6 +10109,11 @@ module Google
|
|
|
9980
10109
|
class UpgradeInfoEvent
|
|
9981
10110
|
include Google::Apis::Core::Hashable
|
|
9982
10111
|
|
|
10112
|
+
# The current emulated version before the upgrade.
|
|
10113
|
+
# Corresponds to the JSON property `currentEmulatedVersion`
|
|
10114
|
+
# @return [String]
|
|
10115
|
+
attr_accessor :current_emulated_version
|
|
10116
|
+
|
|
9983
10117
|
# The current version before the upgrade.
|
|
9984
10118
|
# Corresponds to the JSON property `currentVersion`
|
|
9985
10119
|
# @return [String]
|
|
@@ -10036,6 +10170,11 @@ module Google
|
|
|
10036
10170
|
# @return [String]
|
|
10037
10171
|
attr_accessor :state
|
|
10038
10172
|
|
|
10173
|
+
# The target emulated version for the upgrade.
|
|
10174
|
+
# Corresponds to the JSON property `targetEmulatedVersion`
|
|
10175
|
+
# @return [String]
|
|
10176
|
+
attr_accessor :target_emulated_version
|
|
10177
|
+
|
|
10039
10178
|
# The target version for the upgrade.
|
|
10040
10179
|
# Corresponds to the JSON property `targetVersion`
|
|
10041
10180
|
# @return [String]
|
|
@@ -10047,6 +10186,7 @@ module Google
|
|
|
10047
10186
|
|
|
10048
10187
|
# Update properties of this object
|
|
10049
10188
|
def update!(**args)
|
|
10189
|
+
@current_emulated_version = args[:current_emulated_version] if args.key?(:current_emulated_version)
|
|
10050
10190
|
@current_version = args[:current_version] if args.key?(:current_version)
|
|
10051
10191
|
@description = args[:description] if args.key?(:description)
|
|
10052
10192
|
@end_time = args[:end_time] if args.key?(:end_time)
|
|
@@ -10058,6 +10198,7 @@ module Google
|
|
|
10058
10198
|
@standard_support_end_time = args[:standard_support_end_time] if args.key?(:standard_support_end_time)
|
|
10059
10199
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
10060
10200
|
@state = args[:state] if args.key?(:state)
|
|
10201
|
+
@target_emulated_version = args[:target_emulated_version] if args.key?(:target_emulated_version)
|
|
10061
10202
|
@target_version = args[:target_version] if args.key?(:target_version)
|
|
10062
10203
|
end
|
|
10063
10204
|
end
|