Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::ManagedInstancePropertiesFromFlexibilityPolicy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#disks
def disks() -> ::Array<::Google::Cloud::Compute::V1::AttachedDisk>
Returns
- (::Array<::Google::Cloud::Compute::V1::AttachedDisk>) — List of disks to be attached to the instance.
#disks=
def disks=(value) -> ::Array<::Google::Cloud::Compute::V1::AttachedDisk>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::AttachedDisk>) — List of disks to be attached to the instance.
Returns
- (::Array<::Google::Cloud::Compute::V1::AttachedDisk>) — List of disks to be attached to the instance.
#machine_type
def machine_type() -> ::String
Returns
- (::String) — Output only. The machine type to be used for this instance.
#machine_type=
def machine_type=(value) -> ::String
Parameter
- value (::String) — Output only. The machine type to be used for this instance.
Returns
- (::String) — Output only. The machine type to be used for this instance.
#min_cpu_platform
def min_cpu_platform() -> ::String
Returns
- (::String) — Name of the minimum CPU platform to be used by this instance. e.g. 'Intel Ice Lake'.
#min_cpu_platform=
def min_cpu_platform=(value) -> ::String
Parameter
- value (::String) — Name of the minimum CPU platform to be used by this instance. e.g. 'Intel Ice Lake'.
Returns
- (::String) — Name of the minimum CPU platform to be used by this instance. e.g. 'Intel Ice Lake'.