Debian Codegraph @

docs/dyn/classroom_v1.courses.studentGroups.studentGroupMembers.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> . <a href="classroom_v1.courses.studentGroups.studentGroupMembers.html">studentGroupMembers</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(courseId, studentGroupId, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a student group member for a student group. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the student group or member for access errors. * `NOT_FOUND` if the student group does not exist or the user does not have access to the student group. * `ALREADY_EXISTS` if the student group member already exists. * `FAILED_PRECONDITION` if attempting to add a member to a student group that has reached its member limit.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(courseId, studentGroupId, userId, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a student group member. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested student group member or for access errors. * `NOT_FOUND` if the student group member does not exist or the user does not have access to the student group.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(courseId, studentGroupId, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Returns a list of students in a group. This method returns the following error codes: * `NOT_FOUND` if the course or student group does not exist.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="create">create(courseId, studentGroupId, body=None, x__xgafv=None)</code>
100 <pre>Creates a student group member for a student group. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the student group or member for access errors. * `NOT_FOUND` if the student group does not exist or the user does not have access to the student group. * `ALREADY_EXISTS` if the student group member already exists. * `FAILED_PRECONDITION` if attempting to add a member to a student group that has reached its member limit.
101
102 Args:
103 courseId: string, Required. The identifier of the course. (required)
104 studentGroupId: string, Required. The identifier of the student group. (required)
105 body: object, The request body.
106 The object takes the form of:
107
108 { # A student member in a student group.
109 &quot;courseId&quot;: &quot;A String&quot;, # The identifier of the course.
110 &quot;studentGroupId&quot;: &quot;A String&quot;, # The identifier of the student group.
111 &quot;userId&quot;: &quot;A String&quot;, # Identifier of the student.
112 }
113
114 x__xgafv: string, V1 error format.
115 Allowed values
116 1 - v1 error format
117 2 - v2 error format
118
119 Returns:
120 An object of the form:
121
122 { # A student member in a student group.
123 &quot;courseId&quot;: &quot;A String&quot;, # The identifier of the course.
124 &quot;studentGroupId&quot;: &quot;A String&quot;, # The identifier of the student group.
125 &quot;userId&quot;: &quot;A String&quot;, # Identifier of the student.
126 }</pre>
127 </div>
128
129 <div class="method">
130 <code class="details" id="delete">delete(courseId, studentGroupId, userId, x__xgafv=None)</code>
131 <pre>Deletes a student group member. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested student group member or for access errors. * `NOT_FOUND` if the student group member does not exist or the user does not have access to the student group.
132
133 Args:
134 courseId: string, Required. The identifier of the course containing the relevant student group. (required)
135 studentGroupId: string, Required. The identifier of the student group containing the student group member to delete. (required)
136 userId: string, Required. The identifier of the student group member to delete. (required)
137 x__xgafv: string, V1 error format.
138 Allowed values
139 1 - v1 error format
140 2 - v2 error format
141
142 Returns:
143 An object of the form:
144
145 { # 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); }
146 }</pre>
147 </div>
148
149 <div class="method">
150 <code class="details" id="list">list(courseId, studentGroupId, pageSize=None, pageToken=None, x__xgafv=None)</code>
151 <pre>Returns a list of students in a group. This method returns the following error codes: * `NOT_FOUND` if the course or student group does not exist.
152
153 Args:
154 courseId: string, Required. The identifier of the course. (required)
155 studentGroupId: string, Required. The identifier of the student group. (required)
156 pageSize: integer, Maximum number of items to return. Zero or unspecified indicates that the server may assign a maximum. The server may return fewer than the specified number of results.
157 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.
158 x__xgafv: string, V1 error format.
159 Allowed values
160 1 - v1 error format
161 2 - v2 error format
162
163 Returns:
164 An object of the form:
165
166 { # Response when listing students in a group.
167 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token identifying the next page of results to return. If empty, no further results are available.
168 &quot;studentGroupMembers&quot;: [ # The student group members.
169 { # A student member in a student group.
170 &quot;courseId&quot;: &quot;A String&quot;, # The identifier of the course.
171 &quot;studentGroupId&quot;: &quot;A String&quot;, # The identifier of the student group.
172 &quot;userId&quot;: &quot;A String&quot;, # Identifier of the student.
173 },
174 ],
175 }</pre>
176 </div>
177
178 <div class="method">
179 <code class="details" id="list_next">list_next()</code>
180 <pre>Retrieves the next page of results.
181
182 Args:
183 previous_request: The request for the previous page. (required)
184 previous_response: The response from the request for the previous page. (required)
185
186 Returns:
187 A request object that you can call &#x27;execute()&#x27; on to request the next
188 page. Returns None if there are no more items in the collection.
189 </pre>
190 </div>
191
192 </body></html>