Class: Google::Apis::ComputeV1::RiskRecommendation
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::RiskRecommendation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Overview
Recommendation for mitigating a reliability risk, including a 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.
51276 51277 51278 |
# File 'lib/google/apis/compute_v1/classes.rb', line 51276 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content ⇒ String
Mitigation guide for the risk.
Corresponds to the JSON property content
51269 51270 51271 |
# File 'lib/google/apis/compute_v1/classes.rb', line 51269 def content @content end |
#reference_url ⇒ String
URL referencing a more detailed mitigation guide.
Corresponds to the JSON property referenceUrl
51274 51275 51276 |
# File 'lib/google/apis/compute_v1/classes.rb', line 51274 def reference_url @reference_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
51281 51282 51283 51284 |
# File 'lib/google/apis/compute_v1/classes.rb', line 51281 def update!(**args) @content = args[:content] if args.key?(:content) @reference_url = args[:reference_url] if args.key?(:reference_url) end |