Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class ComputePerformance.
Parameters detailing the compute performance for a specified DB system shape.
Generated from protobuf message google.cloud.oracledatabase.v1.ComputePerformance
Namespace
Google \ Cloud \ OracleDatabase \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ cpu_core_count |
int
Output only. The number of CPU cores available. |
↳ compute_model |
int
Output only. The compute model for Base Database Service. |
↳ compute_count |
int
Output only. The number of compute servers for the DB system. |
↳ memory_in_gbs |
float
Output only. The amount of memory allocated for the VMDB System in GBs. |
getCpuCoreCount
Output only. The number of CPU cores available.
| Returns | |
|---|---|
| Type | Description |
int |
|
setCpuCoreCount
Output only. The number of CPU cores available.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getComputeModel
Output only. The compute model for Base Database Service.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ComputeModel. |
setComputeModel
Output only. The compute model for Base Database Service.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ComputeModel. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getComputeCount
Output only. The number of compute servers for the DB system.
| Returns | |
|---|---|
| Type | Description |
int |
|
setComputeCount
Output only. The number of compute servers for the DB system.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMemoryInGbs
Output only. The amount of memory allocated for the VMDB System in GBs.
| Returns | |
|---|---|
| Type | Description |
float |
|
setMemoryInGbs
Output only. The amount of memory allocated for the VMDB System in GBs.
| Parameter | |
|---|---|
| Name | Description |
var |
float
|
| Returns | |
|---|---|
| Type | Description |
$this |
|