class Google::Apis::ComputeBeta::Quota

A quotas entry.

Attributes

limit[RW]
Output Only

Quota limit for this metric.

Corresponds to the JSON property `limit` @return [Float]

metric[RW]
Output Only

Name of the quota metric.

Corresponds to the JSON property `metric` @return [String]

usage[RW]
Output Only

Current usage of this metric.

Corresponds to the JSON property `usage` @return [Float]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/compute_beta/classes.rb, line 6265
def update!(**args)
  @limit = args[:limit] if args.key?(:limit)
  @metric = args[:metric] if args.key?(:metric)
  @usage = args[:usage] if args.key?(:usage)
end