Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation
- 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
The message format of a recommendation from the assessment.
Instance Attribute Summary collapse
-
#display_name ⇒ String
The display name of the assessment.
-
#recommendations ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation>
The recommended steps of the assessment.
-
#score_impact ⇒ Fixnum
Score impact indicates the impact on the overall score if the assessment were to pass.
-
#verdict ⇒ String
Verdict indicates the assessment result.
-
#weight ⇒ String
The weight of the assessment which was set in the profile.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation
constructor
A new instance of GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation
Returns a new instance of GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation.
9990 9991 9992 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9990 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The display name of the assessment.
Corresponds to the JSON property displayName
9967 9968 9969 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9967 def display_name @display_name end |
#recommendations ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation>
The recommended steps of the assessment.
Corresponds to the JSON property recommendations
9972 9973 9974 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9972 def recommendations @recommendations end |
#score_impact ⇒ Fixnum
Score impact indicates the impact on the overall score if the assessment were
to pass.
Corresponds to the JSON property scoreImpact
9978 9979 9980 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9978 def score_impact @score_impact end |
#verdict ⇒ String
Verdict indicates the assessment result.
Corresponds to the JSON property verdict
9983 9984 9985 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9983 def verdict @verdict end |
#weight ⇒ String
The weight of the assessment which was set in the profile.
Corresponds to the JSON property weight
9988 9989 9990 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9988 def weight @weight end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9995 9996 9997 9998 9999 10000 10001 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9995 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @recommendations = args[:recommendations] if args.key?(:recommendations) @score_impact = args[:score_impact] if args.key?(:score_impact) @verdict = args[:verdict] if args.key?(:verdict) @weight = args[:weight] if args.key?(:weight) end |