Class: Google::Apis::CloudmonitoringV2beta2::ListTimeseriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudmonitoringV2beta2::ListTimeseriesResponse
- Defined in:
- generated/google/apis/cloudmonitoring_v2beta2/classes.rb,
generated/google/apis/cloudmonitoring_v2beta2/representations.rb,
generated/google/apis/cloudmonitoring_v2beta2/representations.rb
Overview
The response of cloudmonitoring.timeseries.list
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#next_page_token ⇒ String
Pagination token.
-
#oldest ⇒ DateTime
The oldest timestamp of the interval of this query as an RFC 3339 string.
-
#timeseries ⇒ Array<Google::Apis::CloudmonitoringV2beta2::Timeseries>
The returned time series.
-
#youngest ⇒ DateTime
The youngest timestamp of the interval of this query as an RFC 3339 string.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListTimeseriesResponse
constructor
A new instance of ListTimeseriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListTimeseriesResponse
Returns a new instance of ListTimeseriesResponse.
218 219 220 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 218 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
cloudmonitoring#listTimeseriesResponse".
Corresponds to the JSON property kind
193 194 195 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 193 def kind @kind end |
#next_page_token ⇒ String
Pagination token. If present, indicates that additional results are available
for retrieval. To access the results past the pagination limit, set the
pageToken query parameter to this value. All of the points of a time series
will be returned before returning any point of the subsequent time series.
Corresponds to the JSON property nextPageToken
201 202 203 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 201 def next_page_token @next_page_token end |
#oldest ⇒ DateTime
The oldest timestamp of the interval of this query as an RFC 3339 string.
Corresponds to the JSON property oldest
206 207 208 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 206 def oldest @oldest end |
#timeseries ⇒ Array<Google::Apis::CloudmonitoringV2beta2::Timeseries>
The returned time series.
Corresponds to the JSON property timeseries
211 212 213 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 211 def timeseries @timeseries end |
#youngest ⇒ DateTime
The youngest timestamp of the interval of this query as an RFC 3339 string.
Corresponds to the JSON property youngest
216 217 218 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 216 def youngest @youngest end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
223 224 225 226 227 228 229 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 223 def update!(**args) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @oldest = args[:oldest] if args.key?(:oldest) @timeseries = args[:timeseries] if args.key?(:timeseries) @youngest = args[:youngest] if args.key?(:youngest) end |