Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfig

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 configuration definition for a specific assessment.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#weightString

The weight of the assessment. Corresponds to the JSON property weight

Returns:

  • (String)


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