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

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

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






UpdateConditionalFormatRuleRequest (Google Sheets API v4-rev20240312-2.0.0)












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

Class UpdateConditionalFormatRuleRequest

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


    public final class UpdateConditionalFormatRuleRequest
    extends com.google.api.client.json.GenericJson
    Updates a conditional format rule at the given index, or moves a conditional format rule to another index.

    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

      • UpdateConditionalFormatRuleRequest

        public UpdateConditionalFormatRuleRequest()
    • Method Detail

      • getIndex

        public Integer getIndex()
        The zero-based index of the rule that should be replaced or moved.
        Returns:
        value or null for none
      • getNewIndex

        public Integer getNewIndex()
        The zero-based new index the rule should end up at.
        Returns:
        value or null for none
      • getRule

        public ConditionalFormatRule getRule()
        The rule that should replace the rule at the given index.
        Returns:
        value or null for none
      • getSheetId

        public Integer getSheetId()
        The sheet of the rule to move. Required if new_index is set, unused otherwise.
        Returns:
        value or null for none
      • setSheetId

        public UpdateConditionalFormatRuleRequest setSheetId(Integer sheetId)
        The sheet of the rule to move. Required if new_index is set, unused otherwise.
        Parameters:
        sheetId - sheetId or null for none

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy