View Source GoogleApi.PubSubLite.V1.Model.Subscription (google_api_pub_sub_lite v0.10.0)

Metadata about a subscription resource.

Attributes

  • deliveryConfig (type: GoogleApi.PubSubLite.V1.Model.DeliveryConfig.t, default: nil) - The settings for this subscription's message delivery.
  • exportConfig (type: GoogleApi.PubSubLite.V1.Model.ExportConfig.t, default: nil) - If present, messages are automatically written from the Pub/Sub Lite topic associated with this subscription to a destination.
  • name (type: String.t, default: nil) - The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
  • topic (type: String.t, default: nil) - The name of the topic this subscription is attached to. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.PubSubLite.V1.Model.Subscription{
  deliveryConfig: GoogleApi.PubSubLite.V1.Model.DeliveryConfig.t() | nil,
  exportConfig: GoogleApi.PubSubLite.V1.Model.ExportConfig.t() | nil,
  name: String.t() | nil,
  topic: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.