Recommender V1 Client - Class GetRecommendationRequest (1.8.2)

Reference documentation and code samples for the Recommender V1 Client class GetRecommendationRequest.

Request to the GetRecommendation method.

Generated from protobuf message google.cloud.recommender.v1.GetRecommendationRequest

Namespace

Google \ Cloud \ Recommender \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the recommendation.

getName

Required. Name of the recommendation.

Returns
TypeDescription
string

setName

Required. Name of the recommendation.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Name of the recommendation. Please see Google\Cloud\Recommender\V1\RecommenderClient::recommendationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Recommender\V1\GetRecommendationRequest