| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.26.0 |
| 18 |
// protoc v4.24.4 |
| 19 |
// source: google/apps/drive/activity/v2/query_drive_activity_response.proto |
| 20 |
|
| 21 |
package activity |
| 22 |
|
| 23 |
import ( |
| 24 |
reflect "reflect" |
| 25 |
sync "sync" |
| 26 |
|
| 27 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 28 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 29 |
timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| 30 |
) |
| 31 |
|
| 32 |
const ( |
| 33 |
// Verify that this generated code is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 35 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 36 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 37 |
) |
| 38 |
|
| 39 |
// Response message for querying Drive activity. |
| 40 |
type QueryDriveActivityResponse struct { |
| 41 |
state protoimpl.MessageState |
| 42 |
sizeCache protoimpl.SizeCache |
| 43 |
unknownFields protoimpl.UnknownFields |
| 44 |
|
| 45 |
// List of activity requested. |
| 46 |
Activities []*DriveActivity `protobuf:"bytes,1,rep,name=activities,proto3" json:"activities,omitempty"` |
| 47 |
// Token to retrieve the next page of results, or |
| 48 |
// empty if there are no more results in the list. |
| 49 |
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` |
| 50 |
} |
| 51 |
|
| 52 |
func (x *QueryDriveActivityResponse) Reset() { |
| 53 |
*x = QueryDriveActivityResponse{} |
| 54 |
if protoimpl.UnsafeEnabled { |
| 55 |
mi := &file_google_apps_drive_activity_v2_query_drive_activity_response_proto_msgTypes[0] |
| 56 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 57 |
ms.StoreMessageInfo(mi) |
| 58 |
} |
| 59 |
} |
| 60 |
|
| 61 |
func (x *QueryDriveActivityResponse) String() string { |
| 62 |
return protoimpl.X.MessageStringOf(x) |
| 63 |
} |
| 64 |
|
| 65 |
func (*QueryDriveActivityResponse) ProtoMessage() {} |
| 66 |
|
| 67 |
func (x *QueryDriveActivityResponse) ProtoReflect() protoreflect.Message { |
| 68 |
mi := &file_google_apps_drive_activity_v2_query_drive_activity_response_proto_msgTypes[0] |
| 69 |
if protoimpl.UnsafeEnabled && x != nil { |
| 70 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 71 |
if ms.LoadMessageInfo() == nil { |
| 72 |
ms.StoreMessageInfo(mi) |
| 73 |
} |
| 74 |
return ms |
| 75 |
} |
| 76 |
return mi.MessageOf(x) |
| 77 |
} |
| 78 |
|
| 79 |
// Deprecated: Use QueryDriveActivityResponse.ProtoReflect.Descriptor instead. |
| 80 |
func (*QueryDriveActivityResponse) Descriptor() ([]byte, []int) { |
| 81 |
return file_google_apps_drive_activity_v2_query_drive_activity_response_proto_rawDescGZIP(), []int{0} |
| 82 |
} |
| 83 |
|
| 84 |
func (x *QueryDriveActivityResponse) GetActivities() []*DriveActivity { |
| 85 |
if x != nil { |
| 86 |
return x.Activities |
| 87 |
} |
| 88 |
return nil |
| 89 |
} |
| 90 |
|
| 91 |
func (x *QueryDriveActivityResponse) GetNextPageToken() string { |
| 92 |
if x != nil { |
| 93 |
return x.NextPageToken |
| 94 |
} |
| 95 |
return "" |
| 96 |
} |
| 97 |
|
| 98 |
// A single Drive activity comprising one or more Actions by one or more |
| 99 |
// Actors on one or more Targets. Some Action groupings occur spontaneously, |
| 100 |
// such as moving an item into a shared folder triggering a permission change. |
| 101 |
// Other groupings of related Actions, such as multiple Actors editing one item |
| 102 |
// or moving multiple files into a new folder, are controlled by the selection |
| 103 |
// of a ConsolidationStrategy in the QueryDriveActivityRequest. |
| 104 |
type DriveActivity struct { |
| 105 |
state protoimpl.MessageState |
| 106 |
sizeCache protoimpl.SizeCache |
| 107 |
unknownFields protoimpl.UnknownFields |
| 108 |
|
| 109 |
// Key information about the primary action for this activity. This is either |
| 110 |
// representative, or the most important, of all actions in the activity, |
| 111 |
// according to the ConsolidationStrategy in the request. |
| 112 |
PrimaryActionDetail *ActionDetail `protobuf:"bytes,2,opt,name=primary_action_detail,json=primaryActionDetail,proto3" json:"primary_action_detail,omitempty"` |
| 113 |
// All actor(s) responsible for the activity. |
| 114 |
Actors []*Actor `protobuf:"bytes,3,rep,name=actors,proto3" json:"actors,omitempty"` |
| 115 |
// Details on all actions in this activity. |
| 116 |
Actions []*Action `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` |
| 117 |
// All Google Drive objects this activity is about (e.g. file, folder, drive). |
| 118 |
// This represents the state of the target immediately after the actions |
| 119 |
// occurred. |
| 120 |
Targets []*Target `protobuf:"bytes,5,rep,name=targets,proto3" json:"targets,omitempty"` |
| 121 |
// The period of time when this activity occurred. |
| 122 |
// |
| 123 |
// Types that are assignable to Time: |
| 124 |
// |
| 125 |
// *DriveActivity_Timestamp |
| 126 |
// *DriveActivity_TimeRange |
| 127 |
Time isDriveActivity_Time `protobuf_oneof:"time"` |
| 128 |
} |
| 129 |
|
| 130 |
func (x *DriveActivity) Reset() { |
| 131 |
*x = DriveActivity{} |
| 132 |
if protoimpl.UnsafeEnabled { |
| 133 |
mi := &file_google_apps_drive_activity_v2_query_drive_activity_response_proto_msgTypes[1] |
| 134 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 135 |
ms.StoreMessageInfo(mi) |
| 136 |
} |
| 137 |
} |
| 138 |
|
| 139 |
func (x *DriveActivity) String() string { |
| 140 |
return protoimpl.X.MessageStringOf(x) |
| 141 |
} |
| 142 |
|
| 143 |
func (*DriveActivity) ProtoMessage() {} |
| 144 |
|
| 145 |
func (x *DriveActivity) ProtoReflect() protoreflect.Message { |
| 146 |
mi := &file_google_apps_drive_activity_v2_query_drive_activity_response_proto_msgTypes[1] |
| 147 |
if protoimpl.UnsafeEnabled && x != nil { |
| 148 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 149 |
if ms.LoadMessageInfo() == nil { |
| 150 |
ms.StoreMessageInfo(mi) |
| 151 |
} |
| 152 |
return ms |
| 153 |
} |
| 154 |
return mi.MessageOf(x) |
| 155 |
} |
| 156 |
|
| 157 |
// Deprecated: Use DriveActivity.ProtoReflect.Descriptor instead. |
| 158 |
func (*DriveActivity) Descriptor() ([]byte, []int) { |
| 159 |
return file_google_apps_drive_activity_v2_query_drive_activity_response_proto_rawDescGZIP(), []int{1} |
| 160 |
} |
| 161 |
|
| 162 |
func (x *DriveActivity) GetPrimaryActionDetail() *ActionDetail { |
| 163 |
if x != nil { |
| 164 |
return x.PrimaryActionDetail |
| 165 |
} |
| 166 |
return nil |
| 167 |
} |
| 168 |
|
| 169 |
func (x *DriveActivity) GetActors() []*Actor { |
| 170 |
if x != nil { |
| 171 |
return x.Actors |
| 172 |
} |
| 173 |
return nil |
| 174 |
} |
| 175 |
|
| 176 |
func (x *DriveActivity) GetActions() []*Action { |
| 177 |
if x != nil { |
| 178 |
return x.Actions |
| 179 |
} |
| 180 |
return nil |
| 181 |
} |
| 182 |
|
| 183 |
func (x *DriveActivity) GetTargets() []*Target { |
| 184 |
if x != nil { |
| 185 |
return x.Targets |
| 186 |
} |
| 187 |
return nil |
| 188 |
} |
| 189 |
|
| 190 |
func (m *DriveActivity) GetTime() isDriveActivity_Time { |
| 191 |
if m != nil { |
| 192 |
return m.Time |
| 193 |
} |
| 194 |
return nil |
| 195 |
} |
| 196 |
|
| 197 |
func (x *DriveActivity) GetTimestamp() *timestamppb.Timestamp { |
| 198 |
if x, ok := x.GetTime().(*DriveActivity_Timestamp); ok { |
| 199 |
return x.Timestamp |
| 200 |
} |
| 201 |
return nil |
| 202 |
} |
| 203 |
|
| 204 |
func (x *DriveActivity) GetTimeRange() *TimeRange { |
| 205 |
if x, ok := x.GetTime().(*DriveActivity_TimeRange); ok { |
| 206 |
return x.TimeRange |
| 207 |
} |
| 208 |
return nil |
| 209 |
} |
| 210 |
|
| 211 |
type isDriveActivity_Time interface { |
| 212 |
isDriveActivity_Time() |
| 213 |
} |
| 214 |
|
| 215 |
type DriveActivity_Timestamp struct { |
| 216 |
// The activity occurred at this specific time. |
| 217 |
Timestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3,oneof"` |
| 218 |
} |
| 219 |
|
| 220 |
type DriveActivity_TimeRange struct { |
| 221 |
// The activity occurred over this time range. |
| 222 |
TimeRange *TimeRange `protobuf:"bytes,7,opt,name=time_range,json=timeRange,proto3,oneof"` |
| 223 |
} |
| 224 |
|
| 225 |
func (*DriveActivity_Timestamp) isDriveActivity_Time() {} |
| 226 |
|
| 227 |
func (*DriveActivity_TimeRange) isDriveActivity_Time() {} |
| 228 |
|
| 229 |
var File_google_apps_drive_activity_v2_query_drive_activity_response_proto protoreflect.FileDescriptor |
| 230 |
|
| 231 |
var file_google_apps_drive_activity_v2_query_drive_activity_response_proto_rawDesc = []byte{ |
| 232 |
0x0a, 0x41, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, |
| 233 |
0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, 0x2f, |
| 234 |
0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x74, 0x69, |
| 235 |
0x76, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, |
| 236 |
0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, |
| 237 |
0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, |
| 238 |
0x76, 0x32, 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, |
| 239 |
0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, |
| 240 |
0x32, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, |
| 241 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, |
| 242 |
0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x63, |
| 243 |
0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 244 |
0x65, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, |
| 245 |
0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, |
| 246 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, |
| 247 |
0x70, 0x73, 0x2f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, |
| 248 |
0x79, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 249 |
0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 250 |
0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, |
| 251 |
0x74, 0x6f, 0x22, 0x92, 0x01, 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x72, 0x69, 0x76, |
| 252 |
0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| 253 |
0x65, 0x12, 0x4c, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, |
| 254 |
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, |
| 255 |
0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, |
| 256 |
0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x72, 0x69, 0x76, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, |
| 257 |
0x69, 0x74, 0x79, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, |
| 258 |
0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, |
| 259 |
0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, |
| 260 |
0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xbf, 0x03, 0x0a, 0x0d, 0x44, 0x72, 0x69, 0x76, |
| 261 |
0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x5f, 0x0a, 0x15, 0x70, 0x72, 0x69, |
| 262 |
0x6d, 0x61, 0x72, 0x79, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x74, 0x61, |
| 263 |
0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 264 |
0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, |
| 265 |
0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, |
| 266 |
0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x13, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x41, 0x63, |
| 267 |
0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x3c, 0x0a, 0x06, 0x61, 0x63, |
| 268 |
0x74, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, |
| 269 |
0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, |
| 270 |
0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x74, 0x6f, 0x72, |
| 271 |
0x52, 0x06, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x3f, 0x0a, 0x07, 0x61, 0x63, 0x74, 0x69, |
| 272 |
0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 273 |
0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, |
| 274 |
0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, |
| 275 |
0x52, 0x07, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3f, 0x0a, 0x07, 0x74, 0x61, 0x72, |
| 276 |
0x67, 0x65, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, |
| 277 |
0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, |
| 278 |
0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, |
| 279 |
0x74, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x3a, 0x0a, 0x09, 0x74, 0x69, |
| 280 |
0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, |
| 281 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, |
| 282 |
0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x09, 0x74, 0x69, 0x6d, |
| 283 |
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x49, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x72, |
| 284 |
0x61, 0x6e, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, |
| 285 |
0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, 0x69, 0x76, 0x65, 0x2e, 0x61, |
| 286 |
0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, |
| 287 |
0x61, 0x6e, 0x67, 0x65, 0x48, 0x00, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, |
| 288 |
0x65, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x42, 0xd4, 0x01, 0x0a, 0x21, 0x63, 0x6f, |
| 289 |
0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x70, 0x73, 0x2e, 0x64, 0x72, |
| 290 |
0x69, 0x76, 0x65, 0x2e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x76, 0x32, 0x42, |
| 291 |
0x1f, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x72, 0x69, 0x76, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, |
| 292 |
0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, |
| 293 |
0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, |
| 294 |
0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, |
| 295 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x70, 0x73, 0x2f, 0x64, |
| 296 |
0x72, 0x69, 0x76, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2f, 0x76, 0x32, |
| 297 |
0x3b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x44, 0x41, |
| 298 |
0xaa, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x73, 0x2e, 0x44, |
| 299 |
0x72, 0x69, 0x76, 0x65, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x2e, 0x56, 0x32, |
| 300 |
0xca, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x41, 0x70, 0x70, 0x73, 0x5c, 0x44, |
| 301 |
0x72, 0x69, 0x76, 0x65, 0x5c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x5c, 0x56, 0x32, |
| 302 |
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 303 |
} |
| 304 |
|
| 305 |
var ( |
| 306 |
file_google_apps_drive_activity_v2_query_drive_activity_response_proto_rawDescOnce sync.Once |
| 307 |
file_google_apps_drive_activity_v2_query_drive_activity_response_proto_rawDescData = file_google_apps_drive_activity_v2_query_drive_activity_response_proto_rawDesc |
| 308 |
) |
| 309 |
|
| 310 |
func file_google_apps_drive_activity_v2_query_drive_activity_response_proto_rawDescGZIP() []byte { |
| 311 |
file_google_apps_drive_activity_v2_query_drive_activity_response_proto_rawDescOnce.Do(func() { |
| 312 |
file_google_apps_drive_activity_v2_query_drive_activity_response_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_apps_drive_activity_v2_query_drive_activity_response_proto_rawDescData) |
| 313 |
}) |
| 314 |
return file_google_apps_drive_activity_v2_query_drive_activity_response_proto_rawDescData |
| 315 |
} |
| 316 |
|
| 317 |
var file_google_apps_drive_activity_v2_query_drive_activity_response_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| 318 |
var file_google_apps_drive_activity_v2_query_drive_activity_response_proto_goTypes = []interface{}{ |
| 319 |
(*QueryDriveActivityResponse)(nil), // 0: google.apps.drive.activity.v2.QueryDriveActivityResponse |
| 320 |
(*DriveActivity)(nil), // 1: google.apps.drive.activity.v2.DriveActivity |
| 321 |
(*ActionDetail)(nil), // 2: google.apps.drive.activity.v2.ActionDetail |
| 322 |
(*Actor)(nil), // 3: google.apps.drive.activity.v2.Actor |
| 323 |
(*Action)(nil), // 4: google.apps.drive.activity.v2.Action |
| 324 |
(*Target)(nil), // 5: google.apps.drive.activity.v2.Target |
| 325 |
(*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp |
| 326 |
(*TimeRange)(nil), // 7: google.apps.drive.activity.v2.TimeRange |
| 327 |
} |
| 328 |
var file_google_apps_drive_activity_v2_query_drive_activity_response_proto_depIdxs = []int32{ |
| 329 |
1, // 0: google.apps.drive.activity.v2.QueryDriveActivityResponse.activities:type_name -> google.apps.drive.activity.v2.DriveActivity |
| 330 |
2, // 1: google.apps.drive.activity.v2.DriveActivity.primary_action_detail:type_name -> google.apps.drive.activity.v2.ActionDetail |
| 331 |
3, // 2: google.apps.drive.activity.v2.DriveActivity.actors:type_name -> google.apps.drive.activity.v2.Actor |
| 332 |
4, // 3: google.apps.drive.activity.v2.DriveActivity.actions:type_name -> google.apps.drive.activity.v2.Action |
| 333 |
5, // 4: google.apps.drive.activity.v2.DriveActivity.targets:type_name -> google.apps.drive.activity.v2.Target |
| 334 |
6, // 5: google.apps.drive.activity.v2.DriveActivity.timestamp:type_name -> google.protobuf.Timestamp |
| 335 |
7, // 6: google.apps.drive.activity.v2.DriveActivity.time_range:type_name -> google.apps.drive.activity.v2.TimeRange |
| 336 |
7, // [7:7] is the sub-list for method output_type |
| 337 |
7, // [7:7] is the sub-list for method input_type |
| 338 |
7, // [7:7] is the sub-list for extension type_name |
| 339 |
7, // [7:7] is the sub-list for extension extendee |
| 340 |
0, // [0:7] is the sub-list for field type_name |
| 341 |
} |
| 342 |
|
| 343 |
func init() { file_google_apps_drive_activity_v2_query_drive_activity_response_proto_init() } |
| 344 |
func file_google_apps_drive_activity_v2_query_drive_activity_response_proto_init() { |
| 345 |
if File_google_apps_drive_activity_v2_query_drive_activity_response_proto != nil { |
| 346 |
return |
| 347 |
} |
| 348 |
file_google_apps_drive_activity_v2_action_proto_init() |
| 349 |
file_google_apps_drive_activity_v2_actor_proto_init() |
| 350 |
file_google_apps_drive_activity_v2_common_proto_init() |
| 351 |
file_google_apps_drive_activity_v2_target_proto_init() |
| 352 |
if !protoimpl.UnsafeEnabled { |
| 353 |
file_google_apps_drive_activity_v2_query_drive_activity_response_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 354 |
switch v := v.(*QueryDriveActivityResponse); i { |
| 355 |
case 0: |
| 356 |
return &v.state |
| 357 |
case 1: |
| 358 |
return &v.sizeCache |
| 359 |
case 2: |
| 360 |
return &v.unknownFields |
| 361 |
default: |
| 362 |
return nil |
| 363 |
} |
| 364 |
} |
| 365 |
file_google_apps_drive_activity_v2_query_drive_activity_response_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 366 |
switch v := v.(*DriveActivity); i { |
| 367 |
case 0: |
| 368 |
return &v.state |
| 369 |
case 1: |
| 370 |
return &v.sizeCache |
| 371 |
case 2: |
| 372 |
return &v.unknownFields |
| 373 |
default: |
| 374 |
return nil |
| 375 |
} |
| 376 |
} |
| 377 |
} |
| 378 |
file_google_apps_drive_activity_v2_query_drive_activity_response_proto_msgTypes[1].OneofWrappers = []interface{}{ |
| 379 |
(*DriveActivity_Timestamp)(nil), |
| 380 |
(*DriveActivity_TimeRange)(nil), |
| 381 |
} |
| 382 |
type x struct{} |
| 383 |
out := protoimpl.TypeBuilder{ |
| 384 |
File: protoimpl.DescBuilder{ |
| 385 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 386 |
RawDescriptor: file_google_apps_drive_activity_v2_query_drive_activity_response_proto_rawDesc, |
| 387 |
NumEnums: 0, |
| 388 |
NumMessages: 2, |
| 389 |
NumExtensions: 0, |
| 390 |
NumServices: 0, |
| 391 |
}, |
| 392 |
GoTypes: file_google_apps_drive_activity_v2_query_drive_activity_response_proto_goTypes, |
| 393 |
DependencyIndexes: file_google_apps_drive_activity_v2_query_drive_activity_response_proto_depIdxs, |
| 394 |
MessageInfos: file_google_apps_drive_activity_v2_query_drive_activity_response_proto_msgTypes, |
| 395 |
}.Build() |
| 396 |
File_google_apps_drive_activity_v2_query_drive_activity_response_proto = out.File |
| 397 |
file_google_apps_drive_activity_v2_query_drive_activity_response_proto_rawDesc = nil |
| 398 |
file_google_apps_drive_activity_v2_query_drive_activity_response_proto_goTypes = nil |
| 399 |
file_google_apps_drive_activity_v2_query_drive_activity_response_proto_depIdxs = nil |
| 400 |
} |