google_api_classroom v0.5.0 GoogleApi.Classroom.V1.Model.Registration View Source

An instruction to Classroom to send notifications from the feed to the provided destination.

Attributes

  • cloudPubsubTopic (GoogleApi.Classroom.V1.Model.CloudPubsubTopic.t): The Cloud Pub/Sub topic that notifications are to be sent to. Defaults to nil.
  • expiryTime (DateTime.t): The time until which the Registration is effective.

This is a read-only field assigned by the server. Defaults to nil.

  • feed (GoogleApi.Classroom.V1.Model.Feed.t): Specification for the class of notifications that Classroom should deliver to the destination. Defaults to nil.
  • registrationId (String.t): A server-generated unique identifier for this Registration.

Read-only. Defaults to nil.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Classroom.V1.Model.Registration{
  cloudPubsubTopic: GoogleApi.Classroom.V1.Model.CloudPubsubTopic.t(),
  expiryTime: DateTime.t(),
  feed: GoogleApi.Classroom.V1.Model.Feed.t(),
  registrationId: String.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.