Class: Google::Analytics::Data::V1beta::ResponseMetaData::SchemaRestrictionResponse

Inherits:
Object
  • Object
show all
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

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.

Returns:



712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
# File 'proto_docs/google/analytics/data/v1beta/data.rb', line 712

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