Module GapiUrlshortenerV1Service.UrlResource

module Projection : sig ... end
val get : ?⁠base_url:string -> ?⁠etag:string -> ?⁠std_params:GapiService.StandardParameters.t -> ?⁠projection:Projection.t -> shortUrl:string -> GapiConversation.Session.t -> GapiUrlshortenerV1Model.Url.t * GapiConversation.Session.t

Expands a short URL or gets creation time and analytics.

parameter base_url

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

parameter etag

Optional ETag.

parameter std_params

Optional standard parameters.

parameter projection

Additional information to return.

parameter shortUrl

The short URL, including the protocol.

val insert : ?⁠base_url:string -> ?⁠std_params:GapiService.StandardParameters.t -> GapiUrlshortenerV1Model.Url.t -> GapiConversation.Session.t -> GapiUrlshortenerV1Model.Url.t * GapiConversation.Session.t

Creates a new short URL.

parameter base_url

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

parameter std_params

Optional standard parameters.

val list : ?⁠base_url:string -> ?⁠std_params:GapiService.StandardParameters.t -> ?⁠projection:Projection.t -> ?⁠start_token:string -> GapiConversation.Session.t -> GapiUrlshortenerV1Model.UrlHistory.t * GapiConversation.Session.t

Retrieves a list of URLs shortened by a user.

parameter base_url

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

parameter std_params

Optional standard parameters.

parameter projection

Additional information to return.

parameter start_token

Token for requesting successive pages of results.