Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::CapacityHistoryRequestInstanceProperties.
Instance properties for this request.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#disks
def disks() -> ::Array<::Google::Cloud::Compute::V1::CapacityHistoryRequestInstancePropertiesAttachedDisk>
Returns
- (::Array<::Google::Cloud::Compute::V1::CapacityHistoryRequestInstancePropertiesAttachedDisk>) — Local SSDs.
#disks=
def disks=(value) -> ::Array<::Google::Cloud::Compute::V1::CapacityHistoryRequestInstancePropertiesAttachedDisk>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::CapacityHistoryRequestInstancePropertiesAttachedDisk>) — Local SSDs.
Returns
- (::Array<::Google::Cloud::Compute::V1::CapacityHistoryRequestInstancePropertiesAttachedDisk>) — Local SSDs.
#guest_accelerators
def guest_accelerators() -> ::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>
Returns
- (::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>) — Accelerators configuration.
#guest_accelerators=
def guest_accelerators=(value) -> ::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>) — Accelerators configuration.
Returns
- (::Array<::Google::Cloud::Compute::V1::AcceleratorConfig>) — Accelerators configuration.
#machine_type
def machine_type() -> ::String
Returns
-
(::String) — The machine type for the VM, such as
n2-standard-4.
#machine_type=
def machine_type=(value) -> ::String
Parameter
-
value (::String) — The machine type for the VM, such as
n2-standard-4.
Returns
-
(::String) — The machine type for the VM, such as
n2-standard-4.
#scheduling
def scheduling() -> ::Google::Cloud::Compute::V1::CapacityHistoryRequestInstancePropertiesScheduling
Returns
- (::Google::Cloud::Compute::V1::CapacityHistoryRequestInstancePropertiesScheduling) — Specifies the scheduling options.
#scheduling=
def scheduling=(value) -> ::Google::Cloud::Compute::V1::CapacityHistoryRequestInstancePropertiesScheduling
Parameter
- value (::Google::Cloud::Compute::V1::CapacityHistoryRequestInstancePropertiesScheduling) — Specifies the scheduling options.
Returns
- (::Google::Cloud::Compute::V1::CapacityHistoryRequestInstancePropertiesScheduling) — Specifies the scheduling options.