public sealed class BigQueryClientImpl : BigQueryClient, IDisposable
Reference documentation and code samples for the Google BigQuery v2 API class BigQueryClientImpl.
Wrapper around Google.Apis.Bigquery.v2.BigqueryService to provide simpler operations.
Implements
IDisposableNamespace
Google.Cloud.BigQuery.V2Assembly
Google.Cloud.BigQuery.V2.dll
Remarks
This is the "default" implementation of BigQueryClient. Most client code should refer to BigQueryClient, creating instances with Create(String, GoogleCredential) and CreateAsync(String, GoogleCredential). The constructor of this class is public for the sake of constructor-based dependency injection.
Constructors
BigQueryClientImpl(ProjectReference, BigqueryService)
public BigQueryClientImpl(ProjectReference projectReference, BigqueryService service)
Constructs a new client wrapping the given Google.Apis.Bigquery.v2.BigqueryService.
Name | Description |
projectReference | Google.Apis.Bigquery.v2.Data.ProjectReference A fully-qualified identifier for the project. Must not be null. |
service | Google.Apis.Bigquery.v2.BigqueryService The service to wrap. Must not be null. |
Care should be taken when constructing the service: if the default serializer settings are used, result values which can be parsed as date/time values can cause problems. Where possible, either use Create(String, GoogleCredential) or construct a service using serializer settings from CreateJsonSerializersSettings().
BigQueryClientImpl(ProjectReference, BigqueryService, String)
public BigQueryClientImpl(ProjectReference projectReference, BigqueryService service, string defaultLocation)
Constructs a new client wrapping the given Google.Apis.Bigquery.v2.BigqueryService, with a specified default location for location-specific operations.
Name | Description |
projectReference | Google.Apis.Bigquery.v2.Data.ProjectReference A fully-qualified identifier for the project. Must not be null. |
service | Google.Apis.Bigquery.v2.BigqueryService The service to wrap. Must not be null. |
defaultLocation | String The default location to use for location-specific operations. May be null. |
Care should be taken when constructing the service: if the default serializer settings are used, result values which can be parsed as date/time values can cause problems. Where possible, either use Create(String, GoogleCredential) or construct a service using serializer settings from CreateJsonSerializersSettings().
BigQueryClientImpl(String, BigqueryService)
public BigQueryClientImpl(string projectId, BigqueryService service)
Constructs a new client wrapping the given Google.Apis.Bigquery.v2.BigqueryService, with no default location.
Name | Description |
projectId | String The ID of the project to work with. Must not be null. |
service | Google.Apis.Bigquery.v2.BigqueryService The service to wrap. Must not be null. |
Care should be taken when constructing the service: if the default serializer settings are used, result values which can be parsed as date/time values can cause problems. Where possible, either use Create(String, GoogleCredential) or construct a service using serializer settings from CreateJsonSerializersSettings().
BigQueryClientImpl(String, BigqueryService, String)
public BigQueryClientImpl(string projectId, BigqueryService service, string defaultLocation)
Constructs a new client wrapping the given Google.Apis.Bigquery.v2.BigqueryService, with a specified default location for location-specific operations.
Name | Description |
projectId | String The ID of the project to work with. Must not be null. |
service | Google.Apis.Bigquery.v2.BigqueryService The service to wrap. Must not be null. |
defaultLocation | String The default location to use for location-specific operations. May be null. |
Care should be taken when constructing the service: if the default serializer settings are used, result values which can be parsed as date/time values can cause problems. Where possible, either use Create(String, GoogleCredential) or construct a service using serializer settings from CreateJsonSerializersSettings().
Properties
ApplicationName
public static string ApplicationName { get; set; }
The default application name used when creating a Google.Apis.Bigquery.v2.BigqueryService. Defaults to "google-cloud-dotnet"; must not be null.
Type | Description |
String |
Most applications will never want to set this, which is why it's in this class rather than BigQueryClient.
DefaultLocation
public override string DefaultLocation { get; }
The default location to use for all operations where locations can be specified, such as dataset and job creation.
Type | Description |
String |
PrettyPrint
public override bool PrettyPrint { get; }
Determines whether or not responses should be formatted with whitespace for readability.
Type | Description |
Boolean |
ProjectId
public override string ProjectId { get; }
The ID of the project this client operates on. All operations that require a project to be specified implicitly supply this ID.
Type | Description |
String |
Service
public override BigqueryService Service { get; }
The underlying BigQuery service object used by this client.
Type | Description |
Google.Apis.Bigquery.v2.BigqueryService |
The BigQueryClient class only provides convenience operations built on top of an existing service object. Any more complex operations which are not supported by this wrapper may wish to use the same service object as the wrapper, in order to take advantage of its configuration (for authentication, application naming etc).
Methods
CancelJob(JobReference, CancelJobOptions)
public override BigQueryJob CancelJob(JobReference jobReference, CancelJobOptions options = null)
Cancels the specified job.
Name | Description |
jobReference | Google.Apis.Bigquery.v2.Data.JobReference A fully-qualified identifier for the job. Must not be null. |
options | CancelJobOptions The options for the operation. May be null, in which case defaults will be supplied. |
Type | Description |
BigQueryJob | The final state of the job. |
CancelJobAsync(JobReference, CancelJobOptions, CancellationToken)
public override async Task<BigQueryJob> CancelJobAsync(JobReference jobReference, CancelJobOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Asynchronously cancels the specified job.
Name | Description |
jobReference | Google.Apis.Bigquery.v2.Data.JobReference A fully-qualified identifier for the job. Must not be null. |
options | CancelJobOptions The options for the operation. May be null, in which case defaults will be supplied. |
cancellationToken | CancellationToken The token to monitor for cancellation requests. |
Type | Description |
Task<BigQueryJob> | A task representing the asynchronous operation. When complete, the result is the final state of the job. |
ClearDatasetLabels(DatasetReference, ModifyLabelsOptions)
public override IDictionary<string, string> ClearDatasetLabels(DatasetReference datasetReference, ModifyLabelsOptions options = null)
Clears all labels on the specified dataset.
Name | Description |
datasetReference | Google.Apis.Bigquery.v2.Data.DatasetReference A fully-qualified identifier for the dataset. Must not be null. |
options | ModifyLabelsOptions The options for the operation. May be null, in which case defaults will be supplied. |
Type | Description |
IDictionary<String, String> | A dictionary with the labels on the dataset before they were cleared. |
ClearDatasetLabelsAsync(DatasetReference, ModifyLabelsOptions, CancellationToken)
public override async Task<IDictionary<string, string>> ClearDatasetLabelsAsync(DatasetReference datasetReference, ModifyLabelsOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Asynchronously clears all labels on the specified dataset.
Name | Description |
datasetReference | Google.Apis.Bigquery.v2.Data.DatasetReference A fully-qualified identifier for the dataset. Must not be null. |
options | ModifyLabelsOptions The options for the operation. May be null, in which case defaults will be supplied. |
cancellationToken | CancellationToken The token to monitor for cancellation requests. |
Type | Description |
Task<IDictionary<String, String>> | A task representing the asynchronous operation. When complete, the result is a dictionary with the labels on the dataset before they were cleared. |
CreateCopyJob(IEnumerable<TableReference>, TableReference, CreateCopyJobOptions)
public override BigQueryJob CreateCopyJob(IEnumerable<TableReference> sources, TableReference destination, CreateCopyJobOptions options = null)
Creates a job to copy data from at least one table to another.
Name | Description |
sources | IEnumerable<Google.Apis.Bigquery.v2.Data.TableReference> The source tables to copy. Must not be null or empty. |
destination | Google.Apis.Bigquery.v2.Data.TableReference The destination to copy to. Must not be null. |
options | CreateCopyJobOptions The options for the operation. May be null, in which case defaults will be supplied. |
Type | Description |
BigQueryJob | The job created for the copy operation. |
To avoid confusion between source and destination tables, overloads are not provided that take the individual components of table references. Instead, use GetTableReference(String, String) or GetTableReference(String, String, String) to create table references.
CreateCopyJobAsync(IEnumerable<TableReference>, TableReference, CreateCopyJobOptions, CancellationToken)
public override async Task<BigQueryJob> CreateCopyJobAsync(IEnumerable<TableReference> sources, TableReference destination, CreateCopyJobOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Asynchronously creates a job to copy data from at least one table to another.
Name | Description |
sources | IEnumerable<Google.Apis.Bigquery.v2.Data.TableReference> The source tables to copy. Must not be null or empty. |
destination | Google.Apis.Bigquery.v2.Data.TableReference The destination to copy to. Must not be null. |
options | CreateCopyJobOptions The options for the operation. May be null, in which case defaults will be supplied. |
cancellationToken | CancellationToken The token to monitor for cancellation requests. |
Type | Description |
Task<BigQueryJob> | A task representing the asynchronous operation. When complete, the result is the job created for the copy operation. |
To avoid confusion between source and destination tables, overloads are not provided that take the individual components of table references. Instead, use GetTableReference(String, String) or GetTableReference(String, String, String) to create table references.
CreateDataset(DatasetReference, Dataset, CreateDatasetOptions)
public override BigQueryDataset CreateDataset(DatasetReference datasetReference, Dataset resource = null, CreateDatasetOptions options = null)
Creates the specified dataset.
Name | Description |
datasetReference | Google.Apis.Bigquery.v2.Data.DatasetReference A fully-qualified identifier for the dataset. Must not be null. |
resource | Google.Apis.Bigquery.v2.Data.Dataset The dataset resource representation to use for the creation. May be null in which case default values will be used. |
options | CreateDatasetOptions The options for the operation. May be null, in which case defaults will be supplied. |
Type | Description |
BigQueryDataset | The created dataset. |
If resource
Google.Apis.Bigquery.v2.Data.Dataset.DatasetReference is specified, then it must be the same as the Google.Apis.Bigquery.v2.Data.DatasetReference obtained from the other parameters.
CreateDatasetAsync(DatasetReference, Dataset, CreateDatasetOptions, CancellationToken)
public override async Task<BigQueryDataset> CreateDatasetAsync(DatasetReference datasetReference, Dataset resource = null, CreateDatasetOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Asynchronously creates the specified dataset.
Name | Description |
datasetReference | Google.Apis.Bigquery.v2.Data.DatasetReference A fully-qualified identifier for the dataset. Must not be null. |
resource | Google.Apis.Bigquery.v2.Data.Dataset The dataset resource representation to use for the creation. May be null in which case default values will be used. |
options | CreateDatasetOptions The options for the operation. May be null, in which case defaults will be supplied. |
cancellationToken | CancellationToken The token to monitor for cancellation requests. |
Type | Description |
Task<BigQueryDataset> | A task representing the asynchronous operation. When complete, the result is the created dataset. |
If resource
Google.Apis.Bigquery.v2.Data.Dataset.DatasetReference is specified, then it must be the same as the Google.Apis.Bigquery.v2.Data.DatasetReference obtained from the other parameters.
CreateExtractJob(TableReference, IEnumerable<String>, CreateExtractJobOptions)
public override BigQueryJob CreateExtractJob(TableReference tableReference, IEnumerable<string> destinationUris, CreateExtractJobOptions options = null)
Creates a job to extract data from the specified BigQuery table to Google Cloud Storage. See the BigQuery documentation for more information on extract jobs.
Name | Description |
tableReference | Google.Apis.Bigquery.v2.Data.TableReference A fully-qualified identifier for the table. Must not be null. |
destinationUris | IEnumerable<String> The Google Cloud Storage URIs (possibly including a wildcard) to extract the data to. Must not be null or empty. |
options | CreateExtractJobOptions The options for the operation. May be null, in which case defaults will be supplied. |
Type | Description |
BigQueryJob | The job created for the extract operation. |
CreateExtractJobAsync(TableReference, IEnumerable<String>, CreateExtractJobOptions, CancellationToken)
public override async Task<BigQueryJob> CreateExtractJobAsync(TableReference tableReference, IEnumerable<string> destinationUris, CreateExtractJobOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Asynchronously creates a job to extract data from the specified BigQuery table to Google Cloud Storage. See the BigQuery documentation for more information on extract jobs.
Name | Description |
tableReference | Google.Apis.Bigquery.v2.Data.TableReference A fully-qualified identifier for the table. Must not be null. |
destinationUris | IEnumerable<String> The Google Cloud Storage URIs (possibly including a wildcard) to extract the data to. Must not be null or empty. |
options | CreateExtractJobOptions The options for the operation. May be null, in which case defaults will be supplied. |
cancellationToken | CancellationToken The token to monitor for cancellation requests. |
Type | Description |
Task<BigQueryJob> | A task representing the asynchronous operation. When complete, the result is the job created for the extract operation. |
CreateLoadJob(IEnumerable<String>, TableReference, TableSchema, CreateLoadJobOptions)
public override BigQueryJob CreateLoadJob(IEnumerable<string> sourceUris, TableReference destination, TableSchema schema, CreateLoadJobOptions options = null)
Creates a job to load data from at least one Google Cloud Storage file to a BigQuery table.
Name | Description |
sourceUris | IEnumerable<String> The Google Cloud Storage URIs of the files to load. Must not be null or empty. |
destination | Google.Apis.Bigquery.v2.Data.TableReference The destination table to write data to. Must not be null. |
schema | Google.Apis.Bigquery.v2.Data.TableSchema The schema for the table. May be null if the load operation does not require a schema, such as if the table already exists, the data is being loaded from a Google Cloud Datastore backup, or if the options are set to autodetect the schema. |
options | CreateLoadJobOptions The options for the operation. May be null, in which case defaults will be supplied. |
Type | Description |
BigQueryJob | The job created for the load operation. |
To avoid confusion between source and destination tables, overloads are not provided that take the individual components of table references. Instead, use GetTableReference(String, String) or GetTableReference(String, String, String) to create table references.
CreateLoadJobAsync(IEnumerable<String>, TableReference, TableSchema, CreateLoadJobOptions, CancellationToken)
public override async Task<BigQueryJob> CreateLoadJobAsync(IEnumerable<string> sourceUris, TableReference destination, TableSchema schema, CreateLoadJobOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Asynchronously creates a job to load data from at least one Google Cloud Storage file to a BigQuery table.
Name | Description |
sourceUris | IEnumerable<String> The Google Cloud Storage URIs of the files to load. Must not be null or empty. |
destination | Google.Apis.Bigquery.v2.Data.TableReference The destination table to write data to. Must not be null. |
schema | Google.Apis.Bigquery.v2.Data.TableSchema The schema for the table. May be null if the load operation does not require a schema, such as if the table already exists, the data is being loaded from a Google Cloud Datastore backup, or if the options are set to autodetect the schema. |
options | CreateLoadJobOptions The options for the operation. May be null, in which case defaults will be supplied. |
cancellationToken | CancellationToken The token to monitor for cancellation requests. |
Type | Description |
Task<BigQueryJob> | A task representing the asynchronous operation. When complete, the result is the job created for the load operation. |
To avoid confusion between source and destination tables, overloads are not provided that take the individual components of table references. Instead, use GetTableReference(String, String) or GetTableReference(String, String, String) to create table references.
CreateModelExtractJob(ModelReference, IEnumerable<String>, CreateModelExtractJobOptions)
public override BigQueryJob CreateModelExtractJob(ModelReference modelReference, IEnumerable<string> destinationUris, CreateModelExtractJobOptions options = null)
Creates a job to extract the specified BigQuery model to Google Cloud Storage. See the BigQuery documentation for more information on model extract jobs.
Name | Description |
modelReference | Google.Apis.Bigquery.v2.Data.ModelReference A fully-qualified identifier for the model. Must not be null. |
destinationUris | IEnumerable<String> The Google Cloud Storage URIs (possibly including a wildcard) to extract the model to. Must not be null or empty. |
options | CreateModelExtractJobOptions The options for the operation. May be null, in which case defaults will be supplied. |
Type | Description |
BigQueryJob | The job created for the extract operation. |
CreateModelExtractJobAsync(ModelReference, IEnumerable<String>, CreateModelExtractJobOptions, CancellationToken)
public override async Task<BigQueryJob> CreateModelExtractJobAsync(ModelReference modelReference, IEnumerable<string> destinationUris, CreateModelExtractJobOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Asynchronously creates a job to extract the specified BigQuery model to Google Cloud Storage. See the BigQuery documentation for more information on model extract jobs.
Name | Description |
modelReference | Google.Apis.Bigquery.v2.Data.ModelReference A fully-qualified identifier for the model. Must not be null. |
destinationUris | IEnumerable<String> The Google Cloud Storage URIs (possibly including a wildcard) to extract the model to. Must not be null or empty. |
options | CreateModelExtractJobOptions The options for the operation. May be null, in which case defaults will be supplied. |
cancellationToken | CancellationToken The token to monitor for cancellation requests. |
Type | Description |
Task<BigQueryJob> | A task representing the asynchronous operation. When complete, the result is the job created for the extract operation. |
CreateQueryJob(String, IEnumerable<BigQueryParameter>, QueryOptions)
public override BigQueryJob CreateQueryJob(string sql, IEnumerable<BigQueryParameter> parameters, QueryOptions options = null)
Creates a job for a SQL query.
Name | Description |
sql | String The SQL query. Must not be null. |
parameters | IEnumerable<BigQueryParameter> The parameters for the query. May be null, which is equivalent to specifying an empty list of parameters. Must not contain null elements. |
options | QueryOptions The options for the operation. May be null, in which case defaults will be supplied. |
Type | Description |
BigQueryJob | The query job created. Use GetQueryResults(JobReference, GetQueryResultsOptions) to retrieve the results of the query. |
CreateQueryJobAsync(String, IEnumerable<BigQueryParameter>, QueryOptions, CancellationToken)
public override async Task<BigQueryJob> CreateQueryJobAsync(string sql, IEnumerable<BigQueryParameter> parameters, QueryOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Asynchronously creates a job for a SQL query.
Name | Description |
sql | String The SQL query. Must not be null. |
parameters | IEnumerable<BigQueryParameter> The parameters for the query. May be null, which is equivalent to specifying an empty list of parameters. Must not contain null elements. |
options | QueryOptions The options for the operation. May be null, in which case defaults will be supplied. |
cancellationToken | CancellationToken The token to monitor for cancellation requests. |
Type | Description |
Task<BigQueryJob> | A task representing the asynchronous operation. When complete, the result is the query job created. Use GetQueryResultsAsync(JobReference, GetQueryResultsOptions, CancellationToken) to retrieve the results of the query. |
CreateRoutine(RoutineReference, Routine, CreateRoutineOptions)
public override BigQueryRoutine CreateRoutine(RoutineReference routineReference, Routine resource, CreateRoutineOptions options = null)
Creates the specified routine.
Name | Description |
routineReference | Google.Apis.Bigquery.v2.Data.RoutineReference A fully-qualified identifier for the routine. Must not be null. |
resource | Google.Apis.Bigquery.v2.Data.Routine The routine resource representation to use for the creation. Must not be null. If this routine's Google.Apis.Bigquery.v2.Data.Routine.RoutineReference is specified, then it must be the same as the one obtained from the other parameters, else it will be set to the one obtained from the other parameters. |
options | CreateRoutineOptions The options for the operation. May be null, in which case defaults will be supplied. |
Type | Description |
BigQueryRoutine | The newly created routine. |
CreateRoutineAsync(RoutineReference, Routine, CreateRoutineOptions, CancellationToken)
public override async Task<BigQueryRoutine> CreateRoutineAsync(RoutineReference routineReference, Routine resource, CreateRoutineOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Asynchronously creates the specified routine.
Name | Description |
routineReference | Google.Apis.Bigquery.v2.Data.RoutineReference A fully-qualified identifier for the routine. Must not be null. |
resource | Google.Apis.Bigquery.v2.Data.Routine The routine resource representation to use for the creation. Must not be null. If this routine's Google.Apis.Bigquery.v2.Data.Routine.RoutineReference is specified, then it must be the same as the one obtained from the other parameters, else it will be set to the one obtained from the other parameters. |
options | CreateRoutineOptions The options for the operation. May be null, in which case defaults will be supplied. |
cancellationToken | CancellationToken The token to monitor for cancellation requests. |
Type | Description |
Task<BigQueryRoutine> | A task representing the asynchronous operation. When complete, the result is the newly created routine. |
CreateTable(TableReference, Table, CreateTableOptions)
public override BigQueryTable CreateTable(TableReference tableReference, Table resource, CreateTableOptions options = null)
Creates the specified table.
Name | Description |
tableReference | Google.Apis.Bigquery.v2.Data.TableReference A fully-qualified identifier for the table. Must not be null. |
resource | Google.Apis.Bigquery.v2.Data.Table The table resource representation to use for the creation. Must not be null. If this table's Google.Apis.Bigquery.v2.Data.Table.TableReference is specified, then it must be the same as the one obtained from the other parameters, else it will be set to the one obtained from the other parameters. |
options | CreateTableOptions The options for the operation. May be null, in which case defaults will be supplied. |
Type | Description |
BigQueryTable | The newly created table. |
CreateTable(TableReference, TableSchema, CreateTableOptions)
public override BigQueryTable CreateTable(TableReference tableReference, TableSchema schema, CreateTableOptions options = null)
Creates the specified table.
Name | Description |
tableReference | Google.Apis.Bigquery.v2.Data.TableReference A fully-qualified identifier for the table. Must not be null. |
schema | Google.Apis.Bigquery.v2.Data.TableSchema The schema for the new table. Must not be null. |
options | CreateTableOptions The options for the operation. May be null, in which case defaults will be supplied. |
Type | Description |
BigQueryTable | The newly created table. |
CreateTableAsync(TableReference, Table, CreateTableOptions, CancellationToken)
public override async Task<BigQueryTable> CreateTableAsync(TableReference tableReference, Table resource, CreateTableOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Asynchronously creates the specified table.
Name | Description |
tableReference | Google.Apis.Bigquery.v2.Data.TableReference A fully-qualified identifier for the table. Must not be null. |
resource | Google.Apis.Bigquery.v2.Data.Table The table resource representation to use for the creation. Must not be null. If this table's Google.Apis.Bigquery.v2.Data.Table.TableReference is specified, then it must be the same as the one obtained from the other parameters, else it will be set to the one obtained from the other parameters. |
options | CreateTableOptions The options for the operation. May be null, in which case defaults will be supplied. |
cancellationToken | CancellationToken The token to monitor for cancellation requests. |
Type | Description |
Task<BigQueryTable> | A task representing the asynchronous operation. When complete, the result is the newly created table. |
CreateTableAsync(TableReference, TableSchema, CreateTableOptions, CancellationToken)
public override Task<BigQueryTable> CreateTableAsync(TableReference tableReference, TableSchema schema, CreateTableOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Asynchronously creates the specified table.
Name | Description |
tableReference | Google.Apis.Bigquery.v2.Data.TableReference A fully-qualified identifier for the table. Must not be null. |
schema | Google.Apis.Bigquery.v2.Data.TableSchema The schema for the new table. Must not be null. |
options | CreateTableOptions The options for the operation. May be null, in which case defaults will be supplied. |
cancellationToken | CancellationToken The token to monitor for cancellation requests. |
Type | Description |
Task<BigQueryTable> | A task representing the asynchronous operation. When complete, the result is the newly created table. |
DeleteDataset(DatasetReference, DeleteDatasetOptions)
public override void DeleteDataset(DatasetReference datasetReference, DeleteDatasetOptions options = null)
Deletes the specified dataset.
Name | Description |
datasetReference | Google.Apis.Bigquery.v2.Data.DatasetReference A fully-qualified identifier for the dataset. Must not be null. |
options | DeleteDatasetOptions The options for the operation. May be null, in which case defaults will be supplied. |
DeleteDatasetAsync(DatasetReference, DeleteDatasetOptions, CancellationToken)
public override async Task DeleteDatasetAsync(DatasetReference datasetReference, DeleteDatasetOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Asynchronously deletes the specified dataset.
Name | Description |
datasetReference | Google.Apis.Bigquery.v2.Data.DatasetReference A fully-qualified identifier for the dataset. Must not be null. |
options | DeleteDatasetOptions The options for the operation. May be null, in which case defaults will be supplied. |
cancellationToken | CancellationToken The token to monitor for cancellation requests. |
Type | Description |
Task | A task representing the asynchronous operation. |
DeleteJob(JobReference, DeleteJobOptions)
public override void DeleteJob(JobReference jobReference, DeleteJobOptions options = null)
Deletes the specified job.
Name | Description |
jobReference | Google.Apis.Bigquery.v2.Data.JobReference A fully-qualified identifier for the job. Must not be null. |
options | DeleteJobOptions The options for the operation. May be null, in which case defaults will be supplied. |
DeleteJobAsync(JobReference, DeleteJobOptions, CancellationToken)
public override async Task DeleteJobAsync(JobReference jobReference, DeleteJobOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Asynchronously deletes the specified job.
Name | Description |
jobReference | Google.Apis.Bigquery.v2.Data.JobReference A fully-qualified identifier for the job. Must not be null. |
options | DeleteJobOptions The options for the operation. May be null, in which case defaults will be supplied. |
cancellationToken | CancellationToken The token to monitor for cancellation requests. |
Type | Description |
Task | A task representing the asynchronous operation. |
DeleteModel(ModelReference, DeleteModelOptions)
public override void DeleteModel(ModelReference modelReference, DeleteModelOptions options = null)
Deletes the specified model.
Name | Description |
modelReference | Google.Apis.Bigquery.v2.Data.ModelReference A fully-qualified identifier for the model. Must not be null. |
options | DeleteModelOptions The options for the operation. May be null, in which case defaults will be supplied. |
DeleteModelAsync(ModelReference, DeleteModelOptions, CancellationToken)
public override async Task DeleteModelAsync(ModelReference modelReference, DeleteModelOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Asynchronously deletes the specified model.
Name | Description |
modelReference | Google.Apis.Bigquery.v2.Data.ModelReference A fully-qualified identifier for the model. Must not be null. |
options | DeleteModelOptions The options for the operation. May be null, in which case defaults will be supplied. |
cancellationToken | CancellationToken The token to monitor for cancellation requests. |
Type | Description |
Task | A task representing the asynchronous operation. |
DeleteRoutine(RoutineReference, DeleteRoutineOptions)
public override void DeleteRoutine(RoutineReference routineReference, DeleteRoutineOptions options = null)
Deletes the specified routine.
Name | Description |
routineReference | Google.Apis.Bigquery.v2.Data.RoutineReference A fully-qualified identifier for the routine. Must not be null. |
options | DeleteRoutineOptions The options for the operation. May be null, in which case defaults will be supplied. |
DeleteRoutineAsync(RoutineReference, DeleteRoutineOptions, CancellationToken)
public override async Task DeleteRoutineAsync(RoutineReference routineReference, DeleteRoutineOptions options = null, CancellationToken cancellationToken = default(CancellationToken))
Asynchronously deletes the specified routine.
Name | Description |
routineReference | Google.Apis.Bigquery.v2.Data.RoutineReference A fully-qualified identifier for the routine. Must not be null. |
options |
|