Recommender V1 Client - Class ListInsightsResponse (1.7.8)

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

Response to the ListInsights method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ insights array<Google\Cloud\Recommender\V1\Insight>

The set of insights 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.

getInsights

The set of insights for the parent resource.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInsights

The set of insights for the parent resource.

Parameter
NameDescription
var array<Google\Cloud\Recommender\V1\Insight>
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