Skip to content

Commit e9e6a47

Browse files
committed
Binary breaking change: Adds missing CancellationToken parameter on BigQueryDataset.DeleteModelAsync.
1 parent 78db7f6 commit e9e6a47

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

β€Žapis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2/BigQueryDataset.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,10 +564,11 @@ public PagedAsyncEnumerable<ListModelsResponse, BigQueryModel> ListModelsAsync(L
564564
/// </summary>
565565
/// <param name="modelId">The model ID. Must not be null.</param>
566566
/// <param name="options">The options for the operation. May be null, in which case defaults will be supplied.</param>
567+
/// <param name="cancellationToken">The token to monitor for cancellation requests.</param>
567568
/// <returns>A task representing the asynchronous operation. When complete, the result is
568569
/// the requested table.</returns>
569-
public Task<BigQueryModel> GetModelAsync(string modelId, GetModelOptions options = null) =>
570-
_client.GetModelAsync(GetModelReference(modelId), options);
570+
public Task<BigQueryModel> GetModelAsync(string modelId, GetModelOptions options = null, CancellationToken cancellationToken = default) =>
571+
_client.GetModelAsync(GetModelReference(modelId), options, cancellationToken);
571572

572573
/// <summary>
573574
/// Asynchronously lists the routines within this dataset.

0 commit comments

Comments
 (0)