Google Cloud Dialogflow V2 Client - Class ColumnProperties (1.15.1)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ColumnProperties.

Column properties for TableCard.

Generated from protobuf message google.cloud.dialogflow.v2.Intent.Message.ColumnProperties

Namespace

Google \ Cloud \ Dialogflow \ V2 \ Intent \ Message

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ header string

Required. Column heading.

↳ horizontal_alignment int

Optional. Defines text alignment for all cells in this column.

getHeader

Required. Column heading.

Returns
Type Description
string

setHeader

Required. Column heading.

Parameter
Name Description
var string
Returns
Type Description
$this

getHorizontalAlignment

Optional. Defines text alignment for all cells in this column.

Returns
Type Description
int

setHorizontalAlignment

Optional. Defines text alignment for all cells in this column.

Parameter
Name Description
var int
Returns
Type Description
$this