Skip to content

Commit 680c6c4

Browse files
1 parent f0e6fa0 commit 680c6c4

23 files changed

+1402
-6
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-rev20230929-2.0.0</version>
25+
<version>v1-rev20240722-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-rev20230929-2.0.0'
38+
implementation 'com.google.apis:google-api-services-docs:v1-rev20240722-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,40 @@ public Get setDocumentId(java.lang.String documentId) {
510510
return this;
511511
}
512512

513+
/**
514+
* Whether to populate the Document.tabs field instead of the text content fields like body
515+
* and documentStyle on Document. - When `True`: Document content populates in the
516+
* Document.tabs field instead of the text content fields in Document. - When `False`: The
517+
* content of the document's first tab populates the content fields in Document excluding
518+
* Document.tabs. If a document has only one tab, then that tab is used to populate the
519+
* document content. Document.tabs will be empty.
520+
*/
521+
@com.google.api.client.util.Key
522+
private java.lang.Boolean includeTabsContent;
523+
524+
/** Whether to populate the Document.tabs field instead of the text content fields like body and
525+
documentStyle on Document. - When `True`: Document content populates in the Document.tabs field
526+
instead of the text content fields in Document. - When `False`: The content of the document's first
527+
tab populates the content fields in Document excluding Document.tabs. If a document has only one
528+
tab, then that tab is used to populate the document content. Document.tabs will be empty.
529+
*/
530+
public java.lang.Boolean getIncludeTabsContent() {
531+
return includeTabsContent;
532+
}
533+
534+
/**
535+
* Whether to populate the Document.tabs field instead of the text content fields like body
536+
* and documentStyle on Document. - When `True`: Document content populates in the
537+
* Document.tabs field instead of the text content fields in Document. - When `False`: The
538+
* content of the document's first tab populates the content fields in Document excluding
539+
* Document.tabs. If a document has only one tab, then that tab is used to populate the
540+
* document content. Document.tabs will be empty.
541+
*/
542+
public Get setIncludeTabsContent(java.lang.Boolean includeTabsContent) {
543+
this.includeTabsContent = includeTabsContent;
544+
return this;
545+
}
546+
513547
/**
514548
* The suggestions view mode to apply to the document. This allows viewing the document with
515549
* all suggestions inline, accepted or rejected. If one is not specified,
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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+
* A reference to a bookmark in this document.
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 BookmarkLink extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The ID of a bookmark in this document.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String id;
38+
39+
/**
40+
* The ID of the tab containing this bookmark.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String tabId;
45+
46+
/**
47+
* The ID of a bookmark in this document.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getId() {
51+
return id;
52+
}
53+
54+
/**
55+
* The ID of a bookmark in this document.
56+
* @param id id or {@code null} for none
57+
*/
58+
public BookmarkLink setId(java.lang.String id) {
59+
this.id = id;
60+
return this;
61+
}
62+
63+
/**
64+
* The ID of the tab containing this bookmark.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.String getTabId() {
68+
return tabId;
69+
}
70+
71+
/**
72+
* The ID of the tab containing this bookmark.
73+
* @param tabId tabId or {@code null} for none
74+
*/
75+
public BookmarkLink setTabId(java.lang.String tabId) {
76+
this.tabId = tabId;
77+
return this;
78+
}
79+
80+
@Override
81+
public BookmarkLink set(String fieldName, Object value) {
82+
return (BookmarkLink) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public BookmarkLink clone() {
87+
return (BookmarkLink) super.clone();
88+
}
89+
90+
}

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,17 @@ public final class DeleteFooterRequest extends com.google.api.client.json.Generi
3939
@com.google.api.client.util.Key
4040
private java.lang.String footerId;
4141

42+
/**
43+
* The tab that contains the footer to delete. When omitted, the request is applied to the first
44+
* tab. In a document containing a single tab: - If provided, must match the singular tab's ID. -
45+
* If omitted, the request applies to the singular tab. In a document containing multiple tabs: -
46+
* If provided, the request applies to the specified tab. - If omitted, the request applies to the
47+
* first tab in the document.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String tabId;
52+
4253
/**
4354
* The id of the footer to delete. If this footer is defined on DocumentStyle, the reference to
4455
* this footer is removed, resulting in no footer of that type for the first section of the
@@ -62,6 +73,31 @@ public DeleteFooterRequest setFooterId(java.lang.String footerId) {
6273
return this;
6374
}
6475

76+
/**
77+
* The tab that contains the footer to delete. When omitted, the request is applied to the first
78+
* tab. In a document containing a single tab: - If provided, must match the singular tab's ID. -
79+
* If omitted, the request applies to the singular tab. In a document containing multiple tabs: -
80+
* If provided, the request applies to the specified tab. - If omitted, the request applies to the
81+
* first tab in the document.
82+
* @return value or {@code null} for none
83+
*/
84+
public java.lang.String getTabId() {
85+
return tabId;
86+
}
87+
88+
/**
89+
* The tab that contains the footer to delete. When omitted, the request is applied to the first
90+
* tab. In a document containing a single tab: - If provided, must match the singular tab's ID. -
91+
* If omitted, the request applies to the singular tab. In a document containing multiple tabs: -
92+
* If provided, the request applies to the specified tab. - If omitted, the request applies to the
93+
* first tab in the document.
94+
* @param tabId tabId or {@code null} for none
95+
*/
96+
public DeleteFooterRequest setTabId(java.lang.String tabId) {
97+
this.tabId = tabId;
98+
return this;
99+
}
100+
65101
@Override
66102
public DeleteFooterRequest set(String fieldName, Object value) {
67103
return (DeleteFooterRequest) super.set(fieldName, value);

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,17 @@ public final class DeleteHeaderRequest extends com.google.api.client.json.Generi
3939
@com.google.api.client.util.Key
4040
private java.lang.String headerId;
4141

42+
/**
43+
* The tab containing the header to delete. When omitted, the request is applied to the first tab.
44+
* In a document containing a single tab: - If provided, must match the singular tab's ID. - If
45+
* omitted, the request applies to the singular tab. In a document containing multiple tabs: - If
46+
* provided, the request applies to the specified tab. - If omitted, the request applies to the
47+
* first tab in the document.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String tabId;
52+
4253
/**
4354
* The id of the header to delete. If this header is defined on DocumentStyle, the reference to
4455
* this header is removed, resulting in no header of that type for the first section of the
@@ -62,6 +73,31 @@ public DeleteHeaderRequest setHeaderId(java.lang.String headerId) {
6273
return this;
6374
}
6475

76+
/**
77+
* The tab containing the header to delete. When omitted, the request is applied to the first tab.
78+
* In a document containing a single tab: - If provided, must match the singular tab's ID. - If
79+
* omitted, the request applies to the singular tab. In a document containing multiple tabs: - If
80+
* provided, the request applies to the specified tab. - If omitted, the request applies to the
81+
* first tab in the document.
82+
* @return value or {@code null} for none
83+
*/
84+
public java.lang.String getTabId() {
85+
return tabId;
86+
}
87+
88+
/**
89+
* The tab containing the header to delete. When omitted, the request is applied to the first tab.
90+
* In a document containing a single tab: - If provided, must match the singular tab's ID. - If
91+
* omitted, the request applies to the singular tab. In a document containing multiple tabs: - If
92+
* provided, the request applies to the specified tab. - If omitted, the request applies to the
93+
* first tab in the document.
94+
* @param tabId tabId or {@code null} for none
95+
*/
96+
public DeleteHeaderRequest setTabId(java.lang.String tabId) {
97+
this.tabId = tabId;
98+
return this;
99+
}
100+
65101
@Override
66102
public DeleteHeaderRequest set(String fieldName, Object value) {
67103
return (DeleteHeaderRequest) super.set(fieldName, value);

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ public final class DeleteNamedRangeRequest extends com.google.api.client.json.Ge
4343
@com.google.api.client.util.Key
4444
private java.lang.String namedRangeId;
4545

46+
/**
47+
* Optional. The criteria used to specify which tab(s) the range deletion should occur in. When
48+
* omitted, the range deletion is applied to all tabs. In a document containing a single tab: - If
49+
* provided, must match the singular tab's ID. - If omitted, the range deletion applies to the
50+
* singular tab. In a document containing multiple tabs: - If provided, the range deletion applies
51+
* to the specified tabs. - If not provided, the range deletion applies to all tabs.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key
55+
private TabsCriteria tabsCriteria;
56+
4657
/**
4758
* The name of the range(s) to delete. All named ranges with the given name will be deleted.
4859
* @return value or {@code null} for none
@@ -77,6 +88,31 @@ public DeleteNamedRangeRequest setNamedRangeId(java.lang.String namedRangeId) {
7788
return this;
7889
}
7990

91+
/**
92+
* Optional. The criteria used to specify which tab(s) the range deletion should occur in. When
93+
* omitted, the range deletion is applied to all tabs. In a document containing a single tab: - If
94+
* provided, must match the singular tab's ID. - If omitted, the range deletion applies to the
95+
* singular tab. In a document containing multiple tabs: - If provided, the range deletion applies
96+
* to the specified tabs. - If not provided, the range deletion applies to all tabs.
97+
* @return value or {@code null} for none
98+
*/
99+
public TabsCriteria getTabsCriteria() {
100+
return tabsCriteria;
101+
}
102+
103+
/**
104+
* Optional. The criteria used to specify which tab(s) the range deletion should occur in. When
105+
* omitted, the range deletion is applied to all tabs. In a document containing a single tab: - If
106+
* provided, must match the singular tab's ID. - If omitted, the range deletion applies to the
107+
* singular tab. In a document containing multiple tabs: - If provided, the range deletion applies
108+
* to the specified tabs. - If not provided, the range deletion applies to all tabs.
109+
* @param tabsCriteria tabsCriteria or {@code null} for none
110+
*/
111+
public DeleteNamedRangeRequest setTabsCriteria(TabsCriteria tabsCriteria) {
112+
this.tabsCriteria = tabsCriteria;
113+
return this;
114+
}
115+
80116
@Override
81117
public DeleteNamedRangeRequest set(String fieldName, Object value) {
82118
return (DeleteNamedRangeRequest) super.set(fieldName, value);

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@ public final class DeletePositionedObjectRequest extends com.google.api.client.j
3636
@com.google.api.client.util.Key
3737
private java.lang.String objectId;
3838

39+
/**
40+
* The tab that the positioned object to delete is in. When omitted, the request is applied to the
41+
* first tab. In a document containing a single tab: - If provided, must match the singular tab's
42+
* ID. - If omitted, the request applies to the singular tab. In a document containing multiple
43+
* tabs: - If provided, the request applies to the specified tab. - If omitted, the request
44+
* applies to the first tab in the document.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private java.lang.String tabId;
49+
3950
/**
4051
* The ID of the positioned object to delete.
4152
* @return value or {@code null} for none
@@ -53,6 +64,31 @@ public DeletePositionedObjectRequest setObjectId(java.lang.String objectId) {
5364
return this;
5465
}
5566

67+
/**
68+
* The tab that the positioned object to delete is in. When omitted, the request is applied to the
69+
* first tab. In a document containing a single tab: - If provided, must match the singular tab's
70+
* ID. - If omitted, the request applies to the singular tab. In a document containing multiple
71+
* tabs: - If provided, the request applies to the specified tab. - If omitted, the request
72+
* applies to the first tab in the document.
73+
* @return value or {@code null} for none
74+
*/
75+
public java.lang.String getTabId() {
76+
return tabId;
77+
}
78+
79+
/**
80+
* The tab that the positioned object to delete is in. When omitted, the request is applied to the
81+
* first tab. In a document containing a single tab: - If provided, must match the singular tab's
82+
* ID. - If omitted, the request applies to the singular tab. In a document containing multiple
83+
* tabs: - If provided, the request applies to the specified tab. - If omitted, the request
84+
* applies to the first tab in the document.
85+
* @param tabId tabId or {@code null} for none
86+
*/
87+
public DeletePositionedObjectRequest setTabId(java.lang.String tabId) {
88+
this.tabId = tabId;
89+
return this;
90+
}
91+
5692
@Override
5793
public DeletePositionedObjectRequest set(String fieldName, Object value) {
5894
return (DeletePositionedObjectRequest) super.set(fieldName, value);

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,14 @@ public final class Document extends com.google.api.client.json.GenericJson {
143143
@com.google.api.client.util.Key
144144
private java.lang.String suggestionsViewMode;
145145

146+
/**
147+
* Tabs that are part of a document. Tabs can contain child tabs, a tab nested within another tab.
148+
* Child tabs are represented by the Tab.child_tabs field.
149+
* The value may be {@code null}.
150+
*/
151+
@com.google.api.client.util.Key
152+
private java.util.List<Tab> tabs;
153+
146154
/**
147155
* The title of the document.
148156
* The value may be {@code null}.
@@ -423,6 +431,25 @@ public Document setSuggestionsViewMode(java.lang.String suggestionsViewMode) {
423431
return this;
424432
}
425433

434+
/**
435+
* Tabs that are part of a document. Tabs can contain child tabs, a tab nested within another tab.
436+
* Child tabs are represented by the Tab.child_tabs field.
437+
* @return value or {@code null} for none
438+
*/
439+
public java.util.List<Tab> getTabs() {
440+
return tabs;
441+
}
442+
443+
/**
444+
* Tabs that are part of a document. Tabs can contain child tabs, a tab nested within another tab.
445+
* Child tabs are represented by the Tab.child_tabs field.
446+
* @param tabs tabs or {@code null} for none
447+
*/
448+
public Document setTabs(java.util.List<Tab> tabs) {
449+
this.tabs = tabs;
450+
return this;
451+
}
452+
426453
/**
427454
* The title of the document.
428455
* @return value or {@code null} for none

0 commit comments

Comments
 (0)