Books API . notification

Instance Methods

close()

Close httplib2 connections.

get(notification_id, locale=None, source=None, x__xgafv=None)

Returns notification details for a given notification id.

Method Details

close()
Close httplib2 connections.
get(notification_id, locale=None, source=None, x__xgafv=None)
Returns notification details for a given notification id.

Args:
  notification_id: string, String to identify the notification. (required)
  locale: string, ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating notification title and body.
  source: string, String to identify the originator of this request.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "body": "A String",
  "crmExperimentIds": [ # The list of crm experiment ids.
    "A String",
  ],
  "doc_id": "A String",
  "doc_type": "A String",
  "dont_show_notification": True or False,
  "iconUrl": "A String",
  "is_document_mature": True or False,
  "kind": "A String", # Resource type.
  "notificationGroup": "A String",
  "notification_type": "A String",
  "pcampaign_id": "A String",
  "reason": "A String",
  "show_notification_settings_action": True or False,
  "targetUrl": "A String",
  "timeToExpireMs": "A String",
  "title": "A String",
}