Recommender V1 Client - Class RecommendationContent (2.0.1)

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

Contains what resources are changing and how they are changing.

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

Namespace

Google \ Cloud \ Recommender \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ operation_groups array<Google\Cloud\Recommender\V1\OperationGroup>

Operations to one or more Google Cloud resources grouped in such a way that, all operations within one group are expected to be performed atomically and in an order.

↳ overview Google\Protobuf\Struct

Condensed overview information about the recommendation.

getOperationGroups

Operations to one or more Google Cloud resources grouped in such a way that, all operations within one group are expected to be performed atomically and in an order.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setOperationGroups

Operations to one or more Google Cloud resources grouped in such a way that, all operations within one group are expected to be performed atomically and in an order.

Parameter
Name Description
var array<Google\Cloud\Recommender\V1\OperationGroup>
Returns
Type Description
$this

getOverview

Condensed overview information about the recommendation.

Returns
Type Description
Google\Protobuf\Struct|null

hasOverview

clearOverview

setOverview

Condensed overview information about the recommendation.

Parameter
Name Description
var Google\Protobuf\Struct
Returns
Type Description
$this