Kubernetes Engine V1beta1 API - Class Google::Cloud::Container::V1beta1::ResourceLimit (v0.25.0)

Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::ResourceLimit.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#maximum

def maximum() -> ::Integer
Returns
  • (::Integer) — Maximum amount of the resource in the cluster.

#maximum=

def maximum=(value) -> ::Integer
Parameter
  • value (::Integer) — Maximum amount of the resource in the cluster.
Returns
  • (::Integer) — Maximum amount of the resource in the cluster.

#minimum

def minimum() -> ::Integer
Returns
  • (::Integer) — Minimum amount of the resource in the cluster.

#minimum=

def minimum=(value) -> ::Integer
Parameter
  • value (::Integer) — Minimum amount of the resource in the cluster.
Returns
  • (::Integer) — Minimum amount of the resource in the cluster.

#resource_type

def resource_type() -> ::String
Returns
  • (::String) — Resource name "cpu", "memory" or gpu-specific string.

#resource_type=

def resource_type=(value) -> ::String
Parameter
  • value (::String) — Resource name "cpu", "memory" or gpu-specific string.
Returns
  • (::String) — Resource name "cpu", "memory" or gpu-specific string.