Recommender V1 Client - Class GetInsightRequest (2.0.0-RC1)

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

Request to the GetInsight method.

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

Namespace

Google \ Cloud \ Recommender \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the insight.

getName

Required. Name of the insight.

Returns
Type Description
string

setName

Required. Name of the insight.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
Google\Cloud\Recommender\V1\GetInsightRequest