[]
        
(Showing Draft Content)

C1.Web.Api.Storage.CloudStorage.GoogleDriveStorage

GoogleDriveStorage Class

Google cloud storage

Inheritance
GoogleDriveStorage
Namespace: C1.Web.Api.Storage.CloudStorage
Assembly: C1.Web.Api.Cloud.dll
Syntax
public class GoogleDriveStorage : ICloudStorage, IFileStorage, IStorage

Constructors

Name Description
GoogleDriveStorage(string, UserCredential, string)

Constructor Google

GoogleDriveStorage(string, string, string, DriveService)

Constructor Google

Properties

Name Description
Exists

Exists property

ItemId

Google itemId of file

Name

File Name

Path

File Path

ReadOnly

ReadOnly property

Methods

Name Description
CreateFolder()

Create new folder with the specified path

Delete()

Deletes the file with the specified path.

List()

Gets all files and folders within the specified path.

MoveFile()

Move files from current path to destination path

Read()

Gets the file with the specified path.

Write(Stream)

Uploads file with the specified path.