Google Cloud Ces V1 Client - Class CitedChunk (0.3.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class CitedChunk.

Piece of cited information.

Generated from protobuf message google.cloud.ces.v1.Citations.CitedChunk

Namespace

Google \ Cloud \ Ces \ V1 \ Citations

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ uri string

URI used for citation.

↳ title string

Title of the cited document.

↳ text string

Text used for citation.

↳ requires_attribution bool

Whether this citation requires attribution to be shown to the end users.

getUri

URI used for citation.

Returns
Type Description
string

setUri

URI used for citation.

Parameter
Name Description
var string
Returns
Type Description
$this

getTitle

Title of the cited document.

Returns
Type Description
string

setTitle

Title of the cited document.

Parameter
Name Description
var string
Returns
Type Description
$this

getText

Text used for citation.

Returns
Type Description
string

setText

Text used for citation.

Parameter
Name Description
var string
Returns
Type Description
$this

getRequiresAttribution

Whether this citation requires attribution to be shown to the end users.

Returns
Type Description
bool

setRequiresAttribution

Whether this citation requires attribution to be shown to the end users.

Parameter
Name Description
var bool
Returns
Type Description
$this