Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const DriveAppdataScope + const DriveFileScope + const DriveMetadataReadonlyScope + const DriveMetadataScope + const DrivePhotosReadonlyScope + const DriveReadonlyScope + const DriveScope + const DriveScriptsScope + type About struct + AppInstalled bool + CanCreateDrives bool + CanCreateTeamDrives bool + DriveThemes []*AboutDriveThemes + ExportFormats map[string][]string + FolderColorPalette []string + ForceSendFields []string + ImportFormats map[string][]string + Kind string + MaxImportSizes map[string]string + MaxUploadSize int64 + NullFields []string + StorageQuota *AboutStorageQuota + TeamDriveThemes []*AboutTeamDriveThemes + User *User + func (s *About) MarshalJSON() ([]byte, error) + type AboutDriveThemes struct + BackgroundImageLink string + ColorRgb string + ForceSendFields []string + Id string + NullFields []string + func (s *AboutDriveThemes) MarshalJSON() ([]byte, error) + type AboutGetCall struct + func (c *AboutGetCall) Context(ctx context.Context) *AboutGetCall + func (c *AboutGetCall) Do(opts ...googleapi.CallOption) (*About, error) + func (c *AboutGetCall) Fields(s ...googleapi.Field) *AboutGetCall + func (c *AboutGetCall) Header() http.Header + func (c *AboutGetCall) IfNoneMatch(entityTag string) *AboutGetCall + type AboutService struct + func NewAboutService(s *Service) *AboutService + func (r *AboutService) Get() *AboutGetCall + type AboutStorageQuota struct + ForceSendFields []string + Limit int64 + NullFields []string + Usage int64 + UsageInDrive int64 + UsageInDriveTrash int64 + func (s *AboutStorageQuota) MarshalJSON() ([]byte, error) + type AboutTeamDriveThemes struct + BackgroundImageLink string + ColorRgb string + ForceSendFields []string + Id string + NullFields []string + func (s *AboutTeamDriveThemes) MarshalJSON() ([]byte, error) + type Change struct + ChangeType string + Drive *Drive + DriveId string + File *File + FileId string + ForceSendFields []string + Kind string + NullFields []string + Removed bool + TeamDrive *TeamDrive + TeamDriveId string + Time string + Type string + func (s *Change) MarshalJSON() ([]byte, error) + type ChangeList struct + Changes []*Change + ForceSendFields []string + Kind string + NewStartPageToken string + NextPageToken string + NullFields []string + func (s *ChangeList) MarshalJSON() ([]byte, error) + type ChangesGetStartPageTokenCall struct + func (c *ChangesGetStartPageTokenCall) Context(ctx context.Context) *ChangesGetStartPageTokenCall + func (c *ChangesGetStartPageTokenCall) Do(opts ...googleapi.CallOption) (*StartPageToken, error) + func (c *ChangesGetStartPageTokenCall) DriveId(driveId string) *ChangesGetStartPageTokenCall + func (c *ChangesGetStartPageTokenCall) Fields(s ...googleapi.Field) *ChangesGetStartPageTokenCall + func (c *ChangesGetStartPageTokenCall) Header() http.Header + func (c *ChangesGetStartPageTokenCall) IfNoneMatch(entityTag string) *ChangesGetStartPageTokenCall + func (c *ChangesGetStartPageTokenCall) SupportsAllDrives(supportsAllDrives bool) *ChangesGetStartPageTokenCall + func (c *ChangesGetStartPageTokenCall) SupportsTeamDrives(supportsTeamDrives bool) *ChangesGetStartPageTokenCall + func (c *ChangesGetStartPageTokenCall) TeamDriveId(teamDriveId string) *ChangesGetStartPageTokenCall + type ChangesListCall struct + func (c *ChangesListCall) Context(ctx context.Context) *ChangesListCall + func (c *ChangesListCall) Do(opts ...googleapi.CallOption) (*ChangeList, error) + func (c *ChangesListCall) DriveId(driveId string) *ChangesListCall + func (c *ChangesListCall) Fields(s ...googleapi.Field) *ChangesListCall + func (c *ChangesListCall) Header() http.Header + func (c *ChangesListCall) IfNoneMatch(entityTag string) *ChangesListCall + func (c *ChangesListCall) IncludeCorpusRemovals(includeCorpusRemovals bool) *ChangesListCall + func (c *ChangesListCall) IncludeItemsFromAllDrives(includeItemsFromAllDrives bool) *ChangesListCall + func (c *ChangesListCall) IncludePermissionsForView(includePermissionsForView string) *ChangesListCall + func (c *ChangesListCall) IncludeRemoved(includeRemoved bool) *ChangesListCall + func (c *ChangesListCall) IncludeTeamDriveItems(includeTeamDriveItems bool) *ChangesListCall + func (c *ChangesListCall) PageSize(pageSize int64) *ChangesListCall + func (c *ChangesListCall) RestrictToMyDrive(restrictToMyDrive bool) *ChangesListCall + func (c *ChangesListCall) Spaces(spaces string) *ChangesListCall + func (c *ChangesListCall) SupportsAllDrives(supportsAllDrives bool) *ChangesListCall + func (c *ChangesListCall) SupportsTeamDrives(supportsTeamDrives bool) *ChangesListCall + func (c *ChangesListCall) TeamDriveId(teamDriveId string) *ChangesListCall + type ChangesService struct + func NewChangesService(s *Service) *ChangesService + func (r *ChangesService) GetStartPageToken() *ChangesGetStartPageTokenCall + func (r *ChangesService) List(pageToken string) *ChangesListCall + func (r *ChangesService) Watch(pageToken string, channel *Channel) *ChangesWatchCall + type ChangesWatchCall struct + func (c *ChangesWatchCall) Context(ctx context.Context) *ChangesWatchCall + func (c *ChangesWatchCall) Do(opts ...googleapi.CallOption) (*Channel, error) + func (c *ChangesWatchCall) DriveId(driveId string) *ChangesWatchCall + func (c *ChangesWatchCall) Fields(s ...googleapi.Field) *ChangesWatchCall + func (c *ChangesWatchCall) Header() http.Header + func (c *ChangesWatchCall) IncludeCorpusRemovals(includeCorpusRemovals bool) *ChangesWatchCall + func (c *ChangesWatchCall) IncludeItemsFromAllDrives(includeItemsFromAllDrives bool) *ChangesWatchCall + func (c *ChangesWatchCall) IncludePermissionsForView(includePermissionsForView string) *ChangesWatchCall + func (c *ChangesWatchCall) IncludeRemoved(includeRemoved bool) *ChangesWatchCall + func (c *ChangesWatchCall) IncludeTeamDriveItems(includeTeamDriveItems bool) *ChangesWatchCall + func (c *ChangesWatchCall) PageSize(pageSize int64) *ChangesWatchCall + func (c *ChangesWatchCall) RestrictToMyDrive(restrictToMyDrive bool) *ChangesWatchCall + func (c *ChangesWatchCall) Spaces(spaces string) *ChangesWatchCall + func (c *ChangesWatchCall) SupportsAllDrives(supportsAllDrives bool) *ChangesWatchCall + func (c *ChangesWatchCall) SupportsTeamDrives(supportsTeamDrives bool) *ChangesWatchCall + func (c *ChangesWatchCall) TeamDriveId(teamDriveId string) *ChangesWatchCall + type Channel struct + Address string + Expiration int64 + ForceSendFields []string + Id string + Kind string + NullFields []string + Params map[string]string + Payload bool + ResourceId string + ResourceUri string + Token string + Type string + func (s *Channel) MarshalJSON() ([]byte, error) + type ChannelsService struct + func NewChannelsService(s *Service) *ChannelsService + func (r *ChannelsService) Stop(channel *Channel) *ChannelsStopCall + type ChannelsStopCall struct + func (c *ChannelsStopCall) Context(ctx context.Context) *ChannelsStopCall + func (c *ChannelsStopCall) Do(opts ...googleapi.CallOption) error + func (c *ChannelsStopCall) Fields(s ...googleapi.Field) *ChannelsStopCall + func (c *ChannelsStopCall) Header() http.Header + type Comment struct + Anchor string + Author *User + Content string + CreatedTime string + Deleted bool + ForceSendFields []string + HtmlContent string + Id string + Kind string + ModifiedTime string + NullFields []string + QuotedFileContent *CommentQuotedFileContent + Replies []*Reply + Resolved bool + func (s *Comment) MarshalJSON() ([]byte, error) + type CommentList struct + Comments []*Comment + ForceSendFields []string + Kind string + NextPageToken string + NullFields []string + func (s *CommentList) MarshalJSON() ([]byte, error) + type CommentQuotedFileContent struct + ForceSendFields []string + MimeType string + NullFields []string + Value string + func (s *CommentQuotedFileContent) MarshalJSON() ([]byte, error) + type CommentsCreateCall struct + func (c *CommentsCreateCall) Context(ctx context.Context) *CommentsCreateCall + func (c *CommentsCreateCall) Do(opts ...googleapi.CallOption) (*Comment, error) + func (c *CommentsCreateCall) Fields(s ...googleapi.Field) *CommentsCreateCall + func (c *CommentsCreateCall) Header() http.Header + type CommentsDeleteCall struct + func (c *CommentsDeleteCall) Context(ctx context.Context) *CommentsDeleteCall + func (c *CommentsDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *CommentsDeleteCall) Fields(s ...googleapi.Field) *CommentsDeleteCall + func (c *CommentsDeleteCall) Header() http.Header + type CommentsGetCall struct + func (c *CommentsGetCall) Context(ctx context.Context) *CommentsGetCall + func (c *CommentsGetCall) Do(opts ...googleapi.CallOption) (*Comment, error) + func (c *CommentsGetCall) Fields(s ...googleapi.Field) *CommentsGetCall + func (c *CommentsGetCall) Header() http.Header + func (c *CommentsGetCall) IfNoneMatch(entityTag string) *CommentsGetCall + func (c *CommentsGetCall) IncludeDeleted(includeDeleted bool) *CommentsGetCall + type CommentsListCall struct + func (c *CommentsListCall) Context(ctx context.Context) *CommentsListCall + func (c *CommentsListCall) Do(opts ...googleapi.CallOption) (*CommentList, error) + func (c *CommentsListCall) Fields(s ...googleapi.Field) *CommentsListCall + func (c *CommentsListCall) Header() http.Header + func (c *CommentsListCall) IfNoneMatch(entityTag string) *CommentsListCall + func (c *CommentsListCall) IncludeDeleted(includeDeleted bool) *CommentsListCall + func (c *CommentsListCall) PageSize(pageSize int64) *CommentsListCall + func (c *CommentsListCall) PageToken(pageToken string) *CommentsListCall + func (c *CommentsListCall) Pages(ctx context.Context, f func(*CommentList) error) error + func (c *CommentsListCall) StartModifiedTime(startModifiedTime string) *CommentsListCall + type CommentsService struct + func NewCommentsService(s *Service) *CommentsService + func (r *CommentsService) Create(fileId string, comment *Comment) *CommentsCreateCall + func (r *CommentsService) Delete(fileId string, commentId string) *CommentsDeleteCall + func (r *CommentsService) Get(fileId string, commentId string) *CommentsGetCall + func (r *CommentsService) List(fileId string) *CommentsListCall + func (r *CommentsService) Update(fileId string, commentId string, comment *Comment) *CommentsUpdateCall + type CommentsUpdateCall struct + func (c *CommentsUpdateCall) Context(ctx context.Context) *CommentsUpdateCall + func (c *CommentsUpdateCall) Do(opts ...googleapi.CallOption) (*Comment, error) + func (c *CommentsUpdateCall) Fields(s ...googleapi.Field) *CommentsUpdateCall + func (c *CommentsUpdateCall) Header() http.Header + type ContentRestriction struct + ForceSendFields []string + NullFields []string + ReadOnly bool + Reason string + RestrictingUser *User + RestrictionTime string + Type string + func (s *ContentRestriction) MarshalJSON() ([]byte, error) + type Drive struct + BackgroundImageFile *DriveBackgroundImageFile + BackgroundImageLink string + Capabilities *DriveCapabilities + ColorRgb string + CreatedTime string + ForceSendFields []string + Hidden bool + Id string + Kind string + Name string + NullFields []string + Restrictions *DriveRestrictions + ThemeId string + func (s *Drive) MarshalJSON() ([]byte, error) + type DriveBackgroundImageFile struct + ForceSendFields []string + Id string + NullFields []string + Width float64 + XCoordinate float64 + YCoordinate float64 + func (s *DriveBackgroundImageFile) MarshalJSON() ([]byte, error) + func (s *DriveBackgroundImageFile) UnmarshalJSON(data []byte) error + type DriveCapabilities struct + CanAddChildren bool + CanChangeCopyRequiresWriterPermissionRestriction bool + CanChangeDomainUsersOnlyRestriction bool + CanChangeDriveBackground bool + CanChangeDriveMembersOnlyRestriction bool + CanComment bool + CanCopy bool + CanDeleteChildren bool + CanDeleteDrive bool + CanDownload bool + CanEdit bool + CanListChildren bool + CanManageMembers bool + CanReadRevisions bool + CanRename bool + CanRenameDrive bool + CanShare bool + CanTrashChildren bool + ForceSendFields []string + NullFields []string + func (s *DriveCapabilities) MarshalJSON() ([]byte, error) + type DriveList struct + Drives []*Drive + ForceSendFields []string + Kind string + NextPageToken string + NullFields []string + func (s *DriveList) MarshalJSON() ([]byte, error) + type DriveRestrictions struct + AdminManagedRestrictions bool + CopyRequiresWriterPermission bool + DomainUsersOnly bool + DriveMembersOnly bool + ForceSendFields []string + NullFields []string + func (s *DriveRestrictions) MarshalJSON() ([]byte, error) + type DrivesCreateCall struct + func (c *DrivesCreateCall) Context(ctx context.Context) *DrivesCreateCall + func (c *DrivesCreateCall) Do(opts ...googleapi.CallOption) (*Drive, error) + func (c *DrivesCreateCall) Fields(s ...googleapi.Field) *DrivesCreateCall + func (c *DrivesCreateCall) Header() http.Header + type DrivesDeleteCall struct + func (c *DrivesDeleteCall) Context(ctx context.Context) *DrivesDeleteCall + func (c *DrivesDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *DrivesDeleteCall) Fields(s ...googleapi.Field) *DrivesDeleteCall + func (c *DrivesDeleteCall) Header() http.Header + type DrivesGetCall struct + func (c *DrivesGetCall) Context(ctx context.Context) *DrivesGetCall + func (c *DrivesGetCall) Do(opts ...googleapi.CallOption) (*Drive, error) + func (c *DrivesGetCall) Fields(s ...googleapi.Field) *DrivesGetCall + func (c *DrivesGetCall) Header() http.Header + func (c *DrivesGetCall) IfNoneMatch(entityTag string) *DrivesGetCall + func (c *DrivesGetCall) UseDomainAdminAccess(useDomainAdminAccess bool) *DrivesGetCall + type DrivesHideCall struct + func (c *DrivesHideCall) Context(ctx context.Context) *DrivesHideCall + func (c *DrivesHideCall) Do(opts ...googleapi.CallOption) (*Drive, error) + func (c *DrivesHideCall) Fields(s ...googleapi.Field) *DrivesHideCall + func (c *DrivesHideCall) Header() http.Header + type DrivesListCall struct + func (c *DrivesListCall) Context(ctx context.Context) *DrivesListCall + func (c *DrivesListCall) Do(opts ...googleapi.CallOption) (*DriveList, error) + func (c *DrivesListCall) Fields(s ...googleapi.Field) *DrivesListCall + func (c *DrivesListCall) Header() http.Header + func (c *DrivesListCall) IfNoneMatch(entityTag string) *DrivesListCall + func (c *DrivesListCall) PageSize(pageSize int64) *DrivesListCall + func (c *DrivesListCall) PageToken(pageToken string) *DrivesListCall + func (c *DrivesListCall) Pages(ctx context.Context, f func(*DriveList) error) error + func (c *DrivesListCall) Q(q string) *DrivesListCall + func (c *DrivesListCall) UseDomainAdminAccess(useDomainAdminAccess bool) *DrivesListCall + type DrivesService struct + func NewDrivesService(s *Service) *DrivesService + func (r *DrivesService) Create(requestId string, drive *Drive) *DrivesCreateCall + func (r *DrivesService) Delete(driveId string) *DrivesDeleteCall + func (r *DrivesService) Get(driveId string) *DrivesGetCall + func (r *DrivesService) Hide(driveId string) *DrivesHideCall + func (r *DrivesService) List() *DrivesListCall + func (r *DrivesService) Unhide(driveId string) *DrivesUnhideCall + func (r *DrivesService) Update(driveId string, drive *Drive) *DrivesUpdateCall + type DrivesUnhideCall struct + func (c *DrivesUnhideCall) Context(ctx context.Context) *DrivesUnhideCall + func (c *DrivesUnhideCall) Do(opts ...googleapi.CallOption) (*Drive, error) + func (c *DrivesUnhideCall) Fields(s ...googleapi.Field) *DrivesUnhideCall + func (c *DrivesUnhideCall) Header() http.Header + type DrivesUpdateCall struct + func (c *DrivesUpdateCall) Context(ctx context.Context) *DrivesUpdateCall + func (c *DrivesUpdateCall) Do(opts ...googleapi.CallOption) (*Drive, error) + func (c *DrivesUpdateCall) Fields(s ...googleapi.Field) *DrivesUpdateCall + func (c *DrivesUpdateCall) Header() http.Header + func (c *DrivesUpdateCall) UseDomainAdminAccess(useDomainAdminAccess bool) *DrivesUpdateCall + type File struct + AppProperties map[string]string + Capabilities *FileCapabilities + ContentHints *FileContentHints + ContentRestrictions []*ContentRestriction + CopyRequiresWriterPermission bool + CreatedTime string + Description string + DriveId string + ExplicitlyTrashed bool + ExportLinks map[string]string + FileExtension string + FolderColorRgb string + ForceSendFields []string + FullFileExtension string + HasAugmentedPermissions bool + HasThumbnail bool + HeadRevisionId string + IconLink string + Id string + ImageMediaMetadata *FileImageMediaMetadata + IsAppAuthorized bool + Kind string + LastModifyingUser *User + Md5Checksum string + MimeType string + ModifiedByMe bool + ModifiedByMeTime string + ModifiedTime string + Name string + NullFields []string + OriginalFilename string + OwnedByMe bool + Owners []*User + Parents []string + PermissionIds []string + Permissions []*Permission + Properties map[string]string + QuotaBytesUsed int64 + Shared bool + SharedWithMeTime string + SharingUser *User + ShortcutDetails *FileShortcutDetails + Size int64 + Spaces []string + Starred bool + TeamDriveId string + ThumbnailLink string + ThumbnailVersion int64 + Trashed bool + TrashedTime string + TrashingUser *User + Version int64 + VideoMediaMetadata *FileVideoMediaMetadata + ViewedByMe bool + ViewedByMeTime string + ViewersCanCopyContent bool + WebContentLink string + WebViewLink string + WritersCanShare bool + func (s *File) MarshalJSON() ([]byte, error) + type FileCapabilities struct + CanAddChildren bool + CanAddFolderFromAnotherDrive bool + CanAddMyDriveParent bool + CanChangeCopyRequiresWriterPermission bool + CanChangeViewersCanCopyContent bool + CanComment bool + CanCopy bool + CanDelete bool + CanDeleteChildren bool + CanDownload bool + CanEdit bool + CanListChildren bool + CanModifyContent bool + CanModifyContentRestriction bool + CanMoveChildrenOutOfDrive bool + CanMoveChildrenOutOfTeamDrive bool + CanMoveChildrenWithinDrive bool + CanMoveChildrenWithinTeamDrive bool + CanMoveItemIntoTeamDrive bool + CanMoveItemOutOfDrive bool + CanMoveItemOutOfTeamDrive bool + CanMoveItemWithinDrive bool + CanMoveItemWithinTeamDrive bool + CanMoveTeamDriveItem bool + CanReadDrive bool + CanReadRevisions bool + CanReadTeamDrive bool + CanRemoveChildren bool + CanRemoveMyDriveParent bool + CanRename bool + CanShare bool + CanTrash bool + CanTrashChildren bool + CanUntrash bool + ForceSendFields []string + NullFields []string + func (s *FileCapabilities) MarshalJSON() ([]byte, error) + type FileContentHints struct + ForceSendFields []string + IndexableText string + NullFields []string + Thumbnail *FileContentHintsThumbnail + func (s *FileContentHints) MarshalJSON() ([]byte, error) + type FileContentHintsThumbnail struct + ForceSendFields []string + Image string + MimeType string + NullFields []string + func (s *FileContentHintsThumbnail) MarshalJSON() ([]byte, error) + type FileImageMediaMetadata struct + Aperture float64 + CameraMake string + CameraModel string + ColorSpace string + ExposureBias float64 + ExposureMode string + ExposureTime float64 + FlashUsed bool + FocalLength float64 + ForceSendFields []string + Height int64 + IsoSpeed int64 + Lens string + Location *FileImageMediaMetadataLocation + MaxApertureValue float64 + MeteringMode string + NullFields []string + Rotation int64 + Sensor string + SubjectDistance int64 + Time string + WhiteBalance string + Width int64 + func (s *FileImageMediaMetadata) MarshalJSON() ([]byte, error) + func (s *FileImageMediaMetadata) UnmarshalJSON(data []byte) error + type FileImageMediaMetadataLocation struct + Altitude float64 + ForceSendFields []string + Latitude float64 + Longitude float64 + NullFields []string + func (s *FileImageMediaMetadataLocation) MarshalJSON() ([]byte, error) + func (s *FileImageMediaMetadataLocation) UnmarshalJSON(data []byte) error + type FileList struct + Files []*File + ForceSendFields []string + IncompleteSearch bool + Kind string + NextPageToken string + NullFields []string + func (s *FileList) MarshalJSON() ([]byte, error) + type FileShortcutDetails struct + ForceSendFields []string + NullFields []string + TargetId string + TargetMimeType string + func (s *FileShortcutDetails) MarshalJSON() ([]byte, error) + type FileVideoMediaMetadata struct + DurationMillis int64 + ForceSendFields []string + Height int64 + NullFields []string + Width int64 + func (s *FileVideoMediaMetadata) MarshalJSON() ([]byte, error) + type FilesCopyCall struct + func (c *FilesCopyCall) Context(ctx context.Context) *FilesCopyCall + func (c *FilesCopyCall) Do(opts ...googleapi.CallOption) (*File, error) + func (c *FilesCopyCall) EnforceSingleParent(enforceSingleParent bool) *FilesCopyCall + func (c *FilesCopyCall) Fields(s ...googleapi.Field) *FilesCopyCall + func (c *FilesCopyCall) Header() http.Header + func (c *FilesCopyCall) IgnoreDefaultVisibility(ignoreDefaultVisibility bool) *FilesCopyCall + func (c *FilesCopyCall) IncludePermissionsForView(includePermissionsForView string) *FilesCopyCall + func (c *FilesCopyCall) KeepRevisionForever(keepRevisionForever bool) *FilesCopyCall + func (c *FilesCopyCall) OcrLanguage(ocrLanguage string) *FilesCopyCall + func (c *FilesCopyCall) SupportsAllDrives(supportsAllDrives bool) *FilesCopyCall + func (c *FilesCopyCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesCopyCall + type FilesCreateCall struct + func (c *FilesCreateCall) Context(ctx context.Context) *FilesCreateCall + func (c *FilesCreateCall) Do(opts ...googleapi.CallOption) (*File, error) + func (c *FilesCreateCall) EnforceSingleParent(enforceSingleParent bool) *FilesCreateCall + func (c *FilesCreateCall) Fields(s ...googleapi.Field) *FilesCreateCall + func (c *FilesCreateCall) Header() http.Header + func (c *FilesCreateCall) IgnoreDefaultVisibility(ignoreDefaultVisibility bool) *FilesCreateCall + func (c *FilesCreateCall) IncludePermissionsForView(includePermissionsForView string) *FilesCreateCall + func (c *FilesCreateCall) KeepRevisionForever(keepRevisionForever bool) *FilesCreateCall + func (c *FilesCreateCall) Media(r io.Reader, options ...googleapi.MediaOption) *FilesCreateCall + func (c *FilesCreateCall) OcrLanguage(ocrLanguage string) *FilesCreateCall + func (c *FilesCreateCall) ProgressUpdater(pu googleapi.ProgressUpdater) *FilesCreateCall + func (c *FilesCreateCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *FilesCreateCall + func (c *FilesCreateCall) SupportsAllDrives(supportsAllDrives bool) *FilesCreateCall + func (c *FilesCreateCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesCreateCall + func (c *FilesCreateCall) UseContentAsIndexableText(useContentAsIndexableText bool) *FilesCreateCall + type FilesDeleteCall struct + func (c *FilesDeleteCall) Context(ctx context.Context) *FilesDeleteCall + func (c *FilesDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *FilesDeleteCall) EnforceSingleParent(enforceSingleParent bool) *FilesDeleteCall + func (c *FilesDeleteCall) Fields(s ...googleapi.Field) *FilesDeleteCall + func (c *FilesDeleteCall) Header() http.Header + func (c *FilesDeleteCall) SupportsAllDrives(supportsAllDrives bool) *FilesDeleteCall + func (c *FilesDeleteCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesDeleteCall + type FilesEmptyTrashCall struct + func (c *FilesEmptyTrashCall) Context(ctx context.Context) *FilesEmptyTrashCall + func (c *FilesEmptyTrashCall) Do(opts ...googleapi.CallOption) error + func (c *FilesEmptyTrashCall) EnforceSingleParent(enforceSingleParent bool) *FilesEmptyTrashCall + func (c *FilesEmptyTrashCall) Fields(s ...googleapi.Field) *FilesEmptyTrashCall + func (c *FilesEmptyTrashCall) Header() http.Header + type FilesExportCall struct + func (c *FilesExportCall) Context(ctx context.Context) *FilesExportCall + func (c *FilesExportCall) Do(opts ...googleapi.CallOption) error + func (c *FilesExportCall) Download(opts ...googleapi.CallOption) (*http.Response, error) + func (c *FilesExportCall) Fields(s ...googleapi.Field) *FilesExportCall + func (c *FilesExportCall) Header() http.Header + func (c *FilesExportCall) IfNoneMatch(entityTag string) *FilesExportCall + type FilesGenerateIdsCall struct + func (c *FilesGenerateIdsCall) Context(ctx context.Context) *FilesGenerateIdsCall + func (c *FilesGenerateIdsCall) Count(count int64) *FilesGenerateIdsCall + func (c *FilesGenerateIdsCall) Do(opts ...googleapi.CallOption) (*GeneratedIds, error) + func (c *FilesGenerateIdsCall) Fields(s ...googleapi.Field) *FilesGenerateIdsCall + func (c *FilesGenerateIdsCall) Header() http.Header + func (c *FilesGenerateIdsCall) IfNoneMatch(entityTag string) *FilesGenerateIdsCall + func (c *FilesGenerateIdsCall) Space(space string) *FilesGenerateIdsCall + type FilesGetCall struct + func (c *FilesGetCall) AcknowledgeAbuse(acknowledgeAbuse bool) *FilesGetCall + func (c *FilesGetCall) Context(ctx context.Context) *FilesGetCall + func (c *FilesGetCall) Do(opts ...googleapi.CallOption) (*File, error) + func (c *FilesGetCall) Download(opts ...googleapi.CallOption) (*http.Response, error) + func (c *FilesGetCall) Fields(s ...googleapi.Field) *FilesGetCall + func (c *FilesGetCall) Header() http.Header + func (c *FilesGetCall) IfNoneMatch(entityTag string) *FilesGetCall + func (c *FilesGetCall) IncludePermissionsForView(includePermissionsForView string) *FilesGetCall + func (c *FilesGetCall) SupportsAllDrives(supportsAllDrives bool) *FilesGetCall + func (c *FilesGetCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesGetCall + type FilesListCall struct + func (c *FilesListCall) Context(ctx context.Context) *FilesListCall + func (c *FilesListCall) Corpora(corpora string) *FilesListCall + func (c *FilesListCall) Corpus(corpus string) *FilesListCall + func (c *FilesListCall) Do(opts ...googleapi.CallOption) (*FileList, error) + func (c *FilesListCall) DriveId(driveId string) *FilesListCall + func (c *FilesListCall) Fields(s ...googleapi.Field) *FilesListCall + func (c *FilesListCall) Header() http.Header + func (c *FilesListCall) IfNoneMatch(entityTag string) *FilesListCall + func (c *FilesListCall) IncludeItemsFromAllDrives(includeItemsFromAllDrives bool) *FilesListCall + func (c *FilesListCall) IncludePermissionsForView(includePermissionsForView string) *FilesListCall + func (c *FilesListCall) IncludeTeamDriveItems(includeTeamDriveItems bool) *FilesListCall + func (c *FilesListCall) OrderBy(orderBy string) *FilesListCall + func (c *FilesListCall) PageSize(pageSize int64) *FilesListCall + func (c *FilesListCall) PageToken(pageToken string) *FilesListCall + func (c *FilesListCall) Pages(ctx context.Context, f func(*FileList) error) error + func (c *FilesListCall) Q(q string) *FilesListCall + func (c *FilesListCall) Spaces(spaces string) *FilesListCall + func (c *FilesListCall) SupportsAllDrives(supportsAllDrives bool) *FilesListCall + func (c *FilesListCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesListCall + func (c *FilesListCall) TeamDriveId(teamDriveId string) *FilesListCall + type FilesService struct + func NewFilesService(s *Service) *FilesService + func (r *FilesService) Copy(fileId string, file *File) *FilesCopyCall + func (r *FilesService) Create(file *File) *FilesCreateCall + func (r *FilesService) Delete(fileId string) *FilesDeleteCall + func (r *FilesService) EmptyTrash() *FilesEmptyTrashCall + func (r *FilesService) Export(fileId string, mimeType string) *FilesExportCall + func (r *FilesService) GenerateIds() *FilesGenerateIdsCall + func (r *FilesService) Get(fileId string) *FilesGetCall + func (r *FilesService) List() *FilesListCall + func (r *FilesService) Update(fileId string, file *File) *FilesUpdateCall + func (r *FilesService) Watch(fileId string, channel *Channel) *FilesWatchCall + type FilesUpdateCall struct + func (c *FilesUpdateCall) AddParents(addParents string) *FilesUpdateCall + func (c *FilesUpdateCall) Context(ctx context.Context) *FilesUpdateCall + func (c *FilesUpdateCall) Do(opts ...googleapi.CallOption) (*File, error) + func (c *FilesUpdateCall) EnforceSingleParent(enforceSingleParent bool) *FilesUpdateCall + func (c *FilesUpdateCall) Fields(s ...googleapi.Field) *FilesUpdateCall + func (c *FilesUpdateCall) Header() http.Header + func (c *FilesUpdateCall) IncludePermissionsForView(includePermissionsForView string) *FilesUpdateCall + func (c *FilesUpdateCall) KeepRevisionForever(keepRevisionForever bool) *FilesUpdateCall + func (c *FilesUpdateCall) Media(r io.Reader, options ...googleapi.MediaOption) *FilesUpdateCall + func (c *FilesUpdateCall) OcrLanguage(ocrLanguage string) *FilesUpdateCall + func (c *FilesUpdateCall) ProgressUpdater(pu googleapi.ProgressUpdater) *FilesUpdateCall + func (c *FilesUpdateCall) RemoveParents(removeParents string) *FilesUpdateCall + func (c *FilesUpdateCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *FilesUpdateCall + func (c *FilesUpdateCall) SupportsAllDrives(supportsAllDrives bool) *FilesUpdateCall + func (c *FilesUpdateCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesUpdateCall + func (c *FilesUpdateCall) UseContentAsIndexableText(useContentAsIndexableText bool) *FilesUpdateCall + type FilesWatchCall struct + func (c *FilesWatchCall) AcknowledgeAbuse(acknowledgeAbuse bool) *FilesWatchCall + func (c *FilesWatchCall) Context(ctx context.Context) *FilesWatchCall + func (c *FilesWatchCall) Do(opts ...googleapi.CallOption) (*Channel, error) + func (c *FilesWatchCall) Download(opts ...googleapi.CallOption) (*http.Response, error) + func (c *FilesWatchCall) Fields(s ...googleapi.Field) *FilesWatchCall + func (c *FilesWatchCall) Header() http.Header + func (c *FilesWatchCall) IncludePermissionsForView(includePermissionsForView string) *FilesWatchCall + func (c *FilesWatchCall) SupportsAllDrives(supportsAllDrives bool) *FilesWatchCall + func (c *FilesWatchCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesWatchCall + type GeneratedIds struct + ForceSendFields []string + Ids []string + Kind string + NullFields []string + Space string + func (s *GeneratedIds) MarshalJSON() ([]byte, error) + type Permission struct + AllowFileDiscovery bool + Deleted bool + DisplayName string + Domain string + EmailAddress string + ExpirationTime string + ForceSendFields []string + Id string + Kind string + NullFields []string + PermissionDetails []*PermissionPermissionDetails + PhotoLink string + Role string + TeamDrivePermissionDetails []*PermissionTeamDrivePermissionDetails + Type string + View string + func (s *Permission) MarshalJSON() ([]byte, error) + type PermissionList struct + ForceSendFields []string + Kind string + NextPageToken string + NullFields []string + Permissions []*Permission + func (s *PermissionList) MarshalJSON() ([]byte, error) + type PermissionPermissionDetails struct + ForceSendFields []string + Inherited bool + InheritedFrom string + NullFields []string + PermissionType string + Role string + func (s *PermissionPermissionDetails) MarshalJSON() ([]byte, error) + type PermissionTeamDrivePermissionDetails struct + ForceSendFields []string + Inherited bool + InheritedFrom string + NullFields []string + Role string + TeamDrivePermissionType string + func (s *PermissionTeamDrivePermissionDetails) MarshalJSON() ([]byte, error) + type PermissionsCreateCall struct + func (c *PermissionsCreateCall) Context(ctx context.Context) *PermissionsCreateCall + func (c *PermissionsCreateCall) Do(opts ...googleapi.CallOption) (*Permission, error) + func (c *PermissionsCreateCall) EmailMessage(emailMessage string) *PermissionsCreateCall + func (c *PermissionsCreateCall) EnforceSingleParent(enforceSingleParent bool) *PermissionsCreateCall + func (c *PermissionsCreateCall) Fields(s ...googleapi.Field) *PermissionsCreateCall + func (c *PermissionsCreateCall) Header() http.Header + func (c *PermissionsCreateCall) MoveToNewOwnersRoot(moveToNewOwnersRoot bool) *PermissionsCreateCall + func (c *PermissionsCreateCall) SendNotificationEmail(sendNotificationEmail bool) *PermissionsCreateCall + func (c *PermissionsCreateCall) SupportsAllDrives(supportsAllDrives bool) *PermissionsCreateCall + func (c *PermissionsCreateCall) SupportsTeamDrives(supportsTeamDrives bool) *PermissionsCreateCall + func (c *PermissionsCreateCall) TransferOwnership(transferOwnership bool) *PermissionsCreateCall + func (c *PermissionsCreateCall) UseDomainAdminAccess(useDomainAdminAccess bool) *PermissionsCreateCall + type PermissionsDeleteCall struct + func (c *PermissionsDeleteCall) Context(ctx context.Context) *PermissionsDeleteCall + func (c *PermissionsDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *PermissionsDeleteCall) Fields(s ...googleapi.Field) *PermissionsDeleteCall + func (c *PermissionsDeleteCall) Header() http.Header + func (c *PermissionsDeleteCall) SupportsAllDrives(supportsAllDrives bool) *PermissionsDeleteCall + func (c *PermissionsDeleteCall) SupportsTeamDrives(supportsTeamDrives bool) *PermissionsDeleteCall + func (c *PermissionsDeleteCall) UseDomainAdminAccess(useDomainAdminAccess bool) *PermissionsDeleteCall + type PermissionsGetCall struct + func (c *PermissionsGetCall) Context(ctx context.Context) *PermissionsGetCall + func (c *PermissionsGetCall) Do(opts ...googleapi.CallOption) (*Permission, error) + func (c *PermissionsGetCall) Fields(s ...googleapi.Field) *PermissionsGetCall + func (c *PermissionsGetCall) Header() http.Header + func (c *PermissionsGetCall) IfNoneMatch(entityTag string) *PermissionsGetCall + func (c *PermissionsGetCall) SupportsAllDrives(supportsAllDrives bool) *PermissionsGetCall + func (c *PermissionsGetCall) SupportsTeamDrives(supportsTeamDrives bool) *PermissionsGetCall + func (c *PermissionsGetCall) UseDomainAdminAccess(useDomainAdminAccess bool) *PermissionsGetCall + type PermissionsListCall struct + func (c *PermissionsListCall) Context(ctx context.Context) *PermissionsListCall + func (c *PermissionsListCall) Do(opts ...googleapi.CallOption) (*PermissionList, error) + func (c *PermissionsListCall) Fields(s ...googleapi.Field) *PermissionsListCall + func (c *PermissionsListCall) Header() http.Header + func (c *PermissionsListCall) IfNoneMatch(entityTag string) *PermissionsListCall + func (c *PermissionsListCall) IncludePermissionsForView(includePermissionsForView string) *PermissionsListCall + func (c *PermissionsListCall) PageSize(pageSize int64) *PermissionsListCall + func (c *PermissionsListCall) PageToken(pageToken string) *PermissionsListCall + func (c *PermissionsListCall) Pages(ctx context.Context, f func(*PermissionList) error) error + func (c *PermissionsListCall) SupportsAllDrives(supportsAllDrives bool) *PermissionsListCall + func (c *PermissionsListCall) SupportsTeamDrives(supportsTeamDrives bool) *PermissionsListCall + func (c *PermissionsListCall) UseDomainAdminAccess(useDomainAdminAccess bool) *PermissionsListCall + type PermissionsService struct + func NewPermissionsService(s *Service) *PermissionsService + func (r *PermissionsService) Create(fileId string, permission *Permission) *PermissionsCreateCall + func (r *PermissionsService) Delete(fileId string, permissionId string) *PermissionsDeleteCall + func (r *PermissionsService) Get(fileId string, permissionId string) *PermissionsGetCall + func (r *PermissionsService) List(fileId string) *PermissionsListCall + func (r *PermissionsService) Update(fileId string, permissionId string, permission *Permission) *PermissionsUpdateCall + type PermissionsUpdateCall struct + func (c *PermissionsUpdateCall) Context(ctx context.Context) *PermissionsUpdateCall + func (c *PermissionsUpdateCall) Do(opts ...googleapi.CallOption) (*Permission, error) + func (c *PermissionsUpdateCall) Fields(s ...googleapi.Field) *PermissionsUpdateCall + func (c *PermissionsUpdateCall) Header() http.Header + func (c *PermissionsUpdateCall) RemoveExpiration(removeExpiration bool) *PermissionsUpdateCall + func (c *PermissionsUpdateCall) SupportsAllDrives(supportsAllDrives bool) *PermissionsUpdateCall + func (c *PermissionsUpdateCall) SupportsTeamDrives(supportsTeamDrives bool) *PermissionsUpdateCall + func (c *PermissionsUpdateCall) TransferOwnership(transferOwnership bool) *PermissionsUpdateCall + func (c *PermissionsUpdateCall) UseDomainAdminAccess(useDomainAdminAccess bool) *PermissionsUpdateCall + type RepliesCreateCall struct + func (c *RepliesCreateCall) Context(ctx context.Context) *RepliesCreateCall + func (c *RepliesCreateCall) Do(opts ...googleapi.CallOption) (*Reply, error) + func (c *RepliesCreateCall) Fields(s ...googleapi.Field) *RepliesCreateCall + func (c *RepliesCreateCall) Header() http.Header + type RepliesDeleteCall struct + func (c *RepliesDeleteCall) Context(ctx context.Context) *RepliesDeleteCall + func (c *RepliesDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *RepliesDeleteCall) Fields(s ...googleapi.Field) *RepliesDeleteCall + func (c *RepliesDeleteCall) Header() http.Header + type RepliesGetCall struct + func (c *RepliesGetCall) Context(ctx context.Context) *RepliesGetCall + func (c *RepliesGetCall) Do(opts ...googleapi.CallOption) (*Reply, error) + func (c *RepliesGetCall) Fields(s ...googleapi.Field) *RepliesGetCall + func (c *RepliesGetCall) Header() http.Header + func (c *RepliesGetCall) IfNoneMatch(entityTag string) *RepliesGetCall + func (c *RepliesGetCall) IncludeDeleted(includeDeleted bool) *RepliesGetCall + type RepliesListCall struct + func (c *RepliesListCall) Context(ctx context.Context) *RepliesListCall + func (c *RepliesListCall) Do(opts ...googleapi.CallOption) (*ReplyList, error) + func (c *RepliesListCall) Fields(s ...googleapi.Field) *RepliesListCall + func (c *RepliesListCall) Header() http.Header + func (c *RepliesListCall) IfNoneMatch(entityTag string) *RepliesListCall + func (c *RepliesListCall) IncludeDeleted(includeDeleted bool) *RepliesListCall + func (c *RepliesListCall) PageSize(pageSize int64) *RepliesListCall + func (c *RepliesListCall) PageToken(pageToken string) *RepliesListCall + func (c *RepliesListCall) Pages(ctx context.Context, f func(*ReplyList) error) error + type RepliesService struct + func NewRepliesService(s *Service) *RepliesService + func (r *RepliesService) Create(fileId string, commentId string, reply *Reply) *RepliesCreateCall + func (r *RepliesService) Delete(fileId string, commentId string, replyId string) *RepliesDeleteCall + func (r *RepliesService) Get(fileId string, commentId string, replyId string) *RepliesGetCall + func (r *RepliesService) List(fileId string, commentId string) *RepliesListCall + func (r *RepliesService) Update(fileId string, commentId string, replyId string, reply *Reply) *RepliesUpdateCall + type RepliesUpdateCall struct + func (c *RepliesUpdateCall) Context(ctx context.Context) *RepliesUpdateCall + func (c *RepliesUpdateCall) Do(opts ...googleapi.CallOption) (*Reply, error) + func (c *RepliesUpdateCall) Fields(s ...googleapi.Field) *RepliesUpdateCall + func (c *RepliesUpdateCall) Header() http.Header + type Reply struct + Action string + Author *User + Content string + CreatedTime string + Deleted bool + ForceSendFields []string + HtmlContent string + Id string + Kind string + ModifiedTime string + NullFields []string + func (s *Reply) MarshalJSON() ([]byte, error) + type ReplyList struct + ForceSendFields []string + Kind string + NextPageToken string + NullFields []string + Replies []*Reply + func (s *ReplyList) MarshalJSON() ([]byte, error) + type Revision struct + ExportLinks map[string]string + ForceSendFields []string + Id string + KeepForever bool + Kind string + LastModifyingUser *User + Md5Checksum string + MimeType string + ModifiedTime string + NullFields []string + OriginalFilename string + PublishAuto bool + Published bool + PublishedLink string + PublishedOutsideDomain bool + Size int64 + func (s *Revision) MarshalJSON() ([]byte, error) + type RevisionList struct + ForceSendFields []string + Kind string + NextPageToken string + NullFields []string + Revisions []*Revision + func (s *RevisionList) MarshalJSON() ([]byte, error) + type RevisionsDeleteCall struct + func (c *RevisionsDeleteCall) Context(ctx context.Context) *RevisionsDeleteCall + func (c *RevisionsDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *RevisionsDeleteCall) Fields(s ...googleapi.Field) *RevisionsDeleteCall + func (c *RevisionsDeleteCall) Header() http.Header + type RevisionsGetCall struct + func (c *RevisionsGetCall) AcknowledgeAbuse(acknowledgeAbuse bool) *RevisionsGetCall + func (c *RevisionsGetCall) Context(ctx context.Context) *RevisionsGetCall + func (c *RevisionsGetCall) Do(opts ...googleapi.CallOption) (*Revision, error) + func (c *RevisionsGetCall) Download(opts ...googleapi.CallOption) (*http.Response, error) + func (c *RevisionsGetCall) Fields(s ...googleapi.Field) *RevisionsGetCall + func (c *RevisionsGetCall) Header() http.Header + func (c *RevisionsGetCall) IfNoneMatch(entityTag string) *RevisionsGetCall + type RevisionsListCall struct + func (c *RevisionsListCall) Context(ctx context.Context) *RevisionsListCall + func (c *RevisionsListCall) Do(opts ...googleapi.CallOption) (*RevisionList, error) + func (c *RevisionsListCall) Fields(s ...googleapi.Field) *RevisionsListCall + func (c *RevisionsListCall) Header() http.Header + func (c *RevisionsListCall) IfNoneMatch(entityTag string) *RevisionsListCall + func (c *RevisionsListCall) PageSize(pageSize int64) *RevisionsListCall + func (c *RevisionsListCall) PageToken(pageToken string) *RevisionsListCall + func (c *RevisionsListCall) Pages(ctx context.Context, f func(*RevisionList) error) error + type RevisionsService struct + func NewRevisionsService(s *Service) *RevisionsService + func (r *RevisionsService) Delete(fileId string, revisionId string) *RevisionsDeleteCall + func (r *RevisionsService) Get(fileId string, revisionId string) *RevisionsGetCall + func (r *RevisionsService) List(fileId string) *RevisionsListCall + func (r *RevisionsService) Update(fileId string, revisionId string, revision *Revision) *RevisionsUpdateCall + type RevisionsUpdateCall struct + func (c *RevisionsUpdateCall) Context(ctx context.Context) *RevisionsUpdateCall + func (c *RevisionsUpdateCall) Do(opts ...googleapi.CallOption) (*Revision, error) + func (c *RevisionsUpdateCall) Fields(s ...googleapi.Field) *RevisionsUpdateCall + func (c *RevisionsUpdateCall) Header() http.Header + type Service struct + About *AboutService + BasePath string + Changes *ChangesService + Channels *ChannelsService + Comments *CommentsService + Drives *DrivesService + Files *FilesService + Permissions *PermissionsService + Replies *RepliesService + Revisions *RevisionsService + Teamdrives *TeamdrivesService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type StartPageToken struct + ForceSendFields []string + Kind string + NullFields []string + StartPageToken string + func (s *StartPageToken) MarshalJSON() ([]byte, error) + type TeamDrive struct + BackgroundImageFile *TeamDriveBackgroundImageFile + BackgroundImageLink string + Capabilities *TeamDriveCapabilities + ColorRgb string + CreatedTime string + ForceSendFields []string + Id string + Kind string + Name string + NullFields []string + Restrictions *TeamDriveRestrictions + ThemeId string + func (s *TeamDrive) MarshalJSON() ([]byte, error) + type TeamDriveBackgroundImageFile struct + ForceSendFields []string + Id string + NullFields []string + Width float64 + XCoordinate float64 + YCoordinate float64 + func (s *TeamDriveBackgroundImageFile) MarshalJSON() ([]byte, error) + func (s *TeamDriveBackgroundImageFile) UnmarshalJSON(data []byte) error + type TeamDriveCapabilities struct + CanAddChildren bool + CanChangeCopyRequiresWriterPermissionRestriction bool + CanChangeDomainUsersOnlyRestriction bool + CanChangeTeamDriveBackground bool + CanChangeTeamMembersOnlyRestriction bool + CanComment bool + CanCopy bool + CanDeleteChildren bool + CanDeleteTeamDrive bool + CanDownload bool + CanEdit bool + CanListChildren bool + CanManageMembers bool + CanReadRevisions bool + CanRemoveChildren bool + CanRename bool + CanRenameTeamDrive bool + CanShare bool + CanTrashChildren bool + ForceSendFields []string + NullFields []string + func (s *TeamDriveCapabilities) MarshalJSON() ([]byte, error) + type TeamDriveList struct + ForceSendFields []string + Kind string + NextPageToken string + NullFields []string + TeamDrives []*TeamDrive + func (s *TeamDriveList) MarshalJSON() ([]byte, error) + type TeamDriveRestrictions struct + AdminManagedRestrictions bool + CopyRequiresWriterPermission bool + DomainUsersOnly bool + ForceSendFields []string + NullFields []string + TeamMembersOnly bool + func (s *TeamDriveRestrictions) MarshalJSON() ([]byte, error) + type TeamdrivesCreateCall struct + func (c *TeamdrivesCreateCall) Context(ctx context.Context) *TeamdrivesCreateCall + func (c *TeamdrivesCreateCall) Do(opts ...googleapi.CallOption) (*TeamDrive, error) + func (c *TeamdrivesCreateCall) Fields(s ...googleapi.Field) *TeamdrivesCreateCall + func (c *TeamdrivesCreateCall) Header() http.Header + type TeamdrivesDeleteCall struct + func (c *TeamdrivesDeleteCall) Context(ctx context.Context) *TeamdrivesDeleteCall + func (c *TeamdrivesDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *TeamdrivesDeleteCall) Fields(s ...googleapi.Field) *TeamdrivesDeleteCall + func (c *TeamdrivesDeleteCall) Header() http.Header + type TeamdrivesGetCall struct + func (c *TeamdrivesGetCall) Context(ctx context.Context) *TeamdrivesGetCall + func (c *TeamdrivesGetCall) Do(opts ...googleapi.CallOption) (*TeamDrive, error) + func (c *TeamdrivesGetCall) Fields(s ...googleapi.Field) *TeamdrivesGetCall + func (c *TeamdrivesGetCall) Header() http.Header + func (c *TeamdrivesGetCall) IfNoneMatch(entityTag string) *TeamdrivesGetCall + func (c *TeamdrivesGetCall) UseDomainAdminAccess(useDomainAdminAccess bool) *TeamdrivesGetCall + type TeamdrivesListCall struct + func (c *TeamdrivesListCall) Context(ctx context.Context) *TeamdrivesListCall + func (c *TeamdrivesListCall) Do(opts ...googleapi.CallOption) (*TeamDriveList, error) + func (c *TeamdrivesListCall) Fields(s ...googleapi.Field) *TeamdrivesListCall + func (c *TeamdrivesListCall) Header() http.Header + func (c *TeamdrivesListCall) IfNoneMatch(entityTag string) *TeamdrivesListCall + func (c *TeamdrivesListCall) PageSize(pageSize int64) *TeamdrivesListCall + func (c *TeamdrivesListCall) PageToken(pageToken string) *TeamdrivesListCall + func (c *TeamdrivesListCall) Pages(ctx context.Context, f func(*TeamDriveList) error) error + func (c *TeamdrivesListCall) Q(q string) *TeamdrivesListCall + func (c *TeamdrivesListCall) UseDomainAdminAccess(useDomainAdminAccess bool) *TeamdrivesListCall + type TeamdrivesService struct + func NewTeamdrivesService(s *Service) *TeamdrivesService + func (r *TeamdrivesService) Create(requestId string, teamdrive *TeamDrive) *TeamdrivesCreateCall + func (r *TeamdrivesService) Delete(teamDriveId string) *TeamdrivesDeleteCall + func (r *TeamdrivesService) Get(teamDriveId string) *TeamdrivesGetCall + func (r *TeamdrivesService) List() *TeamdrivesListCall + func (r *TeamdrivesService) Update(teamDriveId string, teamdrive *TeamDrive) *TeamdrivesUpdateCall + type TeamdrivesUpdateCall struct + func (c *TeamdrivesUpdateCall) Context(ctx context.Context) *TeamdrivesUpdateCall + func (c *TeamdrivesUpdateCall) Do(opts ...googleapi.CallOption) (*TeamDrive, error) + func (c *TeamdrivesUpdateCall) Fields(s ...googleapi.Field) *TeamdrivesUpdateCall + func (c *TeamdrivesUpdateCall) Header() http.Header + func (c *TeamdrivesUpdateCall) UseDomainAdminAccess(useDomainAdminAccess bool) *TeamdrivesUpdateCall + type User struct + DisplayName string + EmailAddress string + ForceSendFields []string + Kind string + Me bool + NullFields []string + PermissionId string + PhotoLink string + func (s *User) MarshalJSON() ([]byte, error)