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

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

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






UpdateBordersRequest (Google Sheets API v4-rev20240319-2.0.0)












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

Class UpdateBordersRequest

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


    public final class UpdateBordersRequest
    extends com.google.api.client.json.GenericJson
    Updates the borders of a range. If a field is not set in the request, that means the border remains as-is. For example, with two subsequent UpdateBordersRequest: 1. range: A1:A5 `{ top: RED, bottom: WHITE }` 2. range: A1:A5 `{ left: BLUE }` That would result in A1:A5 having a borders of `{ top: RED, bottom: WHITE, left: BLUE }`. If you want to clear a border, explicitly set the style to NONE.

    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

      • UpdateBordersRequest

        public UpdateBordersRequest()
    • Method Detail

      • getBottom

        public Border getBottom()
        The border to put at the bottom of the range.
        Returns:
        value or null for none
      • setBottom

        public UpdateBordersRequest setBottom(Border bottom)
        The border to put at the bottom of the range.
        Parameters:
        bottom - bottom or null for none
      • getInnerHorizontal

        public Border getInnerHorizontal()
        The horizontal border to put within the range.
        Returns:
        value or null for none
      • setInnerHorizontal

        public UpdateBordersRequest setInnerHorizontal(Border innerHorizontal)
        The horizontal border to put within the range.
        Parameters:
        innerHorizontal - innerHorizontal or null for none
      • getInnerVertical

        public Border getInnerVertical()
        The vertical border to put within the range.
        Returns:
        value or null for none
      • setInnerVertical

        public UpdateBordersRequest setInnerVertical(Border innerVertical)
        The vertical border to put within the range.
        Parameters:
        innerVertical - innerVertical or null for none
      • getLeft

        public Border getLeft()
        The border to put at the left of the range.
        Returns:
        value or null for none
      • setLeft

        public UpdateBordersRequest setLeft(Border left)
        The border to put at the left of the range.
        Parameters:
        left - left or null for none
      • getRange

        public GridRange getRange()
        The range whose borders should be updated.
        Returns:
        value or null for none
      • setRange

        public UpdateBordersRequest setRange(GridRange range)
        The range whose borders should be updated.
        Parameters:
        range - range or null for none
      • getRight

        public Border getRight()
        The border to put at the right of the range.
        Returns:
        value or null for none
      • setRight

        public UpdateBordersRequest setRight(Border right)
        The border to put at the right of the range.
        Parameters:
        right - right or null for none
      • getTop

        public Border getTop()
        The border to put at the top of the range.
        Returns:
        value or null for none
      • setTop

        public UpdateBordersRequest setTop(Border top)
        The border to put at the top of the range.
        Parameters:
        top - top or null for none
      • clone

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

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy