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.



9863
9864
9865
# File 'lib/google/apis/apigee_v1/classes.rb', line 9863

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)


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

def text
  @text
end

#uriString

The link itself. Corresponds to the JSON property uri

Returns:

  • (String)


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