Interface AnalyzerOrgPolicyConstraint.ConstraintOrBuilder

    • Method Detail

      • getName

        String getName()
         The unique name of the constraint. Format of the name should be
         * `constraints/{constraint_name}`
        
         For example, `constraints/compute.disableSerialPortAccess`.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The unique name of the constraint. Format of the name should be
         * `constraints/{constraint_name}`
        
         For example, `constraints/compute.disableSerialPortAccess`.
         
        string name = 1;
        Returns:
        The bytes for name.
      • getDisplayName

        String getDisplayName()
         The human readable name of the constraint.
         
        string display_name = 2;
        Returns:
        The displayName.
      • getDisplayNameBytes

        com.google.protobuf.ByteString getDisplayNameBytes()
         The human readable name of the constraint.
         
        string display_name = 2;
        Returns:
        The bytes for displayName.
      • getDescription

        String getDescription()
         Detailed description of what this `Constraint` controls as well as how
         and where it is enforced.
         
        string description = 3;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         Detailed description of what this `Constraint` controls as well as how
         and where it is enforced.
         
        string description = 3;
        Returns:
        The bytes for description.
      • getConstraintDefaultValue

        int getConstraintDefaultValue()
         The evaluation behavior of this constraint in the absence of 'Policy'.
         
        .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4;
        Returns:
        The enum numeric value on the wire for constraintDefault.
      • getConstraintDefault

        AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault getConstraintDefault()
         The evaluation behavior of this constraint in the absence of 'Policy'.
         
        .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ConstraintDefault constraint_default = 4;
        Returns:
        The constraintDefault.
      • hasListConstraint

        boolean hasListConstraint()
         Defines this constraint as being a ListConstraint.
         
        .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
        Returns:
        Whether the listConstraint field is set.
      • getListConstraint

        AnalyzerOrgPolicyConstraint.Constraint.ListConstraint getListConstraint()
         Defines this constraint as being a ListConstraint.
         
        .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.ListConstraint list_constraint = 5;
        Returns:
        The listConstraint.
      • hasBooleanConstraint

        boolean hasBooleanConstraint()
         Defines this constraint as being a BooleanConstraint.
         
        .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
        Returns:
        Whether the booleanConstraint field is set.
      • getBooleanConstraint

        AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint getBooleanConstraint()
         Defines this constraint as being a BooleanConstraint.
         
        .google.cloud.asset.v1.AnalyzerOrgPolicyConstraint.Constraint.BooleanConstraint boolean_constraint = 6;
        Returns:
        The booleanConstraint.