Class: Google::Cloud::Container::V1::SetNodePoolSizeRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1/cluster_service.rb

Overview

SetNodePoolSizeRequest sets the size of a node pool.

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_id::String

Returns 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.



3467
3468
3469
3470
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3467

class SetNodePoolSizeRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns 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/*.



3467
3468
3469
3470
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3467

class SetNodePoolSizeRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#node_count::Integer

Returns Required. The desired node count for the pool.

Returns:

  • (::Integer)

    Required. The desired node count for the pool.



3467
3468
3469
3470
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3467

class SetNodePoolSizeRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#node_pool_id::String

Returns 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.



3467
3468
3469
3470
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3467

class SetNodePoolSizeRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#project_id::String

Returns 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.



3467
3468
3469
3470
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3467

class SetNodePoolSizeRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#zone::String

Returns 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.



3467
3468
3469
3470
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3467

class SetNodePoolSizeRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end