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

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

There is a newer version: v4-rev20240423-2.0.0
Show newest version






ConditionValue (Google Sheets API v4-rev20230526-2.0.0)












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

Class ConditionValue

    • Constructor Detail

      • ConditionValue

        public ConditionValue()
    • Method Detail

      • getRelativeDate

        public String getRelativeDate()
        A relative date (based on the current date). Valid only if the type is DATE_BEFORE, DATE_AFTER, DATE_ON_OR_BEFORE or DATE_ON_OR_AFTER. Relative dates are not supported in data validation. They are supported only in conditional formatting and conditional filters.
        Returns:
        value or null for none
      • setRelativeDate

        public ConditionValue setRelativeDate(String relativeDate)
        A relative date (based on the current date). Valid only if the type is DATE_BEFORE, DATE_AFTER, DATE_ON_OR_BEFORE or DATE_ON_OR_AFTER. Relative dates are not supported in data validation. They are supported only in conditional formatting and conditional filters.
        Parameters:
        relativeDate - relativeDate or null for none
      • getUserEnteredValue

        public String getUserEnteredValue()
        A value the condition is based on. The value is parsed as if the user typed into a cell. Formulas are supported (and must begin with an `=` or a '+').
        Returns:
        value or null for none
      • setUserEnteredValue

        public ConditionValue setUserEnteredValue(String userEnteredValue)
        A value the condition is based on. The value is parsed as if the user typed into a cell. Formulas are supported (and must begin with an `=` or a '+').
        Parameters:
        userEnteredValue - userEnteredValue or null for none
      • set

        public ConditionValue set(String fieldName,
                                  Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public ConditionValue 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