Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::FutureResourcesSpecSpecificSKUResources.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#instance_count
def instance_count() -> ::Integer
Returns
- (::Integer) — Size of the request, in instance count.
#instance_count=
def instance_count=(value) -> ::Integer
Parameter
- value (::Integer) — Size of the request, in instance count.
Returns
- (::Integer) — Size of the request, in instance count.
#local_ssd_partitions
def local_ssd_partitions() -> ::Array<::Google::Cloud::Compute::V1::FutureResourcesSpecLocalSsdPartition>
Returns
- (::Array<::Google::Cloud::Compute::V1::FutureResourcesSpecLocalSsdPartition>) — Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
#local_ssd_partitions=
def local_ssd_partitions=(value) -> ::Array<::Google::Cloud::Compute::V1::FutureResourcesSpecLocalSsdPartition>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::FutureResourcesSpecLocalSsdPartition>) — Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
Returns
- (::Array<::Google::Cloud::Compute::V1::FutureResourcesSpecLocalSsdPartition>) — Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
#machine_type
def machine_type() -> ::String
Returns
- (::String) — The machine type to use for instances that will use the reservation. This field only accepts machine type names. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4. Use for GPU reservations.
#machine_type=
def machine_type=(value) -> ::String
Parameter
- value (::String) — The machine type to use for instances that will use the reservation. This field only accepts machine type names. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4. Use for GPU reservations.
Returns
- (::String) — The machine type to use for instances that will use the reservation. This field only accepts machine type names. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4. Use for GPU reservations.