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.



8882
8883
8884
# File 'lib/google/apis/apigee_v1/classes.rb', line 8882

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)


8879
8880
8881
# File 'lib/google/apis/apigee_v1/classes.rb', line 8879

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8887
8888
8889
# File 'lib/google/apis/apigee_v1/classes.rb', line 8887

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