Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessQuota

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/analyticsadmin_v1beta/classes.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb,
lib/google/apis/analyticsadmin_v1beta/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) ⇒ GoogleAnalyticsAdminV1betaAccessQuota

Returns a new instance of GoogleAnalyticsAdminV1betaAccessQuota.



473
474
475
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 473

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

Instance Attribute Details

#concurrent_requestsGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessQuotaStatus

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



451
452
453
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 451

def concurrent_requests
  @concurrent_requests
end

#server_errors_per_project_per_hourGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessQuotaStatus

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



456
457
458
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 456

def server_errors_per_project_per_hour
  @server_errors_per_project_per_hour
end

#tokens_per_dayGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessQuotaStatus

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



461
462
463
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 461

def tokens_per_day
  @tokens_per_day
end

#tokens_per_hourGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessQuotaStatus

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



466
467
468
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 466

def tokens_per_hour
  @tokens_per_hour
end

#tokens_per_project_per_hourGoogle::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessQuotaStatus

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



471
472
473
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 471

def tokens_per_project_per_hour
  @tokens_per_project_per_hour
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



478
479
480
481
482
483
484
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 478

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