google_api_url_shortener v0.5.0 GoogleApi.UrlShortener.V1.Model.Url View Source

Attributes

  • analytics (type: GoogleApi.UrlShortener.V1.Model.AnalyticsSummary.t, default: nil) - A summary of the click analytics for the short and long URL. Might not be present if not requested or currently unavailable.
  • created (type: String.t, default: nil) - Time the short URL was created; ISO 8601 representation using the yyyy-MM-dd'T'HH:mm:ss.SSSZZ format, e.g. "2010-10-14T19:01:24.944+00:00".
  • id (type: String.t, default: nil) - Short URL, e.g. "http://goo.gl/l6MS".
  • kind (type: String.t, default: urlshortener#url) - The fixed string "urlshortener#url".
  • longUrl (type: String.t, default: nil) - Long URL, e.g. "http://www.google.com/". Might not be present if the status is "REMOVED".
  • status (type: String.t, default: nil) - Status of the target URL. Possible values: "OK", "MALWARE", "PHISHING", or "REMOVED". A URL might be marked "REMOVED" if it was flagged as spam, for example.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.UrlShortener.V1.Model.Url{
  analytics: GoogleApi.UrlShortener.V1.Model.AnalyticsSummary.t(),
  created: String.t(),
  id: String.t(),
  kind: String.t(),
  longUrl: String.t(),
  status: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.