class Google::Apis::ComputeV1::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]
owner[RW]
- Output Only
-
Owning resource. This is the resource on which this quota is
applied. Corresponds to the JSON property `owner` @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 lib/google/apis/compute_v1/classes.rb, line 26475 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_v1/classes.rb, line 26480 def update!(**args) @limit = args[:limit] if args.key?(:limit) @metric = args[:metric] if args.key?(:metric) @owner = args[:owner] if args.key?(:owner) @usage = args[:usage] if args.key?(:usage) end