Class: Google::Cloud::Container::V1beta1::ResourceLimit

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

Overview

Contains information about amount of some resource in the cluster. For memory, value should be in GB.

Instance Attribute Summary collapse

Instance Attribute Details

#maximum::Integer

Returns Maximum amount of the resource in the cluster.

Returns:

  • (::Integer)

    Maximum amount of the resource in the cluster.



4653
4654
4655
4656
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4653

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

#minimum::Integer

Returns Minimum amount of the resource in the cluster.

Returns:

  • (::Integer)

    Minimum amount of the resource in the cluster.



4653
4654
4655
4656
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4653

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

#resource_type::String

Returns Resource name "cpu", "memory" or gpu-specific string.

Returns:

  • (::String)

    Resource name "cpu", "memory" or gpu-specific string.



4653
4654
4655
4656
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4653

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