Class ProjectsResource.LocationsResource.TemplatesResource
The "templates" collection of methods.
Inherited Members
Namespace: Google.Apis.Dataflow.v1b3
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class ProjectsResource.LocationsResource.TemplatesResource
Constructors
TemplatesResource(IClientService)
Constructs a new resource.
Declaration
public TemplatesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(CreateJobFromTemplateRequest, string, string)
Creates a Cloud Dataflow job from a template. Do not enter confidential information when you supply string values using the API.
Declaration
public virtual ProjectsResource.LocationsResource.TemplatesResource.CreateRequest Create(CreateJobFromTemplateRequest body, string projectId, string location)
Parameters
Type | Name | Description |
---|---|---|
CreateJobFromTemplateRequest | body | The body of the request. |
string | projectId | Required. The ID of the Cloud Platform project that the job belongs to. |
string | location | The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TemplatesResource.CreateRequest |
Get(string, string)
Get the template associated with a template.
Declaration
public virtual ProjectsResource.LocationsResource.TemplatesResource.GetRequest Get(string projectId, string location)
Parameters
Type | Name | Description |
---|---|---|
string | projectId | Required. The ID of the Cloud Platform project that the job belongs to. |
string | location | The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TemplatesResource.GetRequest |
Launch(LaunchTemplateParameters, string, string)
Launch a template.
Declaration
public virtual ProjectsResource.LocationsResource.TemplatesResource.LaunchRequest Launch(LaunchTemplateParameters body, string projectId, string location)
Parameters
Type | Name | Description |
---|---|---|
LaunchTemplateParameters | body | The body of the request. |
string | projectId | Required. The ID of the Cloud Platform project that the job belongs to. |
string | location | The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to which to direct the request. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.TemplatesResource.LaunchRequest |