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.



6796
6797
6798
# File 'lib/google/apis/apigee_v1/classes.rb', line 6796

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



6794
6795
6796
# File 'lib/google/apis/apigee_v1/classes.rb', line 6794

def categories
  @categories
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6801
6802
6803
# File 'lib/google/apis/apigee_v1/classes.rb', line 6801

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