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.



907
908
909
# File 'lib/google/apis/recommender_v1/classes.rb', line 907

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


905
906
907
# File 'lib/google/apis/recommender_v1/classes.rb', line 905

def details
  @details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



912
913
914
# File 'lib/google/apis/recommender_v1/classes.rb', line 912

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