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_tokento 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.
6455 6456 6457 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6455 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
6447 6448 6449 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6447 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
6453 6454 6455 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6453 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6460 6461 6462 6463 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 6460 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 |