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

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_remainingFixnum

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

Returns:

  • (Fixnum)


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_remainingFixnum

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

Returns:

  • (Fixnum)


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