Skip to content

Commit 1c00932

Browse files
1 parent 16a1860 commit 1c00932

File tree

5 files changed

+153
-6
lines changed

5 files changed

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

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
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+
* Inserts a RichLink at the specified location.
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 InsertRichLinkRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Inserts the rich link at the end of a header, footer, footnote or the document body.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private EndOfSegmentLocation endOfSegmentLocation;
38+
39+
/**
40+
* Inserts the rich link at a specific index in the document. The rich link must be inserted
41+
* inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's
42+
* start index (i.e. between the table and its preceding paragraph). The rich link cannot be
43+
* inserted inside an equation.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private Location location;
48+
49+
/**
50+
* The properties of the rich link to insert.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private RichLinkProperties richLinkProperties;
55+
56+
/**
57+
* Inserts the rich link at the end of a header, footer, footnote or the document body.
58+
* @return value or {@code null} for none
59+
*/
60+
public EndOfSegmentLocation getEndOfSegmentLocation() {
61+
return endOfSegmentLocation;
62+
}
63+
64+
/**
65+
* Inserts the rich link at the end of a header, footer, footnote or the document body.
66+
* @param endOfSegmentLocation endOfSegmentLocation or {@code null} for none
67+
*/
68+
public InsertRichLinkRequest setEndOfSegmentLocation(EndOfSegmentLocation endOfSegmentLocation) {
69+
this.endOfSegmentLocation = endOfSegmentLocation;
70+
return this;
71+
}
72+
73+
/**
74+
* Inserts the rich link at a specific index in the document. The rich link must be inserted
75+
* inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's
76+
* start index (i.e. between the table and its preceding paragraph). The rich link cannot be
77+
* inserted inside an equation.
78+
* @return value or {@code null} for none
79+
*/
80+
public Location getLocation() {
81+
return location;
82+
}
83+
84+
/**
85+
* Inserts the rich link at a specific index in the document. The rich link must be inserted
86+
* inside the bounds of an existing Paragraph. For instance, it cannot be inserted at a table's
87+
* start index (i.e. between the table and its preceding paragraph). The rich link cannot be
88+
* inserted inside an equation.
89+
* @param location location or {@code null} for none
90+
*/
91+
public InsertRichLinkRequest setLocation(Location location) {
92+
this.location = location;
93+
return this;
94+
}
95+
96+
/**
97+
* The properties of the rich link to insert.
98+
* @return value or {@code null} for none
99+
*/
100+
public RichLinkProperties getRichLinkProperties() {
101+
return richLinkProperties;
102+
}
103+
104+
/**
105+
* The properties of the rich link to insert.
106+
* @param richLinkProperties richLinkProperties or {@code null} for none
107+
*/
108+
public InsertRichLinkRequest setRichLinkProperties(RichLinkProperties richLinkProperties) {
109+
this.richLinkProperties = richLinkProperties;
110+
return this;
111+
}
112+
113+
@Override
114+
public InsertRichLinkRequest set(String fieldName, Object value) {
115+
return (InsertRichLinkRequest) super.set(fieldName, value);
116+
}
117+
118+
@Override
119+
public InsertRichLinkRequest clone() {
120+
return (InsertRichLinkRequest) super.clone();
121+
}
122+
123+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,13 @@ public final class Request extends com.google.api.client.json.GenericJson {
162162
@com.google.api.client.util.Key
163163
private InsertPersonRequest insertPerson;
164164

165+
/**
166+
* Insert a rich link.
167+
* The value may be {@code null}.
168+
*/
169+
@com.google.api.client.util.Key
170+
private InsertRichLinkRequest insertRichLink;
171+
165172
/**
166173
* Inserts a section break at the specified location.
167174
* The value may be {@code null}.
@@ -618,6 +625,23 @@ public Request setInsertPerson(InsertPersonRequest insertPerson) {
618625
return this;
619626
}
620627

628+
/**
629+
* Insert a rich link.
630+
* @return value or {@code null} for none
631+
*/
632+
public InsertRichLinkRequest getInsertRichLink() {
633+
return insertRichLink;
634+
}
635+
636+
/**
637+
* Insert a rich link.
638+
* @param insertRichLink insertRichLink or {@code null} for none
639+
*/
640+
public Request setInsertRichLink(InsertRichLinkRequest insertRichLink) {
641+
this.insertRichLink = insertRichLink;
642+
return this;
643+
}
644+
621645
/**
622646
* Inserts a section break at the specified location.
623647
* @return value or {@code null} for none

clients/google-api-services-docs/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-docs</artifactId>
11-
<version>v1-rev20260406-2.0.0</version>
12-
<name>Google Docs API v1-rev20260406-2.0.0</name>
11+
<version>v1-rev20260408-2.0.0</version>
12+
<name>Google Docs API v1-rev20260408-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)