target.apidocs.com.google.api.services.dataflow.Dataflow.Projects.Locations.Templates.html Maven / Gradle / Ivy
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
-
- Enclosing class:
- Dataflow.Projects.Locations
public class Dataflow.Projects.Locations.Templates
extends Object
The "templates" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Dataflow.Projects.Locations.Templates.Create
class
Dataflow.Projects.Locations.Templates.Get
class
Dataflow.Projects.Locations.Templates.Launch
-
Constructor Summary
Constructors
Constructor and Description
Templates()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Dataflow.Projects.Locations.Templates.Create
create(String projectId,
String location,
CreateJobFromTemplateRequest content)
Creates a Cloud Dataflow job from a template.
Dataflow.Projects.Locations.Templates.Get
get(String projectId,
String location)
Get the template associated with a template.
Dataflow.Projects.Locations.Templates.Launch
launch(String projectId,
String location,
LaunchTemplateParameters content)
Launch a template.
-
-
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