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.



11745
11746
11747
# File 'lib/google/apis/apigee_v1/classes.rb', line 11745

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



11738
11739
11740
# File 'lib/google/apis/apigee_v1/classes.rb', line 11738

def include
  @include
end

#weightString

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

Returns:

  • (String)


11743
11744
11745
# File 'lib/google/apis/apigee_v1/classes.rb', line 11743

def weight
  @weight
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11750
11751
11752
11753
# File 'lib/google/apis/apigee_v1/classes.rb', line 11750

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