Google Shopping Merchant Reviews V1beta Client - Class GetProductReviewRequest (0.1.0)

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

Request message for the GetProductReview method.

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

Namespace

Google \ Shopping \ Merchant \ Reviews \ V1beta

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