Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsQuotaErrorDetails
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ErrorsQuotaErrorDetails
- 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
-
#rate_name ⇒ String
The high level description of the quota bucket.
-
#rate_scope ⇒ String
The rate scope of the quota limit.
-
#retry_delay ⇒ String
Backoff period that customers should wait before sending next request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ErrorsQuotaErrorDetails
constructor
A new instance of GoogleAdsSearchads360V0ErrorsQuotaErrorDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ErrorsQuotaErrorDetails
Returns a new instance of GoogleAdsSearchads360V0ErrorsQuotaErrorDetails.
1822 1823 1824 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1822 def initialize(**args) update!(**args) end |
Instance Attribute Details
#rate_name ⇒ String
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
1810 1811 1812 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1810 def rate_name @rate_name end |
#rate_scope ⇒ String
The rate scope of the quota limit.
Corresponds to the JSON property rateScope
1815 1816 1817 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1815 def rate_scope @rate_scope end |
#retry_delay ⇒ String
Backoff period that customers should wait before sending next request.
Corresponds to the JSON property retryDelay
1820 1821 1822 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1820 def retry_delay @retry_delay end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1827 1828 1829 1830 1831 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1827 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 |