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.



511
512
513
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 511

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



489
490
491
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 489

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



494
495
496
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 494

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



499
500
501
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 499

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



504
505
506
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 504

def tokens_per_hour
  @tokens_per_hour
end

#tokens_per_project_per_hourGoogle::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessQuotaStatus

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



509
510
511
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 509

def tokens_per_project_per_hour
  @tokens_per_project_per_hour
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



516
517
518
519
520
521
522
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 516

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)
  @tokens_per_project_per_hour = args[:tokens_per_project_per_hour] if args.key?(:tokens_per_project_per_hour)
end