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.



12010
12011
12012
# File 'lib/google/apis/apigee_v1/classes.rb', line 12010

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



12003
12004
12005
# File 'lib/google/apis/apigee_v1/classes.rb', line 12003

def include
  @include
end

#weightString

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

Returns:

  • (String)


12008
12009
12010
# File 'lib/google/apis/apigee_v1/classes.rb', line 12008

def weight
  @weight
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12015
12016
12017
12018
# File 'lib/google/apis/apigee_v1/classes.rb', line 12015

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