Recommender V1 API - Class Google::Cloud::Recommender::V1::Impact (v1.2.0)

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

#category=

def category=(value) -> ::Google::Cloud::Recommender::V1::Impact::Category
Parameter
Returns

#cost_projection

def cost_projection() -> ::Google::Cloud::Recommender::V1::CostProjection
Returns
  • (::Google::Cloud::Recommender::V1::CostProjection) — Use with CategoryType.COST

    Note: The following fields are mutually exclusive: cost_projection, security_projection, sustainability_projection, reliability_projection. If a field in that set is populated, all other fields in the set will automatically be cleared.

#cost_projection=

def cost_projection=(value) -> ::Google::Cloud::Recommender::V1::CostProjection
Parameter
  • value (::Google::Cloud::Recommender::V1::CostProjection) — Use with CategoryType.COST

    Note: The following fields are mutually exclusive: cost_projection, security_projection, sustainability_projection, reliability_projection. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Recommender::V1::CostProjection) — Use with CategoryType.COST

    Note: The following fields are mutually exclusive: cost_projection, security_projection, sustainability_projection, reliability_projection. If a field in that set is populated, all other fields in the set will automatically be cleared.

#reliability_projection

def reliability_projection() -> ::Google::Cloud::Recommender::V1::ReliabilityProjection
Returns
  • (::Google::Cloud::Recommender::V1::ReliabilityProjection) — Use with CategoryType.RELIABILITY

    Note: The following fields are mutually exclusive: reliability_projection, cost_projection, security_projection, sustainability_projection. If a field in that set is populated, all other fields in the set will automatically be cleared.

#reliability_projection=

def reliability_projection=(value) -> ::Google::Cloud::Recommender::V1::ReliabilityProjection
Parameter
  • value (::Google::Cloud::Recommender::V1::ReliabilityProjection) — Use with CategoryType.RELIABILITY

    Note: The following fields are mutually exclusive: reliability_projection, cost_projection, security_projection, sustainability_projection. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Recommender::V1::ReliabilityProjection) — Use with CategoryType.RELIABILITY

    Note: The following fields are mutually exclusive: reliability_projection, cost_projection, security_projection, sustainability_projection. If a field in that set is populated, all other fields in the set will automatically be cleared.

#security_projection

def security_projection() -> ::Google::Cloud::Recommender::V1::SecurityProjection
Returns
  • (::Google::Cloud::Recommender::V1::SecurityProjection) — Use with CategoryType.SECURITY

    Note: The following fields are mutually exclusive: security_projection, cost_projection, sustainability_projection, reliability_projection. If a field in that set is populated, all other fields in the set will automatically be cleared.

#security_projection=

def security_projection=(value) -> ::Google::Cloud::Recommender::V1::SecurityProjection
Parameter
  • value (::Google::Cloud::Recommender::V1::SecurityProjection) — Use with CategoryType.SECURITY

    Note: The following fields are mutually exclusive: security_projection, cost_projection, sustainability_projection, reliability_projection. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Recommender::V1::SecurityProjection) — Use with CategoryType.SECURITY

    Note: The following fields are mutually exclusive: security_projection, cost_projection, sustainability_projection, reliability_projection. If a field in that set is populated, all other fields in the set will automatically be cleared.

#sustainability_projection

def sustainability_projection() -> ::Google::Cloud::Recommender::V1::SustainabilityProjection
Returns
  • (::Google::Cloud::Recommender::V1::SustainabilityProjection) — Use with CategoryType.SUSTAINABILITY

    Note: The following fields are mutually exclusive: sustainability_projection, cost_projection, security_projection, reliability_projection. If a field in that set is populated, all other fields in the set will automatically be cleared.

#sustainability_projection=

def sustainability_projection=(value) -> ::Google::Cloud::Recommender::V1::SustainabilityProjection
Parameter
  • value (::Google::Cloud::Recommender::V1::SustainabilityProjection) — Use with CategoryType.SUSTAINABILITY

    Note: The following fields are mutually exclusive: sustainability_projection, cost_projection, security_projection, reliability_projection. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::Recommender::V1::SustainabilityProjection) — Use with CategoryType.SUSTAINABILITY

    Note: The following fields are mutually exclusive: sustainability_projection, cost_projection, security_projection, reliability_projection. If a field in that set is populated, all other fields in the set will automatically be cleared.