Class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1SecurityProjection

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/recommender_v1/classes.rb,
lib/google/apis/recommender_v1/representations.rb,
lib/google/apis/recommender_v1/representations.rb

Overview

Contains various ways of describing the impact on Security.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommenderV1SecurityProjection

Returns a new instance of GoogleCloudRecommenderV1SecurityProjection.



919
920
921
# File 'lib/google/apis/recommender_v1/classes.rb', line 919

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#detailsHash<String,Object>

Additional security impact details that is provided by the recommender. Corresponds to the JSON property details

Returns:

  • (Hash<String,Object>)


917
918
919
# File 'lib/google/apis/recommender_v1/classes.rb', line 917

def details
  @details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



924
925
926
# File 'lib/google/apis/recommender_v1/classes.rb', line 924

def update!(**args)
  @details = args[:details] if args.key?(:details)
end