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/  | 
              
flowVersion | 
                
                   
 The name of the flow version for this deployment. Format: projects/  | 
              
state | 
                
                   
 The current state of the deployment.  | 
              
result | 
                
                   
 Result of the deployment.  | 
              
startTime | 
                
                   
 Start time of this deployment. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
endTime | 
                
                   
 End time of this deployment. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. 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 | |
|---|---|
deploymentTestResults[] | 
                
                   
 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. |