Index
AdvisoryNotificationsService
(interface)Attachment
(message)Csv
(message)Csv.CsvRow
(message)GetNotificationRequest
(message)GetSettingsRequest
(message)ListNotificationsRequest
(message)ListNotificationsResponse
(message)LocalizationState
(enum)Message
(message)Message.Body
(message)Notification
(message)NotificationSettings
(message)NotificationType
(enum)NotificationView
(enum)Settings
(message)Subject
(message)Text
(message)UpdateSettingsRequest
(message)
AdvisoryNotificationsService
Service to manage Security and Privacy Notifications.
GetNotification |
---|
Gets a notification.
|
GetSettings |
---|
Get notification settings.
|
ListNotifications |
---|
Lists notifications under a given parent.
|
UpdateSettings |
---|
Update notification settings.
|
Attachment
Attachment with specific information about the issue.
Fields | |
---|---|
display_name |
The title of the attachment. |
Union field data . Data type of the attachment. data can be only one of the following: |
|
csv |
A CSV file attachment. Max size is 10 MB. |
Csv
A representation of a CSV file attachment, as a list of column headers and a list of data rows.
Fields | |
---|---|
headers[] |
The list of headers for data columns in a CSV file. |
data_rows[] |
The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string. |
CsvRow
A representation of a single data row in a CSV file.
Fields | |
---|---|
entries[] |
The data entries in a CSV file row, as a string array rather than a single comma-separated string. |
GetNotificationRequest
Request for fetching a notification.
Fields | |
---|---|
name |
Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}. |
language_code |
ISO code for requested localization language. If unset, will be interpereted as "en". If the requested language is valid, but not supported for this notification, English will be returned with an "Not applicable" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error. |
GetSettingsRequest
Request of GetSettings endpoint.
Fields | |
---|---|
name |
Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings. |
ListNotificationsRequest
Request for fetching all notifications for a given parent.
Fields | |
---|---|
parent |
Required. The parent, which owns this collection of notifications. Must be of the form "organizations/{organization}/locations/{location}" or "projects/{project}/locations/{location}". |
page_size |
The maximum number of notifications to return. The service may return fewer than this value. If unspecified or equal to 0, at most 50 notifications will be returned. The maximum value is 50; values above 50 will be coerced to 50. |
page_token |
A page token returned from a previous request. When paginating, all other parameters provided in the request must match the call that returned the page token. |
view |
Specifies which parts of the notification resource should be returned in the response. |
language_code |
ISO code for requested localization language. If unset, will be interpereted as "en". If the requested language is valid, but not supported for this notification, English will be returned with an "Not applicable" LocalizationState. If the ISO code is invalid (i.e. not a real language), this RPC will throw an error. |
ListNotificationsResponse
Response of ListNotifications endpoint.
Fields | |
---|---|
notifications[] |
List of notifications under a given parent. |
next_page_token |
A token, which can be sent as |
total_size |
Estimation of a total number of notifications. |
LocalizationState
Status of localized text.
Enums | |
---|---|
LOCALIZATION_STATE_UNSPECIFIED |
Not used. |
LOCALIZATION_STATE_NOT_APPLICABLE |
Localization is not applicable for requested language. This can happen when:
|
LOCALIZATION_STATE_PENDING |
Localization for requested language is in progress, and not ready yet. |
LOCALIZATION_STATE_COMPLETED |
Localization for requested language is completed. |
Message
A message which contains notification details.
Fields | |
---|---|
body |
The message content. |
attachments[] |
The attachments to download. |
create_time |
The Message creation timestamp. |
localization_time |
Time when Message was localized |
Body
A message body containing text.
Fields | |
---|---|
text |
The text content of the message body. |
Notification
A notification object for notifying customers about security and privacy issues.
Fields | |
---|---|
name |
The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{project}/locations/{location}/notifications/{notification}. |
subject |
The subject line of the notification. |
messages[] |
A list of messages in the notification. |
create_time |
Output only. Time the notification was created. |
notification_type |
Type of notification |
NotificationSettings
Settings for each NotificationType.
Fields | |
---|---|
enabled |
Whether the associated NotificationType is enabled. |
NotificationType
Type of notification
Enums | |
---|---|
NOTIFICATION_TYPE_UNSPECIFIED |
Default type |
NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY |
Security and privacy advisory notifications |
NOTIFICATION_TYPE_SENSITIVE_ACTIONS |
Sensitive action notifications |
NOTIFICATION_TYPE_SECURITY_MSA |
General security MSA |
NOTIFICATION_TYPE_THREAT_HORIZONS |
Threat Horizons preview |
NotificationView
Notification view.
Enums | |
---|---|
NOTIFICATION_VIEW_UNSPECIFIED |
Not specified, equivalent to BASIC. |
BASIC |
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 |
Include everything. |
Settings
Settings for Advisory Notifications.
Fields | |
---|---|
name |
Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings. |
notification_settings |
Required. Map of each notification type and its settings to get/set all settings at once. The server will validate the value for each notification type. |
etag |
Required. Fingerprint for optimistic concurrency returned in Get requests. Must be provided for Update requests. If the value provided does not match the value known to the server, ABORTED will be thrown, and the client should retry the read-modify-write cycle. |
Subject
A subject line of a notification.
Fields | |
---|---|
text |
The text content. |
Text
A text object containing the English text and its localized copies.
Fields | |
---|---|
en_text |
The English copy. |
localized_text |
The requested localized copy (if applicable). |
localization_state |
Status of the localization. |
UpdateSettingsRequest
Request of UpdateSettings endpoint.
Fields | |
---|---|
settings |
Required. New settings. |