Google Cloud Dataplex V1 Client - Class ComputeResources (0.10.0)

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 \ InfrastructureSpec

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
int

setDiskSizeGb

Optional. Size in GB of the disk. Default is 100 GB.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getNodeCount

Optional. Total number of nodes in the sessions created for this environment.

Returns
TypeDescription
int

setNodeCount

Optional. Total number of nodes in the sessions created for this environment.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMaxNodeCount

Optional. Max configurable nodes.

If max_node_count > node_count, then auto-scaling is enabled.

Returns
TypeDescription
int

setMaxNodeCount

Optional. Max configurable nodes.

If max_node_count > node_count, then auto-scaling is enabled.

Parameter
NameDescription
var int
Returns
TypeDescription
$this