Back to Devexpress

TdxCloudStorageGoogleDriveProvider Class

vcl-dxcloudstoragegoogledriveprovider.md

latest4.0 KB
Original Source

TdxCloudStorageGoogleDriveProvider Class

An online file provider that can work with the Google Drive file storage service.

Declaration

delphi
TdxCloudStorageGoogleDriveProvider = class(
    TdxCloudStorageOAuth2Provider
)

Remarks

This class implements the file data access and synchronization functionality via Google APIs. To authenticate and authorize the file data provider in an online account, you need to associate the provider with a properly configured Google API-compatible authorization agent component by assigning it to the AuthorizationAgent property.

The TdxCloudStorageGoogleDriveProvider class provides the following members that allow you to:

To create a Google Drive file data provider for the cloud storage component, assign the TdxCloudStorageGoogleDriveProvider class name to its ProviderClassName property. The newly created data provider is accessible via the component’s Provider property as a TdxCloudStorageProvider object.

Note

A Google Drive file data provider can access the content of the “Recent”, “Shared with me”, “Starred”, and “Trash” special folders.

Inheritance

TObject TPersistent TInterfacedPersistent TcxInterfacedPersistent TdxCloudStorageProvider TdxCloudStorageOAuth2Provider TdxCloudStorageGoogleDriveProvider

See Also

TdxCloudStorageGoogleDriveProvider Members

dxCloudStorageGoogleDriveProvider Unit