Versions in this module Expand all Collapse all v3 v3.46.0 Jun 16, 2025 Changes in this version + type Addition struct + ChunkSize int64 + ClientID string + ClientSecret string + OrderBy string + OrderDirection string + RefreshToken string + type Error struct + Error struct{ ... } + type File struct + CreatedTime time.Time + Id string + MD5Checksum string + MimeType string + ModifiedTime time.Time + Name string + SHA1Checksum string + SHA256Checksum string + ShortcutDetails struct{ ... } + Size string + ThumbnailLink string + type Files struct + Files []File + NextPageToken string + type GoogleDrive struct + AccessToken string + ServiceAccountFile int + ServiceAccountFileList []string + func (d *GoogleDrive) Config() driver.Config + func (d *GoogleDrive) Copy(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *GoogleDrive) Drop(ctx context.Context) error + func (d *GoogleDrive) GetAddition() driver.Additional + func (d *GoogleDrive) Init(ctx context.Context) error + func (d *GoogleDrive) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) + func (d *GoogleDrive) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) + func (d *GoogleDrive) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) error + func (d *GoogleDrive) Move(ctx context.Context, srcObj, dstDir model.Obj) error + func (d *GoogleDrive) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) error + func (d *GoogleDrive) Remove(ctx context.Context, obj model.Obj) error + func (d *GoogleDrive) Rename(ctx context.Context, srcObj model.Obj, newName string) error + type TokenError struct + Error string + ErrorDescription string