Class: Google::Apis::LoggingV1beta3::ListLogMetricsResponse

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

Overview

Result returned from ListLogMetrics.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListLogMetricsResponse

Returns a new instance of ListLogMetricsResponse



712
713
714
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 712

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

Instance Attribute Details

#metricsArray<Google::Apis::LoggingV1beta3::LogMetric>

The list of metrics that was requested. Corresponds to the JSON property metrics



702
703
704
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 702

def metrics
  @metrics
end

#next_page_tokenString

If there are more results, then nextPageToken is returned in the response. To get the next batch of entries, use the value of nextPageToken as pageToken in the next call of ListLogMetrics. If nextPageToken is empty, then there are no more results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


710
711
712
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 710

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



717
718
719
720
# File 'generated/google/apis/logging_v1beta3/classes.rb', line 717

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