SecurityActionArgs constructor

const SecurityActionArgs({
  1. Input<Map<String, dynamic>>? allow,
  2. required Input<GoogleCloudApigeeV1SecurityActionConditionConfig> conditionConfig,
  3. Input<GoogleCloudApigeeV1SecurityActionDeny>? deny,
  4. Input<String>? description,
  5. required Input<String> environmentId,
  6. Input<String>? expireTime,
  7. Input<GoogleCloudApigeeV1SecurityActionFlag>? flag,
  8. Input<String>? name,
  9. required Input<String> organizationId,
  10. required Input<String> securityActionId,
  11. required Input<SecurityActionState> state,
  12. Input<String>? ttl,
})

Creates a new SecurityActionArgs. allow Allow a request through if it matches this SecurityAction. conditionConfig A valid SecurityAction must contain at least one condition. deny Deny a request through if it matches this SecurityAction. description Optional. An optional user provided description of the SecurityAction. environmentId Required. expireTime The expiration for this SecurityAction. flag Flag a request through if it matches this SecurityAction. name 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} organizationId Required. securityActionId 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?$). state Only an ENABLED SecurityAction is enforced. An ENABLED SecurityAction past its expiration time will not be enforced. ttl Input only. The TTL for this SecurityAction.

Implementation

const SecurityActionArgs({
  this.allow,
  required this.conditionConfig,
  this.deny,
  this.description,
  required this.environmentId,
  this.expireTime,
  this.flag,
  this.name,
  required this.organizationId,
  required this.securityActionId,
  required this.state,
  this.ttl,
});