Class: Google::Cloud::Container::V1beta1::SetNodePoolSizeRequest

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

Overview

SetNodePoolSizeRequest sets the size of a node pool.

Instance Attribute Summary collapse

Instance Attribute Details

#cluster_id::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Required. Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.

Returns:

  • (::String)

    Required. Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.



4266
4267
4268
4269
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4266

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



4266
4267
4268
4269
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4266

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.



4266
4267
4268
4269
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4266

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

#node_pool_id::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns Required. Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.

Returns:

  • (::String)

    Required. Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.



4266
4267
4268
4269
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4266

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

#project_id::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

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



4266
4267
4268
4269
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4266

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

#zone::String

Deprecated.

This field is deprecated and may be removed in the next major version update.

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



4266
4267
4268
4269
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4266

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