public final Execution createExecution(String parent, Execution execution) {
    CreateExecutionRequest request =
        CreateExecutionRequest.newBuilder().setParent(parent).setExecution(execution).build();
    return createExecution(request);
  }
Creates a new execution using the latest revision of the given workflow.

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
  String parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString();
  Execution execution = Execution.newBuilder().build();
  Execution response = executionsClient.createExecution(parent, execution);
}
}</pre>

@param parent Required. Name of the workflow for which an execution should be created. Format:
    projects/{project}/locations/{location}/workflows/{workflow} The latest revision of the
    workflow will be used.
@param execution Required. Execution to be created.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java