Class: Google::Apis::ServiceusageV1beta1::ListConsumerQuotaMetricsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ServiceusageV1beta1::ListConsumerQuotaMetricsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/serviceusage_v1beta1/classes.rb,
generated/google/apis/serviceusage_v1beta1/representations.rb,
generated/google/apis/serviceusage_v1beta1/representations.rb
Overview
Response message for ListConsumerQuotaMetrics
Instance Attribute Summary collapse
-
#metrics ⇒ Array<Google::Apis::ServiceusageV1beta1::ConsumerQuotaMetric>
Quota settings for the consumer, organized by quota metric.
-
#next_page_token ⇒ String
Token identifying which result to start with; returned by a previous list call.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListConsumerQuotaMetricsResponse
constructor
A new instance of ListConsumerQuotaMetricsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListConsumerQuotaMetricsResponse
Returns a new instance of ListConsumerQuotaMetricsResponse.
2698 2699 2700 |
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2698 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metrics ⇒ Array<Google::Apis::ServiceusageV1beta1::ConsumerQuotaMetric>
Quota settings for the consumer, organized by quota metric.
Corresponds to the JSON property metrics
2690 2691 2692 |
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2690 def metrics @metrics end |
#next_page_token ⇒ String
Token identifying which result to start with; returned by a previous list
call.
Corresponds to the JSON property nextPageToken
2696 2697 2698 |
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2696 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2703 2704 2705 2706 |
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2703 def update!(**args) @metrics = args[:metrics] if args.key?(:metrics) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |