Skip to content

Commit 4dacec2

Browse files
feat(alertcenter): update the API
#### alertcenter:v1beta1 The following keys were added: - schemas.VaultAcceleratedDeletion.description - schemas.VaultAcceleratedDeletion.id - schemas.VaultAcceleratedDeletion.properties.actionType.description - schemas.VaultAcceleratedDeletion.properties.actionType.enum - schemas.VaultAcceleratedDeletion.properties.actionType.enumDescriptions - schemas.VaultAcceleratedDeletion.properties.actionType.type - schemas.VaultAcceleratedDeletion.properties.appType.description - schemas.VaultAcceleratedDeletion.properties.appType.enum - schemas.VaultAcceleratedDeletion.properties.appType.enumDescriptions - schemas.VaultAcceleratedDeletion.properties.appType.type - schemas.VaultAcceleratedDeletion.properties.createTime.description - schemas.VaultAcceleratedDeletion.properties.createTime.format - schemas.VaultAcceleratedDeletion.properties.createTime.type - schemas.VaultAcceleratedDeletion.properties.deletionRequestId.description - schemas.VaultAcceleratedDeletion.properties.deletionRequestId.type - schemas.VaultAcceleratedDeletion.properties.matterId.description - schemas.VaultAcceleratedDeletion.properties.matterId.type - schemas.VaultAcceleratedDeletion.type The following keys were changed: - documentationLink - resources.alerts.methods.list.parameters.filter.description - resources.alerts.resources.feedback.methods.list.parameters.filter.description - schemas.Alert.properties.type.description - schemas.AppSettingsChanged.description - schemas.Notification.description - schemas.PhishingSpike.description - schemas.PrimaryAdminChangedEvent.description - schemas.RuleViolationInfo.properties.suppressedActionTypes.items.enum - schemas.RuleViolationInfo.properties.suppressedActionTypes.items.enumDescriptions - schemas.RuleViolationInfo.properties.triggeredActionTypes.items.enum - schemas.RuleViolationInfo.properties.triggeredActionTypes.items.enumDescriptions - schemas.SSOProfileCreatedEvent.description - schemas.SSOProfileDeletedEvent.description - schemas.SSOProfileUpdatedEvent.description - schemas.SuperAdminPasswordResetEvent.description - schemas.UserChanges.description
1 parent 29f8893 commit 4dacec2

File tree

2 files changed

+101
-26
lines changed

2 files changed

+101
-26
lines changed

‎discovery/alertcenter-v1beta1.json

Lines changed: 64 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"canonicalName": "AlertCenter",
1515
"description": "Manages alerts on issues affecting your domain. Note: The current version of this API (v1beta1) is available to all Google Workspace customers. ",
1616
"discoveryVersion": "v1",
17-
"documentationLink": "https://developers.google.com/admin-sdk/alertcenter/",
17+
"documentationLink": "https://developers.google.com/workspace/admin/alertcenter/",
1818
"fullyEncodeReservedExpansion": true,
1919
"icons": {
2020
"x16": "http://www.google.com/images/icons/product/search-16.gif",
@@ -243,7 +243,7 @@
243243
"type": "string"
244244
},
245245
"filter": {
246-
"description": "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 [Supported query filter fields](https://developers.google.com/admin-sdk/alertcenter/reference/filter-fields#alerts.list).",
246+
"description": "Optional. A query string for filtering alert results. For more details, see [Query filters](https://developers.google.com/workspace/admin/alertcenter/guides/query-filters) and [Supported query filter fields](https://developers.google.com/workspace/admin/alertcenter/reference/filter-fields#alerts.list).",
247247
"location": "query",
248248
"type": "string"
249249
},
@@ -356,7 +356,7 @@
356356
"type": "string"
357357
},
358358
"filter": {
359-
"description": "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) and [Supported query filter fields](https://developers.google.com/admin-sdk/alertcenter/reference/filter-fields#alerts.feedback.list).",
359+
"description": "Optional. A query string for filtering alert feedback results. For more details, see [Query filters](https://developers.google.com/workspace/admin/alertcenter/guides/query-filters) and [Supported query filter fields](https://developers.google.com/workspace/admin/alertcenter/reference/filter-fields#alerts.feedback.list).",
360360
"location": "query",
361361
"type": "string"
362362
}
@@ -423,7 +423,7 @@
423423
}
424424
}
425425
},
426-
"revision": "20241028",
426+
"revision": "20250414",
427427
"rootUrl": "https://alertcenter.googleapis.com/",
428428
"schemas": {
429429
"AbuseDetected": {
@@ -730,7 +730,7 @@
730730
"type": "string"
731731
},
732732
"type": {
733-
"description": "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 types](https://developers.google.com/admin-sdk/alertcenter/reference/alert-types).",
733+
"description": "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 types](https://developers.google.com/workspace/admin/alertcenter/reference/alert-types).",
734734
"type": "string"
735735
},
736736
"updateTime": {
@@ -856,7 +856,7 @@
856856
"type": "object"
857857
},
858858
"AppSettingsChanged": {
859-
"description": "* Alerts from AppSettingsChanged bucket Rules configured by Admin which contain the below rules. Calendar settings changed Drive settings changed Email settings changed Mobile settings changed",
859+
"description": "Alerts from AppSettingsChanged bucket Rules configured by Admin which contain the following rules: - Calendar settings changed - Drive settings changed - Email settings changed - Mobile settings changed",
860860
"id": "AppSettingsChanged",
861861
"properties": {
862862
"alertDetails": {
@@ -1529,7 +1529,7 @@
15291529
"type": "object"
15301530
},
15311531
"Notification": {
1532-
"description": "Settings for callback notifications. For more details see [Google Workspace Alert Notification](https://developers.google.com/admin-sdk/alertcenter/guides/notifications).",
1532+
"description": "Settings for callback notifications. For more details see [Google Workspace Alert Notification](https://developers.google.com/workspace/admin/alertcenter/guides/notifications).",
15331533
"id": "Notification",
15341534
"properties": {
15351535
"cloudPubsubTopic": {
@@ -1540,7 +1540,7 @@
15401540
"type": "object"
15411541
},
15421542
"PhishingSpike": {
1543-
"description": "Alert for a spike in user reported phishing. *Warning*: This type has been deprecated. Use [MailPhishing](/admin-sdk/alertcenter/reference/rest/v1beta1/MailPhishing) instead.",
1543+
"description": "Alert for a spike in user reported phishing. *Warning*: This type has been deprecated. Use [MailPhishing](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/MailPhishing) instead.",
15441544
"id": "PhishingSpike",
15451545
"properties": {
15461546
"domainId": {
@@ -1577,7 +1577,7 @@
15771577
"type": "object"
15781578
},
15791579
"PrimaryAdminChangedEvent": {
1580-
"description": "* Event occurred when primary admin changed in customer's account. The event are being received from insight forwarder",
1580+
"description": "Event occurred when primary admin changed in customer's account. The event are being received from insight forwarder",
15811581
"id": "PrimaryAdminChangedEvent",
15821582
"properties": {
15831583
"domain": {
@@ -1756,6 +1756,7 @@
17561756
"CHROME_WARN_PAGE_PRINT",
17571757
"CHROME_BLOCK_URL_VISITED",
17581758
"CHROME_WARN_URL_VISITED",
1759+
"CHROME_BLOCK_SCREENSHOT",
17591760
"CHROME_STORE_CONTENT",
17601761
"DELETE_WEBPROTECT_EVIDENCE",
17611762
"CHAT_BLOCK_CONTENT",
@@ -1780,6 +1781,7 @@
17801781
"Warn user about printed page.",
17811782
"Block Chrome URL visit.",
17821783
"Warn user about Chrome URL visited.",
1784+
"Block screenshot alert.",
17831785
"Store the content that violated the rule.",
17841786
"Delete web protect evidence file",
17851787
"Chat actions. Block Chat content to be sent out.",
@@ -1844,6 +1846,7 @@
18441846
"CHROME_WARN_PAGE_PRINT",
18451847
"CHROME_BLOCK_URL_VISITED",
18461848
"CHROME_WARN_URL_VISITED",
1849+
"CHROME_BLOCK_SCREENSHOT",
18471850
"CHROME_STORE_CONTENT",
18481851
"DELETE_WEBPROTECT_EVIDENCE",
18491852
"CHAT_BLOCK_CONTENT",
@@ -1868,6 +1871,7 @@
18681871
"Warn user about printed page.",
18691872
"Block Chrome URL visit.",
18701873
"Warn user about Chrome URL visited.",
1874+
"Block screenshot alert.",
18711875
"Store the content that violated the rule.",
18721876
"Delete web protect evidence file",
18731877
"Chat actions. Block Chat content to be sent out.",
@@ -1888,7 +1892,7 @@
18881892
"type": "object"
18891893
},
18901894
"SSOProfileCreatedEvent": {
1891-
"description": "* Event occurred when SSO Profile created in customer's account. The event are being received from insight forwarder",
1895+
"description": "Event occurred when SSO Profile created in customer's account. The event are being received from insight forwarder",
18921896
"id": "SSOProfileCreatedEvent",
18931897
"properties": {
18941898
"inboundSsoProfileName": {
@@ -1899,7 +1903,7 @@
18991903
"type": "object"
19001904
},
19011905
"SSOProfileDeletedEvent": {
1902-
"description": "* Event occurred when SSO Profile deleted in customer's account. The event are being received from insight forwarder",
1906+
"description": "Event occurred when SSO Profile deleted in customer's account. The event are being received from insight forwarder",
19031907
"id": "SSOProfileDeletedEvent",
19041908
"properties": {
19051909
"inboundSsoProfileName": {
@@ -1910,7 +1914,7 @@
19101914
"type": "object"
19111915
},
19121916
"SSOProfileUpdatedEvent": {
1913-
"description": "* Event occurred when SSO Profile updated in customer's account. The event are being received from insight forwarder",
1917+
"description": "Event occurred when SSO Profile updated in customer's account. The event are being received from insight forwarder",
19141918
"id": "SSOProfileUpdatedEvent",
19151919
"properties": {
19161920
"inboundSsoProfileChanges": {
@@ -2013,7 +2017,7 @@
20132017
"type": "object"
20142018
},
20152019
"SuperAdminPasswordResetEvent": {
2016-
"description": "* Event occurred when password was reset for super admin in customer's account. The event are being received from insight forwarder",
2020+
"description": "Event occurred when password was reset for super admin in customer's account. The event are being received from insight forwarder",
20172021
"id": "SuperAdminPasswordResetEvent",
20182022
"properties": {
20192023
"userEmail": {
@@ -2193,7 +2197,7 @@
21932197
"type": "object"
21942198
},
21952199
"UserChanges": {
2196-
"description": "* Alerts from UserChanges bucket Rules for predefined rules which contain the below rules. Suspended user made active New user Added User suspended (by admin) User granted admin privileges User admin privileges revoked User deleted Users password changed",
2200+
"description": "Alerts from UserChanges bucket Rules for predefined rules which contain the following rules: - Suspended user made active - New user added - User suspended (by admin) - User granted admin privileges - User admin privileges revoked - User deleted - Users password changed",
21972201
"id": "UserChanges",
21982202
"properties": {
21992203
"name": {
@@ -2218,6 +2222,52 @@
22182222
},
22192223
"type": "object"
22202224
},
2225+
"VaultAcceleratedDeletion": {
2226+
"description": "Alert that is triggered when a Vault accelerated deletion request is created or canceled.",
2227+
"id": "VaultAcceleratedDeletion",
2228+
"properties": {
2229+
"actionType": {
2230+
"description": "The action can be one of create and cancel",
2231+
"enum": [
2232+
"VAULT_ACCELERATED_DELETION_ACTION_TYPE_UNSPECIFIED",
2233+
"VAULT_ACCELERATED_DELETION_ACTION_TYPE_CREATE",
2234+
"VAULT_ACCELERATED_DELETION_ACTION_TYPE_CANCEL"
2235+
],
2236+
"enumDescriptions": [
2237+
"Unspecified action type",
2238+
"AD Create action type",
2239+
"AD Cancel action type"
2240+
],
2241+
"type": "string"
2242+
},
2243+
"appType": {
2244+
"description": "Currentlty only Gmail is supported as app type",
2245+
"enum": [
2246+
"VAULT_ACCELERATED_DELETION_APP_TYPE_UNSPECIFIED",
2247+
"VAULT_ACCELERATED_DELETION_APP_TYPE_GMAIL"
2248+
],
2249+
"enumDescriptions": [
2250+
"Unspecified app type",
2251+
"Gmail app type"
2252+
],
2253+
"type": "string"
2254+
},
2255+
"createTime": {
2256+
"description": "The UTC timestamp of when the AD request was created",
2257+
"format": "google-datetime",
2258+
"type": "string"
2259+
},
2260+
"deletionRequestId": {
2261+
"description": "Accelerated deletion request ID intended to be used to construct the Vault UI link to the AD request",
2262+
"type": "string"
2263+
},
2264+
"matterId": {
2265+
"description": "Matter ID of the accelerated deletion request intended to be used to construct the Vault UI link to the AD request",
2266+
"type": "string"
2267+
}
2268+
},
2269+
"type": "object"
2270+
},
22212271
"VoiceMisconfiguration": {
22222272
"description": "An alert triggered when Google Voice configuration becomes invalid, generally due to an external entity being modified or deleted.",
22232273
"id": "VoiceMisconfiguration",

‎src/apis/alertcenter/v1beta1.ts

Lines changed: 37 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ export namespace alertcenter_v1beta1 {
325325
*/
326326
startTime?: string | null;
327327
/**
328-
* 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 types](https://developers.google.com/admin-sdk/alertcenter/reference/alert-types).
328+
* 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 types](https://developers.google.com/workspace/admin/alertcenter/reference/alert-types).
329329
*/
330330
type?: string | null;
331331
/**
@@ -422,7 +422,7 @@ export namespace alertcenter_v1beta1 {
422422
requestInfo?: Schema$RequestInfo[];
423423
}
424424
/**
425-
* * Alerts from AppSettingsChanged bucket Rules configured by Admin which contain the below rules. Calendar settings changed Drive settings changed Email settings changed Mobile settings changed
425+
* Alerts from AppSettingsChanged bucket Rules configured by Admin which contain the following rules: - Calendar settings changed - Drive settings changed - Email settings changed - Mobile settings changed
426426
*/
427427
export interface Schema$AppSettingsChanged {
428428
/**
@@ -931,7 +931,7 @@ export namespace alertcenter_v1beta1 {
931931
newIncidentTrackingId?: string | null;
932932
}
933933
/**
934-
* Settings for callback notifications. For more details see [Google Workspace Alert Notification](https://developers.google.com/admin-sdk/alertcenter/guides/notifications).
934+
* Settings for callback notifications. For more details see [Google Workspace Alert Notification](https://developers.google.com/workspace/admin/alertcenter/guides/notifications).
935935
*/
936936
export interface Schema$Notification {
937937
/**
@@ -940,7 +940,7 @@ export namespace alertcenter_v1beta1 {
940940
cloudPubsubTopic?: Schema$CloudPubsubTopic;
941941
}
942942
/**
943-
* Alert for a spike in user reported phishing. *Warning*: This type has been deprecated. Use [MailPhishing](/admin-sdk/alertcenter/reference/rest/v1beta1/MailPhishing) instead.
943+
* Alert for a spike in user reported phishing. *Warning*: This type has been deprecated. Use [MailPhishing](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/MailPhishing) instead.
944944
*/
945945
export interface Schema$PhishingSpike {
946946
/**
@@ -970,7 +970,7 @@ export namespace alertcenter_v1beta1 {
970970
detectorName?: string | null;
971971
}
972972
/**
973-
* * Event occurred when primary admin changed in customer's account. The event are being received from insight forwarder
973+
* Event occurred when primary admin changed in customer's account. The event are being received from insight forwarder
974974
*/
975975
export interface Schema$PrimaryAdminChangedEvent {
976976
/**
@@ -1150,7 +1150,7 @@ export namespace alertcenter_v1beta1 {
11501150
notifications?: Schema$Notification[];
11511151
}
11521152
/**
1153-
* * Event occurred when SSO Profile created in customer's account. The event are being received from insight forwarder
1153+
* Event occurred when SSO Profile created in customer's account. The event are being received from insight forwarder
11541154
*/
11551155
export interface Schema$SSOProfileCreatedEvent {
11561156
/**
@@ -1159,7 +1159,7 @@ export namespace alertcenter_v1beta1 {
11591159
inboundSsoProfileName?: string | null;
11601160
}
11611161
/**
1162-
* * Event occurred when SSO Profile deleted in customer's account. The event are being received from insight forwarder
1162+
* Event occurred when SSO Profile deleted in customer's account. The event are being received from insight forwarder
11631163
*/
11641164
export interface Schema$SSOProfileDeletedEvent {
11651165
/**
@@ -1168,7 +1168,7 @@ export namespace alertcenter_v1beta1 {
11681168
inboundSsoProfileName?: string | null;
11691169
}
11701170
/**
1171-
* * Event occurred when SSO Profile updated in customer's account. The event are being received from insight forwarder
1171+
* Event occurred when SSO Profile updated in customer's account. The event are being received from insight forwarder
11721172
*/
11731173
export interface Schema$SSOProfileUpdatedEvent {
11741174
/**
@@ -1207,7 +1207,7 @@ export namespace alertcenter_v1beta1 {
12071207
message?: string | null;
12081208
}
12091209
/**
1210-
* * Event occurred when password was reset for super admin in customer's account. The event are being received from insight forwarder
1210+
* Event occurred when password was reset for super admin in customer's account. The event are being received from insight forwarder
12111211
*/
12121212
export interface Schema$SuperAdminPasswordResetEvent {
12131213
/**
@@ -1339,7 +1339,7 @@ export namespace alertcenter_v1beta1 {
13391339
emailAddress?: string | null;
13401340
}
13411341
/**
1342-
* * Alerts from UserChanges bucket Rules for predefined rules which contain the below rules. Suspended user made active New user Added User suspended (by admin) User granted admin privileges User admin privileges revoked User deleted Users password changed
1342+
* Alerts from UserChanges bucket Rules for predefined rules which contain the following rules: - Suspended user made active - New user added - User suspended (by admin) - User granted admin privileges - User admin privileges revoked - User deleted - Users password changed
13431343
*/
13441344
export interface Schema$UserChanges {
13451345
/**
@@ -1360,6 +1360,31 @@ export namespace alertcenter_v1beta1 {
13601360
*/
13611361
resourceName?: string | null;
13621362
}
1363+
/**
1364+
* Alert that is triggered when a Vault accelerated deletion request is created or canceled.
1365+
*/
1366+
export interface Schema$VaultAcceleratedDeletion {
1367+
/**
1368+
* The action can be one of create and cancel
1369+
*/
1370+
actionType?: string | null;
1371+
/**
1372+
* Currentlty only Gmail is supported as app type
1373+
*/
1374+
appType?: string | null;
1375+
/**
1376+
* The UTC timestamp of when the AD request was created
1377+
*/
1378+
createTime?: string | null;
1379+
/**
1380+
* Accelerated deletion request ID intended to be used to construct the Vault UI link to the AD request
1381+
*/
1382+
deletionRequestId?: string | null;
1383+
/**
1384+
* Matter ID of the accelerated deletion request intended to be used to construct the Vault UI link to the AD request
1385+
*/
1386+
matterId?: string | null;
1387+
}
13631388
/**
13641389
* Issue(s) with sending to voicemail.
13651390
*/
@@ -2098,7 +2123,7 @@ export namespace alertcenter_v1beta1 {
20982123
*/
20992124
customerId?: string;
21002125
/**
2101-
* 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 [Supported query filter fields](https://developers.google.com/admin-sdk/alertcenter/reference/filter-fields#alerts.list).
2126+
* Optional. A query string for filtering alert results. For more details, see [Query filters](https://developers.google.com/workspace/admin/alertcenter/guides/query-filters) and [Supported query filter fields](https://developers.google.com/workspace/admin/alertcenter/reference/filter-fields#alerts.list).
21022127
*/
21032128
filter?: string;
21042129
/**
@@ -2343,7 +2368,7 @@ export namespace alertcenter_v1beta1 {
23432368
*/
23442369
customerId?: string;
23452370
/**
2346-
* 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) and [Supported query filter fields](https://developers.google.com/admin-sdk/alertcenter/reference/filter-fields#alerts.feedback.list).
2371+
* Optional. A query string for filtering alert feedback results. For more details, see [Query filters](https://developers.google.com/workspace/admin/alertcenter/guides/query-filters) and [Supported query filter fields](https://developers.google.com/workspace/admin/alertcenter/reference/filter-fields#alerts.feedback.list).
23472372
*/
23482373
filter?: string;
23492374
}

0 commit comments

Comments
 (0)