Debian Codegraph @

docs/dyn/classroom_v1.courses.studentGroups.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="classroom_v1.html">Google Classroom API</a> . <a href="classroom_v1.courses.html">courses</a> . <a href="classroom_v1.courses.studentGroups.html">studentGroups</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="classroom_v1.courses.studentGroups.studentGroupMembers.html">studentGroupMembers()</a></code>
79 </p>
80 <p class="firstline">Returns the studentGroupMembers Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(courseId, body=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a student group for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the student group or for access errors. * `NOT_FOUND` if the course does not exist or the requesting user doesn't have access to the course. * `FAILED_PRECONDITION` if creating the student group would exceed the maximum number of student groups per course.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(courseId, id, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes a student group. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested student group or for access errors. * `NOT_FOUND` if the student group does not exist or the user does not have access to the student group.</p>
91 <p class="toc_element">
92 <code><a href="#list">list(courseId, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
93 <p class="firstline">Returns a list of groups in a course. This method returns the following error codes: * `NOT_FOUND` if the course does not exist.</p>
94 <p class="toc_element">
95 <code><a href="#list_next">list_next()</a></code></p>
96 <p class="firstline">Retrieves the next page of results.</p>
97 <p class="toc_element">
98 <code><a href="#patch">patch(courseId, id, body=None, updateMask=None, x__xgafv=None)</a></code></p>
99 <p class="firstline">Updates one or more fields in a student group. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested student group or for access errors. * `NOT_FOUND` if the student group does not exist or the user does not have access to the student group. * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if no update mask is supplied.</p>
100 <h3>Method Details</h3>
101 <div class="method">
102 <code class="details" id="close">close()</code>
103 <pre>Close httplib2 connections.</pre>
104 </div>
105
106 <div class="method">
107 <code class="details" id="create">create(courseId, body=None, x__xgafv=None)</code>
108 <pre>Creates a student group for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the student group or for access errors. * `NOT_FOUND` if the course does not exist or the requesting user doesn&#x27;t have access to the course. * `FAILED_PRECONDITION` if creating the student group would exceed the maximum number of student groups per course.
109
110 Args:
111 courseId: string, Required. The identifier of the course. (required)
112 body: object, The request body.
113 The object takes the form of:
114
115 { # A student group in a course.
116 &quot;courseId&quot;: &quot;A String&quot;, # The identifier of the course.
117 &quot;id&quot;: &quot;A String&quot;, # The identifier of the student group.
118 &quot;title&quot;: &quot;A String&quot;, # The title of the student group.
119 }
120
121 x__xgafv: string, V1 error format.
122 Allowed values
123 1 - v1 error format
124 2 - v2 error format
125
126 Returns:
127 An object of the form:
128
129 { # A student group in a course.
130 &quot;courseId&quot;: &quot;A String&quot;, # The identifier of the course.
131 &quot;id&quot;: &quot;A String&quot;, # The identifier of the student group.
132 &quot;title&quot;: &quot;A String&quot;, # The title of the student group.
133 }</pre>
134 </div>
135
136 <div class="method">
137 <code class="details" id="delete">delete(courseId, id, x__xgafv=None)</code>
138 <pre>Deletes a student group. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested student group or for access errors. * `NOT_FOUND` if the student group does not exist or the user does not have access to the student group.
139
140 Args:
141 courseId: string, Required. The identifier of the course containing the student group to delete. (required)
142 id: string, Required. The identifier of the student group to delete. (required)
143 x__xgafv: string, V1 error format.
144 Allowed values
145 1 - v1 error format
146 2 - v2 error format
147
148 Returns:
149 An object of the form:
150
151 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
152 }</pre>
153 </div>
154
155 <div class="method">
156 <code class="details" id="list">list(courseId, pageSize=None, pageToken=None, x__xgafv=None)</code>
157 <pre>Returns a list of groups in a course. This method returns the following error codes: * `NOT_FOUND` if the course does not exist.
158
159 Args:
160 courseId: string, Required. The identifier of the course. (required)
161 pageSize: integer, Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum, which is currently set to 75 items. The server may return fewer than the specified number of results.
162 pageToken: string, nextPageToken value returned from a previous list call, indicating that the subsequent page of results should be returned. The list request must be otherwise identical to the one that resulted in this token.
163 x__xgafv: string, V1 error format.
164 Allowed values
165 1 - v1 error format
166 2 - v2 error format
167
168 Returns:
169 An object of the form:
170
171 { # Response when listing student groups.
172 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token identifying the next page of results to return. If empty, no further results are available.
173 &quot;studentGroups&quot;: [ # The student groups.
174 { # A student group in a course.
175 &quot;courseId&quot;: &quot;A String&quot;, # The identifier of the course.
176 &quot;id&quot;: &quot;A String&quot;, # The identifier of the student group.
177 &quot;title&quot;: &quot;A String&quot;, # The title of the student group.
178 },
179 ],
180 }</pre>
181 </div>
182
183 <div class="method">
184 <code class="details" id="list_next">list_next()</code>
185 <pre>Retrieves the next page of results.
186
187 Args:
188 previous_request: The request for the previous page. (required)
189 previous_response: The response from the request for the previous page. (required)
190
191 Returns:
192 A request object that you can call &#x27;execute()&#x27; on to request the next
193 page. Returns None if there are no more items in the collection.
194 </pre>
195 </div>
196
197 <div class="method">
198 <code class="details" id="patch">patch(courseId, id, body=None, updateMask=None, x__xgafv=None)</code>
199 <pre>Updates one or more fields in a student group. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to modify the requested student group or for access errors. * `NOT_FOUND` if the student group does not exist or the user does not have access to the student group. * `INVALID_ARGUMENT` if invalid fields are specified in the update mask or if no update mask is supplied.
200
201 Args:
202 courseId: string, Required. Identifier of the course. (required)
203 id: string, Required. Identifier of the student group. (required)
204 body: object, The request body.
205 The object takes the form of:
206
207 { # A student group in a course.
208 &quot;courseId&quot;: &quot;A String&quot;, # The identifier of the course.
209 &quot;id&quot;: &quot;A String&quot;, # The identifier of the student group.
210 &quot;title&quot;: &quot;A String&quot;, # The title of the student group.
211 }
212
213 updateMask: string, Required. Mask that identifies which fields on the student group to update. This field is required to do an update. The update fails if invalid fields are specified. The following fields can be specified by teachers: * `title`
214 x__xgafv: string, V1 error format.
215 Allowed values
216 1 - v1 error format
217 2 - v2 error format
218
219 Returns:
220 An object of the form:
221
222 { # A student group in a course.
223 &quot;courseId&quot;: &quot;A String&quot;, # The identifier of the course.
224 &quot;id&quot;: &quot;A String&quot;, # The identifier of the student group.
225 &quot;title&quot;: &quot;A String&quot;, # The title of the student group.
226 }</pre>
227 </div>
228
229 </body></html>