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

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

Encapsulates a review snippet.

Generated from protobuf message google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet

Namespace

Google \ Cloud \ AIPlatform \ V1 \ GroundingChunk \ Maps \ PlaceAnswerSources

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ review_id string

Id of the review referencing the place.

↳ google_maps_uri string

A link to show the review on Google Maps.

↳ title string

Title of the review.

getReviewId

Id of the review referencing the place.

Returns
Type Description
string

setReviewId

Id of the review referencing the place.

Parameter
Name Description
var string
Returns
Type Description
$this

getGoogleMapsUri

A link to show the review on Google Maps.

Returns
Type Description
string

setGoogleMapsUri

A link to show the review on Google Maps.

Parameter
Name Description
var string
Returns
Type Description
$this

getTitle

Title of the review.

Returns
Type Description
string

setTitle

Title of the review.

Parameter
Name Description
var string
Returns
Type Description
$this