Google Cloud Ai Platform V1 Client - Class SourceFlaggingUri (1.39.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class SourceFlaggingUri.

Source content flagging uri for a place or review. This is currently populated only for Google Maps grounding.

Generated from protobuf message google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri

Namespace

Google \ Cloud \ AIPlatform \ V1 \ GroundingMetadata

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ source_id string

Id of the place or review.

↳ flag_content_uri string

A link where users can flag a problem with the source (place or review). (-- The link is generated by Google and it does not contain information from the user query. It may contain information of the content it is flagging, which can be used to identify places. --)

getSourceId

Id of the place or review.

Returns
Type Description
string

setSourceId

Id of the place or review.

Parameter
Name Description
var string
Returns
Type Description
$this

getFlagContentUri

A link where users can flag a problem with the source (place or review).

(-- The link is generated by Google and it does not contain information from the user query. It may contain information of the content it is flagging, which can be used to identify places. --)

Returns
Type Description
string

setFlagContentUri

A link where users can flag a problem with the source (place or review).

(-- The link is generated by Google and it does not contain information from the user query. It may contain information of the content it is flagging, which can be used to identify places. --)

Parameter
Name Description
var string
Returns
Type Description
$this