package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Collection : sig ... end
val insert : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?debug:bool -> userId:string -> collection:Collection.t -> GapiPlusV1Model.Moment.t -> GapiConversation.Session.t -> GapiPlusV1Model.Moment.t * GapiConversation.Session.t

Record a moment representing a user's action such as making a purchase or commenting on a blog.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/plus/v1/").

  • parameter std_params

    Optional standard parameters.

  • parameter debug

    Return the moment as written. Should be used only for debugging.

  • parameter userId

    The ID of the user to record actions for. The only valid values are "me" and the ID of the authenticated user.

  • parameter collection

    The collection to which to write moments.

val list : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?maxResults:int -> ?pageToken:string -> ?targetUrl:string -> ?_type:string -> userId:string -> collection:Collection.t -> GapiConversation.Session.t -> GapiPlusV1Model.MomentsFeed.t * GapiConversation.Session.t

List all of the moments for a particular user.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/plus/v1/").

  • parameter std_params

    Optional standard parameters.

  • parameter maxResults

    The maximum number of moments to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.

  • parameter pageToken

    The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.

  • parameter targetUrl

    Only moments containing this targetUrl will be returned.

  • parameter _type

    Only moments of this type will be returned.

  • parameter userId

    The ID of the user to get moments for. The special value "me" can be used to indicate the authenticated user.

  • parameter collection

    The collection of moments to list.

OCaml

Innovation. Community. Security.