Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const ActivityScope + type ActivitiesListCall struct + func (c *ActivitiesListCall) Context(ctx context.Context) *ActivitiesListCall + func (c *ActivitiesListCall) Do(opts ...googleapi.CallOption) (*ListActivitiesResponse, error) + func (c *ActivitiesListCall) DriveAncestorId(driveAncestorId string) *ActivitiesListCall + func (c *ActivitiesListCall) DriveFileId(driveFileId string) *ActivitiesListCall + func (c *ActivitiesListCall) Fields(s ...googleapi.Field) *ActivitiesListCall + func (c *ActivitiesListCall) GroupingStrategy(groupingStrategy string) *ActivitiesListCall + func (c *ActivitiesListCall) Header() http.Header + func (c *ActivitiesListCall) IfNoneMatch(entityTag string) *ActivitiesListCall + func (c *ActivitiesListCall) PageSize(pageSize int64) *ActivitiesListCall + func (c *ActivitiesListCall) PageToken(pageToken string) *ActivitiesListCall + func (c *ActivitiesListCall) Pages(ctx context.Context, f func(*ListActivitiesResponse) error) error + func (c *ActivitiesListCall) Source(source string) *ActivitiesListCall + func (c *ActivitiesListCall) UserId(userId string) *ActivitiesListCall + type ActivitiesService struct + func NewActivitiesService(s *Service) *ActivitiesService + func (r *ActivitiesService) List() *ActivitiesListCall + type Activity struct + CombinedEvent *Event + ForceSendFields []string + NullFields []string + SingleEvents []*Event + func (s *Activity) MarshalJSON() ([]byte, error) + type Event struct + AdditionalEventTypes []string + EventTimeMillis uint64 + ForceSendFields []string + FromUserDeletion bool + Move *Move + NullFields []string + PermissionChanges []*PermissionChange + PrimaryEventType string + Rename *Rename + Target *Target + User *User + func (s *Event) MarshalJSON() ([]byte, error) + type ListActivitiesResponse struct + Activities []*Activity + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListActivitiesResponse) MarshalJSON() ([]byte, error) + type Move struct + AddedParents []*Parent + ForceSendFields []string + NullFields []string + RemovedParents []*Parent + func (s *Move) MarshalJSON() ([]byte, error) + type Parent struct + ForceSendFields []string + Id string + IsRoot bool + NullFields []string + Title string + func (s *Parent) MarshalJSON() ([]byte, error) + type Permission struct + ForceSendFields []string + Name string + NullFields []string + PermissionId string + Role string + Type string + User *User + WithLink bool + func (s *Permission) MarshalJSON() ([]byte, error) + type PermissionChange struct + AddedPermissions []*Permission + ForceSendFields []string + NullFields []string + RemovedPermissions []*Permission + func (s *PermissionChange) MarshalJSON() ([]byte, error) + type Photo struct + ForceSendFields []string + NullFields []string + Url string + func (s *Photo) MarshalJSON() ([]byte, error) + type Rename struct + ForceSendFields []string + NewTitle string + NullFields []string + OldTitle string + func (s *Rename) MarshalJSON() ([]byte, error) + type Service struct + Activities *ActivitiesService + BasePath string + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Target struct + ForceSendFields []string + Id string + MimeType string + Name string + NullFields []string + func (s *Target) MarshalJSON() ([]byte, error) + type User struct + ForceSendFields []string + IsDeleted bool + IsMe bool + Name string + NullFields []string + PermissionId string + Photo *Photo + func (s *User) MarshalJSON() ([]byte, error)