Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelection.
Machine specification.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#disks
def disks() -> ::Array<::Google::Cloud::Compute::V1::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk>
Returns
#disks=
def disks=(value) -> ::Array<::Google::Cloud::Compute::V1::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::CapacityAdviceRequestInstanceFlexibilityPolicyInstanceSelectionAttachedDisk>) — Local SSDs.
Returns
#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_types
def machine_types() -> ::Array<::String>
Returns
- (::Array<::String>) — Full machine-type names, e.g. "n1-standard-16".
#machine_types=
def machine_types=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Full machine-type names, e.g. "n1-standard-16".
Returns
- (::Array<::String>) — Full machine-type names, e.g. "n1-standard-16".
#rank
def rank() -> ::Integer
Returns
- (::Integer) — Optional. Rank when prioritizing the shape flexibilities. The instance selections are considered in the ascending order of the rank. If not set, defaults to 0.
#rank=
def rank=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. Rank when prioritizing the shape flexibilities. The instance selections are considered in the ascending order of the rank. If not set, defaults to 0.
Returns
- (::Integer) — Optional. Rank when prioritizing the shape flexibilities. The instance selections are considered in the ascending order of the rank. If not set, defaults to 0.