Google Analytics Data V1alpha Client - Class CreateReportTaskRequest (0.17.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 Google\Analytics\Data\V1alpha\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
Google\Analytics\Data\V1alpha\ReportTask|null

hasReportTask

clearReportTask

setReportTask

Required. The report task configuration to create.

Parameter
Name Description
var Google\Analytics\Data\V1alpha\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 Google\Analytics\Data\V1alpha\AlphaAnalyticsDataClient::propertyName() for help formatting this field.

reportTask Google\Analytics\Data\V1alpha\ReportTask

Required. The report task configuration to create.

Returns
Type Description
Google\Analytics\Data\V1alpha\CreateReportTaskRequest