Google Cloud Dialogflow V2 Client - Class ColumnProperties (1.0.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

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.

Generated from protobuf field string header = 1;

Returns
Type Description
string

setHeader

Required. Column heading.

Generated from protobuf field string header = 1;

Parameter
Name Description
var string
Returns
Type Description
$this

getHorizontalAlignment

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

Generated from protobuf field .google.cloud.dialogflow.v2.Intent.Message.ColumnProperties.HorizontalAlignment horizontal_alignment = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

setHorizontalAlignment

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

Generated from protobuf field .google.cloud.dialogflow.v2.Intent.Message.ColumnProperties.HorizontalAlignment horizontal_alignment = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
var int
Returns
Type Description
$this