Class: Google::Apis::MerchantapiQuotaV1beta::ListQuotaGroupsResponse
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiQuotaV1beta::ListQuotaGroupsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_quota_v1beta/classes.rb,
lib/google/apis/merchantapi_quota_v1beta/representations.rb,
lib/google/apis/merchantapi_quota_v1beta/representations.rb
Overview
Response message for the ListMethodGroups method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_token
to retrieve the next page. -
#quota_groups ⇒ Array<Google::Apis::MerchantapiQuotaV1beta::QuotaGroup>
The methods, current quota usage and limits per each group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListQuotaGroupsResponse
constructor
A new instance of ListQuotaGroupsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListQuotaGroupsResponse
Returns a new instance of ListQuotaGroupsResponse.
42 43 44 |
# File 'lib/google/apis/merchantapi_quota_v1beta/classes.rb', line 42 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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
33 34 35 |
# File 'lib/google/apis/merchantapi_quota_v1beta/classes.rb', line 33 def next_page_token @next_page_token end |
#quota_groups ⇒ Array<Google::Apis::MerchantapiQuotaV1beta::QuotaGroup>
The methods, current quota usage and limits per each group. The quota is
shared between all methods in the group. The groups are sorted in descending
order based on quotaUsage.
Corresponds to the JSON property quotaGroups
40 41 42 |
# File 'lib/google/apis/merchantapi_quota_v1beta/classes.rb', line 40 def quota_groups @quota_groups end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
47 48 49 50 |
# File 'lib/google/apis/merchantapi_quota_v1beta/classes.rb', line 47 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @quota_groups = args[:quota_groups] if args.key?(:quota_groups) end |