Google Cloud Dataplex V1 Client - Class InfrastructureSpec (1.11.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 messagegoogle.cloud.dataplex.v1.Task.InfrastructureSpec

Namespace

Google \ Cloud \ Dataplex \ V1 \ Task

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ batchInfrastructureSpec\BatchComputeResources

Compute resources needed for a Task when using Dataproc Serverless.

↳ container_imageInfrastructureSpec\ContainerImageRuntime

Container Image Runtime Configuration.

↳ vpc_networkInfrastructureSpec\VpcNetwork

Vpc network.

getBatch

Compute resources needed for a Task when using Dataproc Serverless.

Returns
TypeDescription
InfrastructureSpec\BatchComputeResources|null

hasBatch

setBatch

Compute resources needed for a Task when using Dataproc Serverless.

Parameter
NameDescription
varInfrastructureSpec\BatchComputeResources
Returns
TypeDescription
$this

getContainerImage

Container Image Runtime Configuration.

Returns
TypeDescription
InfrastructureSpec\ContainerImageRuntime|null

hasContainerImage

setContainerImage

Container Image Runtime Configuration.

Parameter
NameDescription
varInfrastructureSpec\ContainerImageRuntime
Returns
TypeDescription
$this

getVpcNetwork

Vpc network.

Returns
TypeDescription
InfrastructureSpec\VpcNetwork|null

hasVpcNetwork

setVpcNetwork

Vpc network.

Parameter
NameDescription
varInfrastructureSpec\VpcNetwork
Returns
TypeDescription
$this

getResources

Returns
TypeDescription
string

getRuntime

Returns
TypeDescription
string

getNetwork

Returns
TypeDescription
string

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-08 UTC.