Class ProjectsResource.LocationsResource.JobsResource.CreateRequest
Creates a Cloud Dataflow job. To create a job, we recommend using projects.locations.jobs.create
with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints).
Using projects.jobs.create
is not recommended, as your job will always start in us-central1
. Do
not enter confidential information when you supply string values using the API.
Inheritance
Inherited Members
Namespace: Google.Apis.Dataflow.v1b3
Assembly: Google.Apis.Dataflow.v1b3.dll
Syntax
public class ProjectsResource.LocationsResource.JobsResource.CreateRequest : DataflowBaseServiceRequest<Job>, IClientServiceRequest<Job>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Job, string, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Job body, string projectId, string location)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Job | body | |
string | projectId | |
string | location |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Location
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) that contains this job.
Declaration
[RequestParameter("location", RequestParameterType.Path)]
public virtual string Location { get; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProjectId
The ID of the Cloud Platform project that the job belongs to.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
ReplaceJobId
Deprecated. This field is now in the Job message.
Declaration
[RequestParameter("replaceJobId", RequestParameterType.Query)]
public virtual string ReplaceJobId { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
View
The level of information requested in response.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.JobsResource.CreateRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.JobsResource.CreateRequest.ViewEnum? |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()