Reference documentation and code samples for the Recommender V1 API class Google::Cloud::Recommender::V1::Impact.
Contains the impact a recommendation can have for a given category.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#category
def category() -> ::Google::Cloud::Recommender::V1::Impact::Category
Returns
- (::Google::Cloud::Recommender::V1::Impact::Category) — Category that is being targeted.
#category=
def category=(value) -> ::Google::Cloud::Recommender::V1::Impact::Category
Parameter
- value (::Google::Cloud::Recommender::V1::Impact::Category) — Category that is being targeted.
Returns
- (::Google::Cloud::Recommender::V1::Impact::Category) — Category that is being targeted.
#cost_projection
def cost_projection() -> ::Google::Cloud::Recommender::V1::CostProjection
Returns
- (::Google::Cloud::Recommender::V1::CostProjection) — Use with CategoryType.COST
#cost_projection=
def cost_projection=(value) -> ::Google::Cloud::Recommender::V1::CostProjection
Parameter
- value (::Google::Cloud::Recommender::V1::CostProjection) — Use with CategoryType.COST
Returns
- (::Google::Cloud::Recommender::V1::CostProjection) — Use with CategoryType.COST
#reliability_projection
def reliability_projection() -> ::Google::Cloud::Recommender::V1::ReliabilityProjection
Returns
- (::Google::Cloud::Recommender::V1::ReliabilityProjection) — Use with CategoryType.RELIABILITY
#reliability_projection=
def reliability_projection=(value) -> ::Google::Cloud::Recommender::V1::ReliabilityProjection
Parameter
- value (::Google::Cloud::Recommender::V1::ReliabilityProjection) — Use with CategoryType.RELIABILITY
Returns
- (::Google::Cloud::Recommender::V1::ReliabilityProjection) — Use with CategoryType.RELIABILITY
#security_projection
def security_projection() -> ::Google::Cloud::Recommender::V1::SecurityProjection
Returns
- (::Google::Cloud::Recommender::V1::SecurityProjection) — Use with CategoryType.SECURITY
#security_projection=
def security_projection=(value) -> ::Google::Cloud::Recommender::V1::SecurityProjection
Parameter
- value (::Google::Cloud::Recommender::V1::SecurityProjection) — Use with CategoryType.SECURITY
Returns
- (::Google::Cloud::Recommender::V1::SecurityProjection) — Use with CategoryType.SECURITY
#sustainability_projection
def sustainability_projection() -> ::Google::Cloud::Recommender::V1::SustainabilityProjection
Returns
- (::Google::Cloud::Recommender::V1::SustainabilityProjection) — Use with CategoryType.SUSTAINABILITY
#sustainability_projection=
def sustainability_projection=(value) -> ::Google::Cloud::Recommender::V1::SustainabilityProjection
Parameter
- value (::Google::Cloud::Recommender::V1::SustainabilityProjection) — Use with CategoryType.SUSTAINABILITY
Returns
- (::Google::Cloud::Recommender::V1::SustainabilityProjection) — Use with CategoryType.SUSTAINABILITY