Skip to content

Commit 808b292

Browse files
1 parent b2c16e2 commit 808b292

File tree

8 files changed

+414
-6
lines changed

8 files changed

+414
-6
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-rev20250513-2.0.0</version>
25+
<version>v4-rev20250603-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-rev20250513-2.0.0'
38+
implementation 'com.google.apis:google-api-services-sheets:v4-rev20250603-2.0.0'
3939
}
4040
```
4141

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

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

32+
/**
33+
* Optional. Runs of chips applied to subsections of the cell. Properties of a run start at a
34+
* specific index in the text and continue until the next run. When reading, all chipped and non-
35+
* chipped runs are included. Non-chipped runs will have an empty chip_run.chip. When writing,
36+
* only runs with chips are included. Runs containing chips are of length 1 and are represented in
37+
* the user-entered text by an “@” placeholder symbol. New runs will overwrite any prior runs.
38+
* Writing a new user_entered_value will erase previous runs.
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key
42+
private java.util.List<ChipRun> chipRuns;
43+
3244
/**
3345
* Output only. Information about a data source formula on the cell. The field is set if
3446
* user_entered_value is a formula referencing some DATA_SOURCE sheet, e.g.
@@ -137,6 +149,33 @@ public final class CellData extends com.google.api.client.json.GenericJson {
137149
@com.google.api.client.util.Key
138150
private ExtendedValue userEnteredValue;
139151

152+
/**
153+
* Optional. Runs of chips applied to subsections of the cell. Properties of a run start at a
154+
* specific index in the text and continue until the next run. When reading, all chipped and non-
155+
* chipped runs are included. Non-chipped runs will have an empty chip_run.chip. When writing,
156+
* only runs with chips are included. Runs containing chips are of length 1 and are represented in
157+
* the user-entered text by an “@” placeholder symbol. New runs will overwrite any prior runs.
158+
* Writing a new user_entered_value will erase previous runs.
159+
* @return value or {@code null} for none
160+
*/
161+
public java.util.List<ChipRun> getChipRuns() {
162+
return chipRuns;
163+
}
164+
165+
/**
166+
* Optional. Runs of chips applied to subsections of the cell. Properties of a run start at a
167+
* specific index in the text and continue until the next run. When reading, all chipped and non-
168+
* chipped runs are included. Non-chipped runs will have an empty chip_run.chip. When writing,
169+
* only runs with chips are included. Runs containing chips are of length 1 and are represented in
170+
* the user-entered text by an “@” placeholder symbol. New runs will overwrite any prior runs.
171+
* Writing a new user_entered_value will erase previous runs.
172+
* @param chipRuns chipRuns or {@code null} for none
173+
*/
174+
public CellData setChipRuns(java.util.List<ChipRun> chipRuns) {
175+
this.chipRuns = chipRuns;
176+
return this;
177+
}
178+
140179
/**
141180
* Output only. Information about a data source formula on the cell. The field is set if
142181
* user_entered_value is a formula referencing some DATA_SOURCE sheet, e.g.
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.sheets.v4.model;
18+
19+
/**
20+
* The Smart Chip.
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 Chip extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Properties of a linked person.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private PersonProperties personProperties;
38+
39+
/**
40+
* Properties of a rich link.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private RichLinkProperties richLinkProperties;
45+
46+
/**
47+
* Properties of a linked person.
48+
* @return value or {@code null} for none
49+
*/
50+
public PersonProperties getPersonProperties() {
51+
return personProperties;
52+
}
53+
54+
/**
55+
* Properties of a linked person.
56+
* @param personProperties personProperties or {@code null} for none
57+
*/
58+
public Chip setPersonProperties(PersonProperties personProperties) {
59+
this.personProperties = personProperties;
60+
return this;
61+
}
62+
63+
/**
64+
* Properties of a rich link.
65+
* @return value or {@code null} for none
66+
*/
67+
public RichLinkProperties getRichLinkProperties() {
68+
return richLinkProperties;
69+
}
70+
71+
/**
72+
* Properties of a rich link.
73+
* @param richLinkProperties richLinkProperties or {@code null} for none
74+
*/
75+
public Chip setRichLinkProperties(RichLinkProperties richLinkProperties) {
76+
this.richLinkProperties = richLinkProperties;
77+
return this;
78+
}
79+
80+
@Override
81+
public Chip set(String fieldName, Object value) {
82+
return (Chip) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public Chip clone() {
87+
return (Chip) super.clone();
88+
}
89+
90+
}
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.sheets.v4.model;
18+
19+
/**
20+
* The run of a chip. The chip continues until the start index of the next run.
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 ChipRun extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The chip of this run.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private Chip chip;
38+
39+
/**
40+
* Required. The zero-based character index where this run starts, in UTF-16 code units.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.Integer startIndex;
45+
46+
/**
47+
* Optional. The chip of this run.
48+
* @return value or {@code null} for none
49+
*/
50+
public Chip getChip() {
51+
return chip;
52+
}
53+
54+
/**
55+
* Optional. The chip of this run.
56+
* @param chip chip or {@code null} for none
57+
*/
58+
public ChipRun setChip(Chip chip) {
59+
this.chip = chip;
60+
return this;
61+
}
62+
63+
/**
64+
* Required. The zero-based character index where this run starts, in UTF-16 code units.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.Integer getStartIndex() {
68+
return startIndex;
69+
}
70+
71+
/**
72+
* Required. The zero-based character index where this run starts, in UTF-16 code units.
73+
* @param startIndex startIndex or {@code null} for none
74+
*/
75+
public ChipRun setStartIndex(java.lang.Integer startIndex) {
76+
this.startIndex = startIndex;
77+
return this;
78+
}
79+
80+
@Override
81+
public ChipRun set(String fieldName, Object value) {
82+
return (ChipRun) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public ChipRun clone() {
87+
return (ChipRun) super.clone();
88+
}
89+
90+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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+
* Properties specific to a linked person.
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 PersonProperties extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The display format of the person chip. If not set, the default display format is
34+
* used.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String displayFormat;
39+
40+
/**
41+
* Required. The email address linked to this person. This field is always present.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.String email;
46+
47+
/**
48+
* Optional. The display format of the person chip. If not set, the default display format is
49+
* used.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.lang.String getDisplayFormat() {
53+
return displayFormat;
54+
}
55+
56+
/**
57+
* Optional. The display format of the person chip. If not set, the default display format is
58+
* used.
59+
* @param displayFormat displayFormat or {@code null} for none
60+
*/
61+
public PersonProperties setDisplayFormat(java.lang.String displayFormat) {
62+
this.displayFormat = displayFormat;
63+
return this;
64+
}
65+
66+
/**
67+
* Required. The email address linked to this person. This field is always present.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.lang.String getEmail() {
71+
return email;
72+
}
73+
74+
/**
75+
* Required. The email address linked to this person. This field is always present.
76+
* @param email email or {@code null} for none
77+
*/
78+
public PersonProperties setEmail(java.lang.String email) {
79+
this.email = email;
80+
return this;
81+
}
82+
83+
@Override
84+
public PersonProperties set(String fieldName, Object value) {
85+
return (PersonProperties) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public PersonProperties clone() {
90+
return (PersonProperties) super.clone();
91+
}
92+
93+
}

0 commit comments

Comments
 (0)