@@ -300,8 +300,8 @@ class AutoprovisioningNodePoolDefaults
300300 # values are the friendly names of CPU platforms, such as minCpuPlatform: Intel
301301 # Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how
302302 # to specify min CPU platform](https://cloud.google.com/compute/docs/instances/
303- # specify-min-cpu-platform) This field is deprecated, min_cpu_platform should be
304- # specified using https://cloud.google.com/requested-min-cpu-platform label
303+ # specify-min-cpu-platform). This field is deprecated, min_cpu_platform should
304+ # be specified using https://cloud.google.com/requested-min-cpu-platform label
305305 # selector on the pod. To unset the min cpu platform field pass "automatic" as
306306 # field value.
307307 # Corresponds to the JSON property `minCpuPlatform`
@@ -1422,6 +1422,11 @@ class ClusterUpdate
14221422 # @return [String]
14231423 attr_accessor :desired_node_pool_id
14241424
1425+ # NodePoolLoggingConfig specifies logging configuration for nodepools.
1426+ # Corresponds to the JSON property `desiredNodePoolLoggingConfig`
1427+ # @return [Google::Apis::ContainerV1beta1::NodePoolLoggingConfig]
1428+ attr_accessor :desired_node_pool_logging_config
1429+
14251430 # The Kubernetes version to change the nodes to (typically an upgrade). Users
14261431 # may specify either explicit versions offered by Kubernetes Engine or version
14271432 # aliases, which have the following behavior: - "latest": picks the highest
@@ -1542,6 +1547,7 @@ def update!(**args)
15421547 @desired_node_pool_auto_config_network_tags = args [ :desired_node_pool_auto_config_network_tags ] if args . key? ( :desired_node_pool_auto_config_network_tags )
15431548 @desired_node_pool_autoscaling = args [ :desired_node_pool_autoscaling ] if args . key? ( :desired_node_pool_autoscaling )
15441549 @desired_node_pool_id = args [ :desired_node_pool_id ] if args . key? ( :desired_node_pool_id )
1550+ @desired_node_pool_logging_config = args [ :desired_node_pool_logging_config ] if args . key? ( :desired_node_pool_logging_config )
15451551 @desired_node_version = args [ :desired_node_version ] if args . key? ( :desired_node_version )
15461552 @desired_notification_config = args [ :desired_notification_config ] if args . key? ( :desired_notification_config )
15471553 @desired_pod_security_policy_config = args [ :desired_pod_security_policy_config ] if args . key? ( :desired_pod_security_policy_config )
@@ -2926,6 +2932,25 @@ def update!(**args)
29262932 end
29272933 end
29282934
2935+ # LoggingVariantConfig specifies the behaviour of the logging component.
2936+ class LoggingVariantConfig
2937+ include Google ::Apis ::Core ::Hashable
2938+
2939+ # Logging variant deployed on nodes.
2940+ # Corresponds to the JSON property `variant`
2941+ # @return [String]
2942+ attr_accessor :variant
2943+
2944+ def initialize ( **args )
2945+ update! ( **args )
2946+ end
2947+
2948+ # Update properties of this object
2949+ def update! ( **args )
2950+ @variant = args [ :variant ] if args . key? ( :variant )
2951+ end
2952+ end
2953+
29292954 # Represents the Maintenance exclusion option.
29302955 class MaintenanceExclusionOptions
29312956 include Google ::Apis ::Core ::Hashable
@@ -3528,6 +3553,11 @@ class NodeConfig
35283553 # @return [Fixnum]
35293554 attr_accessor :local_ssd_count
35303555
3556+ # NodePoolLoggingConfig specifies logging configuration for nodepools.
3557+ # Corresponds to the JSON property `loggingConfig`
3558+ # @return [Google::Apis::ContainerV1beta1::NodePoolLoggingConfig]
3559+ attr_accessor :logging_config
3560+
35313561 # The name of a Google Compute Engine [machine type](https://cloud.google.com/
35323562 # compute/docs/machine-types). If unspecified, the default machine type is `e2-
35333563 # medium`.
@@ -3558,7 +3588,7 @@ class NodeConfig
35583588 # friendly names of CPU platforms, such as `minCpuPlatform: "Intel Haswell"` or `
35593589 # minCpuPlatform: "Intel Sandy Bridge"`. For more information, read [how to
35603590 # specify min CPU platform](https://cloud.google.com/compute/docs/instances/
3561- # specify-min-cpu-platform)
3591+ # specify-min-cpu-platform).
35623592 # Corresponds to the JSON property `minCpuPlatform`
35633593 # @return [String]
35643594 attr_accessor :min_cpu_platform
@@ -3663,6 +3693,7 @@ def update!(**args)
36633693 @labels = args [ :labels ] if args . key? ( :labels )
36643694 @linux_node_config = args [ :linux_node_config ] if args . key? ( :linux_node_config )
36653695 @local_ssd_count = args [ :local_ssd_count ] if args . key? ( :local_ssd_count )
3696+ @logging_config = args [ :logging_config ] if args . key? ( :logging_config )
36663697 @machine_type = args [ :machine_type ] if args . key? ( :machine_type )
36673698 @metadata = args [ :metadata ] if args . key? ( :metadata )
36683699 @min_cpu_platform = args [ :min_cpu_platform ] if args . key? ( :min_cpu_platform )
@@ -3689,13 +3720,19 @@ class NodeConfigDefaults
36893720 # @return [Google::Apis::ContainerV1beta1::GcfsConfig]
36903721 attr_accessor :gcfs_config
36913722
3723+ # NodePoolLoggingConfig specifies logging configuration for nodepools.
3724+ # Corresponds to the JSON property `loggingConfig`
3725+ # @return [Google::Apis::ContainerV1beta1::NodePoolLoggingConfig]
3726+ attr_accessor :logging_config
3727+
36923728 def initialize ( **args )
36933729 update! ( **args )
36943730 end
36953731
36963732 # Update properties of this object
36973733 def update! ( **args )
36983734 @gcfs_config = args [ :gcfs_config ] if args . key? ( :gcfs_config )
3735+ @logging_config = args [ :logging_config ] if args . key? ( :logging_config )
36993736 end
37003737 end
37013738
@@ -4140,6 +4177,25 @@ def update!(**args)
41404177 end
41414178 end
41424179
4180+ # NodePoolLoggingConfig specifies logging configuration for nodepools.
4181+ class NodePoolLoggingConfig
4182+ include Google ::Apis ::Core ::Hashable
4183+
4184+ # LoggingVariantConfig specifies the behaviour of the logging component.
4185+ # Corresponds to the JSON property `variantConfig`
4186+ # @return [Google::Apis::ContainerV1beta1::LoggingVariantConfig]
4187+ attr_accessor :variant_config
4188+
4189+ def initialize ( **args )
4190+ update! ( **args )
4191+ end
4192+
4193+ # Update properties of this object
4194+ def update! ( **args )
4195+ @variant_config = args [ :variant_config ] if args . key? ( :variant_config )
4196+ end
4197+ end
4198+
41434199 # Kubernetes taint is comprised of three fields: key, value, and effect. Effect
41444200 # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See
41454201 # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration)
@@ -4662,8 +4718,8 @@ class ReservationAffinity
46624718 attr_accessor :consume_reservation_type
46634719
46644720 # Corresponds to the label key of a reservation resource. To target a
4665- # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the
4666- # key and specify the name of your reservation as its value.
4721+ # SPECIFIC_RESERVATION by name, specify "compute. googleapis.com/reservation-name"
4722+ # as the key and specify the name of your reservation as its value.
46674723 # Corresponds to the JSON property `key`
46684724 # @return [String]
46694725 attr_accessor :key
@@ -6099,6 +6155,11 @@ class UpdateNodePoolRequest
60996155 # @return [Array<String>]
61006156 attr_accessor :locations
61016157
6158+ # NodePoolLoggingConfig specifies logging configuration for nodepools.
6159+ # Corresponds to the JSON property `loggingConfig`
6160+ # @return [Google::Apis::ContainerV1beta1::NodePoolLoggingConfig]
6161+ attr_accessor :logging_config
6162+
61026163 # The name (project, location, cluster, node pool) of the node pool to update.
61036164 # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
61046165 # Corresponds to the JSON property `name`
@@ -6196,6 +6257,7 @@ def update!(**args)
61966257 @labels = args [ :labels ] if args . key? ( :labels )
61976258 @linux_node_config = args [ :linux_node_config ] if args . key? ( :linux_node_config )
61986259 @locations = args [ :locations ] if args . key? ( :locations )
6260+ @logging_config = args [ :logging_config ] if args . key? ( :logging_config )
61996261 @name = args [ :name ] if args . key? ( :name )
62006262 @node_network_config = args [ :node_network_config ] if args . key? ( :node_network_config )
62016263 @node_pool_id = args [ :node_pool_id ] if args . key? ( :node_pool_id )
0 commit comments