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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ResourceQuotasRemaining
Returns a new instance of ResourceQuotasRemaining
1151 1152 1153 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1151 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
1144 1145 1146 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1144 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
1149 1150 1151 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1149 def hourly_quota_tokens_remaining @hourly_quota_tokens_remaining end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1156 1157 1158 1159 |
# File 'generated/google/apis/analyticsreporting_v4/classes.rb', line 1156 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 |