class Google::Apis::YoutubeV3::CommentThreadSnippet
Basic details about a comment thread.
Attributes
Whether the current viewer of the thread can reply to it. This is viewer specific - other viewers may see a different value for this field. Corresponds to the JSON property `canReply` @return [Boolean]
Whether the current viewer of the thread can reply to it. This is viewer specific - other viewers may see a different value for this field. Corresponds to the JSON property `canReply` @return [Boolean]
The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If #video_id isn't set the comments refer to the channel itself. Corresponds to the JSON property `channelId` @return [String]
Whether the thread (and therefore all its comments) is visible to all YouTube users. Corresponds to the JSON property `isPublic` @return [Boolean]
Whether the thread (and therefore all its comments) is visible to all YouTube users. Corresponds to the JSON property `isPublic` @return [Boolean]
A comment represents a single YouTube comment. Corresponds to the JSON property `topLevelComment` @return [Google::Apis::YoutubeV3::Comment]
The total number of replies (not including the top level comment). Corresponds to the JSON property `totalReplyCount` @return [Fixnum]
The ID of the video the comments refer to, if any. No #video_id implies a channel discussion comment. Corresponds to the JSON property `videoId` @return [String]
Public Class Methods
# File generated/google/apis/youtube_v3/classes.rb, line 2271 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/youtube_v3/classes.rb, line 2276 def update!(**args) @can_reply = args[:can_reply] if args.key?(:can_reply) @channel_id = args[:channel_id] if args.key?(:channel_id) @is_public = args[:is_public] if args.key?(:is_public) @top_level_comment = args[:top_level_comment] if args.key?(:top_level_comment) @total_reply_count = args[:total_reply_count] if args.key?(:total_reply_count) @video_id = args[:video_id] if args.key?(:video_id) end