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. # IAM Permissions Requires the bigquery.jobs.create permission
on the project resource. Additional permissions are required depending on the job type: - Load, Export,
and Copy jobs: Generally require data-level permissions such as bigquery.tables.export or access to
external storage. - Query jobs: Permissions are dependent on the SQL statement. Complex queries (DDL,
DCL) may require additional permissions to create reservations, modify IAM policies, or update project
settings.
Inheritance
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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()