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

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.
  • retentionConfig (type: GoogleApi.PubSubLite.V1.Model.RetentionConfig.t, default: nil) - The settings for this topic's message retention.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.PubSubLite.V1.Model.Topic{
  name: String.t(),
  partitionConfig: GoogleApi.PubSubLite.V1.Model.PartitionConfig.t(),
  retentionConfig: GoogleApi.PubSubLite.V1.Model.RetentionConfig.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.