@maxim_mazurok/gapi.client.admin-reports_v1 0.0.20250307 → 0.0.20250325

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 +211 -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: 20250307
12
+ // Revision: 20250325
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,26 @@ 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
+ /** Id of the application to which this resource belongs */
234
+ applicationId?: string;
235
+ /** List of labels applied on the resource */
236
+ appliedLabels?: AppliedLabel[];
237
+ /** Identifier of the resource. */
238
+ id?: string;
239
+ /** Owner of the resource. */
240
+ ownerEmail?: string;
241
+ /** Defines relationship of the resource to the events */
242
+ relation?: string;
243
+ /** 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. */
244
+ title?: string;
245
+ /** Type of the resource - document, email, chat message */
246
+ type?: string;
247
+ }
143
248
  interface UsageReport {
144
249
  /** Output only. The date of the report request. */
145
250
  date?: string;
@@ -273,6 +378,15 @@ declare namespace gapi.client {
273
378
  interface Activity {
274
379
  /** User doing the action. */
275
380
  actor?: {
381
+ /** Details of the application that was the actor for the activity. */
382
+ applicationInfo?: {
383
+ /** Name of the application used to perform the action. */
384
+ applicationName?: string;
385
+ /** Whether the application was impersonating a user. */
386
+ impersonation?: boolean;
387
+ /** OAuth client id of the third party application used to perform the action. */
388
+ oauthClientId?: string;
389
+ };
276
390
  /** The type of actor. */
277
391
  callerType?: string;
278
392
  /** The primary email address of the actor. May be absent if there is no email address associated with the actor. */
@@ -313,6 +427,8 @@ declare namespace gapi.client {
313
427
  /** String value of the parameter. */
314
428
  value?: string;
315
429
  }>;
430
+ /** Resource ids associated with the event. */
431
+ resourceIds?: string[];
316
432
  /** 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
433
  type?: string;
318
434
  }>;
@@ -333,6 +449,18 @@ declare namespace gapi.client {
333
449
  kind?: string;
334
450
  /** 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
451
  ownerDomain?: string;
452
+ /** Details of the resource on which the action was performed. */
453
+ resourceDetails?: ResourceDetails[];
454
+ }
455
+ interface AppliedLabel {
456
+ /** 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. */
457
+ fieldValues?: FieldValue[];
458
+ /** Identifier of the label - Only the label id, not the full OnePlatform resource name. */
459
+ id?: string;
460
+ /** The reason why the label was applied on the resource. */
461
+ reason?: Reason;
462
+ /** Title of the label */
463
+ title?: string;
336
464
  }
337
465
  interface Channel {
338
466
  /** The address where notifications are delivered for this channel. */
@@ -356,6 +484,68 @@ declare namespace gapi.client {
356
484
  /** The type of delivery mechanism used for this channel. The value should be set to `"web_hook"`. */
357
485
  type?: string;
358
486
  }
487
+ interface Date {
488
+ /** 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. */
489
+ day?: number;
490
+ /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
491
+ month?: number;
492
+ /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
493
+ year?: number;
494
+ }
495
+ interface FieldValue {
496
+ /** Setting a date value. */
497
+ dateValue?: Date;
498
+ /** Display name of the field */
499
+ displayName?: string;
500
+ /** Identifier of the field */
501
+ id?: string;
502
+ /** Setting an integer value. */
503
+ integerValue?: string;
504
+ /** Setting a long text value. */
505
+ longTextValue?: string;
506
+ /** The reason why the field was applied to the label. */
507
+ reason?: Reason;
508
+ /** Setting a selection list value by selecting multiple values from a dropdown. */
509
+ selectionListValue?: FieldValueSelectionListValue;
510
+ /** Setting a selection value by selecting a single value from a dropdown. */
511
+ selectionValue?: FieldValueSelectionValue;
512
+ /** Setting a text list value. */
513
+ textListValue?: FieldValueTextListValue;
514
+ /** Setting a text value. */
515
+ textValue?: string;
516
+ /** Type of the field */
517
+ type?: string;
518
+ /** If the field is unset, this will be true. */
519
+ unsetValue?: boolean;
520
+ /** Setting a user list value by selecting multiple users. */
521
+ userListValue?: FieldValueUserListValue;
522
+ /** Setting a user value by selecting a single user. */
523
+ userValue?: FieldValueUserValue;
524
+ }
525
+ interface FieldValueSelectionListValue {
526
+ /** List of selections. */
527
+ values?: FieldValueSelectionValue[];
528
+ }
529
+ interface FieldValueSelectionValue {
530
+ /** Whether the selection is badged. */
531
+ badged?: boolean;
532
+ /** Display name of the selection. */
533
+ displayName?: string;
534
+ /** Identifier of the selection. */
535
+ id?: string;
536
+ }
537
+ interface FieldValueTextListValue {
538
+ /** List of text values. */
539
+ values?: string[];
540
+ }
541
+ interface FieldValueUserListValue {
542
+ /** List of users. */
543
+ values?: FieldValueUserValue[];
544
+ }
545
+ interface FieldValueUserValue {
546
+ /** Email of the user. */
547
+ email?: string;
548
+ }
359
549
  interface NestedParameter {
360
550
  /** Boolean value of the parameter. */
361
551
  boolValue?: boolean;
@@ -372,6 +562,26 @@ declare namespace gapi.client {
372
562
  /** String value of the parameter. */
373
563
  value?: string;
374
564
  }
565
+ interface Reason {
566
+ /** The type of the reason. */
567
+ reasonType?: string;
568
+ }
569
+ interface ResourceDetails {
570
+ /** Id of the application to which this resource belongs */
571
+ applicationId?: string;
572
+ /** List of labels applied on the resource */
573
+ appliedLabels?: AppliedLabel[];
574
+ /** Identifier of the resource. */
575
+ id?: string;
576
+ /** Owner of the resource. */
577
+ ownerEmail?: string;
578
+ /** Defines relationship of the resource to the events */
579
+ relation?: string;
580
+ /** 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. */
581
+ title?: string;
582
+ /** Type of the resource - document, email, chat message */
583
+ type?: string;
584
+ }
375
585
  interface UsageReport {
376
586
  /** Output only. The date of the report request. */
377
587
  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.20250307",
3
+ "version": "0.0.20250325",
4
4
  "description": "TypeScript typings for Admin SDK API reports_v1",
5
5
  "repository": {
6
6
  "type": "git",