class Google::Apis::UrlshortenerV1::AnalyticsSnapshot
Attributes
Top browsers, e.g. “Chrome”; sorted by (descending) click counts. Only present if this data is available. Corresponds to the JSON property `browsers` @return [Array<Google::Apis::UrlshortenerV1::StringCount>]
Top countries (expressed as country codes), e.g. “US” or “DE”; sorted by ( descending) click counts. Only present if this data is available. Corresponds to the JSON property `countries` @return [Array<Google::Apis::UrlshortenerV1::StringCount>]
Number of clicks on all goo.gl short URLs pointing to this long URL. Corresponds to the JSON property `longUrlClicks` @return [String]
Top platforms or OSes, e.g. “Windows”; sorted by (descending) click counts. Only present if this data is available. Corresponds to the JSON property `platforms` @return [Array<Google::Apis::UrlshortenerV1::StringCount>]
Top referring hosts, e.g. “www.google.com”; sorted by (descending) click counts. Only present if this data is available. Corresponds to the JSON property `referrers` @return [Array<Google::Apis::UrlshortenerV1::StringCount>]
Number of clicks on this short URL. Corresponds to the JSON property `shortUrlClicks` @return [String]
Public Class Methods
# File generated/google/apis/urlshortener_v1/classes.rb, line 63 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/urlshortener_v1/classes.rb, line 68 def update!(**args) @browsers = args[:browsers] if args.key?(:browsers) @countries = args[:countries] if args.key?(:countries) @long_url_clicks = args[:long_url_clicks] if args.key?(:long_url_clicks) @platforms = args[:platforms] if args.key?(:platforms) @referrers = args[:referrers] if args.key?(:referrers) @short_url_clicks = args[:short_url_clicks] if args.key?(:short_url_clicks) end