google-apis-container_v1 0.14.0 → 0.18.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fedd23d02a0a926a2bd5f5920e9a79541fad44f501cd4f4aa17c6ee4f8fc9208
4
- data.tar.gz: 1e81b57ff31698d26f348dbfb1b74f97ecf4e9584bf0f9652d598f52f80fe3e9
3
+ metadata.gz: 82096434803c2026cd50a63c809f669ae325c5326dbd082e20e82ec5b7f95f98
4
+ data.tar.gz: 6308268b94e51c58484307b5127b7111dc36891e6174d02dbc6df3cd89ed206b
5
5
  SHA512:
6
- metadata.gz: '08399100fbe62837ad3d31b233505fba671f00a3a32f9dabd087ea694f62626b3eadfefef126beeef77f196ee384cfdea71e16d2b89135332d85ea9bf0e74d7f'
7
- data.tar.gz: a3aa53a74491b828036223070da42db03794248b38a76d2aaf9423b81b68d56ebfb9aeee897178c2968ad43ef7a39ead63e2dd8e0e82f3be606d2e70c727de98
6
+ metadata.gz: 2dc7ef6a8ed3632f7c1f1aa5c950066dfbc9cfd1d1ba98103c48f8d4640d5bc039b5cb0de279bd7ceab33711e3e732f08356ce54ab828863075d4dc4c65f5408
7
+ data.tar.gz: e54c95a28465dc003173b2e81fdfa8dca7396a9adf3d65b71ba82c63a5b8b985a7d23d7226ba70d2672694e712fc30fad0c6741c78e277a035453d2212534458
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.18.0 (2021-10-02)
4
+
5
+ * Regenerated from discovery document revision 20210914
6
+
7
+ ### v0.17.0 (2021-09-20)
8
+
9
+ * Regenerated from discovery document revision 20210906
10
+
11
+ ### v0.16.0 (2021-09-03)
12
+
13
+ * Regenerated from discovery document revision 20210820
14
+
15
+ ### v0.15.0 (2021-08-05)
16
+
17
+ * Regenerated from discovery document revision 20210722
18
+
3
19
  ### v0.14.0 (2021-07-31)
4
20
 
5
21
  * Regenerated from discovery document revision 20210715
@@ -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,16 @@ module Google
669
688
  # @return [Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig]
670
689
  attr_accessor :master_authorized_networks_config
671
690
 
691
+ # Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
692
+ # Corresponds to the JSON property `meshCertificates`
693
+ # @return [Google::Apis::ContainerV1::MeshCertificates]
694
+ attr_accessor :mesh_certificates
695
+
696
+ # MonitoringConfig is cluster monitoring configuration.
697
+ # Corresponds to the JSON property `monitoringConfig`
698
+ # @return [Google::Apis::ContainerV1::MonitoringConfig]
699
+ attr_accessor :monitoring_config
700
+
672
701
  # The monitoring service the cluster should use to write metrics. Currently
673
702
  # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
674
703
  # Monitoring service with a Kubernetes-native resource model * `monitoring.
@@ -848,10 +877,13 @@ module Google
848
877
  @legacy_abac = args[:legacy_abac] if args.key?(:legacy_abac)
849
878
  @location = args[:location] if args.key?(:location)
850
879
  @locations = args[:locations] if args.key?(:locations)
880
+ @logging_config = args[:logging_config] if args.key?(:logging_config)
851
881
  @logging_service = args[:logging_service] if args.key?(:logging_service)
852
882
  @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
853
883
  @master_auth = args[:master_auth] if args.key?(:master_auth)
854
884
  @master_authorized_networks_config = args[:master_authorized_networks_config] if args.key?(:master_authorized_networks_config)
885
+ @mesh_certificates = args[:mesh_certificates] if args.key?(:mesh_certificates)
886
+ @monitoring_config = args[:monitoring_config] if args.key?(:monitoring_config)
855
887
  @monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
856
888
  @name = args[:name] if args.key?(:name)
857
889
  @network = args[:network] if args.key?(:network)
@@ -1003,6 +1035,11 @@ module Google
1003
1035
  # @return [Array<String>]
1004
1036
  attr_accessor :desired_locations
1005
1037
 
1038
+ # LoggingConfig is cluster logging configuration.
1039
+ # Corresponds to the JSON property `desiredLoggingConfig`
1040
+ # @return [Google::Apis::ContainerV1::LoggingConfig]
1041
+ attr_accessor :desired_logging_config
1042
+
1006
1043
  # The logging service the cluster should use to write logs. Currently available
1007
1044
  # options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service
1008
1045
  # with a Kubernetes-native resource model * `logging.googleapis.com` - The
@@ -1033,6 +1070,16 @@ module Google
1033
1070
  # @return [String]
1034
1071
  attr_accessor :desired_master_version
1035
1072
 
1073
+ # Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
1074
+ # Corresponds to the JSON property `desiredMeshCertificates`
1075
+ # @return [Google::Apis::ContainerV1::MeshCertificates]
1076
+ attr_accessor :desired_mesh_certificates
1077
+
1078
+ # MonitoringConfig is cluster monitoring configuration.
1079
+ # Corresponds to the JSON property `desiredMonitoringConfig`
1080
+ # @return [Google::Apis::ContainerV1::MonitoringConfig]
1081
+ attr_accessor :desired_monitoring_config
1082
+
1036
1083
  # The monitoring service the cluster should use to write metrics. Currently
1037
1084
  # available options: * "monitoring.googleapis.com/kubernetes" - The Cloud
1038
1085
  # Monitoring service with a Kubernetes-native resource model * `monitoring.
@@ -1131,9 +1178,12 @@ module Google
1131
1178
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
1132
1179
  @desired_l4ilb_subsetting_config = args[:desired_l4ilb_subsetting_config] if args.key?(:desired_l4ilb_subsetting_config)
1133
1180
  @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
1181
+ @desired_logging_config = args[:desired_logging_config] if args.key?(:desired_logging_config)
1134
1182
  @desired_logging_service = args[:desired_logging_service] if args.key?(:desired_logging_service)
1135
1183
  @desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config)
1136
1184
  @desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
1185
+ @desired_mesh_certificates = args[:desired_mesh_certificates] if args.key?(:desired_mesh_certificates)
1186
+ @desired_monitoring_config = args[:desired_monitoring_config] if args.key?(:desired_monitoring_config)
1137
1187
  @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
1138
1188
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
1139
1189
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
@@ -1483,6 +1533,26 @@ module Google
1483
1533
  end
1484
1534
  end
1485
1535
 
1536
+ # Configuration for the GCP Filestore CSI driver.
1537
+ class GcpFilestoreCsiDriverConfig
1538
+ include Google::Apis::Core::Hashable
1539
+
1540
+ # Whether the GCP Filestore CSI driver is enabled for this cluster.
1541
+ # Corresponds to the JSON property `enabled`
1542
+ # @return [Boolean]
1543
+ attr_accessor :enabled
1544
+ alias_method :enabled?, :enabled
1545
+
1546
+ def initialize(**args)
1547
+ update!(**args)
1548
+ end
1549
+
1550
+ # Update properties of this object
1551
+ def update!(**args)
1552
+ @enabled = args[:enabled] if args.key?(:enabled)
1553
+ end
1554
+ end
1555
+
1486
1556
  # GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
1487
1557
  class GetJsonWebKeysResponse
1488
1558
  include Google::Apis::Core::Hashable
@@ -2054,6 +2124,44 @@ module Google
2054
2124
  end
2055
2125
  end
2056
2126
 
2127
+ # LoggingComponentConfig is cluster logging component configuration.
2128
+ class LoggingComponentConfig
2129
+ include Google::Apis::Core::Hashable
2130
+
2131
+ # Select components to collect logs. An empty set would disable all logging.
2132
+ # Corresponds to the JSON property `enableComponents`
2133
+ # @return [Array<String>]
2134
+ attr_accessor :enable_components
2135
+
2136
+ def initialize(**args)
2137
+ update!(**args)
2138
+ end
2139
+
2140
+ # Update properties of this object
2141
+ def update!(**args)
2142
+ @enable_components = args[:enable_components] if args.key?(:enable_components)
2143
+ end
2144
+ end
2145
+
2146
+ # LoggingConfig is cluster logging configuration.
2147
+ class LoggingConfig
2148
+ include Google::Apis::Core::Hashable
2149
+
2150
+ # LoggingComponentConfig is cluster logging component configuration.
2151
+ # Corresponds to the JSON property `componentConfig`
2152
+ # @return [Google::Apis::ContainerV1::LoggingComponentConfig]
2153
+ attr_accessor :component_config
2154
+
2155
+ def initialize(**args)
2156
+ update!(**args)
2157
+ end
2158
+
2159
+ # Update properties of this object
2160
+ def update!(**args)
2161
+ @component_config = args[:component_config] if args.key?(:component_config)
2162
+ end
2163
+ end
2164
+
2057
2165
  # MaintenancePolicy defines the maintenance policy to be used for the cluster.
2058
2166
  class MaintenancePolicy
2059
2167
  include Google::Apis::Core::Hashable
@@ -2229,6 +2337,19 @@ module Google
2229
2337
  end
2230
2338
  end
2231
2339
 
2340
+ # Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
2341
+ class MeshCertificates
2342
+ include Google::Apis::Core::Hashable
2343
+
2344
+ def initialize(**args)
2345
+ update!(**args)
2346
+ end
2347
+
2348
+ # Update properties of this object
2349
+ def update!(**args)
2350
+ end
2351
+ end
2352
+
2232
2353
  # Progress metric is (string, int|float|string) pair.
2233
2354
  class Metric
2234
2355
  include Google::Apis::Core::Hashable
@@ -2266,6 +2387,45 @@ module Google
2266
2387
  end
2267
2388
  end
2268
2389
 
2390
+ # MonitoringComponentConfig is cluster monitoring component configuration.
2391
+ class MonitoringComponentConfig
2392
+ include Google::Apis::Core::Hashable
2393
+
2394
+ # Select components to collect metrics. An empty set would disable all
2395
+ # monitoring.
2396
+ # Corresponds to the JSON property `enableComponents`
2397
+ # @return [Array<String>]
2398
+ attr_accessor :enable_components
2399
+
2400
+ def initialize(**args)
2401
+ update!(**args)
2402
+ end
2403
+
2404
+ # Update properties of this object
2405
+ def update!(**args)
2406
+ @enable_components = args[:enable_components] if args.key?(:enable_components)
2407
+ end
2408
+ end
2409
+
2410
+ # MonitoringConfig is cluster monitoring configuration.
2411
+ class MonitoringConfig
2412
+ include Google::Apis::Core::Hashable
2413
+
2414
+ # MonitoringComponentConfig is cluster monitoring component configuration.
2415
+ # Corresponds to the JSON property `componentConfig`
2416
+ # @return [Google::Apis::ContainerV1::MonitoringComponentConfig]
2417
+ attr_accessor :component_config
2418
+
2419
+ def initialize(**args)
2420
+ update!(**args)
2421
+ end
2422
+
2423
+ # Update properties of this object
2424
+ def update!(**args)
2425
+ @component_config = args[:component_config] if args.key?(:component_config)
2426
+ end
2427
+ end
2428
+
2269
2429
  # NetworkConfig reports the relative names of network & subnetwork.
2270
2430
  class NetworkConfig
2271
2431
  include Google::Apis::Core::Hashable
@@ -2411,6 +2571,11 @@ module Google
2411
2571
  # @return [String]
2412
2572
  attr_accessor :disk_type
2413
2573
 
2574
+ # Configuration of gVNIC feature.
2575
+ # Corresponds to the JSON property `gvnic`
2576
+ # @return [Google::Apis::ContainerV1::VirtualNic]
2577
+ attr_accessor :gvnic
2578
+
2414
2579
  # The image type to use for this node. Note that for a given image type, the
2415
2580
  # latest version of it will be used.
2416
2581
  # Corresponds to the JSON property `imageType`
@@ -2462,9 +2627,8 @@ module Google
2462
2627
  # - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "
2463
2628
  # instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-
2464
2629
  # address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-
2465
- # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" The following keys are
2466
- # reserved for Windows nodes: - "serial-port-logging-enable" Values are free-
2467
- # form strings, and only have meaning as interpreted by the image running in the
2630
+ # setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" Values are free-form
2631
+ # strings, and only have meaning as interpreted by the image running in the
2468
2632
  # instance. The only restriction placed on them is that each value's size must
2469
2633
  # be less than or equal to 32 KB. The total size of all keys and values must be
2470
2634
  # less than 512 KB.
@@ -2565,6 +2729,7 @@ module Google
2565
2729
  @boot_disk_kms_key = args[:boot_disk_kms_key] if args.key?(:boot_disk_kms_key)
2566
2730
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2567
2731
  @disk_type = args[:disk_type] if args.key?(:disk_type)
2732
+ @gvnic = args[:gvnic] if args.key?(:gvnic)
2568
2733
  @image_type = args[:image_type] if args.key?(:image_type)
2569
2734
  @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
2570
2735
  @labels = args[:labels] if args.key?(:labels)
@@ -2672,6 +2837,53 @@ module Google
2672
2837
  end
2673
2838
  end
2674
2839
 
2840
+ # Parameters for node pool-level network config.
2841
+ class NodeNetworkConfig
2842
+ include Google::Apis::Core::Hashable
2843
+
2844
+ # Input only. Whether to create a new range for pod IPs in this node pool.
2845
+ # Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are
2846
+ # not specified. If neither `create_pod_range` or `pod_range` are specified, the
2847
+ # cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used.
2848
+ # Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field
2849
+ # cannot be changed after the node pool has been created.
2850
+ # Corresponds to the JSON property `createPodRange`
2851
+ # @return [Boolean]
2852
+ attr_accessor :create_pod_range
2853
+ alias_method :create_pod_range?, :create_pod_range
2854
+
2855
+ # The IP address range for pod IPs in this node pool. Only applicable if `
2856
+ # create_pod_range` is true. Set to blank to have a range chosen with the
2857
+ # default size. Set to /netmask (e.g. `/14`) to have a range chosen with a
2858
+ # specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/
2859
+ # Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) to pick a
2860
+ # specific range to use. Only applicable if `ip_allocation_policy.use_ip_aliases`
2861
+ # is true. This field cannot be changed after the node pool has been created.
2862
+ # Corresponds to the JSON property `podIpv4CidrBlock`
2863
+ # @return [String]
2864
+ attr_accessor :pod_ipv4_cidr_block
2865
+
2866
+ # The ID of the secondary range for pod IPs. If `create_pod_range` is true, this
2867
+ # ID is used for the new range. If `create_pod_range` is false, uses an existing
2868
+ # secondary range with this ID. Only applicable if `ip_allocation_policy.
2869
+ # use_ip_aliases` is true. This field cannot be changed after the node pool has
2870
+ # been created.
2871
+ # Corresponds to the JSON property `podRange`
2872
+ # @return [String]
2873
+ attr_accessor :pod_range
2874
+
2875
+ def initialize(**args)
2876
+ update!(**args)
2877
+ end
2878
+
2879
+ # Update properties of this object
2880
+ def update!(**args)
2881
+ @create_pod_range = args[:create_pod_range] if args.key?(:create_pod_range)
2882
+ @pod_ipv4_cidr_block = args[:pod_ipv4_cidr_block] if args.key?(:pod_ipv4_cidr_block)
2883
+ @pod_range = args[:pod_range] if args.key?(:pod_range)
2884
+ end
2885
+ end
2886
+
2675
2887
  # NodePool contains the name and configuration for a cluster's node pool. Node
2676
2888
  # pools are a set of nodes (i.e. VM's), with a common configuration and
2677
2889
  # specification, under the control of the cluster master. They may have a set of
@@ -2738,6 +2950,11 @@ module Google
2738
2950
  # @return [String]
2739
2951
  attr_accessor :name
2740
2952
 
2953
+ # Parameters for node pool-level network config.
2954
+ # Corresponds to the JSON property `networkConfig`
2955
+ # @return [Google::Apis::ContainerV1::NodeNetworkConfig]
2956
+ attr_accessor :network_config
2957
+
2741
2958
  # [Output only] The pod CIDR block size per node in this node pool.
2742
2959
  # Corresponds to the JSON property `podIpv4CidrSize`
2743
2960
  # @return [Fixnum]
@@ -2797,6 +3014,7 @@ module Google
2797
3014
  @management = args[:management] if args.key?(:management)
2798
3015
  @max_pods_constraint = args[:max_pods_constraint] if args.key?(:max_pods_constraint)
2799
3016
  @name = args[:name] if args.key?(:name)
3017
+ @network_config = args[:network_config] if args.key?(:network_config)
2800
3018
  @pod_ipv4_cidr_size = args[:pod_ipv4_cidr_size] if args.key?(:pod_ipv4_cidr_size)
2801
3019
  @self_link = args[:self_link] if args.key?(:self_link)
2802
3020
  @status = args[:status] if args.key?(:status)
@@ -2823,13 +3041,14 @@ module Google
2823
3041
  attr_accessor :enabled
2824
3042
  alias_method :enabled?, :enabled
2825
3043
 
2826
- # Maximum number of nodes in the NodePool. Must be >= min_node_count. There has
2827
- # to be enough quota to scale up the cluster.
3044
+ # Maximum number of nodes for one location in the NodePool. Must be >=
3045
+ # min_node_count. There has to be enough quota to scale up the cluster.
2828
3046
  # Corresponds to the JSON property `maxNodeCount`
2829
3047
  # @return [Fixnum]
2830
3048
  attr_accessor :max_node_count
2831
3049
 
2832
- # Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.
3050
+ # Minimum number of nodes for one location in the NodePool. Must be >= 1 and <=
3051
+ # max_node_count.
2833
3052
  # Corresponds to the JSON property `minNodeCount`
2834
3053
  # @return [Fixnum]
2835
3054
  attr_accessor :min_node_count
@@ -4450,6 +4669,11 @@ module Google
4450
4669
  # @return [String]
4451
4670
  attr_accessor :cluster_id
4452
4671
 
4672
+ # Configuration of gVNIC feature.
4673
+ # Corresponds to the JSON property `gvnic`
4674
+ # @return [Google::Apis::ContainerV1::VirtualNic]
4675
+ attr_accessor :gvnic
4676
+
4453
4677
  # Required. The desired image type for the node pool.
4454
4678
  # Corresponds to the JSON property `imageType`
4455
4679
  # @return [String]
@@ -4542,6 +4766,7 @@ module Google
4542
4766
  # Update properties of this object
4543
4767
  def update!(**args)
4544
4768
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
4769
+ @gvnic = args[:gvnic] if args.key?(:gvnic)
4545
4770
  @image_type = args[:image_type] if args.key?(:image_type)
4546
4771
  @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
4547
4772
  @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
@@ -4791,6 +5016,26 @@ module Google
4791
5016
  end
4792
5017
  end
4793
5018
 
5019
+ # Configuration of gVNIC feature.
5020
+ class VirtualNic
5021
+ include Google::Apis::Core::Hashable
5022
+
5023
+ # Whether gVNIC features are enabled in the node pool.
5024
+ # Corresponds to the JSON property `enabled`
5025
+ # @return [Boolean]
5026
+ attr_accessor :enabled
5027
+ alias_method :enabled?, :enabled
5028
+
5029
+ def initialize(**args)
5030
+ update!(**args)
5031
+ end
5032
+
5033
+ # Update properties of this object
5034
+ def update!(**args)
5035
+ @enabled = args[:enabled] if args.key?(:enabled)
5036
+ end
5037
+ end
5038
+
4794
5039
  # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
4795
5040
  class WorkloadIdentityConfig
4796
5041
  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.14.0"
19
+ GEM_VERSION = "0.18.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 = "20210715"
25
+ REVISION = "20210914"
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
 
@@ -310,12 +328,30 @@ module Google
310
328
  include Google::Apis::Core::JsonObjectSupport
311
329
  end
312
330
 
331
+ class MeshCertificates
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
313
337
  class Metric
314
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
339
 
316
340
  include Google::Apis::Core::JsonObjectSupport
317
341
  end
318
342
 
343
+ class MonitoringComponentConfig
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class MonitoringConfig
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
319
355
  class NetworkConfig
320
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
357
 
@@ -352,6 +388,12 @@ module Google
352
388
  include Google::Apis::Core::JsonObjectSupport
353
389
  end
354
390
 
391
+ class NodeNetworkConfig
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
355
397
  class NodePool
356
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
357
399
 
@@ -622,6 +664,12 @@ module Google
622
664
  include Google::Apis::Core::JsonObjectSupport
623
665
  end
624
666
 
667
+ class VirtualNic
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
625
673
  class WorkloadIdentityConfig
626
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
627
675
 
@@ -639,6 +687,7 @@ module Google
639
687
  class Representation < Google::Apis::Core::JsonRepresentation
640
688
  property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
641
689
  property :accelerator_type, as: 'acceleratorType'
690
+ property :gpu_partition_size, as: 'gpuPartitionSize'
642
691
  end
643
692
  end
644
693
 
@@ -653,6 +702,8 @@ module Google
653
702
 
654
703
  property :gce_persistent_disk_csi_driver_config, as: 'gcePersistentDiskCsiDriverConfig', class: Google::Apis::ContainerV1::GcePersistentDiskCsiDriverConfig, decorator: Google::Apis::ContainerV1::GcePersistentDiskCsiDriverConfig::Representation
655
704
 
705
+ property :gcp_filestore_csi_driver_config, as: 'gcpFilestoreCsiDriverConfig', class: Google::Apis::ContainerV1::GcpFilestoreCsiDriverConfig, decorator: Google::Apis::ContainerV1::GcpFilestoreCsiDriverConfig::Representation
706
+
656
707
  property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1::HorizontalPodAutoscaling::Representation
657
708
 
658
709
  property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1::HttpLoadBalancing::Representation
@@ -795,6 +846,8 @@ module Google
795
846
 
796
847
  property :location, as: 'location'
797
848
  collection :locations, as: 'locations'
849
+ property :logging_config, as: 'loggingConfig', class: Google::Apis::ContainerV1::LoggingConfig, decorator: Google::Apis::ContainerV1::LoggingConfig::Representation
850
+
798
851
  property :logging_service, as: 'loggingService'
799
852
  property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1::MaintenancePolicy, decorator: Google::Apis::ContainerV1::MaintenancePolicy::Representation
800
853
 
@@ -802,6 +855,10 @@ module Google
802
855
 
803
856
  property :master_authorized_networks_config, as: 'masterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation
804
857
 
858
+ property :mesh_certificates, as: 'meshCertificates', class: Google::Apis::ContainerV1::MeshCertificates, decorator: Google::Apis::ContainerV1::MeshCertificates::Representation
859
+
860
+ property :monitoring_config, as: 'monitoringConfig', class: Google::Apis::ContainerV1::MonitoringConfig, decorator: Google::Apis::ContainerV1::MonitoringConfig::Representation
861
+
805
862
  property :monitoring_service, as: 'monitoringService'
806
863
  property :name, as: 'name'
807
864
  property :network, as: 'network'
@@ -876,10 +933,16 @@ module Google
876
933
  property :desired_l4ilb_subsetting_config, as: 'desiredL4ilbSubsettingConfig', class: Google::Apis::ContainerV1::IlbSubsettingConfig, decorator: Google::Apis::ContainerV1::IlbSubsettingConfig::Representation
877
934
 
878
935
  collection :desired_locations, as: 'desiredLocations'
936
+ property :desired_logging_config, as: 'desiredLoggingConfig', class: Google::Apis::ContainerV1::LoggingConfig, decorator: Google::Apis::ContainerV1::LoggingConfig::Representation
937
+
879
938
  property :desired_logging_service, as: 'desiredLoggingService'
880
939
  property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation
881
940
 
882
941
  property :desired_master_version, as: 'desiredMasterVersion'
942
+ property :desired_mesh_certificates, as: 'desiredMeshCertificates', class: Google::Apis::ContainerV1::MeshCertificates, decorator: Google::Apis::ContainerV1::MeshCertificates::Representation
943
+
944
+ property :desired_monitoring_config, as: 'desiredMonitoringConfig', class: Google::Apis::ContainerV1::MonitoringConfig, decorator: Google::Apis::ContainerV1::MonitoringConfig::Representation
945
+
883
946
  property :desired_monitoring_service, as: 'desiredMonitoringService'
884
947
  property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
885
948
 
@@ -1000,6 +1063,13 @@ module Google
1000
1063
  end
1001
1064
  end
1002
1065
 
1066
+ class GcpFilestoreCsiDriverConfig
1067
+ # @private
1068
+ class Representation < Google::Apis::Core::JsonRepresentation
1069
+ property :enabled, as: 'enabled'
1070
+ end
1071
+ end
1072
+
1003
1073
  class GetJsonWebKeysResponse
1004
1074
  # @private
1005
1075
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1152,6 +1222,21 @@ module Google
1152
1222
  end
1153
1223
  end
1154
1224
 
1225
+ class LoggingComponentConfig
1226
+ # @private
1227
+ class Representation < Google::Apis::Core::JsonRepresentation
1228
+ collection :enable_components, as: 'enableComponents'
1229
+ end
1230
+ end
1231
+
1232
+ class LoggingConfig
1233
+ # @private
1234
+ class Representation < Google::Apis::Core::JsonRepresentation
1235
+ property :component_config, as: 'componentConfig', class: Google::Apis::ContainerV1::LoggingComponentConfig, decorator: Google::Apis::ContainerV1::LoggingComponentConfig::Representation
1236
+
1237
+ end
1238
+ end
1239
+
1155
1240
  class MaintenancePolicy
1156
1241
  # @private
1157
1242
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1202,6 +1287,12 @@ module Google
1202
1287
  end
1203
1288
  end
1204
1289
 
1290
+ class MeshCertificates
1291
+ # @private
1292
+ class Representation < Google::Apis::Core::JsonRepresentation
1293
+ end
1294
+ end
1295
+
1205
1296
  class Metric
1206
1297
  # @private
1207
1298
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1212,6 +1303,21 @@ module Google
1212
1303
  end
1213
1304
  end
1214
1305
 
1306
+ class MonitoringComponentConfig
1307
+ # @private
1308
+ class Representation < Google::Apis::Core::JsonRepresentation
1309
+ collection :enable_components, as: 'enableComponents'
1310
+ end
1311
+ end
1312
+
1313
+ class MonitoringConfig
1314
+ # @private
1315
+ class Representation < Google::Apis::Core::JsonRepresentation
1316
+ property :component_config, as: 'componentConfig', class: Google::Apis::ContainerV1::MonitoringComponentConfig, decorator: Google::Apis::ContainerV1::MonitoringComponentConfig::Representation
1317
+
1318
+ end
1319
+ end
1320
+
1215
1321
  class NetworkConfig
1216
1322
  # @private
1217
1323
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1249,6 +1355,8 @@ module Google
1249
1355
  property :boot_disk_kms_key, as: 'bootDiskKmsKey'
1250
1356
  property :disk_size_gb, as: 'diskSizeGb'
1251
1357
  property :disk_type, as: 'diskType'
1358
+ property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1::VirtualNic, decorator: Google::Apis::ContainerV1::VirtualNic::Representation
1359
+
1252
1360
  property :image_type, as: 'imageType'
1253
1361
  property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
1254
1362
 
@@ -1296,6 +1404,15 @@ module Google
1296
1404
  end
1297
1405
  end
1298
1406
 
1407
+ class NodeNetworkConfig
1408
+ # @private
1409
+ class Representation < Google::Apis::Core::JsonRepresentation
1410
+ property :create_pod_range, as: 'createPodRange'
1411
+ property :pod_ipv4_cidr_block, as: 'podIpv4CidrBlock'
1412
+ property :pod_range, as: 'podRange'
1413
+ end
1414
+ end
1415
+
1299
1416
  class NodePool
1300
1417
  # @private
1301
1418
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1313,6 +1430,8 @@ module Google
1313
1430
  property :max_pods_constraint, as: 'maxPodsConstraint', class: Google::Apis::ContainerV1::MaxPodsConstraint, decorator: Google::Apis::ContainerV1::MaxPodsConstraint::Representation
1314
1431
 
1315
1432
  property :name, as: 'name'
1433
+ property :network_config, as: 'networkConfig', class: Google::Apis::ContainerV1::NodeNetworkConfig, decorator: Google::Apis::ContainerV1::NodeNetworkConfig::Representation
1434
+
1316
1435
  property :pod_ipv4_cidr_size, as: 'podIpv4CidrSize'
1317
1436
  property :self_link, as: 'selfLink'
1318
1437
  property :status, as: 'status'
@@ -1723,6 +1842,8 @@ module Google
1723
1842
  # @private
1724
1843
  class Representation < Google::Apis::Core::JsonRepresentation
1725
1844
  property :cluster_id, as: 'clusterId'
1845
+ property :gvnic, as: 'gvnic', class: Google::Apis::ContainerV1::VirtualNic, decorator: Google::Apis::ContainerV1::VirtualNic::Representation
1846
+
1726
1847
  property :image_type, as: 'imageType'
1727
1848
  property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
1728
1849
 
@@ -1800,6 +1921,13 @@ module Google
1800
1921
  end
1801
1922
  end
1802
1923
 
1924
+ class VirtualNic
1925
+ # @private
1926
+ class Representation < Google::Apis::Core::JsonRepresentation
1927
+ property :enabled, as: 'enabled'
1928
+ end
1929
+ end
1930
+
1803
1931
  class WorkloadIdentityConfig
1804
1932
  # @private
1805
1933
  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 Platform data
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.14.0
4
+ version: 0.18.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-08-02 00:00:00.000000000 Z
11
+ date: 2021-10-04 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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.18.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: []