Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + const DriveActivityReadonlyScope + const DriveActivityScope + type Action struct + Actor *Actor + Detail *ActionDetail + ForceSendFields []string + NullFields []string + Target *Target + TimeRange *TimeRange + Timestamp string + func (s *Action) MarshalJSON() ([]byte, error) + type ActionDetail struct + AppliedLabelChange *AppliedLabelChange + Comment *Comment + Create *Create + Delete *Delete + DlpChange *DataLeakPreventionChange + Edit *Edit + ForceSendFields []string + Move *Move + NullFields []string + PermissionChange *PermissionChange + Reference *ApplicationReference + Rename *Rename + Restore *Restore + SettingsChange *SettingsChange + func (s *ActionDetail) MarshalJSON() ([]byte, error) + type ActivityQueryCall struct + func (c *ActivityQueryCall) Context(ctx context.Context) *ActivityQueryCall + func (c *ActivityQueryCall) Do(opts ...googleapi.CallOption) (*QueryDriveActivityResponse, error) + func (c *ActivityQueryCall) Fields(s ...googleapi.Field) *ActivityQueryCall + func (c *ActivityQueryCall) Header() http.Header + func (c *ActivityQueryCall) Pages(ctx context.Context, f func(*QueryDriveActivityResponse) error) error + type ActivityService struct + func NewActivityService(s *Service) *ActivityService + func (r *ActivityService) Query(querydriveactivityrequest *QueryDriveActivityRequest) *ActivityQueryCall + type Actor struct + Administrator *Administrator + Anonymous *AnonymousUser + ForceSendFields []string + Impersonation *Impersonation + NullFields []string + System *SystemEvent + User *User + func (s *Actor) MarshalJSON() ([]byte, error) + type Administrator struct + type AnonymousUser struct + type Anyone struct + type ApplicationReference struct + ForceSendFields []string + NullFields []string + Type string + func (s *ApplicationReference) MarshalJSON() ([]byte, error) + type AppliedLabelChange struct + Changes []*AppliedLabelChangeDetail + ForceSendFields []string + NullFields []string + func (s *AppliedLabelChange) MarshalJSON() ([]byte, error) + type AppliedLabelChangeDetail struct + FieldChanges []*FieldValueChange + ForceSendFields []string + Label string + NullFields []string + Title string + Types []string + func (s *AppliedLabelChangeDetail) MarshalJSON() ([]byte, error) + type Assignment struct + AssignedUser *User + ForceSendFields []string + NullFields []string + Subtype string + func (s *Assignment) MarshalJSON() ([]byte, error) + type Comment struct + Assignment *Assignment + ForceSendFields []string + MentionedUsers []*User + NullFields []string + Post *Post + Suggestion *Suggestion + func (s *Comment) MarshalJSON() ([]byte, error) + type ConsolidationStrategy struct + ForceSendFields []string + Legacy *Legacy + None *NoConsolidation + NullFields []string + func (s *ConsolidationStrategy) MarshalJSON() ([]byte, error) + type Copy struct + ForceSendFields []string + NullFields []string + OriginalObject *TargetReference + func (s *Copy) MarshalJSON() ([]byte, error) + type Create struct + Copy *Copy + ForceSendFields []string + New *New1 + NullFields []string + Upload *Upload + func (s *Create) MarshalJSON() ([]byte, error) + type DataLeakPreventionChange struct + ForceSendFields []string + NullFields []string + Type string + func (s *DataLeakPreventionChange) MarshalJSON() ([]byte, error) + type Date struct + ForceSendFields []string + NullFields []string + Value string + func (s *Date) MarshalJSON() ([]byte, error) + type Delete struct + ForceSendFields []string + NullFields []string + Type string + func (s *Delete) MarshalJSON() ([]byte, error) + type DeletedUser struct + type Domain struct + ForceSendFields []string + LegacyId string + Name string + NullFields []string + func (s *Domain) MarshalJSON() ([]byte, error) + type Drive struct + ForceSendFields []string + Name string + NullFields []string + Root *DriveItem + Title string + func (s *Drive) MarshalJSON() ([]byte, error) + type DriveActivity struct + Actions []*Action + Actors []*Actor + ForceSendFields []string + NullFields []string + PrimaryActionDetail *ActionDetail + Targets []*Target + TimeRange *TimeRange + Timestamp string + func (s *DriveActivity) MarshalJSON() ([]byte, error) + type DriveFile struct + type DriveFolder struct + ForceSendFields []string + NullFields []string + Type string + func (s *DriveFolder) MarshalJSON() ([]byte, error) + type DriveItem struct + DriveFile *DriveFile + DriveFolder *DriveFolder + File *File + Folder *Folder + ForceSendFields []string + MimeType string + Name string + NullFields []string + Owner *Owner + Title string + func (s *DriveItem) MarshalJSON() ([]byte, error) + type DriveItemReference struct + DriveFile *DriveFile + DriveFolder *DriveFolder + File *File + Folder *Folder + ForceSendFields []string + Name string + NullFields []string + Title string + func (s *DriveItemReference) MarshalJSON() ([]byte, error) + type DriveReference struct + ForceSendFields []string + Name string + NullFields []string + Title string + func (s *DriveReference) MarshalJSON() ([]byte, error) + type Edit struct + type FieldValue struct + Date *Date + ForceSendFields []string + Integer *Integer + NullFields []string + Selection *Selection + SelectionList *SelectionList + Text *Text + TextList *TextList + User *SingleUser + UserList *UserList + func (s *FieldValue) MarshalJSON() ([]byte, error) + type FieldValueChange struct + DisplayName string + FieldId string + ForceSendFields []string + NewValue *FieldValue + NullFields []string + OldValue *FieldValue + func (s *FieldValueChange) MarshalJSON() ([]byte, error) + type File struct + type FileComment struct + ForceSendFields []string + LegacyCommentId string + LegacyDiscussionId string + LinkToDiscussion string + NullFields []string + Parent *DriveItem + func (s *FileComment) MarshalJSON() ([]byte, error) + type Folder struct + ForceSendFields []string + NullFields []string + Type string + func (s *Folder) MarshalJSON() ([]byte, error) + type Group struct + Email string + ForceSendFields []string + NullFields []string + Title string + func (s *Group) MarshalJSON() ([]byte, error) + type Impersonation struct + ForceSendFields []string + ImpersonatedUser *User + NullFields []string + func (s *Impersonation) MarshalJSON() ([]byte, error) + type Integer struct + ForceSendFields []string + NullFields []string + Value int64 + func (s *Integer) MarshalJSON() ([]byte, error) + type KnownUser struct + ForceSendFields []string + IsCurrentUser bool + NullFields []string + PersonName string + func (s *KnownUser) MarshalJSON() ([]byte, error) + type Legacy struct + type Move struct + AddedParents []*TargetReference + ForceSendFields []string + NullFields []string + RemovedParents []*TargetReference + func (s *Move) MarshalJSON() ([]byte, error) + type New1 struct + type NoConsolidation struct + type Owner struct + Domain *Domain + Drive *DriveReference + ForceSendFields []string + NullFields []string + TeamDrive *TeamDriveReference + User *User + func (s *Owner) MarshalJSON() ([]byte, error) + type Permission struct + AllowDiscovery bool + Anyone *Anyone + Domain *Domain + ForceSendFields []string + Group *Group + NullFields []string + Role string + User *User + func (s *Permission) MarshalJSON() ([]byte, error) + type PermissionChange struct + AddedPermissions []*Permission + ForceSendFields []string + NullFields []string + RemovedPermissions []*Permission + func (s *PermissionChange) MarshalJSON() ([]byte, error) + type Post struct + ForceSendFields []string + NullFields []string + Subtype string + func (s *Post) MarshalJSON() ([]byte, error) + type QueryDriveActivityRequest struct + AncestorName string + ConsolidationStrategy *ConsolidationStrategy + Filter string + ForceSendFields []string + ItemName string + NullFields []string + PageSize int64 + PageToken string + func (s *QueryDriveActivityRequest) MarshalJSON() ([]byte, error) + type QueryDriveActivityResponse struct + Activities []*DriveActivity + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *QueryDriveActivityResponse) MarshalJSON() ([]byte, error) + type Rename struct + ForceSendFields []string + NewTitle string + NullFields []string + OldTitle string + func (s *Rename) MarshalJSON() ([]byte, error) + type Restore struct + ForceSendFields []string + NullFields []string + Type string + func (s *Restore) MarshalJSON() ([]byte, error) + type RestrictionChange struct + Feature string + ForceSendFields []string + NewRestriction string + NullFields []string + func (s *RestrictionChange) MarshalJSON() ([]byte, error) + type Selection struct + DisplayName string + ForceSendFields []string + NullFields []string + Value string + func (s *Selection) MarshalJSON() ([]byte, error) + type SelectionList struct + ForceSendFields []string + NullFields []string + Values []*Selection + func (s *SelectionList) MarshalJSON() ([]byte, error) + type Service struct + Activity *ActivityService + BasePath string + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type SettingsChange struct + ForceSendFields []string + NullFields []string + RestrictionChanges []*RestrictionChange + func (s *SettingsChange) MarshalJSON() ([]byte, error) + type SingleUser struct + ForceSendFields []string + NullFields []string + Value string + func (s *SingleUser) MarshalJSON() ([]byte, error) + type Suggestion struct + ForceSendFields []string + NullFields []string + Subtype string + func (s *Suggestion) MarshalJSON() ([]byte, error) + type SystemEvent struct + ForceSendFields []string + NullFields []string + Type string + func (s *SystemEvent) MarshalJSON() ([]byte, error) + type Target struct + Drive *Drive + DriveItem *DriveItem + FileComment *FileComment + ForceSendFields []string + NullFields []string + TeamDrive *TeamDrive + func (s *Target) MarshalJSON() ([]byte, error) + type TargetReference struct + Drive *DriveReference + DriveItem *DriveItemReference + ForceSendFields []string + NullFields []string + TeamDrive *TeamDriveReference + func (s *TargetReference) MarshalJSON() ([]byte, error) + type TeamDrive struct + ForceSendFields []string + Name string + NullFields []string + Root *DriveItem + Title string + func (s *TeamDrive) MarshalJSON() ([]byte, error) + type TeamDriveReference struct + ForceSendFields []string + Name string + NullFields []string + Title string + func (s *TeamDriveReference) MarshalJSON() ([]byte, error) + type Text struct + ForceSendFields []string + NullFields []string + Value string + func (s *Text) MarshalJSON() ([]byte, error) + type TextList struct + ForceSendFields []string + NullFields []string + Values []*Text + func (s *TextList) MarshalJSON() ([]byte, error) + type TimeRange struct + EndTime string + ForceSendFields []string + NullFields []string + StartTime string + func (s *TimeRange) MarshalJSON() ([]byte, error) + type UnknownUser struct + type Upload struct + type User struct + DeletedUser *DeletedUser + ForceSendFields []string + KnownUser *KnownUser + NullFields []string + UnknownUser *UnknownUser + func (s *User) MarshalJSON() ([]byte, error) + type UserList struct + ForceSendFields []string + NullFields []string + Values []*SingleUser + func (s *UserList) MarshalJSON() ([]byte, error)