Google Cloud Discovery Engine V1 Client - Class StructuredDocumentInfo (1.3.2)

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

Structured search information.

Generated from protobuf message google.cloud.discoveryengine.v1.Answer.Reference.StructuredDocumentInfo

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ Answer \ Reference

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ document string

Document resource name.

↳ struct_data Google\Protobuf\Struct

Structured search data.

getDocument

Document resource name.

Returns
Type Description
string

setDocument

Document resource name.

Parameter
Name Description
var string
Returns
Type Description
$this

getStructData

Structured search data.

Returns
Type Description
Google\Protobuf\Struct|null

hasStructData

clearStructData

setStructData

Structured search data.

Parameter
Name Description
var Google\Protobuf\Struct
Returns
Type Description
$this