class Google::Apis::LoggingV2::ListLogMetricsResponse

Result returned from ListLogMetrics.

Attributes

metrics[RW]

A list of logs-based metrics. Corresponds to the JSON property `metrics` @return [Array<Google::Apis::LoggingV2::LogMetric>]

next_page_token[RW]

If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken. Corresponds to the JSON property `nextPageToken` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/logging_v2/classes.rb, line 766
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/logging_v2/classes.rb, line 771
def update!(**args)
  @metrics = args[:metrics] if args.key?(:metrics)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end