Class JobsResource.InsertRequest
Starts a new asynchronous job. This API has two different kinds of endpoint URIs, as this method supports a variety of use cases. * The Metadata URI is used for most interactions, as it accepts the job configuration directly. * The Upload URI is ONLY for the case when you're sending both a load job configuration and a data stream together. In this case, the Upload URI accepts the job configuration and the data as two distinct multipart MIME parts.
Inheritance
JobsResource.InsertRequest
Inherited Members
Namespace: Google.Apis.Bigquery.v2
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class JobsResource.InsertRequest : BigqueryBaseServiceRequest<Job>, IClientServiceRequest<Job>, IClientServiceRequest
Constructors
InsertRequest(IClientService, Job, string)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, Job body, string projectId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Job | body | |
string | projectId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Job>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Job>.MethodName
ProjectId
Project ID of project that will be billed for the job.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Job>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Job>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()