@@ -14958,8 +14958,9 @@ public class Topics {
14958
14958
/**
14959
14959
* Creates a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the
14960
14960
* requesting user is not permitted to access the requested course, create a topic in the requested
14961
- * course, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if
14962
- * the requested course does not exist.
14961
+ * course, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. *
14962
+ * `ALREADY_EXISTS` if there exists a topic in the course with the same name. * `NOT_FOUND` if the
14963
+ * requested course does not exist.
14963
14964
*
14964
14965
* Create a request for the method "topics.create".
14965
14966
*
@@ -14985,7 +14986,8 @@ public class Create extends ClassroomRequest<com.google.api.services.classroom.m
14985
14986
* Creates a topic. This method returns the following error codes: * `PERMISSION_DENIED` if the
14986
14987
* requesting user is not permitted to access the requested course, create a topic in the
14987
14988
* requested course, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. *
14988
- * `NOT_FOUND` if the requested course does not exist.
14989
+ * `ALREADY_EXISTS` if there exists a topic in the course with the same name. * `NOT_FOUND` if the
14990
+ * requested course does not exist.
14989
14991
*
14990
14992
* Create a request for the method "topics.create".
14991
14993
*
@@ -15580,8 +15582,9 @@ public List set(String parameterName, Object value) {
15580
15582
/**
15581
15583
* Updates one or more fields of a topic. This method returns the following error codes: *
15582
15584
* `PERMISSION_DENIED` if the requesting developer project did not create the corresponding topic or
15583
- * for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the
15584
- * requested course or topic does not exist
15585
+ * for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION` if
15586
+ * there exists a topic in the course with the same name. * `NOT_FOUND` if the requested course or
15587
+ * topic does not exist
15585
15588
*
15586
15589
* Create a request for the method "topics.patch".
15587
15590
*
@@ -15607,8 +15610,9 @@ public class Patch extends ClassroomRequest<com.google.api.services.classroom.mo
15607
15610
/**
15608
15611
* Updates one or more fields of a topic. This method returns the following error codes: *
15609
15612
* `PERMISSION_DENIED` if the requesting developer project did not create the corresponding topic
15610
- * or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the
15611
- * requested course or topic does not exist
15613
+ * or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `FAILED_PRECONDITION`
15614
+ * if there exists a topic in the course with the same name. * `NOT_FOUND` if the requested course
15615
+ * or topic does not exist
15612
15616
*
15613
15617
* Create a request for the method "topics.patch".
15614
15618
*
0 commit comments