Interface IFlowsApiClient
Interface for API client prep flow operations.
Inherited Members
Namespace: Tableau.Migration.Api
Assembly: Tableau.Migration.dll
Syntax
public interface IFlowsApiClient : IApiFilteredPageAccessor<IFlow>, IApiPageAccessor<IFlow>, IContentApiClient, INameSearchApiClient<IFlow>, IFilteredPagedListApiClient<IFlow>, IPagedListApiClient<IFlow>, IPullApiClient<IFlow, IPublishableFlow>, IPublishApiClient<IPublishableFlow, IFlow>
Methods
DownloadFlowAsync(Guid, CancellationToken)
Downloads the prep flow file for the given ID.
Declaration
Task<IAsyncDisposableResult<FileDownload>> DownloadFlowAsync(Guid flowId, CancellationToken cancel)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | flowId | The ID to download the flow file for. |
| CancellationToken | cancel | A cancellation token to obey. |
Returns
| Type | Description |
|---|---|
| Task<IAsyncDisposableResult<FileDownload>> | The file download result. |
PublishFlowAsync(IPublishFlowOptions, CancellationToken)
Uploads the input prep flow file.
Declaration
Task<IResult<IFlow>> PublishFlowAsync(IPublishFlowOptions options, CancellationToken cancel)
Parameters
| Type | Name | Description |
|---|---|---|
| IPublishFlowOptions | options | The new prep flows's details. |
| CancellationToken | cancel | A cancellation token to obey. |
Returns
| Type | Description |
|---|---|
| Task<IResult<IFlow>> | The published prep flow. |