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 \ V1beta3Methods
__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 |
TemplateMetadata
Metadata describing a template including description and validation rules. |
↳ sdk_info |
SDKInfo
Required. SDK info of the Flex Template. |
↳ default_environment |
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 |
TemplateMetadata|null |
hasMetadata
clearMetadata
setMetadata
Metadata describing a template including description and validation rules.
Parameter | |
---|---|
Name | Description |
var |
TemplateMetadata
|
Returns | |
---|---|
Type | Description |
$this |
getSdkInfo
Required. SDK info of the Flex Template.
Returns | |
---|---|
Type | Description |
SDKInfo|null |
hasSdkInfo
clearSdkInfo
setSdkInfo
Required. SDK info of the Flex Template.
Parameter | |
---|---|
Name | Description |
var |
SDKInfo
|
Returns | |
---|---|
Type | Description |
$this |
getDefaultEnvironment
Default runtime environment for the job.
Returns | |
---|---|
Type | Description |
FlexTemplateRuntimeEnvironment|null |
hasDefaultEnvironment
clearDefaultEnvironment
setDefaultEnvironment
Default runtime environment for the job.
Parameter | |
---|---|
Name | Description |
var |
FlexTemplateRuntimeEnvironment
|
Returns | |
---|---|
Type | Description |
$this |