Skip to content

Commit ea9b623

Browse files
1 parent d578f54 commit ea9b623

File tree

6 files changed

+284
-8
lines changed

6 files changed

+284
-8
lines changed

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

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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.classroom.model;
18+
19+
/**
20+
* Gemini Gem link.
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 Classroom 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 GeminiGem extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Gems resource id.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String id;
38+
39+
/**
40+
* Title of the Gem. Read-only.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String title;
45+
46+
/**
47+
* URL that can be used to access the Gem. Read-only.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String url;
52+
53+
/**
54+
* Gems resource id.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.String getId() {
58+
return id;
59+
}
60+
61+
/**
62+
* Gems resource id.
63+
* @param id id or {@code null} for none
64+
*/
65+
public GeminiGem setId(java.lang.String id) {
66+
this.id = id;
67+
return this;
68+
}
69+
70+
/**
71+
* Title of the Gem. Read-only.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getTitle() {
75+
return title;
76+
}
77+
78+
/**
79+
* Title of the Gem. Read-only.
80+
* @param title title or {@code null} for none
81+
*/
82+
public GeminiGem setTitle(java.lang.String title) {
83+
this.title = title;
84+
return this;
85+
}
86+
87+
/**
88+
* URL that can be used to access the Gem. Read-only.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.String getUrl() {
92+
return url;
93+
}
94+
95+
/**
96+
* URL that can be used to access the Gem. Read-only.
97+
* @param url url or {@code null} for none
98+
*/
99+
public GeminiGem setUrl(java.lang.String url) {
100+
this.url = url;
101+
return this;
102+
}
103+
104+
@Override
105+
public GeminiGem set(String fieldName, Object value) {
106+
return (GeminiGem) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public GeminiGem clone() {
111+
return (GeminiGem) super.clone();
112+
}
113+
114+
}

clients/google-api-services-classroom/v1/2.0.0/com/google/api/services/classroom/model/Material.java

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
package com.google.api.services.classroom.model;
1818

1919
/**
20-
* Material attached to course work. When creating attachments, setting the `form` field is not
21-
* supported.
20+
* Material attached to course work. When creating attachments, setting the `form`, `gem`, or
21+
* `notebook` field is not supported.
2222
*
2323
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2424
* transmitted over HTTP when working with the Google Classroom API. For a detailed explanation see:
@@ -44,6 +44,13 @@ public final class Material extends com.google.api.client.json.GenericJson {
4444
@com.google.api.client.util.Key
4545
private Form form;
4646

47+
/**
48+
* Gemini Gem material. Read-only.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private GeminiGem gem;
53+
4754
/**
4855
* Link material. On creation, this is upgraded to a more appropriate type if possible, and this
4956
* is reflected in the response.
@@ -52,6 +59,13 @@ public final class Material extends com.google.api.client.json.GenericJson {
5259
@com.google.api.client.util.Key
5360
private Link link;
5461

62+
/**
63+
* NotebookLM Notebook material. Read-only.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private NotebookLmNotebook notebook;
68+
5569
/**
5670
* YouTube video material.
5771
* The value may be {@code null}.
@@ -93,6 +107,23 @@ public Material setForm(Form form) {
93107
return this;
94108
}
95109

110+
/**
111+
* Gemini Gem material. Read-only.
112+
* @return value or {@code null} for none
113+
*/
114+
public GeminiGem getGem() {
115+
return gem;
116+
}
117+
118+
/**
119+
* Gemini Gem material. Read-only.
120+
* @param gem gem or {@code null} for none
121+
*/
122+
public Material setGem(GeminiGem gem) {
123+
this.gem = gem;
124+
return this;
125+
}
126+
96127
/**
97128
* Link material. On creation, this is upgraded to a more appropriate type if possible, and this
98129
* is reflected in the response.
@@ -112,6 +143,23 @@ public Material setLink(Link link) {
112143
return this;
113144
}
114145

146+
/**
147+
* NotebookLM Notebook material. Read-only.
148+
* @return value or {@code null} for none
149+
*/
150+
public NotebookLmNotebook getNotebook() {
151+
return notebook;
152+
}
153+
154+
/**
155+
* NotebookLM Notebook material. Read-only.
156+
* @param notebook notebook or {@code null} for none
157+
*/
158+
public Material setNotebook(NotebookLmNotebook notebook) {
159+
this.notebook = notebook;
160+
return this;
161+
}
162+
115163
/**
116164
* YouTube video material.
117165
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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.classroom.model;
18+
19+
/**
20+
* NotebookLM Notebook link.
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 Classroom 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 NotebookLmNotebook extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Notebook resource id.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String id;
38+
39+
/**
40+
* Title of the Notebook. Read-only.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String title;
45+
46+
/**
47+
* URL that can be used to access the Notebook. Read-only.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String url;
52+
53+
/**
54+
* Notebook resource id.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.String getId() {
58+
return id;
59+
}
60+
61+
/**
62+
* Notebook resource id.
63+
* @param id id or {@code null} for none
64+
*/
65+
public NotebookLmNotebook setId(java.lang.String id) {
66+
this.id = id;
67+
return this;
68+
}
69+
70+
/**
71+
* Title of the Notebook. Read-only.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getTitle() {
75+
return title;
76+
}
77+
78+
/**
79+
* Title of the Notebook. Read-only.
80+
* @param title title or {@code null} for none
81+
*/
82+
public NotebookLmNotebook setTitle(java.lang.String title) {
83+
this.title = title;
84+
return this;
85+
}
86+
87+
/**
88+
* URL that can be used to access the Notebook. Read-only.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.String getUrl() {
92+
return url;
93+
}
94+
95+
/**
96+
* URL that can be used to access the Notebook. Read-only.
97+
* @param url url or {@code null} for none
98+
*/
99+
public NotebookLmNotebook setUrl(java.lang.String url) {
100+
this.url = url;
101+
return this;
102+
}
103+
104+
@Override
105+
public NotebookLmNotebook set(String fieldName, Object value) {
106+
return (NotebookLmNotebook) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public NotebookLmNotebook clone() {
111+
return (NotebookLmNotebook) super.clone();
112+
}
113+
114+
}

clients/google-api-services-classroom/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-classroom</artifactId>
11-
<version>v1-rev20250420-2.0.0</version>
12-
<name>Google Classroom API v1-rev20250420-2.0.0</name>
11+
<version>v1-rev20250526-2.0.0</version>
12+
<name>Google Classroom API v1-rev20250526-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)