Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ScoreComponentRecommendation

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

Recommendation based on security concerns and score.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ScoreComponentRecommendation

Returns a new instance of GoogleCloudApigeeV1ScoreComponentRecommendation.



9465
9466
9467
# File 'lib/google/apis/apigee_v1/classes.rb', line 9465

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

Instance Attribute Details

#actionsArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ScoreComponentRecommendationAction>

Actions for the recommendation to improve the security score. Corresponds to the JSON property actions



9447
9448
9449
# File 'lib/google/apis/apigee_v1/classes.rb', line 9447

def actions
  @actions
end

#descriptionString

Description of the recommendation. Corresponds to the JSON property description

Returns:

  • (String)


9452
9453
9454
# File 'lib/google/apis/apigee_v1/classes.rb', line 9452

def description
  @description
end

#impactFixnum

Potential impact of this recommendation on the overall score. This denotes how important this recommendation is to improve the score. Corresponds to the JSON property impact

Returns:

  • (Fixnum)


9458
9459
9460
# File 'lib/google/apis/apigee_v1/classes.rb', line 9458

def impact
  @impact
end

#titleString

Title represents recommendation title. Corresponds to the JSON property title

Returns:

  • (String)


9463
9464
9465
# File 'lib/google/apis/apigee_v1/classes.rb', line 9463

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9470
9471
9472
9473
9474
9475
# File 'lib/google/apis/apigee_v1/classes.rb', line 9470

def update!(**args)
  @actions = args[:actions] if args.key?(:actions)
  @description = args[:description] if args.key?(:description)
  @impact = args[:impact] if args.key?(:impact)
  @title = args[:title] if args.key?(:title)
end