Google Cloud Dataflow V1beta3 Client - Class ContainerSpec (0.6.3)

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class ContainerSpec.

Container Spec.

Generated from protobuf message google.dataflow.v1beta3.ContainerSpec

Namespace

Google \ Cloud \ Dataflow \ V1beta3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ image string

Name of the docker container image. E.g., gcr.io/project/some-image

↳ metadata Google\Cloud\Dataflow\V1beta3\TemplateMetadata

Metadata describing a template including description and validation rules.

↳ sdk_info Google\Cloud\Dataflow\V1beta3\SDKInfo

Required. SDK info of the Flex Template.

↳ default_environment Google\Cloud\Dataflow\V1beta3\FlexTemplateRuntimeEnvironment

Default runtime environment for the job.

getImage

Name of the docker container image. E.g., gcr.io/project/some-image

Returns
Type Description
string

setImage

Name of the docker container image. E.g., gcr.io/project/some-image

Parameter
Name Description
var string
Returns
Type Description
$this

getMetadata

Metadata describing a template including description and validation rules.

Returns
Type Description
Google\Cloud\Dataflow\V1beta3\TemplateMetadata|null

hasMetadata

clearMetadata

setMetadata

Metadata describing a template including description and validation rules.

Parameter
Name Description
var Google\Cloud\Dataflow\V1beta3\TemplateMetadata
Returns
Type Description
$this

getSdkInfo

Required. SDK info of the Flex Template.

Returns
Type Description
Google\Cloud\Dataflow\V1beta3\SDKInfo|null

hasSdkInfo

clearSdkInfo

setSdkInfo

Required. SDK info of the Flex Template.

Parameter
Name Description
var Google\Cloud\Dataflow\V1beta3\SDKInfo
Returns
Type Description
$this

getDefaultEnvironment

Default runtime environment for the job.

Returns
Type Description
Google\Cloud\Dataflow\V1beta3\FlexTemplateRuntimeEnvironment|null

hasDefaultEnvironment

clearDefaultEnvironment

setDefaultEnvironment

Default runtime environment for the job.

Parameter
Name Description
var Google\Cloud\Dataflow\V1beta3\FlexTemplateRuntimeEnvironment
Returns
Type Description
$this