RulesetState class
Input properties used for looking up and filtering Ruleset resources.
Constructors
-
RulesetState({Input<
String?> ? createTime, Input<String?> ? deletionPolicy, Input<List< ? metadatas, Input<RulesetMetadata> ?>String?> ? name, Input<String?> ? project, Input<RulesetSource?> ? source}) -
Creates a new RulesetState.
createTimeOutput only. Time theRulesetwas created.deletionPolicyWhether Terraform will be prevented from destroying the instance. Defaults to "DELETE".metadatasOutput only. The metadata for this ruleset.nameOutput only. Name of theRuleset. The rulesetId is auto generated by the service. Format:projects/{project_id}/rulesets/{ruleset_id}projectThe project for the resourcesourceSourcefor theRuleset.const -
RulesetState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
createTime
→ Input<
String?> ? -
Output only. Time the
Rulesetwas created.final -
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the instance. Defaults to "DELETE".
When a 'terraform destroy' or 'terraform apply' would delete the instance,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadatas
→ Input<
List< ?RulesetMetadata> ?> -
Output only. The metadata for this ruleset.
final
-
name
→ Input<
String?> ? -
Output only. Name of the
Ruleset. The rulesetId is auto generated by the service. Format:projects/{project_id}/rulesets/{ruleset_id}final -
project
→ Input<
String?> ? -
The project for the resource
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
source
→ Input<
RulesetSource?> ? -
Sourcefor theRuleset.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