Documentation ¶
Index ¶
- Variables
- func RegisterDriveActivityServiceServer(s *grpc.Server, srv DriveActivityServiceServer)
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (x *Action) GetActor() *Actor
- func (x *Action) GetDetail() *ActionDetail
- func (x *Action) GetTarget() *Target
- func (m *Action) GetTime() isAction_Time
- func (x *Action) GetTimeRange() *TimeRange
- func (x *Action) GetTimestamp() *timestamppb.Timestamp
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- type ActionDetail
- func (*ActionDetail) Descriptor() ([]byte, []int)deprecated
- func (m *ActionDetail) GetActionDetail() isActionDetail_ActionDetail
- func (x *ActionDetail) GetComment() *Comment
- func (x *ActionDetail) GetCreate() *Create
- func (x *ActionDetail) GetDelete() *Delete
- func (x *ActionDetail) GetDlpChange() *DataLeakPreventionChange
- func (x *ActionDetail) GetEdit() *Edit
- func (x *ActionDetail) GetMove() *Move
- func (x *ActionDetail) GetPermissionChange() *PermissionChange
- func (x *ActionDetail) GetReference() *ApplicationReference
- func (x *ActionDetail) GetRename() *Rename
- func (x *ActionDetail) GetRestore() *Restore
- func (x *ActionDetail) GetSettingsChange() *SettingsChange
- func (*ActionDetail) ProtoMessage()
- func (x *ActionDetail) ProtoReflect() protoreflect.Message
- func (x *ActionDetail) Reset()
- func (x *ActionDetail) String() string
- type ActionDetail_Comment
- type ActionDetail_Create
- type ActionDetail_Delete
- type ActionDetail_DlpChange
- type ActionDetail_Edit
- type ActionDetail_Move
- type ActionDetail_PermissionChange
- type ActionDetail_Reference
- type ActionDetail_Rename
- type ActionDetail_Restore
- type ActionDetail_SettingsChange
- type Action_TimeRange
- type Action_Timestamp
- type Actor
- func (*Actor) Descriptor() ([]byte, []int)deprecated
- func (x *Actor) GetAdministrator() *Administrator
- func (x *Actor) GetAnonymous() *AnonymousUser
- func (x *Actor) GetImpersonation() *Impersonation
- func (x *Actor) GetSystem() *SystemEvent
- func (m *Actor) GetType() isActor_Type
- func (x *Actor) GetUser() *User
- func (*Actor) ProtoMessage()
- func (x *Actor) ProtoReflect() protoreflect.Message
- func (x *Actor) Reset()
- func (x *Actor) String() string
- type Actor_Administrator
- type Actor_Anonymous
- type Actor_Impersonation
- type Actor_System
- type Actor_User
- type Administrator
- type AnonymousUser
- type ApplicationReference
- func (*ApplicationReference) Descriptor() ([]byte, []int)deprecated
- func (x *ApplicationReference) GetType() ApplicationReference_Type
- func (*ApplicationReference) ProtoMessage()
- func (x *ApplicationReference) ProtoReflect() protoreflect.Message
- func (x *ApplicationReference) Reset()
- func (x *ApplicationReference) String() string
- type ApplicationReference_Type
- func (ApplicationReference_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ApplicationReference_Type) Enum() *ApplicationReference_Type
- func (ApplicationReference_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ApplicationReference_Type) Number() protoreflect.EnumNumber
- func (x ApplicationReference_Type) String() string
- func (ApplicationReference_Type) Type() protoreflect.EnumType
- type Comment
- func (*Comment) Descriptor() ([]byte, []int)deprecated
- func (x *Comment) GetAssignment() *Comment_Assignment
- func (x *Comment) GetMentionedUsers() []*User
- func (x *Comment) GetPost() *Comment_Post
- func (x *Comment) GetSuggestion() *Comment_Suggestion
- func (m *Comment) GetType() isComment_Type
- func (*Comment) ProtoMessage()
- func (x *Comment) ProtoReflect() protoreflect.Message
- func (x *Comment) Reset()
- func (x *Comment) String() string
- type Comment_Assignment
- func (*Comment_Assignment) Descriptor() ([]byte, []int)deprecated
- func (x *Comment_Assignment) GetAssignedUser() *User
- func (x *Comment_Assignment) GetSubtype() Comment_Assignment_Subtype
- func (*Comment_Assignment) ProtoMessage()
- func (x *Comment_Assignment) ProtoReflect() protoreflect.Message
- func (x *Comment_Assignment) Reset()
- func (x *Comment_Assignment) String() string
- type Comment_Assignment_
- type Comment_Assignment_Subtype
- func (Comment_Assignment_Subtype) Descriptor() protoreflect.EnumDescriptor
- func (x Comment_Assignment_Subtype) Enum() *Comment_Assignment_Subtype
- func (Comment_Assignment_Subtype) EnumDescriptor() ([]byte, []int)deprecated
- func (x Comment_Assignment_Subtype) Number() protoreflect.EnumNumber
- func (x Comment_Assignment_Subtype) String() string
- func (Comment_Assignment_Subtype) Type() protoreflect.EnumType
- type Comment_Post
- type Comment_Post_
- type Comment_Post_Subtype
- func (Comment_Post_Subtype) Descriptor() protoreflect.EnumDescriptor
- func (x Comment_Post_Subtype) Enum() *Comment_Post_Subtype
- func (Comment_Post_Subtype) EnumDescriptor() ([]byte, []int)deprecated
- func (x Comment_Post_Subtype) Number() protoreflect.EnumNumber
- func (x Comment_Post_Subtype) String() string
- func (Comment_Post_Subtype) Type() protoreflect.EnumType
- type Comment_Suggestion
- func (*Comment_Suggestion) Descriptor() ([]byte, []int)deprecated
- func (x *Comment_Suggestion) GetSubtype() Comment_Suggestion_Subtype
- func (*Comment_Suggestion) ProtoMessage()
- func (x *Comment_Suggestion) ProtoReflect() protoreflect.Message
- func (x *Comment_Suggestion) Reset()
- func (x *Comment_Suggestion) String() string
- type Comment_Suggestion_
- type Comment_Suggestion_Subtype
- func (Comment_Suggestion_Subtype) Descriptor() protoreflect.EnumDescriptor
- func (x Comment_Suggestion_Subtype) Enum() *Comment_Suggestion_Subtype
- func (Comment_Suggestion_Subtype) EnumDescriptor() ([]byte, []int)deprecated
- func (x Comment_Suggestion_Subtype) Number() protoreflect.EnumNumber
- func (x Comment_Suggestion_Subtype) String() string
- func (Comment_Suggestion_Subtype) Type() protoreflect.EnumType
- type ConsolidationStrategy
- func (*ConsolidationStrategy) Descriptor() ([]byte, []int)deprecated
- func (x *ConsolidationStrategy) GetLegacy() *ConsolidationStrategy_Legacy
- func (x *ConsolidationStrategy) GetNone() *ConsolidationStrategy_NoConsolidation
- func (m *ConsolidationStrategy) GetStrategy() isConsolidationStrategy_Strategy
- func (*ConsolidationStrategy) ProtoMessage()
- func (x *ConsolidationStrategy) ProtoReflect() protoreflect.Message
- func (x *ConsolidationStrategy) Reset()
- func (x *ConsolidationStrategy) String() string
- type ConsolidationStrategy_Legacy
- func (*ConsolidationStrategy_Legacy) Descriptor() ([]byte, []int)deprecated
- func (*ConsolidationStrategy_Legacy) ProtoMessage()
- func (x *ConsolidationStrategy_Legacy) ProtoReflect() protoreflect.Message
- func (x *ConsolidationStrategy_Legacy) Reset()
- func (x *ConsolidationStrategy_Legacy) String() string
- type ConsolidationStrategy_Legacy_
- type ConsolidationStrategy_NoConsolidation
- func (*ConsolidationStrategy_NoConsolidation) Descriptor() ([]byte, []int)deprecated
- func (*ConsolidationStrategy_NoConsolidation) ProtoMessage()
- func (x *ConsolidationStrategy_NoConsolidation) ProtoReflect() protoreflect.Message
- func (x *ConsolidationStrategy_NoConsolidation) Reset()
- func (x *ConsolidationStrategy_NoConsolidation) String() string
- type ConsolidationStrategy_None
- type Create
- func (*Create) Descriptor() ([]byte, []int)deprecated
- func (x *Create) GetCopy() *Create_Copy
- func (x *Create) GetNew() *Create_New
- func (m *Create) GetOrigin() isCreate_Origin
- func (x *Create) GetUpload() *Create_Upload
- func (*Create) ProtoMessage()
- func (x *Create) ProtoReflect() protoreflect.Message
- func (x *Create) Reset()
- func (x *Create) String() string
- type Create_Copy
- type Create_Copy_
- type Create_New
- type Create_New_
- type Create_Upload
- type Create_Upload_
- type DataLeakPreventionChange
- func (*DataLeakPreventionChange) Descriptor() ([]byte, []int)deprecated
- func (x *DataLeakPreventionChange) GetType() DataLeakPreventionChange_Type
- func (*DataLeakPreventionChange) ProtoMessage()
- func (x *DataLeakPreventionChange) ProtoReflect() protoreflect.Message
- func (x *DataLeakPreventionChange) Reset()
- func (x *DataLeakPreventionChange) String() string
- type DataLeakPreventionChange_Type
- func (DataLeakPreventionChange_Type) Descriptor() protoreflect.EnumDescriptor
- func (x DataLeakPreventionChange_Type) Enum() *DataLeakPreventionChange_Type
- func (DataLeakPreventionChange_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x DataLeakPreventionChange_Type) Number() protoreflect.EnumNumber
- func (x DataLeakPreventionChange_Type) String() string
- func (DataLeakPreventionChange_Type) Type() protoreflect.EnumType
- type Delete
- type Delete_Type
- func (Delete_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Delete_Type) Enum() *Delete_Type
- func (Delete_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Delete_Type) Number() protoreflect.EnumNumber
- func (x Delete_Type) String() string
- func (Delete_Type) Type() protoreflect.EnumType
- type Domain
- type Drive
- type DriveActivity
- func (*DriveActivity) Descriptor() ([]byte, []int)deprecated
- func (x *DriveActivity) GetActions() []*Action
- func (x *DriveActivity) GetActors() []*Actor
- func (x *DriveActivity) GetPrimaryActionDetail() *ActionDetail
- func (x *DriveActivity) GetTargets() []*Target
- func (m *DriveActivity) GetTime() isDriveActivity_Time
- func (x *DriveActivity) GetTimeRange() *TimeRange
- func (x *DriveActivity) GetTimestamp() *timestamppb.Timestamp
- func (*DriveActivity) ProtoMessage()
- func (x *DriveActivity) ProtoReflect() protoreflect.Message
- func (x *DriveActivity) Reset()
- func (x *DriveActivity) String() string
- type DriveActivityServiceClient
- type DriveActivityServiceServer
- type DriveActivity_TimeRange
- type DriveActivity_Timestamp
- type DriveItem
- func (*DriveItem) Descriptor() ([]byte, []int)deprecated
- func (x *DriveItem) GetDriveFile() *DriveItem_DriveFile
- func (x *DriveItem) GetDriveFolder() *DriveItem_DriveFolder
- func (x *DriveItem) GetFile() *DriveItem_Filedeprecated
- func (x *DriveItem) GetFolder() *DriveItem_Folderdeprecated
- func (m *DriveItem) GetItemType() isDriveItem_ItemType
- func (x *DriveItem) GetMimeType() string
- func (x *DriveItem) GetName() string
- func (x *DriveItem) GetOwner() *Owner
- func (x *DriveItem) GetTitle() string
- func (*DriveItem) ProtoMessage()
- func (x *DriveItem) ProtoReflect() protoreflect.Message
- func (x *DriveItem) Reset()
- func (x *DriveItem) String() string
- type DriveItemReference
- func (*DriveItemReference) Descriptor() ([]byte, []int)deprecated
- func (x *DriveItemReference) GetDriveFile() *DriveItem_DriveFile
- func (x *DriveItemReference) GetDriveFolder() *DriveItem_DriveFolder
- func (x *DriveItemReference) GetFile() *DriveItem_Filedeprecated
- func (x *DriveItemReference) GetFolder() *DriveItem_Folderdeprecated
- func (m *DriveItemReference) GetItemType() isDriveItemReference_ItemType
- func (x *DriveItemReference) GetName() string
- func (x *DriveItemReference) GetTitle() string
- func (*DriveItemReference) ProtoMessage()
- func (x *DriveItemReference) ProtoReflect() protoreflect.Message
- func (x *DriveItemReference) Reset()
- func (x *DriveItemReference) String() string
- type DriveItemReference_DriveFile
- type DriveItemReference_DriveFolder
- type DriveItem_DriveFile
- type DriveItem_DriveFile_
- type DriveItem_DriveFolder
- func (*DriveItem_DriveFolder) Descriptor() ([]byte, []int)deprecated
- func (x *DriveItem_DriveFolder) GetType() DriveItem_DriveFolder_Type
- func (*DriveItem_DriveFolder) ProtoMessage()
- func (x *DriveItem_DriveFolder) ProtoReflect() protoreflect.Message
- func (x *DriveItem_DriveFolder) Reset()
- func (x *DriveItem_DriveFolder) String() string
- type DriveItem_DriveFolder_
- type DriveItem_DriveFolder_Type
- func (DriveItem_DriveFolder_Type) Descriptor() protoreflect.EnumDescriptor
- func (x DriveItem_DriveFolder_Type) Enum() *DriveItem_DriveFolder_Type
- func (DriveItem_DriveFolder_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x DriveItem_DriveFolder_Type) Number() protoreflect.EnumNumber
- func (x DriveItem_DriveFolder_Type) String() string
- func (DriveItem_DriveFolder_Type) Type() protoreflect.EnumType
- type DriveItem_Filedeprecated
- type DriveItem_Folderdeprecated
- func (*DriveItem_Folder) Descriptor() ([]byte, []int)deprecated
- func (x *DriveItem_Folder) GetType() DriveItem_Folder_Type
- func (*DriveItem_Folder) ProtoMessage()
- func (x *DriveItem_Folder) ProtoReflect() protoreflect.Message
- func (x *DriveItem_Folder) Reset()
- func (x *DriveItem_Folder) String() string
- type DriveItem_Folder_Typedeprecated
- func (DriveItem_Folder_Type) Descriptor() protoreflect.EnumDescriptor
- func (x DriveItem_Folder_Type) Enum() *DriveItem_Folder_Type
- func (DriveItem_Folder_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x DriveItem_Folder_Type) Number() protoreflect.EnumNumber
- func (x DriveItem_Folder_Type) String() string
- func (DriveItem_Folder_Type) Type() protoreflect.EnumType
- type DriveReference
- func (*DriveReference) Descriptor() ([]byte, []int)deprecated
- func (x *DriveReference) GetName() string
- func (x *DriveReference) GetTitle() string
- func (*DriveReference) ProtoMessage()
- func (x *DriveReference) ProtoReflect() protoreflect.Message
- func (x *DriveReference) Reset()
- func (x *DriveReference) String() string
- type Edit
- type FileComment
- func (*FileComment) Descriptor() ([]byte, []int)deprecated
- func (x *FileComment) GetLegacyCommentId() string
- func (x *FileComment) GetLegacyDiscussionId() string
- func (x *FileComment) GetLinkToDiscussion() string
- func (x *FileComment) GetParent() *DriveItem
- func (*FileComment) ProtoMessage()
- func (x *FileComment) ProtoReflect() protoreflect.Message
- func (x *FileComment) Reset()
- func (x *FileComment) String() string
- type Group
- type Impersonation
- type Move
- type Owner
- func (*Owner) Descriptor() ([]byte, []int)deprecated
- func (x *Owner) GetDomain() *Domain
- func (x *Owner) GetDrive() *DriveReference
- func (m *Owner) GetOwner() isOwner_Owner
- func (x *Owner) GetTeamDrive() *TeamDriveReferencedeprecated
- func (x *Owner) GetUser() *User
- func (*Owner) ProtoMessage()
- func (x *Owner) ProtoReflect() protoreflect.Message
- func (x *Owner) Reset()
- func (x *Owner) String() string
- type Owner_Drive
- type Owner_User
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Permission) GetAllowDiscovery() bool
- func (x *Permission) GetAnyone() *Permission_Anyone
- func (x *Permission) GetDomain() *Domain
- func (x *Permission) GetGroup() *Group
- func (x *Permission) GetRole() Permission_Role
- func (m *Permission) GetScope() isPermission_Scope
- func (x *Permission) GetUser() *User
- func (*Permission) ProtoMessage()
- func (x *Permission) ProtoReflect() protoreflect.Message
- func (x *Permission) Reset()
- func (x *Permission) String() string
- type PermissionChange
- func (*PermissionChange) Descriptor() ([]byte, []int)deprecated
- func (x *PermissionChange) GetAddedPermissions() []*Permission
- func (x *PermissionChange) GetRemovedPermissions() []*Permission
- func (*PermissionChange) ProtoMessage()
- func (x *PermissionChange) ProtoReflect() protoreflect.Message
- func (x *PermissionChange) Reset()
- func (x *PermissionChange) String() string
- type Permission_Anyone
- type Permission_Anyone_
- type Permission_Domain
- type Permission_Group
- type Permission_Role
- func (Permission_Role) Descriptor() protoreflect.EnumDescriptor
- func (x Permission_Role) Enum() *Permission_Role
- func (Permission_Role) EnumDescriptor() ([]byte, []int)deprecated
- func (x Permission_Role) Number() protoreflect.EnumNumber
- func (x Permission_Role) String() string
- func (Permission_Role) Type() protoreflect.EnumType
- type Permission_User
- type QueryDriveActivityRequest
- func (*QueryDriveActivityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDriveActivityRequest) GetAncestorName() string
- func (x *QueryDriveActivityRequest) GetConsolidationStrategy() *ConsolidationStrategy
- func (x *QueryDriveActivityRequest) GetFilter() string
- func (x *QueryDriveActivityRequest) GetItemName() string
- func (m *QueryDriveActivityRequest) GetKey() isQueryDriveActivityRequest_Key
- func (x *QueryDriveActivityRequest) GetPageSize() int32
- func (x *QueryDriveActivityRequest) GetPageToken() string
- func (*QueryDriveActivityRequest) ProtoMessage()
- func (x *QueryDriveActivityRequest) ProtoReflect() protoreflect.Message
- func (x *QueryDriveActivityRequest) Reset()
- func (x *QueryDriveActivityRequest) String() string
- type QueryDriveActivityRequest_AncestorName
- type QueryDriveActivityRequest_ItemName
- type QueryDriveActivityResponse
- func (*QueryDriveActivityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDriveActivityResponse) GetActivities() []*DriveActivity
- func (x *QueryDriveActivityResponse) GetNextPageToken() string
- func (*QueryDriveActivityResponse) ProtoMessage()
- func (x *QueryDriveActivityResponse) ProtoReflect() protoreflect.Message
- func (x *QueryDriveActivityResponse) Reset()
- func (x *QueryDriveActivityResponse) String() string
- type Rename
- type Restore
- type Restore_Type
- func (Restore_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Restore_Type) Enum() *Restore_Type
- func (Restore_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Restore_Type) Number() protoreflect.EnumNumber
- func (x Restore_Type) String() string
- func (Restore_Type) Type() protoreflect.EnumType
- type SettingsChange
- func (*SettingsChange) Descriptor() ([]byte, []int)deprecated
- func (x *SettingsChange) GetRestrictionChanges() []*SettingsChange_RestrictionChange
- func (*SettingsChange) ProtoMessage()
- func (x *SettingsChange) ProtoReflect() protoreflect.Message
- func (x *SettingsChange) Reset()
- func (x *SettingsChange) String() string
- type SettingsChange_RestrictionChange
- func (*SettingsChange_RestrictionChange) Descriptor() ([]byte, []int)deprecated
- func (x *SettingsChange_RestrictionChange) GetFeature() SettingsChange_RestrictionChange_Feature
- func (x *SettingsChange_RestrictionChange) GetNewRestriction() SettingsChange_RestrictionChange_Restriction
- func (*SettingsChange_RestrictionChange) ProtoMessage()
- func (x *SettingsChange_RestrictionChange) ProtoReflect() protoreflect.Message
- func (x *SettingsChange_RestrictionChange) Reset()
- func (x *SettingsChange_RestrictionChange) String() string
- type SettingsChange_RestrictionChange_Feature
- func (SettingsChange_RestrictionChange_Feature) Descriptor() protoreflect.EnumDescriptor
- func (x SettingsChange_RestrictionChange_Feature) Enum() *SettingsChange_RestrictionChange_Feature
- func (SettingsChange_RestrictionChange_Feature) EnumDescriptor() ([]byte, []int)deprecated
- func (x SettingsChange_RestrictionChange_Feature) Number() protoreflect.EnumNumber
- func (x SettingsChange_RestrictionChange_Feature) String() string
- func (SettingsChange_RestrictionChange_Feature) Type() protoreflect.EnumType
- type SettingsChange_RestrictionChange_Restriction
- func (SettingsChange_RestrictionChange_Restriction) Descriptor() protoreflect.EnumDescriptor
- func (x SettingsChange_RestrictionChange_Restriction) Enum() *SettingsChange_RestrictionChange_Restriction
- func (SettingsChange_RestrictionChange_Restriction) EnumDescriptor() ([]byte, []int)deprecated
- func (x SettingsChange_RestrictionChange_Restriction) Number() protoreflect.EnumNumber
- func (x SettingsChange_RestrictionChange_Restriction) String() string
- func (SettingsChange_RestrictionChange_Restriction) Type() protoreflect.EnumType
- type SystemEvent
- type SystemEvent_Type
- func (SystemEvent_Type) Descriptor() protoreflect.EnumDescriptor
- func (x SystemEvent_Type) Enum() *SystemEvent_Type
- func (SystemEvent_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x SystemEvent_Type) Number() protoreflect.EnumNumber
- func (x SystemEvent_Type) String() string
- func (SystemEvent_Type) Type() protoreflect.EnumType
- type Target
- func (*Target) Descriptor() ([]byte, []int)deprecated
- func (x *Target) GetDrive() *Drive
- func (x *Target) GetDriveItem() *DriveItem
- func (x *Target) GetFileComment() *FileComment
- func (m *Target) GetObject() isTarget_Object
- func (x *Target) GetTeamDrive() *TeamDrivedeprecated
- func (*Target) ProtoMessage()
- func (x *Target) ProtoReflect() protoreflect.Message
- func (x *Target) Reset()
- func (x *Target) String() string
- type TargetReference
- func (*TargetReference) Descriptor() ([]byte, []int)deprecated
- func (x *TargetReference) GetDrive() *DriveReference
- func (x *TargetReference) GetDriveItem() *DriveItemReference
- func (m *TargetReference) GetObject() isTargetReference_Object
- func (x *TargetReference) GetTeamDrive() *TeamDriveReferencedeprecated
- func (*TargetReference) ProtoMessage()
- func (x *TargetReference) ProtoReflect() protoreflect.Message
- func (x *TargetReference) Reset()
- func (x *TargetReference) String() string
- type TargetReference_Drive
- type TargetReference_DriveItem
- type Target_Drive
- type Target_DriveItem
- type Target_FileComment
- type TeamDrivedeprecated
- func (*TeamDrive) Descriptor() ([]byte, []int)deprecated
- func (x *TeamDrive) GetName() string
- func (x *TeamDrive) GetRoot() *DriveItem
- func (x *TeamDrive) GetTitle() string
- func (*TeamDrive) ProtoMessage()
- func (x *TeamDrive) ProtoReflect() protoreflect.Message
- func (x *TeamDrive) Reset()
- func (x *TeamDrive) String() string
- type TeamDriveReferencedeprecated
- func (*TeamDriveReference) Descriptor() ([]byte, []int)deprecated
- func (x *TeamDriveReference) GetName() string
- func (x *TeamDriveReference) GetTitle() string
- func (*TeamDriveReference) ProtoMessage()
- func (x *TeamDriveReference) ProtoReflect() protoreflect.Message
- func (x *TeamDriveReference) Reset()
- func (x *TeamDriveReference) String() string
- type TimeRange
- func (*TimeRange) Descriptor() ([]byte, []int)deprecated
- func (x *TimeRange) GetEndTime() *timestamppb.Timestamp
- func (x *TimeRange) GetStartTime() *timestamppb.Timestamp
- func (*TimeRange) ProtoMessage()
- func (x *TimeRange) ProtoReflect() protoreflect.Message
- func (x *TimeRange) Reset()
- func (x *TimeRange) String() string
- type UnimplementedDriveActivityServiceServer
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetDeletedUser() *User_DeletedUser
- func (x *User) GetKnownUser() *User_KnownUser
- func (m *User) GetType() isUser_Type
- func (x *User) GetUnknownUser() *User_UnknownUser
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type User_DeletedUser
- type User_DeletedUser_
- type User_KnownUser
- func (*User_KnownUser) Descriptor() ([]byte, []int)deprecated
- func (x *User_KnownUser) GetIsCurrentUser() bool
- func (x *User_KnownUser) GetPersonName() string
- func (*User_KnownUser) ProtoMessage()
- func (x *User_KnownUser) ProtoReflect() protoreflect.Message
- func (x *User_KnownUser) Reset()
- func (x *User_KnownUser) String() string
- type User_KnownUser_
- type User_UnknownUser
- type User_UnknownUser_
Constants ¶
This section is empty.
Variables ¶
var ( Delete_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TRASH", 2: "PERMANENT_DELETE", } Delete_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TRASH": 1, "PERMANENT_DELETE": 2, } )
Enum value maps for Delete_Type.
var ( Restore_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "UNTRASH", } Restore_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "UNTRASH": 1, } )
Enum value maps for Restore_Type.
var ( Permission_Role_name = map[int32]string{ 0: "ROLE_UNSPECIFIED", 1: "OWNER", 2: "ORGANIZER", 3: "FILE_ORGANIZER", 4: "EDITOR", 5: "COMMENTER", 6: "VIEWER", 7: "PUBLISHED_VIEWER", } Permission_Role_value = map[string]int32{ "ROLE_UNSPECIFIED": 0, "OWNER": 1, "ORGANIZER": 2, "FILE_ORGANIZER": 3, "EDITOR": 4, "COMMENTER": 5, "VIEWER": 6, "PUBLISHED_VIEWER": 7, } )
Enum value maps for Permission_Role.
var ( Comment_Post_Subtype_name = map[int32]string{ 0: "SUBTYPE_UNSPECIFIED", 1: "ADDED", 2: "DELETED", 3: "REPLY_ADDED", 4: "REPLY_DELETED", 5: "RESOLVED", 6: "REOPENED", } Comment_Post_Subtype_value = map[string]int32{ "SUBTYPE_UNSPECIFIED": 0, "ADDED": 1, "DELETED": 2, "REPLY_ADDED": 3, "REPLY_DELETED": 4, "RESOLVED": 5, "REOPENED": 6, } )
Enum value maps for Comment_Post_Subtype.
var ( Comment_Assignment_Subtype_name = map[int32]string{ 0: "SUBTYPE_UNSPECIFIED", 1: "ADDED", 2: "DELETED", 3: "REPLY_ADDED", 4: "REPLY_DELETED", 5: "RESOLVED", 6: "REOPENED", 7: "REASSIGNED", } Comment_Assignment_Subtype_value = map[string]int32{ "SUBTYPE_UNSPECIFIED": 0, "ADDED": 1, "DELETED": 2, "REPLY_ADDED": 3, "REPLY_DELETED": 4, "RESOLVED": 5, "REOPENED": 6, "REASSIGNED": 7, } )
Enum value maps for Comment_Assignment_Subtype.
var ( Comment_Suggestion_Subtype_name = map[int32]string{ 0: "SUBTYPE_UNSPECIFIED", 1: "ADDED", 2: "DELETED", 3: "REPLY_ADDED", 4: "REPLY_DELETED", 7: "ACCEPTED", 8: "REJECTED", 9: "ACCEPT_DELETED", 10: "REJECT_DELETED", } Comment_Suggestion_Subtype_value = map[string]int32{ "SUBTYPE_UNSPECIFIED": 0, "ADDED": 1, "DELETED": 2, "REPLY_ADDED": 3, "REPLY_DELETED": 4, "ACCEPTED": 7, "REJECTED": 8, "ACCEPT_DELETED": 9, "REJECT_DELETED": 10, } )
Enum value maps for Comment_Suggestion_Subtype.
var ( DataLeakPreventionChange_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "FLAGGED", 2: "CLEARED", } DataLeakPreventionChange_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "FLAGGED": 1, "CLEARED": 2, } )
Enum value maps for DataLeakPreventionChange_Type.
var ( ApplicationReference_Type_name = map[int32]string{ 0: "UNSPECIFIED_REFERENCE_TYPE", 1: "LINK", 2: "DISCUSS", } ApplicationReference_Type_value = map[string]int32{ "UNSPECIFIED_REFERENCE_TYPE": 0, "LINK": 1, "DISCUSS": 2, } )
Enum value maps for ApplicationReference_Type.
var ( SettingsChange_RestrictionChange_Feature_name = map[int32]string{ 0: "FEATURE_UNSPECIFIED", 1: "SHARING_OUTSIDE_DOMAIN", 2: "DIRECT_SHARING", 3: "ITEM_DUPLICATION", 4: "DRIVE_FILE_STREAM", } SettingsChange_RestrictionChange_Feature_value = map[string]int32{ "FEATURE_UNSPECIFIED": 0, "SHARING_OUTSIDE_DOMAIN": 1, "DIRECT_SHARING": 2, "ITEM_DUPLICATION": 3, "DRIVE_FILE_STREAM": 4, } )
Enum value maps for SettingsChange_RestrictionChange_Feature.
var ( SettingsChange_RestrictionChange_Restriction_name = map[int32]string{ 0: "RESTRICTION_UNSPECIFIED", 1: "UNRESTRICTED", 2: "FULLY_RESTRICTED", } SettingsChange_RestrictionChange_Restriction_value = map[string]int32{ "RESTRICTION_UNSPECIFIED": 0, "UNRESTRICTED": 1, "FULLY_RESTRICTED": 2, } )
Enum value maps for SettingsChange_RestrictionChange_Restriction.
var ( SystemEvent_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "USER_DELETION", 2: "TRASH_AUTO_PURGE", } SystemEvent_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "USER_DELETION": 1, "TRASH_AUTO_PURGE": 2, } )
Enum value maps for SystemEvent_Type.
var ( DriveItem_Folder_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "MY_DRIVE_ROOT", 2: "TEAM_DRIVE_ROOT", 3: "STANDARD_FOLDER", } DriveItem_Folder_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "MY_DRIVE_ROOT": 1, "TEAM_DRIVE_ROOT": 2, "STANDARD_FOLDER": 3, } )
Enum value maps for DriveItem_Folder_Type.
var ( DriveItem_DriveFolder_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "MY_DRIVE_ROOT", 2: "SHARED_DRIVE_ROOT", 3: "STANDARD_FOLDER", } DriveItem_DriveFolder_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "MY_DRIVE_ROOT": 1, "SHARED_DRIVE_ROOT": 2, "STANDARD_FOLDER": 3, } )
Enum value maps for DriveItem_DriveFolder_Type.
var File_google_apps_drive_activity_v2_action_proto protoreflect.FileDescriptor
var File_google_apps_drive_activity_v2_actor_proto protoreflect.FileDescriptor
var File_google_apps_drive_activity_v2_common_proto protoreflect.FileDescriptor
var File_google_apps_drive_activity_v2_drive_activity_service_proto protoreflect.FileDescriptor
var File_google_apps_drive_activity_v2_query_drive_activity_request_proto protoreflect.FileDescriptor
var File_google_apps_drive_activity_v2_query_drive_activity_response_proto protoreflect.FileDescriptor
var File_google_apps_drive_activity_v2_target_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDriveActivityServiceServer ¶
func RegisterDriveActivityServiceServer(s *grpc.Server, srv DriveActivityServiceServer)
Types ¶
type Action ¶
type Action struct { // The type and detailed information about the action. Detail *ActionDetail `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"` // The actor responsible for this action (or empty if all actors are // responsible). Actor *Actor `protobuf:"bytes,3,opt,name=actor,proto3" json:"actor,omitempty"` // The target this action affects (or empty if affecting all targets). This // represents the state of the target immediately after this action occurred. Target *Target `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"` // When the action occurred (or empty if same time as entire activity). // // Types that are assignable to Time: // *Action_Timestamp // *Action_TimeRange Time isAction_Time `protobuf_oneof:"time"` // contains filtered or unexported fields }
Information about the action.
func (*Action) Descriptor
deprecated
func (*Action) GetDetail ¶
func (x *Action) GetDetail() *ActionDetail
func (*Action) GetTimeRange ¶
func (*Action) GetTimestamp ¶
func (x *Action) GetTimestamp() *timestamppb.Timestamp
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
type ActionDetail ¶
type ActionDetail struct { // Data describing the type and additional information of an action. // // Types that are assignable to ActionDetail: // *ActionDetail_Create // *ActionDetail_Edit // *ActionDetail_Move // *ActionDetail_Rename // *ActionDetail_Delete // *ActionDetail_Restore // *ActionDetail_PermissionChange // *ActionDetail_Comment // *ActionDetail_DlpChange // *ActionDetail_Reference // *ActionDetail_SettingsChange ActionDetail isActionDetail_ActionDetail `protobuf_oneof:"action_detail"` // contains filtered or unexported fields }
Data describing the type and additional information of an action.
func (*ActionDetail) Descriptor
deprecated
func (*ActionDetail) Descriptor() ([]byte, []int)
Deprecated: Use ActionDetail.ProtoReflect.Descriptor instead.
func (*ActionDetail) GetActionDetail ¶
func (m *ActionDetail) GetActionDetail() isActionDetail_ActionDetail
func (*ActionDetail) GetComment ¶
func (x *ActionDetail) GetComment() *Comment
func (*ActionDetail) GetCreate ¶
func (x *ActionDetail) GetCreate() *Create
func (*ActionDetail) GetDelete ¶
func (x *ActionDetail) GetDelete() *Delete
func (*ActionDetail) GetDlpChange ¶
func (x *ActionDetail) GetDlpChange() *DataLeakPreventionChange
func (*ActionDetail) GetEdit ¶
func (x *ActionDetail) GetEdit() *Edit
func (*ActionDetail) GetMove ¶
func (x *ActionDetail) GetMove() *Move
func (*ActionDetail) GetPermissionChange ¶
func (x *ActionDetail) GetPermissionChange() *PermissionChange
func (*ActionDetail) GetReference ¶
func (x *ActionDetail) GetReference() *ApplicationReference
func (*ActionDetail) GetRename ¶
func (x *ActionDetail) GetRename() *Rename
func (*ActionDetail) GetRestore ¶
func (x *ActionDetail) GetRestore() *Restore
func (*ActionDetail) GetSettingsChange ¶
func (x *ActionDetail) GetSettingsChange() *SettingsChange
func (*ActionDetail) ProtoMessage ¶
func (*ActionDetail) ProtoMessage()
func (*ActionDetail) ProtoReflect ¶
func (x *ActionDetail) ProtoReflect() protoreflect.Message
func (*ActionDetail) Reset ¶
func (x *ActionDetail) Reset()
func (*ActionDetail) String ¶
func (x *ActionDetail) String() string
type ActionDetail_Comment ¶
type ActionDetail_Comment struct { // A change about comments was made. Comment *Comment `protobuf:"bytes,8,opt,name=comment,proto3,oneof"` }
type ActionDetail_Create ¶
type ActionDetail_Create struct { // An object was created. Create *Create `protobuf:"bytes,1,opt,name=create,proto3,oneof"` }
type ActionDetail_Delete ¶
type ActionDetail_Delete struct { // An object was deleted. Delete *Delete `protobuf:"bytes,5,opt,name=delete,proto3,oneof"` }
type ActionDetail_DlpChange ¶
type ActionDetail_DlpChange struct { // A change happened in data leak prevention status. DlpChange *DataLeakPreventionChange `protobuf:"bytes,9,opt,name=dlp_change,json=dlpChange,proto3,oneof"` }
type ActionDetail_Edit ¶
type ActionDetail_Edit struct { // An object was edited. Edit *Edit `protobuf:"bytes,2,opt,name=edit,proto3,oneof"` }
type ActionDetail_Move ¶
type ActionDetail_Move struct { // An object was moved. Move *Move `protobuf:"bytes,3,opt,name=move,proto3,oneof"` }
type ActionDetail_PermissionChange ¶
type ActionDetail_PermissionChange struct { // The permission on an object was changed. PermissionChange *PermissionChange `protobuf:"bytes,7,opt,name=permission_change,json=permissionChange,proto3,oneof"` }
type ActionDetail_Reference ¶
type ActionDetail_Reference struct { // An object was referenced in an application outside of Drive/Docs. Reference *ApplicationReference `protobuf:"bytes,12,opt,name=reference,proto3,oneof"` }
type ActionDetail_Rename ¶
type ActionDetail_Rename struct { // An object was renamed. Rename *Rename `protobuf:"bytes,4,opt,name=rename,proto3,oneof"` }
type ActionDetail_Restore ¶
type ActionDetail_Restore struct { // A deleted object was restored. Restore *Restore `protobuf:"bytes,6,opt,name=restore,proto3,oneof"` }
type ActionDetail_SettingsChange ¶
type ActionDetail_SettingsChange struct { // Settings were changed. SettingsChange *SettingsChange `protobuf:"bytes,13,opt,name=settings_change,json=settingsChange,proto3,oneof"` }
type Action_TimeRange ¶
type Action_TimeRange struct { // The action occurred over this time range. TimeRange *TimeRange `protobuf:"bytes,6,opt,name=time_range,json=timeRange,proto3,oneof"` }
type Action_Timestamp ¶
type Action_Timestamp struct { // The action occurred at this specific time. Timestamp *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3,oneof"` }
type Actor ¶
type Actor struct { // The type of actor. // // Types that are assignable to Type: // *Actor_User // *Actor_Anonymous // *Actor_Impersonation // *Actor_System // *Actor_Administrator Type isActor_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
The actor of a Drive activity.
func (*Actor) Descriptor
deprecated
func (*Actor) GetAdministrator ¶
func (x *Actor) GetAdministrator() *Administrator
func (*Actor) GetAnonymous ¶
func (x *Actor) GetAnonymous() *AnonymousUser
func (*Actor) GetImpersonation ¶
func (x *Actor) GetImpersonation() *Impersonation
func (*Actor) GetSystem ¶
func (x *Actor) GetSystem() *SystemEvent
func (*Actor) ProtoMessage ¶
func (*Actor) ProtoMessage()
func (*Actor) ProtoReflect ¶
func (x *Actor) ProtoReflect() protoreflect.Message
type Actor_Administrator ¶
type Actor_Administrator struct { // An administrator. Administrator *Administrator `protobuf:"bytes,5,opt,name=administrator,proto3,oneof"` }
type Actor_Anonymous ¶
type Actor_Anonymous struct { // An anonymous user. Anonymous *AnonymousUser `protobuf:"bytes,2,opt,name=anonymous,proto3,oneof"` }
type Actor_Impersonation ¶
type Actor_Impersonation struct { // An account acting on behalf of another. Impersonation *Impersonation `protobuf:"bytes,3,opt,name=impersonation,proto3,oneof"` }
type Actor_System ¶
type Actor_System struct { // A non-user actor (i.e. system triggered). System *SystemEvent `protobuf:"bytes,4,opt,name=system,proto3,oneof"` }
type Actor_User ¶
type Actor_User struct { // An end user. User *User `protobuf:"bytes,1,opt,name=user,proto3,oneof"` }
type Administrator ¶
type Administrator struct {
// contains filtered or unexported fields
}
Empty message representing an administrator.
func (*Administrator) Descriptor
deprecated
func (*Administrator) Descriptor() ([]byte, []int)
Deprecated: Use Administrator.ProtoReflect.Descriptor instead.
func (*Administrator) ProtoMessage ¶
func (*Administrator) ProtoMessage()
func (*Administrator) ProtoReflect ¶
func (x *Administrator) ProtoReflect() protoreflect.Message
func (*Administrator) Reset ¶
func (x *Administrator) Reset()
func (*Administrator) String ¶
func (x *Administrator) String() string
type AnonymousUser ¶
type AnonymousUser struct {
// contains filtered or unexported fields
}
Empty message representing an anonymous user or indicating the authenticated user should be anonymized.
func (*AnonymousUser) Descriptor
deprecated
func (*AnonymousUser) Descriptor() ([]byte, []int)
Deprecated: Use AnonymousUser.ProtoReflect.Descriptor instead.
func (*AnonymousUser) ProtoMessage ¶
func (*AnonymousUser) ProtoMessage()
func (*AnonymousUser) ProtoReflect ¶
func (x *AnonymousUser) ProtoReflect() protoreflect.Message
func (*AnonymousUser) Reset ¶
func (x *AnonymousUser) Reset()
func (*AnonymousUser) String ¶
func (x *AnonymousUser) String() string
type ApplicationReference ¶
type ApplicationReference struct { // The reference type corresponding to this event. Type ApplicationReference_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.apps.drive.activity.v2.ApplicationReference_Type" json:"type,omitempty"` // contains filtered or unexported fields }
Activity in applications other than Drive.
func (*ApplicationReference) Descriptor
deprecated
func (*ApplicationReference) Descriptor() ([]byte, []int)
Deprecated: Use ApplicationReference.ProtoReflect.Descriptor instead.
func (*ApplicationReference) GetType ¶
func (x *ApplicationReference) GetType() ApplicationReference_Type
func (*ApplicationReference) ProtoMessage ¶
func (*ApplicationReference) ProtoMessage()
func (*ApplicationReference) ProtoReflect ¶
func (x *ApplicationReference) ProtoReflect() protoreflect.Message
func (*ApplicationReference) Reset ¶
func (x *ApplicationReference) Reset()
func (*ApplicationReference) String ¶
func (x *ApplicationReference) String() string
type ApplicationReference_Type ¶
type ApplicationReference_Type int32
The type of the action.
const ( // The type is not available. ApplicationReference_UNSPECIFIED_REFERENCE_TYPE ApplicationReference_Type = 0 // The links of one or more Drive items were posted. ApplicationReference_LINK ApplicationReference_Type = 1 // Comments were made regarding a Drive item. ApplicationReference_DISCUSS ApplicationReference_Type = 2 )
func (ApplicationReference_Type) Descriptor ¶
func (ApplicationReference_Type) Descriptor() protoreflect.EnumDescriptor
func (ApplicationReference_Type) Enum ¶
func (x ApplicationReference_Type) Enum() *ApplicationReference_Type
func (ApplicationReference_Type) EnumDescriptor
deprecated
func (ApplicationReference_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ApplicationReference_Type.Descriptor instead.
func (ApplicationReference_Type) Number ¶
func (x ApplicationReference_Type) Number() protoreflect.EnumNumber
func (ApplicationReference_Type) String ¶
func (x ApplicationReference_Type) String() string
func (ApplicationReference_Type) Type ¶
func (ApplicationReference_Type) Type() protoreflect.EnumType
type Comment ¶
type Comment struct { // The type of changed comment. // // Types that are assignable to Type: // *Comment_Post_ // *Comment_Assignment_ // *Comment_Suggestion_ Type isComment_Type `protobuf_oneof:"type"` // Users who are mentioned in this comment. MentionedUsers []*User `protobuf:"bytes,7,rep,name=mentioned_users,json=mentionedUsers,proto3" json:"mentioned_users,omitempty"` // contains filtered or unexported fields }
A change about comments on an object.
func (*Comment) Descriptor
deprecated
func (*Comment) GetAssignment ¶
func (x *Comment) GetAssignment() *Comment_Assignment
func (*Comment) GetMentionedUsers ¶
func (*Comment) GetPost ¶
func (x *Comment) GetPost() *Comment_Post
func (*Comment) GetSuggestion ¶
func (x *Comment) GetSuggestion() *Comment_Suggestion
func (*Comment) ProtoMessage ¶
func (*Comment) ProtoMessage()
func (*Comment) ProtoReflect ¶
func (x *Comment) ProtoReflect() protoreflect.Message
type Comment_Assignment ¶
type Comment_Assignment struct { // The sub-type of this event. Subtype Comment_Assignment_Subtype `` /* 130-byte string literal not displayed */ // The user to whom the comment was assigned. AssignedUser *User `protobuf:"bytes,7,opt,name=assigned_user,json=assignedUser,proto3" json:"assigned_user,omitempty"` // contains filtered or unexported fields }
A comment with an assignment.
func (*Comment_Assignment) Descriptor
deprecated
func (*Comment_Assignment) Descriptor() ([]byte, []int)
Deprecated: Use Comment_Assignment.ProtoReflect.Descriptor instead.
func (*Comment_Assignment) GetAssignedUser ¶
func (x *Comment_Assignment) GetAssignedUser() *User
func (*Comment_Assignment) GetSubtype ¶
func (x *Comment_Assignment) GetSubtype() Comment_Assignment_Subtype
func (*Comment_Assignment) ProtoMessage ¶
func (*Comment_Assignment) ProtoMessage()
func (*Comment_Assignment) ProtoReflect ¶
func (x *Comment_Assignment) ProtoReflect() protoreflect.Message
func (*Comment_Assignment) Reset ¶
func (x *Comment_Assignment) Reset()
func (*Comment_Assignment) String ¶
func (x *Comment_Assignment) String() string
type Comment_Assignment_ ¶
type Comment_Assignment_ struct { // A change on an assignment. Assignment *Comment_Assignment `protobuf:"bytes,2,opt,name=assignment,proto3,oneof"` }
type Comment_Assignment_Subtype ¶
type Comment_Assignment_Subtype int32
More detailed information about the change.
const ( // Subtype not available. Comment_Assignment_SUBTYPE_UNSPECIFIED Comment_Assignment_Subtype = 0 // An assignment was added. Comment_Assignment_ADDED Comment_Assignment_Subtype = 1 // An assignment was deleted. Comment_Assignment_DELETED Comment_Assignment_Subtype = 2 // An assignment reply was added. Comment_Assignment_REPLY_ADDED Comment_Assignment_Subtype = 3 // An assignment reply was deleted. Comment_Assignment_REPLY_DELETED Comment_Assignment_Subtype = 4 // An assignment was resolved. Comment_Assignment_RESOLVED Comment_Assignment_Subtype = 5 // A resolved assignment was reopened. Comment_Assignment_REOPENED Comment_Assignment_Subtype = 6 // An assignment was reassigned. Comment_Assignment_REASSIGNED Comment_Assignment_Subtype = 7 )
func (Comment_Assignment_Subtype) Descriptor ¶
func (Comment_Assignment_Subtype) Descriptor() protoreflect.EnumDescriptor
func (Comment_Assignment_Subtype) Enum ¶
func (x Comment_Assignment_Subtype) Enum() *Comment_Assignment_Subtype
func (Comment_Assignment_Subtype) EnumDescriptor
deprecated
func (Comment_Assignment_Subtype) EnumDescriptor() ([]byte, []int)
Deprecated: Use Comment_Assignment_Subtype.Descriptor instead.
func (Comment_Assignment_Subtype) Number ¶
func (x Comment_Assignment_Subtype) Number() protoreflect.EnumNumber
func (Comment_Assignment_Subtype) String ¶
func (x Comment_Assignment_Subtype) String() string
func (Comment_Assignment_Subtype) Type ¶
func (Comment_Assignment_Subtype) Type() protoreflect.EnumType
type Comment_Post ¶
type Comment_Post struct { // The sub-type of this event. Subtype Comment_Post_Subtype `protobuf:"varint,1,opt,name=subtype,proto3,enum=google.apps.drive.activity.v2.Comment_Post_Subtype" json:"subtype,omitempty"` // contains filtered or unexported fields }
A regular posted comment.
func (*Comment_Post) Descriptor
deprecated
func (*Comment_Post) Descriptor() ([]byte, []int)
Deprecated: Use Comment_Post.ProtoReflect.Descriptor instead.
func (*Comment_Post) GetSubtype ¶
func (x *Comment_Post) GetSubtype() Comment_Post_Subtype
func (*Comment_Post) ProtoMessage ¶
func (*Comment_Post) ProtoMessage()
func (*Comment_Post) ProtoReflect ¶
func (x *Comment_Post) ProtoReflect() protoreflect.Message
func (*Comment_Post) Reset ¶
func (x *Comment_Post) Reset()
func (*Comment_Post) String ¶
func (x *Comment_Post) String() string
type Comment_Post_ ¶
type Comment_Post_ struct { // A change on a regular posted comment. Post *Comment_Post `protobuf:"bytes,1,opt,name=post,proto3,oneof"` }
type Comment_Post_Subtype ¶
type Comment_Post_Subtype int32
More detailed information about the change.
const ( // Subtype not available. Comment_Post_SUBTYPE_UNSPECIFIED Comment_Post_Subtype = 0 // A post was added. Comment_Post_ADDED Comment_Post_Subtype = 1 // A post was deleted. Comment_Post_DELETED Comment_Post_Subtype = 2 // A reply was added. Comment_Post_REPLY_ADDED Comment_Post_Subtype = 3 // A reply was deleted. Comment_Post_REPLY_DELETED Comment_Post_Subtype = 4 // A posted comment was resolved. Comment_Post_RESOLVED Comment_Post_Subtype = 5 // A posted comment was reopened. Comment_Post_REOPENED Comment_Post_Subtype = 6 )
func (Comment_Post_Subtype) Descriptor ¶
func (Comment_Post_Subtype) Descriptor() protoreflect.EnumDescriptor
func (Comment_Post_Subtype) Enum ¶
func (x Comment_Post_Subtype) Enum() *Comment_Post_Subtype
func (Comment_Post_Subtype) EnumDescriptor
deprecated
func (Comment_Post_Subtype) EnumDescriptor() ([]byte, []int)
Deprecated: Use Comment_Post_Subtype.Descriptor instead.
func (Comment_Post_Subtype) Number ¶
func (x Comment_Post_Subtype) Number() protoreflect.EnumNumber
func (Comment_Post_Subtype) String ¶
func (x Comment_Post_Subtype) String() string
func (Comment_Post_Subtype) Type ¶
func (Comment_Post_Subtype) Type() protoreflect.EnumType
type Comment_Suggestion ¶
type Comment_Suggestion struct { // The sub-type of this event. Subtype Comment_Suggestion_Subtype `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
A suggestion.
func (*Comment_Suggestion) Descriptor
deprecated
func (*Comment_Suggestion) Descriptor() ([]byte, []int)
Deprecated: Use Comment_Suggestion.ProtoReflect.Descriptor instead.
func (*Comment_Suggestion) GetSubtype ¶
func (x *Comment_Suggestion) GetSubtype() Comment_Suggestion_Subtype
func (*Comment_Suggestion) ProtoMessage ¶
func (*Comment_Suggestion) ProtoMessage()
func (*Comment_Suggestion) ProtoReflect ¶
func (x *Comment_Suggestion) ProtoReflect() protoreflect.Message
func (*Comment_Suggestion) Reset ¶
func (x *Comment_Suggestion) Reset()
func (*Comment_Suggestion) String ¶
func (x *Comment_Suggestion) String() string
type Comment_Suggestion_ ¶
type Comment_Suggestion_ struct { // A change on a suggestion. Suggestion *Comment_Suggestion `protobuf:"bytes,3,opt,name=suggestion,proto3,oneof"` }
type Comment_Suggestion_Subtype ¶
type Comment_Suggestion_Subtype int32
More detailed information about the change.
const ( // Subtype not available. Comment_Suggestion_SUBTYPE_UNSPECIFIED Comment_Suggestion_Subtype = 0 // A suggestion was added. Comment_Suggestion_ADDED Comment_Suggestion_Subtype = 1 // A suggestion was deleted. Comment_Suggestion_DELETED Comment_Suggestion_Subtype = 2 // A suggestion reply was added. Comment_Suggestion_REPLY_ADDED Comment_Suggestion_Subtype = 3 // A suggestion reply was deleted. Comment_Suggestion_REPLY_DELETED Comment_Suggestion_Subtype = 4 // A suggestion was accepted. Comment_Suggestion_ACCEPTED Comment_Suggestion_Subtype = 7 // A suggestion was rejected. Comment_Suggestion_REJECTED Comment_Suggestion_Subtype = 8 // An accepted suggestion was deleted. Comment_Suggestion_ACCEPT_DELETED Comment_Suggestion_Subtype = 9 // A rejected suggestion was deleted. Comment_Suggestion_REJECT_DELETED Comment_Suggestion_Subtype = 10 )
func (Comment_Suggestion_Subtype) Descriptor ¶
func (Comment_Suggestion_Subtype) Descriptor() protoreflect.EnumDescriptor
func (Comment_Suggestion_Subtype) Enum ¶
func (x Comment_Suggestion_Subtype) Enum() *Comment_Suggestion_Subtype
func (Comment_Suggestion_Subtype) EnumDescriptor
deprecated
func (Comment_Suggestion_Subtype) EnumDescriptor() ([]byte, []int)
Deprecated: Use Comment_Suggestion_Subtype.Descriptor instead.
func (Comment_Suggestion_Subtype) Number ¶
func (x Comment_Suggestion_Subtype) Number() protoreflect.EnumNumber
func (Comment_Suggestion_Subtype) String ¶
func (x Comment_Suggestion_Subtype) String() string
func (Comment_Suggestion_Subtype) Type ¶
func (Comment_Suggestion_Subtype) Type() protoreflect.EnumType
type ConsolidationStrategy ¶
type ConsolidationStrategy struct { // How the individual activities are consolidated. // // Types that are assignable to Strategy: // *ConsolidationStrategy_None // *ConsolidationStrategy_Legacy_ Strategy isConsolidationStrategy_Strategy `protobuf_oneof:"strategy"` // contains filtered or unexported fields }
How the individual activities are consolidated. A set of activities may be consolidated into one combined activity if they are related in some way, such as one actor performing the same action on multiple targets, or multiple actors performing the same action on a single target. The strategy defines the rules for which activities are related.
func (*ConsolidationStrategy) Descriptor
deprecated
func (*ConsolidationStrategy) Descriptor() ([]byte, []int)
Deprecated: Use ConsolidationStrategy.ProtoReflect.Descriptor instead.
func (*ConsolidationStrategy) GetLegacy ¶
func (x *ConsolidationStrategy) GetLegacy() *ConsolidationStrategy_Legacy
func (*ConsolidationStrategy) GetNone ¶
func (x *ConsolidationStrategy) GetNone() *ConsolidationStrategy_NoConsolidation
func (*ConsolidationStrategy) GetStrategy ¶
func (m *ConsolidationStrategy) GetStrategy() isConsolidationStrategy_Strategy
func (*ConsolidationStrategy) ProtoMessage ¶
func (*ConsolidationStrategy) ProtoMessage()
func (*ConsolidationStrategy) ProtoReflect ¶
func (x *ConsolidationStrategy) ProtoReflect() protoreflect.Message
func (*ConsolidationStrategy) Reset ¶
func (x *ConsolidationStrategy) Reset()
func (*ConsolidationStrategy) String ¶
func (x *ConsolidationStrategy) String() string
type ConsolidationStrategy_Legacy ¶
type ConsolidationStrategy_Legacy struct {
// contains filtered or unexported fields
}
A strategy which consolidates activities using the grouping rules from the legacy V1 Activity API. Similar actions occurring within a window of time can be grouped across multiple targets (such as moving a set of files at once) or multiple actors (such as several users editing the same item). Grouping rules for this strategy are specific to each type of action.
func (*ConsolidationStrategy_Legacy) Descriptor
deprecated
func (*ConsolidationStrategy_Legacy) Descriptor() ([]byte, []int)
Deprecated: Use ConsolidationStrategy_Legacy.ProtoReflect.Descriptor instead.
func (*ConsolidationStrategy_Legacy) ProtoMessage ¶
func (*ConsolidationStrategy_Legacy) ProtoMessage()
func (*ConsolidationStrategy_Legacy) ProtoReflect ¶
func (x *ConsolidationStrategy_Legacy) ProtoReflect() protoreflect.Message
func (*ConsolidationStrategy_Legacy) Reset ¶
func (x *ConsolidationStrategy_Legacy) Reset()
func (*ConsolidationStrategy_Legacy) String ¶
func (x *ConsolidationStrategy_Legacy) String() string
type ConsolidationStrategy_Legacy_ ¶
type ConsolidationStrategy_Legacy_ struct { // The individual activities are consolidated using the legacy strategy. Legacy *ConsolidationStrategy_Legacy `protobuf:"bytes,2,opt,name=legacy,proto3,oneof"` }
type ConsolidationStrategy_NoConsolidation ¶
type ConsolidationStrategy_NoConsolidation struct {
// contains filtered or unexported fields
}
A strategy which does no consolidation of individual activities.
func (*ConsolidationStrategy_NoConsolidation) Descriptor
deprecated
func (*ConsolidationStrategy_NoConsolidation) Descriptor() ([]byte, []int)
Deprecated: Use ConsolidationStrategy_NoConsolidation.ProtoReflect.Descriptor instead.
func (*ConsolidationStrategy_NoConsolidation) ProtoMessage ¶
func (*ConsolidationStrategy_NoConsolidation) ProtoMessage()
func (*ConsolidationStrategy_NoConsolidation) ProtoReflect ¶
func (x *ConsolidationStrategy_NoConsolidation) ProtoReflect() protoreflect.Message
func (*ConsolidationStrategy_NoConsolidation) Reset ¶
func (x *ConsolidationStrategy_NoConsolidation) Reset()
func (*ConsolidationStrategy_NoConsolidation) String ¶
func (x *ConsolidationStrategy_NoConsolidation) String() string
type ConsolidationStrategy_None ¶
type ConsolidationStrategy_None struct { // The individual activities are not consolidated. None *ConsolidationStrategy_NoConsolidation `protobuf:"bytes,1,opt,name=none,proto3,oneof"` }
type Create ¶
type Create struct { // The origin of the new object. // // Types that are assignable to Origin: // *Create_New_ // *Create_Upload_ // *Create_Copy_ Origin isCreate_Origin `protobuf_oneof:"origin"` // contains filtered or unexported fields }
An object was created.
func (*Create) Descriptor
deprecated
func (*Create) GetCopy ¶
func (x *Create) GetCopy() *Create_Copy
func (*Create) GetNew ¶
func (x *Create) GetNew() *Create_New
func (*Create) GetUpload ¶
func (x *Create) GetUpload() *Create_Upload
func (*Create) ProtoMessage ¶
func (*Create) ProtoMessage()
func (*Create) ProtoReflect ¶
func (x *Create) ProtoReflect() protoreflect.Message
type Create_Copy ¶
type Create_Copy struct { // The original object. OriginalObject *TargetReference `protobuf:"bytes,1,opt,name=original_object,json=originalObject,proto3" json:"original_object,omitempty"` // contains filtered or unexported fields }
An object was created by copying an existing object.
func (*Create_Copy) Descriptor
deprecated
func (*Create_Copy) Descriptor() ([]byte, []int)
Deprecated: Use Create_Copy.ProtoReflect.Descriptor instead.
func (*Create_Copy) GetOriginalObject ¶
func (x *Create_Copy) GetOriginalObject() *TargetReference
func (*Create_Copy) ProtoMessage ¶
func (*Create_Copy) ProtoMessage()
func (*Create_Copy) ProtoReflect ¶
func (x *Create_Copy) ProtoReflect() protoreflect.Message
func (*Create_Copy) Reset ¶
func (x *Create_Copy) Reset()
func (*Create_Copy) String ¶
func (x *Create_Copy) String() string
type Create_Copy_ ¶
type Create_Copy_ struct { // If present, indicates the object was created by copying an existing Drive // object. Copy *Create_Copy `protobuf:"bytes,3,opt,name=copy,proto3,oneof"` }
type Create_New ¶
type Create_New struct {
// contains filtered or unexported fields
}
An object was created from scratch.
func (*Create_New) Descriptor
deprecated
func (*Create_New) Descriptor() ([]byte, []int)
Deprecated: Use Create_New.ProtoReflect.Descriptor instead.
func (*Create_New) ProtoMessage ¶
func (*Create_New) ProtoMessage()
func (*Create_New) ProtoReflect ¶
func (x *Create_New) ProtoReflect() protoreflect.Message
func (*Create_New) Reset ¶
func (x *Create_New) Reset()
func (*Create_New) String ¶
func (x *Create_New) String() string
type Create_New_ ¶
type Create_New_ struct { // If present, indicates the object was newly created (e.g. as a blank // document), not derived from a Drive object or external object. New *Create_New `protobuf:"bytes,1,opt,name=new,proto3,oneof"` }
type Create_Upload ¶
type Create_Upload struct {
// contains filtered or unexported fields
}
An object was uploaded into Drive.
func (*Create_Upload) Descriptor
deprecated
func (*Create_Upload) Descriptor() ([]byte, []int)
Deprecated: Use Create_Upload.ProtoReflect.Descriptor instead.
func (*Create_Upload) ProtoMessage ¶
func (*Create_Upload) ProtoMessage()
func (*Create_Upload) ProtoReflect ¶
func (x *Create_Upload) ProtoReflect() protoreflect.Message
func (*Create_Upload) Reset ¶
func (x *Create_Upload) Reset()
func (*Create_Upload) String ¶
func (x *Create_Upload) String() string
type Create_Upload_ ¶
type Create_Upload_ struct { // If present, indicates the object originated externally and was uploaded // to Drive. Upload *Create_Upload `protobuf:"bytes,2,opt,name=upload,proto3,oneof"` }
type DataLeakPreventionChange ¶
type DataLeakPreventionChange struct { // The type of Data Leak Prevention (DLP) change. Type DataLeakPreventionChange_Type `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
A change in the object's data leak prevention status.
func (*DataLeakPreventionChange) Descriptor
deprecated
func (*DataLeakPreventionChange) Descriptor() ([]byte, []int)
Deprecated: Use DataLeakPreventionChange.ProtoReflect.Descriptor instead.
func (*DataLeakPreventionChange) GetType ¶
func (x *DataLeakPreventionChange) GetType() DataLeakPreventionChange_Type
func (*DataLeakPreventionChange) ProtoMessage ¶
func (*DataLeakPreventionChange) ProtoMessage()
func (*DataLeakPreventionChange) ProtoReflect ¶
func (x *DataLeakPreventionChange) ProtoReflect() protoreflect.Message
func (*DataLeakPreventionChange) Reset ¶
func (x *DataLeakPreventionChange) Reset()
func (*DataLeakPreventionChange) String ¶
func (x *DataLeakPreventionChange) String() string
type DataLeakPreventionChange_Type ¶
type DataLeakPreventionChange_Type int32
The type of the change.
const ( // An update to the DLP state that is neither FLAGGED or CLEARED. DataLeakPreventionChange_TYPE_UNSPECIFIED DataLeakPreventionChange_Type = 0 // Document has been flagged as containing sensitive content. DataLeakPreventionChange_FLAGGED DataLeakPreventionChange_Type = 1 // Document is no longer flagged as containing sensitive content. DataLeakPreventionChange_CLEARED DataLeakPreventionChange_Type = 2 )
func (DataLeakPreventionChange_Type) Descriptor ¶
func (DataLeakPreventionChange_Type) Descriptor() protoreflect.EnumDescriptor
func (DataLeakPreventionChange_Type) Enum ¶
func (x DataLeakPreventionChange_Type) Enum() *DataLeakPreventionChange_Type
func (DataLeakPreventionChange_Type) EnumDescriptor
deprecated
func (DataLeakPreventionChange_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use DataLeakPreventionChange_Type.Descriptor instead.
func (DataLeakPreventionChange_Type) Number ¶
func (x DataLeakPreventionChange_Type) Number() protoreflect.EnumNumber
func (DataLeakPreventionChange_Type) String ¶
func (x DataLeakPreventionChange_Type) String() string
func (DataLeakPreventionChange_Type) Type ¶
func (DataLeakPreventionChange_Type) Type() protoreflect.EnumType
type Delete ¶
type Delete struct { // The type of delete action taken. Type Delete_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.apps.drive.activity.v2.Delete_Type" json:"type,omitempty"` // contains filtered or unexported fields }
An object was deleted.
func (*Delete) Descriptor
deprecated
func (*Delete) GetType ¶
func (x *Delete) GetType() Delete_Type
func (*Delete) ProtoMessage ¶
func (*Delete) ProtoMessage()
func (*Delete) ProtoReflect ¶
func (x *Delete) ProtoReflect() protoreflect.Message
type Delete_Type ¶
type Delete_Type int32
The type of deletion.
const ( // Deletion type is not available. Delete_TYPE_UNSPECIFIED Delete_Type = 0 // An object was put into the trash. Delete_TRASH Delete_Type = 1 // An object was deleted permanently. Delete_PERMANENT_DELETE Delete_Type = 2 )
func (Delete_Type) Descriptor ¶
func (Delete_Type) Descriptor() protoreflect.EnumDescriptor
func (Delete_Type) Enum ¶
func (x Delete_Type) Enum() *Delete_Type
func (Delete_Type) EnumDescriptor
deprecated
func (Delete_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Delete_Type.Descriptor instead.
func (Delete_Type) Number ¶
func (x Delete_Type) Number() protoreflect.EnumNumber
func (Delete_Type) String ¶
func (x Delete_Type) String() string
func (Delete_Type) Type ¶
func (Delete_Type) Type() protoreflect.EnumType
type Domain ¶
type Domain struct { // The name of the domain, e.g. `google.com`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // An opaque string used to identify this domain. LegacyId string `protobuf:"bytes,3,opt,name=legacy_id,json=legacyId,proto3" json:"legacy_id,omitempty"` // contains filtered or unexported fields }
Information about a domain.
func (*Domain) Descriptor
deprecated
func (*Domain) GetLegacyId ¶
func (*Domain) ProtoMessage ¶
func (*Domain) ProtoMessage()
func (*Domain) ProtoReflect ¶
func (x *Domain) ProtoReflect() protoreflect.Message
type Drive ¶
type Drive struct { // The resource name of the shared drive. The format is // `COLLECTION_ID/DRIVE_ID`. Clients should not assume a specific collection // ID for this resource name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The title of the shared drive. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // The root of this shared drive. Root *DriveItem `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
Information about a shared drive.
func (*Drive) Descriptor
deprecated
func (*Drive) ProtoMessage ¶
func (*Drive) ProtoMessage()
func (*Drive) ProtoReflect ¶
func (x *Drive) ProtoReflect() protoreflect.Message
type DriveActivity ¶
type DriveActivity struct { // Key information about the primary action for this activity. This is either // representative, or the most important, of all actions in the activity, // according to the ConsolidationStrategy in the request. PrimaryActionDetail *ActionDetail `protobuf:"bytes,2,opt,name=primary_action_detail,json=primaryActionDetail,proto3" json:"primary_action_detail,omitempty"` // All actor(s) responsible for the activity. Actors []*Actor `protobuf:"bytes,3,rep,name=actors,proto3" json:"actors,omitempty"` // Details on all actions in this activity. Actions []*Action `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` // All Google Drive objects this activity is about (e.g. file, folder, drive). // This represents the state of the target immediately after the actions // occurred. Targets []*Target `protobuf:"bytes,5,rep,name=targets,proto3" json:"targets,omitempty"` // The period of time when this activity occurred. // // Types that are assignable to Time: // *DriveActivity_Timestamp // *DriveActivity_TimeRange Time isDriveActivity_Time `protobuf_oneof:"time"` // contains filtered or unexported fields }
A single Drive activity comprising one or more Actions by one or more Actors on one or more Targets. Some Action groupings occur spontaneously, such as moving an item into a shared folder triggering a permission change. Other groupings of related Actions, such as multiple Actors editing one item or moving multiple files into a new folder, are controlled by the selection of a ConsolidationStrategy in the QueryDriveActivityRequest.
func (*DriveActivity) Descriptor
deprecated
func (*DriveActivity) Descriptor() ([]byte, []int)
Deprecated: Use DriveActivity.ProtoReflect.Descriptor instead.
func (*DriveActivity) GetActions ¶
func (x *DriveActivity) GetActions() []*Action
func (*DriveActivity) GetActors ¶
func (x *DriveActivity) GetActors() []*Actor
func (*DriveActivity) GetPrimaryActionDetail ¶
func (x *DriveActivity) GetPrimaryActionDetail() *ActionDetail
func (*DriveActivity) GetTargets ¶
func (x *DriveActivity) GetTargets() []*Target
func (*DriveActivity) GetTime ¶
func (m *DriveActivity) GetTime() isDriveActivity_Time
func (*DriveActivity) GetTimeRange ¶
func (x *DriveActivity) GetTimeRange() *TimeRange
func (*DriveActivity) GetTimestamp ¶
func (x *DriveActivity) GetTimestamp() *timestamppb.Timestamp
func (*DriveActivity) ProtoMessage ¶
func (*DriveActivity) ProtoMessage()
func (*DriveActivity) ProtoReflect ¶
func (x *DriveActivity) ProtoReflect() protoreflect.Message
func (*DriveActivity) Reset ¶
func (x *DriveActivity) Reset()
func (*DriveActivity) String ¶
func (x *DriveActivity) String() string
type DriveActivityServiceClient ¶
type DriveActivityServiceClient interface { // Query past activity in Google Drive. QueryDriveActivity(ctx context.Context, in *QueryDriveActivityRequest, opts ...grpc.CallOption) (*QueryDriveActivityResponse, error) }
DriveActivityServiceClient is the client API for DriveActivityService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDriveActivityServiceClient ¶
func NewDriveActivityServiceClient(cc grpc.ClientConnInterface) DriveActivityServiceClient
type DriveActivityServiceServer ¶
type DriveActivityServiceServer interface { // Query past activity in Google Drive. QueryDriveActivity(context.Context, *QueryDriveActivityRequest) (*QueryDriveActivityResponse, error) }
DriveActivityServiceServer is the server API for DriveActivityService service.
type DriveActivity_TimeRange ¶
type DriveActivity_TimeRange struct { // The activity occurred over this time range. TimeRange *TimeRange `protobuf:"bytes,7,opt,name=time_range,json=timeRange,proto3,oneof"` }
type DriveActivity_Timestamp ¶
type DriveActivity_Timestamp struct { // The activity occurred at this specific time. Timestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3,oneof"` }
type DriveItem ¶
type DriveItem struct { // The target Drive item. The format is `items/ITEM_ID`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The title of the Drive item. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // This field is deprecated; please use the `driveFile` field instead. // // Deprecated: Do not use. File *DriveItem_File `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"` // This field is deprecated; please use the `driveFolder` field instead. // // Deprecated: Do not use. Folder *DriveItem_Folder `protobuf:"bytes,4,opt,name=folder,proto3" json:"folder,omitempty"` // If present, this describes the type of the Drive item. // // Types that are assignable to ItemType: // *DriveItem_DriveFile_ // *DriveItem_DriveFolder_ ItemType isDriveItem_ItemType `protobuf_oneof:"item_type"` // The MIME type of the Drive item. See // https://developers.google.com/drive/v3/web/mime-types. MimeType string `protobuf:"bytes,6,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // Information about the owner of this Drive item. Owner *Owner `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
A Drive item, such as a file or folder.
func (*DriveItem) Descriptor
deprecated
func (*DriveItem) GetDriveFile ¶
func (x *DriveItem) GetDriveFile() *DriveItem_DriveFile
func (*DriveItem) GetDriveFolder ¶
func (x *DriveItem) GetDriveFolder() *DriveItem_DriveFolder
func (*DriveItem) GetFile
deprecated
func (x *DriveItem) GetFile() *DriveItem_File
Deprecated: Do not use.
func (*DriveItem) GetFolder
deprecated
func (x *DriveItem) GetFolder() *DriveItem_Folder
Deprecated: Do not use.
func (*DriveItem) GetItemType ¶
func (m *DriveItem) GetItemType() isDriveItem_ItemType
func (*DriveItem) GetMimeType ¶
func (*DriveItem) ProtoMessage ¶
func (*DriveItem) ProtoMessage()
func (*DriveItem) ProtoReflect ¶
func (x *DriveItem) ProtoReflect() protoreflect.Message
type DriveItemReference ¶
type DriveItemReference struct { // The target Drive item. The format is `items/ITEM_ID`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The title of the Drive item. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // This field is deprecated; please use the `driveFile` field instead. // // Deprecated: Do not use. File *DriveItem_File `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"` // This field is deprecated; please use the `driveFolder` field instead. // // Deprecated: Do not use. Folder *DriveItem_Folder `protobuf:"bytes,4,opt,name=folder,proto3" json:"folder,omitempty"` // If present, this describes the type of the Drive item. // // Types that are assignable to ItemType: // *DriveItemReference_DriveFile // *DriveItemReference_DriveFolder ItemType isDriveItemReference_ItemType `protobuf_oneof:"item_type"` // contains filtered or unexported fields }
A lightweight reference to a Drive item, such as a file or folder.
func (*DriveItemReference) Descriptor
deprecated
func (*DriveItemReference) Descriptor() ([]byte, []int)
Deprecated: Use DriveItemReference.ProtoReflect.Descriptor instead.
func (*DriveItemReference) GetDriveFile ¶
func (x *DriveItemReference) GetDriveFile() *DriveItem_DriveFile
func (*DriveItemReference) GetDriveFolder ¶
func (x *DriveItemReference) GetDriveFolder() *DriveItem_DriveFolder
func (*DriveItemReference) GetFile
deprecated
func (x *DriveItemReference) GetFile() *DriveItem_File
Deprecated: Do not use.
func (*DriveItemReference) GetFolder
deprecated
func (x *DriveItemReference) GetFolder() *DriveItem_Folder
Deprecated: Do not use.
func (*DriveItemReference) GetItemType ¶
func (m *DriveItemReference) GetItemType() isDriveItemReference_ItemType
func (*DriveItemReference) GetName ¶
func (x *DriveItemReference) GetName() string
func (*DriveItemReference) GetTitle ¶
func (x *DriveItemReference) GetTitle() string
func (*DriveItemReference) ProtoMessage ¶
func (*DriveItemReference) ProtoMessage()
func (*DriveItemReference) ProtoReflect ¶
func (x *DriveItemReference) ProtoReflect() protoreflect.Message
func (*DriveItemReference) Reset ¶
func (x *DriveItemReference) Reset()
func (*DriveItemReference) String ¶
func (x *DriveItemReference) String() string
type DriveItemReference_DriveFile ¶
type DriveItemReference_DriveFile struct { // The Drive item is a file. DriveFile *DriveItem_DriveFile `protobuf:"bytes,8,opt,name=drive_file,json=driveFile,proto3,oneof"` }
type DriveItemReference_DriveFolder ¶
type DriveItemReference_DriveFolder struct { // The Drive item is a folder. Includes information about the type of // folder. DriveFolder *DriveItem_DriveFolder `protobuf:"bytes,9,opt,name=drive_folder,json=driveFolder,proto3,oneof"` }
type DriveItem_DriveFile ¶
type DriveItem_DriveFile struct {
// contains filtered or unexported fields
}
A Drive item which is a file.
func (*DriveItem_DriveFile) Descriptor
deprecated
func (*DriveItem_DriveFile) Descriptor() ([]byte, []int)
Deprecated: Use DriveItem_DriveFile.ProtoReflect.Descriptor instead.
func (*DriveItem_DriveFile) ProtoMessage ¶
func (*DriveItem_DriveFile) ProtoMessage()
func (*DriveItem_DriveFile) ProtoReflect ¶
func (x *DriveItem_DriveFile) ProtoReflect() protoreflect.Message
func (*DriveItem_DriveFile) Reset ¶
func (x *DriveItem_DriveFile) Reset()
func (*DriveItem_DriveFile) String ¶
func (x *DriveItem_DriveFile) String() string
type DriveItem_DriveFile_ ¶
type DriveItem_DriveFile_ struct { // The Drive item is a file. DriveFile *DriveItem_DriveFile `protobuf:"bytes,8,opt,name=drive_file,json=driveFile,proto3,oneof"` }
type DriveItem_DriveFolder ¶
type DriveItem_DriveFolder struct { // The type of Drive folder. Type DriveItem_DriveFolder_Type `protobuf:"varint,6,opt,name=type,proto3,enum=google.apps.drive.activity.v2.DriveItem_DriveFolder_Type" json:"type,omitempty"` // contains filtered or unexported fields }
A Drive item which is a folder.
func (*DriveItem_DriveFolder) Descriptor
deprecated
func (*DriveItem_DriveFolder) Descriptor() ([]byte, []int)
Deprecated: Use DriveItem_DriveFolder.ProtoReflect.Descriptor instead.
func (*DriveItem_DriveFolder) GetType ¶
func (x *DriveItem_DriveFolder) GetType() DriveItem_DriveFolder_Type
func (*DriveItem_DriveFolder) ProtoMessage ¶
func (*DriveItem_DriveFolder) ProtoMessage()
func (*DriveItem_DriveFolder) ProtoReflect ¶
func (x *DriveItem_DriveFolder) ProtoReflect() protoreflect.Message
func (*DriveItem_DriveFolder) Reset ¶
func (x *DriveItem_DriveFolder) Reset()
func (*DriveItem_DriveFolder) String ¶
func (x *DriveItem_DriveFolder) String() string
type DriveItem_DriveFolder_ ¶
type DriveItem_DriveFolder_ struct { // The Drive item is a folder. Includes information about the type of // folder. DriveFolder *DriveItem_DriveFolder `protobuf:"bytes,9,opt,name=drive_folder,json=driveFolder,proto3,oneof"` }
type DriveItem_DriveFolder_Type ¶
type DriveItem_DriveFolder_Type int32
The type of a Drive folder.
const ( // The folder type is unknown. DriveItem_DriveFolder_TYPE_UNSPECIFIED DriveItem_DriveFolder_Type = 0 // The folder is the root of a user's MyDrive. DriveItem_DriveFolder_MY_DRIVE_ROOT DriveItem_DriveFolder_Type = 1 // The folder is the root of a shared drive. DriveItem_DriveFolder_SHARED_DRIVE_ROOT DriveItem_DriveFolder_Type = 2 // The folder is a standard, non-root, folder. DriveItem_DriveFolder_STANDARD_FOLDER DriveItem_DriveFolder_Type = 3 )
func (DriveItem_DriveFolder_Type) Descriptor ¶
func (DriveItem_DriveFolder_Type) Descriptor() protoreflect.EnumDescriptor
func (DriveItem_DriveFolder_Type) Enum ¶
func (x DriveItem_DriveFolder_Type) Enum() *DriveItem_DriveFolder_Type
func (DriveItem_DriveFolder_Type) EnumDescriptor
deprecated
func (DriveItem_DriveFolder_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use DriveItem_DriveFolder_Type.Descriptor instead.
func (DriveItem_DriveFolder_Type) Number ¶
func (x DriveItem_DriveFolder_Type) Number() protoreflect.EnumNumber
func (DriveItem_DriveFolder_Type) String ¶
func (x DriveItem_DriveFolder_Type) String() string
func (DriveItem_DriveFolder_Type) Type ¶
func (DriveItem_DriveFolder_Type) Type() protoreflect.EnumType
type DriveItem_File
deprecated
type DriveItem_File struct {
// contains filtered or unexported fields
}
This item is deprecated; please see `DriveFile` instead.
Deprecated: Do not use.
func (*DriveItem_File) Descriptor
deprecated
func (*DriveItem_File) Descriptor() ([]byte, []int)
Deprecated: Use DriveItem_File.ProtoReflect.Descriptor instead.
func (*DriveItem_File) ProtoMessage ¶
func (*DriveItem_File) ProtoMessage()
func (*DriveItem_File) ProtoReflect ¶
func (x *DriveItem_File) ProtoReflect() protoreflect.Message
func (*DriveItem_File) Reset ¶
func (x *DriveItem_File) Reset()
func (*DriveItem_File) String ¶
func (x *DriveItem_File) String() string
type DriveItem_Folder
deprecated
type DriveItem_Folder struct { // This field is deprecated; please see `DriveFolder.type` instead. Type DriveItem_Folder_Type `protobuf:"varint,6,opt,name=type,proto3,enum=google.apps.drive.activity.v2.DriveItem_Folder_Type" json:"type,omitempty"` // contains filtered or unexported fields }
This item is deprecated; please see `DriveFolder` instead.
Deprecated: Do not use.
func (*DriveItem_Folder) Descriptor
deprecated
func (*DriveItem_Folder) Descriptor() ([]byte, []int)
Deprecated: Use DriveItem_Folder.ProtoReflect.Descriptor instead.
func (*DriveItem_Folder) GetType ¶
func (x *DriveItem_Folder) GetType() DriveItem_Folder_Type
func (*DriveItem_Folder) ProtoMessage ¶
func (*DriveItem_Folder) ProtoMessage()
func (*DriveItem_Folder) ProtoReflect ¶
func (x *DriveItem_Folder) ProtoReflect() protoreflect.Message
func (*DriveItem_Folder) Reset ¶
func (x *DriveItem_Folder) Reset()
func (*DriveItem_Folder) String ¶
func (x *DriveItem_Folder) String() string
type DriveItem_Folder_Type
deprecated
type DriveItem_Folder_Type int32
This item is deprecated; please see `DriveFolder.Type` instead.
Deprecated: Do not use.
const ( // This item is deprecated; please see `DriveFolder.Type` instead. DriveItem_Folder_TYPE_UNSPECIFIED DriveItem_Folder_Type = 0 // This item is deprecated; please see `DriveFolder.Type` instead. DriveItem_Folder_MY_DRIVE_ROOT DriveItem_Folder_Type = 1 // This item is deprecated; please see `DriveFolder.Type` instead. DriveItem_Folder_TEAM_DRIVE_ROOT DriveItem_Folder_Type = 2 // This item is deprecated; please see `DriveFolder.Type` instead. DriveItem_Folder_STANDARD_FOLDER DriveItem_Folder_Type = 3 )
func (DriveItem_Folder_Type) Descriptor ¶
func (DriveItem_Folder_Type) Descriptor() protoreflect.EnumDescriptor
func (DriveItem_Folder_Type) Enum ¶
func (x DriveItem_Folder_Type) Enum() *DriveItem_Folder_Type
func (DriveItem_Folder_Type) EnumDescriptor
deprecated
func (DriveItem_Folder_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use DriveItem_Folder_Type.Descriptor instead.
func (DriveItem_Folder_Type) Number ¶
func (x DriveItem_Folder_Type) Number() protoreflect.EnumNumber
func (DriveItem_Folder_Type) String ¶
func (x DriveItem_Folder_Type) String() string
func (DriveItem_Folder_Type) Type ¶
func (DriveItem_Folder_Type) Type() protoreflect.EnumType
type DriveReference ¶
type DriveReference struct { // The resource name of the shared drive. The format is // `COLLECTION_ID/DRIVE_ID`. Clients should not assume a specific collection // ID for this resource name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The title of the shared drive. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
A lightweight reference to a shared drive.
func (*DriveReference) Descriptor
deprecated
func (*DriveReference) Descriptor() ([]byte, []int)
Deprecated: Use DriveReference.ProtoReflect.Descriptor instead.
func (*DriveReference) GetName ¶
func (x *DriveReference) GetName() string
func (*DriveReference) GetTitle ¶
func (x *DriveReference) GetTitle() string
func (*DriveReference) ProtoMessage ¶
func (*DriveReference) ProtoMessage()
func (*DriveReference) ProtoReflect ¶
func (x *DriveReference) ProtoReflect() protoreflect.Message
func (*DriveReference) Reset ¶
func (x *DriveReference) Reset()
func (*DriveReference) String ¶
func (x *DriveReference) String() string
type Edit ¶
type Edit struct {
// contains filtered or unexported fields
}
An empty message indicating an object was edited.
func (*Edit) Descriptor
deprecated
func (*Edit) ProtoMessage ¶
func (*Edit) ProtoMessage()
func (*Edit) ProtoReflect ¶
func (x *Edit) ProtoReflect() protoreflect.Message
type FileComment ¶
type FileComment struct { // The comment in the discussion thread. This identifier is an opaque string // compatible with the Drive API; see // https://developers.google.com/drive/v3/reference/comments/get LegacyCommentId string `protobuf:"bytes,1,opt,name=legacy_comment_id,json=legacyCommentId,proto3" json:"legacy_comment_id,omitempty"` // The discussion thread to which the comment was added. This identifier is an // opaque string compatible with the Drive API and references the first // comment in a discussion; see // https://developers.google.com/drive/v3/reference/comments/get LegacyDiscussionId string `protobuf:"bytes,2,opt,name=legacy_discussion_id,json=legacyDiscussionId,proto3" json:"legacy_discussion_id,omitempty"` // The link to the discussion thread containing this comment, for example, // `https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID`. LinkToDiscussion string `protobuf:"bytes,3,opt,name=link_to_discussion,json=linkToDiscussion,proto3" json:"link_to_discussion,omitempty"` // The Drive item containing this comment. Parent *DriveItem `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` // contains filtered or unexported fields }
A comment on a file.
func (*FileComment) Descriptor
deprecated
func (*FileComment) Descriptor() ([]byte, []int)
Deprecated: Use FileComment.ProtoReflect.Descriptor instead.
func (*FileComment) GetLegacyCommentId ¶
func (x *FileComment) GetLegacyCommentId() string
func (*FileComment) GetLegacyDiscussionId ¶
func (x *FileComment) GetLegacyDiscussionId() string
func (*FileComment) GetLinkToDiscussion ¶
func (x *FileComment) GetLinkToDiscussion() string
func (*FileComment) GetParent ¶
func (x *FileComment) GetParent() *DriveItem
func (*FileComment) ProtoMessage ¶
func (*FileComment) ProtoMessage()
func (*FileComment) ProtoReflect ¶
func (x *FileComment) ProtoReflect() protoreflect.Message
func (*FileComment) Reset ¶
func (x *FileComment) Reset()
func (*FileComment) String ¶
func (x *FileComment) String() string
type Group ¶
type Group struct { // The email address of the group. Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // The title of the group. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
Information about a group.
func (*Group) Descriptor
deprecated
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) ProtoReflect ¶
func (x *Group) ProtoReflect() protoreflect.Message
type Impersonation ¶
type Impersonation struct { // The impersonated user. ImpersonatedUser *User `protobuf:"bytes,1,opt,name=impersonated_user,json=impersonatedUser,proto3" json:"impersonated_user,omitempty"` // contains filtered or unexported fields }
Information about an impersonation, where an admin acts on behalf of an end user. Information about the acting admin is not currently available.
func (*Impersonation) Descriptor
deprecated
func (*Impersonation) Descriptor() ([]byte, []int)
Deprecated: Use Impersonation.ProtoReflect.Descriptor instead.
func (*Impersonation) GetImpersonatedUser ¶
func (x *Impersonation) GetImpersonatedUser() *User
func (*Impersonation) ProtoMessage ¶
func (*Impersonation) ProtoMessage()
func (*Impersonation) ProtoReflect ¶
func (x *Impersonation) ProtoReflect() protoreflect.Message
func (*Impersonation) Reset ¶
func (x *Impersonation) Reset()
func (*Impersonation) String ¶
func (x *Impersonation) String() string
type Move ¶
type Move struct { // The added parent object(s). AddedParents []*TargetReference `protobuf:"bytes,1,rep,name=added_parents,json=addedParents,proto3" json:"added_parents,omitempty"` // The removed parent object(s). RemovedParents []*TargetReference `protobuf:"bytes,2,rep,name=removed_parents,json=removedParents,proto3" json:"removed_parents,omitempty"` // contains filtered or unexported fields }
An object was moved.
func (*Move) Descriptor
deprecated
func (*Move) GetAddedParents ¶
func (x *Move) GetAddedParents() []*TargetReference
func (*Move) GetRemovedParents ¶
func (x *Move) GetRemovedParents() []*TargetReference
func (*Move) ProtoMessage ¶
func (*Move) ProtoMessage()
func (*Move) ProtoReflect ¶
func (x *Move) ProtoReflect() protoreflect.Message
type Owner ¶
type Owner struct { // The owner of the Drive item. // // Types that are assignable to Owner: // *Owner_User // *Owner_Drive Owner isOwner_Owner `protobuf_oneof:"owner"` // This field is deprecated; please use the `drive` field instead. // // Deprecated: Do not use. TeamDrive *TeamDriveReference `protobuf:"bytes,2,opt,name=team_drive,json=teamDrive,proto3" json:"team_drive,omitempty"` // The domain of the Drive item owner. Domain *Domain `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
Information about the owner of a Drive item.
func (*Owner) Descriptor
deprecated
func (*Owner) GetDrive ¶
func (x *Owner) GetDrive() *DriveReference
func (*Owner) GetTeamDrive
deprecated
func (x *Owner) GetTeamDrive() *TeamDriveReference
Deprecated: Do not use.
func (*Owner) ProtoMessage ¶
func (*Owner) ProtoMessage()
func (*Owner) ProtoReflect ¶
func (x *Owner) ProtoReflect() protoreflect.Message
type Owner_Drive ¶
type Owner_Drive struct { // The drive that owns the item. Drive *DriveReference `protobuf:"bytes,4,opt,name=drive,proto3,oneof"` }
type Owner_User ¶
type Owner_User struct { // The user that owns the Drive item. User *User `protobuf:"bytes,1,opt,name=user,proto3,oneof"` }
type Permission ¶
type Permission struct { // Indicates the // [Google Drive permissions // role](https://developers.google.com/drive/web/manage-sharing#roles). The // role determines a user's ability to read, write, and comment on items. Role Permission_Role `protobuf:"varint,1,opt,name=role,proto3,enum=google.apps.drive.activity.v2.Permission_Role" json:"role,omitempty"` // The entity granted the role. // // Types that are assignable to Scope: // *Permission_User // *Permission_Group // *Permission_Domain // *Permission_Anyone_ Scope isPermission_Scope `protobuf_oneof:"scope"` // If true, the item can be discovered (e.g. in the user's "Shared with me" // collection) without needing a link to the item. AllowDiscovery bool `protobuf:"varint,6,opt,name=allow_discovery,json=allowDiscovery,proto3" json:"allow_discovery,omitempty"` // contains filtered or unexported fields }
The permission setting of an object.
func (*Permission) Descriptor
deprecated
func (*Permission) Descriptor() ([]byte, []int)
Deprecated: Use Permission.ProtoReflect.Descriptor instead.
func (*Permission) GetAllowDiscovery ¶
func (x *Permission) GetAllowDiscovery() bool
func (*Permission) GetAnyone ¶
func (x *Permission) GetAnyone() *Permission_Anyone
func (*Permission) GetDomain ¶
func (x *Permission) GetDomain() *Domain
func (*Permission) GetGroup ¶
func (x *Permission) GetGroup() *Group
func (*Permission) GetRole ¶
func (x *Permission) GetRole() Permission_Role
func (*Permission) GetScope ¶
func (m *Permission) GetScope() isPermission_Scope
func (*Permission) GetUser ¶
func (x *Permission) GetUser() *User
func (*Permission) ProtoMessage ¶
func (*Permission) ProtoMessage()
func (*Permission) ProtoReflect ¶
func (x *Permission) ProtoReflect() protoreflect.Message
func (*Permission) Reset ¶
func (x *Permission) Reset()
func (*Permission) String ¶
func (x *Permission) String() string
type PermissionChange ¶
type PermissionChange struct { // The set of permissions added by this change. AddedPermissions []*Permission `protobuf:"bytes,1,rep,name=added_permissions,json=addedPermissions,proto3" json:"added_permissions,omitempty"` // The set of permissions removed by this change. RemovedPermissions []*Permission `protobuf:"bytes,2,rep,name=removed_permissions,json=removedPermissions,proto3" json:"removed_permissions,omitempty"` // contains filtered or unexported fields }
A change of the permission setting on an item.
func (*PermissionChange) Descriptor
deprecated
func (*PermissionChange) Descriptor() ([]byte, []int)
Deprecated: Use PermissionChange.ProtoReflect.Descriptor instead.
func (*PermissionChange) GetAddedPermissions ¶
func (x *PermissionChange) GetAddedPermissions() []*Permission
func (*PermissionChange) GetRemovedPermissions ¶
func (x *PermissionChange) GetRemovedPermissions() []*Permission
func (*PermissionChange) ProtoMessage ¶
func (*PermissionChange) ProtoMessage()
func (*PermissionChange) ProtoReflect ¶
func (x *PermissionChange) ProtoReflect() protoreflect.Message
func (*PermissionChange) Reset ¶
func (x *PermissionChange) Reset()
func (*PermissionChange) String ¶
func (x *PermissionChange) String() string
type Permission_Anyone ¶
type Permission_Anyone struct {
// contains filtered or unexported fields
}
Represents any user (including a logged out user).
func (*Permission_Anyone) Descriptor
deprecated
func (*Permission_Anyone) Descriptor() ([]byte, []int)
Deprecated: Use Permission_Anyone.ProtoReflect.Descriptor instead.
func (*Permission_Anyone) ProtoMessage ¶
func (*Permission_Anyone) ProtoMessage()
func (*Permission_Anyone) ProtoReflect ¶
func (x *Permission_Anyone) ProtoReflect() protoreflect.Message
func (*Permission_Anyone) Reset ¶
func (x *Permission_Anyone) Reset()
func (*Permission_Anyone) String ¶
func (x *Permission_Anyone) String() string
type Permission_Anyone_ ¶
type Permission_Anyone_ struct { // If set, this permission applies to anyone, even logged out users. Anyone *Permission_Anyone `protobuf:"bytes,5,opt,name=anyone,proto3,oneof"` }
type Permission_Domain ¶
type Permission_Domain struct { // The domain to whom this permission applies. Domain *Domain `protobuf:"bytes,4,opt,name=domain,proto3,oneof"` }
type Permission_Group ¶
type Permission_Group struct { // The group to whom this permission applies. Group *Group `protobuf:"bytes,3,opt,name=group,proto3,oneof"` }
type Permission_Role ¶
type Permission_Role int32
The [Google Drive permissions roles](https://developers.google.com/drive/web/manage-sharing#roles).
const ( // The role is not available. Permission_ROLE_UNSPECIFIED Permission_Role = 0 // A role granting full access. Permission_OWNER Permission_Role = 1 // A role granting the ability to manage people and settings. Permission_ORGANIZER Permission_Role = 2 // A role granting the ability to contribute and manage content. Permission_FILE_ORGANIZER Permission_Role = 3 // A role granting the ability to contribute content. This role is sometimes // also known as "writer". Permission_EDITOR Permission_Role = 4 // A role granting the ability to view and comment on content. Permission_COMMENTER Permission_Role = 5 // A role granting the ability to view content. This role is sometimes also // known as "reader". Permission_VIEWER Permission_Role = 6 // A role granting the ability to view content only after it has been // published to the web. This role is sometimes also known as "published // reader". See https://support.google.com/sites/answer/6372880 for more // information. Permission_PUBLISHED_VIEWER Permission_Role = 7 )
func (Permission_Role) Descriptor ¶
func (Permission_Role) Descriptor() protoreflect.EnumDescriptor
func (Permission_Role) Enum ¶
func (x Permission_Role) Enum() *Permission_Role
func (Permission_Role) EnumDescriptor
deprecated
func (Permission_Role) EnumDescriptor() ([]byte, []int)
Deprecated: Use Permission_Role.Descriptor instead.
func (Permission_Role) Number ¶
func (x Permission_Role) Number() protoreflect.EnumNumber
func (Permission_Role) String ¶
func (x Permission_Role) String() string
func (Permission_Role) Type ¶
func (Permission_Role) Type() protoreflect.EnumType
type Permission_User ¶
type Permission_User struct { // The user to whom this permission applies. User *User `protobuf:"bytes,2,opt,name=user,proto3,oneof"` }
type QueryDriveActivityRequest ¶
type QueryDriveActivityRequest struct { // The primary criteria in the query. The default is // ancestor_name = `items/root` if no key is specified. // // Types that are assignable to Key: // *QueryDriveActivityRequest_ItemName // *QueryDriveActivityRequest_AncestorName Key isQueryDriveActivityRequest_Key `protobuf_oneof:"key"` // Details on how to consolidate related actions that make up the activity. If // not set, then related actions are not consolidated. ConsolidationStrategy *ConsolidationStrategy `protobuf:"bytes,5,opt,name=consolidation_strategy,json=consolidationStrategy,proto3" json:"consolidation_strategy,omitempty"` // The miminum number of activities desired in the response; the server will // attempt to return at least this quanitity. The server may also return fewer // activities if it has a partial response ready before the request times out. // If not set, a default value is used. PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The token identifying which page of results to return. Set this to the // next_page_token value returned from a previous query to obtain the // following page of results. If not set, the first page of results will be // returned. PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // The filtering for items returned from this query request. The format of the // filter string is a sequence of expressions, joined by an optional "AND", // where each expression is of the form "field operator value". // // Supported fields: // // - `time`: Uses numerical operators on date values either in // terms of milliseconds since Jan 1, 1970 or in RFC 3339 format. // Examples: // - `time > 1452409200000 AND time <= 1492812924310` // - `time >= "2016-01-10T01:02:03-05:00"` // // - `detail.action_detail_case`: Uses the "has" operator (:) and // either a singular value or a list of allowed action types enclosed in // parentheses. // Examples: // - `detail.action_detail_case: RENAME` // - `detail.action_detail_case:(CREATE EDIT)` // - `-detail.action_detail_case:MOVE` Filter string `protobuf:"bytes,8,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
The request message for querying Drive activity.
func (*QueryDriveActivityRequest) Descriptor
deprecated
func (*QueryDriveActivityRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryDriveActivityRequest.ProtoReflect.Descriptor instead.
func (*QueryDriveActivityRequest) GetAncestorName ¶
func (x *QueryDriveActivityRequest) GetAncestorName() string
func (*QueryDriveActivityRequest) GetConsolidationStrategy ¶
func (x *QueryDriveActivityRequest) GetConsolidationStrategy() *ConsolidationStrategy
func (*QueryDriveActivityRequest) GetFilter ¶
func (x *QueryDriveActivityRequest) GetFilter() string
func (*QueryDriveActivityRequest) GetItemName ¶
func (x *QueryDriveActivityRequest) GetItemName() string
func (*QueryDriveActivityRequest) GetKey ¶
func (m *QueryDriveActivityRequest) GetKey() isQueryDriveActivityRequest_Key
func (*QueryDriveActivityRequest) GetPageSize ¶
func (x *QueryDriveActivityRequest) GetPageSize() int32
func (*QueryDriveActivityRequest) GetPageToken ¶
func (x *QueryDriveActivityRequest) GetPageToken() string
func (*QueryDriveActivityRequest) ProtoMessage ¶
func (*QueryDriveActivityRequest) ProtoMessage()
func (*QueryDriveActivityRequest) ProtoReflect ¶
func (x *QueryDriveActivityRequest) ProtoReflect() protoreflect.Message
func (*QueryDriveActivityRequest) Reset ¶
func (x *QueryDriveActivityRequest) Reset()
func (*QueryDriveActivityRequest) String ¶
func (x *QueryDriveActivityRequest) String() string
type QueryDriveActivityRequest_AncestorName ¶
type QueryDriveActivityRequest_AncestorName struct { // Return activities for this Drive folder and all children and descendants. // The format is `items/ITEM_ID`. AncestorName string `protobuf:"bytes,2,opt,name=ancestor_name,json=ancestorName,proto3,oneof"` }
type QueryDriveActivityRequest_ItemName ¶
type QueryDriveActivityRequest_ItemName struct { // Return activities for this Drive item. The format is // `items/ITEM_ID`. ItemName string `protobuf:"bytes,1,opt,name=item_name,json=itemName,proto3,oneof"` }
type QueryDriveActivityResponse ¶
type QueryDriveActivityResponse struct { // List of activity requested. Activities []*DriveActivity `protobuf:"bytes,1,rep,name=activities,proto3" json:"activities,omitempty"` // Token to retrieve the next page of results, or // empty if there are no more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for querying Drive activity.
func (*QueryDriveActivityResponse) Descriptor
deprecated
func (*QueryDriveActivityResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryDriveActivityResponse.ProtoReflect.Descriptor instead.
func (*QueryDriveActivityResponse) GetActivities ¶
func (x *QueryDriveActivityResponse) GetActivities() []*DriveActivity
func (*QueryDriveActivityResponse) GetNextPageToken ¶
func (x *QueryDriveActivityResponse) GetNextPageToken() string
func (*QueryDriveActivityResponse) ProtoMessage ¶
func (*QueryDriveActivityResponse) ProtoMessage()
func (*QueryDriveActivityResponse) ProtoReflect ¶
func (x *QueryDriveActivityResponse) ProtoReflect() protoreflect.Message
func (*QueryDriveActivityResponse) Reset ¶
func (x *QueryDriveActivityResponse) Reset()
func (*QueryDriveActivityResponse) String ¶
func (x *QueryDriveActivityResponse) String() string
type Rename ¶
type Rename struct { // The previous title of the drive object. OldTitle string `protobuf:"bytes,1,opt,name=old_title,json=oldTitle,proto3" json:"old_title,omitempty"` // The new title of the drive object. NewTitle string `protobuf:"bytes,2,opt,name=new_title,json=newTitle,proto3" json:"new_title,omitempty"` // contains filtered or unexported fields }
An object was renamed.
func (*Rename) Descriptor
deprecated
func (*Rename) GetNewTitle ¶
func (*Rename) GetOldTitle ¶
func (*Rename) ProtoMessage ¶
func (*Rename) ProtoMessage()
func (*Rename) ProtoReflect ¶
func (x *Rename) ProtoReflect() protoreflect.Message
type Restore ¶
type Restore struct { // The type of restore action taken. Type Restore_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.apps.drive.activity.v2.Restore_Type" json:"type,omitempty"` // contains filtered or unexported fields }
A deleted object was restored.
func (*Restore) Descriptor
deprecated
func (*Restore) GetType ¶
func (x *Restore) GetType() Restore_Type
func (*Restore) ProtoMessage ¶
func (*Restore) ProtoMessage()
func (*Restore) ProtoReflect ¶
func (x *Restore) ProtoReflect() protoreflect.Message
type Restore_Type ¶
type Restore_Type int32
The type of restoration.
const ( // The type is not available. Restore_TYPE_UNSPECIFIED Restore_Type = 0 // An object was restored from the trash. Restore_UNTRASH Restore_Type = 1 )
func (Restore_Type) Descriptor ¶
func (Restore_Type) Descriptor() protoreflect.EnumDescriptor
func (Restore_Type) Enum ¶
func (x Restore_Type) Enum() *Restore_Type
func (Restore_Type) EnumDescriptor
deprecated
func (Restore_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Restore_Type.Descriptor instead.
func (Restore_Type) Number ¶
func (x Restore_Type) Number() protoreflect.EnumNumber
func (Restore_Type) String ¶
func (x Restore_Type) String() string
func (Restore_Type) Type ¶
func (Restore_Type) Type() protoreflect.EnumType
type SettingsChange ¶
type SettingsChange struct { // The set of changes made to restrictions. RestrictionChanges []*SettingsChange_RestrictionChange `protobuf:"bytes,1,rep,name=restriction_changes,json=restrictionChanges,proto3" json:"restriction_changes,omitempty"` // contains filtered or unexported fields }
Information about settings changes.
func (*SettingsChange) Descriptor
deprecated
func (*SettingsChange) Descriptor() ([]byte, []int)
Deprecated: Use SettingsChange.ProtoReflect.Descriptor instead.
func (*SettingsChange) GetRestrictionChanges ¶
func (x *SettingsChange) GetRestrictionChanges() []*SettingsChange_RestrictionChange
func (*SettingsChange) ProtoMessage ¶
func (*SettingsChange) ProtoMessage()
func (*SettingsChange) ProtoReflect ¶
func (x *SettingsChange) ProtoReflect() protoreflect.Message
func (*SettingsChange) Reset ¶
func (x *SettingsChange) Reset()
func (*SettingsChange) String ¶
func (x *SettingsChange) String() string
type SettingsChange_RestrictionChange ¶
type SettingsChange_RestrictionChange struct { // The feature which had a change in restriction policy. Feature SettingsChange_RestrictionChange_Feature `` /* 144-byte string literal not displayed */ // The restriction in place after the change. NewRestriction SettingsChange_RestrictionChange_Restriction `` /* 184-byte string literal not displayed */ // contains filtered or unexported fields }
Information about restriction policy changes to a feature.
func (*SettingsChange_RestrictionChange) Descriptor
deprecated
func (*SettingsChange_RestrictionChange) Descriptor() ([]byte, []int)
Deprecated: Use SettingsChange_RestrictionChange.ProtoReflect.Descriptor instead.
func (*SettingsChange_RestrictionChange) GetFeature ¶
func (x *SettingsChange_RestrictionChange) GetFeature() SettingsChange_RestrictionChange_Feature
func (*SettingsChange_RestrictionChange) GetNewRestriction ¶
func (x *SettingsChange_RestrictionChange) GetNewRestriction() SettingsChange_RestrictionChange_Restriction
func (*SettingsChange_RestrictionChange) ProtoMessage ¶
func (*SettingsChange_RestrictionChange) ProtoMessage()
func (*SettingsChange_RestrictionChange) ProtoReflect ¶
func (x *SettingsChange_RestrictionChange) ProtoReflect() protoreflect.Message
func (*SettingsChange_RestrictionChange) Reset ¶
func (x *SettingsChange_RestrictionChange) Reset()
func (*SettingsChange_RestrictionChange) String ¶
func (x *SettingsChange_RestrictionChange) String() string
type SettingsChange_RestrictionChange_Feature ¶
type SettingsChange_RestrictionChange_Feature int32
The feature which had changes to its restriction policy.
const ( // The feature which changed restriction settings was not available. SettingsChange_RestrictionChange_FEATURE_UNSPECIFIED SettingsChange_RestrictionChange_Feature = 0 // When restricted, this prevents items from being shared outside the // domain. SettingsChange_RestrictionChange_SHARING_OUTSIDE_DOMAIN SettingsChange_RestrictionChange_Feature = 1 // When restricted, this prevents direct sharing of individual items. SettingsChange_RestrictionChange_DIRECT_SHARING SettingsChange_RestrictionChange_Feature = 2 // When restricted, this prevents actions like copy, download, and print // that might result in uncontrolled duplicates of items. SettingsChange_RestrictionChange_ITEM_DUPLICATION SettingsChange_RestrictionChange_Feature = 3 // When restricted, this prevents use of Drive File Stream. SettingsChange_RestrictionChange_DRIVE_FILE_STREAM SettingsChange_RestrictionChange_Feature = 4 )
func (SettingsChange_RestrictionChange_Feature) Descriptor ¶
func (SettingsChange_RestrictionChange_Feature) Descriptor() protoreflect.EnumDescriptor
func (SettingsChange_RestrictionChange_Feature) EnumDescriptor
deprecated
func (SettingsChange_RestrictionChange_Feature) EnumDescriptor() ([]byte, []int)
Deprecated: Use SettingsChange_RestrictionChange_Feature.Descriptor instead.
func (SettingsChange_RestrictionChange_Feature) Number ¶
func (x SettingsChange_RestrictionChange_Feature) Number() protoreflect.EnumNumber
func (SettingsChange_RestrictionChange_Feature) String ¶
func (x SettingsChange_RestrictionChange_Feature) String() string
func (SettingsChange_RestrictionChange_Feature) Type ¶
func (SettingsChange_RestrictionChange_Feature) Type() protoreflect.EnumType
type SettingsChange_RestrictionChange_Restriction ¶
type SettingsChange_RestrictionChange_Restriction int32
The restriction applicable to a feature.
const ( // The type of restriction is not available. SettingsChange_RestrictionChange_RESTRICTION_UNSPECIFIED SettingsChange_RestrictionChange_Restriction = 0 // The feature is available without restriction. SettingsChange_RestrictionChange_UNRESTRICTED SettingsChange_RestrictionChange_Restriction = 1 // The use of this feature is fully restricted. SettingsChange_RestrictionChange_FULLY_RESTRICTED SettingsChange_RestrictionChange_Restriction = 2 )
func (SettingsChange_RestrictionChange_Restriction) Descriptor ¶
func (SettingsChange_RestrictionChange_Restriction) Descriptor() protoreflect.EnumDescriptor
func (SettingsChange_RestrictionChange_Restriction) EnumDescriptor
deprecated
func (SettingsChange_RestrictionChange_Restriction) EnumDescriptor() ([]byte, []int)
Deprecated: Use SettingsChange_RestrictionChange_Restriction.Descriptor instead.
func (SettingsChange_RestrictionChange_Restriction) Number ¶
func (x SettingsChange_RestrictionChange_Restriction) Number() protoreflect.EnumNumber
func (SettingsChange_RestrictionChange_Restriction) String ¶
func (x SettingsChange_RestrictionChange_Restriction) String() string
func (SettingsChange_RestrictionChange_Restriction) Type ¶
func (SettingsChange_RestrictionChange_Restriction) Type() protoreflect.EnumType
type SystemEvent ¶
type SystemEvent struct { // The type of the system event that may triggered activity. Type SystemEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.apps.drive.activity.v2.SystemEvent_Type" json:"type,omitempty"` // contains filtered or unexported fields }
Event triggered by system operations instead of end users.
func (*SystemEvent) Descriptor
deprecated
func (*SystemEvent) Descriptor() ([]byte, []int)
Deprecated: Use SystemEvent.ProtoReflect.Descriptor instead.
func (*SystemEvent) GetType ¶
func (x *SystemEvent) GetType() SystemEvent_Type
func (*SystemEvent) ProtoMessage ¶
func (*SystemEvent) ProtoMessage()
func (*SystemEvent) ProtoReflect ¶
func (x *SystemEvent) ProtoReflect() protoreflect.Message
func (*SystemEvent) Reset ¶
func (x *SystemEvent) Reset()
func (*SystemEvent) String ¶
func (x *SystemEvent) String() string
type SystemEvent_Type ¶
type SystemEvent_Type int32
The types of system events that may trigger activity.
const ( // The event type is unspecified. SystemEvent_TYPE_UNSPECIFIED SystemEvent_Type = 0 // The event is a consequence of a user account being deleted. SystemEvent_USER_DELETION SystemEvent_Type = 1 // The event is due to the system automatically purging trash. SystemEvent_TRASH_AUTO_PURGE SystemEvent_Type = 2 )
func (SystemEvent_Type) Descriptor ¶
func (SystemEvent_Type) Descriptor() protoreflect.EnumDescriptor
func (SystemEvent_Type) Enum ¶
func (x SystemEvent_Type) Enum() *SystemEvent_Type
func (SystemEvent_Type) EnumDescriptor
deprecated
func (SystemEvent_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use SystemEvent_Type.Descriptor instead.
func (SystemEvent_Type) Number ¶
func (x SystemEvent_Type) Number() protoreflect.EnumNumber
func (SystemEvent_Type) String ¶
func (x SystemEvent_Type) String() string
func (SystemEvent_Type) Type ¶
func (SystemEvent_Type) Type() protoreflect.EnumType
type Target ¶
type Target struct { // The type of target object. // // Types that are assignable to Object: // *Target_DriveItem // *Target_Drive // *Target_FileComment Object isTarget_Object `protobuf_oneof:"object"` // This field is deprecated; please use the `drive` field instead. // // Deprecated: Do not use. TeamDrive *TeamDrive `protobuf:"bytes,2,opt,name=team_drive,json=teamDrive,proto3" json:"team_drive,omitempty"` // contains filtered or unexported fields }
Information about the target of activity.
func (*Target) Descriptor
deprecated
func (*Target) GetDriveItem ¶
func (*Target) GetFileComment ¶
func (x *Target) GetFileComment() *FileComment
func (*Target) GetTeamDrive
deprecated
func (*Target) ProtoMessage ¶
func (*Target) ProtoMessage()
func (*Target) ProtoReflect ¶
func (x *Target) ProtoReflect() protoreflect.Message
type TargetReference ¶
type TargetReference struct { // The type of target object. // // Types that are assignable to Object: // *TargetReference_DriveItem // *TargetReference_Drive Object isTargetReference_Object `protobuf_oneof:"object"` // This field is deprecated; please use the `drive` field instead. // // Deprecated: Do not use. TeamDrive *TeamDriveReference `protobuf:"bytes,2,opt,name=team_drive,json=teamDrive,proto3" json:"team_drive,omitempty"` // contains filtered or unexported fields }
A lightweight reference to the target of activity.
func (*TargetReference) Descriptor
deprecated
func (*TargetReference) Descriptor() ([]byte, []int)
Deprecated: Use TargetReference.ProtoReflect.Descriptor instead.
func (*TargetReference) GetDrive ¶
func (x *TargetReference) GetDrive() *DriveReference
func (*TargetReference) GetDriveItem ¶
func (x *TargetReference) GetDriveItem() *DriveItemReference
func (*TargetReference) GetObject ¶
func (m *TargetReference) GetObject() isTargetReference_Object
func (*TargetReference) GetTeamDrive
deprecated
func (x *TargetReference) GetTeamDrive() *TeamDriveReference
Deprecated: Do not use.
func (*TargetReference) ProtoMessage ¶
func (*TargetReference) ProtoMessage()
func (*TargetReference) ProtoReflect ¶
func (x *TargetReference) ProtoReflect() protoreflect.Message
func (*TargetReference) Reset ¶
func (x *TargetReference) Reset()
func (*TargetReference) String ¶
func (x *TargetReference) String() string
type TargetReference_Drive ¶
type TargetReference_Drive struct { // The target is a shared drive. Drive *DriveReference `protobuf:"bytes,3,opt,name=drive,proto3,oneof"` }
type TargetReference_DriveItem ¶
type TargetReference_DriveItem struct { // The target is a Drive item. DriveItem *DriveItemReference `protobuf:"bytes,1,opt,name=drive_item,json=driveItem,proto3,oneof"` }
type Target_Drive ¶
type Target_Drive struct { // The target is a shared drive. Drive *Drive `protobuf:"bytes,5,opt,name=drive,proto3,oneof"` }
type Target_DriveItem ¶
type Target_DriveItem struct { // The target is a Drive item. DriveItem *DriveItem `protobuf:"bytes,1,opt,name=drive_item,json=driveItem,proto3,oneof"` }
type Target_FileComment ¶
type Target_FileComment struct { // The target is a comment on a Drive file. FileComment *FileComment `protobuf:"bytes,3,opt,name=file_comment,json=fileComment,proto3,oneof"` }
type TeamDrive
deprecated
type TeamDrive struct { // This field is deprecated; please see `Drive.name` instead. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // This field is deprecated; please see `Drive.title` instead. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // This field is deprecated; please see `Drive.root` instead. Root *DriveItem `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
This item is deprecated; please see `Drive` instead.
Deprecated: Do not use.
func (*TeamDrive) Descriptor
deprecated
func (*TeamDrive) ProtoMessage ¶
func (*TeamDrive) ProtoMessage()
func (*TeamDrive) ProtoReflect ¶
func (x *TeamDrive) ProtoReflect() protoreflect.Message
type TeamDriveReference
deprecated
type TeamDriveReference struct { // This field is deprecated; please see `DriveReference.name` instead. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // This field is deprecated; please see `DriveReference.title` instead. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
This item is deprecated; please see `DriveReference` instead.
Deprecated: Do not use.
func (*TeamDriveReference) Descriptor
deprecated
func (*TeamDriveReference) Descriptor() ([]byte, []int)
Deprecated: Use TeamDriveReference.ProtoReflect.Descriptor instead.
func (*TeamDriveReference) GetName ¶
func (x *TeamDriveReference) GetName() string
func (*TeamDriveReference) GetTitle ¶
func (x *TeamDriveReference) GetTitle() string
func (*TeamDriveReference) ProtoMessage ¶
func (*TeamDriveReference) ProtoMessage()
func (*TeamDriveReference) ProtoReflect ¶
func (x *TeamDriveReference) ProtoReflect() protoreflect.Message
func (*TeamDriveReference) Reset ¶
func (x *TeamDriveReference) Reset()
func (*TeamDriveReference) String ¶
func (x *TeamDriveReference) String() string
type TimeRange ¶
type TimeRange struct { // The start of the time range. StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The end of the time range. EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // contains filtered or unexported fields }
Information about time ranges.
func (*TimeRange) Descriptor
deprecated
func (*TimeRange) GetEndTime ¶
func (x *TimeRange) GetEndTime() *timestamppb.Timestamp
func (*TimeRange) GetStartTime ¶
func (x *TimeRange) GetStartTime() *timestamppb.Timestamp
func (*TimeRange) ProtoMessage ¶
func (*TimeRange) ProtoMessage()
func (*TimeRange) ProtoReflect ¶
func (x *TimeRange) ProtoReflect() protoreflect.Message
type UnimplementedDriveActivityServiceServer ¶
type UnimplementedDriveActivityServiceServer struct { }
UnimplementedDriveActivityServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedDriveActivityServiceServer) QueryDriveActivity ¶
func (*UnimplementedDriveActivityServiceServer) QueryDriveActivity(context.Context, *QueryDriveActivityRequest) (*QueryDriveActivityResponse, error)
type User ¶
type User struct { // The type of user, such as known, unknown, and deleted. // // Types that are assignable to Type: // *User_KnownUser_ // *User_DeletedUser_ // *User_UnknownUser_ Type isUser_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
Information about an end user.
func (*User) Descriptor
deprecated
func (*User) GetDeletedUser ¶
func (x *User) GetDeletedUser() *User_DeletedUser
func (*User) GetKnownUser ¶
func (x *User) GetKnownUser() *User_KnownUser
func (*User) GetUnknownUser ¶
func (x *User) GetUnknownUser() *User_UnknownUser
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type User_DeletedUser ¶
type User_DeletedUser struct {
// contains filtered or unexported fields
}
A user whose account has since been deleted.
func (*User_DeletedUser) Descriptor
deprecated
func (*User_DeletedUser) Descriptor() ([]byte, []int)
Deprecated: Use User_DeletedUser.ProtoReflect.Descriptor instead.
func (*User_DeletedUser) ProtoMessage ¶
func (*User_DeletedUser) ProtoMessage()
func (*User_DeletedUser) ProtoReflect ¶
func (x *User_DeletedUser) ProtoReflect() protoreflect.Message
func (*User_DeletedUser) Reset ¶
func (x *User_DeletedUser) Reset()
func (*User_DeletedUser) String ¶
func (x *User_DeletedUser) String() string
type User_DeletedUser_ ¶
type User_DeletedUser_ struct { // A user whose account has since been deleted. DeletedUser *User_DeletedUser `protobuf:"bytes,3,opt,name=deleted_user,json=deletedUser,proto3,oneof"` }
type User_KnownUser ¶
type User_KnownUser struct { // The identifier for this user that can be used with the People API to get // more information. The format is `people/ACCOUNT_ID`. See // https://developers.google.com/people/. PersonName string `protobuf:"bytes,1,opt,name=person_name,json=personName,proto3" json:"person_name,omitempty"` // True if this is the user making the request. IsCurrentUser bool `protobuf:"varint,2,opt,name=is_current_user,json=isCurrentUser,proto3" json:"is_current_user,omitempty"` // contains filtered or unexported fields }
A known user.
func (*User_KnownUser) Descriptor
deprecated
func (*User_KnownUser) Descriptor() ([]byte, []int)
Deprecated: Use User_KnownUser.ProtoReflect.Descriptor instead.
func (*User_KnownUser) GetIsCurrentUser ¶
func (x *User_KnownUser) GetIsCurrentUser() bool
func (*User_KnownUser) GetPersonName ¶
func (x *User_KnownUser) GetPersonName() string
func (*User_KnownUser) ProtoMessage ¶
func (*User_KnownUser) ProtoMessage()
func (*User_KnownUser) ProtoReflect ¶
func (x *User_KnownUser) ProtoReflect() protoreflect.Message
func (*User_KnownUser) Reset ¶
func (x *User_KnownUser) Reset()
func (*User_KnownUser) String ¶
func (x *User_KnownUser) String() string
type User_KnownUser_ ¶
type User_KnownUser_ struct { // A known user. KnownUser *User_KnownUser `protobuf:"bytes,2,opt,name=known_user,json=knownUser,proto3,oneof"` }
type User_UnknownUser ¶
type User_UnknownUser struct {
// contains filtered or unexported fields
}
A user about whom nothing is currently known.
func (*User_UnknownUser) Descriptor
deprecated
func (*User_UnknownUser) Descriptor() ([]byte, []int)
Deprecated: Use User_UnknownUser.ProtoReflect.Descriptor instead.
func (*User_UnknownUser) ProtoMessage ¶
func (*User_UnknownUser) ProtoMessage()
func (*User_UnknownUser) ProtoReflect ¶
func (x *User_UnknownUser) ProtoReflect() protoreflect.Message
func (*User_UnknownUser) Reset ¶
func (x *User_UnknownUser) Reset()
func (*User_UnknownUser) String ¶
func (x *User_UnknownUser) String() string
type User_UnknownUser_ ¶
type User_UnknownUser_ struct { // A user about whom nothing is currently known. UnknownUser *User_UnknownUser `protobuf:"bytes,4,opt,name=unknown_user,json=unknownUser,proto3,oneof"` }