View Source GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityAction (google_api_apigee v0.51.0)
A SecurityAction is rule that can be enforced at an environment level. The result is one of: - A denied API call - An explicitly allowed API call - A flagged API call (HTTP headers added before the target receives it) At least one condition is required to create a SecurityAction.
Attributes
-
allow
(type:GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityActionAllow.t
, default:nil
) - Allow a request through if it matches this SecurityAction. -
apiProxies
(type:list(String.t)
, default:nil
) - Optional. If unset, this would apply to all proxies in the environment. If set, this action is enforced only if at least one proxy in the repeated list is deployed at the time of enforcement. If set, several restrictions are enforced on SecurityActions. There can be at most 100 enabled actions with proxies set in an env. Several other restrictions apply on conditions and are detailed later. -
conditionConfig
(type:GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityActionConditionConfig.t
, default:nil
) - Required. A valid SecurityAction must contain at least one condition. -
createTime
(type:DateTime.t
, default:nil
) - Output only. The create time for this SecurityAction. -
deny
(type:GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityActionDeny.t
, default:nil
) - Deny a request through if it matches this SecurityAction. -
description
(type:String.t
, default:nil
) - Optional. An optional user provided description of the SecurityAction. -
expireTime
(type:DateTime.t
, default:nil
) - The expiration for this SecurityAction. -
flag
(type:GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityActionFlag.t
, default:nil
) - Flag a request through if it matches this SecurityAction. -
name
(type:String.t
, default:nil
) - Immutable. This field is ignored during creation as per AIP-133. Please set thesecurity_action_id
field in the CreateSecurityActionRequest when creating a new SecurityAction. Format: organizations/{org}/environments/{env}/securityActions/{security_action} -
state
(type:String.t
, default:nil
) - Required. Only an ENABLED SecurityAction is enforced. An ENABLED SecurityAction past its expiration time will not be enforced. -
ttl
(type:String.t
, default:nil
) - Input only. The TTL for this SecurityAction. -
updateTime
(type:DateTime.t
, default:nil
) - Output only. The update time for this SecurityAction. This reflects when this SecurityAction changed states.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityAction{ allow: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityActionAllow.t() | nil, apiProxies: [String.t()] | nil, conditionConfig: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityActionConditionConfig.t() | nil, createTime: DateTime.t() | nil, deny: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityActionDeny.t() | nil, description: String.t() | nil, expireTime: DateTime.t() | nil, flag: GoogleApi.Apigee.V1.Model.GoogleCloudApigeeV1SecurityActionFlag.t() | nil, name: String.t() | nil, state: String.t() | nil, ttl: String.t() | nil, updateTime: DateTime.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.