Class OrgPolicyInfo (1.17.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
TypeDescription
com.google.cloud.resourcemanager.OrgPolicyInfo.Builder

Methods

equals(Object o) (deprecated)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getBoolPolicy() (deprecated)

public OrgPolicyInfo.BoolPolicy getBoolPolicy()

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

Returns
TypeDescription
com.google.cloud.resourcemanager.OrgPolicyInfo.BoolPolicy

getConstraint() (deprecated)

public String getConstraint()

Returns the name of the Constraint.

Returns
TypeDescription
String

getEtag() (deprecated)

public String getEtag()

Returns the etag value of policy.

Returns
TypeDescription
String

getPolicies() (deprecated)

public OrgPolicyInfo.Policies getPolicies()

Return the policies.

Returns
TypeDescription
com.google.cloud.resourcemanager.OrgPolicyInfo.Policies

getRestoreDefault() (deprecated)

public RestoreDefault getRestoreDefault()

Restores the default behavior of the constraint.

Returns
TypeDescription
com.google.api.services.cloudresourcemanager.model.RestoreDefault

getUpdateTime() (deprecated)

public String getUpdateTime()

Returns the updated timestamp of policy.

Returns
TypeDescription
String

getVersion() (deprecated)

public Integer getVersion()

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

Returns
TypeDescription
Integer

hashCode() (deprecated)

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder() (deprecated)

public OrgPolicyInfo.Builder toBuilder()

Returns a builder for the OrgPolicyInfo object.

Returns
TypeDescription
com.google.cloud.resourcemanager.OrgPolicyInfo.Builder