class Google::Apis::ContainerV1beta1::ResourceLimit

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

Attributes

maximum[RW]

Maximum amount of the resource in the cluster. Corresponds to the JSON property `maximum` @return [Fixnum]

minimum[RW]

Minimum amount of the resource in the cluster. Corresponds to the JSON property `minimum` @return [Fixnum]

resource_type[RW]

Resource name “cpu”, “memory” or gpu-specific string. Corresponds to the JSON property `resourceType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/container_v1beta1/classes.rb, line 4077
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/container_v1beta1/classes.rb, line 4082
def update!(**args)
  @maximum = args[:maximum] if args.key?(:maximum)
  @minimum = args[:minimum] if args.key?(:minimum)
  @resource_type = args[:resource_type] if args.key?(:resource_type)
end