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.



3186
3187
3188
3189
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3186

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.



3186
3187
3188
3189
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3186

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.



3186
3187
3188
3189
# File 'proto_docs/google/container/v1/cluster_service.rb', line 3186

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