All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.sheets.v4.model.DataValidationRule.html Maven / Gradle / Ivy







DataValidationRule (Google Sheets API v4-rev20230526-2.0.0)












com.google.api.services.sheets.v4.model

Class DataValidationRule

    • Constructor Detail

      • DataValidationRule

        public DataValidationRule()
    • Method Detail

      • getCondition

        public BooleanCondition getCondition()
        The condition that data in the cell must match.
        Returns:
        value or null for none
      • setCondition

        public DataValidationRule setCondition(BooleanCondition condition)
        The condition that data in the cell must match.
        Parameters:
        condition - condition or null for none
      • getInputMessage

        public String getInputMessage()
        A message to show the user when adding data to the cell.
        Returns:
        value or null for none
      • setInputMessage

        public DataValidationRule setInputMessage(String inputMessage)
        A message to show the user when adding data to the cell.
        Parameters:
        inputMessage - inputMessage or null for none
      • getShowCustomUi

        public Boolean getShowCustomUi()
        True if the UI should be customized based on the kind of condition. If true, "List" conditions will show a dropdown.
        Returns:
        value or null for none
      • setShowCustomUi

        public DataValidationRule setShowCustomUi(Boolean showCustomUi)
        True if the UI should be customized based on the kind of condition. If true, "List" conditions will show a dropdown.
        Parameters:
        showCustomUi - showCustomUi or null for none
      • getStrict

        public Boolean getStrict()
        True if invalid data should be rejected.
        Returns:
        value or null for none
      • setStrict

        public DataValidationRule setStrict(Boolean strict)
        True if invalid data should be rejected.
        Parameters:
        strict - strict or null for none
      • clone

        public DataValidationRule clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2023 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy