Google Cloud Dataplex V1 Client - Class InfrastructureSpec (0.2.3)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class InfrastructureSpec.

Configuration for the underlying infrastructure used to run workloads.

Generated from protobuf message google.cloud.dataplex.v1.Task.InfrastructureSpec

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ batch Google\Cloud\Dataplex\V1\Task\InfrastructureSpec\BatchComputeResources

Compute resources needed for a Task when using Dataproc Serverless.

↳ container_image Google\Cloud\Dataplex\V1\Task\InfrastructureSpec\ContainerImageRuntime

Container Image Runtime Configuration.

↳ vpc_network Google\Cloud\Dataplex\V1\Task\InfrastructureSpec\VpcNetwork

Vpc network.

getBatch

Compute resources needed for a Task when using Dataproc Serverless.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\Task\InfrastructureSpec\BatchComputeResources|null

hasBatch

setBatch

Compute resources needed for a Task when using Dataproc Serverless.

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\Task\InfrastructureSpec\BatchComputeResources
Returns
TypeDescription
$this

getContainerImage

Container Image Runtime Configuration.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\Task\InfrastructureSpec\ContainerImageRuntime|null

hasContainerImage

setContainerImage

Container Image Runtime Configuration.

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\Task\InfrastructureSpec\ContainerImageRuntime
Returns
TypeDescription
$this

getVpcNetwork

Vpc network.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\Task\InfrastructureSpec\VpcNetwork|null

hasVpcNetwork

setVpcNetwork

Vpc network.

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\Task\InfrastructureSpec\VpcNetwork
Returns
TypeDescription
$this

getResources

Returns
TypeDescription
string

getRuntime

Returns
TypeDescription
string

getNetwork

Returns
TypeDescription
string