Class PolicyState


  • public final class PolicyState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • booleanPolicy

        public java.util.Optional<com.pulumi.core.Output<PolicyBooleanPolicyArgs>> booleanPolicy()
        Returns:
        A boolean policy is a constraint that is either enforced or not. Structure is documented below.
      • constraint

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> constraint()
        Returns:
        The name of the Constraint the Policy is configuring, for example, `serviceuser.services`. Check out the [complete list of available constraints](https://cloud.google.com/resource-manager/docs/organization-policy/understanding-constraints#available_constraints). ***
      • etag

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> etag()
        Returns:
        (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.
      • listPolicy

        public java.util.Optional<com.pulumi.core.Output<PolicyListPolicyArgs>> listPolicy()
        Returns:
        A policy that can define specific values that are allowed or denied for the given constraint. It can also be used to allow or deny all values. Structure is documented below.
      • orgId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> orgId()
        Returns:
        The numeric ID of the organization to set the policy for.
      • restorePolicy

        public java.util.Optional<com.pulumi.core.Output<PolicyRestorePolicyArgs>> restorePolicy()
        Returns:
        A restore policy is a constraint to restore the default policy. Structure is documented below. > **Note:** If none of [`boolean_policy`, `list_policy`, `restore_policy`] are defined the policy for a given constraint will effectively be unset. This is represented in the UI as the constraint being 'Inherited'. ***
      • updateTime

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> updateTime()
        Returns:
        (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

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> version()
        Returns:
        Version of the Policy. Default version is 0.