Class: Google::Apis::LoggingV1beta3::ListLogMetricsResponse
- Inherits:
-
Object
- Object
- Google::Apis::LoggingV1beta3::ListLogMetricsResponse
- 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
-
#metrics ⇒ Array<Google::Apis::LoggingV1beta3::LogMetric>
The list of metrics that was requested.
-
#next_page_token ⇒ String
If there are more results, then
nextPageToken
is returned in the response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListLogMetricsResponse
constructor
A new instance of ListLogMetricsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
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
#metrics ⇒ Array<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_token ⇒ String
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
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 |