Class: Google::Apis::ComputeBeta::BundledLocalSsds

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) ⇒ BundledLocalSsds

Returns a new instance of BundledLocalSsds.



5811
5812
5813
# File 'lib/google/apis/compute_beta/classes.rb', line 5811

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

Instance Attribute Details

#default_interfaceString

The default disk interface if the interface is not specified. Corresponds to the JSON property defaultInterface

Returns:

  • (String)


5804
5805
5806
# File 'lib/google/apis/compute_beta/classes.rb', line 5804

def default_interface
  @default_interface
end

#partition_countFixnum

The number of partitions. Corresponds to the JSON property partitionCount

Returns:

  • (Fixnum)


5809
5810
5811
# File 'lib/google/apis/compute_beta/classes.rb', line 5809

def partition_count
  @partition_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5816
5817
5818
5819
# File 'lib/google/apis/compute_beta/classes.rb', line 5816

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