Google Cloud Discovery Engine V1beta Client - Class Reference (0.6.0)

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

Defines reference in reply.

Generated from protobuf message google.cloud.discoveryengine.v1beta.Reply.Reference

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta \ Reply

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ uri string

URI link reference.

↳ anchor_text string

Anchor text.

↳ start int

Anchor text start index.

↳ end int

Anchor text end index.

getUri

URI link reference.

Returns
TypeDescription
string

setUri

URI link reference.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAnchorText

Anchor text.

Returns
TypeDescription
string

setAnchorText

Anchor text.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStart

Anchor text start index.

Returns
TypeDescription
int

setStart

Anchor text start index.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getEnd

Anchor text end index.

Returns
TypeDescription
int

setEnd

Anchor text end index.

Parameter
NameDescription
var int
Returns
TypeDescription
$this