Google Analytics Data V1alpha Client - Class CreateReportTaskRequest (0.20.1)

Reference documentation and code samples for the Google Analytics Data V1alpha Client class CreateReportTaskRequest.

A request to create a report task.

Generated from protobuf message google.analytics.data.v1alpha.CreateReportTaskRequest

Namespace

Google \ Analytics \ Data \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ report_task ReportTask

Required. 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 string

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

reportTask ReportTask

Required. The report task configuration to create.

Returns
Type Description
CreateReportTaskRequest