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.



11197
11198
11199
# File 'lib/google/apis/apigee_v1/classes.rb', line 11197

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)


11190
11191
11192
# File 'lib/google/apis/apigee_v1/classes.rb', line 11190

def text
  @text
end

#uriString

The link itself. Corresponds to the JSON property uri

Returns:

  • (String)


11195
11196
11197
# File 'lib/google/apis/apigee_v1/classes.rb', line 11195

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11202
11203
11204
11205
# File 'lib/google/apis/apigee_v1/classes.rb', line 11202

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