public final class Deployment
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 App Engine Admin 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.Flags
Constructor and Description |
---|
Deployment() |
Modifier and Type | Method and Description |
---|---|
Deployment |
clone() |
CloudBuildOptions |
getCloudBuildOptions()
Options for any Google Cloud Build builds created as a part of this deployment.These options
will only be used if a new build is created, such as when deploying to the App Engine flexible
environment using files or zip.
|
ContainerInfo |
getContainer()
The Docker image for the container that runs the version.
|
java.util.Map<java.lang.String,FileInfo> |
getFiles()
Manifest of the files stored in Google Cloud Storage that are included as part of this version.
|
ZipInfo |
getZip()
The zip file for this deployment, if this is a zip deployment.
|
Deployment |
set(java.lang.String fieldName,
java.lang.Object value) |
Deployment |
setCloudBuildOptions(CloudBuildOptions cloudBuildOptions)
Options for any Google Cloud Build builds created as a part of this deployment.These options
will only be used if a new build is created, such as when deploying to the App Engine flexible
environment using files or zip.
|
Deployment |
setContainer(ContainerInfo container)
The Docker image for the container that runs the version.
|
Deployment |
setFiles(java.util.Map<java.lang.String,FileInfo> files)
Manifest of the files stored in Google Cloud Storage that are included as part of this version.
|
Deployment |
setZip(ZipInfo zip)
The zip file for this deployment, if this is a zip deployment.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public CloudBuildOptions getCloudBuildOptions()
null
for nonepublic Deployment setCloudBuildOptions(CloudBuildOptions cloudBuildOptions)
cloudBuildOptions
- cloudBuildOptions or null
for nonepublic ContainerInfo getContainer()
null
for nonepublic Deployment setContainer(ContainerInfo container)
container
- container or null
for nonepublic java.util.Map<java.lang.String,FileInfo> getFiles()
null
for nonepublic Deployment setFiles(java.util.Map<java.lang.String,FileInfo> files)
files
- files or null
for nonepublic ZipInfo getZip()
null
for nonepublic Deployment setZip(ZipInfo zip)
zip
- zip or null
for nonepublic Deployment set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Deployment clone()
clone
in class com.google.api.client.json.GenericJson