Class OrgPolicyInfo


  • @Deprecated
    public class OrgPolicyInfo
    extends Object
    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.

    • Method Detail

      • getBoolPolicy

        public com.google.cloud.resourcemanager.OrgPolicyInfo.BoolPolicy getBoolPolicy()
        Deprecated.
        Returns the boolean constraint to check whether the constraint is enforced or not.
      • getConstraint

        public String getConstraint()
        Deprecated.
        Returns the name of the Constraint.
      • getEtag

        public String getEtag()
        Deprecated.
        Returns the etag value of policy.
      • getPolicies

        public com.google.cloud.resourcemanager.OrgPolicyInfo.Policies getPolicies()
        Deprecated.
        Return the policies.
      • getRestoreDefault

        public com.google.api.services.cloudresourcemanager.model.RestoreDefault getRestoreDefault()
        Deprecated.
        Restores the default behavior of the constraint.
      • getUpdateTime

        public String getUpdateTime()
        Deprecated.
        Returns the updated timestamp of policy.
      • getVersion

        public Integer getVersion()
        Deprecated.
        Returns the version of the Policy, Default version is 0.
      • equals

        public boolean equals​(Object o)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • newBuilder

        public static com.google.cloud.resourcemanager.OrgPolicyInfo.Builder newBuilder()
        Deprecated.
        Returns a builder for the OrgPolicyInfo object.
      • toBuilder

        public com.google.cloud.resourcemanager.OrgPolicyInfo.Builder toBuilder()
        Deprecated.
        Returns a builder for the OrgPolicyInfo object.