Skip to content

Commit c2c2b59

Browse files
feat(all): auto-regenerate discovery clients (#1963)
1 parent e44a771 commit c2c2b59

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+6432
-957
lines changed

alertcenter/v1beta1/alertcenter-api.json

+82-2
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,42 @@
423423
}
424424
}
425425
},
426-
"revision": "20230417",
426+
"revision": "20230424",
427427
"rootUrl": "https://alertcenter.googleapis.com/",
428428
"schemas": {
429+
"AbuseDetected": {
430+
"description": "A generic alert for abusive user activity occurring with a customer.",
431+
"id": "AbuseDetected",
432+
"properties": {
433+
"additionalDetails": {
434+
"$ref": "EntityList",
435+
"description": "List of abusive users/entities to be displayed in a table in the alert."
436+
},
437+
"product": {
438+
"description": "Product that the abuse is originating from.",
439+
"type": "string"
440+
},
441+
"subAlertId": {
442+
"description": "Unique identifier of each sub alert that is onboarded.",
443+
"type": "string"
444+
},
445+
"variationType": {
446+
"description": "Variation of AbuseDetected alerts. The variation_type determines the texts displayed the alert details. This differs from sub_alert_id because each sub alert can have multiple variation_types, representing different stages of the alert.",
447+
"enum": [
448+
"ABUSE_DETECTED_VARIATION_TYPE_UNSPECIFIED",
449+
"DRIVE_ABUSIVE_CONTENT",
450+
"LIMITED_DISABLE"
451+
],
452+
"enumDescriptions": [
453+
"AbuseDetected alert variation type unspecified. No alert should be unspecified.",
454+
"Variation displayed for Drive abusive content alerts.",
455+
"Variation displayed for Limited Disable alerts, when a Google service is disabled for a user, totally or partially, due to the user's abusive behavior."
456+
],
457+
"type": "string"
458+
}
459+
},
460+
"type": "object"
461+
},
429462
"AccountSuspensionDetails": {
430463
"description": "Details about why an account is receiving an account suspension warning.",
431464
"id": "AccountSuspensionDetails",
@@ -464,7 +497,7 @@
464497
"type": "object"
465498
},
466499
"AccountSuspensionWarning": {
467-
"description": "LINT.IfChange A warning that the customer's account is about to be suspended.",
500+
"description": "A warning that the customer's account is about to be suspended.",
468501
"id": "AccountSuspensionWarning",
469502
"properties": {
470503
"appealWindow": {
@@ -1111,6 +1144,53 @@
11111144
"properties": {},
11121145
"type": "object"
11131146
},
1147+
"Entity": {
1148+
"description": "Individual entity affected by, or related to, an alert.",
1149+
"id": "Entity",
1150+
"properties": {
1151+
"link": {
1152+
"description": "Link to a Security Investigation Tool search based on this entity, if available.",
1153+
"type": "string"
1154+
},
1155+
"name": {
1156+
"description": "Human-readable name of this entity, such as an email address, file ID, or device name.",
1157+
"type": "string"
1158+
},
1159+
"values": {
1160+
"description": "Extra values beyond name. The order of values should align with headers in EntityList.",
1161+
"items": {
1162+
"type": "string"
1163+
},
1164+
"type": "array"
1165+
}
1166+
},
1167+
"type": "object"
1168+
},
1169+
"EntityList": {
1170+
"description": "EntityList stores entities in a format that can be translated to a table in the Alert Center UI.",
1171+
"id": "EntityList",
1172+
"properties": {
1173+
"entities": {
1174+
"description": "List of entities affected by the alert.",
1175+
"items": {
1176+
"$ref": "Entity"
1177+
},
1178+
"type": "array"
1179+
},
1180+
"headers": {
1181+
"description": "Headers of the values in entities. If no value is defined in Entity, this field should be empty.",
1182+
"items": {
1183+
"type": "string"
1184+
},
1185+
"type": "array"
1186+
},
1187+
"name": {
1188+
"description": "Name of the key detail used to display this entity list.",
1189+
"type": "string"
1190+
}
1191+
},
1192+
"type": "object"
1193+
},
11141194
"GmailMessageInfo": {
11151195
"description": "Details of a message in phishing spike alert.",
11161196
"id": "GmailMessageInfo",

alertcenter/v1beta1/alertcenter-gen.go

+127-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)