Google Cloud Discovery Engine V1beta Client - Class UnstructuredDocumentInfo (0.11.1)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class UnstructuredDocumentInfo.

Unstructured document information.

Generated from protobuf message google.cloud.discoveryengine.v1beta.Answer.Reference.UnstructuredDocumentInfo

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta \ Answer \ Reference

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ document string

Document resource name.

↳ uri string

URI for the document.

↳ title string

Title.

↳ chunk_contents array<Google\Cloud\DiscoveryEngine\V1beta\Answer\Reference\UnstructuredDocumentInfo\ChunkContent>

List of cited chunk contents derived from document content.

getDocument

Document resource name.

Returns
Type Description
string

setDocument

Document resource name.

Parameter
Name Description
var string
Returns
Type Description
$this

getUri

URI for the document.

Returns
Type Description
string

setUri

URI for the document.

Parameter
Name Description
var string
Returns
Type Description
$this

getTitle

Title.

Returns
Type Description
string

setTitle

Title.

Parameter
Name Description
var string
Returns
Type Description
$this

getChunkContents

List of cited chunk contents derived from document content.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setChunkContents

List of cited chunk contents derived from document content.

Parameter
Name Description
var array<Google\Cloud\DiscoveryEngine\V1beta\Answer\Reference\UnstructuredDocumentInfo\ChunkContent>
Returns
Type Description
$this