Google Cloud Dataplex V1 Client - Class InfrastructureSpec (1.0.0)

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

Namespace

Google \ Cloud \ Dataplex \ V1 \ Task

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Cloud\Dataplex\V1\Task\InfrastructureSpec\BatchComputeResources|null

hasBatch

setBatch

Compute resources needed for a Task when using Dataproc Serverless.

Parameter
Name Description
var Google\Cloud\Dataplex\V1\Task\InfrastructureSpec\BatchComputeResources
Returns
Type Description
$this

getContainerImage

Container Image Runtime Configuration.

Returns
Type Description
Google\Cloud\Dataplex\V1\Task\InfrastructureSpec\ContainerImageRuntime|null

hasContainerImage

setContainerImage

Container Image Runtime Configuration.

Parameter
Name Description
var Google\Cloud\Dataplex\V1\Task\InfrastructureSpec\ContainerImageRuntime
Returns
Type Description
$this

getVpcNetwork

Vpc network.

Returns
Type Description
Google\Cloud\Dataplex\V1\Task\InfrastructureSpec\VpcNetwork|null

hasVpcNetwork

setVpcNetwork

Vpc network.

Parameter
Name Description
var Google\Cloud\Dataplex\V1\Task\InfrastructureSpec\VpcNetwork
Returns
Type Description
$this

getResources

Returns
Type Description
string

getRuntime

Returns
Type Description
string

getNetwork

Returns
Type Description
string