Class: Google::Cloud::Container::V1::ResourceLimit

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1/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.



3954
3955
3956
3957
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3954

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.



3954
3955
3956
3957
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3954

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.



3954
3955
3956
3957
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3954

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