Reference documentation and code samples for the Google Analytics Data V1beta API class Google::Analytics::Data::V1beta::DimensionMetadata.
Explains a dimension.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#api_name
def api_name() -> ::String
Returns
-
(::String) — This dimension's name. Useable in Dimension's
name
. For example,eventName
.
#api_name=
def api_name=(value) -> ::String
Parameter
-
value (::String) — This dimension's name. Useable in Dimension's
name
. For example,eventName
.
Returns
-
(::String) — This dimension's name. Useable in Dimension's
name
. For example,eventName
.
#category
def category() -> ::String
Returns
- (::String) — The display name of the category that this dimension belongs to. Similar dimensions and metrics are categorized together.
#category=
def category=(value) -> ::String
Parameter
- value (::String) — The display name of the category that this dimension belongs to. Similar dimensions and metrics are categorized together.
Returns
- (::String) — The display name of the category that this dimension belongs to. Similar dimensions and metrics are categorized together.
#custom_definition
def custom_definition() -> ::Boolean
Returns
- (::Boolean) — True if the dimension is a custom dimension for this property.
#custom_definition=
def custom_definition=(value) -> ::Boolean
Parameter
- value (::Boolean) — True if the dimension is a custom dimension for this property.
Returns
- (::Boolean) — True if the dimension is a custom dimension for this property.
#deprecated_api_names
def deprecated_api_names() -> ::Array<::String>
Returns
-
(::Array<::String>) — Still usable but deprecated names for this dimension. If populated, this
dimension is available by either
apiName
or one ofdeprecatedApiNames
for a period of time. After the deprecation period, the dimension will be available only byapiName
.
#deprecated_api_names=
def deprecated_api_names=(value) -> ::Array<::String>
Parameter
-
value (::Array<::String>) — Still usable but deprecated names for this dimension. If populated, this
dimension is available by either
apiName
or one ofdeprecatedApiNames
for a period of time. After the deprecation period, the dimension will be available only byapiName
.
Returns
-
(::Array<::String>) — Still usable but deprecated names for this dimension. If populated, this
dimension is available by either
apiName
or one ofdeprecatedApiNames
for a period of time. After the deprecation period, the dimension will be available only byapiName
.
#description
def description() -> ::String
Returns
- (::String) — Description of how this dimension is used and calculated.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Description of how this dimension is used and calculated.
Returns
- (::String) — Description of how this dimension is used and calculated.
#ui_name
def ui_name() -> ::String
Returns
-
(::String) — This dimension's name within the Google Analytics user interface. For
example,
Event name
.
#ui_name=
def ui_name=(value) -> ::String
Parameter
-
value (::String) — This dimension's name within the Google Analytics user interface. For
example,
Event name
.
Returns
-
(::String) — This dimension's name within the Google Analytics user interface. For
example,
Event name
.