@maxim_mazurok/gapi.client.admin-reports_v1 0.0.20250318 → 0.0.20250331

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +203 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://admin.googleapis.com/$discovery/rest?version=reports_v1
12
- // Revision: 20250318
12
+ // Revision: 20250331
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -41,6 +41,15 @@ declare namespace gapi.client {
41
41
  interface Activity {
42
42
  /** User doing the action. */
43
43
  actor?: {
44
+ /** Details of the application that was the actor for the activity. */
45
+ applicationInfo?: {
46
+ /** Name of the application used to perform the action. */
47
+ applicationName?: string;
48
+ /** Whether the application was impersonating a user. */
49
+ impersonation?: boolean;
50
+ /** OAuth client id of the third party application used to perform the action. */
51
+ oauthClientId?: string;
52
+ };
44
53
  /** The type of actor. */
45
54
  callerType?: string;
46
55
  /** The primary email address of the actor. May be absent if there is no email address associated with the actor. */
@@ -81,6 +90,8 @@ declare namespace gapi.client {
81
90
  /** String value of the parameter. */
82
91
  value?: string;
83
92
  }>;
93
+ /** Resource ids associated with the event. */
94
+ resourceIds?: string[];
84
95
  /** Type of event. The Google Workspace service or feature that an administrator changes is identified in the `type` property which identifies an event using the `eventName` property. For a full list of the API's `type` categories, see the list of event names for various applications above in `applicationName`. */
85
96
  type?: string;
86
97
  }>;
@@ -101,6 +112,18 @@ declare namespace gapi.client {
101
112
  kind?: string;
102
113
  /** This is the domain that is affected by the report's event. For example domain of Admin console or the Drive application's document owner. */
103
114
  ownerDomain?: string;
115
+ /** Details of the resource on which the action was performed. */
116
+ resourceDetails?: ResourceDetails[];
117
+ }
118
+ interface AppliedLabel {
119
+ /** List of fields which are part of the label and have been set by the user. If label has a field which was not set by the user, it would not be present in this list. */
120
+ fieldValues?: FieldValue[];
121
+ /** Identifier of the label - Only the label id, not the full OnePlatform resource name. */
122
+ id?: string;
123
+ /** The reason why the label was applied on the resource. */
124
+ reason?: Reason;
125
+ /** Title of the label */
126
+ title?: string;
104
127
  }
105
128
  interface Channel {
106
129
  /** The address where notifications are delivered for this channel. */
@@ -124,6 +147,68 @@ declare namespace gapi.client {
124
147
  /** The type of delivery mechanism used for this channel. The value should be set to `"web_hook"`. */
125
148
  type?: string;
126
149
  }
150
+ interface Date {
151
+ /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
152
+ day?: number;
153
+ /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
154
+ month?: number;
155
+ /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
156
+ year?: number;
157
+ }
158
+ interface FieldValue {
159
+ /** Setting a date value. */
160
+ dateValue?: Date;
161
+ /** Display name of the field */
162
+ displayName?: string;
163
+ /** Identifier of the field */
164
+ id?: string;
165
+ /** Setting an integer value. */
166
+ integerValue?: string;
167
+ /** Setting a long text value. */
168
+ longTextValue?: string;
169
+ /** The reason why the field was applied to the label. */
170
+ reason?: Reason;
171
+ /** Setting a selection list value by selecting multiple values from a dropdown. */
172
+ selectionListValue?: FieldValueSelectionListValue;
173
+ /** Setting a selection value by selecting a single value from a dropdown. */
174
+ selectionValue?: FieldValueSelectionValue;
175
+ /** Setting a text list value. */
176
+ textListValue?: FieldValueTextListValue;
177
+ /** Setting a text value. */
178
+ textValue?: string;
179
+ /** Type of the field */
180
+ type?: string;
181
+ /** If the field is unset, this will be true. */
182
+ unsetValue?: boolean;
183
+ /** Setting a user list value by selecting multiple users. */
184
+ userListValue?: FieldValueUserListValue;
185
+ /** Setting a user value by selecting a single user. */
186
+ userValue?: FieldValueUserValue;
187
+ }
188
+ interface FieldValueSelectionListValue {
189
+ /** List of selections. */
190
+ values?: FieldValueSelectionValue[];
191
+ }
192
+ interface FieldValueSelectionValue {
193
+ /** Whether the selection is badged. */
194
+ badged?: boolean;
195
+ /** Display name of the selection. */
196
+ displayName?: string;
197
+ /** Identifier of the selection. */
198
+ id?: string;
199
+ }
200
+ interface FieldValueTextListValue {
201
+ /** List of text values. */
202
+ values?: string[];
203
+ }
204
+ interface FieldValueUserListValue {
205
+ /** List of users. */
206
+ values?: FieldValueUserValue[];
207
+ }
208
+ interface FieldValueUserValue {
209
+ /** Email of the user. */
210
+ email?: string;
211
+ }
127
212
  interface NestedParameter {
128
213
  /** Boolean value of the parameter. */
129
214
  boolValue?: boolean;
@@ -140,6 +225,22 @@ declare namespace gapi.client {
140
225
  /** String value of the parameter. */
141
226
  value?: string;
142
227
  }
228
+ interface Reason {
229
+ /** The type of the reason. */
230
+ reasonType?: string;
231
+ }
232
+ interface ResourceDetails {
233
+ /** List of labels applied on the resource */
234
+ appliedLabels?: AppliedLabel[];
235
+ /** Identifier of the resource. */
236
+ id?: string;
237
+ /** Defines relationship of the resource to the events */
238
+ relation?: string;
239
+ /** Title of the resource. For instance, in case of a drive document, this would be the title of the document. In case of an email, this would be the subject. */
240
+ title?: string;
241
+ /** Type of the resource - document, email, chat message */
242
+ type?: string;
243
+ }
143
244
  interface UsageReport {
144
245
  /** Output only. The date of the report request. */
145
246
  date?: string;
@@ -273,6 +374,15 @@ declare namespace gapi.client {
273
374
  interface Activity {
274
375
  /** User doing the action. */
275
376
  actor?: {
377
+ /** Details of the application that was the actor for the activity. */
378
+ applicationInfo?: {
379
+ /** Name of the application used to perform the action. */
380
+ applicationName?: string;
381
+ /** Whether the application was impersonating a user. */
382
+ impersonation?: boolean;
383
+ /** OAuth client id of the third party application used to perform the action. */
384
+ oauthClientId?: string;
385
+ };
276
386
  /** The type of actor. */
277
387
  callerType?: string;
278
388
  /** The primary email address of the actor. May be absent if there is no email address associated with the actor. */
@@ -313,6 +423,8 @@ declare namespace gapi.client {
313
423
  /** String value of the parameter. */
314
424
  value?: string;
315
425
  }>;
426
+ /** Resource ids associated with the event. */
427
+ resourceIds?: string[];
316
428
  /** Type of event. The Google Workspace service or feature that an administrator changes is identified in the `type` property which identifies an event using the `eventName` property. For a full list of the API's `type` categories, see the list of event names for various applications above in `applicationName`. */
317
429
  type?: string;
318
430
  }>;
@@ -333,6 +445,18 @@ declare namespace gapi.client {
333
445
  kind?: string;
334
446
  /** This is the domain that is affected by the report's event. For example domain of Admin console or the Drive application's document owner. */
335
447
  ownerDomain?: string;
448
+ /** Details of the resource on which the action was performed. */
449
+ resourceDetails?: ResourceDetails[];
450
+ }
451
+ interface AppliedLabel {
452
+ /** List of fields which are part of the label and have been set by the user. If label has a field which was not set by the user, it would not be present in this list. */
453
+ fieldValues?: FieldValue[];
454
+ /** Identifier of the label - Only the label id, not the full OnePlatform resource name. */
455
+ id?: string;
456
+ /** The reason why the label was applied on the resource. */
457
+ reason?: Reason;
458
+ /** Title of the label */
459
+ title?: string;
336
460
  }
337
461
  interface Channel {
338
462
  /** The address where notifications are delivered for this channel. */
@@ -356,6 +480,68 @@ declare namespace gapi.client {
356
480
  /** The type of delivery mechanism used for this channel. The value should be set to `"web_hook"`. */
357
481
  type?: string;
358
482
  }
483
+ interface Date {
484
+ /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
485
+ day?: number;
486
+ /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
487
+ month?: number;
488
+ /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
489
+ year?: number;
490
+ }
491
+ interface FieldValue {
492
+ /** Setting a date value. */
493
+ dateValue?: Date;
494
+ /** Display name of the field */
495
+ displayName?: string;
496
+ /** Identifier of the field */
497
+ id?: string;
498
+ /** Setting an integer value. */
499
+ integerValue?: string;
500
+ /** Setting a long text value. */
501
+ longTextValue?: string;
502
+ /** The reason why the field was applied to the label. */
503
+ reason?: Reason;
504
+ /** Setting a selection list value by selecting multiple values from a dropdown. */
505
+ selectionListValue?: FieldValueSelectionListValue;
506
+ /** Setting a selection value by selecting a single value from a dropdown. */
507
+ selectionValue?: FieldValueSelectionValue;
508
+ /** Setting a text list value. */
509
+ textListValue?: FieldValueTextListValue;
510
+ /** Setting a text value. */
511
+ textValue?: string;
512
+ /** Type of the field */
513
+ type?: string;
514
+ /** If the field is unset, this will be true. */
515
+ unsetValue?: boolean;
516
+ /** Setting a user list value by selecting multiple users. */
517
+ userListValue?: FieldValueUserListValue;
518
+ /** Setting a user value by selecting a single user. */
519
+ userValue?: FieldValueUserValue;
520
+ }
521
+ interface FieldValueSelectionListValue {
522
+ /** List of selections. */
523
+ values?: FieldValueSelectionValue[];
524
+ }
525
+ interface FieldValueSelectionValue {
526
+ /** Whether the selection is badged. */
527
+ badged?: boolean;
528
+ /** Display name of the selection. */
529
+ displayName?: string;
530
+ /** Identifier of the selection. */
531
+ id?: string;
532
+ }
533
+ interface FieldValueTextListValue {
534
+ /** List of text values. */
535
+ values?: string[];
536
+ }
537
+ interface FieldValueUserListValue {
538
+ /** List of users. */
539
+ values?: FieldValueUserValue[];
540
+ }
541
+ interface FieldValueUserValue {
542
+ /** Email of the user. */
543
+ email?: string;
544
+ }
359
545
  interface NestedParameter {
360
546
  /** Boolean value of the parameter. */
361
547
  boolValue?: boolean;
@@ -372,6 +558,22 @@ declare namespace gapi.client {
372
558
  /** String value of the parameter. */
373
559
  value?: string;
374
560
  }
561
+ interface Reason {
562
+ /** The type of the reason. */
563
+ reasonType?: string;
564
+ }
565
+ interface ResourceDetails {
566
+ /** List of labels applied on the resource */
567
+ appliedLabels?: AppliedLabel[];
568
+ /** Identifier of the resource. */
569
+ id?: string;
570
+ /** Defines relationship of the resource to the events */
571
+ relation?: string;
572
+ /** Title of the resource. For instance, in case of a drive document, this would be the title of the document. In case of an email, this would be the subject. */
573
+ title?: string;
574
+ /** Type of the resource - document, email, chat message */
575
+ type?: string;
576
+ }
375
577
  interface UsageReport {
376
578
  /** Output only. The date of the report request. */
377
579
  date?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.admin-reports_v1",
3
- "version": "0.0.20250318",
3
+ "version": "0.0.20250331",
4
4
  "description": "TypeScript typings for Admin SDK API reports_v1",
5
5
  "repository": {
6
6
  "type": "git",