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
Methods
__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.
Generated from protobuf field int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
setDiskSizeGb
Optional. Size in GB of the disk. Default is 100 GB.
Generated from protobuf field int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getNodeCount
Optional. Total number of nodes in the sessions created for this environment.
Generated from protobuf field int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
setNodeCount
Optional. Total number of nodes in the sessions created for this environment.
Generated from protobuf field int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL];
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.
Generated from protobuf field int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
setMaxNodeCount
Optional. Max configurable nodes.
If max_node_count > node_count, then auto-scaling is enabled.
Generated from protobuf field int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |