Class: Google::Apis::FileV1beta1::IopsPerTb

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/file_v1beta1/classes.rb,
lib/google/apis/file_v1beta1/representations.rb,
lib/google/apis/file_v1beta1/representations.rb

Overview

IOPS per TB. Filestore defines TB as 1024^4 bytes (TiB).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IopsPerTb

Returns a new instance of IopsPerTb.



819
820
821
# File 'lib/google/apis/file_v1beta1/classes.rb', line 819

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#max_iops_per_tbFixnum

Required. Maximum IOPS per TiB. Corresponds to the JSON property maxIopsPerTb

Returns:

  • (Fixnum)


817
818
819
# File 'lib/google/apis/file_v1beta1/classes.rb', line 817

def max_iops_per_tb
  @max_iops_per_tb
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



824
825
826
# File 'lib/google/apis/file_v1beta1/classes.rb', line 824

def update!(**args)
  @max_iops_per_tb = args[:max_iops_per_tb] if args.key?(:max_iops_per_tb)
end