Reference documentation and code samples for the Google Shopping Merchant Reviews V1beta Client class ProductReview.
A review for a product. For more information, see Introduction to Product Review Feeds
Generated from protobuf message google.shopping.merchant.reviews.v1beta.ProductReview
Namespace
Google \ Shopping \ Merchant \ Reviews \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The name of the product review. Format: "{productreview.name=accounts/{account}/productReviews/{productReview}}"
↳ product_review_id
string
Required. The permanent, unique identifier for the product review in the publisher’s system.
↳ attributes
↳ custom_attributes
array< Google\Shopping\Type\CustomAttribute
>
Optional. A list of custom (merchant-provided) attributes.
↳ data_source
string
Output only. The primary data source of the product review.
↳ product_review_status
ProductReviewStatus
Output only. The status of a product review, data validation issues, that is, information about a product review computed asynchronously.
getName
Identifier. The name of the product review.
Format: "{productreview.name=accounts/{account}/productReviews/{productReview}}"
string
setName
Identifier. The name of the product review.
Format: "{productreview.name=accounts/{account}/productReviews/{productReview}}"
var
string
$this
getProductReviewId
Required. The permanent, unique identifier for the product review in the publisher’s system.
string
setProductReviewId
Required. The permanent, unique identifier for the product review in the publisher’s system.
var
string
$this
getAttributes
Optional. A list of product review attributes.
hasAttributes
clearAttributes
setAttributes
Optional. A list of product review attributes.
$this
getCustomAttributes
Optional. A list of custom (merchant-provided) attributes.
setCustomAttributes
Optional. A list of custom (merchant-provided) attributes.
$this
getDataSource
Output only. The primary data source of the product review.
string
setDataSource
Output only. The primary data source of the product review.
var
string
$this
getProductReviewStatus
Output only. The status of a product review, data validation issues, that is, information about a product review computed asynchronously.
hasProductReviewStatus
clearProductReviewStatus
setProductReviewStatus
Output only. The status of a product review, data validation issues, that is, information about a product review computed asynchronously.
$this