Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb

Overview

A sequence of time series.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence

Returns a new instance of GoogleCloudApigeeV1QueryTimeSeriesStatsResponseSequence.



8086
8087
8088
# File 'lib/google/apis/apigee_v1/classes.rb', line 8086

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dimensionsHash<String,String>

Map of dimensions and their values that uniquely identifies a time series sequence. Corresponds to the JSON property dimensions

Returns:

  • (Hash<String,String>)


8079
8080
8081
# File 'lib/google/apis/apigee_v1/classes.rb', line 8079

def dimensions
  @dimensions
end

#pointsArray<Array<Object>>

List of points. First value of each inner list is a timestamp. Corresponds to the JSON property points

Returns:

  • (Array<Array<Object>>)


8084
8085
8086
# File 'lib/google/apis/apigee_v1/classes.rb', line 8084

def points
  @points
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8091
8092
8093
8094
# File 'lib/google/apis/apigee_v1/classes.rb', line 8091

def update!(**args)
  @dimensions = args[:dimensions] if args.key?(:dimensions)
  @points = args[:points] if args.key?(:points)
end