class Google::Apis::YoutubeV3::ActivityContentDetails
Details about the content of an activity: the video that was shared, the channel that was subscribed to, etc.
Attributes
Details about a channel bulletin post. Corresponds to the JSON property `bulletin` @return [Google::Apis::YoutubeV3::ActivityContentDetailsBulletin]
Details about a resource which was added to a channel. Corresponds to the JSON property `channelItem` @return [Google::Apis::YoutubeV3::ActivityContentDetailsChannelItem]
Information about a resource that received a comment. Corresponds to the JSON property `comment` @return [Google::Apis::YoutubeV3::ActivityContentDetailsComment]
Information about a video that was marked as a favorite video. Corresponds to the JSON property `favorite` @return [Google::Apis::YoutubeV3::ActivityContentDetailsFavorite]
Information about a resource that received a positive (like) rating. Corresponds to the JSON property `like` @return [Google::Apis::YoutubeV3::ActivityContentDetailsLike]
Information about a new playlist item. Corresponds to the JSON property `playlistItem` @return [Google::Apis::YoutubeV3::ActivityContentDetailsPlaylistItem]
Details about a resource which is being promoted. Corresponds to the JSON property `promotedItem` @return [Google::Apis::YoutubeV3::ActivityContentDetailsPromotedItem]
Information that identifies the recommended resource. Corresponds to the JSON property `recommendation` @return [Google::Apis::YoutubeV3::ActivityContentDetailsRecommendation]
Information about a channel that a user subscribed to. Corresponds to the JSON property `subscription` @return [Google::Apis::YoutubeV3::ActivityContentDetailsSubscription]
Information about the uploaded video. Corresponds to the JSON property `upload` @return [Google::Apis::YoutubeV3::ActivityContentDetailsUpload]
Public Class Methods
# File lib/google/apis/youtube_v3/classes.rb, line 221 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 226 def update!(**args) @bulletin = args[:bulletin] if args.key?(:bulletin) @channel_item = args[:channel_item] if args.key?(:channel_item) @comment = args[:comment] if args.key?(:comment) @favorite = args[:favorite] if args.key?(:favorite) @like = args[:like] if args.key?(:like) @playlist_item = args[:playlist_item] if args.key?(:playlist_item) @promoted_item = args[:promoted_item] if args.key?(:promoted_item) @recommendation = args[:recommendation] if args.key?(:recommendation) @social = args[:social] if args.key?(:social) @subscription = args[:subscription] if args.key?(:subscription) @upload = args[:upload] if args.key?(:upload) end