Interface TemplatesServiceGrpc.AsyncService

All Known Implementing Classes:
TemplatesServiceGrpc.TemplatesServiceImplBase
Enclosing class:
TemplatesServiceGrpc

public static interface TemplatesServiceGrpc.AsyncService
 Provides a method to create Cloud Dataflow jobs from templates.
 
  • Method Details

    • createJobFromTemplate

      default void createJobFromTemplate(CreateJobFromTemplateRequest request, io.grpc.stub.StreamObserver<Job> responseObserver)
       Creates a Cloud Dataflow job from a template. Do not enter confidential
       information when you supply string values using the API.
       To create a job, we recommend using `projects.locations.templates.create`
       with a [regional endpoint]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
       `projects.templates.create` is not recommended, because your job will
       always start in `us-central1`.
       
    • launchTemplate

      default void launchTemplate(LaunchTemplateRequest request, io.grpc.stub.StreamObserver<LaunchTemplateResponse> responseObserver)
       Launches a template.
       To launch a template, we recommend using
       `projects.locations.templates.launch` with a [regional endpoint]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
       `projects.templates.launch` is not recommended, because jobs launched
       from the template will always start in `us-central1`.
       
    • getTemplate

      default void getTemplate(GetTemplateRequest request, io.grpc.stub.StreamObserver<GetTemplateResponse> responseObserver)
       Get the template associated with a template.
       To get the template, we recommend using `projects.locations.templates.get`
       with a [regional endpoint]
       (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
       `projects.templates.get` is not recommended, because only
       templates that are running in `us-central1` are retrieved.