Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsQuotaErrorDetails

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

Overview

Additional quota error details when there is QuotaError.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ErrorsQuotaErrorDetails

Returns a new instance of GoogleAdsSearchads360V0ErrorsQuotaErrorDetails.



3098
3099
3100
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3098

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

Instance Attribute Details

#rate_nameString

The high level description of the quota bucket. Examples are "Get requests for standard access" or "Requests per account". Corresponds to the JSON property rateName

Returns:

  • (String)


3086
3087
3088
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3086

def rate_name
  @rate_name
end

#rate_scopeString

The rate scope of the quota limit. Corresponds to the JSON property rateScope

Returns:

  • (String)


3091
3092
3093
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3091

def rate_scope
  @rate_scope
end

#retry_delayString

Backoff period that customers should wait before sending next request. Corresponds to the JSON property retryDelay

Returns:

  • (String)


3096
3097
3098
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3096

def retry_delay
  @retry_delay
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3103
3104
3105
3106
3107
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3103

def update!(**args)
  @rate_name = args[:rate_name] if args.key?(:rate_name)
  @rate_scope = args[:rate_scope] if args.key?(:rate_scope)
  @retry_delay = args[:retry_delay] if args.key?(:retry_delay)
end