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
#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