google-cloud-life-sciences overview (0.6.0)

com.google.cloud.lifesciences.v2beta

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

WorkflowsServiceV2BetaClient

Service Description: A service for running workflows, such as pipelines consisting of Docker containers.

Sample for WorkflowsServiceV2BetaClient:


 // 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 (WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =
     WorkflowsServiceV2BetaClient.create()) {
   RunPipelineRequest request =
       RunPipelineRequest.newBuilder()
           .setParent("parent-995424086")
           .setPipeline(Pipeline.newBuilder().build())
           .putAllLabels(new HashMap<String, String>())
           .setPubSubTopic("pubSubTopic320524524")
           .build();
   RunPipelineResponse response = workflowsServiceV2BetaClient.runPipelineAsync(request).get();
 }
 

com.google.cloud.lifesciences.v2beta.stub