Versions in this module Expand all Collapse all v0 v0.196.2 Sep 10, 2024 Changes in this version + const DriveAppdataScope + const DriveAppsReadonlyScope + const DriveFileScope + const DriveMeetReadonlyScope + const DriveMetadataReadonlyScope + const DriveMetadataScope + const DrivePhotosReadonlyScope + const DriveReadonlyScope + const DriveScope + const DriveScriptsScope + type About struct + AdditionalRoleInfo []*AboutAdditionalRoleInfo + CanCreateDrives bool + CanCreateTeamDrives bool + DomainSharingPolicy string + DriveThemes []*AboutDriveThemes + Etag string + ExportFormats []*AboutExportFormats + Features []*AboutFeatures + FolderColorPalette []string + ForceSendFields []string + ImportFormats []*AboutImportFormats + IsCurrentAppInstalled bool + Kind string + LanguageCode string + LargestChangeId int64 + MaxUploadSizes []*AboutMaxUploadSizes + Name string + NullFields []string + PermissionId string + QuotaBytesByService []*AboutQuotaBytesByService + QuotaBytesTotal int64 + QuotaBytesUsed int64 + QuotaBytesUsedAggregate int64 + QuotaBytesUsedInTrash int64 + QuotaType string + RemainingChangeIds int64 + RootFolderId string + SelfLink string + TeamDriveThemes []*AboutTeamDriveThemes + User *User + func (s About) MarshalJSON() ([]byte, error) + type AboutAdditionalRoleInfo struct + ForceSendFields []string + NullFields []string + RoleSets []*AboutAdditionalRoleInfoRoleSets + Type string + func (s AboutAdditionalRoleInfo) MarshalJSON() ([]byte, error) + type AboutAdditionalRoleInfoRoleSets struct + AdditionalRoles []string + ForceSendFields []string + NullFields []string + PrimaryRole string + func (s AboutAdditionalRoleInfoRoleSets) MarshalJSON() ([]byte, error) + type AboutDriveThemes struct + BackgroundImageLink string + ColorRgb string + ForceSendFields []string + Id string + NullFields []string + func (s AboutDriveThemes) MarshalJSON() ([]byte, error) + type AboutExportFormats struct + ForceSendFields []string + NullFields []string + Source string + Targets []string + func (s AboutExportFormats) MarshalJSON() ([]byte, error) + type AboutFeatures struct + FeatureName string + FeatureRate float64 + ForceSendFields []string + NullFields []string + func (s *AboutFeatures) UnmarshalJSON(data []byte) error + func (s AboutFeatures) 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 + func (c *AboutGetCall) IncludeSubscribed(includeSubscribed bool) *AboutGetCall + func (c *AboutGetCall) MaxChangeIdCount(maxChangeIdCount int64) *AboutGetCall + func (c *AboutGetCall) StartChangeId(startChangeId int64) *AboutGetCall + type AboutImportFormats struct + ForceSendFields []string + NullFields []string + Source string + Targets []string + func (s AboutImportFormats) MarshalJSON() ([]byte, error) + type AboutMaxUploadSizes struct + ForceSendFields []string + NullFields []string + Size int64 + Type string + func (s AboutMaxUploadSizes) MarshalJSON() ([]byte, error) + type AboutQuotaBytesByService struct + BytesUsed int64 + ForceSendFields []string + NullFields []string + ServiceName string + func (s AboutQuotaBytesByService) MarshalJSON() ([]byte, error) + type AboutService struct + func NewAboutService(s *Service) *AboutService + func (r *AboutService) Get() *AboutGetCall + type AboutTeamDriveThemes struct + BackgroundImageLink string + ColorRgb string + ForceSendFields []string + Id string + NullFields []string + func (s AboutTeamDriveThemes) MarshalJSON() ([]byte, error) + type App struct + Authorized bool + CreateInFolderTemplate string + CreateUrl string + ForceSendFields []string + HasDriveWideScope bool + Icons []*AppIcons + Id string + Installed bool + Kind string + LongDescription string + Name string + NullFields []string + ObjectType string + OpenUrlTemplate string + PrimaryFileExtensions []string + PrimaryMimeTypes []string + ProductId string + ProductUrl string + SecondaryFileExtensions []string + SecondaryMimeTypes []string + ShortDescription string + SupportsCreate bool + SupportsImport bool + SupportsMultiOpen bool + SupportsOfflineCreate bool + UseByDefault bool + func (s App) MarshalJSON() ([]byte, error) + type AppIcons struct + Category string + ForceSendFields []string + IconUrl string + NullFields []string + Size int64 + func (s AppIcons) MarshalJSON() ([]byte, error) + type AppList struct + DefaultAppIds []string + Etag string + ForceSendFields []string + Items []*App + Kind string + NullFields []string + SelfLink string + func (s AppList) MarshalJSON() ([]byte, error) + type AppsGetCall struct + func (c *AppsGetCall) Context(ctx context.Context) *AppsGetCall + func (c *AppsGetCall) Do(opts ...googleapi.CallOption) (*App, error) + func (c *AppsGetCall) Fields(s ...googleapi.Field) *AppsGetCall + func (c *AppsGetCall) Header() http.Header + func (c *AppsGetCall) IfNoneMatch(entityTag string) *AppsGetCall + type AppsListCall struct + func (c *AppsListCall) AppFilterExtensions(appFilterExtensions string) *AppsListCall + func (c *AppsListCall) AppFilterMimeTypes(appFilterMimeTypes string) *AppsListCall + func (c *AppsListCall) Context(ctx context.Context) *AppsListCall + func (c *AppsListCall) Do(opts ...googleapi.CallOption) (*AppList, error) + func (c *AppsListCall) Fields(s ...googleapi.Field) *AppsListCall + func (c *AppsListCall) Header() http.Header + func (c *AppsListCall) IfNoneMatch(entityTag string) *AppsListCall + func (c *AppsListCall) LanguageCode(languageCode string) *AppsListCall + type AppsService struct + func NewAppsService(s *Service) *AppsService + func (r *AppsService) Get(appId string) *AppsGetCall + func (r *AppsService) List() *AppsListCall + type Change struct + ChangeType string + Deleted bool + Drive *Drive + DriveId string + File *File + FileId string + ForceSendFields []string + Id int64 + Kind string + ModificationDate string + NullFields []string + SelfLink string + TeamDrive *TeamDrive + TeamDriveId string + Type string + func (s Change) MarshalJSON() ([]byte, error) + type ChangeList struct + Etag string + ForceSendFields []string + Items []*Change + Kind string + LargestChangeId int64 + NewStartPageToken string + NextLink string + NextPageToken string + NullFields []string + SelfLink string + func (s ChangeList) MarshalJSON() ([]byte, error) + type ChangesGetCall struct + func (c *ChangesGetCall) Context(ctx context.Context) *ChangesGetCall + func (c *ChangesGetCall) Do(opts ...googleapi.CallOption) (*Change, error) + func (c *ChangesGetCall) DriveId(driveId string) *ChangesGetCall + func (c *ChangesGetCall) Fields(s ...googleapi.Field) *ChangesGetCall + func (c *ChangesGetCall) Header() http.Header + func (c *ChangesGetCall) IfNoneMatch(entityTag string) *ChangesGetCall + func (c *ChangesGetCall) SupportsAllDrives(supportsAllDrives bool) *ChangesGetCall + func (c *ChangesGetCall) SupportsTeamDrives(supportsTeamDrives bool) *ChangesGetCall + func (c *ChangesGetCall) TeamDriveId(teamDriveId string) *ChangesGetCall + 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) IncludeDeleted(includeDeleted bool) *ChangesListCall + func (c *ChangesListCall) IncludeItemsFromAllDrives(includeItemsFromAllDrives bool) *ChangesListCall + func (c *ChangesListCall) IncludeLabels(includeLabels string) *ChangesListCall + func (c *ChangesListCall) IncludePermissionsForView(includePermissionsForView string) *ChangesListCall + func (c *ChangesListCall) IncludeSubscribed(includeSubscribed bool) *ChangesListCall + func (c *ChangesListCall) IncludeTeamDriveItems(includeTeamDriveItems bool) *ChangesListCall + func (c *ChangesListCall) MaxResults(maxResults int64) *ChangesListCall + func (c *ChangesListCall) PageToken(pageToken string) *ChangesListCall + func (c *ChangesListCall) Pages(ctx context.Context, f func(*ChangeList) error) error + func (c *ChangesListCall) Spaces(spaces string) *ChangesListCall + func (c *ChangesListCall) StartChangeId(startChangeId int64) *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) Get(changeId string) *ChangesGetCall + func (r *ChangesService) GetStartPageToken() *ChangesGetStartPageTokenCall + func (r *ChangesService) List() *ChangesListCall + func (r *ChangesService) Watch(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) IncludeDeleted(includeDeleted bool) *ChangesWatchCall + func (c *ChangesWatchCall) IncludeItemsFromAllDrives(includeItemsFromAllDrives bool) *ChangesWatchCall + func (c *ChangesWatchCall) IncludeLabels(includeLabels string) *ChangesWatchCall + func (c *ChangesWatchCall) IncludePermissionsForView(includePermissionsForView string) *ChangesWatchCall + func (c *ChangesWatchCall) IncludeSubscribed(includeSubscribed bool) *ChangesWatchCall + func (c *ChangesWatchCall) IncludeTeamDriveItems(includeTeamDriveItems bool) *ChangesWatchCall + func (c *ChangesWatchCall) MaxResults(maxResults int64) *ChangesWatchCall + func (c *ChangesWatchCall) PageToken(pageToken string) *ChangesWatchCall + func (c *ChangesWatchCall) Spaces(spaces string) *ChangesWatchCall + func (c *ChangesWatchCall) StartChangeId(startChangeId int64) *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 ChildList struct + Etag string + ForceSendFields []string + Items []*ChildReference + Kind string + NextLink string + NextPageToken string + NullFields []string + SelfLink string + func (s ChildList) MarshalJSON() ([]byte, error) + type ChildReference struct + ChildLink string + ForceSendFields []string + Id string + Kind string + NullFields []string + SelfLink string + func (s ChildReference) MarshalJSON() ([]byte, error) + type ChildrenDeleteCall struct + func (c *ChildrenDeleteCall) Context(ctx context.Context) *ChildrenDeleteCall + func (c *ChildrenDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *ChildrenDeleteCall) EnforceSingleParent(enforceSingleParent bool) *ChildrenDeleteCall + func (c *ChildrenDeleteCall) Fields(s ...googleapi.Field) *ChildrenDeleteCall + func (c *ChildrenDeleteCall) Header() http.Header + type ChildrenGetCall struct + func (c *ChildrenGetCall) Context(ctx context.Context) *ChildrenGetCall + func (c *ChildrenGetCall) Do(opts ...googleapi.CallOption) (*ChildReference, error) + func (c *ChildrenGetCall) Fields(s ...googleapi.Field) *ChildrenGetCall + func (c *ChildrenGetCall) Header() http.Header + func (c *ChildrenGetCall) IfNoneMatch(entityTag string) *ChildrenGetCall + type ChildrenInsertCall struct + func (c *ChildrenInsertCall) Context(ctx context.Context) *ChildrenInsertCall + func (c *ChildrenInsertCall) Do(opts ...googleapi.CallOption) (*ChildReference, error) + func (c *ChildrenInsertCall) EnforceSingleParent(enforceSingleParent bool) *ChildrenInsertCall + func (c *ChildrenInsertCall) Fields(s ...googleapi.Field) *ChildrenInsertCall + func (c *ChildrenInsertCall) Header() http.Header + func (c *ChildrenInsertCall) SupportsAllDrives(supportsAllDrives bool) *ChildrenInsertCall + func (c *ChildrenInsertCall) SupportsTeamDrives(supportsTeamDrives bool) *ChildrenInsertCall + type ChildrenListCall struct + func (c *ChildrenListCall) Context(ctx context.Context) *ChildrenListCall + func (c *ChildrenListCall) Do(opts ...googleapi.CallOption) (*ChildList, error) + func (c *ChildrenListCall) Fields(s ...googleapi.Field) *ChildrenListCall + func (c *ChildrenListCall) Header() http.Header + func (c *ChildrenListCall) IfNoneMatch(entityTag string) *ChildrenListCall + func (c *ChildrenListCall) MaxResults(maxResults int64) *ChildrenListCall + func (c *ChildrenListCall) OrderBy(orderBy string) *ChildrenListCall + func (c *ChildrenListCall) PageToken(pageToken string) *ChildrenListCall + func (c *ChildrenListCall) Pages(ctx context.Context, f func(*ChildList) error) error + func (c *ChildrenListCall) Q(q string) *ChildrenListCall + type ChildrenService struct + func NewChildrenService(s *Service) *ChildrenService + func (r *ChildrenService) Delete(folderId string, childId string) *ChildrenDeleteCall + func (r *ChildrenService) Get(folderId string, childId string) *ChildrenGetCall + func (r *ChildrenService) Insert(folderId string, childreference *ChildReference) *ChildrenInsertCall + func (r *ChildrenService) List(folderId string) *ChildrenListCall + type Comment struct + Anchor string + Author *User + CommentId string + Content string + Context *CommentContext + CreatedDate string + Deleted bool + FileId string + FileTitle string + ForceSendFields []string + HtmlContent string + Kind string + ModifiedDate string + NullFields []string + Replies []*CommentReply + SelfLink string + Status string + func (s Comment) MarshalJSON() ([]byte, error) + type CommentContext struct + ForceSendFields []string + NullFields []string + Type string + Value string + func (s CommentContext) MarshalJSON() ([]byte, error) + type CommentList struct + ForceSendFields []string + Items []*Comment + Kind string + NextLink string + NextPageToken string + NullFields []string + SelfLink string + func (s CommentList) MarshalJSON() ([]byte, error) + type CommentReply struct + Author *User + Content string + CreatedDate string + Deleted bool + ForceSendFields []string + HtmlContent string + Kind string + ModifiedDate string + NullFields []string + ReplyId string + Verb string + func (s CommentReply) MarshalJSON() ([]byte, error) + type CommentReplyList struct + ForceSendFields []string + Items []*CommentReply + Kind string + NextLink string + NextPageToken string + NullFields []string + SelfLink string + func (s CommentReplyList) MarshalJSON() ([]byte, error) + 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 CommentsInsertCall struct + func (c *CommentsInsertCall) Context(ctx context.Context) *CommentsInsertCall + func (c *CommentsInsertCall) Do(opts ...googleapi.CallOption) (*Comment, error) + func (c *CommentsInsertCall) Fields(s ...googleapi.Field) *CommentsInsertCall + func (c *CommentsInsertCall) Header() http.Header + 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) MaxResults(maxResults int64) *CommentsListCall + func (c *CommentsListCall) PageToken(pageToken string) *CommentsListCall + func (c *CommentsListCall) Pages(ctx context.Context, f func(*CommentList) error) error + func (c *CommentsListCall) UpdatedMin(updatedMin string) *CommentsListCall + type CommentsPatchCall struct + func (c *CommentsPatchCall) Context(ctx context.Context) *CommentsPatchCall + func (c *CommentsPatchCall) Do(opts ...googleapi.CallOption) (*Comment, error) + func (c *CommentsPatchCall) Fields(s ...googleapi.Field) *CommentsPatchCall + func (c *CommentsPatchCall) Header() http.Header + type CommentsService struct + func NewCommentsService(s *Service) *CommentsService + func (r *CommentsService) Delete(fileId string, commentId string) *CommentsDeleteCall + func (r *CommentsService) Get(fileId string, commentId string) *CommentsGetCall + func (r *CommentsService) Insert(fileId string, comment *Comment) *CommentsInsertCall + func (r *CommentsService) List(fileId string) *CommentsListCall + func (r *CommentsService) Patch(fileId string, commentId string, comment *Comment) *CommentsPatchCall + 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 + OwnerRestricted bool + ReadOnly bool + Reason string + RestrictingUser *User + RestrictionDate string + SystemRestricted bool + Type string + func (s ContentRestriction) MarshalJSON() ([]byte, error) + type Drive struct + BackgroundImageFile *DriveBackgroundImageFile + BackgroundImageLink string + Capabilities *DriveCapabilities + ColorRgb string + CreatedDate string + ForceSendFields []string + Hidden bool + Id string + Kind string + Name string + NullFields []string + OrgUnitId 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) UnmarshalJSON(data []byte) error + func (s DriveBackgroundImageFile) MarshalJSON() ([]byte, error) + type DriveCapabilities struct + CanAddChildren bool + CanChangeCopyRequiresWriterPermissionRestriction bool + CanChangeDomainUsersOnlyRestriction bool + CanChangeDriveBackground bool + CanChangeDriveMembersOnlyRestriction bool + CanChangeSharingFoldersRequiresOrganizerPermissionRestriction bool + CanComment bool + CanCopy bool + CanDeleteChildren bool + CanDeleteDrive bool + CanDownload bool + CanEdit bool + CanListChildren bool + CanManageMembers bool + CanReadRevisions bool + CanRename bool + CanRenameDrive bool + CanResetDriveRestrictions bool + CanShare bool + CanTrashChildren bool + ForceSendFields []string + NullFields []string + func (s DriveCapabilities) MarshalJSON() ([]byte, error) + type DriveList struct + ForceSendFields []string + Items []*Drive + 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 + SharingFoldersRequiresOrganizerPermission bool + func (s DriveRestrictions) MarshalJSON() ([]byte, error) + type DrivesDeleteCall struct + func (c *DrivesDeleteCall) AllowItemDeletion(allowItemDeletion bool) *DrivesDeleteCall + 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 + func (c *DrivesDeleteCall) UseDomainAdminAccess(useDomainAdminAccess bool) *DrivesDeleteCall + 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 DrivesInsertCall struct + func (c *DrivesInsertCall) Context(ctx context.Context) *DrivesInsertCall + func (c *DrivesInsertCall) Do(opts ...googleapi.CallOption) (*Drive, error) + func (c *DrivesInsertCall) Fields(s ...googleapi.Field) *DrivesInsertCall + func (c *DrivesInsertCall) 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) MaxResults(maxResults 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) Delete(driveId string) *DrivesDeleteCall + func (r *DrivesService) Get(driveId string) *DrivesGetCall + func (r *DrivesService) Hide(driveId string) *DrivesHideCall + func (r *DrivesService) Insert(requestId string, drive *Drive) *DrivesInsertCall + 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 + AlternateLink string + AppDataContents bool + CanComment bool + CanReadRevisions bool + Capabilities *FileCapabilities + ContentRestrictions []*ContentRestriction + CopyRequiresWriterPermission bool + Copyable bool + CreatedDate string + DefaultOpenWithLink string + Description string + DownloadUrl string + DriveId string + Editable bool + EmbedLink string + Etag string + ExplicitlyTrashed bool + ExportLinks map[string]string + FileExtension string + FileSize int64 + FolderColorRgb string + ForceSendFields []string + FullFileExtension string + HasAugmentedPermissions bool + HasThumbnail bool + HeadRevisionId string + IconLink string + Id string + ImageMediaMetadata *FileImageMediaMetadata + IndexableText *FileIndexableText + IsAppAuthorized bool + Kind string + LabelInfo *FileLabelInfo + Labels *FileLabels + LastModifyingUser *User + LastModifyingUserName string + LastViewedByMeDate string + LinkShareMetadata *FileLinkShareMetadata + MarkedViewedByMeDate string + Md5Checksum string + MimeType string + ModifiedByMeDate string + ModifiedDate string + NullFields []string + OpenWithLinks map[string]string + OriginalFilename string + OwnedByMe bool + OwnerNames []string + Owners []*User + Parents []*ParentReference + PermissionIds []string + Permissions []*Permission + Properties []*Property + QuotaBytesUsed int64 + ResourceKey string + SelfLink string + Sha1Checksum string + Sha256Checksum string + Shareable bool + Shared bool + SharedWithMeDate string + SharingUser *User + ShortcutDetails *FileShortcutDetails + Spaces []string + TeamDriveId string + Thumbnail *FileThumbnail + ThumbnailLink string + ThumbnailVersion int64 + Title string + TrashedDate string + TrashingUser *User + UserPermission *Permission + Version int64 + VideoMediaMetadata *FileVideoMediaMetadata + WebContentLink string + WebViewLink string + WritersCanShare bool + func (s File) MarshalJSON() ([]byte, error) + type FileCapabilities struct + CanAcceptOwnership bool + CanAddChildren bool + CanAddFolderFromAnotherDrive bool + CanAddMyDriveParent bool + CanChangeCopyRequiresWriterPermission bool + CanChangeRestrictedDownload bool + CanChangeSecurityUpdateEnabled bool + CanComment bool + CanCopy bool + CanDelete bool + CanDeleteChildren bool + CanDownload bool + CanEdit bool + CanListChildren bool + CanModifyContent bool + CanModifyContentRestriction bool + CanModifyEditorContentRestriction bool + CanModifyLabels bool + CanModifyOwnerContentRestriction bool + CanMoveChildrenOutOfDrive bool + CanMoveChildrenOutOfTeamDrive bool + CanMoveChildrenWithinDrive bool + CanMoveChildrenWithinTeamDrive bool + CanMoveItemIntoTeamDrive bool + CanMoveItemOutOfDrive bool + CanMoveItemOutOfTeamDrive bool + CanMoveItemWithinDrive bool + CanMoveItemWithinTeamDrive bool + CanMoveTeamDriveItem bool + CanReadDrive bool + CanReadLabels bool + CanReadRevisions bool + CanReadTeamDrive bool + CanRemoveChildren bool + CanRemoveContentRestriction bool + CanRemoveMyDriveParent bool + CanRename bool + CanShare bool + CanTrash bool + CanTrashChildren bool + CanUntrash bool + ForceSendFields []string + NullFields []string + func (s FileCapabilities) MarshalJSON() ([]byte, error) + type FileImageMediaMetadata struct + Aperture float64 + CameraMake string + CameraModel string + ColorSpace string + Date 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 + WhiteBalance string + Width int64 + func (s *FileImageMediaMetadata) UnmarshalJSON(data []byte) error + func (s FileImageMediaMetadata) MarshalJSON() ([]byte, error) + type FileImageMediaMetadataLocation struct + Altitude float64 + ForceSendFields []string + Latitude float64 + Longitude float64 + NullFields []string + func (s *FileImageMediaMetadataLocation) UnmarshalJSON(data []byte) error + func (s FileImageMediaMetadataLocation) MarshalJSON() ([]byte, error) + type FileIndexableText struct + ForceSendFields []string + NullFields []string + Text string + func (s FileIndexableText) MarshalJSON() ([]byte, error) + type FileLabelInfo struct + ForceSendFields []string + Labels []*Label + NullFields []string + func (s FileLabelInfo) MarshalJSON() ([]byte, error) + type FileLabels struct + ForceSendFields []string + Hidden bool + Modified bool + NullFields []string + Restricted bool + Starred bool + Trashed bool + Viewed bool + func (s FileLabels) MarshalJSON() ([]byte, error) + type FileLinkShareMetadata struct + ForceSendFields []string + NullFields []string + SecurityUpdateEligible bool + SecurityUpdateEnabled bool + func (s FileLinkShareMetadata) MarshalJSON() ([]byte, error) + type FileList struct + Etag string + ForceSendFields []string + IncompleteSearch bool + Items []*File + Kind string + NextLink string + NextPageToken string + NullFields []string + SelfLink string + func (s FileList) MarshalJSON() ([]byte, error) + type FileShortcutDetails struct + ForceSendFields []string + NullFields []string + TargetId string + TargetMimeType string + TargetResourceKey string + func (s FileShortcutDetails) MarshalJSON() ([]byte, error) + type FileThumbnail struct + ForceSendFields []string + Image string + MimeType string + NullFields []string + func (s FileThumbnail) 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) Convert(convert bool) *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) IncludeLabels(includeLabels string) *FilesCopyCall + func (c *FilesCopyCall) IncludePermissionsForView(includePermissionsForView string) *FilesCopyCall + func (c *FilesCopyCall) Ocr(ocr bool) *FilesCopyCall + func (c *FilesCopyCall) OcrLanguage(ocrLanguage string) *FilesCopyCall + func (c *FilesCopyCall) Pinned(pinned bool) *FilesCopyCall + func (c *FilesCopyCall) SupportsAllDrives(supportsAllDrives bool) *FilesCopyCall + func (c *FilesCopyCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesCopyCall + func (c *FilesCopyCall) TimedTextLanguage(timedTextLanguage string) *FilesCopyCall + func (c *FilesCopyCall) TimedTextTrackName(timedTextTrackName string) *FilesCopyCall + func (c *FilesCopyCall) Visibility(visibility string) *FilesCopyCall + 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) DriveId(driveId string) *FilesEmptyTrashCall + 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) 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) MaxResults(maxResults int64) *FilesGenerateIdsCall + func (c *FilesGenerateIdsCall) Space(space string) *FilesGenerateIdsCall + func (c *FilesGenerateIdsCall) Type(type_ 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) IncludeLabels(includeLabels string) *FilesGetCall + func (c *FilesGetCall) IncludePermissionsForView(includePermissionsForView string) *FilesGetCall + func (c *FilesGetCall) Projection(projection string) *FilesGetCall + func (c *FilesGetCall) RevisionId(revisionId string) *FilesGetCall + func (c *FilesGetCall) SupportsAllDrives(supportsAllDrives bool) *FilesGetCall + func (c *FilesGetCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesGetCall + func (c *FilesGetCall) UpdateViewedDate(updateViewedDate bool) *FilesGetCall + type FilesInsertCall struct + func (c *FilesInsertCall) Context(ctx context.Context) *FilesInsertCall + func (c *FilesInsertCall) Convert(convert bool) *FilesInsertCall + func (c *FilesInsertCall) Do(opts ...googleapi.CallOption) (*File, error) + func (c *FilesInsertCall) EnforceSingleParent(enforceSingleParent bool) *FilesInsertCall + func (c *FilesInsertCall) Fields(s ...googleapi.Field) *FilesInsertCall + func (c *FilesInsertCall) Header() http.Header + func (c *FilesInsertCall) IncludeLabels(includeLabels string) *FilesInsertCall + func (c *FilesInsertCall) IncludePermissionsForView(includePermissionsForView string) *FilesInsertCall + func (c *FilesInsertCall) Media(r io.Reader, options ...googleapi.MediaOption) *FilesInsertCall + func (c *FilesInsertCall) Ocr(ocr bool) *FilesInsertCall + func (c *FilesInsertCall) OcrLanguage(ocrLanguage string) *FilesInsertCall + func (c *FilesInsertCall) Pinned(pinned bool) *FilesInsertCall + func (c *FilesInsertCall) ProgressUpdater(pu googleapi.ProgressUpdater) *FilesInsertCall + func (c *FilesInsertCall) ResumableMedia(ctx context.Context, r io.ReaderAt, size int64, mediaType string) *FilesInsertCall + func (c *FilesInsertCall) SupportsAllDrives(supportsAllDrives bool) *FilesInsertCall + func (c *FilesInsertCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesInsertCall + func (c *FilesInsertCall) TimedTextLanguage(timedTextLanguage string) *FilesInsertCall + func (c *FilesInsertCall) TimedTextTrackName(timedTextTrackName string) *FilesInsertCall + func (c *FilesInsertCall) UseContentAsIndexableText(useContentAsIndexableText bool) *FilesInsertCall + func (c *FilesInsertCall) Visibility(visibility string) *FilesInsertCall + 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) IncludeLabels(includeLabels string) *FilesListCall + func (c *FilesListCall) IncludePermissionsForView(includePermissionsForView string) *FilesListCall + func (c *FilesListCall) IncludeTeamDriveItems(includeTeamDriveItems bool) *FilesListCall + func (c *FilesListCall) MaxResults(maxResults int64) *FilesListCall + func (c *FilesListCall) OrderBy(orderBy string) *FilesListCall + func (c *FilesListCall) PageToken(pageToken string) *FilesListCall + func (c *FilesListCall) Pages(ctx context.Context, f func(*FileList) error) error + func (c *FilesListCall) Projection(projection string) *FilesListCall + 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 FilesListLabelsCall struct + func (c *FilesListLabelsCall) Context(ctx context.Context) *FilesListLabelsCall + func (c *FilesListLabelsCall) Do(opts ...googleapi.CallOption) (*LabelList, error) + func (c *FilesListLabelsCall) Fields(s ...googleapi.Field) *FilesListLabelsCall + func (c *FilesListLabelsCall) Header() http.Header + func (c *FilesListLabelsCall) IfNoneMatch(entityTag string) *FilesListLabelsCall + func (c *FilesListLabelsCall) MaxResults(maxResults int64) *FilesListLabelsCall + func (c *FilesListLabelsCall) PageToken(pageToken string) *FilesListLabelsCall + func (c *FilesListLabelsCall) Pages(ctx context.Context, f func(*LabelList) error) error + type FilesModifyLabelsCall struct + func (c *FilesModifyLabelsCall) Context(ctx context.Context) *FilesModifyLabelsCall + func (c *FilesModifyLabelsCall) Do(opts ...googleapi.CallOption) (*ModifyLabelsResponse, error) + func (c *FilesModifyLabelsCall) Fields(s ...googleapi.Field) *FilesModifyLabelsCall + func (c *FilesModifyLabelsCall) Header() http.Header + type FilesPatchCall struct + func (c *FilesPatchCall) AddParents(addParents string) *FilesPatchCall + func (c *FilesPatchCall) Context(ctx context.Context) *FilesPatchCall + func (c *FilesPatchCall) Convert(convert bool) *FilesPatchCall + func (c *FilesPatchCall) Do(opts ...googleapi.CallOption) (*File, error) + func (c *FilesPatchCall) EnforceSingleParent(enforceSingleParent bool) *FilesPatchCall + func (c *FilesPatchCall) Fields(s ...googleapi.Field) *FilesPatchCall + func (c *FilesPatchCall) Header() http.Header + func (c *FilesPatchCall) IncludeLabels(includeLabels string) *FilesPatchCall + func (c *FilesPatchCall) IncludePermissionsForView(includePermissionsForView string) *FilesPatchCall + func (c *FilesPatchCall) ModifiedDateBehavior(modifiedDateBehavior string) *FilesPatchCall + func (c *FilesPatchCall) NewRevision(newRevision bool) *FilesPatchCall + func (c *FilesPatchCall) Ocr(ocr bool) *FilesPatchCall + func (c *FilesPatchCall) OcrLanguage(ocrLanguage string) *FilesPatchCall + func (c *FilesPatchCall) Pinned(pinned bool) *FilesPatchCall + func (c *FilesPatchCall) RemoveParents(removeParents string) *FilesPatchCall + func (c *FilesPatchCall) SetModifiedDate(setModifiedDate bool) *FilesPatchCall + func (c *FilesPatchCall) SupportsAllDrives(supportsAllDrives bool) *FilesPatchCall + func (c *FilesPatchCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesPatchCall + func (c *FilesPatchCall) TimedTextLanguage(timedTextLanguage string) *FilesPatchCall + func (c *FilesPatchCall) TimedTextTrackName(timedTextTrackName string) *FilesPatchCall + func (c *FilesPatchCall) UpdateViewedDate(updateViewedDate bool) *FilesPatchCall + func (c *FilesPatchCall) UseContentAsIndexableText(useContentAsIndexableText bool) *FilesPatchCall + type FilesService struct + func NewFilesService(s *Service) *FilesService + func (r *FilesService) Copy(fileId string, file *File) *FilesCopyCall + 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) Insert(file *File) *FilesInsertCall + func (r *FilesService) List() *FilesListCall + func (r *FilesService) ListLabels(fileId string) *FilesListLabelsCall + func (r *FilesService) ModifyLabels(fileId string, modifylabelsrequest *ModifyLabelsRequest) *FilesModifyLabelsCall + func (r *FilesService) Patch(fileId string, file *File) *FilesPatchCall + func (r *FilesService) Touch(fileId string) *FilesTouchCall + func (r *FilesService) Trash(fileId string) *FilesTrashCall + func (r *FilesService) Untrash(fileId string) *FilesUntrashCall + func (r *FilesService) Update(fileId string, file *File) *FilesUpdateCall + func (r *FilesService) Watch(fileId string, channel *Channel) *FilesWatchCall + type FilesTouchCall struct + func (c *FilesTouchCall) Context(ctx context.Context) *FilesTouchCall + func (c *FilesTouchCall) Do(opts ...googleapi.CallOption) (*File, error) + func (c *FilesTouchCall) Fields(s ...googleapi.Field) *FilesTouchCall + func (c *FilesTouchCall) Header() http.Header + func (c *FilesTouchCall) IncludeLabels(includeLabels string) *FilesTouchCall + func (c *FilesTouchCall) IncludePermissionsForView(includePermissionsForView string) *FilesTouchCall + func (c *FilesTouchCall) SupportsAllDrives(supportsAllDrives bool) *FilesTouchCall + func (c *FilesTouchCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesTouchCall + type FilesTrashCall struct + func (c *FilesTrashCall) Context(ctx context.Context) *FilesTrashCall + func (c *FilesTrashCall) Do(opts ...googleapi.CallOption) (*File, error) + func (c *FilesTrashCall) Fields(s ...googleapi.Field) *FilesTrashCall + func (c *FilesTrashCall) Header() http.Header + func (c *FilesTrashCall) IncludeLabels(includeLabels string) *FilesTrashCall + func (c *FilesTrashCall) IncludePermissionsForView(includePermissionsForView string) *FilesTrashCall + func (c *FilesTrashCall) SupportsAllDrives(supportsAllDrives bool) *FilesTrashCall + func (c *FilesTrashCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesTrashCall + type FilesUntrashCall struct + func (c *FilesUntrashCall) Context(ctx context.Context) *FilesUntrashCall + func (c *FilesUntrashCall) Do(opts ...googleapi.CallOption) (*File, error) + func (c *FilesUntrashCall) Fields(s ...googleapi.Field) *FilesUntrashCall + func (c *FilesUntrashCall) Header() http.Header + func (c *FilesUntrashCall) IncludeLabels(includeLabels string) *FilesUntrashCall + func (c *FilesUntrashCall) IncludePermissionsForView(includePermissionsForView string) *FilesUntrashCall + func (c *FilesUntrashCall) SupportsAllDrives(supportsAllDrives bool) *FilesUntrashCall + func (c *FilesUntrashCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesUntrashCall + type FilesUpdateCall struct + func (c *FilesUpdateCall) AddParents(addParents string) *FilesUpdateCall + func (c *FilesUpdateCall) Context(ctx context.Context) *FilesUpdateCall + func (c *FilesUpdateCall) Convert(convert bool) *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) IncludeLabels(includeLabels string) *FilesUpdateCall + func (c *FilesUpdateCall) IncludePermissionsForView(includePermissionsForView string) *FilesUpdateCall + func (c *FilesUpdateCall) Media(r io.Reader, options ...googleapi.MediaOption) *FilesUpdateCall + func (c *FilesUpdateCall) ModifiedDateBehavior(modifiedDateBehavior string) *FilesUpdateCall + func (c *FilesUpdateCall) NewRevision(newRevision bool) *FilesUpdateCall + func (c *FilesUpdateCall) Ocr(ocr bool) *FilesUpdateCall + func (c *FilesUpdateCall) OcrLanguage(ocrLanguage string) *FilesUpdateCall + func (c *FilesUpdateCall) Pinned(pinned bool) *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) SetModifiedDate(setModifiedDate bool) *FilesUpdateCall + func (c *FilesUpdateCall) SupportsAllDrives(supportsAllDrives bool) *FilesUpdateCall + func (c *FilesUpdateCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesUpdateCall + func (c *FilesUpdateCall) TimedTextLanguage(timedTextLanguage string) *FilesUpdateCall + func (c *FilesUpdateCall) TimedTextTrackName(timedTextTrackName string) *FilesUpdateCall + func (c *FilesUpdateCall) UpdateViewedDate(updateViewedDate 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) Fields(s ...googleapi.Field) *FilesWatchCall + func (c *FilesWatchCall) Header() http.Header + func (c *FilesWatchCall) IncludeLabels(includeLabels string) *FilesWatchCall + func (c *FilesWatchCall) IncludePermissionsForView(includePermissionsForView string) *FilesWatchCall + func (c *FilesWatchCall) Projection(projection string) *FilesWatchCall + func (c *FilesWatchCall) RevisionId(revisionId string) *FilesWatchCall + func (c *FilesWatchCall) SupportsAllDrives(supportsAllDrives bool) *FilesWatchCall + func (c *FilesWatchCall) SupportsTeamDrives(supportsTeamDrives bool) *FilesWatchCall + func (c *FilesWatchCall) UpdateViewedDate(updateViewedDate bool) *FilesWatchCall + type GeneratedIds struct + ForceSendFields []string + Ids []string + Kind string + NullFields []string + Space string + func (s GeneratedIds) MarshalJSON() ([]byte, error) + type Label struct + Fields map[string]LabelField + ForceSendFields []string + Id string + Kind string + NullFields []string + RevisionId string + func (s Label) MarshalJSON() ([]byte, error) + type LabelField struct + DateString []string + ForceSendFields []string + Id string + Integer googleapi.Int64s + Kind string + NullFields []string + Selection []string + Text []string + User []*User + ValueType string + func (s LabelField) MarshalJSON() ([]byte, error) + type LabelFieldModification struct + FieldId string + ForceSendFields []string + Kind string + NullFields []string + SetDateValues []string + SetIntegerValues googleapi.Int64s + SetSelectionValues []string + SetTextValues []string + SetUserValues []string + UnsetValues bool + func (s LabelFieldModification) MarshalJSON() ([]byte, error) + type LabelList struct + ForceSendFields []string + Items []*Label + Kind string + NextPageToken string + NullFields []string + func (s LabelList) MarshalJSON() ([]byte, error) + type LabelModification struct + FieldModifications []*LabelFieldModification + ForceSendFields []string + Kind string + LabelId string + NullFields []string + RemoveLabel bool + func (s LabelModification) MarshalJSON() ([]byte, error) + type ModifyLabelsRequest struct + ForceSendFields []string + Kind string + LabelModifications []*LabelModification + NullFields []string + func (s ModifyLabelsRequest) MarshalJSON() ([]byte, error) + type ModifyLabelsResponse struct + ForceSendFields []string + Kind string + ModifiedLabels []*Label + NullFields []string + func (s ModifyLabelsResponse) MarshalJSON() ([]byte, error) + type ParentList struct + Etag string + ForceSendFields []string + Items []*ParentReference + Kind string + NullFields []string + SelfLink string + func (s ParentList) MarshalJSON() ([]byte, error) + type ParentReference struct + ForceSendFields []string + Id string + IsRoot bool + Kind string + NullFields []string + ParentLink string + SelfLink string + func (s ParentReference) MarshalJSON() ([]byte, error) + type ParentsDeleteCall struct + func (c *ParentsDeleteCall) Context(ctx context.Context) *ParentsDeleteCall + func (c *ParentsDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *ParentsDeleteCall) EnforceSingleParent(enforceSingleParent bool) *ParentsDeleteCall + func (c *ParentsDeleteCall) Fields(s ...googleapi.Field) *ParentsDeleteCall + func (c *ParentsDeleteCall) Header() http.Header + type ParentsGetCall struct + func (c *ParentsGetCall) Context(ctx context.Context) *ParentsGetCall + func (c *ParentsGetCall) Do(opts ...googleapi.CallOption) (*ParentReference, error) + func (c *ParentsGetCall) Fields(s ...googleapi.Field) *ParentsGetCall + func (c *ParentsGetCall) Header() http.Header + func (c *ParentsGetCall) IfNoneMatch(entityTag string) *ParentsGetCall + type ParentsInsertCall struct + func (c *ParentsInsertCall) Context(ctx context.Context) *ParentsInsertCall + func (c *ParentsInsertCall) Do(opts ...googleapi.CallOption) (*ParentReference, error) + func (c *ParentsInsertCall) EnforceSingleParent(enforceSingleParent bool) *ParentsInsertCall + func (c *ParentsInsertCall) Fields(s ...googleapi.Field) *ParentsInsertCall + func (c *ParentsInsertCall) Header() http.Header + func (c *ParentsInsertCall) SupportsAllDrives(supportsAllDrives bool) *ParentsInsertCall + func (c *ParentsInsertCall) SupportsTeamDrives(supportsTeamDrives bool) *ParentsInsertCall + type ParentsListCall struct + func (c *ParentsListCall) Context(ctx context.Context) *ParentsListCall + func (c *ParentsListCall) Do(opts ...googleapi.CallOption) (*ParentList, error) + func (c *ParentsListCall) Fields(s ...googleapi.Field) *ParentsListCall + func (c *ParentsListCall) Header() http.Header + func (c *ParentsListCall) IfNoneMatch(entityTag string) *ParentsListCall + type ParentsService struct + func NewParentsService(s *Service) *ParentsService + func (r *ParentsService) Delete(fileId string, parentId string) *ParentsDeleteCall + func (r *ParentsService) Get(fileId string, parentId string) *ParentsGetCall + func (r *ParentsService) Insert(fileId string, parentreference *ParentReference) *ParentsInsertCall + func (r *ParentsService) List(fileId string) *ParentsListCall + type Permission struct + AdditionalRoles []string + AuthKey string + Deleted bool + Domain string + EmailAddress string + Etag string + ExpirationDate string + ForceSendFields []string + Id string + Kind string + Name string + NullFields []string + PendingOwner bool + PermissionDetails []*PermissionPermissionDetails + PhotoLink string + Role string + SelfLink string + TeamDrivePermissionDetails []*PermissionTeamDrivePermissionDetails + Type string + Value string + View string + WithLink bool + func (s Permission) MarshalJSON() ([]byte, error) + type PermissionId struct + ForceSendFields []string + Id string + Kind string + NullFields []string + func (s PermissionId) MarshalJSON() ([]byte, error) + type PermissionList struct + Etag string + ForceSendFields []string + Items []*Permission + Kind string + NextPageToken string + NullFields []string + SelfLink string + func (s PermissionList) MarshalJSON() ([]byte, error) + type PermissionPermissionDetails struct + AdditionalRoles []string + ForceSendFields []string + Inherited bool + InheritedFrom string + NullFields []string + PermissionType string + Role string + func (s PermissionPermissionDetails) MarshalJSON() ([]byte, error) + type PermissionTeamDrivePermissionDetails struct + AdditionalRoles []string + ForceSendFields []string + Inherited bool + InheritedFrom string + NullFields []string + Role string + TeamDrivePermissionType string + func (s PermissionTeamDrivePermissionDetails) MarshalJSON() ([]byte, error) + 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 PermissionsGetIdForEmailCall struct + func (c *PermissionsGetIdForEmailCall) Context(ctx context.Context) *PermissionsGetIdForEmailCall + func (c *PermissionsGetIdForEmailCall) Do(opts ...googleapi.CallOption) (*PermissionId, error) + func (c *PermissionsGetIdForEmailCall) Fields(s ...googleapi.Field) *PermissionsGetIdForEmailCall + func (c *PermissionsGetIdForEmailCall) Header() http.Header + func (c *PermissionsGetIdForEmailCall) IfNoneMatch(entityTag string) *PermissionsGetIdForEmailCall + type PermissionsInsertCall struct + func (c *PermissionsInsertCall) Context(ctx context.Context) *PermissionsInsertCall + func (c *PermissionsInsertCall) Do(opts ...googleapi.CallOption) (*Permission, error) + func (c *PermissionsInsertCall) EmailMessage(emailMessage string) *PermissionsInsertCall + func (c *PermissionsInsertCall) EnforceSingleParent(enforceSingleParent bool) *PermissionsInsertCall + func (c *PermissionsInsertCall) Fields(s ...googleapi.Field) *PermissionsInsertCall + func (c *PermissionsInsertCall) Header() http.Header + func (c *PermissionsInsertCall) MoveToNewOwnersRoot(moveToNewOwnersRoot bool) *PermissionsInsertCall + func (c *PermissionsInsertCall) SendNotificationEmails(sendNotificationEmails bool) *PermissionsInsertCall + func (c *PermissionsInsertCall) SupportsAllDrives(supportsAllDrives bool) *PermissionsInsertCall + func (c *PermissionsInsertCall) SupportsTeamDrives(supportsTeamDrives bool) *PermissionsInsertCall + func (c *PermissionsInsertCall) UseDomainAdminAccess(useDomainAdminAccess bool) *PermissionsInsertCall + 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) MaxResults(maxResults 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 PermissionsPatchCall struct + func (c *PermissionsPatchCall) Context(ctx context.Context) *PermissionsPatchCall + func (c *PermissionsPatchCall) Do(opts ...googleapi.CallOption) (*Permission, error) + func (c *PermissionsPatchCall) Fields(s ...googleapi.Field) *PermissionsPatchCall + func (c *PermissionsPatchCall) Header() http.Header + func (c *PermissionsPatchCall) RemoveExpiration(removeExpiration bool) *PermissionsPatchCall + func (c *PermissionsPatchCall) SupportsAllDrives(supportsAllDrives bool) *PermissionsPatchCall + func (c *PermissionsPatchCall) SupportsTeamDrives(supportsTeamDrives bool) *PermissionsPatchCall + func (c *PermissionsPatchCall) TransferOwnership(transferOwnership bool) *PermissionsPatchCall + func (c *PermissionsPatchCall) UseDomainAdminAccess(useDomainAdminAccess bool) *PermissionsPatchCall + type PermissionsService struct + func NewPermissionsService(s *Service) *PermissionsService + func (r *PermissionsService) Delete(fileId string, permissionId string) *PermissionsDeleteCall + func (r *PermissionsService) Get(fileId string, permissionId string) *PermissionsGetCall + func (r *PermissionsService) GetIdForEmail(email string) *PermissionsGetIdForEmailCall + func (r *PermissionsService) Insert(fileId string, permission *Permission) *PermissionsInsertCall + func (r *PermissionsService) List(fileId string) *PermissionsListCall + func (r *PermissionsService) Patch(fileId string, permissionId string, permission *Permission) *PermissionsPatchCall + 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 PropertiesDeleteCall struct + func (c *PropertiesDeleteCall) Context(ctx context.Context) *PropertiesDeleteCall + func (c *PropertiesDeleteCall) Do(opts ...googleapi.CallOption) error + func (c *PropertiesDeleteCall) Fields(s ...googleapi.Field) *PropertiesDeleteCall + func (c *PropertiesDeleteCall) Header() http.Header + func (c *PropertiesDeleteCall) Visibility(visibility string) *PropertiesDeleteCall + type PropertiesGetCall struct + func (c *PropertiesGetCall) Context(ctx context.Context) *PropertiesGetCall + func (c *PropertiesGetCall) Do(opts ...googleapi.CallOption) (*Property, error) + func (c *PropertiesGetCall) Fields(s ...googleapi.Field) *PropertiesGetCall + func (c *PropertiesGetCall) Header() http.Header + func (c *PropertiesGetCall) IfNoneMatch(entityTag string) *PropertiesGetCall + func (c *PropertiesGetCall) Visibility(visibility string) *PropertiesGetCall + type PropertiesInsertCall struct + func (c *PropertiesInsertCall) Context(ctx context.Context) *PropertiesInsertCall + func (c *PropertiesInsertCall) Do(opts ...googleapi.CallOption) (*Property, error) + func (c *PropertiesInsertCall) Fields(s ...googleapi.Field) *PropertiesInsertCall + func (c *PropertiesInsertCall) Header() http.Header + type PropertiesListCall struct + func (c *PropertiesListCall) Context(ctx context.Context) *PropertiesListCall + func (c *PropertiesListCall) Do(opts ...googleapi.CallOption) (*PropertyList, error) + func (c *PropertiesListCall) Fields(s ...googleapi.Field) *PropertiesListCall + func (c *PropertiesListCall) Header() http.Header + func (c *PropertiesListCall) IfNoneMatch(entityTag string) *PropertiesListCall + type PropertiesPatchCall struct + func (c *PropertiesPatchCall) Context(ctx context.Context) *PropertiesPatchCall + func (c *PropertiesPatchCall) Do(opts ...googleapi.CallOption) (*Property, error) + func (c *PropertiesPatchCall) Fields(s ...googleapi.Field) *PropertiesPatchCall + func (c *PropertiesPatchCall) Header() http.Header + func (c *PropertiesPatchCall) Visibility(visibility string) *PropertiesPatchCall + type PropertiesService struct + func NewPropertiesService(s *Service) *PropertiesService + func (r *PropertiesService) Delete(fileId string, propertyKey string) *PropertiesDeleteCall + func (r *PropertiesService) Get(fileId string, propertyKey string) *PropertiesGetCall + func (r *PropertiesService) Insert(fileId string, property *Property) *PropertiesInsertCall + func (r *PropertiesService) List(fileId string) *PropertiesListCall + func (r *PropertiesService) Patch(fileId string, propertyKey string, property *Property) *PropertiesPatchCall + func (r *PropertiesService) Update(fileId string, propertyKey string, property *Property) *PropertiesUpdateCall + type PropertiesUpdateCall struct + func (c *PropertiesUpdateCall) Context(ctx context.Context) *PropertiesUpdateCall + func (c *PropertiesUpdateCall) Do(opts ...googleapi.CallOption) (*Property, error) + func (c *PropertiesUpdateCall) Fields(s ...googleapi.Field) *PropertiesUpdateCall + func (c *PropertiesUpdateCall) Header() http.Header + func (c *PropertiesUpdateCall) Visibility(visibility string) *PropertiesUpdateCall + type Property struct + Etag string + ForceSendFields []string + Key string + Kind string + NullFields []string + SelfLink string + Value string + Visibility string + func (s Property) MarshalJSON() ([]byte, error) + type PropertyList struct + Etag string + ForceSendFields []string + Items []*Property + Kind string + NullFields []string + SelfLink string + func (s PropertyList) MarshalJSON() ([]byte, error) + 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) (*CommentReply, 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 RepliesInsertCall struct + func (c *RepliesInsertCall) Context(ctx context.Context) *RepliesInsertCall + func (c *RepliesInsertCall) Do(opts ...googleapi.CallOption) (*CommentReply, error) + func (c *RepliesInsertCall) Fields(s ...googleapi.Field) *RepliesInsertCall + func (c *RepliesInsertCall) Header() http.Header + type RepliesListCall struct + func (c *RepliesListCall) Context(ctx context.Context) *RepliesListCall + func (c *RepliesListCall) Do(opts ...googleapi.CallOption) (*CommentReplyList, 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) MaxResults(maxResults int64) *RepliesListCall + func (c *RepliesListCall) PageToken(pageToken string) *RepliesListCall + func (c *RepliesListCall) Pages(ctx context.Context, f func(*CommentReplyList) error) error + type RepliesPatchCall struct + func (c *RepliesPatchCall) Context(ctx context.Context) *RepliesPatchCall + func (c *RepliesPatchCall) Do(opts ...googleapi.CallOption) (*CommentReply, error) + func (c *RepliesPatchCall) Fields(s ...googleapi.Field) *RepliesPatchCall + func (c *RepliesPatchCall) Header() http.Header + type RepliesService struct + func NewRepliesService(s *Service) *RepliesService + 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) Insert(fileId string, commentId string, commentreply *CommentReply) *RepliesInsertCall + func (r *RepliesService) List(fileId string, commentId string) *RepliesListCall + func (r *RepliesService) Patch(fileId string, commentId string, replyId string, commentreply *CommentReply) *RepliesPatchCall + func (r *RepliesService) Update(fileId string, commentId string, replyId string, commentreply *CommentReply) *RepliesUpdateCall + type RepliesUpdateCall struct + func (c *RepliesUpdateCall) Context(ctx context.Context) *RepliesUpdateCall + func (c *RepliesUpdateCall) Do(opts ...googleapi.CallOption) (*CommentReply, error) + func (c *RepliesUpdateCall) Fields(s ...googleapi.Field) *RepliesUpdateCall + func (c *RepliesUpdateCall) Header() http.Header + type Revision struct + DownloadUrl string + Etag string + ExportLinks map[string]string + FileSize int64 + ForceSendFields []string + Id string + Kind string + LastModifyingUser *User + LastModifyingUserName string + Md5Checksum string + MimeType string + ModifiedDate string + NullFields []string + OriginalFilename string + Pinned bool + PublishAuto bool + Published bool + PublishedLink string + PublishedOutsideDomain bool + SelfLink string + func (s Revision) MarshalJSON() ([]byte, error) + type RevisionList struct + Etag string + ForceSendFields []string + Items []*Revision + Kind string + NextPageToken string + NullFields []string + SelfLink string + 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) Context(ctx context.Context) *RevisionsGetCall + func (c *RevisionsGetCall) Do(opts ...googleapi.CallOption) (*Revision, 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) MaxResults(maxResults int64) *RevisionsListCall + func (c *RevisionsListCall) PageToken(pageToken string) *RevisionsListCall + func (c *RevisionsListCall) Pages(ctx context.Context, f func(*RevisionList) error) error + type RevisionsPatchCall struct + func (c *RevisionsPatchCall) Context(ctx context.Context) *RevisionsPatchCall + func (c *RevisionsPatchCall) Do(opts ...googleapi.CallOption) (*Revision, error) + func (c *RevisionsPatchCall) Fields(s ...googleapi.Field) *RevisionsPatchCall + func (c *RevisionsPatchCall) Header() http.Header + 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) Patch(fileId string, revisionId string, revision *Revision) *RevisionsPatchCall + 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 + Apps *AppsService + BasePath string + Changes *ChangesService + Channels *ChannelsService + Children *ChildrenService + Comments *CommentsService + Drives *DrivesService + Files *FilesService + Parents *ParentsService + Permissions *PermissionsService + Properties *PropertiesService + 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 + CreatedDate string + ForceSendFields []string + Id string + Kind string + Name string + NullFields []string + OrgUnitId 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) UnmarshalJSON(data []byte) error + func (s TeamDriveBackgroundImageFile) MarshalJSON() ([]byte, error) + type TeamDriveCapabilities struct + CanAddChildren bool + CanChangeCopyRequiresWriterPermissionRestriction bool + CanChangeDomainUsersOnlyRestriction bool + CanChangeSharingFoldersRequiresOrganizerPermissionRestriction 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 + CanResetTeamDriveRestrictions bool + CanShare bool + CanTrashChildren bool + ForceSendFields []string + NullFields []string + func (s TeamDriveCapabilities) MarshalJSON() ([]byte, error) + type TeamDriveList struct + ForceSendFields []string + Items []*TeamDrive + Kind string + NextPageToken string + NullFields []string + func (s TeamDriveList) MarshalJSON() ([]byte, error) + type TeamDriveRestrictions struct + AdminManagedRestrictions bool + CopyRequiresWriterPermission bool + DomainUsersOnly bool + ForceSendFields []string + NullFields []string + SharingFoldersRequiresOrganizerPermission bool + TeamMembersOnly bool + func (s TeamDriveRestrictions) MarshalJSON() ([]byte, error) + 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 TeamdrivesInsertCall struct + func (c *TeamdrivesInsertCall) Context(ctx context.Context) *TeamdrivesInsertCall + func (c *TeamdrivesInsertCall) Do(opts ...googleapi.CallOption) (*TeamDrive, error) + func (c *TeamdrivesInsertCall) Fields(s ...googleapi.Field) *TeamdrivesInsertCall + func (c *TeamdrivesInsertCall) Header() http.Header + 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) MaxResults(maxResults 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) Delete(teamDriveId string) *TeamdrivesDeleteCall + func (r *TeamdrivesService) Get(teamDriveId string) *TeamdrivesGetCall + func (r *TeamdrivesService) Insert(requestId string, teamdrive *TeamDrive) *TeamdrivesInsertCall + 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 + IsAuthenticatedUser bool + Kind string + NullFields []string + PermissionId string + Picture *UserPicture + func (s User) MarshalJSON() ([]byte, error) + type UserPicture struct + ForceSendFields []string + NullFields []string + Url string + func (s UserPicture) MarshalJSON() ([]byte, error)