SecurityActionArgs class
The set of arguments for SecurityAction. The set of arguments for SecurityAction.
Constructors
-
SecurityActionArgs({Input<
Map< ? allow, required Input<String, dynamic> >GoogleCloudApigeeV1SecurityActionConditionConfig> conditionConfig, Input<GoogleCloudApigeeV1SecurityActionDeny> ? deny, Input<String> ? description, required Input<String> environmentId, Input<String> ? expireTime, Input<GoogleCloudApigeeV1SecurityActionFlag> ? flag, Input<String> ? name, required Input<String> organizationId, required Input<String> securityActionId, required Input<SecurityActionState> state, Input<String> ? ttl}) -
Creates a new SecurityActionArgs.
allowAllow a request through if it matches this SecurityAction.conditionConfigA valid SecurityAction must contain at least one condition.denyDeny a request through if it matches this SecurityAction.descriptionOptional. An optional user provided description of the SecurityAction.environmentIdRequired.expireTimeThe expiration for this SecurityAction.flagFlag a request through if it matches this SecurityAction.nameImmutable. This field is ignored during creation as per AIP-133. Please set thesecurity_action_idfield in the CreateSecurityActionRequest when creating a new SecurityAction. Format: organizations/{org}/environments/{env}/securityActions/{security_action}organizationIdRequired.securityActionIdRequired. The ID to use for the SecurityAction, which will become the final component of the action's resource name. This value should be 0-61 characters, and valid format is (^a-z?$).stateOnly an ENABLED SecurityAction is enforced. An ENABLED SecurityAction past its expiration time will not be enforced.ttlInput only. The TTL for this SecurityAction.const -
SecurityActionArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allow
→ Input<
Map< ?String, dynamic> > -
Allow a request through if it matches this SecurityAction.
final
-
conditionConfig
→ Input<
GoogleCloudApigeeV1SecurityActionConditionConfig> -
A valid SecurityAction must contain at least one condition.
final
-
deny
→ Input<
GoogleCloudApigeeV1SecurityActionDeny> ? -
Deny a request through if it matches this SecurityAction.
final
-
description
→ Input<
String> ? -
Optional. An optional user provided description of the SecurityAction.
final
-
environmentId
→ Input<
String> -
final
-
expireTime
→ Input<
String> ? -
The expiration for this SecurityAction.
final
-
flag
→ Input<
GoogleCloudApigeeV1SecurityActionFlag> ? -
Flag a request through if it matches this SecurityAction.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> ? -
Immutable. This field is ignored during creation as per AIP-133. Please set the
security_action_idfield in the CreateSecurityActionRequest when creating a new SecurityAction. Format: organizations/{org}/environments/{env}/securityActions/{security_action}final -
organizationId
→ Input<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
securityActionId
→ Input<
String> -
Required. The ID to use for the SecurityAction, which will become the final component of the action's resource name. This value should be 0-61 characters, and valid format is (^a-z?$).
final
-
state
→ Input<
SecurityActionState> -
Only an ENABLED SecurityAction is enforced. An ENABLED SecurityAction past its expiration time will not be enforced.
final
-
ttl
→ Input<
String> ? -
Input only. The TTL for this SecurityAction.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited