Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::SetNodePoolAutoscalingRequest.
SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#autoscaling
def autoscaling() -> ::Google::Cloud::Container::V1beta1::NodePoolAutoscaling
Returns
- (::Google::Cloud::Container::V1beta1::NodePoolAutoscaling) — Required. Autoscaling configuration for the node pool.
#autoscaling=
def autoscaling=(value) -> ::Google::Cloud::Container::V1beta1::NodePoolAutoscaling
Parameter
- value (::Google::Cloud::Container::V1beta1::NodePoolAutoscaling) — Required. Autoscaling configuration for the node pool.
Returns
- (::Google::Cloud::Container::V1beta1::NodePoolAutoscaling) — Required. Autoscaling configuration for the node pool.
#cluster_id
def cluster_id() -> ::String
Returns
- (::String) — Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
#cluster_id=
def cluster_id=(value) -> ::String
Parameter
- value (::String) — Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
Returns
- (::String) — Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
#name
def name() -> ::String
Returns
-
(::String) — The name (project, location, cluster, node pool) of the node pool to set
autoscaler settings. Specified in the format
projects/*/locations/*/clusters/*/nodePools/*
.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — The name (project, location, cluster, node pool) of the node pool to set
autoscaler settings. Specified in the format
projects/*/locations/*/clusters/*/nodePools/*
.
Returns
-
(::String) — The name (project, location, cluster, node pool) of the node pool to set
autoscaler settings. Specified in the format
projects/*/locations/*/clusters/*/nodePools/*
.
#node_pool_id
def node_pool_id() -> ::String
Returns
- (::String) — Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
#node_pool_id=
def node_pool_id=(value) -> ::String
Parameter
- value (::String) — Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
Returns
- (::String) — Required. Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
#project_id
def project_id() -> ::String
Returns
- (::String) — Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
#project_id=
def project_id=(value) -> ::String
Parameter
- value (::String) — Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
Returns
- (::String) — Required. Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
#zone
def zone() -> ::String
Returns
- (::String) — Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
#zone=
def zone=(value) -> ::String
Parameter
- value (::String) — Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
Returns
- (::String) — Required. Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.