Class UpdateBordersRequest
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.
Implements
Inherited Members
Namespace: Google.Apis.Sheets.v4.Data
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public class UpdateBordersRequest : IDirectResponseSchema
Properties
Bottom
The border to put at the bottom of the range.
Declaration
[JsonProperty("bottom")]
public virtual Border Bottom { get; set; }
Property Value
Type | Description |
---|---|
Border |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
InnerHorizontal
The horizontal border to put within the range.
Declaration
[JsonProperty("innerHorizontal")]
public virtual Border InnerHorizontal { get; set; }
Property Value
Type | Description |
---|---|
Border |
InnerVertical
The vertical border to put within the range.
Declaration
[JsonProperty("innerVertical")]
public virtual Border InnerVertical { get; set; }
Property Value
Type | Description |
---|---|
Border |
Left
The border to put at the left of the range.
Declaration
[JsonProperty("left")]
public virtual Border Left { get; set; }
Property Value
Type | Description |
---|---|
Border |
Range
The range whose borders should be updated.
Declaration
[JsonProperty("range")]
public virtual GridRange Range { get; set; }
Property Value
Type | Description |
---|---|
GridRange |
Right
The border to put at the right of the range.
Declaration
[JsonProperty("right")]
public virtual Border Right { get; set; }
Property Value
Type | Description |
---|---|
Border |
Top
The border to put at the top of the range.
Declaration
[JsonProperty("top")]
public virtual Border Top { get; set; }
Property Value
Type | Description |
---|---|
Border |