google-apis-container_v1 0.2.0 → 0.7.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: 8b4878053b15a6b3e8ecf1e4f6b170759dfd535d9e174efc8b729d29c25a76ba
4
- data.tar.gz: 79afcac463eeea94413350eb73cef335cce14b7de23c707ea443d2b72d365a71
3
+ metadata.gz: 7fc68d2ba9467c4831a86f1c6ec6de26a5937440add426ead18a77fe165baf41
4
+ data.tar.gz: f6af705013220ad7126c577cb45488c2940ee82f7cda1c459cace247776f4a09
5
5
  SHA512:
6
- metadata.gz: '035459a080d1eed5fc1711314ff8c600419210693513c3efe668daa361b21c23d7b9e6eaa6ee5600e62094c9ffd0c14239d98433f9ed1774fbc8b3459c63a4fb'
7
- data.tar.gz: f821c80a1e30655e3c5b094d402ffa43e580a4d9fc6fead68bd10e42192a3caa52f6e847ede795dbda8865e9091291beb24b265dfe741476f1f6cd1af4e2e596
6
+ metadata.gz: cae1b06ec29aaa8cff4d621364420f414846088ed5082353bf165b3b4c186796edfea0297b1e61ee9b81437fcb915a489fd30993b82ac624be68076d88a8079c
7
+ data.tar.gz: 84697988423952cff037e56ef6c603c91d37b07b3cf42a54dbb234c9e1c544eb36f656a7085c5b0daa870e8aeb8865869cfd7b106d7111803f08ae7fd1f164f6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.7.0 (2021-05-13)
4
+
5
+ * Regenerated from discovery document revision 20210429
6
+
7
+ ### v0.6.0 (2021-03-24)
8
+
9
+ * Regenerated from discovery document revision 20210312
10
+
11
+ ### v0.5.0 (2021-03-12)
12
+
13
+ * Regenerated from discovery document revision 20210226
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.4.0 (2021-03-04)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.3.0 (2021-02-19)
21
+
22
+ * Regenerated from discovery document revision 20210216
23
+
3
24
  ### v0.2.0 (2021-02-05)
4
25
 
5
26
  * Regenerated from discovery document revision 20210119
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
33
+ # See, edit, configure, and delete your Google Cloud Platform data
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
  end
36
36
  end
@@ -172,6 +172,26 @@ module Google
172
172
  end
173
173
  end
174
174
 
175
+ # Autopilot is the configuration for Autopilot settings on the cluster.
176
+ class Autopilot
177
+ include Google::Apis::Core::Hashable
178
+
179
+ # Enable Autopilot
180
+ # Corresponds to the JSON property `enabled`
181
+ # @return [Boolean]
182
+ attr_accessor :enabled
183
+ alias_method :enabled?, :enabled
184
+
185
+ def initialize(**args)
186
+ update!(**args)
187
+ end
188
+
189
+ # Update properties of this object
190
+ def update!(**args)
191
+ @enabled = args[:enabled] if args.key?(:enabled)
192
+ end
193
+ end
194
+
175
195
  # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by
176
196
  # NAP.
177
197
  class AutoprovisioningNodePoolDefaults
@@ -435,6 +455,11 @@ module Google
435
455
  # @return [Google::Apis::ContainerV1::AuthenticatorGroupsConfig]
436
456
  attr_accessor :authenticator_groups_config
437
457
 
458
+ # Autopilot is the configuration for Autopilot settings on the cluster.
459
+ # Corresponds to the JSON property `autopilot`
460
+ # @return [Google::Apis::ContainerV1::Autopilot]
461
+ attr_accessor :autopilot
462
+
438
463
  # ClusterAutoscaling contains global, per-cluster information required by
439
464
  # Cluster Autoscaler to automatically adjust the size of the cluster and create/
440
465
  # delete node pools based on the current needs.
@@ -460,6 +485,12 @@ module Google
460
485
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
461
486
  attr_accessor :conditions
462
487
 
488
+ # ConfidentialNodes is configuration for the confidential nodes feature, which
489
+ # makes nodes run on confidential VMs.
490
+ # Corresponds to the JSON property `confidentialNodes`
491
+ # @return [Google::Apis::ContainerV1::ConfidentialNodes]
492
+ attr_accessor :confidential_nodes
493
+
463
494
  # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.
464
495
  # org/rfc/rfc3339.txt) text format.
465
496
  # Corresponds to the JSON property `createTime`
@@ -531,6 +562,11 @@ module Google
531
562
  # @return [String]
532
563
  attr_accessor :expire_time
533
564
 
565
+ # Output only. Unique id for the cluster.
566
+ # Corresponds to the JSON property `id`
567
+ # @return [String]
568
+ attr_accessor :id
569
+
534
570
  # The initial Kubernetes version for this cluster. Valid versions are those
535
571
  # found in validMasterVersions returned by getServerConfig. The version can be
536
572
  # upgraded over time; such upgrades are reflected in currentMasterVersion and
@@ -780,10 +816,12 @@ module Google
780
816
  def update!(**args)
781
817
  @addons_config = args[:addons_config] if args.key?(:addons_config)
782
818
  @authenticator_groups_config = args[:authenticator_groups_config] if args.key?(:authenticator_groups_config)
819
+ @autopilot = args[:autopilot] if args.key?(:autopilot)
783
820
  @autoscaling = args[:autoscaling] if args.key?(:autoscaling)
784
821
  @binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
785
822
  @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
786
823
  @conditions = args[:conditions] if args.key?(:conditions)
824
+ @confidential_nodes = args[:confidential_nodes] if args.key?(:confidential_nodes)
787
825
  @create_time = args[:create_time] if args.key?(:create_time)
788
826
  @current_master_version = args[:current_master_version] if args.key?(:current_master_version)
789
827
  @current_node_count = args[:current_node_count] if args.key?(:current_node_count)
@@ -795,6 +833,7 @@ module Google
795
833
  @enable_tpu = args[:enable_tpu] if args.key?(:enable_tpu)
796
834
  @endpoint = args[:endpoint] if args.key?(:endpoint)
797
835
  @expire_time = args[:expire_time] if args.key?(:expire_time)
836
+ @id = args[:id] if args.key?(:id)
798
837
  @initial_cluster_version = args[:initial_cluster_version] if args.key?(:initial_cluster_version)
799
838
  @initial_node_count = args[:initial_node_count] if args.key?(:initial_node_count)
800
839
  @instance_group_urls = args[:instance_group_urls] if args.key?(:instance_group_urls)
@@ -887,6 +926,11 @@ module Google
887
926
  # @return [Google::Apis::ContainerV1::AddonsConfig]
888
927
  attr_accessor :desired_addons_config
889
928
 
929
+ # Autopilot is the configuration for Autopilot settings on the cluster.
930
+ # Corresponds to the JSON property `desiredAutopilot`
931
+ # @return [Google::Apis::ContainerV1::Autopilot]
932
+ attr_accessor :desired_autopilot
933
+
890
934
  # Configuration for Binary Authorization.
891
935
  # Corresponds to the JSON property `desiredBinaryAuthorization`
892
936
  # @return [Google::Apis::ContainerV1::BinaryAuthorization]
@@ -904,6 +948,11 @@ module Google
904
948
  # @return [Google::Apis::ContainerV1::DatabaseEncryption]
905
949
  attr_accessor :desired_database_encryption
906
950
 
951
+ # The desired datapath provider for the cluster.
952
+ # Corresponds to the JSON property `desiredDatapathProvider`
953
+ # @return [String]
954
+ attr_accessor :desired_datapath_provider
955
+
907
956
  # DefaultSnatStatus contains the desired state of whether default sNAT should be
908
957
  # disabled on the cluster.
909
958
  # Corresponds to the JSON property `desiredDefaultSnatStatus`
@@ -1048,9 +1097,11 @@ module Google
1048
1097
  # Update properties of this object
1049
1098
  def update!(**args)
1050
1099
  @desired_addons_config = args[:desired_addons_config] if args.key?(:desired_addons_config)
1100
+ @desired_autopilot = args[:desired_autopilot] if args.key?(:desired_autopilot)
1051
1101
  @desired_binary_authorization = args[:desired_binary_authorization] if args.key?(:desired_binary_authorization)
1052
1102
  @desired_cluster_autoscaling = args[:desired_cluster_autoscaling] if args.key?(:desired_cluster_autoscaling)
1053
1103
  @desired_database_encryption = args[:desired_database_encryption] if args.key?(:desired_database_encryption)
1104
+ @desired_datapath_provider = args[:desired_datapath_provider] if args.key?(:desired_datapath_provider)
1054
1105
  @desired_default_snat_status = args[:desired_default_snat_status] if args.key?(:desired_default_snat_status)
1055
1106
  @desired_image_type = args[:desired_image_type] if args.key?(:desired_image_type)
1056
1107
  @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
@@ -1116,6 +1167,27 @@ module Google
1116
1167
  end
1117
1168
  end
1118
1169
 
1170
+ # ConfidentialNodes is configuration for the confidential nodes feature, which
1171
+ # makes nodes run on confidential VMs.
1172
+ class ConfidentialNodes
1173
+ include Google::Apis::Core::Hashable
1174
+
1175
+ # Whether Confidential Nodes feature is enabled for all nodes in this cluster.
1176
+ # Corresponds to the JSON property `enabled`
1177
+ # @return [Boolean]
1178
+ attr_accessor :enabled
1179
+ alias_method :enabled?, :enabled
1180
+
1181
+ def initialize(**args)
1182
+ update!(**args)
1183
+ end
1184
+
1185
+ # Update properties of this object
1186
+ def update!(**args)
1187
+ @enabled = args[:enabled] if args.key?(:enabled)
1188
+ end
1189
+ end
1190
+
1119
1191
  # Configuration options for the Config Connector add-on.
1120
1192
  class ConfigConnectorConfig
1121
1193
  include Google::Apis::Core::Hashable
@@ -1815,6 +1887,28 @@ module Google
1815
1887
  end
1816
1888
  end
1817
1889
 
1890
+ # Parameters that can be configured on Linux nodes.
1891
+ class LinuxNodeConfig
1892
+ include Google::Apis::Core::Hashable
1893
+
1894
+ # The Linux kernel parameters to be applied to the nodes and all pods running on
1895
+ # the nodes. The following parameters are supported. net.core.netdev_max_backlog
1896
+ # net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max
1897
+ # net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
1898
+ # Corresponds to the JSON property `sysctls`
1899
+ # @return [Hash<String,String>]
1900
+ attr_accessor :sysctls
1901
+
1902
+ def initialize(**args)
1903
+ update!(**args)
1904
+ end
1905
+
1906
+ # Update properties of this object
1907
+ def update!(**args)
1908
+ @sysctls = args[:sysctls] if args.key?(:sysctls)
1909
+ end
1910
+ end
1911
+
1818
1912
  # ListClustersResponse is the result of ListClustersRequest.
1819
1913
  class ListClustersResponse
1820
1914
  include Google::Apis::Core::Hashable
@@ -2130,6 +2224,12 @@ module Google
2130
2224
  class NetworkConfig
2131
2225
  include Google::Apis::Core::Hashable
2132
2226
 
2227
+ # The desired datapath provider for this cluster. By default, uses the IPTables-
2228
+ # based kube-proxy implementation.
2229
+ # Corresponds to the JSON property `datapathProvider`
2230
+ # @return [String]
2231
+ attr_accessor :datapath_provider
2232
+
2133
2233
  # DefaultSnatStatus contains the desired state of whether default sNAT should be
2134
2234
  # disabled on the cluster.
2135
2235
  # Corresponds to the JSON property `defaultSnatStatus`
@@ -2169,6 +2269,7 @@ module Google
2169
2269
 
2170
2270
  # Update properties of this object
2171
2271
  def update!(**args)
2272
+ @datapath_provider = args[:datapath_provider] if args.key?(:datapath_provider)
2172
2273
  @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status)
2173
2274
  @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility)
2174
2275
  @network = args[:network] if args.key?(:network)
@@ -2263,6 +2364,11 @@ module Google
2263
2364
  # @return [String]
2264
2365
  attr_accessor :image_type
2265
2366
 
2367
+ # Node kubelet configs.
2368
+ # Corresponds to the JSON property `kubeletConfig`
2369
+ # @return [Google::Apis::ContainerV1::NodeKubeletConfig]
2370
+ attr_accessor :kubelet_config
2371
+
2266
2372
  # The map of Kubernetes labels (key/value pairs) to be applied to each node.
2267
2373
  # These will added in addition to any default label(s) that Kubernetes may apply
2268
2374
  # to the node. In case of conflict in label keys, the applied set may differ
@@ -2274,6 +2380,11 @@ module Google
2274
2380
  # @return [Hash<String,String>]
2275
2381
  attr_accessor :labels
2276
2382
 
2383
+ # Parameters that can be configured on Linux nodes.
2384
+ # Corresponds to the JSON property `linuxNodeConfig`
2385
+ # @return [Google::Apis::ContainerV1::LinuxNodeConfig]
2386
+ attr_accessor :linux_node_config
2387
+
2277
2388
  # The number of local SSD disks to be attached to the node. The limit for this
2278
2389
  # value is dependent upon the maximum number of disks available on a machine per
2279
2390
  # zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
@@ -2402,7 +2513,9 @@ module Google
2402
2513
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2403
2514
  @disk_type = args[:disk_type] if args.key?(:disk_type)
2404
2515
  @image_type = args[:image_type] if args.key?(:image_type)
2516
+ @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
2405
2517
  @labels = args[:labels] if args.key?(:labels)
2518
+ @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
2406
2519
  @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
2407
2520
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2408
2521
  @metadata = args[:metadata] if args.key?(:metadata)
@@ -2420,6 +2533,52 @@ module Google
2420
2533
  end
2421
2534
  end
2422
2535
 
2536
+ # Node kubelet configs.
2537
+ class NodeKubeletConfig
2538
+ include Google::Apis::Core::Hashable
2539
+
2540
+ # Enable CPU CFS quota enforcement for containers that specify CPU limits. This
2541
+ # option is enabled by default which makes kubelet use CFS quota (https://www.
2542
+ # kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU
2543
+ # limits. Otherwise, CPU limits will not be enforced at all. Disable this option
2544
+ # to mitigate CPU throttling problems while still having your pods to be in
2545
+ # Guaranteed QoS class by specifying the CPU limits. The default value is 'true'
2546
+ # if unspecified.
2547
+ # Corresponds to the JSON property `cpuCfsQuota`
2548
+ # @return [Boolean]
2549
+ attr_accessor :cpu_cfs_quota
2550
+ alias_method :cpu_cfs_quota?, :cpu_cfs_quota
2551
+
2552
+ # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a
2553
+ # sequence of decimal numbers, each with optional fraction and a unit suffix,
2554
+ # such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
2555
+ # . The value must be a positive duration.
2556
+ # Corresponds to the JSON property `cpuCfsQuotaPeriod`
2557
+ # @return [String]
2558
+ attr_accessor :cpu_cfs_quota_period
2559
+
2560
+ # Control the CPU management policy on the node. See https://kubernetes.io/docs/
2561
+ # tasks/administer-cluster/cpu-management-policies/ The following values are
2562
+ # allowed. - "none": the default, which represents the existing scheduling
2563
+ # behavior. - "static": allows pods with certain resource characteristics to be
2564
+ # granted increased CPU affinity and exclusivity on the node. The default value
2565
+ # is 'none' if unspecified.
2566
+ # Corresponds to the JSON property `cpuManagerPolicy`
2567
+ # @return [String]
2568
+ attr_accessor :cpu_manager_policy
2569
+
2570
+ def initialize(**args)
2571
+ update!(**args)
2572
+ end
2573
+
2574
+ # Update properties of this object
2575
+ def update!(**args)
2576
+ @cpu_cfs_quota = args[:cpu_cfs_quota] if args.key?(:cpu_cfs_quota)
2577
+ @cpu_cfs_quota_period = args[:cpu_cfs_quota_period] if args.key?(:cpu_cfs_quota_period)
2578
+ @cpu_manager_policy = args[:cpu_manager_policy] if args.key?(:cpu_manager_policy)
2579
+ end
2580
+ end
2581
+
2423
2582
  # NodeManagement defines the set of node management services turned on for the
2424
2583
  # node pool.
2425
2584
  class NodeManagement
@@ -2693,7 +2852,8 @@ module Google
2693
2852
  class Operation
2694
2853
  include Google::Apis::Core::Hashable
2695
2854
 
2696
- # Which conditions caused the current cluster state.
2855
+ # Which conditions caused the current cluster state. Deprecated. Use field error
2856
+ # instead.
2697
2857
  # Corresponds to the JSON property `clusterConditions`
2698
2858
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
2699
2859
  attr_accessor :cluster_conditions
@@ -2709,6 +2869,16 @@ module Google
2709
2869
  # @return [String]
2710
2870
  attr_accessor :end_time
2711
2871
 
2872
+ # The `Status` type defines a logical error model that is suitable for different
2873
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2874
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2875
+ # data: error code, error message, and error details. You can find out more
2876
+ # about this error model and how to work with it in the [API Design Guide](https:
2877
+ # //cloud.google.com/apis/design/errors).
2878
+ # Corresponds to the JSON property `error`
2879
+ # @return [Google::Apis::ContainerV1::Status]
2880
+ attr_accessor :error
2881
+
2712
2882
  # [Output only] The name of the Google Compute Engine [zone](https://cloud.
2713
2883
  # google.com/compute/docs/regions-zones/regions-zones#available) or [region](
2714
2884
  # https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2722,7 +2892,8 @@ module Google
2722
2892
  # @return [String]
2723
2893
  attr_accessor :name
2724
2894
 
2725
- # Which conditions caused the current node pool state.
2895
+ # Which conditions caused the current node pool state. Deprecated. Use field
2896
+ # error instead.
2726
2897
  # Corresponds to the JSON property `nodepoolConditions`
2727
2898
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
2728
2899
  attr_accessor :nodepool_conditions
@@ -2754,6 +2925,7 @@ module Google
2754
2925
  attr_accessor :status
2755
2926
 
2756
2927
  # Output only. If an error has occurred, a textual description of the error.
2928
+ # Deprecated. Use the field error instead.
2757
2929
  # Corresponds to the JSON property `statusMessage`
2758
2930
  # @return [String]
2759
2931
  attr_accessor :status_message
@@ -2779,6 +2951,7 @@ module Google
2779
2951
  @cluster_conditions = args[:cluster_conditions] if args.key?(:cluster_conditions)
2780
2952
  @detail = args[:detail] if args.key?(:detail)
2781
2953
  @end_time = args[:end_time] if args.key?(:end_time)
2954
+ @error = args[:error] if args.key?(:error)
2782
2955
  @location = args[:location] if args.key?(:location)
2783
2956
  @name = args[:name] if args.key?(:name)
2784
2957
  @nodepool_conditions = args[:nodepool_conditions] if args.key?(:nodepool_conditions)
@@ -4011,12 +4184,57 @@ module Google
4011
4184
  end
4012
4185
  end
4013
4186
 
4187
+ # The `Status` type defines a logical error model that is suitable for different
4188
+ # programming environments, including REST APIs and RPC APIs. It is used by [
4189
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
4190
+ # data: error code, error message, and error details. You can find out more
4191
+ # about this error model and how to work with it in the [API Design Guide](https:
4192
+ # //cloud.google.com/apis/design/errors).
4193
+ class Status
4194
+ include Google::Apis::Core::Hashable
4195
+
4196
+ # The status code, which should be an enum value of google.rpc.Code.
4197
+ # Corresponds to the JSON property `code`
4198
+ # @return [Fixnum]
4199
+ attr_accessor :code
4200
+
4201
+ # A list of messages that carry the error details. There is a common set of
4202
+ # message types for APIs to use.
4203
+ # Corresponds to the JSON property `details`
4204
+ # @return [Array<Hash<String,Object>>]
4205
+ attr_accessor :details
4206
+
4207
+ # A developer-facing error message, which should be in English. Any user-facing
4208
+ # error message should be localized and sent in the google.rpc.Status.details
4209
+ # field, or localized by the client.
4210
+ # Corresponds to the JSON property `message`
4211
+ # @return [String]
4212
+ attr_accessor :message
4213
+
4214
+ def initialize(**args)
4215
+ update!(**args)
4216
+ end
4217
+
4218
+ # Update properties of this object
4219
+ def update!(**args)
4220
+ @code = args[:code] if args.key?(:code)
4221
+ @details = args[:details] if args.key?(:details)
4222
+ @message = args[:message] if args.key?(:message)
4223
+ end
4224
+ end
4225
+
4014
4226
  # StatusCondition describes why a cluster or a node pool has a certain status (e.
4015
4227
  # g., ERROR or DEGRADED).
4016
4228
  class StatusCondition
4017
4229
  include Google::Apis::Core::Hashable
4018
4230
 
4019
- # Machine-friendly representation of the condition
4231
+ # Canonical code of the condition.
4232
+ # Corresponds to the JSON property `canonicalCode`
4233
+ # @return [String]
4234
+ attr_accessor :canonical_code
4235
+
4236
+ # Machine-friendly representation of the condition Deprecated. Use
4237
+ # canonical_code instead.
4020
4238
  # Corresponds to the JSON property `code`
4021
4239
  # @return [String]
4022
4240
  attr_accessor :code
@@ -4032,6 +4250,7 @@ module Google
4032
4250
 
4033
4251
  # Update properties of this object
4034
4252
  def update!(**args)
4253
+ @canonical_code = args[:canonical_code] if args.key?(:canonical_code)
4035
4254
  @code = args[:code] if args.key?(:code)
4036
4255
  @message = args[:message] if args.key?(:message)
4037
4256
  end
@@ -4183,6 +4402,16 @@ module Google
4183
4402
  # @return [String]
4184
4403
  attr_accessor :image_type
4185
4404
 
4405
+ # Node kubelet configs.
4406
+ # Corresponds to the JSON property `kubeletConfig`
4407
+ # @return [Google::Apis::ContainerV1::NodeKubeletConfig]
4408
+ attr_accessor :kubelet_config
4409
+
4410
+ # Parameters that can be configured on Linux nodes.
4411
+ # Corresponds to the JSON property `linuxNodeConfig`
4412
+ # @return [Google::Apis::ContainerV1::LinuxNodeConfig]
4413
+ attr_accessor :linux_node_config
4414
+
4186
4415
  # The desired list of Google Compute Engine [zones](https://cloud.google.com/
4187
4416
  # compute/docs/zones#available) in which the node pool's nodes should be located.
4188
4417
  # Changing the locations for a node pool will result in nodes being either
@@ -4261,6 +4490,8 @@ module Google
4261
4490
  def update!(**args)
4262
4491
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
4263
4492
  @image_type = args[:image_type] if args.key?(:image_type)
4493
+ @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
4494
+ @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
4264
4495
  @locations = args[:locations] if args.key?(:locations)
4265
4496
  @name = args[:name] if args.key?(:name)
4266
4497
  @node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
@@ -4272,6 +4503,48 @@ module Google
4272
4503
  end
4273
4504
  end
4274
4505
 
4506
+ # UpgradeAvailableEvent is a notification sent to customers when a new available
4507
+ # version is released.
4508
+ class UpgradeAvailableEvent
4509
+ include Google::Apis::Core::Hashable
4510
+
4511
+ # ReleaseChannel indicates which release channel a cluster is subscribed to.
4512
+ # Release channels are arranged in order of risk. When a cluster is subscribed
4513
+ # to a release channel, Google maintains both the master version and the node
4514
+ # version. Node auto-upgrade defaults to true and cannot be disabled.
4515
+ # Corresponds to the JSON property `releaseChannel`
4516
+ # @return [Google::Apis::ContainerV1::ReleaseChannel]
4517
+ attr_accessor :release_channel
4518
+
4519
+ # Optional relative path to the resource. For example, the relative path of the
4520
+ # node pool.
4521
+ # Corresponds to the JSON property `resource`
4522
+ # @return [String]
4523
+ attr_accessor :resource
4524
+
4525
+ # The resource type of the release version.
4526
+ # Corresponds to the JSON property `resourceType`
4527
+ # @return [String]
4528
+ attr_accessor :resource_type
4529
+
4530
+ # The release version available for upgrade.
4531
+ # Corresponds to the JSON property `version`
4532
+ # @return [String]
4533
+ attr_accessor :version
4534
+
4535
+ def initialize(**args)
4536
+ update!(**args)
4537
+ end
4538
+
4539
+ # Update properties of this object
4540
+ def update!(**args)
4541
+ @release_channel = args[:release_channel] if args.key?(:release_channel)
4542
+ @resource = args[:resource] if args.key?(:resource)
4543
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
4544
+ @version = args[:version] if args.key?(:version)
4545
+ end
4546
+ end
4547
+
4275
4548
  # UpgradeEvent is a notification sent to customers by the cluster server when a
4276
4549
  # resource is upgrading.
4277
4550
  class UpgradeEvent
@@ -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.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210119"
25
+ REVISION = "20210429"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class Autopilot
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class AutoprovisioningNodePoolDefaults
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -112,6 +118,12 @@ module Google
112
118
  include Google::Apis::Core::JsonObjectSupport
113
119
  end
114
120
 
121
+ class ConfidentialNodes
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
115
127
  class ConfigConnectorConfig
116
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
129
 
@@ -232,6 +244,12 @@ module Google
232
244
  include Google::Apis::Core::JsonObjectSupport
233
245
  end
234
246
 
247
+ class LinuxNodeConfig
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
235
253
  class ListClustersResponse
236
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
255
 
@@ -316,6 +334,12 @@ module Google
316
334
  include Google::Apis::Core::JsonObjectSupport
317
335
  end
318
336
 
337
+ class NodeKubeletConfig
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
319
343
  class NodeManagement
320
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
345
 
@@ -520,6 +544,12 @@ module Google
520
544
  include Google::Apis::Core::JsonObjectSupport
521
545
  end
522
546
 
547
+ class Status
548
+ class Representation < Google::Apis::Core::JsonRepresentation; end
549
+
550
+ include Google::Apis::Core::JsonObjectSupport
551
+ end
552
+
523
553
  class StatusCondition
524
554
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
555
 
@@ -550,6 +580,12 @@ module Google
550
580
  include Google::Apis::Core::JsonObjectSupport
551
581
  end
552
582
 
583
+ class UpgradeAvailableEvent
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
553
589
  class UpgradeEvent
554
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
555
591
 
@@ -638,6 +674,13 @@ module Google
638
674
  end
639
675
  end
640
676
 
677
+ class Autopilot
678
+ # @private
679
+ class Representation < Google::Apis::Core::JsonRepresentation
680
+ property :enabled, as: 'enabled'
681
+ end
682
+ end
683
+
641
684
  class AutoprovisioningNodePoolDefaults
642
685
  # @private
643
686
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -710,6 +753,8 @@ module Google
710
753
 
711
754
  property :authenticator_groups_config, as: 'authenticatorGroupsConfig', class: Google::Apis::ContainerV1::AuthenticatorGroupsConfig, decorator: Google::Apis::ContainerV1::AuthenticatorGroupsConfig::Representation
712
755
 
756
+ property :autopilot, as: 'autopilot', class: Google::Apis::ContainerV1::Autopilot, decorator: Google::Apis::ContainerV1::Autopilot::Representation
757
+
713
758
  property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1::ClusterAutoscaling::Representation
714
759
 
715
760
  property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
@@ -717,6 +762,8 @@ module Google
717
762
  property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
718
763
  collection :conditions, as: 'conditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation
719
764
 
765
+ property :confidential_nodes, as: 'confidentialNodes', class: Google::Apis::ContainerV1::ConfidentialNodes, decorator: Google::Apis::ContainerV1::ConfidentialNodes::Representation
766
+
720
767
  property :create_time, as: 'createTime'
721
768
  property :current_master_version, as: 'currentMasterVersion'
722
769
  property :current_node_count, as: 'currentNodeCount'
@@ -730,6 +777,7 @@ module Google
730
777
  property :enable_tpu, as: 'enableTpu'
731
778
  property :endpoint, as: 'endpoint'
732
779
  property :expire_time, as: 'expireTime'
780
+ property :id, as: 'id'
733
781
  property :initial_cluster_version, as: 'initialClusterVersion'
734
782
  property :initial_node_count, as: 'initialNodeCount'
735
783
  collection :instance_group_urls, as: 'instanceGroupUrls'
@@ -801,12 +849,15 @@ module Google
801
849
  class Representation < Google::Apis::Core::JsonRepresentation
802
850
  property :desired_addons_config, as: 'desiredAddonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
803
851
 
852
+ property :desired_autopilot, as: 'desiredAutopilot', class: Google::Apis::ContainerV1::Autopilot, decorator: Google::Apis::ContainerV1::Autopilot::Representation
853
+
804
854
  property :desired_binary_authorization, as: 'desiredBinaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
805
855
 
806
856
  property :desired_cluster_autoscaling, as: 'desiredClusterAutoscaling', class: Google::Apis::ContainerV1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1::ClusterAutoscaling::Representation
807
857
 
808
858
  property :desired_database_encryption, as: 'desiredDatabaseEncryption', class: Google::Apis::ContainerV1::DatabaseEncryption, decorator: Google::Apis::ContainerV1::DatabaseEncryption::Representation
809
859
 
860
+ property :desired_datapath_provider, as: 'desiredDatapathProvider'
810
861
  property :desired_default_snat_status, as: 'desiredDefaultSnatStatus', class: Google::Apis::ContainerV1::DefaultSnatStatus, decorator: Google::Apis::ContainerV1::DefaultSnatStatus::Representation
811
862
 
812
863
  property :desired_image_type, as: 'desiredImageType'
@@ -850,6 +901,13 @@ module Google
850
901
  end
851
902
  end
852
903
 
904
+ class ConfidentialNodes
905
+ # @private
906
+ class Representation < Google::Apis::Core::JsonRepresentation
907
+ property :enabled, as: 'enabled'
908
+ end
909
+ end
910
+
853
911
  class ConfigConnectorConfig
854
912
  # @private
855
913
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1033,6 +1091,13 @@ module Google
1033
1091
  end
1034
1092
  end
1035
1093
 
1094
+ class LinuxNodeConfig
1095
+ # @private
1096
+ class Representation < Google::Apis::Core::JsonRepresentation
1097
+ hash :sysctls, as: 'sysctls'
1098
+ end
1099
+ end
1100
+
1036
1101
  class ListClustersResponse
1037
1102
  # @private
1038
1103
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1131,6 +1196,7 @@ module Google
1131
1196
  class NetworkConfig
1132
1197
  # @private
1133
1198
  class Representation < Google::Apis::Core::JsonRepresentation
1199
+ property :datapath_provider, as: 'datapathProvider'
1134
1200
  property :default_snat_status, as: 'defaultSnatStatus', class: Google::Apis::ContainerV1::DefaultSnatStatus, decorator: Google::Apis::ContainerV1::DefaultSnatStatus::Representation
1135
1201
 
1136
1202
  property :enable_intra_node_visibility, as: 'enableIntraNodeVisibility'
@@ -1164,7 +1230,11 @@ module Google
1164
1230
  property :disk_size_gb, as: 'diskSizeGb'
1165
1231
  property :disk_type, as: 'diskType'
1166
1232
  property :image_type, as: 'imageType'
1233
+ property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
1234
+
1167
1235
  hash :labels, as: 'labels'
1236
+ property :linux_node_config, as: 'linuxNodeConfig', class: Google::Apis::ContainerV1::LinuxNodeConfig, decorator: Google::Apis::ContainerV1::LinuxNodeConfig::Representation
1237
+
1168
1238
  property :local_ssd_count, as: 'localSsdCount'
1169
1239
  property :machine_type, as: 'machineType'
1170
1240
  hash :metadata, as: 'metadata'
@@ -1187,6 +1257,15 @@ module Google
1187
1257
  end
1188
1258
  end
1189
1259
 
1260
+ class NodeKubeletConfig
1261
+ # @private
1262
+ class Representation < Google::Apis::Core::JsonRepresentation
1263
+ property :cpu_cfs_quota, as: 'cpuCfsQuota'
1264
+ property :cpu_cfs_quota_period, as: 'cpuCfsQuotaPeriod'
1265
+ property :cpu_manager_policy, as: 'cpuManagerPolicy'
1266
+ end
1267
+ end
1268
+
1190
1269
  class NodeManagement
1191
1270
  # @private
1192
1271
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1258,6 +1337,8 @@ module Google
1258
1337
 
1259
1338
  property :detail, as: 'detail'
1260
1339
  property :end_time, as: 'endTime'
1340
+ property :error, as: 'error', class: Google::Apis::ContainerV1::Status, decorator: Google::Apis::ContainerV1::Status::Representation
1341
+
1261
1342
  property :location, as: 'location'
1262
1343
  property :name, as: 'name'
1263
1344
  collection :nodepool_conditions, as: 'nodepoolConditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation
@@ -1569,9 +1650,19 @@ module Google
1569
1650
  end
1570
1651
  end
1571
1652
 
1653
+ class Status
1654
+ # @private
1655
+ class Representation < Google::Apis::Core::JsonRepresentation
1656
+ property :code, as: 'code'
1657
+ collection :details, as: 'details'
1658
+ property :message, as: 'message'
1659
+ end
1660
+ end
1661
+
1572
1662
  class StatusCondition
1573
1663
  # @private
1574
1664
  class Representation < Google::Apis::Core::JsonRepresentation
1665
+ property :canonical_code, as: 'canonicalCode'
1575
1666
  property :code, as: 'code'
1576
1667
  property :message, as: 'message'
1577
1668
  end
@@ -1613,6 +1704,10 @@ module Google
1613
1704
  class Representation < Google::Apis::Core::JsonRepresentation
1614
1705
  property :cluster_id, as: 'clusterId'
1615
1706
  property :image_type, as: 'imageType'
1707
+ property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
1708
+
1709
+ property :linux_node_config, as: 'linuxNodeConfig', class: Google::Apis::ContainerV1::LinuxNodeConfig, decorator: Google::Apis::ContainerV1::LinuxNodeConfig::Representation
1710
+
1616
1711
  collection :locations, as: 'locations'
1617
1712
  property :name, as: 'name'
1618
1713
  property :node_pool_id, as: 'nodePoolId'
@@ -1626,6 +1721,17 @@ module Google
1626
1721
  end
1627
1722
  end
1628
1723
 
1724
+ class UpgradeAvailableEvent
1725
+ # @private
1726
+ class Representation < Google::Apis::Core::JsonRepresentation
1727
+ property :release_channel, as: 'releaseChannel', class: Google::Apis::ContainerV1::ReleaseChannel, decorator: Google::Apis::ContainerV1::ReleaseChannel::Representation
1728
+
1729
+ property :resource, as: 'resource'
1730
+ property :resource_type, as: 'resourceType'
1731
+ property :version, as: 'version'
1732
+ end
1733
+ end
1734
+
1629
1735
  class UpgradeEvent
1630
1736
  # @private
1631
1737
  class Representation < Google::Apis::Core::JsonRepresentation
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.2.0
4
+ version: 0.7.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-02-08 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.7.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-container_v1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.6
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Kubernetes Engine API V1