Google Cloud Dialogflow V2 Client - Class ColumnProperties (1.8.0)

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
NameDescription
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
TypeDescription
string

setHeader

Required. Column heading.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getHorizontalAlignment

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

Returns
TypeDescription
int

setHorizontalAlignment

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this