Skip to content

Commit 609b469

Browse files
1 parent 86364fa commit 609b469

24 files changed

+1185
-124
lines changed

clients/google-api-services-sheets/v4/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-sheets</artifactId>
25-
<version>v4-rev20250211-2.0.0</version>
25+
<version>v4-rev20250415-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-sheets:v4-rev20250211-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sheets:v4-rev20250415-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-sheets/v4/2.0.0/com/google/api/services/sheets/v4/Sheets.java

Lines changed: 132 additions & 79 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.sheets.v4.model;
18+
19+
/**
20+
* Adds a new table to the spreadsheet.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Google Sheets API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class AddTableRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The table to add.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private Table table;
38+
39+
/**
40+
* Required. The table to add.
41+
* @return value or {@code null} for none
42+
*/
43+
public Table getTable() {
44+
return table;
45+
}
46+
47+
/**
48+
* Required. The table to add.
49+
* @param table table or {@code null} for none
50+
*/
51+
public AddTableRequest setTable(Table table) {
52+
this.table = table;
53+
return this;
54+
}
55+
56+
@Override
57+
public AddTableRequest set(String fieldName, Object value) {
58+
return (AddTableRequest) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public AddTableRequest clone() {
63+
return (AddTableRequest) super.clone();
64+
}
65+
66+
}

clients/google-api-services-sheets/v4/2.0.0/com/google/api/services/sheets/v4/model/AppendCellsRequest.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ public final class AppendCellsRequest extends com.google.api.client.json.Generic
5353
@com.google.api.client.util.Key
5454
private java.lang.Integer sheetId;
5555

56+
/**
57+
* The ID of the table to append data to. The data will be only appended to the table body. This
58+
* field also takes precedence over the `sheet_id` field.
59+
* The value may be {@code null}.
60+
*/
61+
@com.google.api.client.util.Key
62+
private java.lang.String tableId;
63+
5664
/**
5765
* The fields of CellData that should be updated. At least one field must be specified. The root
5866
* is the CellData; 'row.values.' should not be specified. A single `"*"` can be used as short-
@@ -108,6 +116,25 @@ public AppendCellsRequest setSheetId(java.lang.Integer sheetId) {
108116
return this;
109117
}
110118

119+
/**
120+
* The ID of the table to append data to. The data will be only appended to the table body. This
121+
* field also takes precedence over the `sheet_id` field.
122+
* @return value or {@code null} for none
123+
*/
124+
public java.lang.String getTableId() {
125+
return tableId;
126+
}
127+
128+
/**
129+
* The ID of the table to append data to. The data will be only appended to the table body. This
130+
* field also takes precedence over the `sheet_id` field.
131+
* @param tableId tableId or {@code null} for none
132+
*/
133+
public AppendCellsRequest setTableId(java.lang.String tableId) {
134+
this.tableId = tableId;
135+
return this;
136+
}
137+
111138
@Override
112139
public AppendCellsRequest set(String fieldName, Object value) {
113140
return (AppendCellsRequest) super.set(fieldName, value);

clients/google-api-services-sheets/v4/2.0.0/com/google/api/services/sheets/v4/model/BasicFilter.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ public final class BasicFilter extends com.google.api.client.json.GenericJson {
6060
@com.google.api.client.util.Key
6161
private java.util.List<SortSpec> sortSpecs;
6262

63+
/**
64+
* The table this filter is backed by, if any. When writing, only one of range or table_id may be
65+
* set.
66+
* The value may be {@code null}.
67+
*/
68+
@com.google.api.client.util.Key
69+
private java.lang.String tableId;
70+
6371
/**
6472
* The criteria for showing/hiding values per column. The map's key is the column index, and the
6573
* value is the criteria for that column. This field is deprecated in favor of filter_specs.
@@ -134,6 +142,25 @@ public BasicFilter setSortSpecs(java.util.List<SortSpec> sortSpecs) {
134142
return this;
135143
}
136144

145+
/**
146+
* The table this filter is backed by, if any. When writing, only one of range or table_id may be
147+
* set.
148+
* @return value or {@code null} for none
149+
*/
150+
public java.lang.String getTableId() {
151+
return tableId;
152+
}
153+
154+
/**
155+
* The table this filter is backed by, if any. When writing, only one of range or table_id may be
156+
* set.
157+
* @param tableId tableId or {@code null} for none
158+
*/
159+
public BasicFilter setTableId(java.lang.String tableId) {
160+
this.tableId = tableId;
161+
return this;
162+
}
163+
137164
@Override
138165
public BasicFilter set(String fieldName, Object value) {
139166
return (BasicFilter) super.set(fieldName, value);

clients/google-api-services-sheets/v4/2.0.0/com/google/api/services/sheets/v4/model/BatchClearValuesByDataFilterResponse.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
public final class BatchClearValuesByDataFilterResponse extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* The ranges that were cleared, in [A1 notation](/sheets/api/guides/concepts#cell). If the
33+
* The ranges that were cleared, in [A1
34+
* notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell). If the
3435
* requests are for an unbounded range or a ranger larger than the bounds of the sheet, this is
3536
* the actual ranges that were cleared, bounded to the sheet's limits.
3637
* The value may be {@code null}.
@@ -46,7 +47,8 @@ public final class BatchClearValuesByDataFilterResponse extends com.google.api.c
4647
private java.lang.String spreadsheetId;
4748

4849
/**
49-
* The ranges that were cleared, in [A1 notation](/sheets/api/guides/concepts#cell). If the
50+
* The ranges that were cleared, in [A1
51+
* notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell). If the
5052
* requests are for an unbounded range or a ranger larger than the bounds of the sheet, this is
5153
* the actual ranges that were cleared, bounded to the sheet's limits.
5254
* @return value or {@code null} for none
@@ -56,7 +58,8 @@ public java.util.List<java.lang.String> getClearedRanges() {
5658
}
5759

5860
/**
59-
* The ranges that were cleared, in [A1 notation](/sheets/api/guides/concepts#cell). If the
61+
* The ranges that were cleared, in [A1
62+
* notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell). If the
6063
* requests are for an unbounded range or a ranger larger than the bounds of the sheet, this is
6164
* the actual ranges that were cleared, bounded to the sheet's limits.
6265
* @param clearedRanges clearedRanges or {@code null} for none

clients/google-api-services-sheets/v4/2.0.0/com/google/api/services/sheets/v4/model/BatchClearValuesRequest.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,25 @@
3030
public final class BatchClearValuesRequest extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* The ranges to clear, in [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell).
33+
* The ranges to clear, in [A1 notation or R1C1
34+
* notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell).
3435
* The value may be {@code null}.
3536
*/
3637
@com.google.api.client.util.Key
3738
private java.util.List<java.lang.String> ranges;
3839

3940
/**
40-
* The ranges to clear, in [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell).
41+
* The ranges to clear, in [A1 notation or R1C1
42+
* notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell).
4143
* @return value or {@code null} for none
4244
*/
4345
public java.util.List<java.lang.String> getRanges() {
4446
return ranges;
4547
}
4648

4749
/**
48-
* The ranges to clear, in [A1 notation or R1C1 notation](/sheets/api/guides/concepts#cell).
50+
* The ranges to clear, in [A1 notation or R1C1
51+
* notation](https://developers.google.com/workspace/sheets/api/guides/concepts#cell).
4952
* @param ranges ranges or {@code null} for none
5053
*/
5154
public BatchClearValuesRequest setRanges(java.util.List<java.lang.String> ranges) {

clients/google-api-services-sheets/v4/2.0.0/com/google/api/services/sheets/v4/model/ColorStyle.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
public final class ColorStyle extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* RGB color. The [`alpha`](/sheets/api/reference/rest/v4/spreadsheets/other#Color.FIELDS.alpha)
34-
* value in the [`Color`](/sheets/api/reference/rest/v4/spreadsheets/other#color) object isn't
35-
* generally supported.
33+
* RGB color. The [`alpha`](https://developers.google.com/workspace/sheets/api/reference/rest/v4/s
34+
* preadsheets/other#Color.FIELDS.alpha) value in the [`Color`](https://developers.google.com/work
35+
* space/sheets/api/reference/rest/v4/spreadsheets/other#color) object isn't generally supported.
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
@@ -46,19 +46,19 @@ public final class ColorStyle extends com.google.api.client.json.GenericJson {
4646
private java.lang.String themeColor;
4747

4848
/**
49-
* RGB color. The [`alpha`](/sheets/api/reference/rest/v4/spreadsheets/other#Color.FIELDS.alpha)
50-
* value in the [`Color`](/sheets/api/reference/rest/v4/spreadsheets/other#color) object isn't
51-
* generally supported.
49+
* RGB color. The [`alpha`](https://developers.google.com/workspace/sheets/api/reference/rest/v4/s
50+
* preadsheets/other#Color.FIELDS.alpha) value in the [`Color`](https://developers.google.com/work
51+
* space/sheets/api/reference/rest/v4/spreadsheets/other#color) object isn't generally supported.
5252
* @return value or {@code null} for none
5353
*/
5454
public Color getRgbColor() {
5555
return rgbColor;
5656
}
5757

5858
/**
59-
* RGB color. The [`alpha`](/sheets/api/reference/rest/v4/spreadsheets/other#Color.FIELDS.alpha)
60-
* value in the [`Color`](/sheets/api/reference/rest/v4/spreadsheets/other#color) object isn't
61-
* generally supported.
59+
* RGB color. The [`alpha`](https://developers.google.com/workspace/sheets/api/reference/rest/v4/s
60+
* preadsheets/other#Color.FIELDS.alpha) value in the [`Color`](https://developers.google.com/work
61+
* space/sheets/api/reference/rest/v4/spreadsheets/other#color) object isn't generally supported.
6262
* @param rgbColor rgbColor or {@code null} for none
6363
*/
6464
public ColorStyle setRgbColor(Color rgbColor) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.sheets.v4.model;
18+
19+
/**
20+
* Removes the table with the given ID from the spreadsheet.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Google Sheets API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class DeleteTableRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The ID of the table to delete.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String tableId;
38+
39+
/**
40+
* The ID of the table to delete.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getTableId() {
44+
return tableId;
45+
}
46+
47+
/**
48+
* The ID of the table to delete.
49+
* @param tableId tableId or {@code null} for none
50+
*/
51+
public DeleteTableRequest setTableId(java.lang.String tableId) {
52+
this.tableId = tableId;
53+
return this;
54+
}
55+
56+
@Override
57+
public DeleteTableRequest set(String fieldName, Object value) {
58+
return (DeleteTableRequest) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public DeleteTableRequest clone() {
63+
return (DeleteTableRequest) super.clone();
64+
}
65+
66+
}

0 commit comments

Comments
 (0)