Google Analytics Data V1beta Client - Class SchemaRestrictionResponse (0.11.2)

Reference documentation and code samples for the Google Analytics Data V1beta Client class SchemaRestrictionResponse.

The schema restrictions actively enforced in creating this report. To learn more, see Access and data-restriction management.

Generated from protobuf message google.analytics.data.v1beta.ResponseMetaData.SchemaRestrictionResponse

Namespace

Google \ Analytics \ Data \ V1beta \ ResponseMetaData

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ active_metric_restrictions array<Google\Analytics\Data\V1beta\ResponseMetaData\SchemaRestrictionResponse\ActiveMetricRestriction>

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.

getActiveMetricRestrictions

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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setActiveMetricRestrictions

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.

Parameter
NameDescription
var array<Google\Analytics\Data\V1beta\ResponseMetaData\SchemaRestrictionResponse\ActiveMetricRestriction>
Returns
TypeDescription
$this