Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::SetNodePoolSizeRequest (v0.10.0)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::SetNodePoolSizeRequest.

SetNodePoolSizeRequest sets the size of a node pool.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cluster_id

def cluster_id() -> ::String
Returns
  • (::String) — Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.

#cluster_id=

def cluster_id=(value) -> ::String
Parameter
  • value (::String) — Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
Returns
  • (::String) — Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.

#name

def name() -> ::String
Returns
  • (::String) — The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.
Returns
  • (::String) — The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format projects/*/locations/*/clusters/*/nodePools/*.

#node_count

def node_count() -> ::Integer
Returns
  • (::Integer) — Required. The desired node count for the pool.

#node_count=

def node_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The desired node count for the pool.
Returns
  • (::Integer) — Required. The desired node count for the pool.

#node_pool_id

def node_pool_id() -> ::String
Returns
  • (::String) — Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.

#node_pool_id=

def node_pool_id=(value) -> ::String
Parameter
  • value (::String) — Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.
Returns
  • (::String) — Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.

#project_id

def project_id() -> ::String
Returns
  • (::String) — 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) — Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
Returns
  • (::String) — 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) — 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) — 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) — 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.