Class: Google::Apis::ContentV2_1::ListMethodQuotasResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ListMethodQuotasResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
Response message for the ListMethodQuotas method.
Instance Attribute Summary collapse
-
#method_quotas ⇒ Array<Google::Apis::ContentV2_1::MethodQuota>
The current quota usage and limits per each method.
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListMethodQuotasResponse
constructor
A new instance of ListMethodQuotasResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListMethodQuotasResponse
Returns a new instance of ListMethodQuotasResponse.
6407 6408 6409 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6407 def initialize(**args) update!(**args) end |
Instance Attribute Details
#method_quotas ⇒ Array<Google::Apis::ContentV2_1::MethodQuota>
The current quota usage and limits per each method.
Corresponds to the JSON property methodQuotas
6399 6400 6401 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6399 def method_quotas @method_quotas end |
#next_page_token ⇒ String
A token, which can be sent as page_token
to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
6405 6406 6407 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6405 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6412 6413 6414 6415 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6412 def update!(**args) @method_quotas = args[:method_quotas] if args.key?(:method_quotas) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |