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.
Static Methods
newBuilder() (deprecated)
public static OrgPolicyInfo.Builder newBuilder()
Returns a builder for the OrgPolicyInfo object.
Type | Description |
com.google.cloud.resourcemanager.OrgPolicyInfo.Builder |
Methods
equals(Object o) (deprecated)
public boolean equals(Object o)
Name | Description |
o | Object |
Type | Description |
boolean |
getBoolPolicy() (deprecated)
public OrgPolicyInfo.BoolPolicy getBoolPolicy()
Returns the boolean constraint to check whether the constraint is enforced or not.
Type | Description |
com.google.cloud.resourcemanager.OrgPolicyInfo.BoolPolicy |
getConstraint() (deprecated)
public String getConstraint()
Returns the name of the Constraint.
Type | Description |
String |
getEtag() (deprecated)
public String getEtag()
Returns the etag value of policy.
Type | Description |
String |
getPolicies() (deprecated)
public OrgPolicyInfo.Policies getPolicies()
Return the policies.
Type | Description |
com.google.cloud.resourcemanager.OrgPolicyInfo.Policies |
getRestoreDefault() (deprecated)
public RestoreDefault getRestoreDefault()
Restores the default behavior of the constraint.
Type | Description |
com.google.api.services.cloudresourcemanager.model.RestoreDefault |
getUpdateTime() (deprecated)
public String getUpdateTime()
Returns the updated timestamp of policy.
Type | Description |
String |
getVersion() (deprecated)
public Integer getVersion()
Returns the version of the Policy, Default version is 0.
Type | Description |
Integer |
hashCode() (deprecated)
public int hashCode()
Type | Description |
int |
toBuilder() (deprecated)
public OrgPolicyInfo.Builder toBuilder()
Returns a builder for the OrgPolicyInfo object.
Type | Description |
com.google.cloud.resourcemanager.OrgPolicyInfo.Builder |