class Google::Apis::YoutubeV3::ActivityContentDetailsPlaylistItem

Information about a new playlist item.

Attributes

playlist_id[RW]

The value that YouTube uses to uniquely identify the playlist. Corresponds to the JSON property `playlistId` @return [String]

playlist_item_id[RW]

ID of the item within the playlist. Corresponds to the JSON property `playlistItemId` @return [String]

resource_id[RW]

A resource id is a generic reference that points to another YouTube resource. Corresponds to the JSON property `resourceId` @return [Google::Apis::YoutubeV3::ResourceId]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 299
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 304
def update!(**args)
  @playlist_id = args[:playlist_id] if args.key?(:playlist_id)
  @playlist_item_id = args[:playlist_item_id] if args.key?(:playlist_item_id)
  @resource_id = args[:resource_id] if args.key?(:resource_id)
end