Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig
- 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 configuration definition for a specific assessment.
Instance Attribute Summary collapse
-
#weight ⇒ String
The weight of the assessment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig
constructor
A new instance of GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig
Returns a new instance of GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig.
10364 10365 10366 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10364 def initialize(**args) update!(**args) end |
Instance Attribute Details
#weight ⇒ String
The weight of the assessment.
Corresponds to the JSON property weight
10362 10363 10364 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10362 def weight @weight end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10369 10370 10371 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 10369 def update!(**args) @weight = args[:weight] if args.key?(:weight) end |