Class: Google::Apis::ComputeAlpha::RiskRecommendation
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::RiskRecommendation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
Recommendation with reference url.
Instance Attribute Summary collapse
-
#content ⇒ String
Mitigation guide for the risk.
-
#reference_url ⇒ String
URL referencing a more detailed mitigation guide.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RiskRecommendation
constructor
A new instance of RiskRecommendation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RiskRecommendation
Returns a new instance of RiskRecommendation.
53244 53245 53246 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 53244 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
Mitigation guide for the risk.
Corresponds to the JSON property content
53237 53238 53239 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 53237 def content @content end |
#reference_url ⇒ String
URL referencing a more detailed mitigation guide.
Corresponds to the JSON property referenceUrl
53242 53243 53244 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 53242 def reference_url @reference_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
53249 53250 53251 53252 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 53249 def update!(**args) @content = args[:content] if args.key?(:content) @reference_url = args[:reference_url] if args.key?(:reference_url) end |