Google Cloud Dataflow V1beta3 Client - Class ContainerSpec (0.8.1)

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 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.

↳ image_repository_username_secret_id string

Secret Manager secret id for username to authenticate to private registry.

↳ image_repository_password_secret_id string

Secret Manager secret id for password to authenticate to private registry.

↳ image_repository_cert_path string

Cloud Storage path to self-signed certificate of private registry.

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

getImageRepositoryUsernameSecretId

Secret Manager secret id for username to authenticate to private registry.

Returns
Type Description
string

setImageRepositoryUsernameSecretId

Secret Manager secret id for username to authenticate to private registry.

Parameter
Name Description
var string
Returns
Type Description
$this

getImageRepositoryPasswordSecretId

Secret Manager secret id for password to authenticate to private registry.

Returns
Type Description
string

setImageRepositoryPasswordSecretId

Secret Manager secret id for password to authenticate to private registry.

Parameter
Name Description
var string
Returns
Type Description
$this

getImageRepositoryCertPath

Cloud Storage path to self-signed certificate of private registry.

Returns
Type Description
string

setImageRepositoryCertPath

Cloud Storage path to self-signed certificate of private registry.

Parameter
Name Description
var string
Returns
Type Description
$this