Google Cloud Appengine Admin V1 Client - Class Deployment (2.0.4)

Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class Deployment.

Code and application artifacts used to deploy a version to App Engine.

Generated from protobuf message google.appengine.v1.Deployment

Namespace

Google \ Cloud \ AppEngine \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ files
array| Google\Protobuf\Internal\MapField

Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.

↳ container
ContainerInfo

The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment.

↳ zip
ZipInfo

The zip file for this deployment, if this is a zip deployment.

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

getFiles

Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.

Returns
Type
Description

setFiles

Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.

Parameter
Name
Description
Returns
Type
Description
$this

getContainer

The Docker image for the container that runs the version.

Only applicable for instances running in the App Engine flexible environment.

Returns
Type
Description

hasContainer

clearContainer

setContainer

The Docker image for the container that runs the version.

Only applicable for instances running in the App Engine flexible environment.

Parameter
Name
Description
Returns
Type
Description
$this

getZip

The zip file for this deployment, if this is a zip deployment.

Returns
Type
Description
ZipInfo |null

hasZip

clearZip

setZip

The zip file for this deployment, if this is a zip deployment.

Parameter
Name
Description
var
Returns
Type
Description
$this

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.

Returns
Type
Description

hasCloudBuildOptions

clearCloudBuildOptions

setCloudBuildOptions

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.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: