Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 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.teachers.html">teachers</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 78 | <code><a href="#create">create(courseId, body=None, x__xgafv=None)</a></code></p> |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 79 | <p class="firstline">Creates a teacher of a course.</p> |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 80 | <p class="toc_element"> |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 81 | <code><a href="#delete">delete(courseId, userId, x__xgafv=None)</a></code></p> |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 82 | <p class="firstline">Deletes a teacher of a course.</p> |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 83 | <p class="toc_element"> |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 84 | <code><a href="#get">get(courseId, userId, x__xgafv=None)</a></code></p> |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 85 | <p class="firstline">Returns a teacher of a course.</p> |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 86 | <p class="toc_element"> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 87 | <code><a href="#list">list(courseId, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 88 | <p class="firstline">Returns a list of teachers of this course that the requester</p> |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 89 | <p class="toc_element"> |
| 90 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 91 | <p class="firstline">Retrieves the next page of results.</p> |
| 92 | <h3>Method Details</h3> |
| 93 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 94 | <code class="details" id="create">create(courseId, body=None, x__xgafv=None)</code> |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 95 | <pre>Creates a teacher of a course. |
| 96 | |
| 97 | This method returns the following error codes: |
| 98 | |
| 99 | * `PERMISSION_DENIED` if the requesting user is not permitted to create |
| 100 | teachers in this course or for access errors. |
| 101 | * `NOT_FOUND` if the requested course ID does not exist. |
| 102 | * `FAILED_PRECONDITION` if the requested user's account is disabled, |
| 103 | for the following request errors: |
| 104 | * CourseMemberLimitReached |
| 105 | * CourseNotModifiable |
| 106 | * CourseTeacherLimitReached |
| 107 | * UserGroupsMembershipLimitReached |
| 108 | * `ALREADY_EXISTS` if the user is already a teacher or student in the |
| 109 | course. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 110 | |
| 111 | Args: |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 112 | courseId: string, Identifier of the course. |
| 113 | This identifier can be either the Classroom-assigned identifier or an |
| 114 | alias. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 115 | body: object, The request body. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 116 | The object takes the form of: |
| 117 | |
| 118 | { # Teacher of a course. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 119 | "courseId": "A String", # Identifier of the course. |
| 120 | # |
| 121 | # Read-only. |
| 122 | "profile": { # Global information for a user. # Global user information for the teacher. |
| 123 | # |
| 124 | # Read-only. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 125 | "name": { # Details of the user's name. # Name of the user. |
| 126 | # |
| 127 | # Read-only. |
| 128 | "fullName": "A String", # The user's full name formed by concatenating the first and last name |
| 129 | # values. |
| 130 | # |
| 131 | # Read-only. |
| 132 | "givenName": "A String", # The user's first name. |
| 133 | # |
| 134 | # Read-only. |
| 135 | "familyName": "A String", # The user's last name. |
| 136 | # |
| 137 | # Read-only. |
| 138 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 139 | "photoUrl": "A String", # URL of user's profile photo. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 140 | # |
| 141 | # Read-only. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 142 | "emailAddress": "A String", # Email address of the user. |
| 143 | # |
| 144 | # Read-only. |
| 145 | "verifiedTeacher": True or False, # Represents whether a G Suite for Education user's domain administrator has |
| 146 | # explicitly verified them as being a teacher. If the user is not a member of |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 147 | # a G Suite for Education domain, than this field is always false. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 148 | # |
| 149 | # Read-only |
| 150 | "id": "A String", # Identifier of the user. |
| 151 | # |
| 152 | # Read-only. |
| 153 | "permissions": [ # Global permissions of the user. |
| 154 | # |
| 155 | # Read-only. |
| 156 | { # Global user permission description. |
| 157 | "permission": "A String", # Permission value. |
| 158 | }, |
| 159 | ], |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 160 | }, |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 161 | "userId": "A String", # Identifier of the user. |
| 162 | # |
| 163 | # When specified as a parameter of a request, this identifier can be one of |
| 164 | # the following: |
| 165 | # |
| 166 | # * the numeric identifier for the user |
| 167 | # * the email address of the user |
| 168 | # * the string literal `"me"`, indicating the requesting user |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 169 | } |
| 170 | |
| 171 | x__xgafv: string, V1 error format. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 172 | Allowed values |
| 173 | 1 - v1 error format |
| 174 | 2 - v2 error format |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 175 | |
| 176 | Returns: |
| 177 | An object of the form: |
| 178 | |
| 179 | { # Teacher of a course. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 180 | "courseId": "A String", # Identifier of the course. |
| 181 | # |
| 182 | # Read-only. |
| 183 | "profile": { # Global information for a user. # Global user information for the teacher. |
| 184 | # |
| 185 | # Read-only. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 186 | "name": { # Details of the user's name. # Name of the user. |
| 187 | # |
| 188 | # Read-only. |
| 189 | "fullName": "A String", # The user's full name formed by concatenating the first and last name |
| 190 | # values. |
| 191 | # |
| 192 | # Read-only. |
| 193 | "givenName": "A String", # The user's first name. |
| 194 | # |
| 195 | # Read-only. |
| 196 | "familyName": "A String", # The user's last name. |
| 197 | # |
| 198 | # Read-only. |
| 199 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 200 | "photoUrl": "A String", # URL of user's profile photo. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 201 | # |
| 202 | # Read-only. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 203 | "emailAddress": "A String", # Email address of the user. |
| 204 | # |
| 205 | # Read-only. |
| 206 | "verifiedTeacher": True or False, # Represents whether a G Suite for Education user's domain administrator has |
| 207 | # explicitly verified them as being a teacher. If the user is not a member of |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 208 | # a G Suite for Education domain, than this field is always false. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 209 | # |
| 210 | # Read-only |
| 211 | "id": "A String", # Identifier of the user. |
| 212 | # |
| 213 | # Read-only. |
| 214 | "permissions": [ # Global permissions of the user. |
| 215 | # |
| 216 | # Read-only. |
| 217 | { # Global user permission description. |
| 218 | "permission": "A String", # Permission value. |
| 219 | }, |
| 220 | ], |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 221 | }, |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 222 | "userId": "A String", # Identifier of the user. |
| 223 | # |
| 224 | # When specified as a parameter of a request, this identifier can be one of |
| 225 | # the following: |
| 226 | # |
| 227 | # * the numeric identifier for the user |
| 228 | # * the email address of the user |
| 229 | # * the string literal `"me"`, indicating the requesting user |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 230 | }</pre> |
| 231 | </div> |
| 232 | |
| 233 | <div class="method"> |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 234 | <code class="details" id="delete">delete(courseId, userId, x__xgafv=None)</code> |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 235 | <pre>Deletes a teacher of a course. |
| 236 | |
| 237 | This method returns the following error codes: |
| 238 | |
| 239 | * `PERMISSION_DENIED` if the requesting user is not permitted to delete |
| 240 | teachers of this course or for access errors. |
| 241 | * `NOT_FOUND` if no teacher of this course has the requested ID or if the |
| 242 | course does not exist. |
| 243 | * `FAILED_PRECONDITION` if the requested ID belongs to the primary teacher |
| 244 | of this course. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 245 | |
| 246 | Args: |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 247 | courseId: string, Identifier of the course. |
| 248 | This identifier can be either the Classroom-assigned identifier or an |
| 249 | alias. (required) |
| 250 | userId: string, Identifier of the teacher to delete. The identifier can be one of the |
| 251 | following: |
| 252 | |
| 253 | * the numeric identifier for the user |
| 254 | * the email address of the user |
| 255 | * the string literal `"me"`, indicating the requesting user (required) |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 256 | x__xgafv: string, V1 error format. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 257 | Allowed values |
| 258 | 1 - v1 error format |
| 259 | 2 - v2 error format |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 260 | |
| 261 | Returns: |
| 262 | An object of the form: |
| 263 | |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 264 | { # A generic empty message that you can re-use to avoid defining duplicated |
| 265 | # empty messages in your APIs. A typical example is to use it as the request |
| 266 | # or the response type of an API method. For instance: |
| 267 | # |
| 268 | # service Foo { |
| 269 | # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); |
| 270 | # } |
| 271 | # |
| 272 | # The JSON representation for `Empty` is empty JSON object `{}`. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 273 | }</pre> |
| 274 | </div> |
| 275 | |
| 276 | <div class="method"> |
Thomas Coffee | 2f24537 | 2017-03-27 10:39:26 -0700 | [diff] [blame] | 277 | <code class="details" id="get">get(courseId, userId, x__xgafv=None)</code> |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 278 | <pre>Returns a teacher of a course. |
| 279 | |
| 280 | This method returns the following error codes: |
| 281 | |
| 282 | * `PERMISSION_DENIED` if the requesting user is not permitted to view |
| 283 | teachers of this course or for access errors. |
| 284 | * `NOT_FOUND` if no teacher of this course has the requested ID or if the |
| 285 | course does not exist. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 286 | |
| 287 | Args: |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 288 | courseId: string, Identifier of the course. |
| 289 | This identifier can be either the Classroom-assigned identifier or an |
| 290 | alias. (required) |
| 291 | userId: string, Identifier of the teacher to return. The identifier can be one of the |
| 292 | following: |
| 293 | |
| 294 | * the numeric identifier for the user |
| 295 | * the email address of the user |
| 296 | * the string literal `"me"`, indicating the requesting user (required) |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 297 | x__xgafv: string, V1 error format. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 298 | Allowed values |
| 299 | 1 - v1 error format |
| 300 | 2 - v2 error format |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 301 | |
| 302 | Returns: |
| 303 | An object of the form: |
| 304 | |
| 305 | { # Teacher of a course. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 306 | "courseId": "A String", # Identifier of the course. |
| 307 | # |
| 308 | # Read-only. |
| 309 | "profile": { # Global information for a user. # Global user information for the teacher. |
| 310 | # |
| 311 | # Read-only. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 312 | "name": { # Details of the user's name. # Name of the user. |
| 313 | # |
| 314 | # Read-only. |
| 315 | "fullName": "A String", # The user's full name formed by concatenating the first and last name |
| 316 | # values. |
| 317 | # |
| 318 | # Read-only. |
| 319 | "givenName": "A String", # The user's first name. |
| 320 | # |
| 321 | # Read-only. |
| 322 | "familyName": "A String", # The user's last name. |
| 323 | # |
| 324 | # Read-only. |
| 325 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 326 | "photoUrl": "A String", # URL of user's profile photo. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 327 | # |
| 328 | # Read-only. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 329 | "emailAddress": "A String", # Email address of the user. |
| 330 | # |
| 331 | # Read-only. |
| 332 | "verifiedTeacher": True or False, # Represents whether a G Suite for Education user's domain administrator has |
| 333 | # explicitly verified them as being a teacher. If the user is not a member of |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 334 | # a G Suite for Education domain, than this field is always false. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 335 | # |
| 336 | # Read-only |
| 337 | "id": "A String", # Identifier of the user. |
| 338 | # |
| 339 | # Read-only. |
| 340 | "permissions": [ # Global permissions of the user. |
| 341 | # |
| 342 | # Read-only. |
| 343 | { # Global user permission description. |
| 344 | "permission": "A String", # Permission value. |
| 345 | }, |
| 346 | ], |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 347 | }, |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 348 | "userId": "A String", # Identifier of the user. |
| 349 | # |
| 350 | # When specified as a parameter of a request, this identifier can be one of |
| 351 | # the following: |
| 352 | # |
| 353 | # * the numeric identifier for the user |
| 354 | # * the email address of the user |
| 355 | # * the string literal `"me"`, indicating the requesting user |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 356 | }</pre> |
| 357 | </div> |
| 358 | |
| 359 | <div class="method"> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 360 | <code class="details" id="list">list(courseId, pageSize=None, pageToken=None, x__xgafv=None)</code> |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 361 | <pre>Returns a list of teachers of this course that the requester |
| 362 | is permitted to view. |
| 363 | |
| 364 | This method returns the following error codes: |
| 365 | |
| 366 | * `NOT_FOUND` if the course does not exist. |
| 367 | * `PERMISSION_DENIED` for access errors. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 368 | |
| 369 | Args: |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 370 | courseId: string, Identifier of the course. |
| 371 | This identifier can be either the Classroom-assigned identifier or an |
| 372 | alias. (required) |
| 373 | pageSize: integer, Maximum number of items to return. Zero means no maximum. |
| 374 | |
| 375 | The server may return fewer than the specified number of results. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 376 | pageToken: string, nextPageToken |
| 377 | value returned from a previous |
| 378 | list call, indicating that |
| 379 | the subsequent page of results should be returned. |
| 380 | |
| 381 | The list request must be |
| 382 | otherwise identical to the one that resulted in this token. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 383 | x__xgafv: string, V1 error format. |
| 384 | Allowed values |
| 385 | 1 - v1 error format |
| 386 | 2 - v2 error format |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 387 | |
| 388 | Returns: |
| 389 | An object of the form: |
| 390 | |
| 391 | { # Response when listing teachers. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 392 | "nextPageToken": "A String", # Token identifying the next page of results to return. If empty, no further |
| 393 | # results are available. |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 394 | "teachers": [ # Teachers who match the list request. |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 395 | { # Teacher of a course. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 396 | "courseId": "A String", # Identifier of the course. |
| 397 | # |
| 398 | # Read-only. |
| 399 | "profile": { # Global information for a user. # Global user information for the teacher. |
| 400 | # |
| 401 | # Read-only. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 402 | "name": { # Details of the user's name. # Name of the user. |
| 403 | # |
| 404 | # Read-only. |
| 405 | "fullName": "A String", # The user's full name formed by concatenating the first and last name |
| 406 | # values. |
| 407 | # |
| 408 | # Read-only. |
| 409 | "givenName": "A String", # The user's first name. |
| 410 | # |
| 411 | # Read-only. |
| 412 | "familyName": "A String", # The user's last name. |
| 413 | # |
| 414 | # Read-only. |
| 415 | }, |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 416 | "photoUrl": "A String", # URL of user's profile photo. |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 417 | # |
| 418 | # Read-only. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 419 | "emailAddress": "A String", # Email address of the user. |
| 420 | # |
| 421 | # Read-only. |
| 422 | "verifiedTeacher": True or False, # Represents whether a G Suite for Education user's domain administrator has |
| 423 | # explicitly verified them as being a teacher. If the user is not a member of |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 424 | # a G Suite for Education domain, than this field is always false. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 425 | # |
| 426 | # Read-only |
| 427 | "id": "A String", # Identifier of the user. |
| 428 | # |
| 429 | # Read-only. |
| 430 | "permissions": [ # Global permissions of the user. |
| 431 | # |
| 432 | # Read-only. |
| 433 | { # Global user permission description. |
| 434 | "permission": "A String", # Permission value. |
| 435 | }, |
| 436 | ], |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 437 | }, |
Sai Cheemalapati | e833b79 | 2017-03-24 15:06:46 -0700 | [diff] [blame] | 438 | "userId": "A String", # Identifier of the user. |
| 439 | # |
| 440 | # When specified as a parameter of a request, this identifier can be one of |
| 441 | # the following: |
| 442 | # |
| 443 | # * the numeric identifier for the user |
| 444 | # * the email address of the user |
| 445 | # * the string literal `"me"`, indicating the requesting user |
Takashi Matsuo | 0669410 | 2015-09-11 13:55:40 -0700 | [diff] [blame] | 446 | }, |
| 447 | ], |
| 448 | }</pre> |
| 449 | </div> |
| 450 | |
| 451 | <div class="method"> |
| 452 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 453 | <pre>Retrieves the next page of results. |
| 454 | |
| 455 | Args: |
| 456 | previous_request: The request for the previous page. (required) |
| 457 | previous_response: The response from the request for the previous page. (required) |
| 458 | |
| 459 | Returns: |
| 460 | A request object that you can call 'execute()' on to request the next |
| 461 | page. Returns None if there are no more items in the collection. |
| 462 | </pre> |
| 463 | </div> |
| 464 | |
| 465 | </body></html> |