Recommender V1 Client - Class RecommendationContent (1.10.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var array<Google\Cloud\Recommender\V1\OperationGroup>
Returns
TypeDescription
$this

getOverview

Condensed overview information about the recommendation.

Returns
TypeDescription
Google\Protobuf\Struct|null

hasOverview

clearOverview

setOverview

Condensed overview information about the recommendation.

Parameter
NameDescription
var Google\Protobuf\Struct
Returns
TypeDescription
$this