01README
Google Cloud youtube infrastructure models
02Models
@swamp/gcp/youtube/activitiesv2026.04.23.1activities.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a activities
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| id? | string | The ID that YouTube uses to uniquely identify the caption track. |
| snippet? | object | Basic details about a caption track, such as its language and name. |
| part | string | The *part* parameter specifies the caption resource parts that the API response will include. Set the parameter value to snippet. |
| onBehalfOf? | string | ID 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? | string | Extra parameter to allow automatically syncing the uploaded caption/transcript with the audio. |
fn create()
Create a captions
fn get(identifier: string)
Get a captions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the captions |
fn update()
Update captions attributes
fn delete(identifier: string)
Delete the captions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| auditDetails? | object | The auditDetails object encapsulates channel data that is relevant for YouTube Partners during the audit process. |
| brandingSettings? | object | Branding properties of a YouTube channel. |
| contentDetails? | object | Details about the content of a channel. |
| contentOwnerDetails? | object | The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel. |
| conversionPings? | object | The conversionPings object encapsulates information about conversion pings that need to be respected by the channel. |
| etag? | string | Etag of this resource. |
| id? | string | The ID that YouTube uses to uniquely identify the channel. |
| kind? | string | Identifies what kind of resource this is. Value: the fixed string "youtube#channel". |
| localizations? | record | Localizations for different languages |
| snippet? | object | Basic details about a channel, including title, description and thumbnails. |
| statistics? | object | Statistics about a channel: number of subscribers, number of videos in the channel, etc. |
| status? | object | JSON template for the status part of a channel. |
| topicDetails? | object | Freebase topic information related to the channel. |
fn get(identifier: string)
Get a channels
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| contentDetails? | object | Details about a channelsection, including playlists and channels. |
| id? | string | The ID that YouTube uses to uniquely identify the channel section. |
| snippet? | object | Basic details about a channel section, including title, style and position. |
| targeting? | object | ChannelSection targeting setting. |
| part | string | The *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? | string | This 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the channelSections |
fn update()
Update channelSections attributes
fn delete(identifier: string)
Delete the channelSections
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| id? | string | The ID that YouTube uses to uniquely identify the comment. |
| snippet? | object | Basic details about a comment, such as its author and text. |
| part | string | The *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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the comments |
fn update()
Update comments attributes
fn delete(identifier: string)
Delete the comments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| id? | string | The ID that YouTube uses to uniquely identify the comment thread. |
| replies? | object | Comments written in (direct or indirect) reply to the top level comment. |
| snippet? | object | Basic details about a comment thread. |
| part | string | The *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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a i18nLanguages
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a i18nRegions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| contentDetails? | object | Detailed settings of a broadcast. |
| id? | string | The ID that YouTube assigns to uniquely identify the broadcast. |
| monetizationDetails? | object | Monetization settings of a broadcast. |
| snippet? | object | Basic broadcast information. |
| statistics? | object | Statistics 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? | object | Live broadcast state. |
| part | string | The *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? | string | This 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the liveBroadcasts |
fn update()
Update liveBroadcasts attributes
fn delete(identifier: string)
Delete the liveBroadcasts
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| authorDetails? | object | |
| id? | string | The ID that YouTube assigns to uniquely identify the message. |
| snippet? | object | Next ID: 35 |
| part | string | The *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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the liveChatMessages |
fn delete(identifier: string)
Delete the liveChatMessages
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| id? | string | The ID that YouTube assigns to uniquely identify the moderator. |
| snippet? | object | |
| part | string | The *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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the liveChatModerators |
fn delete(identifier: string)
Delete the liveChatModerators
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| cdn? | object | Brief description of the live stream cdn settings. |
| contentDetails? | object | Detailed settings of a stream. |
| id? | string | The ID that YouTube assigns to uniquely identify the stream. |
| snippet? | object | |
| status? | object | Brief description of the live stream status. |
| part | string | The *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? | string | This 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the liveStreams |
fn update()
Update liveStreams attributes
fn delete(identifier: string)
Delete the liveStreams
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a members
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a membershipsLevels
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| id? | string | Identifies this resource (playlist id and image type). |
| snippet? | object | A *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? | string | This 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? | string | The *part* parameter specifies the properties that the API response will include. |
fn create()
Create a playlistImages
fn get(identifier: string)
Get a playlistImages
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the playlistImages |
fn update()
Update playlistImages attributes
fn delete(identifier: string)
Delete the playlistImages
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| contentDetails? | object | |
| id? | string | The ID that YouTube uses to uniquely identify the playlist item. |
| snippet? | object | Basic details about a playlist, including title, description and thumbnails. Basic details of a YouTube Playlist item provided by the author. Next ID: 15 |
| status? | object | Information about the playlist item's privacy status. |
| part | string | The *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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the playlistItems |
fn update()
Update playlistItems attributes
fn delete(identifier: string)
Delete the playlistItems
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| contentDetails? | object | |
| id? | string | The ID that YouTube uses to uniquely identify the playlist. |
| localizations? | record | Localizations for different languages |
| player? | object | |
| snippet? | object | Basic details about a playlist, including title, description and thumbnails. |
| status? | object | |
| part | string | The *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? | string | This 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the playlists |
fn update()
Update playlists attributes
fn delete(identifier: string)
Delete the playlists
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a search
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| contentDetails? | object | Details about the content to witch a subscription refers. |
| id? | string | The ID that YouTube uses to uniquely identify the subscription. |
| snippet? | object | Basic details about a subscription, including title, description and thumbnails of the subscribed item. |
| subscriberSnippet? | object | Basic details about a subscription's subscriber including title, description, channel ID and thumbnails. |
| part | string | The *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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the subscriptions |
fn delete(identifier: string)
Delete the subscriptions
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a superChatEvents
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| linkingToken? | string | The linking_token identifies a YouTube account and channel with which the third party account is linked. |
| snippet? | object | Basic information about a third party account link, including its type and type-specific information. |
| status? | object | The third-party link status object contains information about the status of the link. |
| part | string | The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet. |
| externalChannelId? | string | Channel ID to which changes should be applied, for delegation. |
fn create()
Create a thirdPartyLinks
fn get(identifier: string)
Get a thirdPartyLinks
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the thirdPartyLinks |
fn update()
Update thirdPartyLinks attributes
fn delete(identifier: string)
Delete the thirdPartyLinks
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a videoAbuseReportReasons
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a videoCategories
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| ageGating? | object | |
| contentDetails? | object | Details about the content of a YouTube Video. |
| fileDetails? | object | Describes 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? | string | The ID that YouTube uses to uniquely identify the video. |
| liveStreamingDetails? | object | Details about the live streaming metadata. |
| localizations? | record | The localizations object contains localized versions of the basic details about the video, such as its title and description. |
| monetizationDetails? | object | Details about monetization of a YouTube Video. |
| paidProductPlacementDetails? | object | Details 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? | object | Player to be used for a video playback. |
| processingDetails? | object | Describes processing status and progress and availability of some other Video resource parts. |
| projectDetails? | object | DEPRECATED. 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? | object | Recording information associated with the video. |
| snippet? | object | Basic details about a video, including title, description, uploader, thumbnails and category. |
| statistics? | object | Statistics about the video, such as the number of times the video was viewed or liked. |
| status? | object | Basic details about a video category, such as its localized title. Next Id: 19 |
| suggestions? | object | Specifies suggestions on how to improve video content, including encoding hints, tag suggestions, and editor suggestions. |
| topicDetails? | object | Freebase topic information related to the video. |
| part | string | The *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? | string | Should auto-levels be applied to the upload. |
| notifySubscribers? | string | Notify 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? | string | This 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? | string | Should stabilize be applied to the upload. |
fn create()
Create a videos
fn get(identifier: string)
Get a videos
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the videos |
fn update()
Update videos attributes
fn delete(identifier: string)
Delete the videos
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
fn get(identifier: string)
Get a videoTrainability
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the videoTrainability |
fn sync()
Sync videoTrainability state from GCP
Resources
state(infinite)— Specifies who is allowed to train on the video.
03Previous Versions
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