Google Cloud Dataflow V1beta3 Client - Class ContainerSpec (0.3.10)

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

Container Spec.

Generated from protobuf message google.dataflow.v1beta3.ContainerSpec

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setImage

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMetadata

Metadata describing a template including description and validation rules.

Returns
TypeDescription
Google\Cloud\Dataflow\V1beta3\TemplateMetadata|null

hasMetadata

clearMetadata

setMetadata

Metadata describing a template including description and validation rules.

Parameter
NameDescription
var Google\Cloud\Dataflow\V1beta3\TemplateMetadata
Returns
TypeDescription
$this

getSdkInfo

Required. SDK info of the Flex Template.

Returns
TypeDescription
Google\Cloud\Dataflow\V1beta3\SDKInfo|null

hasSdkInfo

clearSdkInfo

setSdkInfo

Required. SDK info of the Flex Template.

Parameter
NameDescription
var Google\Cloud\Dataflow\V1beta3\SDKInfo
Returns
TypeDescription
$this

getDefaultEnvironment

Default runtime environment for the job.

Returns
TypeDescription
Google\Cloud\Dataflow\V1beta3\FlexTemplateRuntimeEnvironment|null

hasDefaultEnvironment

clearDefaultEnvironment

setDefaultEnvironment

Default runtime environment for the job.

Parameter
NameDescription
var Google\Cloud\Dataflow\V1beta3\FlexTemplateRuntimeEnvironment
Returns
TypeDescription
$this