google-cloud-workflow-executions overview (2.2.1)

com.google.cloud.workflows.executions.v1

A client to Workflow Executions API

The interfaces provided are listed below, along with usage samples.

ExecutionsClient

Service Description: Executions is used to start and manage running instances of Workflows called executions.

Sample for ExecutionsClient:

   
 // This snippet has been automatically generated for illustrative purposes only. 
  
 // It may require modifications to work in your environment. 
  
 try 
  
 ( 
 ExecutionsClient 
  
 executionsClient 
  
 = 
  
 ExecutionsClient 
 . 
 create 
 ()) 
  
 { 
  
 WorkflowName 
  
 parent 
  
 = 
  
 WorkflowName 
 . 
 of 
 ( 
 "[PROJECT]" 
 , 
  
 "[LOCATION]" 
 , 
  
 "[WORKFLOW]" 
 ); 
  
 Execution 
  
 execution 
  
 = 
  
 Execution 
 . 
 newBuilder 
 (). 
 build 
 (); 
  
 Execution 
  
 response 
  
 = 
  
 executionsClient 
 . 
 createExecution 
 ( 
 parent 
 , 
  
 execution 
 ); 
  
 } 
  
 

com.google.cloud.workflows.executions.v1.stub

com.google.cloud.workflows.executions.v1beta

The interfaces provided are listed below, along with usage samples.

ExecutionsClient

Service Description: Executions is used to start and manage running instances of Workflows called executions.

Sample for ExecutionsClient:

   
 // This snippet has been automatically generated for illustrative purposes only. 
  
 // It may require modifications to work in your environment. 
  
 try 
  
 ( 
 ExecutionsClient 
  
 executionsClient 
  
 = 
  
 ExecutionsClient 
 . 
 create 
 ()) 
  
 { 
  
 WorkflowName 
  
 parent 
  
 = 
  
 WorkflowName 
 . 
 of 
 ( 
 "[PROJECT]" 
 , 
  
 "[LOCATION]" 
 , 
  
 "[WORKFLOW]" 
 ); 
  
 Execution 
  
 execution 
  
 = 
  
 Execution 
 . 
 newBuilder 
 (). 
 build 
 (); 
  
 Execution 
  
 response 
  
 = 
  
 executionsClient 
 . 
 createExecution 
 ( 
 parent 
 , 
  
 execution 
 ); 
  
 } 
  
 

com.google.cloud.workflows.executions.v1beta.stub

Design a Mobile Site
View Site in Mobile | Classic
Share by: