Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuota

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb

Overview

Current state of all quotas for this Analytics property. If any quota for a property is exhausted, all requests to that property will return Resource Exhausted errors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessQuota

Returns a new instance of GoogleAnalyticsAdminV1alphaAccessQuota.



464
465
466
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 464

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#concurrent_requestsGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus

Current state for a particular quota group. Corresponds to the JSON property concurrentRequests



447
448
449
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 447

def concurrent_requests
  @concurrent_requests
end

#server_errors_per_project_per_hourGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus

Current state for a particular quota group. Corresponds to the JSON property serverErrorsPerProjectPerHour



452
453
454
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 452

def server_errors_per_project_per_hour
  @server_errors_per_project_per_hour
end

#tokens_per_dayGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus

Current state for a particular quota group. Corresponds to the JSON property tokensPerDay



457
458
459
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 457

def tokens_per_day
  @tokens_per_day
end

#tokens_per_hourGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus

Current state for a particular quota group. Corresponds to the JSON property tokensPerHour



462
463
464
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 462

def tokens_per_hour
  @tokens_per_hour
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



469
470
471
472
473
474
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 469

def update!(**args)
  @concurrent_requests = args[:concurrent_requests] if args.key?(:concurrent_requests)
  @server_errors_per_project_per_hour = args[:server_errors_per_project_per_hour] if args.key?(:server_errors_per_project_per_hour)
  @tokens_per_day = args[:tokens_per_day] if args.key?(:tokens_per_day)
  @tokens_per_hour = args[:tokens_per_hour] if args.key?(:tokens_per_hour)
end