public final class ContainerSpec
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ContainerSpec() |
| Modifier and Type | Method and Description |
|---|---|
ContainerSpec |
clone() |
FlexTemplateRuntimeEnvironment |
getDefaultEnvironment()
Default runtime environment for the job.
|
String |
getImage()
Name of the docker container image.
|
String |
getImageRepositoryCertPath()
Cloud Storage path to self-signed certificate of private registry.
|
String |
getImageRepositoryPasswordSecretId()
Secret Manager secret id for password to authenticate to private registry.
|
String |
getImageRepositoryUsernameSecretId()
Secret Manager secret id for username to authenticate to private registry.
|
TemplateMetadata |
getMetadata()
Metadata describing a template including description and validation rules.
|
SDKInfo |
getSdkInfo()
Required.
|
ContainerSpec |
set(String fieldName,
Object value) |
ContainerSpec |
setDefaultEnvironment(FlexTemplateRuntimeEnvironment defaultEnvironment)
Default runtime environment for the job.
|
ContainerSpec |
setImage(String image)
Name of the docker container image.
|
ContainerSpec |
setImageRepositoryCertPath(String imageRepositoryCertPath)
Cloud Storage path to self-signed certificate of private registry.
|
ContainerSpec |
setImageRepositoryPasswordSecretId(String imageRepositoryPasswordSecretId)
Secret Manager secret id for password to authenticate to private registry.
|
ContainerSpec |
setImageRepositoryUsernameSecretId(String imageRepositoryUsernameSecretId)
Secret Manager secret id for username to authenticate to private registry.
|
ContainerSpec |
setMetadata(TemplateMetadata metadata)
Metadata describing a template including description and validation rules.
|
ContainerSpec |
setSdkInfo(SDKInfo sdkInfo)
Required.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic FlexTemplateRuntimeEnvironment getDefaultEnvironment()
null for nonepublic ContainerSpec setDefaultEnvironment(FlexTemplateRuntimeEnvironment defaultEnvironment)
defaultEnvironment - defaultEnvironment or null for nonepublic String getImage()
null for nonepublic ContainerSpec setImage(String image)
image - image or null for nonepublic String getImageRepositoryCertPath()
null for nonepublic ContainerSpec setImageRepositoryCertPath(String imageRepositoryCertPath)
imageRepositoryCertPath - imageRepositoryCertPath or null for nonepublic String getImageRepositoryPasswordSecretId()
null for nonepublic ContainerSpec setImageRepositoryPasswordSecretId(String imageRepositoryPasswordSecretId)
imageRepositoryPasswordSecretId - imageRepositoryPasswordSecretId or null for nonepublic String getImageRepositoryUsernameSecretId()
null for nonepublic ContainerSpec setImageRepositoryUsernameSecretId(String imageRepositoryUsernameSecretId)
imageRepositoryUsernameSecretId - imageRepositoryUsernameSecretId or null for nonepublic TemplateMetadata getMetadata()
null for nonepublic ContainerSpec setMetadata(TemplateMetadata metadata)
metadata - metadata or null for nonepublic SDKInfo getSdkInfo()
null for nonepublic ContainerSpec setSdkInfo(SDKInfo sdkInfo)
sdkInfo - sdkInfo or null for nonepublic ContainerSpec set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ContainerSpec clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.