View Source GoogleApi.Classroom.V1.Model.Registration (google_api_classroom v0.21.2)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Classroom.V1.Model.Registration{
  cloudPubsubTopic: GoogleApi.Classroom.V1.Model.CloudPubsubTopic.t() | nil,
  expiryTime: DateTime.t() | nil,
  feed: GoogleApi.Classroom.V1.Model.Feed.t() | nil,
  registrationId: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.