Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::InstanceQuota (v0.7.0)

Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::InstanceQuota.

A resource budget.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#available_machine_count

def available_machine_count() -> ::Integer
Returns
  • (::Integer) — Number of machines than can be created for the given location and instance_type.

#available_machine_count=

def available_machine_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Number of machines than can be created for the given location and instance_type.
Returns
  • (::Integer) — Number of machines than can be created for the given location and instance_type.

#gcp_service

def gcp_service() -> ::String
Returns
  • (::String) — The gcp service of the provisioning quota.

#gcp_service=

def gcp_service=(value) -> ::String
Parameter
  • value (::String) — The gcp service of the provisioning quota.
Returns
  • (::String) — The gcp service of the provisioning quota.

#instance_type

def instance_type() -> ::String
Returns
  • (::String) — Instance type. Deprecated: use gcp_service.

#instance_type=

def instance_type=(value) -> ::String
Parameter
  • value (::String) — Instance type. Deprecated: use gcp_service.
Returns
  • (::String) — Instance type. Deprecated: use gcp_service.

#location

def location() -> ::String
Returns
  • (::String) — Location where the quota applies.

#location=

def location=(value) -> ::String
Parameter
  • value (::String) — Location where the quota applies.
Returns
  • (::String) — Location where the quota applies.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The name of the instance quota.