| Modifier and Type | Class and Description |
|---|---|
class |
Classroom.Registrations.Create |
class |
Classroom.Registrations.Delete |
| Constructor and Description |
|---|
Registrations() |
| Modifier and Type | Method and Description |
|---|---|
Classroom.Registrations.Create |
create(Registration content)
Creates a `Registration`, causing Classroom to start sending notifications from the provided
`feed` to the destination provided in `cloudPubSubTopic`.
|
Classroom.Registrations.Delete |
delete(String registrationId)
Deletes a `Registration`, causing Classroom to stop sending notifications for that
`Registration`.
|
public Classroom.Registrations.Create create(Registration content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.content - the RegistrationIOExceptionpublic Classroom.Registrations.Delete delete(String registrationId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.registrationId - The `registration_id` of the `Registration` to be deleted.IOExceptionCopyright © 2011–2022 Google. All rights reserved.