pub struct GoogleCloudApigeeV1SecurityAction {
pub allow: Option<GoogleCloudApigeeV1SecurityActionAllow>,
pub condition_config: Option<GoogleCloudApigeeV1SecurityActionConditionConfig>,
pub create_time: Option<DateTime<Utc>>,
pub deny: Option<GoogleCloudApigeeV1SecurityActionDeny>,
pub description: Option<String>,
pub expire_time: Option<DateTime<Utc>>,
pub flag: Option<GoogleCloudApigeeV1SecurityActionFlag>,
pub name: Option<String>,
pub state: Option<String>,
pub ttl: Option<Duration>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
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.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- environments security actions create organizations (request|response)
- environments security actions disable organizations (response)
- environments security actions enable organizations (response)
- environments security actions get organizations (response)
Fields§
§allow: Option<GoogleCloudApigeeV1SecurityActionAllow>
Allow a request through if it matches this SecurityAction.
condition_config: Option<GoogleCloudApigeeV1SecurityActionConditionConfig>
Required. A valid SecurityAction must contain at least one condition.
create_time: Option<DateTime<Utc>>
Output only. The create time for this SecurityAction.
deny: Option<GoogleCloudApigeeV1SecurityActionDeny>
Deny a request through if it matches this SecurityAction.
description: Option<String>
Optional. An optional user provided description of the SecurityAction.
expire_time: Option<DateTime<Utc>>
The expiration for this SecurityAction.
flag: Option<GoogleCloudApigeeV1SecurityActionFlag>
Flag a request through if it matches this SecurityAction.
name: Option<String>
Immutable. This field is ignored during creation as per AIP-133. Please set the security_action_id
field in the CreateSecurityActionRequest when creating a new SecurityAction. Format: organizations/{org}/environments/{env}/securityActions/{security_action}
state: Option<String>
Required. Only an ENABLED SecurityAction is enforced. An ENABLED SecurityAction past its expiration time will not be enforced.
ttl: Option<Duration>
Input only. The TTL for this SecurityAction.
update_time: Option<DateTime<Utc>>
Output only. The update time for this SecurityAction. This reflects when this SecurityAction changed states.
Trait Implementations§
source§impl Clone for GoogleCloudApigeeV1SecurityAction
impl Clone for GoogleCloudApigeeV1SecurityAction
source§fn clone(&self) -> GoogleCloudApigeeV1SecurityAction
fn clone(&self) -> GoogleCloudApigeeV1SecurityAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more