Google Cloud Discovery Engine V1 Client - Class Part (1.3.1)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Part.

Single part of content.

Generated from protobuf message google.cloud.discoveryengine.v1.GroundedGenerationContent.Part

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ GroundedGenerationContent

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ text string

Inline text.

getText

Inline text.

Returns
Type Description
string

hasText

setText

Inline text.

Parameter
Name Description
var string
Returns
Type Description
$this

getData

Returns
Type Description
string