Class: Google::Apis::FileV1beta1::IopsPerGb

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 capacity parameters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IopsPerGb

Returns a new instance of IopsPerGb.



822
823
824
# File 'lib/google/apis/file_v1beta1/classes.rb', line 822

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

Instance Attribute Details

#max_read_iops_per_gbFixnum

Required. Maximum read IOPS per GB. Corresponds to the JSON property maxReadIopsPerGb

Returns:

  • (Fixnum)


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

def max_read_iops_per_gb
  @max_read_iops_per_gb
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



827
828
829
# File 'lib/google/apis/file_v1beta1/classes.rb', line 827

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