Google Analytics Data V1alpha Client - Class ReportMetadata (0.17.1)

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

The report metadata for a specific report task.

Generated from protobuf message google.analytics.data.v1alpha.ReportTask.ReportMetadata

Namespace

Google \ Analytics \ Data \ V1alpha \ ReportTask

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ state int

Output only. The current state for this report task.

↳ begin_creating_time Google\Protobuf\Timestamp

Output only. The time when CreateReportTask was called and the report began the CREATING state.

↳ creation_quota_tokens_charged int

Output only. The total quota tokens charged during creation of the report. Because this token count is based on activity from the CREATING state, this tokens charge will be fixed once a report task enters the ACTIVE or FAILED state.

↳ task_row_count int

Output only. The total number of rows in the report result. This field will be populated when the state is active. You can utilize task_row_count for pagination within the confines of their existing report.

↳ error_message string

Output only. Error message is populated if a report task fails during creation.

↳ total_row_count int

Output only. The total number of rows in Google Analytics storage. If you want to query additional data rows beyond the current report, they can initiate a new report task based on the total_row_count. The task_row_count represents the number of rows specifically pertaining to the current report, whereas total_row_count encompasses the total count of rows across all data retrieved from Google Analytics storage. For example, suppose the current report's task_row_count is 20, displaying the data from the first 20 rows. Simultaneously, the total_row_count is 30, indicating the presence of data for all 30 rows. The task_row_count can be utilizated to paginate through the initial 20 rows. To expand the report and include data from all 30 rows, a new report task can be created using the total_row_count to access the full set of 30 rows' worth of data.

getState

Output only. The current state for this report task.

Returns
Type Description
int

hasState

clearState

setState

Output only. The current state for this report task.

Parameter
Name Description
var int
Returns
Type Description
$this

getBeginCreatingTime

Output only. The time when CreateReportTask was called and the report began the CREATING state.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasBeginCreatingTime

clearBeginCreatingTime

setBeginCreatingTime

Output only. The time when CreateReportTask was called and the report began the CREATING state.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getCreationQuotaTokensCharged

Output only. The total quota tokens charged during creation of the report. Because this token count is based on activity from the CREATING state, this tokens charge will be fixed once a report task enters the ACTIVE or FAILED state.

Returns
Type Description
int

setCreationQuotaTokensCharged

Output only. The total quota tokens charged during creation of the report. Because this token count is based on activity from the CREATING state, this tokens charge will be fixed once a report task enters the ACTIVE or FAILED state.

Parameter
Name Description
var int
Returns
Type Description
$this

getTaskRowCount

Output only. The total number of rows in the report result. This field will be populated when the state is active. You can utilize task_row_count for pagination within the confines of their existing report.

Returns
Type Description
int

hasTaskRowCount

clearTaskRowCount

setTaskRowCount

Output only. The total number of rows in the report result. This field will be populated when the state is active. You can utilize task_row_count for pagination within the confines of their existing report.

Parameter
Name Description
var int
Returns
Type Description
$this

getErrorMessage

Output only. Error message is populated if a report task fails during creation.

Returns
Type Description
string

hasErrorMessage

clearErrorMessage

setErrorMessage

Output only. Error message is populated if a report task fails during creation.

Parameter
Name Description
var string
Returns
Type Description
$this

getTotalRowCount

Output only. The total number of rows in Google Analytics storage. If you want to query additional data rows beyond the current report, they can initiate a new report task based on the total_row_count.

The task_row_count represents the number of rows specifically pertaining to the current report, whereas total_row_count encompasses the total count of rows across all data retrieved from Google Analytics storage. For example, suppose the current report's task_row_count is 20, displaying the data from the first 20 rows. Simultaneously, the total_row_count is 30, indicating the presence of data for all 30 rows. The task_row_count can be utilizated to paginate through the initial 20 rows. To expand the report and include data from all 30 rows, a new report task can be created using the total_row_count to access the full set of 30 rows' worth of data.

Returns
Type Description
int

hasTotalRowCount

clearTotalRowCount

setTotalRowCount

Output only. The total number of rows in Google Analytics storage. If you want to query additional data rows beyond the current report, they can initiate a new report task based on the total_row_count.

The task_row_count represents the number of rows specifically pertaining to the current report, whereas total_row_count encompasses the total count of rows across all data retrieved from Google Analytics storage. For example, suppose the current report's task_row_count is 20, displaying the data from the first 20 rows. Simultaneously, the total_row_count is 30, indicating the presence of data for all 30 rows. The task_row_count can be utilizated to paginate through the initial 20 rows. To expand the report and include data from all 30 rows, a new report task can be created using the total_row_count to access the full set of 30 rows' worth of data.

Parameter
Name Description
var int
Returns
Type Description
$this