Google Analytics Data V1alpha Client - Class CreateReportTaskRequest (0.23.2) Stay organized with collections Save and categorize content based on your preferences.
Beta
This library is covered by thePre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see thelaunch stage descriptions.
Reference documentation and code samples for the Google Analytics Data V1alpha Client class CreateReportTaskRequest.
A request to create a report task.
Generated from protobuf messagegoogle.analytics.data.v1alpha.CreateReportTaskRequest
Namespace
Google \ Analytics \ Data \ V1alphaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ parent | stringRequired. The parent resource where this report task will be created. Format: |
↳ report_task | ReportTaskRequired. The report task configuration to create. |
getParent
Required. The parent resource where this report task will be created.
Format:properties/{propertyId}
| Returns | |
|---|---|
| Type | Description |
string | |
setParent
Required. The parent resource where this report task will be created.
Format:properties/{propertyId}
| Parameter | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$this | |
getReportTask
Required. The report task configuration to create.
| Returns | |
|---|---|
| Type | Description |
ReportTask|null | |
hasReportTask
clearReportTask
setReportTask
Required. The report task configuration to create.
| Parameter | |
|---|---|
| Name | Description |
var | ReportTask |
| Returns | |
|---|---|
| Type | Description |
$this | |
static::build
| Parameters | |
|---|---|
| Name | Description |
parent | stringRequired. The parent resource where this report task will be created.Format: |
reportTask | ReportTaskRequired. The report task configuration to create. |
| Returns | |
|---|---|
| Type | Description |
CreateReportTaskRequest | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-10 UTC.