@maxim_mazurok/gapi.client.alertcenter-v1beta1 0.0.20220808

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 ADDED
@@ -0,0 +1,1070 @@
1
+ /* Type definitions for non-npm package Google Workspace Alert Center API v1beta1 0.0 */
2
+ // Project: https://developers.google.com/admin-sdk/alertcenter/
3
+ // Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
4
+ // Nick Amoscato <https://github.com/namoscato>
5
+ // Declan Vong <https://github.com/declanvong>
6
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
7
+ // TypeScript Version: 2.8
8
+
9
+ // IMPORTANT
10
+ // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
11
+ // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
12
+ // Generated from: https://alertcenter.googleapis.com/$discovery/rest?version=v1beta1
13
+ // Revision: 20220808
14
+
15
+ /// <reference types="gapi.client" />
16
+
17
+ declare namespace gapi.client {
18
+ /** Load Google Workspace Alert Center API v1beta1 */
19
+ function load(urlOrObject: "https://alertcenter.googleapis.com/$discovery/rest?version=v1beta1"): Promise<void>;
20
+ /** @deprecated Please load APIs with discovery documents. */
21
+ function load(name: "alertcenter", version: "v1beta1"): Promise<void>;
22
+ /** @deprecated Please load APIs with discovery documents. */
23
+ function load(name: "alertcenter", version: "v1beta1", callback: () => any): void;
24
+
25
+ namespace alertcenter {
26
+ interface AccountSuspensionDetails {
27
+ /** The reason why this account is receiving an account suspension warning. */
28
+ abuseReason?: string;
29
+ /** The name of the product being abused. This is restricted to only the following values: "Gmail" "Google Workspace" "Payments" "Voice" "YouTube" "Other" */
30
+ productName?: string;
31
+ }
32
+ interface AccountSuspensionWarning {
33
+ /**
34
+ * The amount of time remaining to appeal an imminent suspension. After this window has elapsed, the account will be suspended. Only populated if the account suspension is in WARNING
35
+ * state.
36
+ */
37
+ appealWindow?: string;
38
+ /** Account suspension warning state. */
39
+ state?: string;
40
+ /** Details about why an account is being suspended. */
41
+ suspensionDetails?: AccountSuspensionDetails[];
42
+ }
43
+ interface AccountWarning {
44
+ /** Required. The email of the user that this event belongs to. */
45
+ email?: string;
46
+ /**
47
+ * Optional. Details of the login action associated with the warning event. This is only available for: * Suspicious login * Suspicious login (less secure app) * Suspicious
48
+ * programmatic login * User suspended (suspicious activity)
49
+ */
50
+ loginDetails?: LoginDetails;
51
+ }
52
+ // tslint:disable-next-line:no-empty-interface
53
+ interface ActionInfo {
54
+ }
55
+ interface ActivityRule {
56
+ /** List of action names associated with the rule threshold. */
57
+ actionNames?: string[];
58
+ /** Rule create timestamp. */
59
+ createTime?: string;
60
+ /** Description of the rule. */
61
+ description?: string;
62
+ /** Alert display name. */
63
+ displayName?: string;
64
+ /** Rule name. */
65
+ name?: string;
66
+ /** Query that is used to get the data from the associated source. */
67
+ query?: string;
68
+ /**
69
+ * List of alert IDs superseded by this alert. It is used to indicate that this alert is essentially extension of superseded alerts and we found the relationship after creating these
70
+ * alerts.
71
+ */
72
+ supersededAlerts?: string[];
73
+ /** Alert ID superseding this alert. It is used to indicate that superseding alert is essentially extension of this alert and we found the relationship after creating both alerts. */
74
+ supersedingAlert?: string;
75
+ /** Alert threshold is for example “COUNT > 5”. */
76
+ threshold?: string;
77
+ /** The trigger sources for this rule. * GMAIL_EVENTS * DEVICE_EVENTS * USER_EVENTS */
78
+ triggerSource?: string;
79
+ /** The timestamp of the last update to the rule. */
80
+ updateTime?: string;
81
+ /** Rule window size. Possible values are 1 hour or 24 hours. */
82
+ windowSize?: string;
83
+ }
84
+ interface Alert {
85
+ /** Output only. The unique identifier for the alert. */
86
+ alertId?: string;
87
+ /** Output only. The time this alert was created. */
88
+ createTime?: string;
89
+ /** Output only. The unique identifier of the Google account of the customer. */
90
+ customerId?: string;
91
+ /** Optional. The data associated with this alert, for example google.apps.alertcenter.type.DeviceCompromised. */
92
+ data?: { [P in string]: any };
93
+ /** Output only. `True` if this alert is marked for deletion. */
94
+ deleted?: boolean;
95
+ /**
96
+ * Optional. The time the event that caused this alert ceased being active. If provided, the end time must not be earlier than the start time. If not provided, it indicates an ongoing
97
+ * alert.
98
+ */
99
+ endTime?: string;
100
+ /**
101
+ * Optional. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of an alert from overwriting each other. It is strongly suggested that
102
+ * systems make use of the `etag` in the read-modify-write cycle to perform alert updates in order to avoid race conditions: An `etag` is returned in the response which contains
103
+ * alerts, and systems are expected to put that etag in the request to update alert to ensure that their change will be applied to the same version of the alert. If no `etag` is
104
+ * provided in the call to update alert, then the existing alert is overwritten blindly.
105
+ */
106
+ etag?: string;
107
+ /** Output only. The metadata associated with this alert. */
108
+ metadata?: AlertMetadata;
109
+ /** Output only. An optional [Security Investigation Tool](https://support.google.com/a/answer/7575955) query for this alert. */
110
+ securityInvestigationToolLink?: string;
111
+ /**
112
+ * Required. A unique identifier for the system that reported the alert. This is output only after alert is created. Supported sources are any of the following: * Google Operations *
113
+ * Mobile device management * Gmail phishing * Data Loss Prevention * Domain wide takeout * State sponsored attack * Google identity * Apps outage
114
+ */
115
+ source?: string;
116
+ /** Required. The time the event that caused this alert was started or detected. */
117
+ startTime?: string;
118
+ /**
119
+ * Required. The type of the alert. This is output only after alert is created. For a list of available alert types see [Google Workspace Alert
120
+ * types](https://developers.google.com/admin-sdk/alertcenter/reference/alert-types).
121
+ */
122
+ type?: string;
123
+ /** Output only. The time this alert was last updated. */
124
+ updateTime?: string;
125
+ }
126
+ interface AlertFeedback {
127
+ /** Output only. The alert identifier. */
128
+ alertId?: string;
129
+ /** Output only. The time this feedback was created. */
130
+ createTime?: string;
131
+ /** Output only. The unique identifier of the Google account of the customer. */
132
+ customerId?: string;
133
+ /** Output only. The email of the user that provided the feedback. */
134
+ email?: string;
135
+ /** Output only. The unique identifier for the feedback. */
136
+ feedbackId?: string;
137
+ /** Required. The type of the feedback. */
138
+ type?: string;
139
+ }
140
+ interface AlertMetadata {
141
+ /** Output only. The alert identifier. */
142
+ alertId?: string;
143
+ /** The email address of the user assigned to the alert. */
144
+ assignee?: string;
145
+ /** Output only. The unique identifier of the Google account of the customer. */
146
+ customerId?: string;
147
+ /**
148
+ * Optional. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of an alert metadata from overwriting each other. It is strongly suggested
149
+ * that systems make use of the `etag` in the read-modify-write cycle to perform metadata updates in order to avoid race conditions: An `etag` is returned in the response which
150
+ * contains alert metadata, and systems are expected to put that etag in the request to update alert metadata to ensure that their change will be applied to the same version of the
151
+ * alert metadata. If no `etag` is provided in the call to update alert metadata, then the existing alert metadata is overwritten blindly.
152
+ */
153
+ etag?: string;
154
+ /**
155
+ * The severity value of the alert. Alert Center will set this field at alert creation time, default's to an empty string when it could not be determined. The supported values for
156
+ * update actions on this field are the following: * HIGH * MEDIUM * LOW
157
+ */
158
+ severity?: string;
159
+ /** The current status of the alert. The supported values are the following: * NOT_STARTED * IN_PROGRESS * CLOSED */
160
+ status?: string;
161
+ /** Output only. The time this metadata was last updated. */
162
+ updateTime?: string;
163
+ }
164
+ interface ApnsCertificateExpirationInfo {
165
+ /** The Apple ID used for the certificate, may be blank if admins did not enter it. */
166
+ appleId?: string;
167
+ /** The expiration date of the APNS Certificate. */
168
+ expirationTime?: string;
169
+ /** The UID for the certificate. */
170
+ uid?: string;
171
+ }
172
+ interface AppMakerSqlSetupNotification {
173
+ /** List of applications with requests for default SQL set up. */
174
+ requestInfo?: RequestInfo[];
175
+ }
176
+ interface AppSettingsChanged {
177
+ /** Any other associated alert details, for example, AlertConfiguration. */
178
+ alertDetails?: string;
179
+ /** Rule name */
180
+ name?: string;
181
+ }
182
+ interface AppsOutage {
183
+ /** Link to the outage event in Google Workspace Status Dashboard */
184
+ dashboardUri?: string;
185
+ /** Incident tracking ID. */
186
+ incidentTrackingId?: string;
187
+ /** Indicates new alert details under which the outage is communicated. Only populated when Status is MERGED. */
188
+ mergeInfo?: MergeInfo;
189
+ /** Timestamp by which the next update is expected to arrive. */
190
+ nextUpdateTime?: string;
191
+ /** List of products impacted by the outage. */
192
+ products?: string[];
193
+ /** Timestamp when the outage is expected to be resolved, or has confirmed resolution. Provided only when known. */
194
+ resolutionTime?: string;
195
+ /** Current outage status. */
196
+ status?: string;
197
+ }
198
+ interface Attachment {
199
+ /** A CSV file attachment. */
200
+ csv?: Csv;
201
+ }
202
+ interface BadWhitelist {
203
+ /** The domain ID. */
204
+ domainId?: DomainId;
205
+ /** The entity whose actions triggered a Gmail phishing alert. */
206
+ maliciousEntity?: MaliciousEntity;
207
+ /** The list of messages contained by this alert. */
208
+ messages?: GmailMessageInfo[];
209
+ /** The source IP address of the malicious email, for example, `127.0.0.1`. */
210
+ sourceIp?: string;
211
+ }
212
+ interface BatchDeleteAlertsRequest {
213
+ /** Required. list of alert IDs. */
214
+ alertId?: string[];
215
+ /** Optional. The unique identifier of the Google Workspace organization account of the customer the alerts are associated with. */
216
+ customerId?: string;
217
+ }
218
+ interface BatchDeleteAlertsResponse {
219
+ /** The status details for each failed alert_id. */
220
+ failedAlertStatus?: { [P in string]: Status };
221
+ /** The successful list of alert IDs. */
222
+ successAlertIds?: string[];
223
+ }
224
+ interface BatchUndeleteAlertsRequest {
225
+ /** Required. list of alert IDs. */
226
+ alertId?: string[];
227
+ /** Optional. The unique identifier of the Google Workspace organization account of the customer the alerts are associated with. */
228
+ customerId?: string;
229
+ }
230
+ interface BatchUndeleteAlertsResponse {
231
+ /** The status details for each failed alert_id. */
232
+ failedAlertStatus?: { [P in string]: Status };
233
+ /** The successful list of alert IDs. */
234
+ successAlertIds?: string[];
235
+ }
236
+ interface CloudPubsubTopic {
237
+ /** Optional. The format of the payload that would be sent. If not specified the format will be JSON. */
238
+ payloadFormat?: string;
239
+ /** The `name` field of a Cloud Pubsub [Topic] (https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.topics#Topic). */
240
+ topicName?: string;
241
+ }
242
+ interface Csv {
243
+ /** The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string. */
244
+ dataRows?: CsvRow[];
245
+ /** The list of headers for data columns in a CSV file. */
246
+ headers?: string[];
247
+ }
248
+ interface CsvRow {
249
+ /** The data entries in a CSV file row, as a string array rather than a single comma-separated string. */
250
+ entries?: string[];
251
+ }
252
+ interface DeviceCompromised {
253
+ /** The email of the user this alert was created for. */
254
+ email?: string;
255
+ /** Required. The list of security events. */
256
+ events?: DeviceCompromisedSecurityDetail[];
257
+ }
258
+ interface DeviceCompromisedSecurityDetail {
259
+ /** The device compromised state. Possible values are "`Compromised`" or "`Not Compromised`". */
260
+ deviceCompromisedState?: string;
261
+ /** Required. The device ID. */
262
+ deviceId?: string;
263
+ /** The model of the device. */
264
+ deviceModel?: string;
265
+ /** The type of the device. */
266
+ deviceType?: string;
267
+ /** Required for iOS, empty for others. */
268
+ iosVendorId?: string;
269
+ /** The device resource ID. */
270
+ resourceId?: string;
271
+ /** The serial number of the device. */
272
+ serialNumber?: string;
273
+ }
274
+ interface DlpRuleViolation {
275
+ /**
276
+ * Details about the violated DLP rule. Admins can use the predefined detectors provided by Google Cloud DLP https://cloud.google.com/dlp/ when setting up a DLP rule. Matched Cloud DLP
277
+ * detectors in this violation if any will be captured in the MatchInfo.predefined_detector.
278
+ */
279
+ ruleViolationInfo?: RuleViolationInfo;
280
+ }
281
+ interface DomainId {
282
+ /** The primary domain for the customer. */
283
+ customerPrimaryDomain?: string;
284
+ }
285
+ interface DomainWideTakeoutInitiated {
286
+ /** The email of the admin who initiated the takeout. */
287
+ email?: string;
288
+ /** The takeout request ID. */
289
+ takeoutRequestId?: string;
290
+ }
291
+ // tslint:disable-next-line:no-empty-interface
292
+ interface Empty {
293
+ }
294
+ interface GmailMessageInfo {
295
+ /** The `SHA256` hash of email's attachment and all MIME parts. */
296
+ attachmentsSha256Hash?: string[];
297
+ /** The date of the event related to this email. */
298
+ date?: string;
299
+ /** The hash of the message body text. */
300
+ md5HashMessageBody?: string;
301
+ /** The MD5 Hash of email's subject (only available for reported emails). */
302
+ md5HashSubject?: string;
303
+ /** The snippet of the message body text (only available for reported emails). */
304
+ messageBodySnippet?: string;
305
+ /** The message ID. */
306
+ messageId?: string;
307
+ /** The recipient of this email. */
308
+ recipient?: string;
309
+ /** The email subject text (only available for reported emails). */
310
+ subjectText?: string;
311
+ }
312
+ interface GoogleOperations {
313
+ /** The list of emails which correspond to the users directly affected by the incident. */
314
+ affectedUserEmails?: string[];
315
+ /** Optional. Application-specific data for an incident, provided when the Google Workspace application which reported the incident cannot be completely restored to a valid state. */
316
+ attachmentData?: Attachment;
317
+ /** A detailed, freeform incident description. */
318
+ description?: string;
319
+ /** Customer domain for email template personalization. */
320
+ domain?: string;
321
+ /** A header to display above the incident message. Typically used to attach a localized notice on the timeline for followup comms translations. */
322
+ header?: string;
323
+ /** A one-line incident description. */
324
+ title?: string;
325
+ }
326
+ interface ListAlertFeedbackResponse {
327
+ /** The list of alert feedback. Feedback entries for each alert are ordered by creation time descending. */
328
+ feedback?: AlertFeedback[];
329
+ }
330
+ interface ListAlertsResponse {
331
+ /** The list of alerts. */
332
+ alerts?: Alert[];
333
+ /**
334
+ * The token for the next page. If not empty, indicates that there may be more alerts that match the listing request; this value can be used in a subsequent ListAlertsRequest to get
335
+ * alerts continuing from last result of the current list call.
336
+ */
337
+ nextPageToken?: string;
338
+ }
339
+ interface LoginDetails {
340
+ /** Optional. The human-readable IP address (for example, `11.22.33.44`) that is associated with the warning event. */
341
+ ipAddress?: string;
342
+ /** Optional. The successful login time that is associated with the warning event. This isn't present for blocked login attempts. */
343
+ loginTime?: string;
344
+ }
345
+ interface MailPhishing {
346
+ /** The domain ID. */
347
+ domainId?: DomainId;
348
+ /** If `true`, the email originated from within the organization. */
349
+ isInternal?: boolean;
350
+ /** The entity whose actions triggered a Gmail phishing alert. */
351
+ maliciousEntity?: MaliciousEntity;
352
+ /** The list of messages contained by this alert. */
353
+ messages?: GmailMessageInfo[];
354
+ /** System actions on the messages. */
355
+ systemActionType?: string;
356
+ }
357
+ interface MaliciousEntity {
358
+ /** The header from display name. */
359
+ displayName?: string;
360
+ /** The actor who triggered a gmail phishing alert. */
361
+ entity?: User;
362
+ /** The sender email address. */
363
+ fromHeader?: string;
364
+ }
365
+ interface MandatoryServiceAnnouncement {
366
+ /** Detailed, freeform text describing the announcement */
367
+ description?: string;
368
+ /** One line summary of the announcement */
369
+ title?: string;
370
+ }
371
+ interface MatchInfo {
372
+ /** For matched detector predefined by Google. */
373
+ predefinedDetector?: PredefinedDetectorInfo;
374
+ /** For matched detector defined by administrators. */
375
+ userDefinedDetector?: UserDefinedDetectorInfo;
376
+ }
377
+ interface MergeInfo {
378
+ /** Optional. New alert ID. Reference the [google.apps.alertcenter.Alert] with this ID for the current state. */
379
+ newAlertId?: string;
380
+ /** The new tracking ID from the parent incident. */
381
+ newIncidentTrackingId?: string;
382
+ }
383
+ interface Notification {
384
+ /** A Google Cloud Pub/sub topic destination. */
385
+ cloudPubsubTopic?: CloudPubsubTopic;
386
+ }
387
+ interface PhishingSpike {
388
+ /** The domain ID. */
389
+ domainId?: DomainId;
390
+ /** If `true`, the email originated from within the organization. */
391
+ isInternal?: boolean;
392
+ /** The entity whose actions triggered a Gmail phishing alert. */
393
+ maliciousEntity?: MaliciousEntity;
394
+ /** The list of messages contained by this alert. */
395
+ messages?: GmailMessageInfo[];
396
+ }
397
+ interface PredefinedDetectorInfo {
398
+ /** Name that uniquely identifies the detector. */
399
+ detectorName?: string;
400
+ }
401
+ interface PrimaryAdminChangedEvent {
402
+ /** domain in which actioned occurred */
403
+ domain?: string;
404
+ /** Email of person who was the primary admin before the action */
405
+ previousAdminEmail?: string;
406
+ /** Email of person who is the primary admin after the action */
407
+ updatedAdminEmail?: string;
408
+ }
409
+ interface ReportingRule {
410
+ /** Any other associated alert details, for example, AlertConfiguration. */
411
+ alertDetails?: string;
412
+ /** Rule name */
413
+ name?: string;
414
+ /**
415
+ * Alert Rule query Sample Query query { condition { filter { expected_application_id: 777491262838 expected_event_name: "indexable_content_change" filter_op: IN } }
416
+ * conjunction_operator: OR }
417
+ */
418
+ query?: string;
419
+ }
420
+ interface RequestInfo {
421
+ /** List of app developers who triggered notifications for above application. */
422
+ appDeveloperEmail?: string[];
423
+ /** Required. The application that requires the SQL setup. */
424
+ appKey?: string;
425
+ /** Required. Number of requests sent for this application to set up default SQL instance. */
426
+ numberOfRequests?: string;
427
+ }
428
+ interface ResourceInfo {
429
+ /** Drive file ID. */
430
+ documentId?: string;
431
+ /** Title of the resource, for example email subject, or document title. */
432
+ resourceTitle?: string;
433
+ }
434
+ interface RuleInfo {
435
+ /** User provided name of the rule. */
436
+ displayName?: string;
437
+ /** Resource name that uniquely identifies the rule. */
438
+ resourceName?: string;
439
+ }
440
+ interface RuleViolationInfo {
441
+ /** Source of the data. */
442
+ dataSource?: string;
443
+ /** List of matches that were found in the resource content. */
444
+ matchInfo?: MatchInfo[];
445
+ /**
446
+ * Resource recipients. For Drive, they are grantees that the Drive file was shared with at the time of rule triggering. Valid values include user emails, group emails, domains, or
447
+ * 'anyone' if the file was publicly accessible. If the file was private the recipients list will be empty. For Gmail, they are emails of the users or groups that the Gmail message was
448
+ * sent to.
449
+ */
450
+ recipients?: string[];
451
+ /** Details of the resource which violated the rule. */
452
+ resourceInfo?: ResourceInfo;
453
+ /** Details of the violated rule. */
454
+ ruleInfo?: RuleInfo;
455
+ /** Actions suppressed due to other actions with higher priority. */
456
+ suppressedActionTypes?: string[];
457
+ /** Trigger of the rule. */
458
+ trigger?: string;
459
+ /** Metadata related to the triggered actions. */
460
+ triggeredActionInfo?: any[];
461
+ /** Actions applied as a consequence of the rule being triggered. */
462
+ triggeredActionTypes?: string[];
463
+ /** Email of the user who caused the violation. Value could be empty if not applicable, for example, a violation found by drive continuous scan. */
464
+ triggeringUserEmail?: string;
465
+ }
466
+ interface SensitiveAdminAction {
467
+ /** Email of person who performed the action */
468
+ actorEmail?: string;
469
+ /** The time at which event occurred */
470
+ eventTime?: string;
471
+ /** Event occurred when primary admin changed in customer's account */
472
+ primaryAdminChangedEvent?: PrimaryAdminChangedEvent;
473
+ /** Event occurred when SSO Profile created in customer's account */
474
+ ssoProfileCreatedEvent?: SSOProfileCreatedEvent;
475
+ /** Event occurred when SSO Profile deleted in customer's account */
476
+ ssoProfileDeletedEvent?: SSOProfileDeletedEvent;
477
+ /** Event occurred when SSO Profile updated in customer's account */
478
+ ssoProfileUpdatedEvent?: SSOProfileUpdatedEvent;
479
+ /** Event occurred when password was reset for super admin in customer's account */
480
+ superAdminPasswordResetEvent?: SuperAdminPasswordResetEvent;
481
+ }
482
+ interface Settings {
483
+ /** The list of notifications. */
484
+ notifications?: Notification[];
485
+ }
486
+ interface SSOProfileCreatedEvent {
487
+ /** sso profile name which got created */
488
+ inboundSsoProfileName?: string;
489
+ }
490
+ interface SSOProfileDeletedEvent {
491
+ /** sso profile name which got deleted */
492
+ inboundSsoProfileName?: string;
493
+ }
494
+ interface SSOProfileUpdatedEvent {
495
+ /** changes made to sso profile */
496
+ inboundSsoProfileChanges?: string;
497
+ /** sso profile name which got updated */
498
+ inboundSsoProfileName?: string;
499
+ }
500
+ interface StateSponsoredAttack {
501
+ /** The email of the user this incident was created for. */
502
+ email?: string;
503
+ }
504
+ interface Status {
505
+ /** The status code, which should be an enum value of google.rpc.Code. */
506
+ code?: number;
507
+ /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
508
+ details?: Array<{ [P in string]: any }>;
509
+ /**
510
+ * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
511
+ * client.
512
+ */
513
+ message?: string;
514
+ }
515
+ interface SuperAdminPasswordResetEvent {
516
+ /** email of person whose password was reset */
517
+ userEmail?: string;
518
+ }
519
+ interface SuspiciousActivity {
520
+ /** The email of the user this alert was created for. */
521
+ email?: string;
522
+ /** Required. The list of security events. */
523
+ events?: SuspiciousActivitySecurityDetail[];
524
+ }
525
+ interface SuspiciousActivitySecurityDetail {
526
+ /** Required. The device ID. */
527
+ deviceId?: string;
528
+ /** The model of the device. */
529
+ deviceModel?: string;
530
+ /** The device property which was changed. */
531
+ deviceProperty?: string;
532
+ /** The type of the device. */
533
+ deviceType?: string;
534
+ /** Required for iOS, empty for others. */
535
+ iosVendorId?: string;
536
+ /** The new value of the device property after the change. */
537
+ newValue?: string;
538
+ /** The old value of the device property before the change. */
539
+ oldValue?: string;
540
+ /** The device resource ID. */
541
+ resourceId?: string;
542
+ /** The serial number of the device. */
543
+ serialNumber?: string;
544
+ }
545
+ interface UndeleteAlertRequest {
546
+ /** Optional. The unique identifier of the Google Workspace organization account of the customer the alert is associated with. Inferred from the caller identity if not provided. */
547
+ customerId?: string;
548
+ }
549
+ interface User {
550
+ /** Display name of the user. */
551
+ displayName?: string;
552
+ /** Email address of the user. */
553
+ emailAddress?: string;
554
+ }
555
+ interface UserChanges {
556
+ /** Rule name */
557
+ name?: string;
558
+ }
559
+ interface UserDefinedDetectorInfo {
560
+ /** Display name of the detector. */
561
+ displayName?: string;
562
+ /** Resource name that uniquely identifies the detector. */
563
+ resourceName?: string;
564
+ }
565
+ interface FeedbackResource {
566
+ /**
567
+ * Creates new feedback for an alert. Attempting to create a feedback for a non-existent alert returns `NOT_FOUND` error. Attempting to create a feedback for an alert that is marked
568
+ * for deletion returns `FAILED_PRECONDITION' error.
569
+ */
570
+ create(request: {
571
+ /** V1 error format. */
572
+ "$.xgafv"?: string;
573
+ /** OAuth access token. */
574
+ access_token?: string;
575
+ /** Required. The identifier of the alert this feedback belongs to. */
576
+ alertId: string;
577
+ /** Data format for response. */
578
+ alt?: string;
579
+ /** JSONP */
580
+ callback?: string;
581
+ /** Optional. The unique identifier of the Google Workspace organization account of the customer the alert is associated with. Inferred from the caller identity if not provided. */
582
+ customerId?: string;
583
+ /** Selector specifying which fields to include in a partial response. */
584
+ fields?: string;
585
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
586
+ key?: string;
587
+ /** OAuth 2.0 token for the current user. */
588
+ oauth_token?: string;
589
+ /** Returns response with indentations and line breaks. */
590
+ prettyPrint?: boolean;
591
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
592
+ quotaUser?: string;
593
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
594
+ upload_protocol?: string;
595
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
596
+ uploadType?: string;
597
+ /** Request body */
598
+ resource: AlertFeedback;
599
+ }): Request<AlertFeedback>;
600
+ create(request: {
601
+ /** V1 error format. */
602
+ "$.xgafv"?: string;
603
+ /** OAuth access token. */
604
+ access_token?: string;
605
+ /** Required. The identifier of the alert this feedback belongs to. */
606
+ alertId: string;
607
+ /** Data format for response. */
608
+ alt?: string;
609
+ /** JSONP */
610
+ callback?: string;
611
+ /** Optional. The unique identifier of the Google Workspace organization account of the customer the alert is associated with. Inferred from the caller identity if not provided. */
612
+ customerId?: string;
613
+ /** Selector specifying which fields to include in a partial response. */
614
+ fields?: string;
615
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
616
+ key?: string;
617
+ /** OAuth 2.0 token for the current user. */
618
+ oauth_token?: string;
619
+ /** Returns response with indentations and line breaks. */
620
+ prettyPrint?: boolean;
621
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
622
+ quotaUser?: string;
623
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
624
+ upload_protocol?: string;
625
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
626
+ uploadType?: string;
627
+ },
628
+ body: AlertFeedback): Request<AlertFeedback>;
629
+ /** Lists all the feedback for an alert. Attempting to list feedbacks for a non-existent alert returns `NOT_FOUND` error. */
630
+ list(request?: {
631
+ /** V1 error format. */
632
+ "$.xgafv"?: string;
633
+ /** OAuth access token. */
634
+ access_token?: string;
635
+ /** Required. The alert identifier. The "-" wildcard could be used to represent all alerts. */
636
+ alertId: string;
637
+ /** Data format for response. */
638
+ alt?: string;
639
+ /** JSONP */
640
+ callback?: string;
641
+ /**
642
+ * Optional. The unique identifier of the Google Workspace organization account of the customer the alert feedback are associated with. Inferred from the caller identity if not
643
+ * provided.
644
+ */
645
+ customerId?: string;
646
+ /** Selector specifying which fields to include in a partial response. */
647
+ fields?: string;
648
+ /**
649
+ * Optional. A query string for filtering alert feedback results. For more details, see [Query filters](https://developers.google.com/admin-sdk/alertcenter/guides/query-filters)
650
+ * and [Supported query filter fields](https://developers.google.com/admin-sdk/alertcenter/reference/filter-fields#alerts.feedback.list).
651
+ */
652
+ filter?: string;
653
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
654
+ key?: string;
655
+ /** OAuth 2.0 token for the current user. */
656
+ oauth_token?: string;
657
+ /** Returns response with indentations and line breaks. */
658
+ prettyPrint?: boolean;
659
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
660
+ quotaUser?: string;
661
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
662
+ upload_protocol?: string;
663
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
664
+ uploadType?: string;
665
+ }): Request<ListAlertFeedbackResponse>;
666
+ }
667
+ interface AlertsResource {
668
+ /** Performs batch delete operation on alerts. */
669
+ batchDelete(request: {
670
+ /** V1 error format. */
671
+ "$.xgafv"?: string;
672
+ /** OAuth access token. */
673
+ access_token?: string;
674
+ /** Data format for response. */
675
+ alt?: string;
676
+ /** JSONP */
677
+ callback?: string;
678
+ /** Selector specifying which fields to include in a partial response. */
679
+ fields?: string;
680
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
681
+ key?: string;
682
+ /** OAuth 2.0 token for the current user. */
683
+ oauth_token?: string;
684
+ /** Returns response with indentations and line breaks. */
685
+ prettyPrint?: boolean;
686
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
687
+ quotaUser?: string;
688
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
689
+ upload_protocol?: string;
690
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
691
+ uploadType?: string;
692
+ /** Request body */
693
+ resource: BatchDeleteAlertsRequest;
694
+ }): Request<BatchDeleteAlertsResponse>;
695
+ batchDelete(request: {
696
+ /** V1 error format. */
697
+ "$.xgafv"?: string;
698
+ /** OAuth access token. */
699
+ access_token?: string;
700
+ /** Data format for response. */
701
+ alt?: string;
702
+ /** JSONP */
703
+ callback?: string;
704
+ /** Selector specifying which fields to include in a partial response. */
705
+ fields?: string;
706
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
707
+ key?: string;
708
+ /** OAuth 2.0 token for the current user. */
709
+ oauth_token?: string;
710
+ /** Returns response with indentations and line breaks. */
711
+ prettyPrint?: boolean;
712
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
713
+ quotaUser?: string;
714
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
715
+ upload_protocol?: string;
716
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
717
+ uploadType?: string;
718
+ },
719
+ body: BatchDeleteAlertsRequest): Request<BatchDeleteAlertsResponse>;
720
+ /** Performs batch undelete operation on alerts. */
721
+ batchUndelete(request: {
722
+ /** V1 error format. */
723
+ "$.xgafv"?: string;
724
+ /** OAuth access token. */
725
+ access_token?: string;
726
+ /** Data format for response. */
727
+ alt?: string;
728
+ /** JSONP */
729
+ callback?: string;
730
+ /** Selector specifying which fields to include in a partial response. */
731
+ fields?: string;
732
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
733
+ key?: string;
734
+ /** OAuth 2.0 token for the current user. */
735
+ oauth_token?: string;
736
+ /** Returns response with indentations and line breaks. */
737
+ prettyPrint?: boolean;
738
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
739
+ quotaUser?: string;
740
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
741
+ upload_protocol?: string;
742
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
743
+ uploadType?: string;
744
+ /** Request body */
745
+ resource: BatchUndeleteAlertsRequest;
746
+ }): Request<BatchUndeleteAlertsResponse>;
747
+ batchUndelete(request: {
748
+ /** V1 error format. */
749
+ "$.xgafv"?: string;
750
+ /** OAuth access token. */
751
+ access_token?: string;
752
+ /** Data format for response. */
753
+ alt?: string;
754
+ /** JSONP */
755
+ callback?: string;
756
+ /** Selector specifying which fields to include in a partial response. */
757
+ fields?: string;
758
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
759
+ key?: string;
760
+ /** OAuth 2.0 token for the current user. */
761
+ oauth_token?: string;
762
+ /** Returns response with indentations and line breaks. */
763
+ prettyPrint?: boolean;
764
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
765
+ quotaUser?: string;
766
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
767
+ upload_protocol?: string;
768
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
769
+ uploadType?: string;
770
+ },
771
+ body: BatchUndeleteAlertsRequest): Request<BatchUndeleteAlertsResponse>;
772
+ /**
773
+ * Marks the specified alert for deletion. An alert that has been marked for deletion is removed from Alert Center after 30 days. Marking an alert for deletion has no effect on an
774
+ * alert which has already been marked for deletion. Attempting to mark a nonexistent alert for deletion results in a `NOT_FOUND` error.
775
+ */
776
+ delete(request?: {
777
+ /** V1 error format. */
778
+ "$.xgafv"?: string;
779
+ /** OAuth access token. */
780
+ access_token?: string;
781
+ /** Required. The identifier of the alert to delete. */
782
+ alertId: string;
783
+ /** Data format for response. */
784
+ alt?: string;
785
+ /** JSONP */
786
+ callback?: string;
787
+ /** Optional. The unique identifier of the Google Workspace organization account of the customer the alert is associated with. Inferred from the caller identity if not provided. */
788
+ customerId?: string;
789
+ /** Selector specifying which fields to include in a partial response. */
790
+ fields?: string;
791
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
792
+ key?: string;
793
+ /** OAuth 2.0 token for the current user. */
794
+ oauth_token?: string;
795
+ /** Returns response with indentations and line breaks. */
796
+ prettyPrint?: boolean;
797
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
798
+ quotaUser?: string;
799
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
800
+ upload_protocol?: string;
801
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
802
+ uploadType?: string;
803
+ }): Request<{}>;
804
+ /** Gets the specified alert. Attempting to get a nonexistent alert returns `NOT_FOUND` error. */
805
+ get(request?: {
806
+ /** V1 error format. */
807
+ "$.xgafv"?: string;
808
+ /** OAuth access token. */
809
+ access_token?: string;
810
+ /** Required. The identifier of the alert to retrieve. */
811
+ alertId: string;
812
+ /** Data format for response. */
813
+ alt?: string;
814
+ /** JSONP */
815
+ callback?: string;
816
+ /** Optional. The unique identifier of the Google Workspace organization account of the customer the alert is associated with. Inferred from the caller identity if not provided. */
817
+ customerId?: string;
818
+ /** Selector specifying which fields to include in a partial response. */
819
+ fields?: string;
820
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
821
+ key?: string;
822
+ /** OAuth 2.0 token for the current user. */
823
+ oauth_token?: string;
824
+ /** Returns response with indentations and line breaks. */
825
+ prettyPrint?: boolean;
826
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
827
+ quotaUser?: string;
828
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
829
+ upload_protocol?: string;
830
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
831
+ uploadType?: string;
832
+ }): Request<Alert>;
833
+ /** Returns the metadata of an alert. Attempting to get metadata for a non-existent alert returns `NOT_FOUND` error. */
834
+ getMetadata(request?: {
835
+ /** V1 error format. */
836
+ "$.xgafv"?: string;
837
+ /** OAuth access token. */
838
+ access_token?: string;
839
+ /** Required. The identifier of the alert this metadata belongs to. */
840
+ alertId: string;
841
+ /** Data format for response. */
842
+ alt?: string;
843
+ /** JSONP */
844
+ callback?: string;
845
+ /**
846
+ * Optional. The unique identifier of the Google Workspace organization account of the customer the alert metadata is associated with. Inferred from the caller identity if not
847
+ * provided.
848
+ */
849
+ customerId?: string;
850
+ /** Selector specifying which fields to include in a partial response. */
851
+ fields?: string;
852
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
853
+ key?: string;
854
+ /** OAuth 2.0 token for the current user. */
855
+ oauth_token?: string;
856
+ /** Returns response with indentations and line breaks. */
857
+ prettyPrint?: boolean;
858
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
859
+ quotaUser?: string;
860
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
861
+ upload_protocol?: string;
862
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
863
+ uploadType?: string;
864
+ }): Request<AlertMetadata>;
865
+ /** Lists the alerts. */
866
+ list(request?: {
867
+ /** V1 error format. */
868
+ "$.xgafv"?: string;
869
+ /** OAuth access token. */
870
+ access_token?: string;
871
+ /** Data format for response. */
872
+ alt?: string;
873
+ /** JSONP */
874
+ callback?: string;
875
+ /** Optional. The unique identifier of the Google Workspace organization account of the customer the alerts are associated with. Inferred from the caller identity if not provided. */
876
+ customerId?: string;
877
+ /** Selector specifying which fields to include in a partial response. */
878
+ fields?: string;
879
+ /**
880
+ * Optional. A query string for filtering alert results. For more details, see [Query filters](https://developers.google.com/admin-sdk/alertcenter/guides/query-filters) and
881
+ * [Supported query filter fields](https://developers.google.com/admin-sdk/alertcenter/reference/filter-fields#alerts.list).
882
+ */
883
+ filter?: string;
884
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
885
+ key?: string;
886
+ /** OAuth 2.0 token for the current user. */
887
+ oauth_token?: string;
888
+ /**
889
+ * Optional. The sort order of the list results. If not specified results may be returned in arbitrary order. You can sort the results in descending order based on the creation
890
+ * timestamp using `order_by="create_time desc"`. Currently, supported sorting are `create_time asc`, `create_time desc`, `update_time desc`
891
+ */
892
+ orderBy?: string;
893
+ /** Optional. The requested page size. Server may return fewer items than requested. If unspecified, server picks an appropriate default. */
894
+ pageSize?: number;
895
+ /**
896
+ * Optional. A token identifying a page of results the server should return. If empty, a new iteration is started. To continue an iteration, pass in the value from the previous
897
+ * ListAlertsResponse's next_page_token field.
898
+ */
899
+ pageToken?: string;
900
+ /** Returns response with indentations and line breaks. */
901
+ prettyPrint?: boolean;
902
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
903
+ quotaUser?: string;
904
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
905
+ upload_protocol?: string;
906
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
907
+ uploadType?: string;
908
+ }): Request<ListAlertsResponse>;
909
+ /**
910
+ * Restores, or "undeletes", an alert that was marked for deletion within the past 30 days. Attempting to undelete an alert which was marked for deletion over 30 days ago (which has
911
+ * been removed from the Alert Center database) or a nonexistent alert returns a `NOT_FOUND` error. Attempting to undelete an alert which has not been marked for deletion has no
912
+ * effect.
913
+ */
914
+ undelete(request: {
915
+ /** V1 error format. */
916
+ "$.xgafv"?: string;
917
+ /** OAuth access token. */
918
+ access_token?: string;
919
+ /** Required. The identifier of the alert to undelete. */
920
+ alertId: string;
921
+ /** Data format for response. */
922
+ alt?: string;
923
+ /** JSONP */
924
+ callback?: string;
925
+ /** Selector specifying which fields to include in a partial response. */
926
+ fields?: string;
927
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
928
+ key?: string;
929
+ /** OAuth 2.0 token for the current user. */
930
+ oauth_token?: string;
931
+ /** Returns response with indentations and line breaks. */
932
+ prettyPrint?: boolean;
933
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
934
+ quotaUser?: string;
935
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
936
+ upload_protocol?: string;
937
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
938
+ uploadType?: string;
939
+ /** Request body */
940
+ resource: UndeleteAlertRequest;
941
+ }): Request<Alert>;
942
+ undelete(request: {
943
+ /** V1 error format. */
944
+ "$.xgafv"?: string;
945
+ /** OAuth access token. */
946
+ access_token?: string;
947
+ /** Required. The identifier of the alert to undelete. */
948
+ alertId: string;
949
+ /** Data format for response. */
950
+ alt?: string;
951
+ /** JSONP */
952
+ callback?: string;
953
+ /** Selector specifying which fields to include in a partial response. */
954
+ fields?: string;
955
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
956
+ key?: string;
957
+ /** OAuth 2.0 token for the current user. */
958
+ oauth_token?: string;
959
+ /** Returns response with indentations and line breaks. */
960
+ prettyPrint?: boolean;
961
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
962
+ quotaUser?: string;
963
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
964
+ upload_protocol?: string;
965
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
966
+ uploadType?: string;
967
+ },
968
+ body: UndeleteAlertRequest): Request<Alert>;
969
+ feedback: FeedbackResource;
970
+ }
971
+ interface V1beta1Resource {
972
+ /** Returns customer-level settings. */
973
+ getSettings(request?: {
974
+ /** V1 error format. */
975
+ "$.xgafv"?: string;
976
+ /** OAuth access token. */
977
+ access_token?: string;
978
+ /** Data format for response. */
979
+ alt?: string;
980
+ /** JSONP */
981
+ callback?: string;
982
+ /**
983
+ * Optional. The unique identifier of the Google Workspace organization account of the customer the alert settings are associated with. Inferred from the caller identity if not
984
+ * provided.
985
+ */
986
+ customerId?: string;
987
+ /** Selector specifying which fields to include in a partial response. */
988
+ fields?: string;
989
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
990
+ key?: string;
991
+ /** OAuth 2.0 token for the current user. */
992
+ oauth_token?: string;
993
+ /** Returns response with indentations and line breaks. */
994
+ prettyPrint?: boolean;
995
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
996
+ quotaUser?: string;
997
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
998
+ upload_protocol?: string;
999
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1000
+ uploadType?: string;
1001
+ }): Request<Settings>;
1002
+ /** Updates the customer-level settings. */
1003
+ updateSettings(request: {
1004
+ /** V1 error format. */
1005
+ "$.xgafv"?: string;
1006
+ /** OAuth access token. */
1007
+ access_token?: string;
1008
+ /** Data format for response. */
1009
+ alt?: string;
1010
+ /** JSONP */
1011
+ callback?: string;
1012
+ /**
1013
+ * Optional. The unique identifier of the Google Workspace organization account of the customer the alert settings are associated with. Inferred from the caller identity if not
1014
+ * provided.
1015
+ */
1016
+ customerId?: string;
1017
+ /** Selector specifying which fields to include in a partial response. */
1018
+ fields?: string;
1019
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1020
+ key?: string;
1021
+ /** OAuth 2.0 token for the current user. */
1022
+ oauth_token?: string;
1023
+ /** Returns response with indentations and line breaks. */
1024
+ prettyPrint?: boolean;
1025
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1026
+ quotaUser?: string;
1027
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1028
+ upload_protocol?: string;
1029
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1030
+ uploadType?: string;
1031
+ /** Request body */
1032
+ resource: Settings;
1033
+ }): Request<Settings>;
1034
+ updateSettings(request: {
1035
+ /** V1 error format. */
1036
+ "$.xgafv"?: string;
1037
+ /** OAuth access token. */
1038
+ access_token?: string;
1039
+ /** Data format for response. */
1040
+ alt?: string;
1041
+ /** JSONP */
1042
+ callback?: string;
1043
+ /**
1044
+ * Optional. The unique identifier of the Google Workspace organization account of the customer the alert settings are associated with. Inferred from the caller identity if not
1045
+ * provided.
1046
+ */
1047
+ customerId?: string;
1048
+ /** Selector specifying which fields to include in a partial response. */
1049
+ fields?: string;
1050
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
1051
+ key?: string;
1052
+ /** OAuth 2.0 token for the current user. */
1053
+ oauth_token?: string;
1054
+ /** Returns response with indentations and line breaks. */
1055
+ prettyPrint?: boolean;
1056
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1057
+ quotaUser?: string;
1058
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1059
+ upload_protocol?: string;
1060
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1061
+ uploadType?: string;
1062
+ },
1063
+ body: Settings): Request<Settings>;
1064
+ }
1065
+
1066
+ const alerts: AlertsResource;
1067
+
1068
+ const v1beta1: V1beta1Resource;
1069
+ }
1070
+ }