View Source GoogleApi.PubSubLite.V1.Model.Reservation (google_api_pub_sub_lite v0.9.0)

Metadata about a reservation resource.

Attributes

  • name (type: String.t, default: nil) - The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
  • throughputCapacity (type: String.t, default: nil) - The reserved throughput capacity. Every unit of throughput capacity is equivalent to 1 MiB/s of published messages or 2 MiB/s of subscribed messages. Any topics which are declared as using capacity from a Reservation will consume resources from this reservation instead of being charged individually.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.PubSubLite.V1.Model.Reservation{
  name: String.t() | nil,
  throughputCapacity: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.