Class: Google::Apis::FileV1beta1::FixedIops

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

Fixed IOPS parameters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FixedIops

Returns a new instance of FixedIops.



369
370
371
# File 'lib/google/apis/file_v1beta1/classes.rb', line 369

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)


367
368
369
# File 'lib/google/apis/file_v1beta1/classes.rb', line 367

def max_read_iops
  @max_read_iops
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



374
375
376
# File 'lib/google/apis/file_v1beta1/classes.rb', line 374

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