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 Database Resource.
Generated from protobuf message google.cloud.databasecenter.v1beta.MachineConfig
Namespace
Google \ Cloud \ DatabaseCenter \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ memory_size_bytes |
int|string
Memory size in bytes. |
↳ shard_count |
int
Optional. The number of Shards (if applicable). |
↳ vcpu_count |
float
Optional. 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 |
|