Class: Google::Apis::AnalyticsdataV1beta::QuotaStatus
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1beta::QuotaStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsdata_v1beta/classes.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb,
lib/google/apis/analyticsdata_v1beta/representations.rb
Overview
Current state for a particular quota group.
Instance Attribute Summary collapse
-
#consumed ⇒ Fixnum
Quota consumed by this request.
-
#remaining ⇒ Fixnum
Quota remaining after this request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QuotaStatus
constructor
A new instance of QuotaStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ QuotaStatus
Returns a new instance of QuotaStatus.
1261 1262 1263 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1261 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consumed ⇒ Fixnum
Quota consumed by this request.
Corresponds to the JSON property consumed
1254 1255 1256 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1254 def consumed @consumed end |
#remaining ⇒ Fixnum
Quota remaining after this request.
Corresponds to the JSON property remaining
1259 1260 1261 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1259 def remaining @remaining end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1266 1267 1268 1269 |
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 1266 def update!(**args) @consumed = args[:consumed] if args.key?(:consumed) @remaining = args[:remaining] if args.key?(:remaining) end |