google-apis-container_v1 0.1.0 → 0.6.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: 03d860e8d7b2cbec6dd7037e66a68d1b4e9d54e31ec0776a8acfa804b39b9c5a
4
- data.tar.gz: af8faaf44bc75e2cefce24591b2d5f3e0f348e93d341284cd9a1f2481bccf560
3
+ metadata.gz: 6579df18036fab50b5e7a9b92b739072cef86b15369ef433c4fd4aca92301dcd
4
+ data.tar.gz: 1fb6af78bdd2fa35ade6e661ca7a2f45b778e2639839ff9b25bbccaaf4366994
5
5
  SHA512:
6
- metadata.gz: 766f0e6d47ae5631e01f7c50736e006c0ab4bcad2b29edb45efb8a648b265fc327fbcc6d6cd5203a0809cbea7d5dabeed17946802d1eec7b77ad6798a0bccca3
7
- data.tar.gz: 37a90d409b772fa29ead5f3d922ef88b55c60cb511d7280d2388c4b9122fd3ffa045688a6bf5b64d6e7f95a7192c3f128b447395a2928b62b4a83f949a3c243a
6
+ metadata.gz: c5fc80b29ad952896d5ff3b9256a8e9e01e831dde02cec9702a45f07f667ec6f897003334cbafed7681b00e55a2833f700c158db7d0dd9ac1562da7f05d7aa8d
7
+ data.tar.gz: a1265d70135f8df99e0c98edd073731555e6895e29e3e1f355d8047007fd149fd55473daa1062c74763d4d81594c6d5d649c31fccdf59b1f271fc0a0339da69d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-container_v1
2
2
 
3
+ ### v0.6.0 (2021-03-24)
4
+
5
+ * Regenerated from discovery document revision 20210312
6
+
7
+ ### v0.5.0 (2021-03-12)
8
+
9
+ * Regenerated from discovery document revision 20210226
10
+ * Regenerated using generator version 0.2.0
11
+
12
+ ### v0.4.0 (2021-03-04)
13
+
14
+ * Unspecified changes
15
+
16
+ ### v0.3.0 (2021-02-19)
17
+
18
+ * Regenerated from discovery document revision 20210216
19
+
20
+ ### v0.2.0 (2021-02-05)
21
+
22
+ * Regenerated from discovery document revision 20210119
23
+ * Regenerated using generator version 0.1.2
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated using generator version 0.1.1
@@ -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.
@@ -682,6 +707,11 @@ module Google
682
707
  # @return [Array<Google::Apis::ContainerV1::NodePool>]
683
708
  attr_accessor :node_pools
684
709
 
710
+ # NotificationConfig is the configuration of notifications.
711
+ # Corresponds to the JSON property `notificationConfig`
712
+ # @return [Google::Apis::ContainerV1::NotificationConfig]
713
+ attr_accessor :notification_config
714
+
685
715
  # Configuration options for private clusters.
686
716
  # Corresponds to the JSON property `privateClusterConfig`
687
717
  # @return [Google::Apis::ContainerV1::PrivateClusterConfig]
@@ -775,6 +805,7 @@ module Google
775
805
  def update!(**args)
776
806
  @addons_config = args[:addons_config] if args.key?(:addons_config)
777
807
  @authenticator_groups_config = args[:authenticator_groups_config] if args.key?(:authenticator_groups_config)
808
+ @autopilot = args[:autopilot] if args.key?(:autopilot)
778
809
  @autoscaling = args[:autoscaling] if args.key?(:autoscaling)
779
810
  @binary_authorization = args[:binary_authorization] if args.key?(:binary_authorization)
780
811
  @cluster_ipv4_cidr = args[:cluster_ipv4_cidr] if args.key?(:cluster_ipv4_cidr)
@@ -810,6 +841,7 @@ module Google
810
841
  @node_config = args[:node_config] if args.key?(:node_config)
811
842
  @node_ipv4_cidr_size = args[:node_ipv4_cidr_size] if args.key?(:node_ipv4_cidr_size)
812
843
  @node_pools = args[:node_pools] if args.key?(:node_pools)
844
+ @notification_config = args[:notification_config] if args.key?(:notification_config)
813
845
  @private_cluster_config = args[:private_cluster_config] if args.key?(:private_cluster_config)
814
846
  @release_channel = args[:release_channel] if args.key?(:release_channel)
815
847
  @resource_labels = args[:resource_labels] if args.key?(:resource_labels)
@@ -990,6 +1022,11 @@ module Google
990
1022
  # @return [String]
991
1023
  attr_accessor :desired_node_version
992
1024
 
1025
+ # NotificationConfig is the configuration of notifications.
1026
+ # Corresponds to the JSON property `desiredNotificationConfig`
1027
+ # @return [Google::Apis::ContainerV1::NotificationConfig]
1028
+ attr_accessor :desired_notification_config
1029
+
993
1030
  # Configuration options for private clusters.
994
1031
  # Corresponds to the JSON property `desiredPrivateClusterConfig`
995
1032
  # @return [Google::Apis::ContainerV1::PrivateClusterConfig]
@@ -1051,6 +1088,7 @@ module Google
1051
1088
  @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling)
1052
1089
  @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id)
1053
1090
  @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version)
1091
+ @desired_notification_config = args[:desired_notification_config] if args.key?(:desired_notification_config)
1054
1092
  @desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config)
1055
1093
  @desired_private_ipv6_google_access = args[:desired_private_ipv6_google_access] if args.key?(:desired_private_ipv6_google_access)
1056
1094
  @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel)
@@ -1803,6 +1841,28 @@ module Google
1803
1841
  end
1804
1842
  end
1805
1843
 
1844
+ # Parameters that can be configured on Linux nodes.
1845
+ class LinuxNodeConfig
1846
+ include Google::Apis::Core::Hashable
1847
+
1848
+ # The Linux kernel parameters to be applied to the nodes and all pods running on
1849
+ # the nodes. The following parameters are supported. net.core.netdev_max_backlog
1850
+ # net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max
1851
+ # net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
1852
+ # Corresponds to the JSON property `sysctls`
1853
+ # @return [Hash<String,String>]
1854
+ attr_accessor :sysctls
1855
+
1856
+ def initialize(**args)
1857
+ update!(**args)
1858
+ end
1859
+
1860
+ # Update properties of this object
1861
+ def update!(**args)
1862
+ @sysctls = args[:sysctls] if args.key?(:sysctls)
1863
+ end
1864
+ end
1865
+
1806
1866
  # ListClustersResponse is the result of ListClustersRequest.
1807
1867
  class ListClustersResponse
1808
1868
  include Google::Apis::Core::Hashable
@@ -2251,6 +2311,11 @@ module Google
2251
2311
  # @return [String]
2252
2312
  attr_accessor :image_type
2253
2313
 
2314
+ # Node kubelet configs.
2315
+ # Corresponds to the JSON property `kubeletConfig`
2316
+ # @return [Google::Apis::ContainerV1::NodeKubeletConfig]
2317
+ attr_accessor :kubelet_config
2318
+
2254
2319
  # The map of Kubernetes labels (key/value pairs) to be applied to each node.
2255
2320
  # These will added in addition to any default label(s) that Kubernetes may apply
2256
2321
  # to the node. In case of conflict in label keys, the applied set may differ
@@ -2262,6 +2327,11 @@ module Google
2262
2327
  # @return [Hash<String,String>]
2263
2328
  attr_accessor :labels
2264
2329
 
2330
+ # Parameters that can be configured on Linux nodes.
2331
+ # Corresponds to the JSON property `linuxNodeConfig`
2332
+ # @return [Google::Apis::ContainerV1::LinuxNodeConfig]
2333
+ attr_accessor :linux_node_config
2334
+
2265
2335
  # The number of local SSD disks to be attached to the node. The limit for this
2266
2336
  # value is dependent upon the maximum number of disks available on a machine per
2267
2337
  # zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more
@@ -2390,7 +2460,9 @@ module Google
2390
2460
  @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
2391
2461
  @disk_type = args[:disk_type] if args.key?(:disk_type)
2392
2462
  @image_type = args[:image_type] if args.key?(:image_type)
2463
+ @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
2393
2464
  @labels = args[:labels] if args.key?(:labels)
2465
+ @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
2394
2466
  @local_ssd_count = args[:local_ssd_count] if args.key?(:local_ssd_count)
2395
2467
  @machine_type = args[:machine_type] if args.key?(:machine_type)
2396
2468
  @metadata = args[:metadata] if args.key?(:metadata)
@@ -2408,6 +2480,52 @@ module Google
2408
2480
  end
2409
2481
  end
2410
2482
 
2483
+ # Node kubelet configs.
2484
+ class NodeKubeletConfig
2485
+ include Google::Apis::Core::Hashable
2486
+
2487
+ # Enable CPU CFS quota enforcement for containers that specify CPU limits. This
2488
+ # option is enabled by default which makes kubelet use CFS quota (https://www.
2489
+ # kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU
2490
+ # limits. Otherwise, CPU limits will not be enforced at all. Disable this option
2491
+ # to mitigate CPU throttling problems while still having your pods to be in
2492
+ # Guaranteed QoS class by specifying the CPU limits. The default value is 'true'
2493
+ # if unspecified.
2494
+ # Corresponds to the JSON property `cpuCfsQuota`
2495
+ # @return [Boolean]
2496
+ attr_accessor :cpu_cfs_quota
2497
+ alias_method :cpu_cfs_quota?, :cpu_cfs_quota
2498
+
2499
+ # Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a
2500
+ # sequence of decimal numbers, each with optional fraction and a unit suffix,
2501
+ # such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h"
2502
+ # . The value must be a positive duration.
2503
+ # Corresponds to the JSON property `cpuCfsQuotaPeriod`
2504
+ # @return [String]
2505
+ attr_accessor :cpu_cfs_quota_period
2506
+
2507
+ # Control the CPU management policy on the node. See https://kubernetes.io/docs/
2508
+ # tasks/administer-cluster/cpu-management-policies/ The following values are
2509
+ # allowed. - "none": the default, which represents the existing scheduling
2510
+ # behavior. - "static": allows pods with certain resource characteristics to be
2511
+ # granted increased CPU affinity and exclusivity on the node. The default value
2512
+ # is 'none' if unspecified.
2513
+ # Corresponds to the JSON property `cpuManagerPolicy`
2514
+ # @return [String]
2515
+ attr_accessor :cpu_manager_policy
2516
+
2517
+ def initialize(**args)
2518
+ update!(**args)
2519
+ end
2520
+
2521
+ # Update properties of this object
2522
+ def update!(**args)
2523
+ @cpu_cfs_quota = args[:cpu_cfs_quota] if args.key?(:cpu_cfs_quota)
2524
+ @cpu_cfs_quota_period = args[:cpu_cfs_quota_period] if args.key?(:cpu_cfs_quota_period)
2525
+ @cpu_manager_policy = args[:cpu_manager_policy] if args.key?(:cpu_manager_policy)
2526
+ end
2527
+ end
2528
+
2411
2529
  # NodeManagement defines the set of node management services turned on for the
2412
2530
  # node pool.
2413
2531
  class NodeManagement
@@ -2657,12 +2775,32 @@ module Google
2657
2775
  end
2658
2776
  end
2659
2777
 
2778
+ # NotificationConfig is the configuration of notifications.
2779
+ class NotificationConfig
2780
+ include Google::Apis::Core::Hashable
2781
+
2782
+ # Pub/Sub specific notification config.
2783
+ # Corresponds to the JSON property `pubsub`
2784
+ # @return [Google::Apis::ContainerV1::PubSub]
2785
+ attr_accessor :pubsub
2786
+
2787
+ def initialize(**args)
2788
+ update!(**args)
2789
+ end
2790
+
2791
+ # Update properties of this object
2792
+ def update!(**args)
2793
+ @pubsub = args[:pubsub] if args.key?(:pubsub)
2794
+ end
2795
+ end
2796
+
2660
2797
  # This operation resource represents operations that may have happened or are
2661
2798
  # happening on the cluster. All fields are output only.
2662
2799
  class Operation
2663
2800
  include Google::Apis::Core::Hashable
2664
2801
 
2665
- # Which conditions caused the current cluster state.
2802
+ # Which conditions caused the current cluster state. Deprecated. Use field error
2803
+ # instead.
2666
2804
  # Corresponds to the JSON property `clusterConditions`
2667
2805
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
2668
2806
  attr_accessor :cluster_conditions
@@ -2678,6 +2816,16 @@ module Google
2678
2816
  # @return [String]
2679
2817
  attr_accessor :end_time
2680
2818
 
2819
+ # The `Status` type defines a logical error model that is suitable for different
2820
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2821
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2822
+ # data: error code, error message, and error details. You can find out more
2823
+ # about this error model and how to work with it in the [API Design Guide](https:
2824
+ # //cloud.google.com/apis/design/errors).
2825
+ # Corresponds to the JSON property `error`
2826
+ # @return [Google::Apis::ContainerV1::Status]
2827
+ attr_accessor :error
2828
+
2681
2829
  # [Output only] The name of the Google Compute Engine [zone](https://cloud.
2682
2830
  # google.com/compute/docs/regions-zones/regions-zones#available) or [region](
2683
2831
  # https://cloud.google.com/compute/docs/regions-zones/regions-zones#available)
@@ -2691,7 +2839,8 @@ module Google
2691
2839
  # @return [String]
2692
2840
  attr_accessor :name
2693
2841
 
2694
- # Which conditions caused the current node pool state.
2842
+ # Which conditions caused the current node pool state. Deprecated. Use field
2843
+ # error instead.
2695
2844
  # Corresponds to the JSON property `nodepoolConditions`
2696
2845
  # @return [Array<Google::Apis::ContainerV1::StatusCondition>]
2697
2846
  attr_accessor :nodepool_conditions
@@ -2723,6 +2872,7 @@ module Google
2723
2872
  attr_accessor :status
2724
2873
 
2725
2874
  # Output only. If an error has occurred, a textual description of the error.
2875
+ # Deprecated. Use the field error instead.
2726
2876
  # Corresponds to the JSON property `statusMessage`
2727
2877
  # @return [String]
2728
2878
  attr_accessor :status_message
@@ -2748,6 +2898,7 @@ module Google
2748
2898
  @cluster_conditions = args[:cluster_conditions] if args.key?(:cluster_conditions)
2749
2899
  @detail = args[:detail] if args.key?(:detail)
2750
2900
  @end_time = args[:end_time] if args.key?(:end_time)
2901
+ @error = args[:error] if args.key?(:error)
2751
2902
  @location = args[:location] if args.key?(:location)
2752
2903
  @name = args[:name] if args.key?(:name)
2753
2904
  @nodepool_conditions = args[:nodepool_conditions] if args.key?(:nodepool_conditions)
@@ -2884,6 +3035,33 @@ module Google
2884
3035
  end
2885
3036
  end
2886
3037
 
3038
+ # Pub/Sub specific notification config.
3039
+ class PubSub
3040
+ include Google::Apis::Core::Hashable
3041
+
3042
+ # Enable notifications for Pub/Sub.
3043
+ # Corresponds to the JSON property `enabled`
3044
+ # @return [Boolean]
3045
+ attr_accessor :enabled
3046
+ alias_method :enabled?, :enabled
3047
+
3048
+ # The desired Pub/Sub topic to which notifications will be sent by GKE. Format
3049
+ # is `projects/`project`/topics/`topic``.
3050
+ # Corresponds to the JSON property `topic`
3051
+ # @return [String]
3052
+ attr_accessor :topic
3053
+
3054
+ def initialize(**args)
3055
+ update!(**args)
3056
+ end
3057
+
3058
+ # Update properties of this object
3059
+ def update!(**args)
3060
+ @enabled = args[:enabled] if args.key?(:enabled)
3061
+ @topic = args[:topic] if args.key?(:topic)
3062
+ end
3063
+ end
3064
+
2887
3065
  # Represents an arbitrary window of time that recurs.
2888
3066
  class RecurringTimeWindow
2889
3067
  include Google::Apis::Core::Hashable
@@ -3953,12 +4131,57 @@ module Google
3953
4131
  end
3954
4132
  end
3955
4133
 
4134
+ # The `Status` type defines a logical error model that is suitable for different
4135
+ # programming environments, including REST APIs and RPC APIs. It is used by [
4136
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
4137
+ # data: error code, error message, and error details. You can find out more
4138
+ # about this error model and how to work with it in the [API Design Guide](https:
4139
+ # //cloud.google.com/apis/design/errors).
4140
+ class Status
4141
+ include Google::Apis::Core::Hashable
4142
+
4143
+ # The status code, which should be an enum value of google.rpc.Code.
4144
+ # Corresponds to the JSON property `code`
4145
+ # @return [Fixnum]
4146
+ attr_accessor :code
4147
+
4148
+ # A list of messages that carry the error details. There is a common set of
4149
+ # message types for APIs to use.
4150
+ # Corresponds to the JSON property `details`
4151
+ # @return [Array<Hash<String,Object>>]
4152
+ attr_accessor :details
4153
+
4154
+ # A developer-facing error message, which should be in English. Any user-facing
4155
+ # error message should be localized and sent in the google.rpc.Status.details
4156
+ # field, or localized by the client.
4157
+ # Corresponds to the JSON property `message`
4158
+ # @return [String]
4159
+ attr_accessor :message
4160
+
4161
+ def initialize(**args)
4162
+ update!(**args)
4163
+ end
4164
+
4165
+ # Update properties of this object
4166
+ def update!(**args)
4167
+ @code = args[:code] if args.key?(:code)
4168
+ @details = args[:details] if args.key?(:details)
4169
+ @message = args[:message] if args.key?(:message)
4170
+ end
4171
+ end
4172
+
3956
4173
  # StatusCondition describes why a cluster or a node pool has a certain status (e.
3957
4174
  # g., ERROR or DEGRADED).
3958
4175
  class StatusCondition
3959
4176
  include Google::Apis::Core::Hashable
3960
4177
 
3961
- # Machine-friendly representation of the condition
4178
+ # Canonical code of the condition.
4179
+ # Corresponds to the JSON property `canonicalCode`
4180
+ # @return [String]
4181
+ attr_accessor :canonical_code
4182
+
4183
+ # Machine-friendly representation of the condition Deprecated. Use
4184
+ # canonical_code instead.
3962
4185
  # Corresponds to the JSON property `code`
3963
4186
  # @return [String]
3964
4187
  attr_accessor :code
@@ -3974,6 +4197,7 @@ module Google
3974
4197
 
3975
4198
  # Update properties of this object
3976
4199
  def update!(**args)
4200
+ @canonical_code = args[:canonical_code] if args.key?(:canonical_code)
3977
4201
  @code = args[:code] if args.key?(:code)
3978
4202
  @message = args[:message] if args.key?(:message)
3979
4203
  end
@@ -4125,6 +4349,16 @@ module Google
4125
4349
  # @return [String]
4126
4350
  attr_accessor :image_type
4127
4351
 
4352
+ # Node kubelet configs.
4353
+ # Corresponds to the JSON property `kubeletConfig`
4354
+ # @return [Google::Apis::ContainerV1::NodeKubeletConfig]
4355
+ attr_accessor :kubelet_config
4356
+
4357
+ # Parameters that can be configured on Linux nodes.
4358
+ # Corresponds to the JSON property `linuxNodeConfig`
4359
+ # @return [Google::Apis::ContainerV1::LinuxNodeConfig]
4360
+ attr_accessor :linux_node_config
4361
+
4128
4362
  # The desired list of Google Compute Engine [zones](https://cloud.google.com/
4129
4363
  # compute/docs/zones#available) in which the node pool's nodes should be located.
4130
4364
  # Changing the locations for a node pool will result in nodes being either
@@ -4203,6 +4437,8 @@ module Google
4203
4437
  def update!(**args)
4204
4438
  @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
4205
4439
  @image_type = args[:image_type] if args.key?(:image_type)
4440
+ @kubelet_config = args[:kubelet_config] if args.key?(:kubelet_config)
4441
+ @linux_node_config = args[:linux_node_config] if args.key?(:linux_node_config)
4206
4442
  @locations = args[:locations] if args.key?(:locations)
4207
4443
  @name = args[:name] if args.key?(:name)
4208
4444
  @node_pool_id = args[:node_pool_id] if args.key?(:node_pool_id)
@@ -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.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201209"
25
+ REVISION = "20210312"
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
 
@@ -232,6 +238,12 @@ module Google
232
238
  include Google::Apis::Core::JsonObjectSupport
233
239
  end
234
240
 
241
+ class LinuxNodeConfig
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
235
247
  class ListClustersResponse
236
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
249
 
@@ -316,6 +328,12 @@ module Google
316
328
  include Google::Apis::Core::JsonObjectSupport
317
329
  end
318
330
 
331
+ class NodeKubeletConfig
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
319
337
  class NodeManagement
320
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
339
 
@@ -340,6 +358,12 @@ module Google
340
358
  include Google::Apis::Core::JsonObjectSupport
341
359
  end
342
360
 
361
+ class NotificationConfig
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
343
367
  class Operation
344
368
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
369
 
@@ -364,6 +388,12 @@ module Google
364
388
  include Google::Apis::Core::JsonObjectSupport
365
389
  end
366
390
 
391
+ class PubSub
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
367
397
  class RecurringTimeWindow
368
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
399
 
@@ -508,6 +538,12 @@ module Google
508
538
  include Google::Apis::Core::JsonObjectSupport
509
539
  end
510
540
 
541
+ class Status
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
511
547
  class StatusCondition
512
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
513
549
 
@@ -626,6 +662,13 @@ module Google
626
662
  end
627
663
  end
628
664
 
665
+ class Autopilot
666
+ # @private
667
+ class Representation < Google::Apis::Core::JsonRepresentation
668
+ property :enabled, as: 'enabled'
669
+ end
670
+ end
671
+
629
672
  class AutoprovisioningNodePoolDefaults
630
673
  # @private
631
674
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -698,6 +741,8 @@ module Google
698
741
 
699
742
  property :authenticator_groups_config, as: 'authenticatorGroupsConfig', class: Google::Apis::ContainerV1::AuthenticatorGroupsConfig, decorator: Google::Apis::ContainerV1::AuthenticatorGroupsConfig::Representation
700
743
 
744
+ property :autopilot, as: 'autopilot', class: Google::Apis::ContainerV1::Autopilot, decorator: Google::Apis::ContainerV1::Autopilot::Representation
745
+
701
746
  property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::ClusterAutoscaling, decorator: Google::Apis::ContainerV1::ClusterAutoscaling::Representation
702
747
 
703
748
  property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::ContainerV1::BinaryAuthorization, decorator: Google::Apis::ContainerV1::BinaryAuthorization::Representation
@@ -747,6 +792,8 @@ module Google
747
792
  property :node_ipv4_cidr_size, as: 'nodeIpv4CidrSize'
748
793
  collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation
749
794
 
795
+ property :notification_config, as: 'notificationConfig', class: Google::Apis::ContainerV1::NotificationConfig, decorator: Google::Apis::ContainerV1::NotificationConfig::Representation
796
+
750
797
  property :private_cluster_config, as: 'privateClusterConfig', class: Google::Apis::ContainerV1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1::PrivateClusterConfig::Representation
751
798
 
752
799
  property :release_channel, as: 'releaseChannel', class: Google::Apis::ContainerV1::ReleaseChannel, decorator: Google::Apis::ContainerV1::ReleaseChannel::Representation
@@ -808,6 +855,8 @@ module Google
808
855
 
809
856
  property :desired_node_pool_id, as: 'desiredNodePoolId'
810
857
  property :desired_node_version, as: 'desiredNodeVersion'
858
+ property :desired_notification_config, as: 'desiredNotificationConfig', class: Google::Apis::ContainerV1::NotificationConfig, decorator: Google::Apis::ContainerV1::NotificationConfig::Representation
859
+
811
860
  property :desired_private_cluster_config, as: 'desiredPrivateClusterConfig', class: Google::Apis::ContainerV1::PrivateClusterConfig, decorator: Google::Apis::ContainerV1::PrivateClusterConfig::Representation
812
861
 
813
862
  property :desired_private_ipv6_google_access, as: 'desiredPrivateIpv6GoogleAccess'
@@ -1017,6 +1066,13 @@ module Google
1017
1066
  end
1018
1067
  end
1019
1068
 
1069
+ class LinuxNodeConfig
1070
+ # @private
1071
+ class Representation < Google::Apis::Core::JsonRepresentation
1072
+ hash :sysctls, as: 'sysctls'
1073
+ end
1074
+ end
1075
+
1020
1076
  class ListClustersResponse
1021
1077
  # @private
1022
1078
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1148,7 +1204,11 @@ module Google
1148
1204
  property :disk_size_gb, as: 'diskSizeGb'
1149
1205
  property :disk_type, as: 'diskType'
1150
1206
  property :image_type, as: 'imageType'
1207
+ property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
1208
+
1151
1209
  hash :labels, as: 'labels'
1210
+ property :linux_node_config, as: 'linuxNodeConfig', class: Google::Apis::ContainerV1::LinuxNodeConfig, decorator: Google::Apis::ContainerV1::LinuxNodeConfig::Representation
1211
+
1152
1212
  property :local_ssd_count, as: 'localSsdCount'
1153
1213
  property :machine_type, as: 'machineType'
1154
1214
  hash :metadata, as: 'metadata'
@@ -1171,6 +1231,15 @@ module Google
1171
1231
  end
1172
1232
  end
1173
1233
 
1234
+ class NodeKubeletConfig
1235
+ # @private
1236
+ class Representation < Google::Apis::Core::JsonRepresentation
1237
+ property :cpu_cfs_quota, as: 'cpuCfsQuota'
1238
+ property :cpu_cfs_quota_period, as: 'cpuCfsQuotaPeriod'
1239
+ property :cpu_manager_policy, as: 'cpuManagerPolicy'
1240
+ end
1241
+ end
1242
+
1174
1243
  class NodeManagement
1175
1244
  # @private
1176
1245
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1227,6 +1296,14 @@ module Google
1227
1296
  end
1228
1297
  end
1229
1298
 
1299
+ class NotificationConfig
1300
+ # @private
1301
+ class Representation < Google::Apis::Core::JsonRepresentation
1302
+ property :pubsub, as: 'pubsub', class: Google::Apis::ContainerV1::PubSub, decorator: Google::Apis::ContainerV1::PubSub::Representation
1303
+
1304
+ end
1305
+ end
1306
+
1230
1307
  class Operation
1231
1308
  # @private
1232
1309
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1234,6 +1311,8 @@ module Google
1234
1311
 
1235
1312
  property :detail, as: 'detail'
1236
1313
  property :end_time, as: 'endTime'
1314
+ property :error, as: 'error', class: Google::Apis::ContainerV1::Status, decorator: Google::Apis::ContainerV1::Status::Representation
1315
+
1237
1316
  property :location, as: 'location'
1238
1317
  property :name, as: 'name'
1239
1318
  collection :nodepool_conditions, as: 'nodepoolConditions', class: Google::Apis::ContainerV1::StatusCondition, decorator: Google::Apis::ContainerV1::StatusCondition::Representation
@@ -1283,6 +1362,14 @@ module Google
1283
1362
  end
1284
1363
  end
1285
1364
 
1365
+ class PubSub
1366
+ # @private
1367
+ class Representation < Google::Apis::Core::JsonRepresentation
1368
+ property :enabled, as: 'enabled'
1369
+ property :topic, as: 'topic'
1370
+ end
1371
+ end
1372
+
1286
1373
  class RecurringTimeWindow
1287
1374
  # @private
1288
1375
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1537,9 +1624,19 @@ module Google
1537
1624
  end
1538
1625
  end
1539
1626
 
1627
+ class Status
1628
+ # @private
1629
+ class Representation < Google::Apis::Core::JsonRepresentation
1630
+ property :code, as: 'code'
1631
+ collection :details, as: 'details'
1632
+ property :message, as: 'message'
1633
+ end
1634
+ end
1635
+
1540
1636
  class StatusCondition
1541
1637
  # @private
1542
1638
  class Representation < Google::Apis::Core::JsonRepresentation
1639
+ property :canonical_code, as: 'canonicalCode'
1543
1640
  property :code, as: 'code'
1544
1641
  property :message, as: 'message'
1545
1642
  end
@@ -1581,6 +1678,10 @@ module Google
1581
1678
  class Representation < Google::Apis::Core::JsonRepresentation
1582
1679
  property :cluster_id, as: 'clusterId'
1583
1680
  property :image_type, as: 'imageType'
1681
+ property :kubelet_config, as: 'kubeletConfig', class: Google::Apis::ContainerV1::NodeKubeletConfig, decorator: Google::Apis::ContainerV1::NodeKubeletConfig::Representation
1682
+
1683
+ property :linux_node_config, as: 'linuxNodeConfig', class: Google::Apis::ContainerV1::LinuxNodeConfig, decorator: Google::Apis::ContainerV1::LinuxNodeConfig::Representation
1684
+
1584
1685
  collection :locations, as: 'locations'
1585
1686
  property :name, as: 'name'
1586
1687
  property :node_pool_id, as: 'nodePoolId'
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.1.0
4
+ version: 0.6.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-03-29 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.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-container_v1/v0.6.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.1.4
72
+ rubygems_version: 3.2.13
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Kubernetes Engine API V1