Class: Google::Apis::ComputeBeta::FutureResourcesSpecLocalSsdPartition

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FutureResourcesSpecLocalSsdPartition

Returns a new instance of FutureResourcesSpecLocalSsdPartition.



16717
16718
16719
# File 'lib/google/apis/compute_beta/classes.rb', line 16717

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

Instance Attribute Details

#disk_interfaceString

Disk interface. Defaults to SCSI. Corresponds to the JSON property diskInterface

Returns:

  • (String)


16710
16711
16712
# File 'lib/google/apis/compute_beta/classes.rb', line 16710

def disk_interface
  @disk_interface
end

#disk_size_gbFixnum

The size of the disk in GB. Corresponds to the JSON property diskSizeGb

Returns:

  • (Fixnum)


16715
16716
16717
# File 'lib/google/apis/compute_beta/classes.rb', line 16715

def disk_size_gb
  @disk_size_gb
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16722
16723
16724
16725
# File 'lib/google/apis/compute_beta/classes.rb', line 16722

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