Class: Google::Apis::AnalyticsreportingV4::ResourceQuotasRemaining

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_remainingFixnum

Daily resource quota remaining remaining. Corresponds to the JSON property dailyQuotaTokensRemaining

Returns:

  • (Fixnum)


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_remainingFixnum

Hourly resource quota tokens remaining. Corresponds to the JSON property hourlyQuotaTokensRemaining

Returns:

  • (Fixnum)


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