Skip to content

Commit 39b0847

Browse files
feat(alertcenter): update the api
#### alertcenter:v1beta1 The following keys were added: - schemas.AccountSuspensionDetails (Total Keys: 4) - schemas.AccountSuspensionWarning (Total Keys: 7)
1 parent ceb25ba commit 39b0847

File tree

2 files changed

+81
-9
lines changed

2 files changed

+81
-9
lines changed

docs/dyn/alertcenter_v1beta1.alerts.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ <h3>Method Details</h3>
248248
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this metadata was last updated.
249249
},
250250
&quot;securityInvestigationToolLink&quot;: &quot;A String&quot;, # Output only. An optional [Security Investigation Tool](https://support.google.com/a/answer/7575955) query for this alert.
251-
&quot;source&quot;: &quot;A String&quot;, # 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 * Mobile device management * Gmail phishing * Data Loss Prevention * Domain wide takeout * State sponsored attack * Google identity
251+
&quot;source&quot;: &quot;A String&quot;, # 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 * Mobile device management * Gmail phishing * Data Loss Prevention * Domain wide takeout * State sponsored attack * Google identity * Apps outage
252252
&quot;startTime&quot;: &quot;A String&quot;, # Required. The time the event that caused this alert was started or detected.
253253
&quot;type&quot;: &quot;A String&quot;, # 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).
254254
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this alert was last updated.
@@ -321,7 +321,7 @@ <h3>Method Details</h3>
321321
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this metadata was last updated.
322322
},
323323
&quot;securityInvestigationToolLink&quot;: &quot;A String&quot;, # Output only. An optional [Security Investigation Tool](https://support.google.com/a/answer/7575955) query for this alert.
324-
&quot;source&quot;: &quot;A String&quot;, # 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 * Mobile device management * Gmail phishing * Data Loss Prevention * Domain wide takeout * State sponsored attack * Google identity
324+
&quot;source&quot;: &quot;A String&quot;, # 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 * Mobile device management * Gmail phishing * Data Loss Prevention * Domain wide takeout * State sponsored attack * Google identity * Apps outage
325325
&quot;startTime&quot;: &quot;A String&quot;, # Required. The time the event that caused this alert was started or detected.
326326
&quot;type&quot;: &quot;A String&quot;, # 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).
327327
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this alert was last updated.
@@ -386,7 +386,7 @@ <h3>Method Details</h3>
386386
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this metadata was last updated.
387387
},
388388
&quot;securityInvestigationToolLink&quot;: &quot;A String&quot;, # Output only. An optional [Security Investigation Tool](https://support.google.com/a/answer/7575955) query for this alert.
389-
&quot;source&quot;: &quot;A String&quot;, # 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 * Mobile device management * Gmail phishing * Data Loss Prevention * Domain wide takeout * State sponsored attack * Google identity
389+
&quot;source&quot;: &quot;A String&quot;, # 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 * Mobile device management * Gmail phishing * Data Loss Prevention * Domain wide takeout * State sponsored attack * Google identity * Apps outage
390390
&quot;startTime&quot;: &quot;A String&quot;, # Required. The time the event that caused this alert was started or detected.
391391
&quot;type&quot;: &quot;A String&quot;, # 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).
392392
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this alert was last updated.

googleapiclient/discovery_cache/documents/alertcenter.v1beta1.json

Lines changed: 78 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,81 @@
423423
}
424424
}
425425
},
426-
"revision": "20210720",
426+
"revision": "20210803",
427427
"rootUrl": "https://alertcenter.googleapis.com/",
428428
"schemas": {
429+
"AccountSuspensionDetails": {
430+
"description": "Details about why an account is receiving an account suspension warning.",
431+
"id": "AccountSuspensionDetails",
432+
"properties": {
433+
"abuseReason": {
434+
"description": "The reason why this account is receiving an account suspension warning.",
435+
"enum": [
436+
"ACCOUNT_SUSPENSION_ABUSE_REASON_UNSPECIFIED",
437+
"TOS_VIOLATION",
438+
"SPAM",
439+
"PHISHING",
440+
"TRAFFIC_PUMPING",
441+
"FRAUD",
442+
"NUMBER_HARVESTING",
443+
"PAYMENTS_FRAUD"
444+
],
445+
"enumDescriptions": [
446+
"Abuse reason is unspecified.",
447+
"This account is being suspended for a Terms of Service violation.",
448+
"This account is being suspended for spam.",
449+
"This account is being suspended for phishing.",
450+
"This account is being suspended for artificially boosting traffic to a website.",
451+
"This account is being suspended for fraud.",
452+
"This account is being suspended for number harvesting.",
453+
"This account is being suspended for payments fraud."
454+
],
455+
"type": "string"
456+
},
457+
"productName": {
458+
"description": "The name of the product being abused. This is restricted to only the following values: \"Gmail\" \"Payments\" \"Voice\" \"Workspace\" \"Other\"",
459+
"type": "string"
460+
}
461+
},
462+
"type": "object"
463+
},
464+
"AccountSuspensionWarning": {
465+
"description": "A warning that the customer's account is about to be suspended.",
466+
"id": "AccountSuspensionWarning",
467+
"properties": {
468+
"appealWindow": {
469+
"description": "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 state.",
470+
"format": "google-duration",
471+
"type": "string"
472+
},
473+
"state": {
474+
"description": "Account suspension warning state.",
475+
"enum": [
476+
"ACCOUNT_SUSPENSION_WARNING_STATE_UNSPECIFIED",
477+
"WARNING",
478+
"SUSPENDED",
479+
"APPEAL_APPROVED",
480+
"APPEAL_SUBMITTED"
481+
],
482+
"enumDescriptions": [
483+
"State is unspecified.",
484+
"Customer is receiving a warning about imminent suspension.",
485+
"Customer is being notified that their account has been suspended.",
486+
"Customer is being notified that their suspension appeal was approved.",
487+
"Customer has submitted their appeal, which is pending review."
488+
],
489+
"type": "string"
490+
},
491+
"suspensionDetails": {
492+
"description": "Details about why an account is being suspended.",
493+
"items": {
494+
"$ref": "AccountSuspensionDetails"
495+
},
496+
"type": "array"
497+
}
498+
},
499+
"type": "object"
500+
},
429501
"AccountWarning": {
430502
"description": "Alerts for user account warning events.",
431503
"id": "AccountWarning",
@@ -558,7 +630,7 @@
558630
"type": "string"
559631
},
560632
"source": {
561-
"description": "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 * Mobile device management * Gmail phishing * Data Loss Prevention * Domain wide takeout * State sponsored attack * Google identity",
633+
"description": "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 * Mobile device management * Gmail phishing * Data Loss Prevention * Domain wide takeout * State sponsored attack * Google identity * Apps outage",
562634
"type": "string"
563635
},
564636
"startTime": {
@@ -689,15 +761,15 @@
689761
"type": "object"
690762
},
691763
"AppsOutage": {
692-
"description": "An outage incident reported by Google for a Google Workspace (formerly G Suite) application.",
764+
"description": "An outage incident reported for a Google Workspace service.",
693765
"id": "AppsOutage",
694766
"properties": {
695767
"dashboardUri": {
696768
"description": "Link to the outage event in Google Workspace Status Dashboard",
697769
"type": "string"
698770
},
699771
"nextUpdateTime": {
700-
"description": "Timestamp by which the next update shall be provided.",
772+
"description": "Timestamp by which the next update is expected to arrive.",
701773
"format": "google-datetime",
702774
"type": "string"
703775
},
@@ -709,7 +781,7 @@
709781
"type": "array"
710782
},
711783
"resolutionTime": {
712-
"description": "Timestamp of the outage expected or confirmed resolution. (Used only when known).",
784+
"description": "Timestamp when the outage is expected to be resolved, or has confirmed resolution. Provided only when known.",
713785
"format": "google-datetime",
714786
"type": "string"
715787
},
@@ -724,7 +796,7 @@
724796
"enumDescriptions": [
725797
"Status is unspecified.",
726798
"The incident has just been reported.",
727-
"The incidnet is ongoing.",
799+
"The incident is ongoing.",
728800
"The incident has been resolved."
729801
],
730802
"type": "string"

0 commit comments

Comments
 (0)