Reference documentation and code samples for the Recommender V1 Client class Impact.
Contains the impact a recommendation can have for a given category.
Generated from protobuf message google.cloud.recommender.v1.Impact
Namespace
Google \ Cloud \ Recommender \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ category
int
Category that is being targeted.
↳ cost_projection
↳ security_projection
↳ sustainability_projection
↳ reliability_projection
getCategory
Category that is being targeted.
int
setCategory
Category that is being targeted.
var
int
$this
getCostProjection
Use with CategoryType.COST
hasCostProjection
setCostProjection
Use with CategoryType.COST
$this
getSecurityProjection
Use with CategoryType.SECURITY
hasSecurityProjection
setSecurityProjection
Use with CategoryType.SECURITY
$this
getSustainabilityProjection
Use with CategoryType.SUSTAINABILITY
hasSustainabilityProjection
setSustainabilityProjection
Use with CategoryType.SUSTAINABILITY
$this
getReliabilityProjection
Use with CategoryType.RELIABILITY
hasReliabilityProjection
setReliabilityProjection
Use with CategoryType.RELIABILITY
$this
getProjection
string