Class OrgPolicyInfo (1.44.0)

public class OrgPolicyInfo

Deprecated. v3 GAPIC client of ResourceManager is now available

A Google Cloud Resource Manager organization policy metadata object.

Defines a Cloud Organization Policy which specifies constraints for configurations of Cloud Platform resources.

Inheritance

Object > OrgPolicyInfo

Static Methods

newBuilder() (deprecated)

public static OrgPolicyInfo.Builder newBuilder()

Returns a builder for the OrgPolicyInfo object.

Returns
Type Description
com.google.cloud.resourcemanager.OrgPolicyInfo.Builder

Methods

equals(Object o) (deprecated)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getBoolPolicy() (deprecated)

public OrgPolicyInfo.BoolPolicy getBoolPolicy()

Returns the boolean constraint to check whether the constraint is enforced or not.

Returns
Type Description
com.google.cloud.resourcemanager.OrgPolicyInfo.BoolPolicy

getConstraint() (deprecated)

public String getConstraint()

Returns the name of the Constraint.

Returns
Type Description
String

getEtag() (deprecated)

public String getEtag()

Returns the etag value of policy.

Returns
Type Description
String

getPolicies() (deprecated)

public OrgPolicyInfo.Policies getPolicies()

Return the policies.

Returns
Type Description
com.google.cloud.resourcemanager.OrgPolicyInfo.Policies

getRestoreDefault() (deprecated)

public RestoreDefault getRestoreDefault()

Restores the default behavior of the constraint.

Returns
Type Description
com.google.api.services.cloudresourcemanager.model.RestoreDefault

getUpdateTime() (deprecated)

public String getUpdateTime()

Returns the updated timestamp of policy.

Returns
Type Description
String

getVersion() (deprecated)

public Integer getVersion()

Returns the version of the Policy, Default version is 0.

Returns
Type Description
Integer

hashCode() (deprecated)

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder() (deprecated)

public OrgPolicyInfo.Builder toBuilder()

Returns a builder for the OrgPolicyInfo object.

Returns
Type Description
com.google.cloud.resourcemanager.OrgPolicyInfo.Builder