@Deprecated public class OrgPolicyInfo extends Object
Defines a Cloud Organization Policy which specifies constraints for configurations of Cloud Platform resources.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
|
com.google.cloud.resourcemanager.OrgPolicyInfo.BoolPolicy |
getBoolPolicy()
Deprecated.
Returns the boolean constraint to check whether the constraint is enforced or not.
|
String |
getConstraint()
Deprecated.
Returns the name of the Constraint.
|
String |
getEtag()
Deprecated.
Returns the etag value of policy.
|
com.google.cloud.resourcemanager.OrgPolicyInfo.Policies |
getPolicies()
Deprecated.
Return the policies.
|
com.google.api.services.cloudresourcemanager.model.RestoreDefault |
getRestoreDefault()
Deprecated.
Restores the default behavior of the constraint.
|
String |
getUpdateTime()
Deprecated.
Returns the updated timestamp of policy.
|
Integer |
getVersion()
Deprecated.
Returns the version of the Policy, Default version is 0.
|
int |
hashCode()
Deprecated.
|
static com.google.cloud.resourcemanager.OrgPolicyInfo.Builder |
newBuilder()
Deprecated.
Returns a builder for the
OrgPolicyInfo object. |
com.google.cloud.resourcemanager.OrgPolicyInfo.Builder |
toBuilder()
Deprecated.
Returns a builder for the
OrgPolicyInfo object. |
public com.google.cloud.resourcemanager.OrgPolicyInfo.BoolPolicy getBoolPolicy()
public String getConstraint()
public String getEtag()
public com.google.cloud.resourcemanager.OrgPolicyInfo.Policies getPolicies()
public com.google.api.services.cloudresourcemanager.model.RestoreDefault getRestoreDefault()
public String getUpdateTime()
public Integer getVersion()
public static com.google.cloud.resourcemanager.OrgPolicyInfo.Builder newBuilder()
OrgPolicyInfo
object.public com.google.cloud.resourcemanager.OrgPolicyInfo.Builder toBuilder()
OrgPolicyInfo
object.Copyright © 2022 Google LLC. All rights reserved.