Google Cloud Channel V1 Client - Class Column (1.7.0)

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

The definition of a report column. Specifies the data properties in the corresponding position of the report rows.

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

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ column_id string

The unique name of the column (for example, customer_domain, channel_partner, customer_cost). You can use column IDs in RunReportJobRequest.filter. To see all reports and their columns, call CloudChannelReportsService.ListReports.

↳ display_name string

The column's display name.

↳ data_type int

The type of the values for this column.

getColumnId

The unique name of the column (for example, customer_domain, channel_partner, customer_cost). You can use column IDs in RunReportJobRequest.filter.

To see all reports and their columns, call CloudChannelReportsService.ListReports.

Returns
Type Description
string

setColumnId

The unique name of the column (for example, customer_domain, channel_partner, customer_cost). You can use column IDs in RunReportJobRequest.filter.

To see all reports and their columns, call CloudChannelReportsService.ListReports.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

The column's display name.

Returns
Type Description
string

setDisplayName

The column's display name.

Parameter
Name Description
var string
Returns
Type Description
$this

getDataType

The type of the values for this column.

Returns
Type Description
int

setDataType

The type of the values for this column.

Parameter
Name Description
var int
Returns
Type Description
$this