Class: Google::Apis::ComputeV1::FutureResourcesSpecLocalSsdPartition
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::FutureResourcesSpecLocalSsdPartition
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#disk_interface ⇒ String
Disk interface.
-
#disk_size_gb ⇒ Fixnum
The size of the disk in GB.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FutureResourcesSpecLocalSsdPartition
constructor
A new instance of FutureResourcesSpecLocalSsdPartition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FutureResourcesSpecLocalSsdPartition
Returns a new instance of FutureResourcesSpecLocalSsdPartition.
14075 14076 14077 |
# File 'lib/google/apis/compute_v1/classes.rb', line 14075 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disk_interface ⇒ String
Disk interface. Defaults to SCSI.
Corresponds to the JSON property diskInterface
14068 14069 14070 |
# File 'lib/google/apis/compute_v1/classes.rb', line 14068 def disk_interface @disk_interface end |
#disk_size_gb ⇒ Fixnum
The size of the disk in GB.
Corresponds to the JSON property diskSizeGb
14073 14074 14075 |
# File 'lib/google/apis/compute_v1/classes.rb', line 14073 def disk_size_gb @disk_size_gb end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14080 14081 14082 14083 |
# File 'lib/google/apis/compute_v1/classes.rb', line 14080 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 |