Google Cloud Dataplex V1 Client - Class ComputeResources (0.1.6)

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
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.

Generated from protobuf field int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this