Google Cloud Channel V1 Client - Class ReportResultsMetadata (1.6.0)

Reference documentation and code samples for the Google Cloud Channel V1 Client class ReportResultsMetadata.

The features describing the data. Returned by CloudChannelReportsService.RunReportJob and CloudChannelReportsService.FetchReportResults.

Generated from protobuf message google.cloud.channel.v1.ReportResultsMetadata

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ report Google\Cloud\Channel\V1\Report

Details of the completed report.

↳ row_count int|string

The total number of rows of data in the final report.

↳ date_range Google\Cloud\Channel\V1\DateRange

The date range of reported usage.

↳ preceding_date_range Google\Cloud\Channel\V1\DateRange

The usage dates immediately preceding date_range with the same duration. Use this to calculate trending usage and costs. This is only populated if you request trending data. For example, if date_range is July 1-15, preceding_date_range will be June 16-30.

getReport

Details of the completed report.

Returns
TypeDescription
Google\Cloud\Channel\V1\Report|null

hasReport

clearReport

setReport

Details of the completed report.

Parameter
NameDescription
var Google\Cloud\Channel\V1\Report
Returns
TypeDescription
$this

getRowCount

The total number of rows of data in the final report.

Returns
TypeDescription
int|string

setRowCount

The total number of rows of data in the final report.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getDateRange

The date range of reported usage.

Returns
TypeDescription
Google\Cloud\Channel\V1\DateRange|null

hasDateRange

clearDateRange

setDateRange

The date range of reported usage.

Parameter
NameDescription
var Google\Cloud\Channel\V1\DateRange
Returns
TypeDescription
$this

getPrecedingDateRange

The usage dates immediately preceding date_range with the same duration.

Use this to calculate trending usage and costs. This is only populated if you request trending data. For example, if date_range is July 1-15, preceding_date_range will be June 16-30.

Returns
TypeDescription
Google\Cloud\Channel\V1\DateRange|null

hasPrecedingDateRange

clearPrecedingDateRange

setPrecedingDateRange

The usage dates immediately preceding date_range with the same duration.

Use this to calculate trending usage and costs. This is only populated if you request trending data. For example, if date_range is July 1-15, preceding_date_range will be June 16-30.

Parameter
NameDescription
var Google\Cloud\Channel\V1\DateRange
Returns
TypeDescription
$this