Reference documentation and code samples for the Google Analytics Data V1alpha Client class DataTruncationDateRange.
Define the truncated date range from start_date to end_date.
Generated from protobuf message google.analytics.data.v1alpha.ResponseMetaData.DataTruncationReason.DataTruncationDateRange
Namespace
Google \ Analytics \ Data \ V1alpha \ ResponseMetaData \ DataTruncationReasonMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ start_date |
string
The start date in the format YYYY-MM-DD (inclusive). |
↳ end_date |
string
The end date in the format YYYY-MM-DD (inclusive). |
getStartDate
The start date in the format YYYY-MM-DD (inclusive).
| Returns | |
|---|---|
| Type | Description |
string |
|
hasStartDate
clearStartDate
setStartDate
The start date in the format YYYY-MM-DD (inclusive).
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEndDate
The end date in the format YYYY-MM-DD (inclusive).
| Returns | |
|---|---|
| Type | Description |
string |
|
hasEndDate
clearEndDate
setEndDate
The end date in the format YYYY-MM-DD (inclusive).
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|