Recommender V1 Client - Class ListRecommendationsResponse (1.9.1)

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

Response to the ListRecommendations method.

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

Namespace

Google \ Cloud \ Recommender \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ recommendations array<Google\Cloud\Recommender\V1\Recommendation>

The set of recommendations for the parent resource.

↳ next_page_token string

A token that can be used to request the next page of results. This field is empty if there are no additional results.

getRecommendations

The set of recommendations for the parent resource.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRecommendations

The set of recommendations for the parent resource.

Parameter
NameDescription
var array<Google\Cloud\Recommender\V1\Recommendation>
Returns
TypeDescription
$this

getNextPageToken

A token that can be used to request the next page of results. This field is empty if there are no additional results.

Returns
TypeDescription
string

setNextPageToken

A token that can be used to request the next page of results. This field is empty if there are no additional results.

Parameter
NameDescription
var string
Returns
TypeDescription
$this