Class: Google::Apis::RecommenderV1beta1::GoogleCloudRecommenderV1beta1SecurityProjection

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

Overview

Contains various ways of describing the impact on Security.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRecommenderV1beta1SecurityProjection

Returns a new instance of GoogleCloudRecommenderV1beta1SecurityProjection.



1090
1091
1092
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 1090

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

Instance Attribute Details

#detailsHash<String,Object>

This field can be used by the recommender to define details specific to security impact. Corresponds to the JSON property details

Returns:

  • (Hash<String,Object>)


1088
1089
1090
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 1088

def details
  @details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1095
1096
1097
# File 'lib/google/apis/recommender_v1beta1/classes.rb', line 1095

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