GoogleApi.Datastream.V1.Model.MongodbCollection (google_api_datastream v0.10.0)

View Source

MongoDB Collection.

Attributes

  • collection (type: String.t, default: nil) - Collection name.
  • fields (type: list(GoogleApi.Datastream.V1.Model.MongodbField.t), default: nil) - Fields in the collection.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Datastream.V1.Model.MongodbCollection{
  collection: String.t() | nil,
  fields: [GoogleApi.Datastream.V1.Model.MongodbField.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.