Class: Google::Apis::CloudmonitoringV2beta2::ListTimeseriesDescriptorsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudmonitoringV2beta2::ListTimeseriesDescriptorsResponse
- 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.timeseriesDescriptors.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::TimeseriesDescriptor>
The returned time series descriptors.
-
#youngest ⇒ DateTime
The youngest timestamp of the interval of this query, as an RFC 3339 string.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListTimeseriesDescriptorsResponse
constructor
A new instance of ListTimeseriesDescriptorsResponse.
-
#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) ⇒ ListTimeseriesDescriptorsResponse
Returns a new instance of ListTimeseriesDescriptorsResponse
151 152 153 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 151 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
cloudmonitoring#listTimeseriesDescriptorsResponse".
Corresponds to the JSON property kind
127 128 129 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 127 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 this value
to the pageToken query parameter.
Corresponds to the JSON property nextPageToken
134 135 136 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 134 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
139 140 141 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 139 def oldest @oldest end |
#timeseries ⇒ Array<Google::Apis::CloudmonitoringV2beta2::TimeseriesDescriptor>
The returned time series descriptors.
Corresponds to the JSON property timeseries
144 145 146 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 144 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
149 150 151 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 149 def youngest @youngest end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
156 157 158 159 160 161 162 |
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 156 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 |