Class PolicyState
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.organizations.inputs.PolicyState
-
public final class PolicyState extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PolicyState.Builder
-
Field Summary
Fields Modifier and Type Field Description static PolicyState
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<PolicyBooleanPolicyArgs>>
booleanPolicy()
static PolicyState.Builder
builder()
static PolicyState.Builder
builder(PolicyState defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
constraint()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
etag()
java.util.Optional<com.pulumi.core.Output<PolicyListPolicyArgs>>
listPolicy()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
orgId()
java.util.Optional<com.pulumi.core.Output<PolicyRestorePolicyArgs>>
restorePolicy()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
updateTime()
java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>
version()
-
-
-
Field Detail
-
Empty
public static final PolicyState Empty
-
-
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.
-
builder
public static PolicyState.Builder builder()
-
builder
public static PolicyState.Builder builder(PolicyState defaults)
-
-