Class ConstraintInfo (1.60.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 1.60.0keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
public   class  ConstraintInfo  
   
  Deprecated.  v3 GAPIC client of ResourceManager is now available 
A Google Cloud Resource Manager constraint metadata object.
See Also: Constraint 
 
  
    Inheritance 
    Object    >  
    ConstraintInfo 
   
  
  Static Methods
   
   
  newBuilder(String name) (deprecated) 
  
    
public   static   ConstraintInfo . Builder   newBuilder ( String   name )  
   
  
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        name 
        String  
       
     
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        com.google.cloud.resourcemanager.ConstraintInfo.Builder  
         
       
     
  
  Methods
   
   
  equals(Object o) (deprecated) 
  
    
public   boolean   equals ( Object   o )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        o 
        Object  
       
     
  
  
  Overrides 
  
   
  getBooleanConstraint() (deprecated) 
  
    
public   BooleanConstraint   getBooleanConstraint ()  
   
  Returns the boolean constraint to check whether the constraint is enforced or not.
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        com.google.api.services.cloudresourcemanager.model.BooleanConstraint  
         
       
     
  
   
  getConstraintDefault() (deprecated) 
  
    
public   String   getConstraintDefault ()  
   
  Returns the default behavior of the constraint.
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
         
       
     
  
   
  getConstraints() (deprecated) 
  
    
public   ConstraintInfo . Constraints   getConstraints ()  
   
  Returns the listConstraintInfo.
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        com.google.cloud.resourcemanager.ConstraintInfo.Constraints  
         
       
     
  
   
  getDescription() (deprecated) 
  
    
public   String   getDescription ()  
   
  Returns the detailed description of the constraint.
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
         
       
     
  
   
  getDisplayName() (deprecated) 
  
    
public   String   getDisplayName ()  
   
  Returns the human readable name of the constraint.
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
         
       
     
  
   
  getName() (deprecated) 
  
  Returns the globally unique name of the constraint.
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
         
       
     
  
   
  getVersion() (deprecated) 
  
    
public   Integer   getVersion ()  
   
  Returns the version of the Constraint. Default version is 0.
 
  
   
  hashCode() (deprecated) 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  toBuilder() (deprecated) 
  
    
public   ConstraintInfo . Builder   toBuilder ()  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        com.google.cloud.resourcemanager.ConstraintInfo.Builder  
         
       
     
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]