Class TemplatesServiceGrpc.TemplatesServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<TemplatesServiceGrpc.TemplatesServiceBlockingV2Stub>
com.google.dataflow.v1beta3.TemplatesServiceGrpc.TemplatesServiceBlockingV2Stub
Enclosing class:
TemplatesServiceGrpc

public static final class TemplatesServiceGrpc.TemplatesServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<TemplatesServiceGrpc.TemplatesServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service TemplatesService.
 Provides a method to create Cloud Dataflow jobs from templates.
 
  • Method Details

    • build

      protected TemplatesServiceGrpc.TemplatesServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<TemplatesServiceGrpc.TemplatesServiceBlockingV2Stub>
    • createJobFromTemplate

      public Job createJobFromTemplate(CreateJobFromTemplateRequest request) throws io.grpc.StatusException
       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`.
       
      Throws:
      io.grpc.StatusException
    • launchTemplate

      public LaunchTemplateResponse launchTemplate(LaunchTemplateRequest request) throws io.grpc.StatusException
       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`.
       
      Throws:
      io.grpc.StatusException
    • getTemplate

      public GetTemplateResponse getTemplate(GetTemplateRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException