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
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 |
getReport
Details of the completed report.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Channel\V1\Report|null |
|
hasReport
clearReport
setReport
Details of the completed report.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Channel\V1\Report
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRowCount
The total number of rows of data in the final report.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setRowCount
The total number of rows of data in the final report.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDateRange
The date range of reported usage.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Channel\V1\DateRange|null |
|
hasDateRange
clearDateRange
setDateRange
The date range of reported usage.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Channel\V1\DateRange
|
| Returns | |
|---|---|
| Type | Description |
$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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
Google\Cloud\Channel\V1\DateRange
|
| Returns | |
|---|---|
| Type | Description |
$this |
|