Class GoogleDriveServiceProvider
The default implementation of the IGoogleDriveServiceProvider interface.
Implements
Inherited Members
Namespace: FubarDev.FtpServer.FileSystem.GoogleDrive
Assembly: FubarDev.FtpServer.FileSystem.GoogleDrive.dll
Syntax
public class GoogleDriveServiceProvider : IGoogleDriveServiceProvider
Constructors
| Improve this Doc View SourceGoogleDriveServiceProvider(DriveService)
Initializes a new instance of the GoogleDriveServiceProvider class.
Declaration
public GoogleDriveServiceProvider(DriveService driveService)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Drive.v3.DriveService | driveService | The Google Drive service. |
Methods
| Improve this Doc View SourceGetUserRootAsync(IAccountInformation, CancellationToken)
Declaration
public Task<(DriveService service, File rootEntry)> GetUserRootAsync(IAccountInformation accountInformation, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
IAccountInformation | accountInformation | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<ValueTuple<Google.Apis.Drive.v3.DriveService, Google.Apis.Drive.v3.Data.File>> |