Reference documentation and code samples for the Google Cloud Dataplex V1 Client class ComputeResources.
Compute resources associated with the analyze interactive workloads.
Generated from protobuf message google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources
Namespace
Google \ Cloud \ Dataplex \ V1 \ Environment \ InfrastructureSpecMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ disk_size_gb |
int
Optional. Size in GB of the disk. Default is 100 GB. |
↳ node_count |
int
Optional. Total number of nodes in the sessions created for this environment. |
↳ max_node_count |
int
Optional. Max configurable nodes. If max_node_count > node_count, then auto-scaling is enabled. |
getDiskSizeGb
Optional. Size in GB of the disk. Default is 100 GB.
| Returns | |
|---|---|
| Type | Description |
int |
|
setDiskSizeGb
Optional. Size in GB of the disk. Default is 100 GB.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNodeCount
Optional. Total number of nodes in the sessions created for this environment.
| Returns | |
|---|---|
| Type | Description |
int |
|
setNodeCount
Optional. Total number of nodes in the sessions created for this environment.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMaxNodeCount
Optional. Max configurable nodes.
If max_node_count > node_count, then auto-scaling is enabled.
| Returns | |
|---|---|
| Type | Description |
int |
|
setMaxNodeCount
Optional. Max configurable nodes.
If max_node_count > node_count, then auto-scaling is enabled.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|