Recommender V1 Client - Class ReliabilityProjection (1.9.1)

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

Contains information on the impact of a reliability recommendation.

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

Namespace

Google \ Cloud \ Recommender \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ risks array

Reliability risks mitigated by this recommendation.

↳ details Google\Protobuf\Struct

Per-recommender projection.

getRisks

Reliability risks mitigated by this recommendation.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setRisks

Reliability risks mitigated by this recommendation.

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this

getDetails

Per-recommender projection.

Returns
TypeDescription
Google\Protobuf\Struct|null

hasDetails

clearDetails

setDetails

Per-recommender projection.

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