Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::FutureResourcesSpecSpecificSKUResources (v3.5.0)

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

#local_ssd_partitions=

def local_ssd_partitions=(value) -> ::Array<::Google::Cloud::Compute::V1::FutureResourcesSpecLocalSsdPartition>
Parameter
Returns

#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.