Reference documentation and code samples for the Google Analytics Data V1alpha Client class DataTruncationReason.
Describes a reason for data truncation in the report.
Generated from protobuf message google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason
Namespace
Google \ Analytics \ Data \ V1alpha \ ResponseMetaDataMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ data_truncation_type |
int
The type of data truncation. |
↳ data_truncation_message |
string
A descriptive message explaining the data truncation. |
↳ data_truncation_date |
string
The data truncation date in the format YYYY-MM-DD. Indicates data before this date is truncated. |
↳ data_truncation_date_ranges |
array<DataTruncationReason\DataTruncationDateRange>
The truncated date ranges. |
getDataTruncationType
The type of data truncation.
| Returns | |
|---|---|
| Type | Description |
int |
|
hasDataTruncationType
clearDataTruncationType
setDataTruncationType
The type of data truncation.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDataTruncationMessage
A descriptive message explaining the data truncation.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasDataTruncationMessage
clearDataTruncationMessage
setDataTruncationMessage
A descriptive message explaining the data truncation.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDataTruncationDate
The data truncation date in the format YYYY-MM-DD.
Indicates data before this date is truncated.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasDataTruncationDate
clearDataTruncationDate
setDataTruncationDate
The data truncation date in the format YYYY-MM-DD.
Indicates data before this date is truncated.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDataTruncationDateRanges
The truncated date ranges.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<DataTruncationReason\DataTruncationDateRange> |
|
setDataTruncationDateRanges
The truncated date ranges.
| Parameter | |
|---|---|
| Name | Description |
var |
array<DataTruncationReason\DataTruncationDateRange>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|