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

bulletin[RW]

Details about a channel bulletin post. Corresponds to the JSON property `bulletin` @return [Google::Apis::YoutubeV3::ActivityContentDetailsBulletin]

channel_item[RW]

Details about a resource which was added to a channel. Corresponds to the JSON property `channelItem` @return [Google::Apis::YoutubeV3::ActivityContentDetailsChannelItem]

comment[RW]

Information about a resource that received a comment. Corresponds to the JSON property `comment` @return [Google::Apis::YoutubeV3::ActivityContentDetailsComment]

favorite[RW]

Information about a video that was marked as a favorite video. Corresponds to the JSON property `favorite` @return [Google::Apis::YoutubeV3::ActivityContentDetailsFavorite]

like[RW]

Information about a resource that received a positive (like) rating. Corresponds to the JSON property `like` @return [Google::Apis::YoutubeV3::ActivityContentDetailsLike]

playlist_item[RW]

Information about a new playlist item. Corresponds to the JSON property `playlistItem` @return [Google::Apis::YoutubeV3::ActivityContentDetailsPlaylistItem]

promoted_item[RW]

Details about a resource which is being promoted. Corresponds to the JSON property `promotedItem` @return [Google::Apis::YoutubeV3::ActivityContentDetailsPromotedItem]

recommendation[RW]

Information that identifies the recommended resource. Corresponds to the JSON property `recommendation` @return [Google::Apis::YoutubeV3::ActivityContentDetailsRecommendation]

social[RW]

Details about a social network post. Corresponds to the JSON property `social` @return [Google::Apis::YoutubeV3::ActivityContentDetailsSocial]

subscription[RW]

Information about a channel that a user subscribed to. Corresponds to the JSON property `subscription` @return [Google::Apis::YoutubeV3::ActivityContentDetailsSubscription]

upload[RW]

Information about the uploaded video. Corresponds to the JSON property `upload` @return [Google::Apis::YoutubeV3::ActivityContentDetailsUpload]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtube_v3/classes.rb, line 170
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