Class: Google::Apis::CloudmonitoringV2beta2::ListTimeseriesDescriptorsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

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

#kindString

Identifies what kind of resource this is. Value: the fixed string " cloudmonitoring#listTimeseriesDescriptorsResponse". Corresponds to the JSON property kind

Returns:

  • (String)

127
128
129
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 127

def kind
  @kind
end

#next_page_tokenString

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

Returns:

  • (String)

134
135
136
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 134

def next_page_token
  @next_page_token
end

#oldestDateTime

The oldest timestamp of the interval of this query, as an RFC 3339 string. Corresponds to the JSON property oldest

Returns:

  • (DateTime)

139
140
141
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 139

def oldest
  @oldest
end

#timeseriesArray<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

#youngestDateTime

The youngest timestamp of the interval of this query, as an RFC 3339 string. Corresponds to the JSON property youngest

Returns:

  • (DateTime)

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