Class: AnalyticsOps::Resources::CustomMetric

Inherits:
Value
  • Object
show all
Defined in:
lib/analytics_ops/resources.rb,
sig/analytics_ops.rbs

Overview

Registered custom metric.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Value

#==, fields, #hash, #initialize, #to_h

Constructor Details

This class inherits a constructor from AnalyticsOps::Resources::Value

Instance Attribute Details

#descriptionString (readonly)

Returns the value of attribute description.

Returns:

  • (String)


177
178
179
# File 'sig/analytics_ops.rbs', line 177

def description
  @description
end

#display_nameString (readonly)

Returns the value of attribute display_name.

Returns:

  • (String)


176
177
178
# File 'sig/analytics_ops.rbs', line 176

def display_name
  @display_name
end

#measurement_unitString (readonly)

Returns the value of attribute measurement_unit.

Returns:

  • (String)


179
180
181
# File 'sig/analytics_ops.rbs', line 179

def measurement_unit
  @measurement_unit
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


174
175
176
# File 'sig/analytics_ops.rbs', line 174

def name
  @name
end

#parameter_nameString (readonly)

Returns the value of attribute parameter_name.

Returns:

  • (String)


175
176
177
# File 'sig/analytics_ops.rbs', line 175

def parameter_name
  @parameter_name
end

#restricted_metric_typesArray[String] (readonly)

Returns the value of attribute restricted_metric_types.

Returns:

  • (Array[String])


180
181
182
# File 'sig/analytics_ops.rbs', line 180

def restricted_metric_types
  @restricted_metric_types
end

#scopeString (readonly)

Returns the value of attribute scope.

Returns:

  • (String)


178
179
180
# File 'sig/analytics_ops.rbs', line 178

def scope
  @scope
end