Class: Google::Apis::AnalyticsreportingV4::ResourceQuotasRemaining
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsreportingV4::ResourceQuotasRemaining
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/analyticsreporting_v4/classes.rb,
generated/google/apis/analyticsreporting_v4/representations.rb,
generated/google/apis/analyticsreporting_v4/representations.rb
Overview
The resource quota tokens remaining for the property after the request is completed.
Instance Attribute Summary collapse
-
#daily_quota_tokens_remaining ⇒ Fixnum
Daily resource quota remaining remaining.
-
#hourly_quota_tokens_remaining ⇒ Fixnum
Hourly resource quota tokens remaining.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceQuotasRemaining
constructor
A new instance of ResourceQuotasRemaining.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceQuotasRemaining
Returns a new instance of ResourceQuotasRemaining.
1472 1473 1474 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1472 def initialize(**args) update!(**args) end |
Instance Attribute Details
#daily_quota_tokens_remaining ⇒ Fixnum
Daily resource quota remaining remaining.
Corresponds to the JSON property dailyQuotaTokensRemaining
1465 1466 1467 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1465 def daily_quota_tokens_remaining @daily_quota_tokens_remaining end |
#hourly_quota_tokens_remaining ⇒ Fixnum
Hourly resource quota tokens remaining.
Corresponds to the JSON property hourlyQuotaTokensRemaining
1470 1471 1472 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1470 def hourly_quota_tokens_remaining @hourly_quota_tokens_remaining end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1477 1478 1479 1480 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1477 def update!(**args) @daily_quota_tokens_remaining = args[:daily_quota_tokens_remaining] if args.key?(:daily_quota_tokens_remaining) @hourly_quota_tokens_remaining = args[:hourly_quota_tokens_remaining] if args.key?(:hourly_quota_tokens_remaining) end |