Google Analytics Data V1beta API - Class Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse::ActiveMetricRestriction (v0.4.3)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Analytics Data V1beta API class Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse::ActiveMetricRestriction.
A metric actively restricted in creating the report.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#metric_name
defmetric_name()->::String
Returns
(::String) — The name of the restricted metric.
#metric_name=
defmetric_name=(value)->::String
Parameter
value (::String) — The name of the restricted metric.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Analytics Data V1beta API - Class Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse::ActiveMetricRestriction (v0.4.3)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.3 (latest)](/ruby/docs/reference/google-analytics-data-v1beta/latest/Google-Analytics-Data-V1beta-ResponseMetaData-SchemaRestrictionResponse-ActiveMetricRestriction)\n- [0.4.2](/ruby/docs/reference/google-analytics-data-v1beta/0.4.2/Google-Analytics-Data-V1beta-ResponseMetaData-SchemaRestrictionResponse-ActiveMetricRestriction) \nReference documentation and code samples for the Google Analytics Data V1beta API class Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse::ActiveMetricRestriction.\n\nA metric actively restricted in creating the report. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #metric_name\n\n def metric_name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The name of the restricted metric.\n\n### #metric_name=\n\n def metric_name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The name of the restricted metric. \n**Returns**\n\n- (::String) --- The name of the restricted metric.\n\n### #restricted_metric_types\n\n def restricted_metric_types() -\u003e ::Array\u003c::Google::Analytics::Data::V1beta::RestrictedMetricType\u003e\n\n**Returns**\n\n- (::Array\\\u003c[::Google::Analytics::Data::V1beta::RestrictedMetricType](./Google-Analytics-Data-V1beta-RestrictedMetricType)\\\u003e) --- The reason for this metric's restriction.\n\n### #restricted_metric_types=\n\n def restricted_metric_types=(value) -\u003e ::Array\u003c::Google::Analytics::Data::V1beta::RestrictedMetricType\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c[::Google::Analytics::Data::V1beta::RestrictedMetricType](./Google-Analytics-Data-V1beta-RestrictedMetricType)\\\u003e) --- The reason for this metric's restriction. \n**Returns**\n\n- (::Array\\\u003c[::Google::Analytics::Data::V1beta::RestrictedMetricType](./Google-Analytics-Data-V1beta-RestrictedMetricType)\\\u003e) --- The reason for this metric's restriction."]]