Class: Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse
- Inherits:
-
Object
- Object
- Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/analytics/data/v1beta/data.rb
Overview
The schema restrictions actively enforced in creating this report. To learn more, see Access and data-restriction management.
Defined Under Namespace
Classes: ActiveMetricRestriction
Instance Attribute Summary collapse
-
#active_metric_restrictions ⇒ ::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse::ActiveMetricRestriction>
All restrictions actively enforced in creating the report.
Instance Attribute Details
#active_metric_restrictions ⇒ ::Array<::Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse::ActiveMetricRestriction>
Returns All restrictions actively enforced in creating the report. For example,
purchaseRevenue
always has the restriction type REVENUE_DATA
.
However, this active response restriction is only populated if the user's
custom role disallows access to REVENUE_DATA
.
731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 |
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 731 class SchemaRestrictionResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A metric actively restricted in creating the report. # @!attribute [rw] metric_name # @return [::String] # The name of the restricted metric. # @!attribute [rw] restricted_metric_types # @return [::Array<::Google::Analytics::Data::V1beta::RestrictedMetricType>] # The reason for this metric's restriction. class ActiveMetricRestriction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |