Resource: Deployment
Represents a deployment in an environment. A deployment happens when a flow version configured to be active in the environment. You can configure running pre-deployment steps, e.g. running validation test cases, experiment auto-rollout, etc.
JSON representation |
---|
{ "name": string, "flowVersion": string, "state": enum ( |
Fields | |
---|---|
name |
The name of the deployment. Format: projects/ |
flow |
The name of the flow version for this deployment. Format: projects/ |
state |
The current state of the deployment. |
result |
Result of the deployment. |
start |
Start time of this deployment. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
end |
End time of this deployment. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
State
The state of the deployment.
Enums | |
---|---|
STATE_UNSPECIFIED |
State unspecified. |
RUNNING |
The deployment is running. |
SUCCEEDED |
The deployment succeeded. |
FAILED |
The deployment failed. |
Result
Result of the deployment.
JSON representation |
---|
{ "deploymentTestResults": [ string ], "experiment": string } |
Fields | |
---|---|
deployment |
Results of test cases running before the deployment. Format: |
experiment |
The name of the experiment triggered by this deployment. Format: projects/ |
Methods |
|
---|---|
|
Retrieves the specified Deployment . |
|
Returns the list of all deployments in the specified Environment . |