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 \ V1Methods
__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 |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
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 |
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 | |
---|---|
Name | Description |
var |
Google\Cloud\AppEngine\V1\ContainerInfo
|
Returns | |
---|---|
Type | Description |
$this |
getZip
The zip file for this deployment, if this is a zip deployment.
Returns | |
---|---|
Type | Description |
Google\Cloud\AppEngine\V1\ZipInfo|null |
hasZip
clearZip
setZip
The zip file for this deployment, if this is a zip deployment.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AppEngine\V1\ZipInfo
|
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 |
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 | |
---|---|
Name | Description |
var |
Google\Cloud\AppEngine\V1\CloudBuildOptions
|
Returns | |
---|---|
Type | Description |
$this |