Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ScoreComponentRecommendation
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1ScoreComponentRecommendation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
Recommendation based on security concerns and score.
Instance Attribute Summary collapse
-
#actions ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ScoreComponentRecommendationAction>
Actions for the recommendation to improve the security score.
-
#description ⇒ String
Description of the recommendation.
-
#impact ⇒ Fixnum
Potential impact of this recommendation on the overall score.
-
#title ⇒ String
Title represents recommendation title.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1ScoreComponentRecommendation
constructor
A new instance of GoogleCloudApigeeV1ScoreComponentRecommendation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1ScoreComponentRecommendation
Returns a new instance of GoogleCloudApigeeV1ScoreComponentRecommendation.
7736 7737 7738 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7736 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actions ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ScoreComponentRecommendationAction>
Actions for the recommendation to improve the security score.
Corresponds to the JSON property actions
7718 7719 7720 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7718 def actions @actions end |
#description ⇒ String
Description of the recommendation.
Corresponds to the JSON property description
7723 7724 7725 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7723 def description @description end |
#impact ⇒ Fixnum
Potential impact of this recommendation on the overall score. This denotes how
important this recommendation is to improve the score.
Corresponds to the JSON property impact
7729 7730 7731 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7729 def impact @impact end |
#title ⇒ String
Title represents recommendation title.
Corresponds to the JSON property title
7734 7735 7736 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7734 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7741 7742 7743 7744 7745 7746 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 7741 def update!(**args) @actions = args[:actions] if args.key?(:actions) @description = args[:description] if args.key?(:description) @impact = args[:impact] if args.key?(:impact) @title = args[:title] if args.key?(:title) end |