@maxim_mazurok/gapi.client.admin-reports_v1 0.1.20260126 → 0.1.20260210
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 +31 -1
- 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: 20260210
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -92,6 +92,8 @@ declare namespace gapi.client {
|
|
|
92
92
|
}>;
|
|
93
93
|
/** Resource ids associated with the event. */
|
|
94
94
|
resourceIds?: string[];
|
|
95
|
+
/** Status of the event. Note: Not all events have status. */
|
|
96
|
+
status?: ActivityEventsStatus;
|
|
95
97
|
/** 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`. */
|
|
96
98
|
type?: string;
|
|
97
99
|
}>;
|
|
@@ -117,6 +119,16 @@ declare namespace gapi.client {
|
|
|
117
119
|
/** Details of the resource on which the action was performed. */
|
|
118
120
|
resourceDetails?: ResourceDetails[];
|
|
119
121
|
}
|
|
122
|
+
interface ActivityEventsStatus {
|
|
123
|
+
/** Error code of the event. Note: Field can be empty. */
|
|
124
|
+
errorCode?: string;
|
|
125
|
+
/** Error message of the event. Note: Field can be empty. */
|
|
126
|
+
errorMessage?: string;
|
|
127
|
+
/** * Status of the event. Possible values if not empty: - UNKNOWN_EVENT_STATUS - SUCCEEDED - SUCCEEDED_WITH_WARNINGS - FAILED - SKIPPED */
|
|
128
|
+
eventStatus?: string;
|
|
129
|
+
/** Status code of the event. Note: Field can be empty. */
|
|
130
|
+
httpStatusCode?: number;
|
|
131
|
+
}
|
|
120
132
|
interface ActivityNetworkInfo {
|
|
121
133
|
/** IP Address of the user doing the action. */
|
|
122
134
|
ipAsn?: number[];
|
|
@@ -435,6 +447,8 @@ declare namespace gapi.client {
|
|
|
435
447
|
}>;
|
|
436
448
|
/** Resource ids associated with the event. */
|
|
437
449
|
resourceIds?: string[];
|
|
450
|
+
/** Status of the event. Note: Not all events have status. */
|
|
451
|
+
status?: ActivityEventsStatus;
|
|
438
452
|
/** 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`. */
|
|
439
453
|
type?: string;
|
|
440
454
|
}>;
|
|
@@ -460,6 +474,16 @@ declare namespace gapi.client {
|
|
|
460
474
|
/** Details of the resource on which the action was performed. */
|
|
461
475
|
resourceDetails?: ResourceDetails[];
|
|
462
476
|
}
|
|
477
|
+
interface ActivityEventsStatus {
|
|
478
|
+
/** Error code of the event. Note: Field can be empty. */
|
|
479
|
+
errorCode?: string;
|
|
480
|
+
/** Error message of the event. Note: Field can be empty. */
|
|
481
|
+
errorMessage?: string;
|
|
482
|
+
/** * Status of the event. Possible values if not empty: - UNKNOWN_EVENT_STATUS - SUCCEEDED - SUCCEEDED_WITH_WARNINGS - FAILED - SKIPPED */
|
|
483
|
+
eventStatus?: string;
|
|
484
|
+
/** Status code of the event. Note: Field can be empty. */
|
|
485
|
+
httpStatusCode?: number;
|
|
486
|
+
}
|
|
463
487
|
interface ActivityNetworkInfo {
|
|
464
488
|
/** IP Address of the user doing the action. */
|
|
465
489
|
ipAsn?: number[];
|
|
@@ -665,6 +689,8 @@ declare namespace gapi.client {
|
|
|
665
689
|
actorIpAddress?: string;
|
|
666
690
|
/** Data format for response. */
|
|
667
691
|
alt?: string;
|
|
692
|
+
/** Optional. Used to filter on the `oAuthClientId` field present in [`ApplicationInfo`](#applicationinfo) message. **Usage** ``` GET...&applicationInfoFilter=oAuthClientId="clientId" GET...&applicationInfoFilter=oAuthClientId=%22clientId%22 ``` */
|
|
693
|
+
applicationInfoFilter?: string;
|
|
668
694
|
/** Application name for which the events are to be retrieved. */
|
|
669
695
|
applicationName: string;
|
|
670
696
|
/** JSONP */
|
|
@@ -685,6 +711,8 @@ declare namespace gapi.client {
|
|
|
685
711
|
key?: string;
|
|
686
712
|
/** Determines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has two activities, the report has two pages. The response's `nextPageToken` property has the token to the second page. The `maxResults` query string is optional in the request. The default value is 1000. */
|
|
687
713
|
maxResults?: number;
|
|
714
|
+
/** Optional. Used to filter on the `regionCode` field present in [`NetworkInfo`](#networkinfo) message. **Usage** ``` GET...&networkInfoFilter=regionCode="IN" GET...&networkInfoFilter=regionCode=%22IN%22 ``` */
|
|
715
|
+
networkInfoFilter?: string;
|
|
688
716
|
/** OAuth 2.0 token for the current user. */
|
|
689
717
|
oauth_token?: string;
|
|
690
718
|
/** ID of the organizational unit to report on. Activity records will be shown only for users who belong to the specified organizational unit. Data before Dec 17, 2018 doesn't appear in the filtered results. */
|
|
@@ -699,6 +727,8 @@ declare namespace gapi.client {
|
|
|
699
727
|
resourceDetailsFilter?: string;
|
|
700
728
|
/** Sets the beginning of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns all activities from `startTime` until `endTime`. The `startTime` must be before the `endTime` (if specified) and the current time when the request is made, or the API returns an error. For Gmail requests, `startTime` and `endTime` must be provided and the difference must not be greater than 30 days. */
|
|
701
729
|
startTime?: string;
|
|
730
|
+
/** Optional. Used to filter on the `statusCode` field present in [`Status`](#status) message. **Usage** ``` GET...&statusFilter=statusCode="200" GET...&statusFilter=statusCode=%22200%22 ``` */
|
|
731
|
+
statusFilter?: string;
|
|
702
732
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
703
733
|
upload_protocol?: string;
|
|
704
734
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|