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

Metadata about a topic resource.

Attributes

  • name (type: String.t, default: nil) - The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
  • partitionConfig (type: GoogleApi.PubSubLite.V1.Model.PartitionConfig.t, default: nil) - The settings for this topic's partitions.
  • reservationConfig (type: GoogleApi.PubSubLite.V1.Model.ReservationConfig.t, default: nil) - The settings for this topic's Reservation usage.
  • retentionConfig (type: GoogleApi.PubSubLite.V1.Model.RetentionConfig.t, default: nil) - The settings for this topic's message retention.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.PubSubLite.V1.Model.Topic{
  name: String.t() | nil,
  partitionConfig: GoogleApi.PubSubLite.V1.Model.PartitionConfig.t() | nil,
  reservationConfig: GoogleApi.PubSubLite.V1.Model.ReservationConfig.t() | nil,
  retentionConfig: GoogleApi.PubSubLite.V1.Model.RetentionConfig.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.