All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.dataflow.Dataflow.Projects.Locations.Templates.html Maven / Gradle / Ivy

There is a newer version: v1b4-rev7-1.20.0
Show newest version






Dataflow.Projects.Locations.Templates (Dataflow API v1b3-rev20231112-2.0.0)












com.google.api.services.dataflow

Class Dataflow.Projects.Locations.Templates

  • java.lang.Object
    • com.google.api.services.dataflow.Dataflow.Projects.Locations.Templates
    • Constructor Detail

      • Templates

        public Templates()
    • Method Detail

      • create

        public Dataflow.Projects.Locations.Templates.Create create(String projectId,
                                                                   String location,
                                                                   CreateJobFromTemplateRequest content)
                                                            throws IOException
        Creates a Cloud Dataflow job from a template. Do not enter confidential information when you supply string values using the API. Create a request for the method "templates.create". This request holds the parameters needed by the dataflow server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        projectId - Required. The ID of the Cloud Platform project that the job belongs to.
        location - The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
        content - the CreateJobFromTemplateRequest
        Returns:
        the request
        Throws:
        IOException
      • get

        public Dataflow.Projects.Locations.Templates.Get get(String projectId,
                                                             String location)
                                                      throws IOException
        Get the template associated with a template. Create a request for the method "templates.get". This request holds the parameters needed by the dataflow server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        projectId - Required. The ID of the Cloud Platform project that the job belongs to.
        location - The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
        Returns:
        the request
        Throws:
        IOException
      • launch

        public Dataflow.Projects.Locations.Templates.Launch launch(String projectId,
                                                                   String location,
                                                                   LaunchTemplateParameters content)
                                                            throws IOException
        Launch a template. Create a request for the method "templates.launch". This request holds the parameters needed by the dataflow server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        projectId - Required. The ID of the Cloud Platform project that the job belongs to.
        location - The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request.
        content - the LaunchTemplateParameters
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2023 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy