Google Analytics Data V1beta Client - Class ResponseMetaData (0.9.5)

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

Response's metadata carrying additional information about the report content.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ data_loss_from_other_row bool

If true, indicates some buckets of dimension combinations are rolled into "(other)" row. This can happen for high cardinality reports.

↳ schema_restriction_response Google\Analytics\Data\V1beta\ResponseMetaData\SchemaRestrictionResponse

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

↳ currency_code string

The currency code used in this report. Intended to be used in formatting currency metrics like purchaseRevenue for visualization. If currency_code was specified in the request, this response parameter will echo the request parameter; otherwise, this response parameter is the property's current currency_code. Currency codes are string encodings of currency types from the ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", "EUR", "JPY". To learn more, see https://support.google.com/analytics/answer/9796179.

↳ time_zone string

The property's current timezone. Intended to be used to interpret time-based dimensions like hour and minute. Formatted as strings from the IANA Time Zone database (https://www.iana.org/time-zones); for example "America/New_York" or "Asia/Tokyo".

↳ empty_reason string

If empty reason is specified, the report is empty for this reason.

↳ subject_to_thresholding bool

If subjectToThresholding is true, this report is subject to thresholding and only returns data that meets the minimum aggregation thresholds. It is possible for a request to be subject to thresholding thresholding and no data is absent from the report, and this happens when all data is above the thresholds. To learn more, see Data thresholds and About Demographics and Interests.

getDataLossFromOtherRow

If true, indicates some buckets of dimension combinations are rolled into "(other)" row. This can happen for high cardinality reports.

Returns
TypeDescription
bool

setDataLossFromOtherRow

If true, indicates some buckets of dimension combinations are rolled into "(other)" row. This can happen for high cardinality reports.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSchemaRestrictionResponse

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

Returns
TypeDescription
Google\Analytics\Data\V1beta\ResponseMetaData\SchemaRestrictionResponse|null

hasSchemaRestrictionResponse

clearSchemaRestrictionResponse

setSchemaRestrictionResponse

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

Parameter
NameDescription
var Google\Analytics\Data\V1beta\ResponseMetaData\SchemaRestrictionResponse
Returns
TypeDescription
$this

getCurrencyCode

The currency code used in this report. Intended to be used in formatting currency metrics like purchaseRevenue for visualization. If currency_code was specified in the request, this response parameter will echo the request parameter; otherwise, this response parameter is the property's current currency_code.

Currency codes are string encodings of currency types from the ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", "EUR", "JPY". To learn more, see https://support.google.com/analytics/answer/9796179.

Returns
TypeDescription
string

hasCurrencyCode

clearCurrencyCode

setCurrencyCode

The currency code used in this report. Intended to be used in formatting currency metrics like purchaseRevenue for visualization. If currency_code was specified in the request, this response parameter will echo the request parameter; otherwise, this response parameter is the property's current currency_code.

Currency codes are string encodings of currency types from the ISO 4217 standard (https://en.wikipedia.org/wiki/ISO_4217); for example "USD", "EUR", "JPY". To learn more, see https://support.google.com/analytics/answer/9796179.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTimeZone

The property's current timezone. Intended to be used to interpret time-based dimensions like hour and minute. Formatted as strings from the IANA Time Zone database (https://www.iana.org/time-zones); for example "America/New_York" or "Asia/Tokyo".

Returns
TypeDescription
string

hasTimeZone

clearTimeZone

setTimeZone

The property's current timezone. Intended to be used to interpret time-based dimensions like hour and minute. Formatted as strings from the IANA Time Zone database (https://www.iana.org/time-zones); for example "America/New_York" or "Asia/Tokyo".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEmptyReason

If empty reason is specified, the report is empty for this reason.

Returns
TypeDescription
string

hasEmptyReason

clearEmptyReason

setEmptyReason

If empty reason is specified, the report is empty for this reason.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSubjectToThresholding

If subjectToThresholding is true, this report is subject to thresholding and only returns data that meets the minimum aggregation thresholds. It is possible for a request to be subject to thresholding thresholding and no data is absent from the report, and this happens when all data is above the thresholds. To learn more, see Data thresholds and About Demographics and Interests.

Returns
TypeDescription
bool

hasSubjectToThresholding

clearSubjectToThresholding

setSubjectToThresholding

If subjectToThresholding is true, this report is subject to thresholding and only returns data that meets the minimum aggregation thresholds. It is possible for a request to be subject to thresholding thresholding and no data is absent from the report, and this happens when all data is above the thresholds. To learn more, see Data thresholds and About Demographics and Interests.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this