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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FixedIops

Returns a new instance of FixedIops.



351
352
353
# File 'lib/google/apis/file_v1/classes.rb', line 351

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)


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

def max_read_iops
  @max_read_iops
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



356
357
358
# File 'lib/google/apis/file_v1/classes.rb', line 356

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