target.apidocs.com.google.api.services.dataflow.Dataflow.Projects.Templates.html Maven / Gradle / Ivy
Dataflow.Projects.Templates (Dataflow API v1b3-rev20231112-2.0.0)
com.google.api.services.dataflow
Class Dataflow.Projects.Templates
- java.lang.Object
-
- com.google.api.services.dataflow.Dataflow.Projects.Templates
-
- Enclosing class:
- Dataflow.Projects
public class Dataflow.Projects.Templates
extends Object
The "templates" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Dataflow.Projects.Templates.Create
class
Dataflow.Projects.Templates.Get
class
Dataflow.Projects.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.Templates.Create
create(String projectId,
CreateJobFromTemplateRequest content)
Creates a Cloud Dataflow job from a template.
Dataflow.Projects.Templates.Get
get(String projectId)
Get the template associated with a template.
Dataflow.Projects.Templates.Launch
launch(String projectId,
LaunchTemplateParameters content)
Launch a template.
-
-
Method Detail
-
create
public Dataflow.Projects.Templates.Create create(String projectId,
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.
content
- the CreateJobFromTemplateRequest
- Returns:
- the request
- Throws:
IOException
-
get
public Dataflow.Projects.Templates.Get get(String projectId)
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.
- Returns:
- the request
- Throws:
IOException
-
launch
public Dataflow.Projects.Templates.Launch launch(String projectId,
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.
content
- the LaunchTemplateParameters
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy