Google Shopping Merchant Reviews V1 Client - Class GetProductReviewRequest (0.7.0)

Reference documentation and code samples for the Google Shopping Merchant Reviews V1 Client class GetProductReviewRequest.

Request message for the GetProductReview method.

Generated from protobuf message google.shopping.merchant.reviews.v1.GetProductReviewRequest

Namespace

Google \ Shopping \ Merchant \ Reviews \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The ID of the merchant review. Format: accounts/{account}/productReviews/{productReview}

getName

Required. The ID of the merchant review.

Format: accounts/{account}/productReviews/{productReview}

Returns
Type Description
string

setName

Required. The ID of the merchant review.

Format: accounts/{account}/productReviews/{productReview}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The ID of the merchant review. Format: accounts/{account}/productReviews/{productReview} Please see ProductReviewsServiceClient::productReviewName() for help formatting this field.

Returns
Type Description
GetProductReviewRequest