class Google::Apis::PubsubliteV1::Capacity
The throughput capacity configuration for each partition.
Attributes
publish_mib_per_sec[RW]
Publish throughput capacity per partition in MiB/s. Must be >= 4 and <= 16. Corresponds to the JSON property `publishMibPerSec` @return [Fixnum]
subscribe_mib_per_sec[RW]
Subscribe throughput capacity per partition in MiB/s. Must be >= 4 and <= 32. Corresponds to the JSON property `subscribeMibPerSec` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/pubsublite_v1/classes.rb, line 52 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/pubsublite_v1/classes.rb, line 57 def update!(**args) @publish_mib_per_sec = args[:publish_mib_per_sec] if args.key?(:publish_mib_per_sec) @subscribe_mib_per_sec = args[:subscribe_mib_per_sec] if args.key?(:subscribe_mib_per_sec) end