Recommender V1 Client - Class ReliabilityProjection (2.0.2)

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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setRisks

Reliability risks mitigated by this recommendation.

Parameter
Name Description
var int[]
Returns
Type Description
$this

getDetails

Per-recommender projection.

Returns
Type Description
Google\Protobuf\Struct|null

hasDetails

clearDetails

setDetails

Per-recommender projection.

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