@maxim_mazurok/gapi.client.admin-reports_v1 0.1.20260227 → 0.1.20260311
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.
- package/index.d.ts +67 -3
- 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:
|
|
12
|
+
// Revision: 20260311
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -169,6 +169,10 @@ declare namespace gapi.client {
|
|
|
169
169
|
/** The type of delivery mechanism used for this channel. The value should be set to `"web_hook"`. */
|
|
170
170
|
type?: string;
|
|
171
171
|
}
|
|
172
|
+
interface CustomerIdentity {
|
|
173
|
+
/** Customer id. */
|
|
174
|
+
id?: string;
|
|
175
|
+
}
|
|
172
176
|
interface Date {
|
|
173
177
|
/** 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. */
|
|
174
178
|
day?: number;
|
|
@@ -231,6 +235,12 @@ declare namespace gapi.client {
|
|
|
231
235
|
/** Email of the user. */
|
|
232
236
|
email?: string;
|
|
233
237
|
}
|
|
238
|
+
interface GroupIdentity {
|
|
239
|
+
/** Group email. */
|
|
240
|
+
groupEmail?: string;
|
|
241
|
+
/** Group gaia id. */
|
|
242
|
+
id?: string;
|
|
243
|
+
}
|
|
234
244
|
interface NestedParameter {
|
|
235
245
|
/** Boolean value of the parameter. */
|
|
236
246
|
boolValue?: boolean;
|
|
@@ -247,6 +257,20 @@ declare namespace gapi.client {
|
|
|
247
257
|
/** String value of the parameter. */
|
|
248
258
|
value?: string;
|
|
249
259
|
}
|
|
260
|
+
interface OwnerDetails {
|
|
261
|
+
/** Identity details of the owner(s) of the resource. */
|
|
262
|
+
ownerIdentity?: OwnerIdentity[];
|
|
263
|
+
/** Type of the owner of the resource. */
|
|
264
|
+
ownerType?: string;
|
|
265
|
+
}
|
|
266
|
+
interface OwnerIdentity {
|
|
267
|
+
/** Identity of the Google Workspace customer who owns the resource. */
|
|
268
|
+
customerIdentity?: CustomerIdentity;
|
|
269
|
+
/** Identity of the group who owns the resource. */
|
|
270
|
+
groupIdentity?: GroupIdentity;
|
|
271
|
+
/** Identity of the user who owns the resource. */
|
|
272
|
+
userIdentity?: UserIdentity;
|
|
273
|
+
}
|
|
250
274
|
interface Reason {
|
|
251
275
|
/** The type of the reason. */
|
|
252
276
|
reasonType?: string;
|
|
@@ -254,8 +278,10 @@ declare namespace gapi.client {
|
|
|
254
278
|
interface ResourceDetails {
|
|
255
279
|
/** List of labels applied on the resource */
|
|
256
280
|
appliedLabels?: AppliedLabel[];
|
|
257
|
-
/** Identifier of the resource. */
|
|
281
|
+
/** Identifier of the resource, such as a doc_id for a Drive document, a conference_id for a Meet conference, or a "gaia_id/rfc2822_message_id" for an email. */
|
|
258
282
|
id?: string;
|
|
283
|
+
/** Owner details of the resource. */
|
|
284
|
+
ownerDetails?: OwnerDetails;
|
|
259
285
|
/** Defines relationship of the resource to the events */
|
|
260
286
|
relation?: string;
|
|
261
287
|
/** 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. */
|
|
@@ -323,6 +349,12 @@ declare namespace gapi.client {
|
|
|
323
349
|
message?: string;
|
|
324
350
|
}>;
|
|
325
351
|
}
|
|
352
|
+
interface UserIdentity {
|
|
353
|
+
/** User gaia id. */
|
|
354
|
+
id?: string;
|
|
355
|
+
/** User email. */
|
|
356
|
+
userEmail?: string;
|
|
357
|
+
}
|
|
326
358
|
interface ChannelsResource {
|
|
327
359
|
/** Stop watching resources through this channel. */
|
|
328
360
|
stop(request: {
|
|
@@ -524,6 +556,10 @@ declare namespace gapi.client {
|
|
|
524
556
|
/** The type of delivery mechanism used for this channel. The value should be set to `"web_hook"`. */
|
|
525
557
|
type?: string;
|
|
526
558
|
}
|
|
559
|
+
interface CustomerIdentity {
|
|
560
|
+
/** Customer id. */
|
|
561
|
+
id?: string;
|
|
562
|
+
}
|
|
527
563
|
interface Date {
|
|
528
564
|
/** 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. */
|
|
529
565
|
day?: number;
|
|
@@ -586,6 +622,12 @@ declare namespace gapi.client {
|
|
|
586
622
|
/** Email of the user. */
|
|
587
623
|
email?: string;
|
|
588
624
|
}
|
|
625
|
+
interface GroupIdentity {
|
|
626
|
+
/** Group email. */
|
|
627
|
+
groupEmail?: string;
|
|
628
|
+
/** Group gaia id. */
|
|
629
|
+
id?: string;
|
|
630
|
+
}
|
|
589
631
|
interface NestedParameter {
|
|
590
632
|
/** Boolean value of the parameter. */
|
|
591
633
|
boolValue?: boolean;
|
|
@@ -602,6 +644,20 @@ declare namespace gapi.client {
|
|
|
602
644
|
/** String value of the parameter. */
|
|
603
645
|
value?: string;
|
|
604
646
|
}
|
|
647
|
+
interface OwnerDetails {
|
|
648
|
+
/** Identity details of the owner(s) of the resource. */
|
|
649
|
+
ownerIdentity?: OwnerIdentity[];
|
|
650
|
+
/** Type of the owner of the resource. */
|
|
651
|
+
ownerType?: string;
|
|
652
|
+
}
|
|
653
|
+
interface OwnerIdentity {
|
|
654
|
+
/** Identity of the Google Workspace customer who owns the resource. */
|
|
655
|
+
customerIdentity?: CustomerIdentity;
|
|
656
|
+
/** Identity of the group who owns the resource. */
|
|
657
|
+
groupIdentity?: GroupIdentity;
|
|
658
|
+
/** Identity of the user who owns the resource. */
|
|
659
|
+
userIdentity?: UserIdentity;
|
|
660
|
+
}
|
|
605
661
|
interface Reason {
|
|
606
662
|
/** The type of the reason. */
|
|
607
663
|
reasonType?: string;
|
|
@@ -609,8 +665,10 @@ declare namespace gapi.client {
|
|
|
609
665
|
interface ResourceDetails {
|
|
610
666
|
/** List of labels applied on the resource */
|
|
611
667
|
appliedLabels?: AppliedLabel[];
|
|
612
|
-
/** Identifier of the resource. */
|
|
668
|
+
/** Identifier of the resource, such as a doc_id for a Drive document, a conference_id for a Meet conference, or a "gaia_id/rfc2822_message_id" for an email. */
|
|
613
669
|
id?: string;
|
|
670
|
+
/** Owner details of the resource. */
|
|
671
|
+
ownerDetails?: OwnerDetails;
|
|
614
672
|
/** Defines relationship of the resource to the events */
|
|
615
673
|
relation?: string;
|
|
616
674
|
/** 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. */
|
|
@@ -678,6 +736,12 @@ declare namespace gapi.client {
|
|
|
678
736
|
message?: string;
|
|
679
737
|
}>;
|
|
680
738
|
}
|
|
739
|
+
interface UserIdentity {
|
|
740
|
+
/** User gaia id. */
|
|
741
|
+
id?: string;
|
|
742
|
+
/** User email. */
|
|
743
|
+
userEmail?: string;
|
|
744
|
+
}
|
|
681
745
|
interface ActivitiesResource {
|
|
682
746
|
/** Retrieves a list of activities for a specific customer's account and application such as the Admin console application or the Google Drive application. For more information, see the guides for administrator and Google Drive activity reports. For more information about the activity report's parameters, see the activity parameters reference guides. */
|
|
683
747
|
list(request?: {
|