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
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.

Generated from protobuf field string header = 1;

Returns
TypeDescription
string

setHeader

Required. Column heading.

Generated from protobuf field string header = 1;

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