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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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, |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array<Google\Analytics\Data\V1beta\ResponseMetaData\SchemaRestrictionResponse\ActiveMetricRestriction>
|
Returns | |
---|---|
Type | Description |
$this |