API documentation for advisorynotifications_v1.types
package.
Classes
Attachment
Attachment with specific information about the issue.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Csv
A representation of a CSV file attachment, as a list of column headers and a list of data rows.
GetNotificationRequest
Request for fetching a notification.
GetSettingsRequest
Request of GetSettings endpoint.
ListNotificationsRequest
Request for fetching all notifications for a given parent.
ListNotificationsResponse
Response of ListNotifications endpoint.
LocalizationState
Status of localized text.
Values: LOCALIZATION_STATE_UNSPECIFIED (0): Not used. LOCALIZATION_STATE_NOT_APPLICABLE (1): Localization is not applicable for requested language. This can happen when:
- The requested language was not supported by
Advisory Notifications at the time of
localization (including notifications created
before the localization feature was launched).
- The requested language is English, so only the
English text is returned.
LOCALIZATION_STATE_PENDING (2):
Localization for requested language is in
progress, and not ready yet.
LOCALIZATION_STATE_COMPLETED (3):
Localization for requested language is
completed.
Message
A message which contains notification details.
Notification
A notification object for notifying customers about security and privacy issues.
NotificationSettings
Settings for each NotificationType.
NotificationType
Type of notification
Values: NOTIFICATION_TYPE_UNSPECIFIED (0): Default type NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY (1): Security and privacy advisory notifications NOTIFICATION_TYPE_SENSITIVE_ACTIONS (2): Sensitive action notifications NOTIFICATION_TYPE_SECURITY_MSA (3): General security MSA NOTIFICATION_TYPE_THREAT_HORIZONS (4): Threat horizons MSA
NotificationView
Notification view.
Values: NOTIFICATION_VIEW_UNSPECIFIED (0): Not specified, equivalent to BASIC. BASIC (1): Server responses only include title, creation time and Notification ID. Note: for internal use responses also include the last update time, the latest message text and whether notification has attachments. FULL (2): Include everything.
Settings
Settings for Advisory Notifications.
Subject
A subject line of a notification.
Text
A text object containing the English text and its localized copies.
UpdateSettingsRequest
Request of UpdateSettings endpoint.