Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink
- 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 for a link in the recommendation.
Instance Attribute Summary collapse
-
#text ⇒ String
The text of the url.
-
#uri ⇒ String
The link itself.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink
constructor
A new instance of GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink
Returns a new instance of GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink.
10043 10044 10045 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10043 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ String
The text of the url. (ie: "Learn more")
Corresponds to the JSON property text
10036 10037 10038 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10036 def text @text end |
#uri ⇒ String
The link itself.
Corresponds to the JSON property uri
10041 10042 10043 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10041 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10048 10049 10050 10051 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10048 def update!(**args) @text = args[:text] if args.key?(:text) @uri = args[:uri] if args.key?(:uri) end |