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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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 Google\Cloud\AppEngine\V1\ContainerInfo

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

↳ zip Google\Cloud\AppEngine\V1\ZipInfo

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

↳ cloud_build_options Google\Cloud\AppEngine\V1\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
TypeDescription
Google\Protobuf\Internal\MapField

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
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getContainer

The Docker image for the container that runs the version.

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

Returns
TypeDescription
Google\Cloud\AppEngine\V1\ContainerInfo|null

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
NameDescription
var Google\Cloud\AppEngine\V1\ContainerInfo
Returns
TypeDescription
$this

getZip

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

Returns
TypeDescription
Google\Cloud\AppEngine\V1\ZipInfo|null

hasZip

clearZip

setZip

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

Parameter
NameDescription
var Google\Cloud\AppEngine\V1\ZipInfo
Returns
TypeDescription
$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
TypeDescription
Google\Cloud\AppEngine\V1\CloudBuildOptions|null

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
NameDescription
var Google\Cloud\AppEngine\V1\CloudBuildOptions
Returns
TypeDescription
$this