Skip to main content

Gcp/youtube

@swamp/gcp/youtubev2026.04.23.1· 8d agoMODELS
01README

Google Cloud youtube infrastructure models

02Models25
@swamp/gcp/youtube/activitiesv2026.04.23.1activities.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a activities
ArgumentTypeDescription
identifierstringThe name of the activities
fn sync()
Sync activities state from GCP

Resources

state(infinite)— An *activity* resource contains information about an action that a particular...
@swamp/gcp/youtube/captionsv2026.04.23.1captions.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
id?stringThe ID that YouTube uses to uniquely identify the caption track.
snippet?objectBasic details about a caption track, such as its language and name.
partstringThe *part* parameter specifies the caption resource parts that the API response will include. Set the parameter value to snippet.
onBehalfOf?stringID of the Google+ Page for the channel that the request is be on behalf of
onBehalfOfContentOwner?string*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having
sync?stringExtra parameter to allow automatically syncing the uploaded caption/transcript with the audio.
fn create()
Create a captions
fn get(identifier: string)
Get a captions
ArgumentTypeDescription
identifierstringThe name of the captions
fn update()
Update captions attributes
fn delete(identifier: string)
Delete the captions
ArgumentTypeDescription
identifierstringThe name of the captions
fn sync()
Sync captions state from GCP
fn download()
download

Resources

state(infinite)— A *caption* resource represents a YouTube caption track. A caption track is a...
@swamp/gcp/youtube/channelsv2026.04.23.1channels.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
auditDetails?objectThe auditDetails object encapsulates channel data that is relevant for YouTube Partners during the audit process.
brandingSettings?objectBranding properties of a YouTube channel.
contentDetails?objectDetails about the content of a channel.
contentOwnerDetails?objectThe contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel.
conversionPings?objectThe conversionPings object encapsulates information about conversion pings that need to be respected by the channel.
etag?stringEtag of this resource.
id?stringThe ID that YouTube uses to uniquely identify the channel.
kind?stringIdentifies what kind of resource this is. Value: the fixed string "youtube#channel".
localizations?recordLocalizations for different languages
snippet?objectBasic details about a channel, including title, description and thumbnails.
statistics?objectStatistics about a channel: number of subscribers, number of videos in the channel, etc.
status?objectJSON template for the status part of a channel.
topicDetails?objectFreebase topic information related to the channel.
fn get(identifier: string)
Get a channels
ArgumentTypeDescription
identifierstringThe name of the channels
fn update()
Update channels attributes
fn sync()
Sync channels state from GCP

Resources

state(infinite)— A *channel* resource contains information about a YouTube channel.
@swamp/gcp/youtube/channelsectionsv2026.04.23.1channelsections.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
contentDetails?objectDetails about a channelsection, including playlists and channels.
id?stringThe ID that YouTube uses to uniquely identify the channel section.
snippet?objectBasic details about a channel section, including title, style and position.
targeting?objectChannelSection targeting setting.
partstringThe *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part names that you can include in the parameter value are snippet and contentDetails.
onBehalfOfContentOwner?string*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having
onBehalfOfContentOwnerChannel?stringThis parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that
fn create()
Create a channelSections
fn get(identifier: string)
Get a channelSections
ArgumentTypeDescription
identifierstringThe name of the channelSections
fn update()
Update channelSections attributes
fn delete(identifier: string)
Delete the channelSections
ArgumentTypeDescription
identifierstringThe name of the channelSections
fn sync()
Sync channelSections state from GCP

Resources

state(infinite)— Retrieves a list of resources, possibly filtered.
@swamp/gcp/youtube/commentsv2026.04.23.1comments.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
id?stringThe ID that YouTube uses to uniquely identify the comment.
snippet?objectBasic details about a comment, such as its author and text.
partstringThe *part* parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units.
fn create()
Create a comments
fn get(identifier: string)
Get a comments
ArgumentTypeDescription
identifierstringThe name of the comments
fn update()
Update comments attributes
fn delete(identifier: string)
Delete the comments
ArgumentTypeDescription
identifierstringThe name of the comments
fn sync()
Sync comments state from GCP
fn mark_as_spam()
mark as spam
fn set_moderation_status()
set moderation status

Resources

state(infinite)— A *comment* represents a single YouTube comment.
@swamp/gcp/youtube/commentthreadsv2026.04.23.1commentthreads.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
id?stringThe ID that YouTube uses to uniquely identify the comment thread.
replies?objectComments written in (direct or indirect) reply to the top level comment.
snippet?objectBasic details about a comment thread.
partstringThe *part* parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units.
fn create()
Create a commentThreads
fn get(identifier: string)
Get a commentThreads
ArgumentTypeDescription
identifierstringThe name of the commentThreads
fn sync()
Sync commentThreads state from GCP

Resources

state(infinite)— A *comment thread* represents information that applies to a top level comment...
@swamp/gcp/youtube/i18nlanguagesv2026.04.23.1i18nlanguages.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a i18nLanguages
ArgumentTypeDescription
identifierstringThe name of the i18nLanguages
fn sync()
Sync i18nLanguages state from GCP

Resources

state(infinite)— An *i18nLanguage* resource identifies a UI language currently supported by Yo...
@swamp/gcp/youtube/i18nregionsv2026.04.23.1i18nregions.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a i18nRegions
ArgumentTypeDescription
identifierstringThe name of the i18nRegions
fn sync()
Sync i18nRegions state from GCP

Resources

state(infinite)— A *i18nRegion* resource identifies a region where YouTube is available.
@swamp/gcp/youtube/livebroadcastsv2026.04.23.1livebroadcasts.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
contentDetails?objectDetailed settings of a broadcast.
id?stringThe ID that YouTube assigns to uniquely identify the broadcast.
monetizationDetails?objectMonetization settings of a broadcast.
snippet?objectBasic broadcast information.
statistics?objectStatistics about the live broadcast. These represent a snapshot of the values at the time of the request. Statistics are only returned for live broadcasts.
status?objectLive broadcast state.
partstringThe *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, contentDetails, and status.
onBehalfOfContentOwner?string*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having
onBehalfOfContentOwnerChannel?stringThis parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that
fn create()
Create a liveBroadcasts
fn get(identifier: string)
Get a liveBroadcasts
ArgumentTypeDescription
identifierstringThe name of the liveBroadcasts
fn update()
Update liveBroadcasts attributes
fn delete(identifier: string)
Delete the liveBroadcasts
ArgumentTypeDescription
identifierstringThe name of the liveBroadcasts
fn sync()
Sync liveBroadcasts state from GCP
fn bind()
bind
fn insert_cuepoint(cueType?: any, durationSecs?: any, etag?: any, id?: any, insertionOffsetTimeMs?: any, walltimeMs?: any)
insert cuepoint
ArgumentTypeDescription
cueType?any
durationSecs?any
etag?any
id?any
insertionOffsetTimeMs?any
walltimeMs?any
fn transition()
transition

Resources

state(infinite)— A *liveBroadcast* resource represents an event that will be streamed, via liv...
@swamp/gcp/youtube/livechatmessagesv2026.04.23.1livechatmessages.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
authorDetails?object
id?stringThe ID that YouTube assigns to uniquely identify the message.
snippet?objectNext ID: 35
partstringThe *part* parameter serves two purposes. It identifies the properties that the write operation will set as well as the properties that the API response will include. Set the parameter value to snippet.
fn create()
Create a liveChatMessages
fn get(identifier: string)
Get a liveChatMessages
ArgumentTypeDescription
identifierstringThe name of the liveChatMessages
fn delete(identifier: string)
Delete the liveChatMessages
ArgumentTypeDescription
identifierstringThe name of the liveChatMessages
fn sync()
Sync liveChatMessages state from GCP
fn transition()
transition

Resources

state(infinite)— A *liveChatMessage* resource represents a chat message in a YouTube Live Chat.
@swamp/gcp/youtube/livechatmoderatorsv2026.04.23.1livechatmoderators.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
id?stringThe ID that YouTube assigns to uniquely identify the moderator.
snippet?object
partstringThe *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response returns. Set the parameter value to snippet.
fn create()
Create a liveChatModerators
fn get(identifier: string)
Get a liveChatModerators
ArgumentTypeDescription
identifierstringThe name of the liveChatModerators
fn delete(identifier: string)
Delete the liveChatModerators
ArgumentTypeDescription
identifierstringThe name of the liveChatModerators
fn sync()
Sync liveChatModerators state from GCP

Resources

state(infinite)— A *liveChatModerator* resource represents a moderator for a YouTube live chat...
@swamp/gcp/youtube/livestreamsv2026.04.23.1livestreams.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
cdn?objectBrief description of the live stream cdn settings.
contentDetails?objectDetailed settings of a stream.
id?stringThe ID that YouTube assigns to uniquely identify the stream.
snippet?object
status?objectBrief description of the live stream status.
partstringThe *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. The part properties that you can include in the parameter value are id, snippet, cdn, content_details, and status.
onBehalfOfContentOwner?string*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having
onBehalfOfContentOwnerChannel?stringThis parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that
fn create()
Create a liveStreams
fn get(identifier: string)
Get a liveStreams
ArgumentTypeDescription
identifierstringThe name of the liveStreams
fn update()
Update liveStreams attributes
fn delete(identifier: string)
Delete the liveStreams
ArgumentTypeDescription
identifierstringThe name of the liveStreams
fn sync()
Sync liveStreams state from GCP

Resources

state(infinite)— A live stream describes a live ingestion point.
@swamp/gcp/youtube/membersv2026.04.23.1members.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a members
ArgumentTypeDescription
identifierstringThe name of the members
fn sync()
Sync members state from GCP

Resources

state(infinite)— A *member* resource represents a member for a YouTube channel. A member provi...
@swamp/gcp/youtube/membershipslevelsv2026.04.23.1membershipslevels.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a membershipsLevels
ArgumentTypeDescription
identifierstringThe name of the membershipsLevels
fn sync()
Sync membershipsLevels state from GCP

Resources

state(infinite)— A *membershipsLevel* resource represents an offer made by YouTube creators fo...
@swamp/gcp/youtube/playlistimagesv2026.04.23.1playlistimages.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
id?stringIdentifies this resource (playlist id and image type).
snippet?objectA *playlistImage* resource identifies another resource, such as a image, that is associated with a playlist. In addition, the playlistImage resource contains details about the included resource that pertain specifically to how that resource is used in that playlist. YouTube uses playlists to identify special collections of videos for a channel, such as: - uploaded videos - favorite videos - positively rated (liked) videos - watch history To be more specific, these lists are associated with a cha
onBehalfOfContentOwner?string*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having
onBehalfOfContentOwnerChannel?stringThis parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that
part?stringThe *part* parameter specifies the properties that the API response will include.
fn create()
Create a playlistImages
fn get(identifier: string)
Get a playlistImages
ArgumentTypeDescription
identifierstringThe name of the playlistImages
fn update()
Update playlistImages attributes
fn delete(identifier: string)
Delete the playlistImages
ArgumentTypeDescription
identifierstringThe name of the playlistImages
fn sync()
Sync playlistImages state from GCP

Resources

state(infinite)— Retrieves a list of resources, possibly filtered.
@swamp/gcp/youtube/playlistitemsv2026.04.23.1playlistitems.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
contentDetails?object
id?stringThe ID that YouTube uses to uniquely identify the playlist item.
snippet?objectBasic details about a playlist, including title, description and thumbnails. Basic details of a YouTube Playlist item provided by the author. Next ID: 15
status?objectInformation about the playlist item's privacy status.
partstringThe *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
onBehalfOfContentOwner?string*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having
fn create()
Create a playlistItems
fn get(identifier: string)
Get a playlistItems
ArgumentTypeDescription
identifierstringThe name of the playlistItems
fn update()
Update playlistItems attributes
fn delete(identifier: string)
Delete the playlistItems
ArgumentTypeDescription
identifierstringThe name of the playlistItems
fn sync()
Sync playlistItems state from GCP

Resources

state(infinite)— A *playlistItem* resource identifies another resource, such as a video, that ...
@swamp/gcp/youtube/playlistsv2026.04.23.1playlists.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
contentDetails?object
id?stringThe ID that YouTube uses to uniquely identify the playlist.
localizations?recordLocalizations for different languages
player?object
snippet?objectBasic details about a playlist, including title, description and thumbnails.
status?object
partstringThe *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
onBehalfOfContentOwner?string*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having
onBehalfOfContentOwnerChannel?stringThis parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that
fn create()
Create a playlists
fn get(identifier: string)
Get a playlists
ArgumentTypeDescription
identifierstringThe name of the playlists
fn update()
Update playlists attributes
fn delete(identifier: string)
Delete the playlists
ArgumentTypeDescription
identifierstringThe name of the playlists
fn sync()
Sync playlists state from GCP

Resources

state(infinite)— A *playlist* resource represents a YouTube playlist. A playlist is a collecti...
@swamp/gcp/youtube/searchv2026.04.23.1search.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a search
ArgumentTypeDescription
identifierstringThe name of the search
fn sync()
Sync search state from GCP

Resources

state(infinite)— A search result contains information about a YouTube video, channel, or playl...
@swamp/gcp/youtube/subscriptionsv2026.04.23.1subscriptions.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
contentDetails?objectDetails about the content to witch a subscription refers.
id?stringThe ID that YouTube uses to uniquely identify the subscription.
snippet?objectBasic details about a subscription, including title, description and thumbnails of the subscribed item.
subscriberSnippet?objectBasic details about a subscription's subscriber including title, description, channel ID and thumbnails.
partstringThe *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include.
fn create()
Create a subscriptions
fn get(identifier: string)
Get a subscriptions
ArgumentTypeDescription
identifierstringThe name of the subscriptions
fn delete(identifier: string)
Delete the subscriptions
ArgumentTypeDescription
identifierstringThe name of the subscriptions
fn sync()
Sync subscriptions state from GCP

Resources

state(infinite)— A *subscription* resource contains information about a YouTube user subscript...
@swamp/gcp/youtube/superchateventsv2026.04.23.1superchatevents.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a superChatEvents
ArgumentTypeDescription
identifierstringThe name of the superChatEvents
fn sync()
Sync superChatEvents state from GCP

Resources

state(infinite)— A `__superChatEvent__` resource represents a Super Chat purchase on a YouTube...
@swamp/gcp/youtube/thirdpartylinksv2026.04.23.1thirdpartylinks.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
linkingToken?stringThe linking_token identifies a YouTube account and channel with which the third party account is linked.
snippet?objectBasic information about a third party account link, including its type and type-specific information.
status?objectThe third-party link status object contains information about the status of the link.
partstringThe *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet.
externalChannelId?stringChannel ID to which changes should be applied, for delegation.
fn create()
Create a thirdPartyLinks
fn get(identifier: string)
Get a thirdPartyLinks
ArgumentTypeDescription
identifierstringThe name of the thirdPartyLinks
fn update()
Update thirdPartyLinks attributes
fn delete(identifier: string)
Delete the thirdPartyLinks
ArgumentTypeDescription
identifierstringThe name of the thirdPartyLinks
fn sync()
Sync thirdPartyLinks state from GCP

Resources

state(infinite)— A *third party account link* resource represents a link between a YouTube acc...
@swamp/gcp/youtube/videoabusereportreasonsv2026.04.23.1videoabusereportreasons.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a videoAbuseReportReasons
ArgumentTypeDescription
identifierstringThe name of the videoAbuseReportReasons
fn sync()
Sync videoAbuseReportReasons state from GCP

Resources

state(infinite)— A `__videoAbuseReportReason__` resource identifies a reason that a video coul...
@swamp/gcp/youtube/videocategoriesv2026.04.23.1videocategories.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a videoCategories
ArgumentTypeDescription
identifierstringThe name of the videoCategories
fn sync()
Sync videoCategories state from GCP

Resources

state(infinite)— A *videoCategory* resource identifies a category that has been or could be as...
@swamp/gcp/youtube/videosv2026.04.23.1videos.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
ageGating?object
contentDetails?objectDetails about the content of a YouTube Video.
fileDetails?objectDescribes original video file properties, including technical details about audio and video streams, but also metadata information like content length, digitization time, or geotagging information.
id?stringThe ID that YouTube uses to uniquely identify the video.
liveStreamingDetails?objectDetails about the live streaming metadata.
localizations?recordThe localizations object contains localized versions of the basic details about the video, such as its title and description.
monetizationDetails?objectDetails about monetization of a YouTube Video.
paidProductPlacementDetails?objectDetails about paid content, such as paid product placement, sponsorships or endorsement, contained in a YouTube video and a method to inform viewers of paid promotion. This data can only be retrieved by the video owner.
player?objectPlayer to be used for a video playback.
processingDetails?objectDescribes processing status and progress and availability of some other Video resource parts.
projectDetails?objectDEPRECATED. b/157517979: This part was never populated after it was added. However, it sees non-zero traffic because there is generated client code in the wild that refers to it [1]. We keep this field and do NOT remove it because otherwise V3 would return an error when this part gets requested [2]. [1] https://developers.google.com/resources/api-libraries/documentation/youtube/v3/csharp/latest/classGoogle_1_1Apis_1_1YouTube_1_1v3_1_1Data_1_1VideoProjectDetails.html [2] http://google3/video/yout
recordingDetails?objectRecording information associated with the video.
snippet?objectBasic details about a video, including title, description, uploader, thumbnails and category.
statistics?objectStatistics about the video, such as the number of times the video was viewed or liked.
status?objectBasic details about a video category, such as its localized title. Next Id: 19
suggestions?objectSpecifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions.
topicDetails?objectFreebase topic information related to the video.
partstringThe *part* parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response will include. Note that not all parts contain properties that can be set when inserting or updating a video. For example, the statistics object encapsulates statistics that YouTube calculates for a video and does not contain values that you can set or modify. If the parameter value specifies a part that does not contain mutable
autoLevels?stringShould auto-levels be applied to the upload.
notifySubscribers?stringNotify the channel subscribers about the new video. As default, the notification is enabled.
onBehalfOfContentOwner?string*Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwner* parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having
onBehalfOfContentOwnerChannel?stringThis parameter can only be used in a properly authorized request. *Note:* This parameter is intended exclusively for YouTube content partners. The *onBehalfOfContentOwnerChannel* parameter specifies the YouTube channel ID of the channel to which a video is being added. This parameter is required when a request specifies a value for the onBehalfOfContentOwner parameter, and it can only be used in conjunction with that parameter. In addition, the request must be authorized using a CMS account that
stabilize?stringShould stabilize be applied to the upload.
fn create()
Create a videos
fn get(identifier: string)
Get a videos
ArgumentTypeDescription
identifierstringThe name of the videos
fn update()
Update videos attributes
fn delete(identifier: string)
Delete the videos
ArgumentTypeDescription
identifierstringThe name of the videos
fn sync()
Sync videos state from GCP
fn get_rating()
get rating
fn rate()
rate
fn report_abuse(comments?: any, language?: any, reasonId?: any, secondaryReasonId?: any, videoId?: any)
report abuse
ArgumentTypeDescription
comments?any
language?any
reasonId?any
secondaryReasonId?any
videoId?any

Resources

state(infinite)— A *video* resource represents a YouTube video.
@swamp/gcp/youtube/videotrainabilityv2026.04.23.1videotrainability.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
fn get(identifier: string)
Get a videoTrainability
ArgumentTypeDescription
identifierstringThe name of the videoTrainability
fn sync()
Sync videoTrainability state from GCP

Resources

state(infinite)— Specifies who is allowed to train on the video.
03Previous Versions5
2026.04.04.1Apr 4, 2026
  • Updated: channels, commentthreads, livechatmessages
2026.04.03.3Apr 3, 2026
  • Updated: activities, captions, channelsections, channels, commentthreads, comments, i18nlanguages, i18nregions, livebroadcasts, livechatmessages, livechatmoderators, livestreams, members, membershipslevels, playlistimages, playlistitems, playlists, search, subscriptions, superchatevents, thirdpartylinks, videoabusereportreasons, videocategories, videotrainability, videos
2026.04.03.1Apr 3, 2026
  • Updated: activities, captions, channelsections, channels, commentthreads, comments, i18nlanguages, i18nregions, livebroadcasts, livechatmessages, livechatmoderators, livestreams, members, membershipslevels, playlistimages, playlistitems, playlists, search, subscriptions, superchatevents, thirdpartylinks, videoabusereportreasons, videocategories, videotrainability, videos
2026.04.02.2Apr 2, 2026
2026.03.27.1Mar 27, 2026
  • Added: activities, captions, channelsections, channels, commentthreads, comments, i18nlanguages, i18nregions, livebroadcasts, livechatmessages, livechatmoderators, livestreams, members, membershipslevels, playlistimages, playlistitems, playlists, search, subscriptions, superchatevents, thirdpartylinks, videoabusereportreasons, videocategories, videotrainability, videos
04Stats
A
100 / 100
Downloads
0
Archive size
180.5 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms
06Labels