class Google::Apis::YoutubeV3::ListVideoCategoryResponse

Attributes

etag[RW]

Etag of this resource. Corresponds to the JSON property `etag` @return [String]

event_id[RW]

Serialized EventId of the request which produced this response. Corresponds to the JSON property `eventId` @return [String]

items[RW]

A list of video categories that can be associated with YouTube videos. In this map, the video category ID is the map key, and its value is the corresponding videoCategory resource. Corresponds to the JSON property `items` @return [Array<Google::Apis::YoutubeV3::VideoCategory>]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “youtube# videoCategoryListResponse”. Corresponds to the JSON property `kind` @return [String]

next_page_token[RW]

The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set. Corresponds to the JSON property `nextPageToken` @return [String]

page_info[RW]

Paging details for lists of resources, including total number of items available and number of resources returned in a single page. Corresponds to the JSON property `pageInfo` @return [Google::Apis::YoutubeV3::PageInfo]

prev_page_token[RW]

The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set. Corresponds to the JSON property `prevPageToken` @return [String]

token_pagination[RW]

Stub token pagination template to suppress results. Corresponds to the JSON property `tokenPagination` @return [Google::Apis::YoutubeV3::TokenPagination]

visitor_id[RW]

The visitorId identifies the visitor. Corresponds to the JSON property `visitorId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 7566
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/youtube_v3/classes.rb, line 7571
def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @event_id = args[:event_id] if args.key?(:event_id)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @page_info = args[:page_info] if args.key?(:page_info)
  @prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token)
  @token_pagination = args[:token_pagination] if args.key?(:token_pagination)
  @visitor_id = args[:visitor_id] if args.key?(:visitor_id)
end