class Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1Impact

Contains the impact a recommendation can have for a given category.

Attributes

category[RW]

Category that is being targeted. Corresponds to the JSON property `category` @return [String]

cost_projection[RW]

Contains metadata about how much money a recommendation can save or incur. Corresponds to the JSON property `costProjection` @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1CostProjection]

security_projection[RW]

Contains various ways of describing the impact on Security. Corresponds to the JSON property `securityProjection` @return [Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1SecurityProjection]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/recommender_v1beta1/classes.rb, line 69
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/recommender_v1beta1/classes.rb, line 74
def update!(**args)
  @category = args[:category] if args.key?(:category)
  @cost_projection = args[:cost_projection] if args.key?(:cost_projection)
  @security_projection = args[:security_projection] if args.key?(:security_projection)
end