Class: Google::Apis::ServiceusageV1beta1::ListConsumerQuotaMetricsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListConsumerQuotaMetricsResponse

Returns a new instance of ListConsumerQuotaMetricsResponse.



2445
2446
2447
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2445

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

Instance Attribute Details

#metricsArray<Google::Apis::ServiceusageV1beta1::ConsumerQuotaMetric>

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



2438
2439
2440
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2438

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)


2443
2444
2445
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2443

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2450
2451
2452
2453
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2450

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