Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink

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 for a link in the recommendation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink

Returns a new instance of GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendationLink.



9852
9853
9854
# File 'lib/google/apis/apigee_v1/classes.rb', line 9852

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

Instance Attribute Details

#textString

The text of the url. (ie: "Learn more") Corresponds to the JSON property text

Returns:

  • (String)


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

def text
  @text
end

#uriString

The link itself. Corresponds to the JSON property uri

Returns:

  • (String)


9850
9851
9852
# File 'lib/google/apis/apigee_v1/classes.rb', line 9850

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9857
9858
9859
9860
# File 'lib/google/apis/apigee_v1/classes.rb', line 9857

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