Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ScoreComponent
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1ScoreComponent
- 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
Component is an individual security element that is scored.
Instance Attribute Summary collapse
-
#calculate_time ⇒ String
Time when score was calculated.
-
#data_capture_time ⇒ String
Time in the requested time period when data was last captured to compute the score.
-
#drilldown_paths ⇒ Array<String>
List of paths for next components.
-
#recommendations ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ScoreComponentRecommendation>
List of recommendations to improve API security.
-
#score ⇒ Fixnum
Score for the component.
-
#score_path ⇒ String
Path of the component.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1ScoreComponent
constructor
A new instance of GoogleCloudApigeeV1ScoreComponent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1ScoreComponent
Returns a new instance of GoogleCloudApigeeV1ScoreComponent.
9425 9426 9427 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9425 def initialize(**args) update!(**args) end |
Instance Attribute Details
#calculate_time ⇒ String
Time when score was calculated.
Corresponds to the JSON property calculateTime
9396 9397 9398 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9396 def calculate_time @calculate_time end |
#data_capture_time ⇒ String
Time in the requested time period when data was last captured to compute the
score.
Corresponds to the JSON property dataCaptureTime
9402 9403 9404 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9402 def data_capture_time @data_capture_time end |
#drilldown_paths ⇒ Array<String>
List of paths for next components.
Corresponds to the JSON property drilldownPaths
9407 9408 9409 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9407 def drilldown_paths @drilldown_paths end |
#recommendations ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ScoreComponentRecommendation>
List of recommendations to improve API security.
Corresponds to the JSON property recommendations
9412 9413 9414 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9412 def recommendations @recommendations end |
#score ⇒ Fixnum
Score for the component.
Corresponds to the JSON property score
9417 9418 9419 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9417 def score @score end |
#score_path ⇒ String
Path of the component. Example: /org@myorg/envgroup@myenvgroup/proxies/proxy@
myproxy
Corresponds to the JSON property scorePath
9423 9424 9425 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9423 def score_path @score_path end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9430 9431 9432 9433 9434 9435 9436 9437 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 9430 def update!(**args) @calculate_time = args[:calculate_time] if args.key?(:calculate_time) @data_capture_time = args[:data_capture_time] if args.key?(:data_capture_time) @drilldown_paths = args[:drilldown_paths] if args.key?(:drilldown_paths) @recommendations = args[:recommendations] if args.key?(:recommendations) @score = args[:score] if args.key?(:score) @score_path = args[:score_path] if args.key?(:score_path) end |