Class ServiceConfig.Onedrive
java.lang.Object
org.apache.opendal.ServiceConfig.Onedrive
- All Implemented Interfaces:
ServiceConfig
- Enclosing interface:
ServiceConfig
Configuration for service onedrive.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ServiceConfig
ServiceConfig.AliyunDrive, ServiceConfig.Alluxio, ServiceConfig.Azblob, ServiceConfig.Azdls, ServiceConfig.Azfile, ServiceConfig.B2, ServiceConfig.Cacache, ServiceConfig.CloudflareKv, ServiceConfig.Compfs, ServiceConfig.Cos, ServiceConfig.D1, ServiceConfig.Dashmap, ServiceConfig.Dbfs, ServiceConfig.Dropbox, ServiceConfig.Etcd, ServiceConfig.Foyer, ServiceConfig.Fs, ServiceConfig.Gcs, ServiceConfig.Gdrive, ServiceConfig.Ghac, ServiceConfig.Github, ServiceConfig.Goosefs, ServiceConfig.Gridfs, ServiceConfig.HdfsNative, ServiceConfig.Hf, ServiceConfig.Http, ServiceConfig.Ipfs, ServiceConfig.Ipmfs, ServiceConfig.Koofr, ServiceConfig.Lakefs, ServiceConfig.Memcached, ServiceConfig.Memory, ServiceConfig.MiniMoka, ServiceConfig.Moka, ServiceConfig.Mongodb, ServiceConfig.Monoiofs, ServiceConfig.Mysql, ServiceConfig.Obs, ServiceConfig.Onedrive, ServiceConfig.Opfs, ServiceConfig.Oss, ServiceConfig.Pcloud, ServiceConfig.Persy, ServiceConfig.Postgresql, ServiceConfig.Redb, ServiceConfig.Redis, ServiceConfig.S3, ServiceConfig.Seafile, ServiceConfig.Sftp, ServiceConfig.Sled, ServiceConfig.Sqlite, ServiceConfig.Surrealdb, ServiceConfig.Swift, ServiceConfig.Tos, ServiceConfig.Upyun, ServiceConfig.VercelArtifacts, ServiceConfig.VercelBlob, ServiceConfig.Webdav, ServiceConfig.Webhdfs, ServiceConfig.YandexDisk -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringMicrosoft Graph API (also OneDrive API) access tokenfinal StringMicrosoft Graph API Application (client) ID that is in the Azure's app registration portalfinal StringMicrosoft Graph API Application client secret that is in the Azure's app registration portalfinal BooleanDeprecated.OneDrive versioning capability is enabled by default and this option is no longer needed.final StringMicrosoft Graph API (also OneDrive API) refresh tokenfinal StringThe root path for the OneDrive service for the file access -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
accessToken
Microsoft Graph API (also OneDrive API) access token
-
clientId
Microsoft Graph API Application (client) ID that is in the Azure's app registration portal
-
clientSecret
Microsoft Graph API Application client secret that is in the Azure's app registration portal
-
enableVersioning
Deprecated.OneDrive versioning capability is enabled by default and this option is no longer needed.Deprecated: OneDrive versioning capability is enabled by default.
-
refreshToken
Microsoft Graph API (also OneDrive API) refresh token
-
root
The root path for the OneDrive service for the file access
-
-
Constructor Details
-
Onedrive
public Onedrive()
-
-
Method Details
-
scheme
Description copied from interface:ServiceConfigThe scheme of the service.- Specified by:
schemein interfaceServiceConfig- Returns:
- the scheme
-
configMap
Description copied from interface:ServiceConfigConvert the structured config to a type erased config map.- Specified by:
configMapin interfaceServiceConfig- Returns:
- the config map
-