Class: Google::Apis::MonitoringV1::StatisticalTimeSeriesFilter

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

Overview

A filter that ranks streams based on their statistical relation to other streams in a request. Note: This field is deprecated and completely ignored by the API.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StatisticalTimeSeriesFilter

Returns a new instance of StatisticalTimeSeriesFilter.



872
873
874
# File 'generated/google/apis/monitoring_v1/classes.rb', line 872

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

Instance Attribute Details

#num_time_seriesFixnum

How many time series to output. Corresponds to the JSON property numTimeSeries

Returns:

  • (Fixnum)


862
863
864
# File 'generated/google/apis/monitoring_v1/classes.rb', line 862

def num_time_series
  @num_time_series
end

#ranking_methodString

rankingMethod is applied to a set of time series, and then the produced value for each individual time series is used to compare a given time series to others. These are methods that cannot be applied stream-by-stream, but rather require the full context of a request to evaluate time series. Corresponds to the JSON property rankingMethod

Returns:

  • (String)


870
871
872
# File 'generated/google/apis/monitoring_v1/classes.rb', line 870

def ranking_method
  @ranking_method
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



877
878
879
880
# File 'generated/google/apis/monitoring_v1/classes.rb', line 877

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