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.
9863 9864 9865 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9863 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
9856 9857 9858 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9856 def text @text end |
#uri ⇒ String
The link itself.
Corresponds to the JSON property uri
9861 9862 9863 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9861 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9868 9869 9870 9871 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9868 def update!(**args) @text = args[:text] if args.key?(:text) @uri = args[:uri] if args.key?(:uri) end |