OrganizationPolicyState constructor

const OrganizationPolicyState({
  1. Input<OrganizationPolicyBooleanPolicy?>? booleanPolicy,
  2. Input<String?>? constraint,
  3. Input<String?>? deletionPolicy,
  4. Input<String?>? etag,
  5. Input<String?>? folder,
  6. Input<OrganizationPolicyListPolicy?>? listPolicy,
  7. Input<OrganizationPolicyRestorePolicy?>? restorePolicy,
  8. Input<String?>? updateTime,
  9. Input<int?>? version,
})

Creates a new OrganizationPolicyState. booleanPolicy A boolean policy is a constraint that is either enforced or not. Structure is documented below. constraint The name of the Constraint the Policy is configuring, for example, serviceuser.services. Check out the complete list of available constraints. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". etag (Computed) The etag of the organization policy. etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. folder The resource name of the folder to set the policy for. Its format is folders/{folder_id}. listPolicy A policy that can define specific values that are allowed or denied for the given constraint. It restorePolicy A restore policy is a constraint to restore the default policy. Structure is documented below. updateTime (Computed) The timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds, representing when the variable was last updated. Example: "2016-10-09T12:33:37.578138407Z". version Version of the Policy. Default version is 0.

Implementation

const OrganizationPolicyState({
  this.booleanPolicy,
  this.constraint,
  this.deletionPolicy,
  this.etag,
  this.folder,
  this.listPolicy,
  this.restorePolicy,
  this.updateTime,
  this.version,
});