Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation

Inherits:
Object
  • Object
show all
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 format of the assessment recommendation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation

Returns a new instance of GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation.



9838
9839
9840
# File 'lib/google/apis/apigee_v1/classes.rb', line 9838

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

Instance Attribute Details

#descriptionString

The description of the recommendation. Corresponds to the JSON property description

Returns:

  • (String)


9831
9832
9833
# File 'lib/google/apis/apigee_v1/classes.rb', line 9831

def description
  @description
end

The format for a link in the recommendation. Corresponds to the JSON property link



9836
9837
9838
# File 'lib/google/apis/apigee_v1/classes.rb', line 9836

def link
  @link
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9843
9844
9845
9846
# File 'lib/google/apis/apigee_v1/classes.rb', line 9843

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