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.



11688
11689
11690
# File 'lib/google/apis/apigee_v1/classes.rb', line 11688

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

Instance Attribute Details

#includeGoogle::Apis::ApigeeV1::GoogleCloudApigeeV1SecurityProfileV2ProfileAssessmentConfigApiHubGatewayTypeArray

Message for the array of API Hub Gateway Types. Corresponds to the JSON property include



11681
11682
11683
# File 'lib/google/apis/apigee_v1/classes.rb', line 11681

def include
  @include
end

#weightString

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

Returns:

  • (String)


11686
11687
11688
# File 'lib/google/apis/apigee_v1/classes.rb', line 11686

def weight
  @weight
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11693
11694
11695
11696
# File 'lib/google/apis/apigee_v1/classes.rb', line 11693

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