Class: Google::Analytics::Data::V1alpha::MetricMetadata
- Inherits:
-
Object
- Object
- Google::Analytics::Data::V1alpha::MetricMetadata
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/analytics/data/v1alpha/data.rb
Overview
Explains a metric.
Instance Attribute Summary collapse
-
#api_name ⇒ ::String
A metric name.
-
#custom_definition ⇒ ::Boolean
True if the metric is a custom metric for this property.
-
#deprecated_api_names ⇒ ::Array<::String>
Still usable but deprecated names for this metric.
-
#description ⇒ ::String
Description of how this metric is used and calculated.
-
#expression ⇒ ::String
The mathematical expression for this derived metric.
-
#type ⇒ ::Google::Analytics::Data::V1alpha::MetricType
The type of this metric.
-
#ui_name ⇒ ::String
This metric's name within the Google Analytics user interface.
Instance Attribute Details
#api_name ⇒ ::String
Returns A metric name. Useable in Metric's name
. For example,
eventCount
.
820 821 822 823 |
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 820 class MetricMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#custom_definition ⇒ ::Boolean
Returns True if the metric is a custom metric for this property.
820 821 822 823 |
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 820 class MetricMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#deprecated_api_names ⇒ ::Array<::String>
Returns Still usable but deprecated names for this metric. If populated, this
metric is available by either apiName
or one of deprecatedApiNames
for a period of time. After the deprecation period, the metric will be
available only by apiName
.
820 821 822 823 |
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 820 class MetricMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#description ⇒ ::String
Returns Description of how this metric is used and calculated.
820 821 822 823 |
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 820 class MetricMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#expression ⇒ ::String
Returns The mathematical expression for this derived metric. Can be used in
Metric's expression
field for equivalent reports. Most metrics
are not expressions, and for non-expressions, this field is empty.
820 821 822 823 |
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 820 class MetricMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#type ⇒ ::Google::Analytics::Data::V1alpha::MetricType
Returns The type of this metric.
820 821 822 823 |
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 820 class MetricMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#ui_name ⇒ ::String
Returns This metric's name within the Google Analytics user interface. For example,
Event count
.
820 821 822 823 |
# File 'proto_docs/google/analytics/data/v1alpha/data.rb', line 820 class MetricMetadata include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |