Class: Google::Apis::ComputeBeta::RiskRecommendation

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

Overview

Recommendation for mitigating a reliability risk, including a reference URL.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RiskRecommendation

Returns a new instance of RiskRecommendation.



55393
55394
55395
# File 'lib/google/apis/compute_beta/classes.rb', line 55393

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

Instance Attribute Details

#contentString

Mitigation guide for the risk. Corresponds to the JSON property content

Returns:

  • (String)


55386
55387
55388
# File 'lib/google/apis/compute_beta/classes.rb', line 55386

def content
  @content
end

#reference_urlString

URL referencing a more detailed mitigation guide. Corresponds to the JSON property referenceUrl

Returns:

  • (String)


55391
55392
55393
# File 'lib/google/apis/compute_beta/classes.rb', line 55391

def reference_url
  @reference_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



55398
55399
55400
55401
# File 'lib/google/apis/compute_beta/classes.rb', line 55398

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