CourseAlias Object

gc_course_alias(alias = NULL)

Arguments

alias

Alias string

Value

CourseAlias object

Details

Alternative identifier for a course.An alias uniquely identifies a course. It must be unique within one of thefollowing scopes:* domain: A domain-scoped alias is visible to all users within the aliascreator's domain and can be created only by a domain admin. A domain-scopedalias is often used when a course has an identifier external to Classroom.* project: A project-scoped alias is visible to any request from anapplication using the Developer Console project ID that created the aliasand can be created by any project. A project-scoped alias is often used whenan application has alternative identifiers. A random value can also be usedto avoid duplicate courses in the event of transmission failures, as retryinga request will return ALREADY_EXISTS if a previous one has succeeded.

See also

Other CourseAlias functions: gc_courses_aliases_create()