google-apis-container_v1 0.12.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fed29d86613f9e5c87c4c6933103198f905b964aaf9bd2d59734ab7fb8704a8
|
4
|
+
data.tar.gz: 1a84235186900de4f2f8f8bd1819265e2562b1d511f8a99676cb255c9fdc5156
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '01194209ba78dce6f05ce0e3a62a056972bcc74e1693d85f3a6bdc03f11fed1872436ee871c4703040a704c1f3635b45bd745b3d05ab7d6b218b2a7ccb0f8c8e'
|
7
|
+
data.tar.gz: bc2ab38813dc2b304123cc18b3aaccbe8087b8fa09521e6ec137c366f173cdc981fbf8117c5ef5223623914751d2008d038e214c68a71694762ccc57314e5b68
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-container_v1
|
2
2
|
|
3
|
+
### v0.16.0 (2021-09-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210820
|
6
|
+
|
7
|
+
### v0.15.0 (2021-08-05)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210722
|
10
|
+
|
11
|
+
### v0.14.0 (2021-07-31)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210715
|
14
|
+
|
15
|
+
### v0.13.0 (2021-07-21)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210708
|
18
|
+
|
3
19
|
### v0.12.0 (2021-06-29)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210617
|
@@ -37,6 +37,13 @@ module Google
|
|
37
37
|
# @return [String]
|
38
38
|
attr_accessor :accelerator_type
|
39
39
|
|
40
|
+
# Size of partitions to create on the GPU. Valid values are described in the
|
41
|
+
# NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-
|
42
|
+
# guide/#partitioning).
|
43
|
+
# Corresponds to the JSON property `gpuPartitionSize`
|
44
|
+
# @return [String]
|
45
|
+
attr_accessor :gpu_partition_size
|
46
|
+
|
40
47
|
def initialize(**args)
|
41
48
|
update!(**args)
|
42
49
|
end
|
@@ -45,6 +52,7 @@ module Google
|
|
45
52
|
def update!(**args)
|
46
53
|
@accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
|
47
54
|
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
|
55
|
+
@gpu_partition_size = args[:gpu_partition_size] if args.key?(:gpu_partition_size)
|
48
56
|
end
|
49
57
|
end
|
50
58
|
|
@@ -73,6 +81,11 @@ module Google
|
|
73
81
|
# @return [Google::Apis::ContainerV1::GcePersistentDiskCsiDriverConfig]
|
74
82
|
attr_accessor :gce_persistent_disk_csi_driver_config
|
75
83
|
|
84
|
+
# Configuration for the GCP Filestore CSI driver.
|
85
|
+
# Corresponds to the JSON property `gcpFilestoreCsiDriverConfig`
|
86
|
+
# @return [Google::Apis::ContainerV1::GcpFilestoreCsiDriverConfig]
|
87
|
+
attr_accessor :gcp_filestore_csi_driver_config
|
88
|
+
|
76
89
|
# Configuration options for the horizontal pod autoscaling feature, which
|
77
90
|
# increases or decreases the number of replica pods a replication controller has
|
78
91
|
# based on the resource usage of the existing pods.
|
@@ -108,6 +121,7 @@ module Google
|
|
108
121
|
@config_connector_config = args[:config_connector_config] if args.key?(:config_connector_config)
|
109
122
|
@dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config)
|
110
123
|
@gce_persistent_disk_csi_driver_config = args[:gce_persistent_disk_csi_driver_config] if args.key?(:gce_persistent_disk_csi_driver_config)
|
124
|
+
@gcp_filestore_csi_driver_config = args[:gcp_filestore_csi_driver_config] if args.key?(:gcp_filestore_csi_driver_config)
|
111
125
|
@horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling)
|
112
126
|
@http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing)
|
113
127
|
@kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard)
|
@@ -639,6 +653,11 @@ module Google
|
|
639
653
|
# @return [Array<String>]
|
640
654
|
attr_accessor :locations
|
641
655
|
|
656
|
+
# LoggingConfig is cluster logging configuration.
|
657
|
+
# Corresponds to the JSON property `loggingConfig`
|
658
|
+
# @return [Google::Apis::ContainerV1::LoggingConfig]
|
659
|
+
attr_accessor :logging_config
|
660
|
+
|
642
661
|
# The logging service the cluster should use to write logs. Currently available
|
643
662
|
# options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
|
644
663
|
# with a Kubernetes-native resource model * `logging.googleapis.com` - The
|
@@ -669,6 +688,11 @@ module Google
|
|
669
688
|
# @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
|
670
689
|
attr_accessor :master_authorized_networks_config
|
671
690
|
|
691
|
+
# MonitoringConfig is cluster monitoring configuration.
|
692
|
+
# Corresponds to the JSON property `monitoringConfig`
|
693
|
+
# @return [Google::Apis::ContainerV1::MonitoringConfig]
|
694
|
+
attr_accessor :monitoring_config
|
695
|
+
|
672
696
|
# The monitoring service the cluster should use to write metrics. Currently
|
673
697
|
# available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
|
674
698
|
# Monitoring service with a Kubernetes-native resource model * `monitoring.
|
@@ -848,10 +872,12 @@ module Google
|
|
848
872
|
@legacy_abac = args[:legacy_abac] if args.key?(:legacy_abac)
|
849
873
|
@location = args[:location] if args.key?(:location)
|
850
874
|
@locations = args[:locations] if args.key?(:locations)
|
875
|
+
@logging_config = args[:logging_config] if args.key?(:logging_config)
|
851
876
|
@logging_service = args[:logging_service] if args.key?(:logging_service)
|
852
877
|
@maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
|
853
878
|
@master_auth = args[:master_auth] if args.key?(:master_auth)
|
854
879
|
@master_authorized_networks_config = args[:master_authorized_networks_config] if args.key?(:master_authorized_networks_config)
|
880
|
+
@monitoring_config = args[:monitoring_config] if args.key?(:monitoring_config)
|
855
881
|
@monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
|
856
882
|
@name = args[:name] if args.key?(:name)
|
857
883
|
@network = args[:network] if args.key?(:network)
|
@@ -896,6 +922,11 @@ module Google
|
|
896
922
|
# @return [Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults]
|
897
923
|
attr_accessor :autoprovisioning_node_pool_defaults
|
898
924
|
|
925
|
+
# Defines autoscaling behaviour.
|
926
|
+
# Corresponds to the JSON property `autoscalingProfile`
|
927
|
+
# @return [String]
|
928
|
+
attr_accessor :autoscaling_profile
|
929
|
+
|
899
930
|
# Enables automatic node pool creation and deletion.
|
900
931
|
# Corresponds to the JSON property `enableNodeAutoprovisioning`
|
901
932
|
# @return [Boolean]
|
@@ -916,6 +947,7 @@ module Google
|
|
916
947
|
def update!(**args)
|
917
948
|
@autoprovisioning_locations = args[:autoprovisioning_locations] if args.key?(:autoprovisioning_locations)
|
918
949
|
@autoprovisioning_node_pool_defaults = args[:autoprovisioning_node_pool_defaults] if args.key?(:autoprovisioning_node_pool_defaults)
|
950
|
+
@autoscaling_profile = args[:autoscaling_profile] if args.key?(:autoscaling_profile)
|
919
951
|
@enable_node_autoprovisioning = args[:enable_node_autoprovisioning] if args.key?(:enable_node_autoprovisioning)
|
920
952
|
@resource_limits = args[:resource_limits] if args.key?(:resource_limits)
|
921
953
|
end
|
@@ -997,6 +1029,11 @@ module Google
|
|
997
1029
|
# @return [Array<String>]
|
998
1030
|
attr_accessor :desired_locations
|
999
1031
|
|
1032
|
+
# LoggingConfig is cluster logging configuration.
|
1033
|
+
# Corresponds to the JSON property `desiredLoggingConfig`
|
1034
|
+
# @return [Google::Apis::ContainerV1::LoggingConfig]
|
1035
|
+
attr_accessor :desired_logging_config
|
1036
|
+
|
1000
1037
|
# The logging service the cluster should use to write logs. Currently available
|
1001
1038
|
# options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
|
1002
1039
|
# with a Kubernetes-native resource model * `logging.googleapis.com` - The
|
@@ -1027,6 +1064,11 @@ module Google
|
|
1027
1064
|
# @return [String]
|
1028
1065
|
attr_accessor :desired_master_version
|
1029
1066
|
|
1067
|
+
# MonitoringConfig is cluster monitoring configuration.
|
1068
|
+
# Corresponds to the JSON property `desiredMonitoringConfig`
|
1069
|
+
# @return [Google::Apis::ContainerV1::MonitoringConfig]
|
1070
|
+
attr_accessor :desired_monitoring_config
|
1071
|
+
|
1030
1072
|
# The monitoring service the cluster should use to write metrics. Currently
|
1031
1073
|
# available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
|
1032
1074
|
# Monitoring service with a Kubernetes-native resource model * `monitoring.
|
@@ -1125,9 +1167,11 @@ module Google
|
|
1125
1167
|
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
|
1126
1168
|
@desired_l4ilb_subsetting_config = args[:desired_l4ilb_subsetting_config] if args.key?(:desired_l4ilb_subsetting_config)
|
1127
1169
|
@desired_locations = args[:desired_locations] if args.key?(:desired_locations)
|
1170
|
+
@desired_logging_config = args[:desired_logging_config] if args.key?(:desired_logging_config)
|
1128
1171
|
@desired_logging_service = args[:desired_logging_service] if args.key?(:desired_logging_service)
|
1129
1172
|
@desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config)
|
1130
1173
|
@desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
|
1174
|
+
@desired_monitoring_config = args[:desired_monitoring_config] if args.key?(:desired_monitoring_config)
|
1131
1175
|
@desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
|
1132
1176
|
@desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
|
1133
1177
|
@desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
|
@@ -1477,6 +1521,26 @@ module Google
|
|
1477
1521
|
end
|
1478
1522
|
end
|
1479
1523
|
|
1524
|
+
# Configuration for the GCP Filestore CSI driver.
|
1525
|
+
class GcpFilestoreCsiDriverConfig
|
1526
|
+
include Google::Apis::Core::Hashable
|
1527
|
+
|
1528
|
+
# Whether the GCP Filestore CSI driver is enabled for this cluster.
|
1529
|
+
# Corresponds to the JSON property `enabled`
|
1530
|
+
# @return [Boolean]
|
1531
|
+
attr_accessor :enabled
|
1532
|
+
alias_method :enabled?, :enabled
|
1533
|
+
|
1534
|
+
def initialize(**args)
|
1535
|
+
update!(**args)
|
1536
|
+
end
|
1537
|
+
|
1538
|
+
# Update properties of this object
|
1539
|
+
def update!(**args)
|
1540
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1541
|
+
end
|
1542
|
+
end
|
1543
|
+
|
1480
1544
|
# GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
|
1481
1545
|
class GetJsonWebKeysResponse
|
1482
1546
|
include Google::Apis::Core::Hashable
|
@@ -2048,6 +2112,44 @@ module Google
|
|
2048
2112
|
end
|
2049
2113
|
end
|
2050
2114
|
|
2115
|
+
# LoggingComponentConfig is cluster logging component configuration.
|
2116
|
+
class LoggingComponentConfig
|
2117
|
+
include Google::Apis::Core::Hashable
|
2118
|
+
|
2119
|
+
# Select components to collect logs. An empty set would disable all logging.
|
2120
|
+
# Corresponds to the JSON property `enableComponents`
|
2121
|
+
# @return [Array<String>]
|
2122
|
+
attr_accessor :enable_components
|
2123
|
+
|
2124
|
+
def initialize(**args)
|
2125
|
+
update!(**args)
|
2126
|
+
end
|
2127
|
+
|
2128
|
+
# Update properties of this object
|
2129
|
+
def update!(**args)
|
2130
|
+
@enable_components = args[:enable_components] if args.key?(:enable_components)
|
2131
|
+
end
|
2132
|
+
end
|
2133
|
+
|
2134
|
+
# LoggingConfig is cluster logging configuration.
|
2135
|
+
class LoggingConfig
|
2136
|
+
include Google::Apis::Core::Hashable
|
2137
|
+
|
2138
|
+
# LoggingComponentConfig is cluster logging component configuration.
|
2139
|
+
# Corresponds to the JSON property `componentConfig`
|
2140
|
+
# @return [Google::Apis::ContainerV1::LoggingComponentConfig]
|
2141
|
+
attr_accessor :component_config
|
2142
|
+
|
2143
|
+
def initialize(**args)
|
2144
|
+
update!(**args)
|
2145
|
+
end
|
2146
|
+
|
2147
|
+
# Update properties of this object
|
2148
|
+
def update!(**args)
|
2149
|
+
@component_config = args[:component_config] if args.key?(:component_config)
|
2150
|
+
end
|
2151
|
+
end
|
2152
|
+
|
2051
2153
|
# MaintenancePolicy defines the maintenance policy to be used for the cluster.
|
2052
2154
|
class MaintenancePolicy
|
2053
2155
|
include Google::Apis::Core::Hashable
|
@@ -2260,6 +2362,45 @@ module Google
|
|
2260
2362
|
end
|
2261
2363
|
end
|
2262
2364
|
|
2365
|
+
# MonitoringComponentConfig is cluster monitoring component configuration.
|
2366
|
+
class MonitoringComponentConfig
|
2367
|
+
include Google::Apis::Core::Hashable
|
2368
|
+
|
2369
|
+
# Select components to collect metrics. An empty set would disable all
|
2370
|
+
# monitoring.
|
2371
|
+
# Corresponds to the JSON property `enableComponents`
|
2372
|
+
# @return [Array<String>]
|
2373
|
+
attr_accessor :enable_components
|
2374
|
+
|
2375
|
+
def initialize(**args)
|
2376
|
+
update!(**args)
|
2377
|
+
end
|
2378
|
+
|
2379
|
+
# Update properties of this object
|
2380
|
+
def update!(**args)
|
2381
|
+
@enable_components = args[:enable_components] if args.key?(:enable_components)
|
2382
|
+
end
|
2383
|
+
end
|
2384
|
+
|
2385
|
+
# MonitoringConfig is cluster monitoring configuration.
|
2386
|
+
class MonitoringConfig
|
2387
|
+
include Google::Apis::Core::Hashable
|
2388
|
+
|
2389
|
+
# MonitoringComponentConfig is cluster monitoring component configuration.
|
2390
|
+
# Corresponds to the JSON property `componentConfig`
|
2391
|
+
# @return [Google::Apis::ContainerV1::MonitoringComponentConfig]
|
2392
|
+
attr_accessor :component_config
|
2393
|
+
|
2394
|
+
def initialize(**args)
|
2395
|
+
update!(**args)
|
2396
|
+
end
|
2397
|
+
|
2398
|
+
# Update properties of this object
|
2399
|
+
def update!(**args)
|
2400
|
+
@component_config = args[:component_config] if args.key?(:component_config)
|
2401
|
+
end
|
2402
|
+
end
|
2403
|
+
|
2263
2404
|
# NetworkConfig reports the relative names of network & subnetwork.
|
2264
2405
|
class NetworkConfig
|
2265
2406
|
include Google::Apis::Core::Hashable
|
@@ -2405,6 +2546,11 @@ module Google
|
|
2405
2546
|
# @return [String]
|
2406
2547
|
attr_accessor :disk_type
|
2407
2548
|
|
2549
|
+
# Configuration of gVNIC feature.
|
2550
|
+
# Corresponds to the JSON property `gvnic`
|
2551
|
+
# @return [Google::Apis::ContainerV1::VirtualNic]
|
2552
|
+
attr_accessor :gvnic
|
2553
|
+
|
2408
2554
|
# The image type to use for this node. Note that for a given image type, the
|
2409
2555
|
# latest version of it will be used.
|
2410
2556
|
# Corresponds to the JSON property `imageType`
|
@@ -2456,9 +2602,8 @@ module Google
|
|
2456
2602
|
# - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "
|
2457
2603
|
# instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-
|
2458
2604
|
# address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-
|
2459
|
-
# setup-psm1" - "install-ssh-psm1" - "user-profile-psm1"
|
2460
|
-
#
|
2461
|
-
# form strings, and only have meaning as interpreted by the image running in the
|
2605
|
+
# setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" Values are free-form
|
2606
|
+
# strings, and only have meaning as interpreted by the image running in the
|
2462
2607
|
# instance. The only restriction placed on them is that each value's size must
|
2463
2608
|
# be less than or equal to 32 KB. The total size of all keys and values must be
|
2464
2609
|
# less than 512 KB.
|
@@ -2559,6 +2704,7 @@ module Google
|
|
2559
2704
|
@boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
|
2560
2705
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
2561
2706
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
2707
|
+
@gvnic = args[:gvnic] if args.key?(:gvnic)
|
2562
2708
|
@image_type = args[:image_type] if args.key?(:image_type)
|
2563
2709
|
@kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
|
2564
2710
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -2666,6 +2812,53 @@ module Google
|
|
2666
2812
|
end
|
2667
2813
|
end
|
2668
2814
|
|
2815
|
+
# Parameters for node pool-level network config.
|
2816
|
+
class NodeNetworkConfig
|
2817
|
+
include Google::Apis::Core::Hashable
|
2818
|
+
|
2819
|
+
# Input only. Whether to create a new range for pod IPs in this node pool.
|
2820
|
+
# Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are
|
2821
|
+
# not specified. If neither `create_pod_range` or `pod_range` are specified, the
|
2822
|
+
# cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used.
|
2823
|
+
# Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field
|
2824
|
+
# cannot be changed after the node pool has been created.
|
2825
|
+
# Corresponds to the JSON property `createPodRange`
|
2826
|
+
# @return [Boolean]
|
2827
|
+
attr_accessor :create_pod_range
|
2828
|
+
alias_method :create_pod_range?, :create_pod_range
|
2829
|
+
|
2830
|
+
# The IP address range for pod IPs in this node pool. Only applicable if `
|
2831
|
+
# create_pod_range` is true. Set to blank to have a range chosen with the
|
2832
|
+
# default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
|
2833
|
+
# specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/
|
2834
|
+
# Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) to pick a
|
2835
|
+
# specific range to use. Only applicable if `ip_allocation_policy.use_ip_aliases`
|
2836
|
+
# is true. This field cannot be changed after the node pool has been created.
|
2837
|
+
# Corresponds to the JSON property `podIpv4CidrBlock`
|
2838
|
+
# @return [String]
|
2839
|
+
attr_accessor :pod_ipv4_cidr_block
|
2840
|
+
|
2841
|
+
# The ID of the secondary range for pod IPs. If `create_pod_range` is true, this
|
2842
|
+
# ID is used for the new range. If `create_pod_range` is false, uses an existing
|
2843
|
+
# secondary range with this ID. Only applicable if `ip_allocation_policy.
|
2844
|
+
# use_ip_aliases` is true. This field cannot be changed after the node pool has
|
2845
|
+
# been created.
|
2846
|
+
# Corresponds to the JSON property `podRange`
|
2847
|
+
# @return [String]
|
2848
|
+
attr_accessor :pod_range
|
2849
|
+
|
2850
|
+
def initialize(**args)
|
2851
|
+
update!(**args)
|
2852
|
+
end
|
2853
|
+
|
2854
|
+
# Update properties of this object
|
2855
|
+
def update!(**args)
|
2856
|
+
@create_pod_range = args[:create_pod_range] if args.key?(:create_pod_range)
|
2857
|
+
@pod_ipv4_cidr_block = args[:pod_ipv4_cidr_block] if args.key?(:pod_ipv4_cidr_block)
|
2858
|
+
@pod_range = args[:pod_range] if args.key?(:pod_range)
|
2859
|
+
end
|
2860
|
+
end
|
2861
|
+
|
2669
2862
|
# NodePool contains the name and configuration for a cluster's node pool. Node
|
2670
2863
|
# pools are a set of nodes (i.e. VM's), with a common configuration and
|
2671
2864
|
# specification, under the control of the cluster master. They may have a set of
|
@@ -2732,6 +2925,11 @@ module Google
|
|
2732
2925
|
# @return [String]
|
2733
2926
|
attr_accessor :name
|
2734
2927
|
|
2928
|
+
# Parameters for node pool-level network config.
|
2929
|
+
# Corresponds to the JSON property `networkConfig`
|
2930
|
+
# @return [Google::Apis::ContainerV1::NodeNetworkConfig]
|
2931
|
+
attr_accessor :network_config
|
2932
|
+
|
2735
2933
|
# [Output only] The pod CIDR block size per node in this node pool.
|
2736
2934
|
# Corresponds to the JSON property `podIpv4CidrSize`
|
2737
2935
|
# @return [Fixnum]
|
@@ -2791,6 +2989,7 @@ module Google
|
|
2791
2989
|
@management = args[:management] if args.key?(:management)
|
2792
2990
|
@max_pods_constraint = args[:max_pods_constraint] if args.key?(:max_pods_constraint)
|
2793
2991
|
@name = args[:name] if args.key?(:name)
|
2992
|
+
@network_config = args[:network_config] if args.key?(:network_config)
|
2794
2993
|
@pod_ipv4_cidr_size = args[:pod_ipv4_cidr_size] if args.key?(:pod_ipv4_cidr_size)
|
2795
2994
|
@self_link = args[:self_link] if args.key?(:self_link)
|
2796
2995
|
@status = args[:status] if args.key?(:status)
|
@@ -2818,7 +3017,7 @@ module Google
|
|
2818
3017
|
alias_method :enabled?, :enabled
|
2819
3018
|
|
2820
3019
|
# Maximum number of nodes in the NodePool. Must be >= min_node_count. There has
|
2821
|
-
# to enough quota to scale up the cluster.
|
3020
|
+
# to be enough quota to scale up the cluster.
|
2822
3021
|
# Corresponds to the JSON property `maxNodeCount`
|
2823
3022
|
# @return [Fixnum]
|
2824
3023
|
attr_accessor :max_node_count
|
@@ -4444,6 +4643,11 @@ module Google
|
|
4444
4643
|
# @return [String]
|
4445
4644
|
attr_accessor :cluster_id
|
4446
4645
|
|
4646
|
+
# Configuration of gVNIC feature.
|
4647
|
+
# Corresponds to the JSON property `gvnic`
|
4648
|
+
# @return [Google::Apis::ContainerV1::VirtualNic]
|
4649
|
+
attr_accessor :gvnic
|
4650
|
+
|
4447
4651
|
# Required. The desired image type for the node pool.
|
4448
4652
|
# Corresponds to the JSON property `imageType`
|
4449
4653
|
# @return [String]
|
@@ -4536,6 +4740,7 @@ module Google
|
|
4536
4740
|
# Update properties of this object
|
4537
4741
|
def update!(**args)
|
4538
4742
|
@cluster_id = args[:cluster_id] if args.key?(:cluster_id)
|
4743
|
+
@gvnic = args[:gvnic] if args.key?(:gvnic)
|
4539
4744
|
@image_type = args[:image_type] if args.key?(:image_type)
|
4540
4745
|
@kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
|
4541
4746
|
@linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
|
@@ -4785,6 +4990,26 @@ module Google
|
|
4785
4990
|
end
|
4786
4991
|
end
|
4787
4992
|
|
4993
|
+
# Configuration of gVNIC feature.
|
4994
|
+
class VirtualNic
|
4995
|
+
include Google::Apis::Core::Hashable
|
4996
|
+
|
4997
|
+
# Whether gVNIC features are enabled in the node pool.
|
4998
|
+
# Corresponds to the JSON property `enabled`
|
4999
|
+
# @return [Boolean]
|
5000
|
+
attr_accessor :enabled
|
5001
|
+
alias_method :enabled?, :enabled
|
5002
|
+
|
5003
|
+
def initialize(**args)
|
5004
|
+
update!(**args)
|
5005
|
+
end
|
5006
|
+
|
5007
|
+
# Update properties of this object
|
5008
|
+
def update!(**args)
|
5009
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
5010
|
+
end
|
5011
|
+
end
|
5012
|
+
|
4788
5013
|
# Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
4789
5014
|
class WorkloadIdentityConfig
|
4790
5015
|
include Google::Apis::Core::Hashable
|
@@ -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.16.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 = "20210820"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -184,6 +184,12 @@ module Google
|
|
184
184
|
include Google::Apis::Core::JsonObjectSupport
|
185
185
|
end
|
186
186
|
|
187
|
+
class GcpFilestoreCsiDriverConfig
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
187
193
|
class GetJsonWebKeysResponse
|
188
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
195
|
|
@@ -280,6 +286,18 @@ module Google
|
|
280
286
|
include Google::Apis::Core::JsonObjectSupport
|
281
287
|
end
|
282
288
|
|
289
|
+
class LoggingComponentConfig
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class LoggingConfig
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
283
301
|
class MaintenancePolicy
|
284
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
303
|
|
@@ -316,6 +334,18 @@ module Google
|
|
316
334
|
include Google::Apis::Core::JsonObjectSupport
|
317
335
|
end
|
318
336
|
|
337
|
+
class MonitoringComponentConfig
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class MonitoringConfig
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
319
349
|
class NetworkConfig
|
320
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
351
|
|
@@ -352,6 +382,12 @@ module Google
|
|
352
382
|
include Google::Apis::Core::JsonObjectSupport
|
353
383
|
end
|
354
384
|
|
385
|
+
class NodeNetworkConfig
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
355
391
|
class NodePool
|
356
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
393
|
|
@@ -622,6 +658,12 @@ module Google
|
|
622
658
|
include Google::Apis::Core::JsonObjectSupport
|
623
659
|
end
|
624
660
|
|
661
|
+
class VirtualNic
|
662
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
|
+
|
664
|
+
include Google::Apis::Core::JsonObjectSupport
|
665
|
+
end
|
666
|
+
|
625
667
|
class WorkloadIdentityConfig
|
626
668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
669
|
|
@@ -639,6 +681,7 @@ module Google
|
|
639
681
|
class Representation < Google::Apis::Core::JsonRepresentation
|
640
682
|
property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
|
641
683
|
property :accelerator_type, as: 'acceleratorType'
|
684
|
+
property :gpu_partition_size, as: 'gpuPartitionSize'
|
642
685
|
end
|
643
686
|
end
|
644
687
|
|
@@ -653,6 +696,8 @@ module Google
|
|
653
696
|
|
654
697
|
property :gce_persistent_disk_csi_driver_config, as: 'gcePersistentDiskCsiDriverConfig', class: Google::Apis::ContainerV1::GcePersistentDiskCsiDriverConfig, decorator: Google::Apis::ContainerV1::GcePersistentDiskCsiDriverConfig::Representation
|
655
698
|
|
699
|
+
property :gcp_filestore_csi_driver_config, as: 'gcpFilestoreCsiDriverConfig', class: Google::Apis::ContainerV1::GcpFilestoreCsiDriverConfig, decorator: Google::Apis::ContainerV1::GcpFilestoreCsiDriverConfig::Representation
|
700
|
+
|
656
701
|
property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1::HorizontalPodAutoscaling::Representation
|
657
702
|
|
658
703
|
property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1::HttpLoadBalancing::Representation
|
@@ -795,6 +840,8 @@ module Google
|
|
795
840
|
|
796
841
|
property :location, as: 'location'
|
797
842
|
collection :locations, as: 'locations'
|
843
|
+
property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1::LoggingConfig, decorator: Google::Apis::ContainerV1::LoggingConfig::Representation
|
844
|
+
|
798
845
|
property :logging_service, as: 'loggingService'
|
799
846
|
property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1::MaintenancePolicy, decorator: Google::Apis::ContainerV1::MaintenancePolicy::Representation
|
800
847
|
|
@@ -802,6 +849,8 @@ module Google
|
|
802
849
|
|
803
850
|
property :master_authorized_networks_config, as: 'masterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation
|
804
851
|
|
852
|
+
property :monitoring_config, as: 'monitoringConfig', class: Google::Apis::ContainerV1::MonitoringConfig, decorator: Google::Apis::ContainerV1::MonitoringConfig::Representation
|
853
|
+
|
805
854
|
property :monitoring_service, as: 'monitoringService'
|
806
855
|
property :name, as: 'name'
|
807
856
|
property :network, as: 'network'
|
@@ -845,6 +894,7 @@ module Google
|
|
845
894
|
collection :autoprovisioning_locations, as: 'autoprovisioningLocations'
|
846
895
|
property :autoprovisioning_node_pool_defaults, as: 'autoprovisioningNodePoolDefaults', class: Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults, decorator: Google::Apis::ContainerV1::AutoprovisioningNodePoolDefaults::Representation
|
847
896
|
|
897
|
+
property :autoscaling_profile, as: 'autoscalingProfile'
|
848
898
|
property :enable_node_autoprovisioning, as: 'enableNodeAutoprovisioning'
|
849
899
|
collection :resource_limits, as: 'resourceLimits', class: Google::Apis::ContainerV1::ResourceLimit, decorator: Google::Apis::ContainerV1::ResourceLimit::Representation
|
850
900
|
|
@@ -875,10 +925,14 @@ module Google
|
|
875
925
|
property :desired_l4ilb_subsetting_config, as: 'desiredL4ilbSubsettingConfig', class: Google::Apis::ContainerV1::IlbSubsettingConfig, decorator: Google::Apis::ContainerV1::IlbSubsettingConfig::Representation
|
876
926
|
|
877
927
|
collection :desired_locations, as: 'desiredLocations'
|
928
|
+
property :desired_logging_config, as: 'desiredLoggingConfig', class: Google::Apis::ContainerV1::LoggingConfig, decorator: Google::Apis::ContainerV1::LoggingConfig::Representation
|
929
|
+
|
878
930
|
property :desired_logging_service, as: 'desiredLoggingService'
|
879
931
|
property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation
|
880
932
|
|
881
933
|
property :desired_master_version, as: 'desiredMasterVersion'
|
934
|
+
property :desired_monitoring_config, as: 'desiredMonitoringConfig', class: Google::Apis::ContainerV1::MonitoringConfig, decorator: Google::Apis::ContainerV1::MonitoringConfig::Representation
|
935
|
+
|
882
936
|
property :desired_monitoring_service, as: 'desiredMonitoringService'
|
883
937
|
property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
|
884
938
|
|
@@ -999,6 +1053,13 @@ module Google
|
|
999
1053
|
end
|
1000
1054
|
end
|
1001
1055
|
|
1056
|
+
class GcpFilestoreCsiDriverConfig
|
1057
|
+
# @private
|
1058
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1059
|
+
property :enabled, as: 'enabled'
|
1060
|
+
end
|
1061
|
+
end
|
1062
|
+
|
1002
1063
|
class GetJsonWebKeysResponse
|
1003
1064
|
# @private
|
1004
1065
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1151,6 +1212,21 @@ module Google
|
|
1151
1212
|
end
|
1152
1213
|
end
|
1153
1214
|
|
1215
|
+
class LoggingComponentConfig
|
1216
|
+
# @private
|
1217
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1218
|
+
collection :enable_components, as: 'enableComponents'
|
1219
|
+
end
|
1220
|
+
end
|
1221
|
+
|
1222
|
+
class LoggingConfig
|
1223
|
+
# @private
|
1224
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1225
|
+
property :component_config, as: 'componentConfig', class: Google::Apis::ContainerV1::LoggingComponentConfig, decorator: Google::Apis::ContainerV1::LoggingComponentConfig::Representation
|
1226
|
+
|
1227
|
+
end
|
1228
|
+
end
|
1229
|
+
|
1154
1230
|
class MaintenancePolicy
|
1155
1231
|
# @private
|
1156
1232
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1211,6 +1287,21 @@ module Google
|
|
1211
1287
|
end
|
1212
1288
|
end
|
1213
1289
|
|
1290
|
+
class MonitoringComponentConfig
|
1291
|
+
# @private
|
1292
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1293
|
+
collection :enable_components, as: 'enableComponents'
|
1294
|
+
end
|
1295
|
+
end
|
1296
|
+
|
1297
|
+
class MonitoringConfig
|
1298
|
+
# @private
|
1299
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1300
|
+
property :component_config, as: 'componentConfig', class: Google::Apis::ContainerV1::MonitoringComponentConfig, decorator: Google::Apis::ContainerV1::MonitoringComponentConfig::Representation
|
1301
|
+
|
1302
|
+
end
|
1303
|
+
end
|
1304
|
+
|
1214
1305
|
class NetworkConfig
|
1215
1306
|
# @private
|
1216
1307
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1248,6 +1339,8 @@ module Google
|
|
1248
1339
|
property :boot_disk_kms_key, as: 'bootDiskKmsKey'
|
1249
1340
|
property :disk_size_gb, as: 'diskSizeGb'
|
1250
1341
|
property :disk_type, as: 'diskType'
|
1342
|
+
property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1::VirtualNic, decorator: Google::Apis::ContainerV1::VirtualNic::Representation
|
1343
|
+
|
1251
1344
|
property :image_type, as: 'imageType'
|
1252
1345
|
property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
|
1253
1346
|
|
@@ -1295,6 +1388,15 @@ module Google
|
|
1295
1388
|
end
|
1296
1389
|
end
|
1297
1390
|
|
1391
|
+
class NodeNetworkConfig
|
1392
|
+
# @private
|
1393
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1394
|
+
property :create_pod_range, as: 'createPodRange'
|
1395
|
+
property :pod_ipv4_cidr_block, as: 'podIpv4CidrBlock'
|
1396
|
+
property :pod_range, as: 'podRange'
|
1397
|
+
end
|
1398
|
+
end
|
1399
|
+
|
1298
1400
|
class NodePool
|
1299
1401
|
# @private
|
1300
1402
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1312,6 +1414,8 @@ module Google
|
|
1312
1414
|
property :max_pods_constraint, as: 'maxPodsConstraint', class: Google::Apis::ContainerV1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1::MaxPodsConstraint::Representation
|
1313
1415
|
|
1314
1416
|
property :name, as: 'name'
|
1417
|
+
property :network_config, as: 'networkConfig', class: Google::Apis::ContainerV1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1::NodeNetworkConfig::Representation
|
1418
|
+
|
1315
1419
|
property :pod_ipv4_cidr_size, as: 'podIpv4CidrSize'
|
1316
1420
|
property :self_link, as: 'selfLink'
|
1317
1421
|
property :status, as: 'status'
|
@@ -1722,6 +1826,8 @@ module Google
|
|
1722
1826
|
# @private
|
1723
1827
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1724
1828
|
property :cluster_id, as: 'clusterId'
|
1829
|
+
property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1::VirtualNic, decorator: Google::Apis::ContainerV1::VirtualNic::Representation
|
1830
|
+
|
1725
1831
|
property :image_type, as: 'imageType'
|
1726
1832
|
property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
|
1727
1833
|
|
@@ -1799,6 +1905,13 @@ module Google
|
|
1799
1905
|
end
|
1800
1906
|
end
|
1801
1907
|
|
1908
|
+
class VirtualNic
|
1909
|
+
# @private
|
1910
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1911
|
+
property :enabled, as: 'enabled'
|
1912
|
+
end
|
1913
|
+
end
|
1914
|
+
|
1802
1915
|
class WorkloadIdentityConfig
|
1803
1916
|
# @private
|
1804
1917
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
32
32
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
33
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
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.16.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-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.16.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|