Google Cloud Channel V1 Client - Class Column (1.8.2)

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

The column's display name.

Returns
TypeDescription
string

setDisplayName

The column's display name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataType

The type of the values for this column.

Returns
TypeDescription
int

setDataType

The type of the values for this column.

Parameter
NameDescription
var int
Returns
TypeDescription
$this