Class: Google::Apis::FileV1::IopsPerGb

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/file_v1/classes.rb,
lib/google/apis/file_v1/representations.rb,
lib/google/apis/file_v1/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.



804
805
806
# File 'lib/google/apis/file_v1/classes.rb', line 804

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)


802
803
804
# File 'lib/google/apis/file_v1/classes.rb', line 802

def max_read_iops_per_gb
  @max_read_iops_per_gb
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



809
810
811
# File 'lib/google/apis/file_v1/classes.rb', line 809

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