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

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

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






BooleanCondition (Google Sheets API v4-rev20230526-2.0.0)












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

Class BooleanCondition

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class BooleanCondition
    extends com.google.api.client.json.GenericJson
    A condition that can evaluate to true or false. BooleanConditions are used by conditional formatting, data validation, and the criteria in filters.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Sheets API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • BooleanCondition

        public BooleanCondition()
    • Method Detail

      • getType

        public String getType()
        The type of condition.
        Returns:
        value or null for none
      • setType

        public BooleanCondition setType(String type)
        The type of condition.
        Parameters:
        type - type or null for none
      • getValues

        public List<ConditionValue> getValues()
        The values of the condition. The number of supported values depends on the condition type. Some support zero values, others one or two values, and ConditionType.ONE_OF_LIST supports an arbitrary number of values.
        Returns:
        value or null for none
      • setValues

        public BooleanCondition setValues(List<ConditionValue> values)
        The values of the condition. The number of supported values depends on the condition type. Some support zero values, others one or two values, and ConditionType.ONE_OF_LIST supports an arbitrary number of values.
        Parameters:
        values - values or null for none
      • clone

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