The "aliases" collection of methods.
More...
|
| | call ($name, $arguments, $expected_class=null) |
| | TODO: This function needs simplifying.
|
| |
| | create ($courseId, Google_Service_Classroom_CourseAlias $postBody, $optParams=array()) |
| | Creates an alias for a course.
|
| |
| | delete ($courseId, $alias, $optParams=array()) |
| | Deletes an alias of a course.
|
| |
| | listCoursesAliases ($courseId, $optParams=array()) |
| | Returns a list of aliases for a course.
|
| |
|
|
| convertToArrayAndStripNulls ($o) |
| |
The "aliases" collection of methods.
Typical usage is: $classroomService = new Google_Service_Classroom(...); $aliases = $classroomService->aliases;
◆ call()
| Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
| $name | |
| $arguments | |
| $expected_class | - optional, the expected class name |
- Return values
-
| Google_Http_Request|expected_class | |
- Exceptions
-
◆ create()
Creates an alias for a course.
This method returns the following error codes:
PERMISSION_DENIED if the requesting user is not permitted to create the alias or for access errors. * NOT_FOUND if the course does not exist. * ALREADY_EXISTS if the alias already exists. (aliases.create)
- Parameters
-
| string | $courseId | Identifier of the course to alias. This identifier can be either the Classroom-assigned identifier or an alias. |
| Google_CourseAlias | $postBody | |
| array | $optParams | Optional parameters. |
- Return values
-
◆ delete()
| Google_Service_Classroom_CoursesAliases_Resource::delete |
( |
| $courseId, |
|
|
| $alias, |
|
|
| $optParams = array() ) |
Deletes an alias of a course.
This method returns the following error codes:
PERMISSION_DENIED if the requesting user is not permitted to remove the alias or for access errors. * NOT_FOUND if the alias does not exist. (aliases.delete)
- Parameters
-
| string | $courseId | Identifier of the course whose alias should be deleted. This identifier can be either the Classroom-assigned identifier or an alias. |
| string | $alias | Alias to delete. This may not be the Classroom-assigned identifier. |
| array | $optParams | Optional parameters. |
- Return values
-
◆ listCoursesAliases()
| Google_Service_Classroom_CoursesAliases_Resource::listCoursesAliases |
( |
| $courseId, |
|
|
| $optParams = array() ) |
Returns a list of aliases for a course.
This method returns the following error codes: * PERMISSION_DENIED if the requesting user is not permitted to access the course or for access errors. * NOT_FOUND if the course does not exist. (aliases.listCoursesAliases)
- Parameters
-
| string | $courseId | The identifier of the course. This identifier can be either the Classroom-assigned identifier or an alias. |
| array | $optParams | Optional parameters. |
@opt_param string pageToken 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. @opt_param int pageSize 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.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Classroom.php