google_api_books v0.5.0 GoogleApi.Books.V1.Api.Notification View Source

API calls for all endpoints tagged Notification.

Link to this section Summary

Link to this section Functions

Link to this function

books_notification_get(connection, notification_id, optional_params \\ [], opts \\ []) View Source

Returns notification details for a given notification id.

Parameters

  • connection (GoogleApi.Books.V1.Connection): Connection to server
  • notification_id (String.t): String to identify the notification.
  • optional_params (keyword()): [optional] Optional parameters

    • :alt (String.t): Data format for the response.
    • :fields (String.t): Selector specifying which fields to include in a partial response.
    • :key (String.t): API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • :oauth_token (String.t): OAuth 2.0 token for the current user.
    • :prettyPrint (boolean()): Returns response with indentations and line breaks.
    • :quotaUser (String.t): An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
    • :userIp (String.t): Deprecated. Please use quotaUser instead.
    • :locale (String.t): ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating notification title and body.
    • :source (String.t): String to identify the originator of this request.

Returns

{:ok, %GoogleApi.Books.V1.Model.Notification{}} on success {:error, info} on failure