google-apis-container_v1 0.16.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/container_v1/classes.rb +197 -9
- data/lib/google/apis/container_v1/gem_version.rb +2 -2
- data/lib/google/apis/container_v1/representations.rb +100 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 942292184f8627890c341fc08995165a9698e8e10e1a106a23a780c1fa644bdb
|
4
|
+
data.tar.gz: 682ab02bba42db38930003f81e65e00293160137bfffa21f7b0f466234abee3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d036b9ddf1368c394f0dc249426540457733caecaac23c4fceced3a7c589dfa1a98af0f7b47b901bbc65c2d06f05e42f07487e8ef4408e4b0a4c762709e629c2
|
7
|
+
data.tar.gz: 3d0f643cc41e2b4e1e7605b8e354221cdd64cadc87f933b170b80fa02ca22da74d670f2b518c8ba6324749d7c2e794188904cd141039810f55c306cdacba4dfd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-container_v1
|
2
2
|
|
3
|
+
### v0.20.0 (2021-10-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211014
|
6
|
+
|
7
|
+
### v0.19.0 (2021-10-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211008
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.18.0 (2021-10-02)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210914
|
15
|
+
|
16
|
+
### v0.17.0 (2021-09-20)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210906
|
19
|
+
|
3
20
|
### v0.16.0 (2021-09-03)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210820
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Container service in particular.)
|
67
67
|
|
@@ -129,6 +129,27 @@ module Google
|
|
129
129
|
end
|
130
130
|
end
|
131
131
|
|
132
|
+
# Specifies options for controlling advanced machine features.
|
133
|
+
class AdvancedMachineFeatures
|
134
|
+
include Google::Apis::Core::Hashable
|
135
|
+
|
136
|
+
# The number of threads per physical core. To disable simultaneous
|
137
|
+
# multithreading (SMT) set this to 1. If unset, the maximum number of threads
|
138
|
+
# supported per core by the underlying processor is assumed.
|
139
|
+
# Corresponds to the JSON property `threadsPerCore`
|
140
|
+
# @return [Fixnum]
|
141
|
+
attr_accessor :threads_per_core
|
142
|
+
|
143
|
+
def initialize(**args)
|
144
|
+
update!(**args)
|
145
|
+
end
|
146
|
+
|
147
|
+
# Update properties of this object
|
148
|
+
def update!(**args)
|
149
|
+
@threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
132
153
|
# Configuration for returning group information from authenticators.
|
133
154
|
class AuthenticatorGroupsConfig
|
134
155
|
include Google::Apis::Core::Hashable
|
@@ -688,6 +709,11 @@ module Google
|
|
688
709
|
# @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
|
689
710
|
attr_accessor :master_authorized_networks_config
|
690
711
|
|
712
|
+
# Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
|
713
|
+
# Corresponds to the JSON property `meshCertificates`
|
714
|
+
# @return [Google::Apis::ContainerV1::MeshCertificates]
|
715
|
+
attr_accessor :mesh_certificates
|
716
|
+
|
691
717
|
# MonitoringConfig is cluster monitoring configuration.
|
692
718
|
# Corresponds to the JSON property `monitoringConfig`
|
693
719
|
# @return [Google::Apis::ContainerV1::MonitoringConfig]
|
@@ -742,6 +768,11 @@ module Google
|
|
742
768
|
# @return [Fixnum]
|
743
769
|
attr_accessor :node_ipv4_cidr_size
|
744
770
|
|
771
|
+
# Subset of Nodepool message that has defaults.
|
772
|
+
# Corresponds to the JSON property `nodePoolDefaults`
|
773
|
+
# @return [Google::Apis::ContainerV1::NodePoolDefaults]
|
774
|
+
attr_accessor :node_pool_defaults
|
775
|
+
|
745
776
|
# The node pools associated with this cluster. This field should not be set if "
|
746
777
|
# node_config" or "initial_node_count" are specified.
|
747
778
|
# Corresponds to the JSON property `nodePools`
|
@@ -877,6 +908,7 @@ module Google
|
|
877
908
|
@maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
|
878
909
|
@master_auth = args[:master_auth] if args.key?(:master_auth)
|
879
910
|
@master_authorized_networks_config = args[:master_authorized_networks_config] if args.key?(:master_authorized_networks_config)
|
911
|
+
@mesh_certificates = args[:mesh_certificates] if args.key?(:mesh_certificates)
|
880
912
|
@monitoring_config = args[:monitoring_config] if args.key?(:monitoring_config)
|
881
913
|
@monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
|
882
914
|
@name = args[:name] if args.key?(:name)
|
@@ -885,6 +917,7 @@ module Google
|
|
885
917
|
@network_policy = args[:network_policy] if args.key?(:network_policy)
|
886
918
|
@node_config = args[:node_config] if args.key?(:node_config)
|
887
919
|
@node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
|
920
|
+
@node_pool_defaults = args[:node_pool_defaults] if args.key?(:node_pool_defaults)
|
888
921
|
@node_pools = args[:node_pools] if args.key?(:node_pools)
|
889
922
|
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
890
923
|
@private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
|
@@ -969,11 +1002,6 @@ module Google
|
|
969
1002
|
# @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
|
970
1003
|
attr_accessor :desired_authenticator_groups_config
|
971
1004
|
|
972
|
-
# Autopilot is the configuration for Autopilot settings on the cluster.
|
973
|
-
# Corresponds to the JSON property `desiredAutopilot`
|
974
|
-
# @return [Google::Apis::ContainerV1::Autopilot]
|
975
|
-
attr_accessor :desired_autopilot
|
976
|
-
|
977
1005
|
# Configuration for Binary Authorization.
|
978
1006
|
# Corresponds to the JSON property `desiredBinaryAuthorization`
|
979
1007
|
# @return [Google::Apis::ContainerV1::BinaryAuthorization]
|
@@ -1002,6 +1030,17 @@ module Google
|
|
1002
1030
|
# @return [Google::Apis::ContainerV1::DefaultSnatStatus]
|
1003
1031
|
attr_accessor :desired_default_snat_status
|
1004
1032
|
|
1033
|
+
# DNSConfig contains the desired set of options for configuring clusterDNS.
|
1034
|
+
# Corresponds to the JSON property `desiredDnsConfig`
|
1035
|
+
# @return [Google::Apis::ContainerV1::DnsConfig]
|
1036
|
+
attr_accessor :desired_dns_config
|
1037
|
+
|
1038
|
+
# GcfsConfig contains configurations of Google Container File System (image
|
1039
|
+
# streaming).
|
1040
|
+
# Corresponds to the JSON property `desiredGcfsConfig`
|
1041
|
+
# @return [Google::Apis::ContainerV1::GcfsConfig]
|
1042
|
+
attr_accessor :desired_gcfs_config
|
1043
|
+
|
1005
1044
|
# The desired image type for the node pool. NOTE: Set the "desired_node_pool"
|
1006
1045
|
# field as well.
|
1007
1046
|
# Corresponds to the JSON property `desiredImageType`
|
@@ -1064,6 +1103,11 @@ module Google
|
|
1064
1103
|
# @return [String]
|
1065
1104
|
attr_accessor :desired_master_version
|
1066
1105
|
|
1106
|
+
# Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
|
1107
|
+
# Corresponds to the JSON property `desiredMeshCertificates`
|
1108
|
+
# @return [Google::Apis::ContainerV1::MeshCertificates]
|
1109
|
+
attr_accessor :desired_mesh_certificates
|
1110
|
+
|
1067
1111
|
# MonitoringConfig is cluster monitoring configuration.
|
1068
1112
|
# Corresponds to the JSON property `desiredMonitoringConfig`
|
1069
1113
|
# @return [Google::Apis::ContainerV1::MonitoringConfig]
|
@@ -1157,12 +1201,13 @@ module Google
|
|
1157
1201
|
def update!(**args)
|
1158
1202
|
@desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
|
1159
1203
|
@desired_authenticator_groups_config = args[:desired_authenticator_groups_config] if args.key?(:desired_authenticator_groups_config)
|
1160
|
-
@desired_autopilot = args[:desired_autopilot] if args.key?(:desired_autopilot)
|
1161
1204
|
@desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
|
1162
1205
|
@desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
|
1163
1206
|
@desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
|
1164
1207
|
@desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
|
1165
1208
|
@desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
|
1209
|
+
@desired_dns_config = args[:desired_dns_config] if args.key?(:desired_dns_config)
|
1210
|
+
@desired_gcfs_config = args[:desired_gcfs_config] if args.key?(:desired_gcfs_config)
|
1166
1211
|
@desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
|
1167
1212
|
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
|
1168
1213
|
@desired_l4ilb_subsetting_config = args[:desired_l4ilb_subsetting_config] if args.key?(:desired_l4ilb_subsetting_config)
|
@@ -1171,6 +1216,7 @@ module Google
|
|
1171
1216
|
@desired_logging_service = args[:desired_logging_service] if args.key?(:desired_logging_service)
|
1172
1217
|
@desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config)
|
1173
1218
|
@desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
|
1219
|
+
@desired_mesh_certificates = args[:desired_mesh_certificates] if args.key?(:desired_mesh_certificates)
|
1174
1220
|
@desired_monitoring_config = args[:desired_monitoring_config] if args.key?(:desired_monitoring_config)
|
1175
1221
|
@desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
|
1176
1222
|
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
|
@@ -1388,6 +1434,37 @@ module Google
|
|
1388
1434
|
end
|
1389
1435
|
end
|
1390
1436
|
|
1437
|
+
# DNSConfig contains the desired set of options for configuring clusterDNS.
|
1438
|
+
class DnsConfig
|
1439
|
+
include Google::Apis::Core::Hashable
|
1440
|
+
|
1441
|
+
# cluster_dns indicates which in-cluster DNS provider should be used.
|
1442
|
+
# Corresponds to the JSON property `clusterDns`
|
1443
|
+
# @return [String]
|
1444
|
+
attr_accessor :cluster_dns
|
1445
|
+
|
1446
|
+
# cluster_dns_domain is the suffix used for all cluster service records.
|
1447
|
+
# Corresponds to the JSON property `clusterDnsDomain`
|
1448
|
+
# @return [String]
|
1449
|
+
attr_accessor :cluster_dns_domain
|
1450
|
+
|
1451
|
+
# cluster_dns_scope indicates the scope of access to cluster DNS records.
|
1452
|
+
# Corresponds to the JSON property `clusterDnsScope`
|
1453
|
+
# @return [String]
|
1454
|
+
attr_accessor :cluster_dns_scope
|
1455
|
+
|
1456
|
+
def initialize(**args)
|
1457
|
+
update!(**args)
|
1458
|
+
end
|
1459
|
+
|
1460
|
+
# Update properties of this object
|
1461
|
+
def update!(**args)
|
1462
|
+
@cluster_dns = args[:cluster_dns] if args.key?(:cluster_dns)
|
1463
|
+
@cluster_dns_domain = args[:cluster_dns_domain] if args.key?(:cluster_dns_domain)
|
1464
|
+
@cluster_dns_scope = args[:cluster_dns_scope] if args.key?(:cluster_dns_scope)
|
1465
|
+
end
|
1466
|
+
end
|
1467
|
+
|
1391
1468
|
# Time window specified for daily maintenance operations.
|
1392
1469
|
class DailyMaintenanceWindow
|
1393
1470
|
include Google::Apis::Core::Hashable
|
@@ -1521,6 +1598,27 @@ module Google
|
|
1521
1598
|
end
|
1522
1599
|
end
|
1523
1600
|
|
1601
|
+
# GcfsConfig contains configurations of Google Container File System (image
|
1602
|
+
# streaming).
|
1603
|
+
class GcfsConfig
|
1604
|
+
include Google::Apis::Core::Hashable
|
1605
|
+
|
1606
|
+
# Whether to use GCFS.
|
1607
|
+
# Corresponds to the JSON property `enabled`
|
1608
|
+
# @return [Boolean]
|
1609
|
+
attr_accessor :enabled
|
1610
|
+
alias_method :enabled?, :enabled
|
1611
|
+
|
1612
|
+
def initialize(**args)
|
1613
|
+
update!(**args)
|
1614
|
+
end
|
1615
|
+
|
1616
|
+
# Update properties of this object
|
1617
|
+
def update!(**args)
|
1618
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1619
|
+
end
|
1620
|
+
end
|
1621
|
+
|
1524
1622
|
# Configuration for the GCP Filestore CSI driver.
|
1525
1623
|
class GcpFilestoreCsiDriverConfig
|
1526
1624
|
include Google::Apis::Core::Hashable
|
@@ -2325,6 +2423,30 @@ module Google
|
|
2325
2423
|
end
|
2326
2424
|
end
|
2327
2425
|
|
2426
|
+
# Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
|
2427
|
+
class MeshCertificates
|
2428
|
+
include Google::Apis::Core::Hashable
|
2429
|
+
|
2430
|
+
# enable_certificates controls issuance of workload mTLS certificates. If set,
|
2431
|
+
# the GKE Workload Identity Certificates controller and node agent will be
|
2432
|
+
# deployed in the cluster, which can then be configured by creating a
|
2433
|
+
# WorkloadCertificateConfig Custom Resource. Requires Workload Identity (
|
2434
|
+
# workload_pool must be non-empty).
|
2435
|
+
# Corresponds to the JSON property `enableCertificates`
|
2436
|
+
# @return [Boolean]
|
2437
|
+
attr_accessor :enable_certificates
|
2438
|
+
alias_method :enable_certificates?, :enable_certificates
|
2439
|
+
|
2440
|
+
def initialize(**args)
|
2441
|
+
update!(**args)
|
2442
|
+
end
|
2443
|
+
|
2444
|
+
# Update properties of this object
|
2445
|
+
def update!(**args)
|
2446
|
+
@enable_certificates = args[:enable_certificates] if args.key?(:enable_certificates)
|
2447
|
+
end
|
2448
|
+
end
|
2449
|
+
|
2328
2450
|
# Progress metric is (string, int|float|string) pair.
|
2329
2451
|
class Metric
|
2330
2452
|
include Google::Apis::Core::Hashable
|
@@ -2417,6 +2539,11 @@ module Google
|
|
2417
2539
|
# @return [Google::Apis::ContainerV1::DefaultSnatStatus]
|
2418
2540
|
attr_accessor :default_snat_status
|
2419
2541
|
|
2542
|
+
# DNSConfig contains the desired set of options for configuring clusterDNS.
|
2543
|
+
# Corresponds to the JSON property `dnsConfig`
|
2544
|
+
# @return [Google::Apis::ContainerV1::DnsConfig]
|
2545
|
+
attr_accessor :dns_config
|
2546
|
+
|
2420
2547
|
# Whether Intra-node visibility is enabled for this cluster. This makes same
|
2421
2548
|
# node pod to pod traffic visible for VPC network.
|
2422
2549
|
# Corresponds to the JSON property `enableIntraNodeVisibility`
|
@@ -2458,6 +2585,7 @@ module Google
|
|
2458
2585
|
def update!(**args)
|
2459
2586
|
@datapath_provider = args[:datapath_provider] if args.key?(:datapath_provider)
|
2460
2587
|
@default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
|
2588
|
+
@dns_config = args[:dns_config] if args.key?(:dns_config)
|
2461
2589
|
@enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
|
2462
2590
|
@enable_l4ilb_subsetting = args[:enable_l4ilb_subsetting] if args.key?(:enable_l4ilb_subsetting)
|
2463
2591
|
@network = args[:network] if args.key?(:network)
|
@@ -2525,6 +2653,11 @@ module Google
|
|
2525
2653
|
# @return [Array<Google::Apis::ContainerV1::AcceleratorConfig>]
|
2526
2654
|
attr_accessor :accelerators
|
2527
2655
|
|
2656
|
+
# Specifies options for controlling advanced machine features.
|
2657
|
+
# Corresponds to the JSON property `advancedMachineFeatures`
|
2658
|
+
# @return [Google::Apis::ContainerV1::AdvancedMachineFeatures]
|
2659
|
+
attr_accessor :advanced_machine_features
|
2660
|
+
|
2528
2661
|
# The Customer Managed Encryption Key used to encrypt the boot disk attached to
|
2529
2662
|
# each node in the node pool. This should be of the form projects/[
|
2530
2663
|
# KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]
|
@@ -2546,6 +2679,12 @@ module Google
|
|
2546
2679
|
# @return [String]
|
2547
2680
|
attr_accessor :disk_type
|
2548
2681
|
|
2682
|
+
# GcfsConfig contains configurations of Google Container File System (image
|
2683
|
+
# streaming).
|
2684
|
+
# Corresponds to the JSON property `gcfsConfig`
|
2685
|
+
# @return [Google::Apis::ContainerV1::GcfsConfig]
|
2686
|
+
attr_accessor :gcfs_config
|
2687
|
+
|
2549
2688
|
# Configuration of gVNIC feature.
|
2550
2689
|
# Corresponds to the JSON property `gvnic`
|
2551
2690
|
# @return [Google::Apis::ContainerV1::VirtualNic]
|
@@ -2701,9 +2840,11 @@ module Google
|
|
2701
2840
|
# Update properties of this object
|
2702
2841
|
def update!(**args)
|
2703
2842
|
@accelerators = args[:accelerators] if args.key?(:accelerators)
|
2843
|
+
@advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
|
2704
2844
|
@boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
|
2705
2845
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
2706
2846
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
2847
|
+
@gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
|
2707
2848
|
@gvnic = args[:gvnic] if args.key?(:gvnic)
|
2708
2849
|
@image_type = args[:image_type] if args.key?(:image_type)
|
2709
2850
|
@kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
|
@@ -2726,6 +2867,26 @@ module Google
|
|
2726
2867
|
end
|
2727
2868
|
end
|
2728
2869
|
|
2870
|
+
# Subset of NodeConfig message that has defaults.
|
2871
|
+
class NodeConfigDefaults
|
2872
|
+
include Google::Apis::Core::Hashable
|
2873
|
+
|
2874
|
+
# GcfsConfig contains configurations of Google Container File System (image
|
2875
|
+
# streaming).
|
2876
|
+
# Corresponds to the JSON property `gcfsConfig`
|
2877
|
+
# @return [Google::Apis::ContainerV1::GcfsConfig]
|
2878
|
+
attr_accessor :gcfs_config
|
2879
|
+
|
2880
|
+
def initialize(**args)
|
2881
|
+
update!(**args)
|
2882
|
+
end
|
2883
|
+
|
2884
|
+
# Update properties of this object
|
2885
|
+
def update!(**args)
|
2886
|
+
@gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
|
2887
|
+
end
|
2888
|
+
end
|
2889
|
+
|
2729
2890
|
# Node kubelet configs.
|
2730
2891
|
class NodeKubeletConfig
|
2731
2892
|
include Google::Apis::Core::Hashable
|
@@ -3016,13 +3177,14 @@ module Google
|
|
3016
3177
|
attr_accessor :enabled
|
3017
3178
|
alias_method :enabled?, :enabled
|
3018
3179
|
|
3019
|
-
# Maximum number of nodes in the NodePool. Must be >=
|
3020
|
-
# to be enough quota to scale up the cluster.
|
3180
|
+
# Maximum number of nodes for one location in the NodePool. Must be >=
|
3181
|
+
# min_node_count. There has to be enough quota to scale up the cluster.
|
3021
3182
|
# Corresponds to the JSON property `maxNodeCount`
|
3022
3183
|
# @return [Fixnum]
|
3023
3184
|
attr_accessor :max_node_count
|
3024
3185
|
|
3025
|
-
# Minimum number of nodes in the NodePool. Must be >= 1 and <=
|
3186
|
+
# Minimum number of nodes for one location in the NodePool. Must be >= 1 and <=
|
3187
|
+
# max_node_count.
|
3026
3188
|
# Corresponds to the JSON property `minNodeCount`
|
3027
3189
|
# @return [Fixnum]
|
3028
3190
|
attr_accessor :min_node_count
|
@@ -3040,6 +3202,25 @@ module Google
|
|
3040
3202
|
end
|
3041
3203
|
end
|
3042
3204
|
|
3205
|
+
# Subset of Nodepool message that has defaults.
|
3206
|
+
class NodePoolDefaults
|
3207
|
+
include Google::Apis::Core::Hashable
|
3208
|
+
|
3209
|
+
# Subset of NodeConfig message that has defaults.
|
3210
|
+
# Corresponds to the JSON property `nodeConfigDefaults`
|
3211
|
+
# @return [Google::Apis::ContainerV1::NodeConfigDefaults]
|
3212
|
+
attr_accessor :node_config_defaults
|
3213
|
+
|
3214
|
+
def initialize(**args)
|
3215
|
+
update!(**args)
|
3216
|
+
end
|
3217
|
+
|
3218
|
+
# Update properties of this object
|
3219
|
+
def update!(**args)
|
3220
|
+
@node_config_defaults = args[:node_config_defaults] if args.key?(:node_config_defaults)
|
3221
|
+
end
|
3222
|
+
end
|
3223
|
+
|
3043
3224
|
# Kubernetes taint is comprised of three fields: key, value, and effect. Effect
|
3044
3225
|
# can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
|
3045
3226
|
# [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
|
@@ -4643,6 +4824,12 @@ module Google
|
|
4643
4824
|
# @return [String]
|
4644
4825
|
attr_accessor :cluster_id
|
4645
4826
|
|
4827
|
+
# GcfsConfig contains configurations of Google Container File System (image
|
4828
|
+
# streaming).
|
4829
|
+
# Corresponds to the JSON property `gcfsConfig`
|
4830
|
+
# @return [Google::Apis::ContainerV1::GcfsConfig]
|
4831
|
+
attr_accessor :gcfs_config
|
4832
|
+
|
4646
4833
|
# Configuration of gVNIC feature.
|
4647
4834
|
# Corresponds to the JSON property `gvnic`
|
4648
4835
|
# @return [Google::Apis::ContainerV1::VirtualNic]
|
@@ -4740,6 +4927,7 @@ module Google
|
|
4740
4927
|
# Update properties of this object
|
4741
4928
|
def update!(**args)
|
4742
4929
|
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
4930
|
+
@gcfs_config = args[:gcfs_config] if args.key?(:gcfs_config)
|
4743
4931
|
@gvnic = args[:gvnic] if args.key?(:gvnic)
|
4744
4932
|
@image_type = args[:image_type] if args.key?(:image_type)
|
4745
4933
|
@kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContainerV1
|
18
18
|
# Version of the google-apis-container_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211014"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -34,6 +34,12 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class AdvancedMachineFeatures
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class AuthenticatorGroupsConfig
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
@@ -148,6 +154,12 @@ module Google
|
|
148
154
|
include Google::Apis::Core::JsonObjectSupport
|
149
155
|
end
|
150
156
|
|
157
|
+
class DnsConfig
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
151
163
|
class DailyMaintenanceWindow
|
152
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
165
|
|
@@ -184,6 +196,12 @@ module Google
|
|
184
196
|
include Google::Apis::Core::JsonObjectSupport
|
185
197
|
end
|
186
198
|
|
199
|
+
class GcfsConfig
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
187
205
|
class GcpFilestoreCsiDriverConfig
|
188
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
207
|
|
@@ -328,6 +346,12 @@ module Google
|
|
328
346
|
include Google::Apis::Core::JsonObjectSupport
|
329
347
|
end
|
330
348
|
|
349
|
+
class MeshCertificates
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
331
355
|
class Metric
|
332
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
357
|
|
@@ -370,6 +394,12 @@ module Google
|
|
370
394
|
include Google::Apis::Core::JsonObjectSupport
|
371
395
|
end
|
372
396
|
|
397
|
+
class NodeConfigDefaults
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
373
403
|
class NodeKubeletConfig
|
374
404
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
405
|
|
@@ -400,6 +430,12 @@ module Google
|
|
400
430
|
include Google::Apis::Core::JsonObjectSupport
|
401
431
|
end
|
402
432
|
|
433
|
+
class NodePoolDefaults
|
434
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
|
+
|
436
|
+
include Google::Apis::Core::JsonObjectSupport
|
437
|
+
end
|
438
|
+
|
403
439
|
class NodeTaint
|
404
440
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
441
|
|
@@ -709,6 +745,13 @@ module Google
|
|
709
745
|
end
|
710
746
|
end
|
711
747
|
|
748
|
+
class AdvancedMachineFeatures
|
749
|
+
# @private
|
750
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
751
|
+
property :threads_per_core, :numeric_string => true, as: 'threadsPerCore'
|
752
|
+
end
|
753
|
+
end
|
754
|
+
|
712
755
|
class AuthenticatorGroupsConfig
|
713
756
|
# @private
|
714
757
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -849,6 +892,8 @@ module Google
|
|
849
892
|
|
850
893
|
property :master_authorized_networks_config, as: 'masterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation
|
851
894
|
|
895
|
+
property :mesh_certificates, as: 'meshCertificates', class: Google::Apis::ContainerV1::MeshCertificates, decorator: Google::Apis::ContainerV1::MeshCertificates::Representation
|
896
|
+
|
852
897
|
property :monitoring_config, as: 'monitoringConfig', class: Google::Apis::ContainerV1::MonitoringConfig, decorator: Google::Apis::ContainerV1::MonitoringConfig::Representation
|
853
898
|
|
854
899
|
property :monitoring_service, as: 'monitoringService'
|
@@ -861,6 +906,8 @@ module Google
|
|
861
906
|
property :node_config, as: 'nodeConfig', class: Google::Apis::ContainerV1::NodeConfig, decorator: Google::Apis::ContainerV1::NodeConfig::Representation
|
862
907
|
|
863
908
|
property :node_ipv4_cidr_size, as: 'nodeIpv4CidrSize'
|
909
|
+
property :node_pool_defaults, as: 'nodePoolDefaults', class: Google::Apis::ContainerV1::NodePoolDefaults, decorator: Google::Apis::ContainerV1::NodePoolDefaults::Representation
|
910
|
+
|
864
911
|
collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation
|
865
912
|
|
866
913
|
property :notification_config, as: 'notificationConfig', class: Google::Apis::ContainerV1::NotificationConfig, decorator: Google::Apis::ContainerV1::NotificationConfig::Representation
|
@@ -908,8 +955,6 @@ module Google
|
|
908
955
|
|
909
956
|
property :desired_authenticator_groups_config, as: 'desiredAuthenticatorGroupsConfig', class: Google::Apis::ContainerV1::AuthenticatorGroupsConfig, decorator: Google::Apis::ContainerV1::AuthenticatorGroupsConfig::Representation
|
910
957
|
|
911
|
-
property :desired_autopilot, as: 'desiredAutopilot', class: Google::Apis::ContainerV1::Autopilot, decorator: Google::Apis::ContainerV1::Autopilot::Representation
|
912
|
-
|
913
958
|
property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
|
914
959
|
|
915
960
|
property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1::ClusterAutoscaling::Representation
|
@@ -919,6 +964,10 @@ module Google
|
|
919
964
|
property :desired_datapath_provider, as: 'desiredDatapathProvider'
|
920
965
|
property :desired_default_snat_status, as: 'desiredDefaultSnatStatus', class: Google::Apis::ContainerV1::DefaultSnatStatus, decorator: Google::Apis::ContainerV1::DefaultSnatStatus::Representation
|
921
966
|
|
967
|
+
property :desired_dns_config, as: 'desiredDnsConfig', class: Google::Apis::ContainerV1::DnsConfig, decorator: Google::Apis::ContainerV1::DnsConfig::Representation
|
968
|
+
|
969
|
+
property :desired_gcfs_config, as: 'desiredGcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
|
970
|
+
|
922
971
|
property :desired_image_type, as: 'desiredImageType'
|
923
972
|
property :desired_intra_node_visibility_config, as: 'desiredIntraNodeVisibilityConfig', class: Google::Apis::ContainerV1::IntraNodeVisibilityConfig, decorator: Google::Apis::ContainerV1::IntraNodeVisibilityConfig::Representation
|
924
973
|
|
@@ -931,6 +980,8 @@ module Google
|
|
931
980
|
property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation
|
932
981
|
|
933
982
|
property :desired_master_version, as: 'desiredMasterVersion'
|
983
|
+
property :desired_mesh_certificates, as: 'desiredMeshCertificates', class: Google::Apis::ContainerV1::MeshCertificates, decorator: Google::Apis::ContainerV1::MeshCertificates::Representation
|
984
|
+
|
934
985
|
property :desired_monitoring_config, as: 'desiredMonitoringConfig', class: Google::Apis::ContainerV1::MonitoringConfig, decorator: Google::Apis::ContainerV1::MonitoringConfig::Representation
|
935
986
|
|
936
987
|
property :desired_monitoring_service, as: 'desiredMonitoringService'
|
@@ -1010,6 +1061,15 @@ module Google
|
|
1010
1061
|
end
|
1011
1062
|
end
|
1012
1063
|
|
1064
|
+
class DnsConfig
|
1065
|
+
# @private
|
1066
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1067
|
+
property :cluster_dns, as: 'clusterDns'
|
1068
|
+
property :cluster_dns_domain, as: 'clusterDnsDomain'
|
1069
|
+
property :cluster_dns_scope, as: 'clusterDnsScope'
|
1070
|
+
end
|
1071
|
+
end
|
1072
|
+
|
1013
1073
|
class DailyMaintenanceWindow
|
1014
1074
|
# @private
|
1015
1075
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1053,6 +1113,13 @@ module Google
|
|
1053
1113
|
end
|
1054
1114
|
end
|
1055
1115
|
|
1116
|
+
class GcfsConfig
|
1117
|
+
# @private
|
1118
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1119
|
+
property :enabled, as: 'enabled'
|
1120
|
+
end
|
1121
|
+
end
|
1122
|
+
|
1056
1123
|
class GcpFilestoreCsiDriverConfig
|
1057
1124
|
# @private
|
1058
1125
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1277,6 +1344,13 @@ module Google
|
|
1277
1344
|
end
|
1278
1345
|
end
|
1279
1346
|
|
1347
|
+
class MeshCertificates
|
1348
|
+
# @private
|
1349
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1350
|
+
property :enable_certificates, as: 'enableCertificates'
|
1351
|
+
end
|
1352
|
+
end
|
1353
|
+
|
1280
1354
|
class Metric
|
1281
1355
|
# @private
|
1282
1356
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1308,6 +1382,8 @@ module Google
|
|
1308
1382
|
property :datapath_provider, as: 'datapathProvider'
|
1309
1383
|
property :default_snat_status, as: 'defaultSnatStatus', class: Google::Apis::ContainerV1::DefaultSnatStatus, decorator: Google::Apis::ContainerV1::DefaultSnatStatus::Representation
|
1310
1384
|
|
1385
|
+
property :dns_config, as: 'dnsConfig', class: Google::Apis::ContainerV1::DnsConfig, decorator: Google::Apis::ContainerV1::DnsConfig::Representation
|
1386
|
+
|
1311
1387
|
property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
|
1312
1388
|
property :enable_l4ilb_subsetting, as: 'enableL4ilbSubsetting'
|
1313
1389
|
property :network, as: 'network'
|
@@ -1336,9 +1412,13 @@ module Google
|
|
1336
1412
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1337
1413
|
collection :accelerators, as: 'accelerators', class: Google::Apis::ContainerV1::AcceleratorConfig, decorator: Google::Apis::ContainerV1::AcceleratorConfig::Representation
|
1338
1414
|
|
1415
|
+
property :advanced_machine_features, as: 'advancedMachineFeatures', class: Google::Apis::ContainerV1::AdvancedMachineFeatures, decorator: Google::Apis::ContainerV1::AdvancedMachineFeatures::Representation
|
1416
|
+
|
1339
1417
|
property :boot_disk_kms_key, as: 'bootDiskKmsKey'
|
1340
1418
|
property :disk_size_gb, as: 'diskSizeGb'
|
1341
1419
|
property :disk_type, as: 'diskType'
|
1420
|
+
property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
|
1421
|
+
|
1342
1422
|
property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1::VirtualNic, decorator: Google::Apis::ContainerV1::VirtualNic::Representation
|
1343
1423
|
|
1344
1424
|
property :image_type, as: 'imageType'
|
@@ -1369,6 +1449,14 @@ module Google
|
|
1369
1449
|
end
|
1370
1450
|
end
|
1371
1451
|
|
1452
|
+
class NodeConfigDefaults
|
1453
|
+
# @private
|
1454
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1455
|
+
property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
|
1456
|
+
|
1457
|
+
end
|
1458
|
+
end
|
1459
|
+
|
1372
1460
|
class NodeKubeletConfig
|
1373
1461
|
# @private
|
1374
1462
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1436,6 +1524,14 @@ module Google
|
|
1436
1524
|
end
|
1437
1525
|
end
|
1438
1526
|
|
1527
|
+
class NodePoolDefaults
|
1528
|
+
# @private
|
1529
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1530
|
+
property :node_config_defaults, as: 'nodeConfigDefaults', class: Google::Apis::ContainerV1::NodeConfigDefaults, decorator: Google::Apis::ContainerV1::NodeConfigDefaults::Representation
|
1531
|
+
|
1532
|
+
end
|
1533
|
+
end
|
1534
|
+
|
1439
1535
|
class NodeTaint
|
1440
1536
|
# @private
|
1441
1537
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1826,6 +1922,8 @@ module Google
|
|
1826
1922
|
# @private
|
1827
1923
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1828
1924
|
property :cluster_id, as: 'clusterId'
|
1925
|
+
property :gcfs_config, as: 'gcfsConfig', class: Google::Apis::ContainerV1::GcfsConfig, decorator: Google::Apis::ContainerV1::GcfsConfig::Representation
|
1926
|
+
|
1829
1927
|
property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1::VirtualNic, decorator: Google::Apis::ContainerV1::VirtualNic::Representation
|
1830
1928
|
|
1831
1929
|
property :image_type, as: 'imageType'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-container_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.20.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-container_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|