Class GoogleDriveStorageClient
Namespace: FastReport.Olap.Cloud.StorageClient.GoogleDrive
Assembly: FastCube.Core.dll
Implementation of cloud storage client for google drive.
public class GoogleDriveStorageClient : CloudStorageClient
Inheritance
object ← CloudStorageClient ← GoogleDriveStorageClient
Inherited Members
CloudStorageClient.IsUserAuthorized, CloudStorageClient.ProxySettings, CloudStorageClient.Filename, CloudStorageClient.SaveCube(Cube, ExportBase), CloudStorageClient.SaveSlice(Slice, ExportBase), CloudStorageClient.SaveStream(Stream, string), CloudStorageClient.CreateMemoryStream(Stream), CloudStorageClient.PrepareToSave(Cube, Slice, ExportBase), CloudStorageClient.SaveMemoryStream(MemoryStream)
Constructors
GoogleDriveStorageClient()
Initializes a new instance of the FastReport.Olap.Cloud.StorageClient.GoogleDrive.GoogleDriveStorageClient class.
public GoogleDriveStorageClient()
GoogleDriveStorageClient(ClientInfo)
Initializes a new instance of the FastReport.Olap.Cloud.StorageClient.GoogleDrive.GoogleDriveStorageClient class.
public GoogleDriveStorageClient(ClientInfo clientInfo)
Parameters
clientInfo ClientInfo
The storage client info.
GoogleDriveStorageClient(string, string)
Initializes a new instance of the FastReport.Olap.Cloud.StorageClient.GoogleDrive.GoogleDriveStorageClient class.
public GoogleDriveStorageClient(string clientId, string clientSecret)
Parameters
clientId string
Client ID.
clientSecret string
Client Secret.
Properties
AccessToken
Gets or sets the access token.
public string AccessToken { get; set; }
Property Value
AuthCode
Gets or sets the authorization code.
public string AuthCode { get; set; }
Property Value
ClientInfo
Gets or sets the client info.
public ClientInfo ClientInfo { get; set; }
Property Value
Methods
GetAccessToken()
Gets the access token.
public string GetAccessToken()
Returns
The access token string.
GetAuthorizationUrl()
Gets the authorization URL.
public string GetAuthorizationUrl()
Returns
The authorization URL stirng.
SaveMemoryStream(MemoryStream)
Saves a memory stream to cloud.
protected override void SaveMemoryStream(MemoryStream ms)
Parameters
ms MemoryStream
The memory stream that should be saved.