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.



9062
9063
9064
# File 'lib/google/apis/apigee_v1/classes.rb', line 9062

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)


9059
9060
9061
# File 'lib/google/apis/apigee_v1/classes.rb', line 9059

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9067
9068
9069
# File 'lib/google/apis/apigee_v1/classes.rb', line 9067

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