Chronicle V1 API - Class Google::Backstory::Metric (v1.4.0)

Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::Metric.

Stores precomputed aggregated analytic data for an entity.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#dimensions

def dimensions() -> ::Array<::Google::Backstory::Metric::Dimension>
Returns

#dimensions=

def dimensions=(value) -> ::Array<::Google::Backstory::Metric::Dimension>
Parameter
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Display name of the custom metric. Google-authored metrics do not have a display name.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Display name of the custom metric. Google-authored metrics do not have a display name.
Returns
  • (::String) — Display name of the custom metric. Google-authored metrics do not have a display name.

#export_window

def export_window() -> ::Integer
Returns
  • (::Integer) — Export window for which the metric was exported.

#export_window=

def export_window=(value) -> ::Integer
Parameter
  • value (::Integer) — Export window for which the metric was exported.
Returns
  • (::Integer) — Export window for which the metric was exported.

#first_seen

def first_seen() -> ::Google::Protobuf::Timestamp
Returns

#first_seen=

def first_seen=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#last_seen

def last_seen() -> ::Google::Protobuf::Timestamp
Returns

#last_seen=

def last_seen=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#match_variables

def match_variables() -> ::Array<::Google::Backstory::FindingVariable>
Returns

#match_variables=

def match_variables=(value) -> ::Array<::Google::Backstory::FindingVariable>
Parameter
Returns

#metric_name

def metric_name() -> ::Google::Backstory::Metric::MetricName
Returns

#metric_name=

def metric_name=(value) -> ::Google::Backstory::Metric::MetricName
Parameter
Returns

#outcome_variables

def outcome_variables() -> ::Array<::Google::Backstory::FindingVariable>
Returns

#outcome_variables=

def outcome_variables=(value) -> ::Array<::Google::Backstory::FindingVariable>
Parameter
Returns

#sum_measure

def sum_measure() -> ::Google::Backstory::Metric::Measure
Returns

#sum_measure=

def sum_measure=(value) -> ::Google::Backstory::Metric::Measure
Parameter
Returns

#time_range

def time_range() -> ::Google::Type::Interval
Returns

#time_range=

def time_range=(value) -> ::Google::Type::Interval
Parameter
Returns

#total_events

def total_events() -> ::Integer
Returns
  • (::Integer) — Total number of events used to calculate the given precomputed metric.

#total_events=

def total_events=(value) -> ::Integer
Parameter
  • value (::Integer) — Total number of events used to calculate the given precomputed metric.
Returns
  • (::Integer) — Total number of events used to calculate the given precomputed metric.