Google Cloud Database Center V1beta Client - Class MachineConfig (0.3.1) Stay organized with collections Save and categorize content based on your preferences.
Beta
This library is covered by thePre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see thelaunch stage descriptions.
Reference documentation and code samples for the Google Cloud Database Center V1beta Client class MachineConfig.
MachineConfig describes the configuration of a machine specific to a DatabaseResource.
Generated from protobuf messagegoogle.cloud.databasecenter.v1beta.MachineConfig
Namespace
Google \ Cloud \ DatabaseCenter \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ memory_size_bytes | int|stringMemory size in bytes. |
↳ shard_count | intOptional. The number of Shards (if applicable). |
↳ vcpu_count | floatOptional. The number of vCPUs (if applicable). |
getMemorySizeBytes
Memory size in bytes.
| Returns | |
|---|---|
| Type | Description |
int|string | |
setMemorySizeBytes
Memory size in bytes.
| Parameter | |
|---|---|
| Name | Description |
var | int|string |
| Returns | |
|---|---|
| Type | Description |
$this | |
getShardCount
Optional. The number of Shards (if applicable).
| Returns | |
|---|---|
| Type | Description |
int | |
hasShardCount
clearShardCount
setShardCount
Optional. The number of Shards (if applicable).
| Parameter | |
|---|---|
| Name | Description |
var | int |
| Returns | |
|---|---|
| Type | Description |
$this | |
getVcpuCount
Optional. The number of vCPUs (if applicable).
| Returns | |
|---|---|
| Type | Description |
float | |
hasVcpuCount
clearVcpuCount
setVcpuCount
Optional. The number of vCPUs (if applicable).
| Parameter | |
|---|---|
| Name | Description |
var | float |
| Returns | |
|---|---|
| Type | Description |
$this | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-24 UTC.