Class: Google::Apis::FileV1::FixedIops

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

Fixed IOPS (input/output operations per second) parameters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FixedIops

Returns a new instance of FixedIops.



344
345
346
# File 'lib/google/apis/file_v1/classes.rb', line 344

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

Instance Attribute Details

#max_read_iopsFixnum

Required. Maximum raw read IOPS. Corresponds to the JSON property maxReadIops

Returns:

  • (Fixnum)


342
343
344
# File 'lib/google/apis/file_v1/classes.rb', line 342

def max_read_iops
  @max_read_iops
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



349
350
351
# File 'lib/google/apis/file_v1/classes.rb', line 349

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