Google Cloud Gemini Data Analytics V1beta Client - Class TextMessage (0.4.0)

Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class TextMessage.

A multi-part text message.

Generated from protobuf message google.cloud.geminidataanalytics.v1beta.TextMessage

Namespace

Google \ Cloud \ GeminiDataAnalytics \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parts array

Optional. The parts of the message.

↳ text_type int

Optional. The type of the text message.

getParts

Optional. The parts of the message.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setParts

Optional. The parts of the message.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getTextType

Optional. The type of the text message.

Returns
Type Description
int Enum of type TextType.

setTextType

Optional. The type of the text message.

Parameter
Name Description
var int

Enum of type TextType.

Returns
Type Description
$this