Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfig

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

ProfileConfig defines a set of categories and policies which will be used to compute security score.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ProfileConfig

Returns a new instance of GoogleCloudApigeeV1ProfileConfig.



8691
8692
8693
# File 'lib/google/apis/apigee_v1/classes.rb', line 8691

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

Instance Attribute Details

#categoriesArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1ProfileConfigCategory>

List of categories of profile config. Corresponds to the JSON property categories



8689
8690
8691
# File 'lib/google/apis/apigee_v1/classes.rb', line 8689

def categories
  @categories
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8696
8697
8698
# File 'lib/google/apis/apigee_v1/classes.rb', line 8696

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