Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RuntimeApiSecurityConfig

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

Runtime configuration for the API Security add-on.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1RuntimeApiSecurityConfig

Returns a new instance of GoogleCloudApigeeV1RuntimeApiSecurityConfig.



10145
10146
10147
# File 'lib/google/apis/apigee_v1/classes.rb', line 10145

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

If the API Security is enabled or not. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


10142
10143
10144
# File 'lib/google/apis/apigee_v1/classes.rb', line 10142

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10150
10151
10152
# File 'lib/google/apis/apigee_v1/classes.rb', line 10150

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