activity

package
v0.0.0-...-e639e21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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",
		5: "FILE_ORGANIZER_CAN_SHARE_FOLDERS",
	}
	SettingsChange_RestrictionChange_Feature_value = map[string]int32{
		"FEATURE_UNSPECIFIED":              0,
		"SHARING_OUTSIDE_DOMAIN":           1,
		"DIRECT_SHARING":                   2,
		"ITEM_DUPLICATION":                 3,
		"DRIVE_FILE_STREAM":                4,
		"FILE_ORGANIZER_CAN_SHARE_FOLDERS": 5,
	}
)

Enum value maps for SettingsChange_RestrictionChange_Feature.

View Source
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.

View Source
var (
	AppliedLabelChange_AppliedLabelChangeDetail_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "LABEL_ADDED",
		2: "LABEL_REMOVED",
		3: "LABEL_FIELD_VALUE_CHANGED",
		4: "LABEL_APPLIED_BY_ITEM_CREATE",
	}
	AppliedLabelChange_AppliedLabelChangeDetail_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":             0,
		"LABEL_ADDED":                  1,
		"LABEL_REMOVED":                2,
		"LABEL_FIELD_VALUE_CHANGED":    3,
		"LABEL_APPLIED_BY_ITEM_CREATE": 4,
	}
)

Enum value maps for AppliedLabelChange_AppliedLabelChangeDetail_Type.

View Source
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.

View Source
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.

View Source
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.

View Source
var File_google_apps_drive_activity_v2_action_proto protoreflect.FileDescriptor
View Source
var File_google_apps_drive_activity_v2_actor_proto protoreflect.FileDescriptor
View Source
var File_google_apps_drive_activity_v2_common_proto protoreflect.FileDescriptor
View Source
var File_google_apps_drive_activity_v2_drive_activity_service_proto protoreflect.FileDescriptor
View Source
var File_google_apps_drive_activity_v2_query_drive_activity_request_proto protoreflect.FileDescriptor
View Source
var File_google_apps_drive_activity_v2_query_drive_activity_response_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetActor

func (x *Action) GetActor() *Actor

func (*Action) GetDetail

func (x *Action) GetDetail() *ActionDetail

func (*Action) GetTarget

func (x *Action) GetTarget() *Target

func (*Action) GetTime

func (m *Action) GetTime() isAction_Time

func (*Action) GetTimeRange

func (x *Action) GetTimeRange() *TimeRange

func (*Action) GetTimestamp

func (x *Action) GetTimestamp() *timestamppb.Timestamp

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) ProtoReflect

func (x *Action) ProtoReflect() protoreflect.Message

func (*Action) Reset

func (x *Action) Reset()

func (*Action) String

func (x *Action) String() string

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_AppliedLabelChange
	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) GetAppliedLabelChange

func (x *ActionDetail) GetAppliedLabelChange() *AppliedLabelChange

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_AppliedLabelChange

type ActionDetail_AppliedLabelChange struct {
	// Label was changed.
	AppliedLabelChange *AppliedLabelChange `protobuf:"bytes,19,opt,name=applied_label_change,json=appliedLabelChange,proto3,oneof"`
}

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) Descriptor() ([]byte, []int)

Deprecated: Use Actor.ProtoReflect.Descriptor instead.

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) GetType

func (m *Actor) GetType() isActor_Type

func (*Actor) GetUser

func (x *Actor) GetUser() *User

func (*Actor) ProtoMessage

func (*Actor) ProtoMessage()

func (*Actor) ProtoReflect

func (x *Actor) ProtoReflect() protoreflect.Message

func (*Actor) Reset

func (x *Actor) Reset()

func (*Actor) String

func (x *Actor) String() string

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 (*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) Enum

func (ApplicationReference_Type) EnumDescriptor deprecated

func (ApplicationReference_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use ApplicationReference_Type.Descriptor instead.

func (ApplicationReference_Type) Number

func (ApplicationReference_Type) String

func (x ApplicationReference_Type) String() string

func (ApplicationReference_Type) Type

type AppliedLabelChange

type AppliedLabelChange struct {

	// Changes that were made to the Label on the Target.
	Changes []*AppliedLabelChange_AppliedLabelChangeDetail `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

Label changes that were made on the Target.

func (*AppliedLabelChange) Descriptor deprecated

func (*AppliedLabelChange) Descriptor() ([]byte, []int)

Deprecated: Use AppliedLabelChange.ProtoReflect.Descriptor instead.

func (*AppliedLabelChange) GetChanges

func (*AppliedLabelChange) ProtoMessage

func (*AppliedLabelChange) ProtoMessage()

func (*AppliedLabelChange) ProtoReflect

func (x *AppliedLabelChange) ProtoReflect() protoreflect.Message

func (*AppliedLabelChange) Reset

func (x *AppliedLabelChange) Reset()

func (*AppliedLabelChange) String

func (x *AppliedLabelChange) String() string

type AppliedLabelChange_AppliedLabelChangeDetail

type AppliedLabelChange_AppliedLabelChangeDetail struct {

	// The Label name representing the Label that changed.
	// This name always contains the revision of the Label that was used
	// when this Action occurred. The format is
	// `labels/id@revision`.
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	// The types of changes made to the Label on the Target.
	Types []AppliedLabelChange_AppliedLabelChangeDetail_Type `` /* 155-byte string literal not displayed */
	// The human-readable title of the label that changed.
	Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	// Field Changes. Only present if `types` contains
	// `LABEL_FIELD_VALUE_CHANGED`.
	FieldChanges []*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange `protobuf:"bytes,4,rep,name=field_changes,json=fieldChanges,proto3" json:"field_changes,omitempty"`
	// contains filtered or unexported fields
}

A change made to a Label on the Target.

func (*AppliedLabelChange_AppliedLabelChangeDetail) Descriptor deprecated

Deprecated: Use AppliedLabelChange_AppliedLabelChangeDetail.ProtoReflect.Descriptor instead.

func (*AppliedLabelChange_AppliedLabelChangeDetail) GetFieldChanges

func (*AppliedLabelChange_AppliedLabelChangeDetail) GetLabel

func (*AppliedLabelChange_AppliedLabelChangeDetail) GetTitle

func (*AppliedLabelChange_AppliedLabelChangeDetail) GetTypes

func (*AppliedLabelChange_AppliedLabelChangeDetail) ProtoMessage

func (*AppliedLabelChange_AppliedLabelChangeDetail) ProtoReflect

func (*AppliedLabelChange_AppliedLabelChangeDetail) Reset

func (*AppliedLabelChange_AppliedLabelChangeDetail) String

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange struct {

	// The ID of this field. Field IDs are unique within a Label.
	FieldId *string `protobuf:"bytes,1,opt,name=field_id,json=fieldId,proto3,oneof" json:"field_id,omitempty"`
	// The value that was previously set on the field. If not present,
	// the field was newly set. At least one of {old_value|new_value} is
	// always set.
	OldValue *AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue `protobuf:"bytes,2,opt,name=old_value,json=oldValue,proto3,oneof" json:"old_value,omitempty"`
	// The value that is now set on the field. If not present, the field was
	// cleared. At least one of {old_value|new_value} is always set.
	NewValue *AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue `protobuf:"bytes,3,opt,name=new_value,json=newValue,proto3,oneof" json:"new_value,omitempty"`
	// The human-readable display name for this field.
	DisplayName *string `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

Change to a Field value.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange) Descriptor deprecated

Deprecated: Use AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange.ProtoReflect.Descriptor instead.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange) GetDisplayName

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange) GetFieldId

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange) GetNewValue

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange) GetOldValue

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange) ProtoMessage

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange) ProtoReflect

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange) Reset

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange) String

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue struct {

	// Field values for all Field types.
	//
	// Types that are assignable to Value:
	//
	//	*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Text_
	//	*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_TextList_
	//	*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Selection_
	//	*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SelectionList_
	//	*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Integer_
	//	*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_User
	//	*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_UserList_
	//	*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Date_
	Value isAppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

Contains a value of a Field.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue) Descriptor deprecated

Deprecated: Use AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue.ProtoReflect.Descriptor instead.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue) GetDate

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue) GetInteger

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue) GetSelection

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue) GetText

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue) GetTextList

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue) GetUserList

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue) GetValue

func (m *AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue) GetValue() isAppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Value

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue) ProtoMessage

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue) ProtoReflect

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue) Reset

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue) String

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Date

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Date struct {

	// Date value.
	Value *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Wrapper for Date Field value.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Date) Descriptor deprecated

Deprecated: Use AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Date.ProtoReflect.Descriptor instead.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Date) GetValue

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Date) ProtoMessage

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Date) ProtoReflect

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Date) Reset

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Date) String

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Date_

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Date_ struct {
	// Date Field value.
	Date *AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Date `protobuf:"bytes,9,opt,name=date,proto3,oneof"`
}

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Integer

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Integer struct {

	// Integer value.
	Value *int64 `protobuf:"varint,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Wrapper for Integer Field value.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Integer) Descriptor deprecated

Deprecated: Use AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Integer.ProtoReflect.Descriptor instead.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Integer) GetValue

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Integer) ProtoMessage

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Integer) ProtoReflect

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Integer) Reset

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Integer) String

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Integer_

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Integer_ struct {
	// Integer Field value.
	Integer *AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Integer `protobuf:"bytes,6,opt,name=integer,proto3,oneof"`
}

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Selection

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Selection struct {

	// Selection value as Field Choice ID.
	Value *string `protobuf:"bytes,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// Selection value as human-readable display string.
	DisplayName *string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

Wrapper for Selection Field value as combined value/display_name pair for selected choice.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Selection) Descriptor deprecated

Deprecated: Use AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Selection.ProtoReflect.Descriptor instead.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Selection) GetDisplayName

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Selection) GetValue

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Selection) ProtoMessage

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Selection) ProtoReflect

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Selection) Reset

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Selection) String

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SelectionList

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SelectionList struct {

	// Selection values.
	Values []*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Selection `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

Wrapper for SelectionList Field value.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SelectionList) Descriptor deprecated

Deprecated: Use AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SelectionList.ProtoReflect.Descriptor instead.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SelectionList) GetValues

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SelectionList) ProtoMessage

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SelectionList) ProtoReflect

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SelectionList) Reset

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SelectionList) String

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SelectionList_

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SelectionList_ struct {
	// Selection List Field value.
	SelectionList *AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SelectionList `protobuf:"bytes,5,opt,name=selection_list,json=selectionList,proto3,oneof"`
}

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Selection_

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Selection_ struct {
	// Selection Field value.
	Selection *AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Selection `protobuf:"bytes,4,opt,name=selection,proto3,oneof"`
}

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SingleUser

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SingleUser struct {

	// User value as email.
	Value *string `protobuf:"bytes,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Wrapper for User Field value.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SingleUser) Descriptor deprecated

Deprecated: Use AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SingleUser.ProtoReflect.Descriptor instead.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SingleUser) GetValue

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SingleUser) ProtoMessage

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SingleUser) ProtoReflect

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SingleUser) Reset

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SingleUser) String

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Text

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Text struct {

	// Value of Text Field.
	Value *string `protobuf:"bytes,1,opt,name=value,proto3,oneof" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Wrapper for Text Field value.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Text) Descriptor deprecated

Deprecated: Use AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Text.ProtoReflect.Descriptor instead.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Text) GetValue

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Text) ProtoMessage

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Text) ProtoReflect

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Text) Reset

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Text) String

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_TextList

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_TextList struct {

	// Text values.
	Values []*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Text `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

Wrapper for Text List Field value.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_TextList) Descriptor deprecated

Deprecated: Use AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_TextList.ProtoReflect.Descriptor instead.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_TextList) GetValues

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_TextList) ProtoMessage

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_TextList) ProtoReflect

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_TextList) Reset

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_TextList) String

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_TextList_

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_TextList_ struct {
	// Text List Field value.
	TextList *AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_TextList `protobuf:"bytes,3,opt,name=text_list,json=textList,proto3,oneof"`
}

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Text_

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Text_ struct {
	// Text Field value.
	Text *AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_Text `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_User

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_User struct {
	// User Field value.
	User *AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SingleUser `protobuf:"bytes,7,opt,name=user,proto3,oneof"`
}

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_UserList

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_UserList struct {

	// User values.
	Values []*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_SingleUser `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

Wrapper for UserList Field value.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_UserList) Descriptor deprecated

Deprecated: Use AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_UserList.ProtoReflect.Descriptor instead.

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_UserList) GetValues

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_UserList) ProtoMessage

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_UserList) ProtoReflect

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_UserList) Reset

func (*AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_UserList) String

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_UserList_

type AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_UserList_ struct {
	// User List Field value.
	UserList *AppliedLabelChange_AppliedLabelChangeDetail_FieldValueChange_FieldValue_UserList `protobuf:"bytes,8,opt,name=user_list,json=userList,proto3,oneof"`
}

type AppliedLabelChange_AppliedLabelChangeDetail_Type

type AppliedLabelChange_AppliedLabelChangeDetail_Type int32

The type of Label change

const (
	// The type of change to this Label is not available.
	AppliedLabelChange_AppliedLabelChangeDetail_TYPE_UNSPECIFIED AppliedLabelChange_AppliedLabelChangeDetail_Type = 0
	// The identified Label was added to the Target.
	AppliedLabelChange_AppliedLabelChangeDetail_LABEL_ADDED AppliedLabelChange_AppliedLabelChangeDetail_Type = 1
	// The identified Label was removed from the Target.
	AppliedLabelChange_AppliedLabelChangeDetail_LABEL_REMOVED AppliedLabelChange_AppliedLabelChangeDetail_Type = 2
	// Field values were changed on the Target.
	AppliedLabelChange_AppliedLabelChangeDetail_LABEL_FIELD_VALUE_CHANGED AppliedLabelChange_AppliedLabelChangeDetail_Type = 3
	// The Label was applied as a side-effect of Drive item creation.
	AppliedLabelChange_AppliedLabelChangeDetail_LABEL_APPLIED_BY_ITEM_CREATE AppliedLabelChange_AppliedLabelChangeDetail_Type = 4
)

func (AppliedLabelChange_AppliedLabelChangeDetail_Type) Descriptor

func (AppliedLabelChange_AppliedLabelChangeDetail_Type) Enum

func (AppliedLabelChange_AppliedLabelChangeDetail_Type) EnumDescriptor deprecated

Deprecated: Use AppliedLabelChange_AppliedLabelChangeDetail_Type.Descriptor instead.

func (AppliedLabelChange_AppliedLabelChangeDetail_Type) Number

func (AppliedLabelChange_AppliedLabelChangeDetail_Type) String

func (AppliedLabelChange_AppliedLabelChangeDetail_Type) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Comment.ProtoReflect.Descriptor instead.

func (*Comment) GetAssignment

func (x *Comment) GetAssignment() *Comment_Assignment

func (*Comment) GetMentionedUsers

func (x *Comment) GetMentionedUsers() []*User

func (*Comment) GetPost

func (x *Comment) GetPost() *Comment_Post

func (*Comment) GetSuggestion

func (x *Comment) GetSuggestion() *Comment_Suggestion

func (*Comment) GetType

func (m *Comment) GetType() isComment_Type

func (*Comment) ProtoMessage

func (*Comment) ProtoMessage()

func (*Comment) ProtoReflect

func (x *Comment) ProtoReflect() protoreflect.Message

func (*Comment) Reset

func (x *Comment) Reset()

func (*Comment) String

func (x *Comment) String() string

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 (*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) Enum

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 (Comment_Assignment_Subtype) String

func (Comment_Assignment_Subtype) Type

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) Enum

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 (Comment_Post_Subtype) String

func (x Comment_Post_Subtype) String() string

func (Comment_Post_Subtype) Type

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 (*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) Enum

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 (Comment_Suggestion_Subtype) String

func (Comment_Suggestion_Subtype) Type

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. If a set of activities is related they can be consolidated into one combined activity, 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 (*ConsolidationStrategy) GetNone

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 that 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 (*ConsolidationStrategy_Legacy) Reset

func (x *ConsolidationStrategy_Legacy) Reset()

func (*ConsolidationStrategy_Legacy) 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 that 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 (*ConsolidationStrategy_NoConsolidation) Reset

func (*ConsolidationStrategy_NoConsolidation) 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) Descriptor() ([]byte, []int)

Deprecated: Use Create.ProtoReflect.Descriptor instead.

func (*Create) GetCopy

func (x *Create) GetCopy() *Create_Copy

func (*Create) GetNew

func (x *Create) GetNew() *Create_New

func (*Create) GetOrigin

func (m *Create) GetOrigin() isCreate_Origin

func (*Create) GetUpload

func (x *Create) GetUpload() *Create_Upload

func (*Create) ProtoMessage

func (*Create) ProtoMessage()

func (*Create) ProtoReflect

func (x *Create) ProtoReflect() protoreflect.Message

func (*Create) Reset

func (x *Create) Reset()

func (*Create) String

func (x *Create) String() string

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 (*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) Enum

func (DataLeakPreventionChange_Type) EnumDescriptor deprecated

func (DataLeakPreventionChange_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use DataLeakPreventionChange_Type.Descriptor instead.

func (DataLeakPreventionChange_Type) Number

func (DataLeakPreventionChange_Type) String

func (DataLeakPreventionChange_Type) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Delete.ProtoReflect.Descriptor instead.

func (*Delete) GetType

func (x *Delete) GetType() Delete_Type

func (*Delete) ProtoMessage

func (*Delete) ProtoMessage()

func (*Delete) ProtoReflect

func (x *Delete) ProtoReflect() protoreflect.Message

func (*Delete) Reset

func (x *Delete) Reset()

func (*Delete) String

func (x *Delete) String() string

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) 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

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) Descriptor() ([]byte, []int)

Deprecated: Use Domain.ProtoReflect.Descriptor instead.

func (*Domain) GetLegacyId

func (x *Domain) GetLegacyId() string

func (*Domain) GetName

func (x *Domain) GetName() string

func (*Domain) ProtoMessage

func (*Domain) ProtoMessage()

func (*Domain) ProtoReflect

func (x *Domain) ProtoReflect() protoreflect.Message

func (*Domain) Reset

func (x *Domain) Reset()

func (*Domain) String

func (x *Domain) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Drive.ProtoReflect.Descriptor instead.

func (*Drive) GetName

func (x *Drive) GetName() string

func (*Drive) GetRoot

func (x *Drive) GetRoot() *DriveItem

func (*Drive) GetTitle

func (x *Drive) GetTitle() string

func (*Drive) ProtoMessage

func (*Drive) ProtoMessage()

func (*Drive) ProtoReflect

func (x *Drive) ProtoReflect() protoreflect.Message

func (*Drive) Reset

func (x *Drive) Reset()

func (*Drive) String

func (x *Drive) String() string

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use DriveItem.ProtoReflect.Descriptor instead.

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 (x *DriveItem) GetMimeType() string

func (*DriveItem) GetName

func (x *DriveItem) GetName() string

func (*DriveItem) GetOwner

func (x *DriveItem) GetOwner() *Owner

func (*DriveItem) GetTitle

func (x *DriveItem) GetTitle() string

func (*DriveItem) ProtoMessage

func (*DriveItem) ProtoMessage()

func (*DriveItem) ProtoReflect

func (x *DriveItem) ProtoReflect() protoreflect.Message

func (*DriveItem) Reset

func (x *DriveItem) Reset()

func (*DriveItem) String

func (x *DriveItem) String() string

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 (*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) Enum

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 (DriveItem_DriveFolder_Type) String

func (DriveItem_DriveFolder_Type) Type

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 (*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) Enum

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 (DriveItem_Folder_Type) String

func (x DriveItem_Folder_Type) String() string

func (DriveItem_Folder_Type) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Edit.ProtoReflect.Descriptor instead.

func (*Edit) ProtoMessage

func (*Edit) ProtoMessage()

func (*Edit) ProtoReflect

func (x *Edit) ProtoReflect() protoreflect.Message

func (*Edit) Reset

func (x *Edit) Reset()

func (*Edit) String

func (x *Edit) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Group.ProtoReflect.Descriptor instead.

func (*Group) GetEmail

func (x *Group) GetEmail() string

func (*Group) GetTitle

func (x *Group) GetTitle() string

func (*Group) ProtoMessage

func (*Group) ProtoMessage()

func (*Group) ProtoReflect

func (x *Group) ProtoReflect() protoreflect.Message

func (*Group) Reset

func (x *Group) Reset()

func (*Group) String

func (x *Group) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Move.ProtoReflect.Descriptor instead.

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

func (*Move) Reset

func (x *Move) Reset()

func (*Move) String

func (x *Move) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Owner.ProtoReflect.Descriptor instead.

func (*Owner) GetDomain

func (x *Owner) GetDomain() *Domain

func (*Owner) GetDrive

func (x *Owner) GetDrive() *DriveReference

func (*Owner) GetOwner

func (m *Owner) GetOwner() isOwner_Owner

func (*Owner) GetTeamDrive deprecated

func (x *Owner) GetTeamDrive() *TeamDriveReference

Deprecated: Do not use.

func (*Owner) GetUser

func (x *Owner) GetUser() *User

func (*Owner) ProtoMessage

func (*Owner) ProtoMessage()

func (*Owner) ProtoReflect

func (x *Owner) ProtoReflect() protoreflect.Message

func (*Owner) Reset

func (x *Owner) Reset()

func (*Owner) String

func (x *Owner) String() string

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) 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 (Permission_Role) String

func (x Permission_Role) String() string

func (Permission_Role) Type

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
	// ancestorName = `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 aren't consolidated.
	ConsolidationStrategy *ConsolidationStrategy `protobuf:"bytes,5,opt,name=consolidation_strategy,json=consolidationStrategy,proto3" json:"consolidation_strategy,omitempty"`
	// The minimum number of activities desired in the response; the server
	// attempts to return at least this quantity. 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 identifies 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 is
	// 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 <a
	//     href="https://www.rfc-editor.org/rfc/rfc3339" target="_blank">RFC
	//     3339</a> 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, separated by a space. To exclude a result from the
	//     response, prepend a hyphen (`-`) to the beginning of the filter string.
	//     Examples:
	//
	//   - `detail.action_detail_case:RENAME`
	//
	//   - `detail.action_detail_case:(CREATE RESTORE)`
	//
	//   - `-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 (*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, plus 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 (*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) Descriptor() ([]byte, []int)

Deprecated: Use Rename.ProtoReflect.Descriptor instead.

func (*Rename) GetNewTitle

func (x *Rename) GetNewTitle() string

func (*Rename) GetOldTitle

func (x *Rename) GetOldTitle() string

func (*Rename) ProtoMessage

func (*Rename) ProtoMessage()

func (*Rename) ProtoReflect

func (x *Rename) ProtoReflect() protoreflect.Message

func (*Rename) Reset

func (x *Rename) Reset()

func (*Rename) String

func (x *Rename) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Restore.ProtoReflect.Descriptor instead.

func (*Restore) GetType

func (x *Restore) GetType() Restore_Type

func (*Restore) ProtoMessage

func (*Restore) ProtoMessage()

func (*Restore) ProtoReflect

func (x *Restore) ProtoReflect() protoreflect.Message

func (*Restore) Reset

func (x *Restore) Reset()

func (*Restore) String

func (x *Restore) String() string

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) 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 (Restore_Type) String

func (x Restore_Type) String() string

func (Restore_Type) Type

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 (*SettingsChange_RestrictionChange) GetNewRestriction

func (*SettingsChange_RestrictionChange) ProtoMessage

func (*SettingsChange_RestrictionChange) ProtoMessage()

func (*SettingsChange_RestrictionChange) ProtoReflect

func (*SettingsChange_RestrictionChange) Reset

func (*SettingsChange_RestrictionChange) 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
	// When restricted, this limits sharing of folders to managers only.
	SettingsChange_RestrictionChange_FILE_ORGANIZER_CAN_SHARE_FOLDERS SettingsChange_RestrictionChange_Feature = 5
)

func (SettingsChange_RestrictionChange_Feature) Descriptor

func (SettingsChange_RestrictionChange_Feature) Enum

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 (SettingsChange_RestrictionChange_Feature) String

func (SettingsChange_RestrictionChange_Feature) Type

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) Enum

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 (SettingsChange_RestrictionChange_Restriction) String

func (SettingsChange_RestrictionChange_Restriction) Type

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) Enum

func (SystemEvent_Type) EnumDescriptor deprecated

func (SystemEvent_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use SystemEvent_Type.Descriptor instead.

func (SystemEvent_Type) Number

func (SystemEvent_Type) String

func (x SystemEvent_Type) String() string

func (SystemEvent_Type) Type

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.

For more information on how activity history is shared with users, see [Activity history visibility](https://developers.google.com/drive/activity/v2#activityhistory).

func (*Target) Descriptor deprecated

func (*Target) Descriptor() ([]byte, []int)

Deprecated: Use Target.ProtoReflect.Descriptor instead.

func (*Target) GetDrive

func (x *Target) GetDrive() *Drive

func (*Target) GetDriveItem

func (x *Target) GetDriveItem() *DriveItem

func (*Target) GetFileComment

func (x *Target) GetFileComment() *FileComment

func (*Target) GetObject

func (m *Target) GetObject() isTarget_Object

func (*Target) GetTeamDrive deprecated

func (x *Target) GetTeamDrive() *TeamDrive

Deprecated: Do not use.

func (*Target) ProtoMessage

func (*Target) ProtoMessage()

func (*Target) ProtoReflect

func (x *Target) ProtoReflect() protoreflect.Message

func (*Target) Reset

func (x *Target) Reset()

func (*Target) String

func (x *Target) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TeamDrive.ProtoReflect.Descriptor instead.

func (*TeamDrive) GetName

func (x *TeamDrive) GetName() string

func (*TeamDrive) GetRoot

func (x *TeamDrive) GetRoot() *DriveItem

func (*TeamDrive) GetTitle

func (x *TeamDrive) GetTitle() string

func (*TeamDrive) ProtoMessage

func (*TeamDrive) ProtoMessage()

func (*TeamDrive) ProtoReflect

func (x *TeamDrive) ProtoReflect() protoreflect.Message

func (*TeamDrive) Reset

func (x *TeamDrive) Reset()

func (*TeamDrive) String

func (x *TeamDrive) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use TimeRange.ProtoReflect.Descriptor instead.

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

func (*TimeRange) Reset

func (x *TimeRange) Reset()

func (*TimeRange) String

func (x *TimeRange) String() string

type UnimplementedDriveActivityServiceServer

type UnimplementedDriveActivityServiceServer struct {
}

UnimplementedDriveActivityServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDriveActivityServiceServer) QueryDriveActivity

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) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetDeletedUser

func (x *User) GetDeletedUser() *User_DeletedUser

func (*User) GetKnownUser

func (x *User) GetKnownUser() *User_KnownUser

func (*User) GetType

func (m *User) GetType() isUser_Type

func (*User) GetUnknownUser

func (x *User) GetUnknownUser() *User_UnknownUser

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL