Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiSecurityConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1ApiSecurityConfig
- 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
Configurations of the API Security add-on.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Flag that specifies whether the API security add-on is enabled.
-
#expires_at ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1ApiSecurityConfig
constructor
A new instance of GoogleCloudApigeeV1ApiSecurityConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1ApiSecurityConfig
Returns a new instance of GoogleCloudApigeeV1ApiSecurityConfig.
962 963 964 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 962 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Flag that specifies whether the API security add-on is enabled.
Corresponds to the JSON property enabled
953 954 955 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 953 def enabled @enabled end |
#expires_at ⇒ Fixnum
Output only. Time at which the API Security add-on expires in in milliseconds
since epoch. If unspecified, the add-on will never expire.
Corresponds to the JSON property expiresAt
960 961 962 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 960 def expires_at @expires_at end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
967 968 969 970 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 967 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @expires_at = args[:expires_at] if args.key?(:expires_at) end |