Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#1963)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored May 3, 2023
1 parent e44a771 commit c2c2b59
Show file tree
Hide file tree
Showing 48 changed files with 6,432 additions and 957 deletions.
84 changes: 82 additions & 2 deletions alertcenter/v1beta1/alertcenter-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -423,9 +423,42 @@
}
}
},
"revision": "20230417",
"revision": "20230424",
"rootUrl": "https://alertcenter.googleapis.com/",
"schemas": {
"AbuseDetected": {
"description": "A generic alert for abusive user activity occurring with a customer.",
"id": "AbuseDetected",
"properties": {
"additionalDetails": {
"$ref": "EntityList",
"description": "List of abusive users/entities to be displayed in a table in the alert."
},
"product": {
"description": "Product that the abuse is originating from.",
"type": "string"
},
"subAlertId": {
"description": "Unique identifier of each sub alert that is onboarded.",
"type": "string"
},
"variationType": {
"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.",
"enum": [
"ABUSE_DETECTED_VARIATION_TYPE_UNSPECIFIED",
"DRIVE_ABUSIVE_CONTENT",
"LIMITED_DISABLE"
],
"enumDescriptions": [
"AbuseDetected alert variation type unspecified. No alert should be unspecified.",
"Variation displayed for Drive abusive content alerts.",
"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."
],
"type": "string"
}
},
"type": "object"
},
"AccountSuspensionDetails": {
"description": "Details about why an account is receiving an account suspension warning.",
"id": "AccountSuspensionDetails",
Expand Down Expand Up @@ -464,7 +497,7 @@
"type": "object"
},
"AccountSuspensionWarning": {
"description": "LINT.IfChange A warning that the customer's account is about to be suspended.",
"description": "A warning that the customer's account is about to be suspended.",
"id": "AccountSuspensionWarning",
"properties": {
"appealWindow": {
Expand Down Expand Up @@ -1111,6 +1144,53 @@
"properties": {},
"type": "object"
},
"Entity": {
"description": "Individual entity affected by, or related to, an alert.",
"id": "Entity",
"properties": {
"link": {
"description": "Link to a Security Investigation Tool search based on this entity, if available.",
"type": "string"
},
"name": {
"description": "Human-readable name of this entity, such as an email address, file ID, or device name.",
"type": "string"
},
"values": {
"description": "Extra values beyond name. The order of values should align with headers in EntityList.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"EntityList": {
"description": "EntityList stores entities in a format that can be translated to a table in the Alert Center UI.",
"id": "EntityList",
"properties": {
"entities": {
"description": "List of entities affected by the alert.",
"items": {
"$ref": "Entity"
},
"type": "array"
},
"headers": {
"description": "Headers of the values in entities. If no value is defined in Entity, this field should be empty.",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "Name of the key detail used to display this entity list.",
"type": "string"
}
},
"type": "object"
},
"GmailMessageInfo": {
"description": "Details of a message in phishing spike alert.",
"id": "GmailMessageInfo",
Expand Down
129 changes: 127 additions & 2 deletions alertcenter/v1beta1/alertcenter-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c2c2b59

Please sign in to comment.