class Google::Apis::YoutubeV3::SubscriptionSnippet
Basic details about a subscription, including title, description and thumbnails of the subscribed item.
Attributes
The ID that YouTube uses to uniquely identify the subscriber's channel. Corresponds to the JSON property `channelId` @return [String]
Channel
title for the channel that the subscription belongs to. Corresponds to the JSON property `channelTitle` @return [String]
The subscription's details. Corresponds to the JSON property `description` @return [String]
The date and time that the subscription was created. Corresponds to the JSON property `publishedAt` @return [DateTime]
A resource id is a generic reference that points to another YouTube resource. Corresponds to the JSON property `resourceId` @return [Google::Apis::YoutubeV3::ResourceId]
Internal representation of thumbnails for a YouTube resource. Corresponds to the JSON property `thumbnails` @return [Google::Apis::YoutubeV3::ThumbnailDetails]
The subscription's title. Corresponds to the JSON property `title` @return [String]
Public Class Methods
# File lib/google/apis/youtube_v3/classes.rb, line 6571 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 6576 def update!(**args) @channel_id = args[:channel_id] if args.key?(:channel_id) @channel_title = args[:channel_title] if args.key?(:channel_title) @description = args[:description] if args.key?(:description) @published_at = args[:published_at] if args.key?(:published_at) @resource_id = args[:resource_id] if args.key?(:resource_id) @thumbnails = args[:thumbnails] if args.key?(:thumbnails) @title = args[:title] if args.key?(:title) end