RuleArgs class

The set of arguments for Rule. The set of arguments for Rule.

Constructors

RuleArgs({Input<String?>? deletionPolicy, Input<String?>? etag, required Input<String> instance, required Input<String> location, Input<String?>? project, Input<String?>? ruleId, Input<String?>? scope, Input<String?>? text})
Creates a new RuleArgs. deletionPolicy Policy to determine if the rule should be deleted forcefully. etag The etag for this rule. instance The unique identifier for the Chronicle instance, which is the same as the customer ID. location The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2". project The ID of the project in which the resource belongs. ruleId Rule Id is the ID of the Rule. scope Resource name of the DataAccessScope bound to this rule. text The YARA-L content of the rule.
const
RuleArgs.fromMap(Map<String, dynamic> map)
factory

Properties

deletionPolicy → Input<String?>?
Policy to determine if the rule should be deleted forcefully. If deletionPolicy = "FORCE", any retrohunts and any detections associated with the rule will also be deleted. If deletionPolicy = "DEFAULT", the call will only succeed if the rule has no associated retrohunts, including completed retrohunts, and no associated detections. Regardless of being set to "FORCE" the rule deployment associated with this rule will also be deleted if deletion is successful.
final
etag → Input<String?>?
The etag for this rule. If this is provided on update, the request will succeed if and only if it matches the server-computed value, and will fail with an ABORTED error otherwise. Populated in BASIC view and FULL view.
final
hashCode → int
The hash code for this object.
no setterinherited
instance → Input<String>
The unique identifier for the Chronicle instance, which is the same as the customer ID.
final
location → Input<String>
The location of the resource. This is the geographical region where the Chronicle instance resides, such as "us" or "europe-west2".
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
ruleId → Input<String?>?
Rule Id is the ID of the Rule.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → Input<String?>?
Resource name of the DataAccessScope bound to this rule. Populated in BASIC view and FULL view. If reference lists are used in the rule, validations will be performed against this scope to ensure that the reference lists are compatible with both the user's and the rule's scopes. The scope should be in the format: "projects/{project}/locations/{location}/instances/{instance}/dataAccessScopes/{scope}".
final
text → Input<String?>?
The YARA-L content of the rule. Populated in FULL view.
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