Skip to content

Commit 1caceab

Browse files
1 parent 25b0a61 commit 1caceab

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-rev20250917-2.0.0</version>
25+
<version>v1-rev20250925-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-rev20250917-2.0.0'
38+
implementation 'com.google.apis:google-api-services-docs:v1-rev20250925-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 person mention.
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 InsertPersonRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Inserts the person 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 person at a specific index in the document. The person mention 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). People cannot be inserted
43+
* 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 person mention to insert.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private PersonProperties personProperties;
55+
56+
/**
57+
* Inserts the person 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 person at the end of a header, footer, footnote or the document body.
66+
* @param endOfSegmentLocation endOfSegmentLocation or {@code null} for none
67+
*/
68+
public InsertPersonRequest setEndOfSegmentLocation(EndOfSegmentLocation endOfSegmentLocation) {
69+
this.endOfSegmentLocation = endOfSegmentLocation;
70+
return this;
71+
}
72+
73+
/**
74+
* Inserts the person at a specific index in the document. The person mention 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). People cannot be inserted
77+
* 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 person at a specific index in the document. The person mention 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). People cannot be inserted
88+
* inside an equation.
89+
* @param location location or {@code null} for none
90+
*/
91+
public InsertPersonRequest setLocation(Location location) {
92+
this.location = location;
93+
return this;
94+
}
95+
96+
/**
97+
* The properties of the person mention to insert.
98+
* @return value or {@code null} for none
99+
*/
100+
public PersonProperties getPersonProperties() {
101+
return personProperties;
102+
}
103+
104+
/**
105+
* The properties of the person mention to insert.
106+
* @param personProperties personProperties or {@code null} for none
107+
*/
108+
public InsertPersonRequest setPersonProperties(PersonProperties personProperties) {
109+
this.personProperties = personProperties;
110+
return this;
111+
}
112+
113+
@Override
114+
public InsertPersonRequest set(String fieldName, Object value) {
115+
return (InsertPersonRequest) super.set(fieldName, value);
116+
}
117+
118+
@Override
119+
public InsertPersonRequest clone() {
120+
return (InsertPersonRequest) 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
@@ -134,6 +134,13 @@ public final class Request extends com.google.api.client.json.GenericJson {
134134
@com.google.api.client.util.Key
135135
private InsertPageBreakRequest insertPageBreak;
136136

137+
/**
138+
* Inserts a person mention.
139+
* The value may be {@code null}.
140+
*/
141+
@com.google.api.client.util.Key
142+
private InsertPersonRequest insertPerson;
143+
137144
/**
138145
* Inserts a section break at the specified location.
139146
* The value may be {@code null}.
@@ -515,6 +522,23 @@ public Request setInsertPageBreak(InsertPageBreakRequest insertPageBreak) {
515522
return this;
516523
}
517524

525+
/**
526+
* Inserts a person mention.
527+
* @return value or {@code null} for none
528+
*/
529+
public InsertPersonRequest getInsertPerson() {
530+
return insertPerson;
531+
}
532+
533+
/**
534+
* Inserts a person mention.
535+
* @param insertPerson insertPerson or {@code null} for none
536+
*/
537+
public Request setInsertPerson(InsertPersonRequest insertPerson) {
538+
this.insertPerson = insertPerson;
539+
return this;
540+
}
541+
518542
/**
519543
* Inserts a section break at the specified location.
520544
* @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-rev20250917-2.0.0</version>
12-
<name>Google Docs API v1-rev20250917-2.0.0</name>
11+
<version>v1-rev20250925-2.0.0</version>
12+
<name>Google Docs API v1-rev20250925-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-rev20250917-2.0.0</version>
25+
<version>v1-rev20250925-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-rev20250917-2.0.0'
38+
implementation 'com.google.apis:google-api-services-docs:v1-rev20250925-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)