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.



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

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

Instance Attribute Details

#max_iopsFixnum

Required. Maximum IOPS. Corresponds to the JSON property maxIops

Returns:

  • (Fixnum)


346
347
348
# File 'lib/google/apis/file_v1/classes.rb', line 346

def max_iops
  @max_iops
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



353
354
355
# File 'lib/google/apis/file_v1/classes.rb', line 353

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