Class DeployConfiguration
- java.lang.Object
-
- com.google.cloud.tools.appengine.configuration.DeployConfiguration
-
public class DeployConfiguration extends Object
Configuration forDeployment.deploy(DeployConfiguration)
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeployConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeployConfiguration.Builder
builder(List<Path> deployables)
String
getBucket()
GCS storage bucket used for staging files associated with deployment.List<Path>
getDeployables()
List of deployable target directories or yaml files.String
getGcloudMode()
Gcloud pre-release mode: like alpha or beta.String
getImageUrl()
Docker image to use during deployment (only for app.yaml deployments).String
getProjectId()
Google Cloud Project ID to deploy to.Boolean
getPromote()
Promote the deployed version to receive all traffic.String
getServer()
The App Engine server to use.Boolean
getStopPreviousVersion()
Stop the previous running version when deploying and promote this new version.String
getVersion()
Version to deploy.
-
-
-
Method Detail
-
getBucket
@Nullable public String getBucket()
GCS storage bucket used for staging files associated with deployment.
-
getDeployables
public List<Path> getDeployables()
List of deployable target directories or yaml files.
-
getImageUrl
@Nullable public String getImageUrl()
Docker image to use during deployment (only for app.yaml deployments).
-
getPromote
@Nullable public Boolean getPromote()
Promote the deployed version to receive all traffic.
-
getServer
@Nullable public String getServer()
The App Engine server to use. Users typically will never set this value.
-
getStopPreviousVersion
@Nullable public Boolean getStopPreviousVersion()
Stop the previous running version when deploying and promote this new version.
-
builder
public static DeployConfiguration.Builder builder(List<Path> deployables)
-
-