Class ServiceConfig.Gdrive

java.lang.Object
org.apache.opendal.ServiceConfig.Gdrive
All Implemented Interfaces:
ServiceConfig
Enclosing interface:
ServiceConfig

public static class ServiceConfig.Gdrive extends Object implements ServiceConfig
Configuration for service gdrive.
  • Field Details

    • accessToken

      public final String accessToken

      Access token for gdrive.

    • clientId

      public final String clientId

      Client id for gdrive.

    • clientSecret

      public final String clientSecret

      Client secret for gdrive.

    • driveId

      public final String driveId

      Shared drive (formerly Team Drive) id for gdrive.

      When set, gdrive resolves root inside this shared drive instead of the user's My Drive.

    • refreshToken

      public final String refreshToken

      Refresh token for gdrive.

    • root

      public final String root

      The root for gdrive

  • Constructor Details

    • Gdrive

      public Gdrive()
  • Method Details