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.



3081
3082
3083
3084
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3081

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.



3081
3082
3083
3084
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3081

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.



3081
3082
3083
3084
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3081

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