Google Analytics Data V1alpha Client - Class CreateReportTaskRequest (0.23.2)

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 \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ parentstring

Required. The parent resource where this report task will be created. Format:properties/{propertyId}

↳ report_taskReportTask

Required. The report task configuration to create.

getParent

Required. The parent resource where this report task will be created.

Format:properties/{propertyId}

Returns
TypeDescription
string

setParent

Required. The parent resource where this report task will be created.

Format:properties/{propertyId}

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getReportTask

Required. The report task configuration to create.

Returns
TypeDescription
ReportTask|null

hasReportTask

clearReportTask

setReportTask

Required. The report task configuration to create.

Parameter
NameDescription
varReportTask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parentstring

Required. The parent resource where this report task will be created.Format:properties/{propertyId}Please seeAlphaAnalyticsDataClient::propertyName() for help formatting this field.

reportTaskReportTask

Required. The report task configuration to create.

Returns
TypeDescription
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.