Database Center V1BETA API - Class Google::Cloud::DatabaseCenter::V1beta::MachineConfig (v0.1.0)

Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::MachineConfig.

MachineConfig describes the configuration of a machine specific to a Database Resource. NextID: 5

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#memory_size_bytes

def memory_size_bytes() -> ::Integer
Returns
  • (::Integer) — Memory size in bytes.

#memory_size_bytes=

def memory_size_bytes=(value) -> ::Integer
Parameter
  • value (::Integer) — Memory size in bytes.
Returns
  • (::Integer) — Memory size in bytes.

#shard_count

def shard_count() -> ::Integer
Returns
  • (::Integer) — Optional. The number of Shards (if applicable).

#shard_count=

def shard_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The number of Shards (if applicable).
Returns
  • (::Integer) — Optional. The number of Shards (if applicable).

#vcpu_count

def vcpu_count() -> ::Float
Returns
  • (::Float) — Optional. The number of vCPUs (if applicable).

#vcpu_count=

def vcpu_count=(value) -> ::Float
Parameter
  • value (::Float) — Optional. The number of vCPUs (if applicable).
Returns
  • (::Float) — Optional. The number of vCPUs (if applicable).