class Google::Apis::UrlshortenerV1::UrlHistory
Attributes
items[RW]
A list of URL resources. Corresponds to the JSON property `items` @return [Array<Google::Apis::UrlshortenerV1::Url>]
items_per_page[RW]
Number of items returned with each full “page” of results. Note that the last page could have fewer items than the “itemsPerPage” value. Corresponds to the JSON property `itemsPerPage` @return [Fixnum]
kind[RW]
The fixed string “urlshortener#urlHistory”. Corresponds to the JSON property `kind` @return [String]
next_page_token[RW]
A token to provide to get the next page of results. Corresponds to the JSON property `nextPageToken` @return [String]
total_items[RW]
Total number of short URLs associated with this user (may be approximate). Corresponds to the JSON property `totalItems` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/urlshortener_v1/classes.rb, line 231 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/urlshortener_v1/classes.rb, line 236 def update!(**args) @items = args[:items] if args.key?(:items) @items_per_page = args[:items_per_page] if args.key?(:items_per_page) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_items = args[:total_items] if args.key?(:total_items) end