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

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

Attributes

  • cloudPubsubTopic (type: GoogleApi.Classroom.V1.Model.CloudPubsubTopic.t, default: nil) - The Cloud Pub/Sub topic that notifications are to be sent to.

  • expiryTime (type: DateTime.t, default: nil) - The time until which the Registration is effective.

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

  • feed (type: GoogleApi.Classroom.V1.Model.Feed.t, default: nil) - Specification for the class of notifications that Classroom should deliver to the destination.

  • registrationId (type: String.t, default: nil) - A server-generated unique identifier for this Registration.

    Read-only.

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.