Class: Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ListConsumerQuotaMetricsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb,
generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb,
generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb

Overview

Response message for ListConsumerQuotaMetrics.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ V1Beta1ListConsumerQuotaMetricsResponse

Returns a new instance of V1Beta1ListConsumerQuotaMetricsResponse.



3089
3090
3091
# File 'generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3089

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#metricsArray<Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ConsumerQuotaMetric>

Quota settings for the consumer, organized by quota metric. Corresponds to the JSON property metrics



3082
3083
3084
# File 'generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3082

def metrics
  @metrics
end

#next_page_tokenString

Token identifying which result to start with; returned by a previous list call. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3087
3088
3089
# File 'generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3087

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3094
3095
3096
3097
# File 'generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb', line 3094

def update!(**args)
  @metrics = args[:metrics] if args.key?(:metrics)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end