Skip to content

Commit 08b92e9

Browse files
1 parent 086bc08 commit 08b92e9

File tree

11 files changed

+406
-15
lines changed

11 files changed

+406
-15
lines changed

clients/google-api-services-docs/v1/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-docs</artifactId>
25-
<version>v1-rev20251215-2.0.0</version>
25+
<version>v1-rev20260114-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-docs:v1-rev20251215-2.0.0'
38+
implementation 'com.google.apis:google-api-services-docs:v1-rev20260114-2.0.0'
3939
}
4040
```
4141

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
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.docs.v1.model;
18+
19+
/**
20+
* Adds a document tab. When a tab is added at a given index, all subsequent tabs' indexes are
21+
* incremented.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Google Docs API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class AddDocumentTabRequest extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The properties of the tab to add. All properties are optional.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private TabProperties tabProperties;
39+
40+
/**
41+
* The properties of the tab to add. All properties are optional.
42+
* @return value or {@code null} for none
43+
*/
44+
public TabProperties getTabProperties() {
45+
return tabProperties;
46+
}
47+
48+
/**
49+
* The properties of the tab to add. All properties are optional.
50+
* @param tabProperties tabProperties or {@code null} for none
51+
*/
52+
public AddDocumentTabRequest setTabProperties(TabProperties tabProperties) {
53+
this.tabProperties = tabProperties;
54+
return this;
55+
}
56+
57+
@Override
58+
public AddDocumentTabRequest set(String fieldName, Object value) {
59+
return (AddDocumentTabRequest) super.set(fieldName, value);
60+
}
61+
62+
@Override
63+
public AddDocumentTabRequest clone() {
64+
return (AddDocumentTabRequest) super.clone();
65+
}
66+
67+
}
Lines changed: 66 additions & 0 deletions
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.docs.v1.model;
18+
19+
/**
20+
* The result of adding a document tab.
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 Docs 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 AddDocumentTabResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The properties of the newly added tab.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private TabProperties tabProperties;
38+
39+
/**
40+
* The properties of the newly added tab.
41+
* @return value or {@code null} for none
42+
*/
43+
public TabProperties getTabProperties() {
44+
return tabProperties;
45+
}
46+
47+
/**
48+
* The properties of the newly added tab.
49+
* @param tabProperties tabProperties or {@code null} for none
50+
*/
51+
public AddDocumentTabResponse setTabProperties(TabProperties tabProperties) {
52+
this.tabProperties = tabProperties;
53+
return this;
54+
}
55+
56+
@Override
57+
public AddDocumentTabResponse set(String fieldName, Object value) {
58+
return (AddDocumentTabResponse) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public AddDocumentTabResponse clone() {
63+
return (AddDocumentTabResponse) super.clone();
64+
}
65+
66+
}
Lines changed: 66 additions & 0 deletions
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.docs.v1.model;
18+
19+
/**
20+
* Deletes a tab. If the tab has child tabs, they are deleted as well.
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 Docs 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 DeleteTabRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The ID of the tab to delete.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String tabId;
38+
39+
/**
40+
* The ID of the tab to delete.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getTabId() {
44+
return tabId;
45+
}
46+
47+
/**
48+
* The ID of the tab to delete.
49+
* @param tabId tabId or {@code null} for none
50+
*/
51+
public DeleteTabRequest setTabId(java.lang.String tabId) {
52+
this.tabId = tabId;
53+
return this;
54+
}
55+
56+
@Override
57+
public DeleteTabRequest set(String fieldName, Object value) {
58+
return (DeleteTabRequest) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public DeleteTabRequest clone() {
63+
return (DeleteTabRequest) super.clone();
64+
}
65+
66+
}

clients/google-api-services-docs/v1/2.0.0/com/google/api/services/docs/v1/model/InsertPersonRequest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public final class InsertPersonRequest extends com.google.api.client.json.Generi
3939
/**
4040
* Inserts the person mention at a specific index in the document. The person mention must be
4141
* inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a
42-
* table's start index (i.e. between the table and its preceding paragraph). People cannot be
43-
* inserted inside an equation.
42+
* table's start index (i.e. between the table and its preceding paragraph). Person mentions
43+
* cannot be inserted inside an equation.
4444
* The value may be {@code null}.
4545
*/
4646
@com.google.api.client.util.Key
@@ -73,8 +73,8 @@ public InsertPersonRequest setEndOfSegmentLocation(EndOfSegmentLocation endOfSeg
7373
/**
7474
* Inserts the person mention at a specific index in the document. The person mention must be
7575
* inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a
76-
* table's start index (i.e. between the table and its preceding paragraph). People cannot be
77-
* inserted inside an equation.
76+
* table's start index (i.e. between the table and its preceding paragraph). Person mentions
77+
* cannot be inserted inside an equation.
7878
* @return value or {@code null} for none
7979
*/
8080
public Location getLocation() {
@@ -84,8 +84,8 @@ public Location getLocation() {
8484
/**
8585
* Inserts the person mention at a specific index in the document. The person mention must be
8686
* inserted inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a
87-
* table's start index (i.e. between the table and its preceding paragraph). People cannot be
88-
* inserted inside an equation.
87+
* table's start index (i.e. between the table and its preceding paragraph). Person mentions
88+
* cannot be inserted inside an equation.
8989
* @param location location or {@code null} for none
9090
*/
9191
public InsertPersonRequest setLocation(Location location) {

clients/google-api-services-docs/v1/2.0.0/com/google/api/services/docs/v1/model/Request.java

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
@SuppressWarnings("javadoc")
3030
public final class Request extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Adds a document tab.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private AddDocumentTabRequest addDocumentTab;
38+
3239
/**
3340
* Creates a footer.
3441
* The value may be {@code null}.
@@ -106,6 +113,13 @@ public final class Request extends com.google.api.client.json.GenericJson {
106113
@com.google.api.client.util.Key
107114
private DeletePositionedObjectRequest deletePositionedObject;
108115

116+
/**
117+
* Deletes a document tab.
118+
* The value may be {@code null}.
119+
*/
120+
@com.google.api.client.util.Key
121+
private DeleteTabRequest deleteTab;
122+
109123
/**
110124
* Deletes a column from a table.
111125
* The value may be {@code null}.
@@ -232,6 +246,13 @@ public final class Request extends com.google.api.client.json.GenericJson {
232246
@com.google.api.client.util.Key
233247
private UpdateDocumentStyleRequest updateDocumentStyle;
234248

249+
/**
250+
* Updates the properties of a document tab.
251+
* The value may be {@code null}.
252+
*/
253+
@com.google.api.client.util.Key
254+
private UpdateDocumentTabPropertiesRequest updateDocumentTabProperties;
255+
235256
/**
236257
* Updates the paragraph style at the specified range.
237258
* The value may be {@code null}.
@@ -274,6 +295,23 @@ public final class Request extends com.google.api.client.json.GenericJson {
274295
@com.google.api.client.util.Key
275296
private UpdateTextStyleRequest updateTextStyle;
276297

298+
/**
299+
* Adds a document tab.
300+
* @return value or {@code null} for none
301+
*/
302+
public AddDocumentTabRequest getAddDocumentTab() {
303+
return addDocumentTab;
304+
}
305+
306+
/**
307+
* Adds a document tab.
308+
* @param addDocumentTab addDocumentTab or {@code null} for none
309+
*/
310+
public Request setAddDocumentTab(AddDocumentTabRequest addDocumentTab) {
311+
this.addDocumentTab = addDocumentTab;
312+
return this;
313+
}
314+
277315
/**
278316
* Creates a footer.
279317
* @return value or {@code null} for none
@@ -461,6 +499,23 @@ public Request setDeletePositionedObject(DeletePositionedObjectRequest deletePos
461499
return this;
462500
}
463501

502+
/**
503+
* Deletes a document tab.
504+
* @return value or {@code null} for none
505+
*/
506+
public DeleteTabRequest getDeleteTab() {
507+
return deleteTab;
508+
}
509+
510+
/**
511+
* Deletes a document tab.
512+
* @param deleteTab deleteTab or {@code null} for none
513+
*/
514+
public Request setDeleteTab(DeleteTabRequest deleteTab) {
515+
this.deleteTab = deleteTab;
516+
return this;
517+
}
518+
464519
/**
465520
* Deletes a column from a table.
466521
* @return value or {@code null} for none
@@ -767,6 +822,23 @@ public Request setUpdateDocumentStyle(UpdateDocumentStyleRequest updateDocumentS
767822
return this;
768823
}
769824

825+
/**
826+
* Updates the properties of a document tab.
827+
* @return value or {@code null} for none
828+
*/
829+
public UpdateDocumentTabPropertiesRequest getUpdateDocumentTabProperties() {
830+
return updateDocumentTabProperties;
831+
}
832+
833+
/**
834+
* Updates the properties of a document tab.
835+
* @param updateDocumentTabProperties updateDocumentTabProperties or {@code null} for none
836+
*/
837+
public Request setUpdateDocumentTabProperties(UpdateDocumentTabPropertiesRequest updateDocumentTabProperties) {
838+
this.updateDocumentTabProperties = updateDocumentTabProperties;
839+
return this;
840+
}
841+
770842
/**
771843
* Updates the paragraph style at the specified range.
772844
* @return value or {@code null} for none

0 commit comments

Comments
 (0)