@utdk/google 0.0.1-20260407.8-dev.646adf4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +373 -0
- package/books/README.md +3 -0
- package/books/index.ts +22 -0
- package/books/metadata.ts +1681 -0
- package/books/openapi.json +8073 -0
- package/books/package.json +41 -0
- package/books/types.ts +308 -0
- package/drive/README.md +3 -0
- package/drive/index.ts +22 -0
- package/drive/metadata.ts +1962 -0
- package/drive/openapi.json +7902 -0
- package/drive/types.ts +302 -0
- package/fcm/README.md +3 -0
- package/fcm/index.ts +22 -0
- package/fcm/metadata.ts +36 -0
- package/fcm/openapi.json +678 -0
- package/fcm/types.ts +8 -0
- package/home/README.md +3 -0
- package/home/index.ts +22 -0
- package/home/metadata.ts +512 -0
- package/home/openapi.json +5429 -0
- package/home/types.ts +182 -0
- package/index.ts +14 -0
- package/package.json +35 -0
- package/youtube/README.md +3 -0
- package/youtube/index.ts +22 -0
- package/youtube/metadata.ts +2716 -0
- package/youtube/openapi.json +15600 -0
- package/youtube/types.ts +482 -0
package/youtube/types.ts
ADDED
|
@@ -0,0 +1,482 @@
|
|
|
1
|
+
export type GoogleYoutubeClient = {
|
|
2
|
+
/**
|
|
3
|
+
* Inserts a new resource into this collection.
|
|
4
|
+
* Tags: abuseReports
|
|
5
|
+
* Access as: google/youtube.abuseReportsInsert(input)
|
|
6
|
+
*/
|
|
7
|
+
abuseReportsInsert: (input: { abuseTypes?: ({ id?: string })[]; description?: string; relatedEntities?: ({ entity?: { id?: string; typeId?: string; url?: string } })[]; subject?: { id?: string; typeId?: string; url?: string }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[] }) => Promise<{ abuseTypes?: ({ id?: string })[]; description?: string; relatedEntities?: ({ entity?: { id?: string; typeId?: string; url?: string } })[]; subject?: { id?: string; typeId?: string; url?: string } }>;
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves a list of resources, possibly filtered.
|
|
10
|
+
* Tags: activities
|
|
11
|
+
* Access as: google/youtube.activitiesList(input)
|
|
12
|
+
*/
|
|
13
|
+
activitiesList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; channelId?: string; home?: boolean; maxResults?: number; mine?: boolean; pageToken?: string; publishedAfter?: string; publishedBefore?: string; regionCode?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ contentDetails?: { bulletin?: { resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string } }; channelItem?: { resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string } }; comment?: { resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string } }; favorite?: { resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string } }; like?: { resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string } }; playlistItem?: { playlistId?: string; playlistItemId?: string; resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string } }; promotedItem?: { adTag?: string; clickTrackingUrl?: string; creativeViewUrl?: string; ctaType?: "ctaTypeUnspecified" | "visitAdvertiserSite"; customCtaButtonText?: string; descriptionText?: string; destinationUrl?: string; forecastingUrl?: (string)[]; impressionUrl?: (string)[]; videoId?: string }; recommendation?: { reason?: "reasonUnspecified" | "videoFavorited" | "videoLiked" | "videoWatched"; resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string }; seedResourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string } }; social?: { author?: string; imageUrl?: string; referenceUrl?: string; resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string }; type?: "unspecified" | "googlePlus" | "facebook" | "twitter" }; subscription?: { resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string } }; upload?: { videoId?: string } }; etag?: string; id?: string; kind?: string; snippet?: { channelId?: string; channelTitle?: string; description?: string; groupId?: string; publishedAt?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string; type?: "typeUnspecified" | "upload" | "like" | "favorite" | "comment" | "subscription" | "playlistItem" | "recommendation" | "bulletin" | "social" | "channelItem" | "promotedItem" } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; prevPageToken?: string; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
14
|
+
/**
|
|
15
|
+
* Deletes a resource.
|
|
16
|
+
* Tags: captions
|
|
17
|
+
* Access as: google/youtube.captionsDelete(input)
|
|
18
|
+
*/
|
|
19
|
+
captionsDelete: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: string; onBehalfOf?: string; onBehalfOfContentOwner?: string }) => Promise<unknown>;
|
|
20
|
+
/**
|
|
21
|
+
* Downloads a caption track.
|
|
22
|
+
* Tags: captions
|
|
23
|
+
* Access as: google/youtube.captionsDownload(input)
|
|
24
|
+
*/
|
|
25
|
+
captionsDownload: (input: { id: string; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; onBehalfOf?: string; onBehalfOfContentOwner?: string; tfmt?: string; tlang?: string }) => Promise<unknown>;
|
|
26
|
+
/**
|
|
27
|
+
* Inserts a new resource into this collection.
|
|
28
|
+
* Tags: captions
|
|
29
|
+
* Access as: google/youtube.captionsInsert(input)
|
|
30
|
+
*/
|
|
31
|
+
captionsInsert: (input: { etag?: string; id?: string; kind?: string; snippet?: { audioTrackType?: "unknown" | "primary" | "commentary" | "descriptive"; failureReason?: "unknownFormat" | "unsupportedFormat" | "processingFailed"; isAutoSynced?: boolean; isCC?: boolean; isDraft?: boolean; isEasyReader?: boolean; isLarge?: boolean; language?: string; lastUpdated?: string; name?: string; status?: "serving" | "syncing" | "failed"; trackKind?: "standard" | "ASR" | "forced"; videoId?: string }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; onBehalfOf?: string; onBehalfOfContentOwner?: string; sync?: boolean }) => Promise<{ etag?: string; id?: string; kind?: string; snippet?: { audioTrackType?: "unknown" | "primary" | "commentary" | "descriptive"; failureReason?: "unknownFormat" | "unsupportedFormat" | "processingFailed"; isAutoSynced?: boolean; isCC?: boolean; isDraft?: boolean; isEasyReader?: boolean; isLarge?: boolean; language?: string; lastUpdated?: string; name?: string; status?: "serving" | "syncing" | "failed"; trackKind?: "standard" | "ASR" | "forced"; videoId?: string } }>;
|
|
32
|
+
/**
|
|
33
|
+
* Retrieves a list of resources, possibly filtered.
|
|
34
|
+
* Tags: captions
|
|
35
|
+
* Access as: google/youtube.captionsList(input)
|
|
36
|
+
*/
|
|
37
|
+
captionsList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; videoId: string; id?: (string)[]; onBehalfOf?: string; onBehalfOfContentOwner?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ etag?: string; id?: string; kind?: string; snippet?: { audioTrackType?: "unknown" | "primary" | "commentary" | "descriptive"; failureReason?: "unknownFormat" | "unsupportedFormat" | "processingFailed"; isAutoSynced?: boolean; isCC?: boolean; isDraft?: boolean; isEasyReader?: boolean; isLarge?: boolean; language?: string; lastUpdated?: string; name?: string; status?: "serving" | "syncing" | "failed"; trackKind?: "standard" | "ASR" | "forced"; videoId?: string } })[]; kind?: string; visitorId?: string }>;
|
|
38
|
+
/**
|
|
39
|
+
* Updates an existing resource.
|
|
40
|
+
* Tags: captions
|
|
41
|
+
* Access as: google/youtube.captionsUpdate(input)
|
|
42
|
+
*/
|
|
43
|
+
captionsUpdate: (input: { etag?: string; id?: string; kind?: string; snippet?: { audioTrackType?: "unknown" | "primary" | "commentary" | "descriptive"; failureReason?: "unknownFormat" | "unsupportedFormat" | "processingFailed"; isAutoSynced?: boolean; isCC?: boolean; isDraft?: boolean; isEasyReader?: boolean; isLarge?: boolean; language?: string; lastUpdated?: string; name?: string; status?: "serving" | "syncing" | "failed"; trackKind?: "standard" | "ASR" | "forced"; videoId?: string }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; onBehalfOf?: string; onBehalfOfContentOwner?: string; sync?: boolean }) => Promise<{ etag?: string; id?: string; kind?: string; snippet?: { audioTrackType?: "unknown" | "primary" | "commentary" | "descriptive"; failureReason?: "unknownFormat" | "unsupportedFormat" | "processingFailed"; isAutoSynced?: boolean; isCC?: boolean; isDraft?: boolean; isEasyReader?: boolean; isLarge?: boolean; language?: string; lastUpdated?: string; name?: string; status?: "serving" | "syncing" | "failed"; trackKind?: "standard" | "ASR" | "forced"; videoId?: string } }>;
|
|
44
|
+
/**
|
|
45
|
+
* Inserts a new resource into this collection.
|
|
46
|
+
* Tags: channelBanners
|
|
47
|
+
* Access as: google/youtube.channelBannersInsert(input)
|
|
48
|
+
*/
|
|
49
|
+
channelBannersInsert: (input: { etag?: string; kind?: string; url?: string; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; channelId?: string; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string }) => Promise<{ etag?: string; kind?: string; url?: string }>;
|
|
50
|
+
/**
|
|
51
|
+
* Deletes a resource.
|
|
52
|
+
* Tags: channelSections
|
|
53
|
+
* Access as: google/youtube.channelSectionsDelete(input)
|
|
54
|
+
*/
|
|
55
|
+
channelSectionsDelete: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: string; onBehalfOfContentOwner?: string }) => Promise<unknown>;
|
|
56
|
+
/**
|
|
57
|
+
* Inserts a new resource into this collection.
|
|
58
|
+
* Tags: channelSections
|
|
59
|
+
* Access as: google/youtube.channelSectionsInsert(input)
|
|
60
|
+
*/
|
|
61
|
+
channelSectionsInsert: (input: { contentDetails?: { channels?: (string)[]; playlists?: (string)[] }; etag?: string; id?: string; kind?: string; localizations?: { [key: string]: { title?: string } | undefined }; snippet?: { channelId?: string; defaultLanguage?: string; localized?: { title?: string }; position?: number; style?: "channelsectionStyleUnspecified" | "horizontalRow" | "verticalList"; title?: string; type?: "channelsectionTypeUndefined" | "singlePlaylist" | "multiplePlaylists" | "popularUploads" | "recentUploads" | "likes" | "allPlaylists" | "likedPlaylists" | "recentPosts" | "recentActivity" | "liveEvents" | "upcomingEvents" | "completedEvents" | "multipleChannels" | "postedVideos" | "postedPlaylists" | "subscriptions" }; targeting?: { countries?: (string)[]; languages?: (string)[]; regions?: (string)[] }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string }) => Promise<{ contentDetails?: { channels?: (string)[]; playlists?: (string)[] }; etag?: string; id?: string; kind?: string; localizations?: { [key: string]: { title?: string } | undefined }; snippet?: { channelId?: string; defaultLanguage?: string; localized?: { title?: string }; position?: number; style?: "channelsectionStyleUnspecified" | "horizontalRow" | "verticalList"; title?: string; type?: "channelsectionTypeUndefined" | "singlePlaylist" | "multiplePlaylists" | "popularUploads" | "recentUploads" | "likes" | "allPlaylists" | "likedPlaylists" | "recentPosts" | "recentActivity" | "liveEvents" | "upcomingEvents" | "completedEvents" | "multipleChannels" | "postedVideos" | "postedPlaylists" | "subscriptions" }; targeting?: { countries?: (string)[]; languages?: (string)[]; regions?: (string)[] } }>;
|
|
62
|
+
/**
|
|
63
|
+
* Retrieves a list of resources, possibly filtered.
|
|
64
|
+
* Tags: channelSections
|
|
65
|
+
* Access as: google/youtube.channelSectionsList(input)
|
|
66
|
+
*/
|
|
67
|
+
channelSectionsList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; channelId?: string; hl?: string; id?: (string)[]; mine?: boolean; onBehalfOfContentOwner?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ contentDetails?: { channels?: (string)[]; playlists?: (string)[] }; etag?: string; id?: string; kind?: string; localizations?: { [key: string]: { title?: string } | undefined }; snippet?: { channelId?: string; defaultLanguage?: string; localized?: { title?: string }; position?: number; style?: "channelsectionStyleUnspecified" | "horizontalRow" | "verticalList"; title?: string; type?: "channelsectionTypeUndefined" | "singlePlaylist" | "multiplePlaylists" | "popularUploads" | "recentUploads" | "likes" | "allPlaylists" | "likedPlaylists" | "recentPosts" | "recentActivity" | "liveEvents" | "upcomingEvents" | "completedEvents" | "multipleChannels" | "postedVideos" | "postedPlaylists" | "subscriptions" }; targeting?: { countries?: (string)[]; languages?: (string)[]; regions?: (string)[] } })[]; kind?: string; visitorId?: string }>;
|
|
68
|
+
/**
|
|
69
|
+
* Updates an existing resource.
|
|
70
|
+
* Tags: channelSections
|
|
71
|
+
* Access as: google/youtube.channelSectionsUpdate(input)
|
|
72
|
+
*/
|
|
73
|
+
channelSectionsUpdate: (input: { contentDetails?: { channels?: (string)[]; playlists?: (string)[] }; etag?: string; id?: string; kind?: string; localizations?: { [key: string]: { title?: string } | undefined }; snippet?: { channelId?: string; defaultLanguage?: string; localized?: { title?: string }; position?: number; style?: "channelsectionStyleUnspecified" | "horizontalRow" | "verticalList"; title?: string; type?: "channelsectionTypeUndefined" | "singlePlaylist" | "multiplePlaylists" | "popularUploads" | "recentUploads" | "likes" | "allPlaylists" | "likedPlaylists" | "recentPosts" | "recentActivity" | "liveEvents" | "upcomingEvents" | "completedEvents" | "multipleChannels" | "postedVideos" | "postedPlaylists" | "subscriptions" }; targeting?: { countries?: (string)[]; languages?: (string)[]; regions?: (string)[] }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; onBehalfOfContentOwner?: string }) => Promise<{ contentDetails?: { channels?: (string)[]; playlists?: (string)[] }; etag?: string; id?: string; kind?: string; localizations?: { [key: string]: { title?: string } | undefined }; snippet?: { channelId?: string; defaultLanguage?: string; localized?: { title?: string }; position?: number; style?: "channelsectionStyleUnspecified" | "horizontalRow" | "verticalList"; title?: string; type?: "channelsectionTypeUndefined" | "singlePlaylist" | "multiplePlaylists" | "popularUploads" | "recentUploads" | "likes" | "allPlaylists" | "likedPlaylists" | "recentPosts" | "recentActivity" | "liveEvents" | "upcomingEvents" | "completedEvents" | "multipleChannels" | "postedVideos" | "postedPlaylists" | "subscriptions" }; targeting?: { countries?: (string)[]; languages?: (string)[]; regions?: (string)[] } }>;
|
|
74
|
+
/**
|
|
75
|
+
* Retrieves a list of resources, possibly filtered.
|
|
76
|
+
* Tags: channels
|
|
77
|
+
* Access as: google/youtube.channelsList(input)
|
|
78
|
+
*/
|
|
79
|
+
channelsList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; categoryId?: string; forHandle?: string; forUsername?: string; hl?: string; id?: (string)[]; managedByMe?: boolean; maxResults?: number; mine?: boolean; mySubscribers?: boolean; onBehalfOfContentOwner?: string; pageToken?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ auditDetails?: { communityGuidelinesGoodStanding?: boolean; contentIdClaimsGoodStanding?: boolean; copyrightStrikesGoodStanding?: boolean }; brandingSettings?: { channel?: { country?: string; defaultLanguage?: string; defaultTab?: string; description?: string; featuredChannelsTitle?: string; featuredChannelsUrls?: (string)[]; keywords?: string; moderateComments?: boolean; profileColor?: string; showBrowseView?: boolean; showRelatedChannels?: boolean; title?: string; trackingAnalyticsAccountId?: string; unsubscribedTrailer?: string }; hints?: ({ property?: string; value?: string })[]; image?: { backgroundImageUrl?: { defaultLanguage?: { value?: string }; localized?: ({ language?: string; value?: string })[] }; bannerExternalUrl?: string; bannerImageUrl?: string; bannerMobileExtraHdImageUrl?: string; bannerMobileHdImageUrl?: string; bannerMobileImageUrl?: string; bannerMobileLowImageUrl?: string; bannerMobileMediumHdImageUrl?: string; bannerTabletExtraHdImageUrl?: string; bannerTabletHdImageUrl?: string; bannerTabletImageUrl?: string; bannerTabletLowImageUrl?: string; bannerTvHighImageUrl?: string; bannerTvImageUrl?: string; bannerTvLowImageUrl?: string; bannerTvMediumImageUrl?: string; largeBrandedBannerImageImapScript?: { defaultLanguage?: { value?: string }; localized?: ({ language?: string; value?: string })[] }; largeBrandedBannerImageUrl?: { defaultLanguage?: { value?: string }; localized?: ({ language?: string; value?: string })[] }; smallBrandedBannerImageImapScript?: { defaultLanguage?: { value?: string }; localized?: ({ language?: string; value?: string })[] }; smallBrandedBannerImageUrl?: { defaultLanguage?: { value?: string }; localized?: ({ language?: string; value?: string })[] }; trackingImageUrl?: string; watchIconImageUrl?: string }; watch?: { backgroundColor?: string; featuredPlaylistId?: string; textColor?: string } }; contentDetails?: { relatedPlaylists?: { favorites?: string; likes?: string; uploads?: string; watchHistory?: string; watchLater?: string } }; contentOwnerDetails?: { contentOwner?: string; timeLinked?: string }; conversionPings?: { pings?: ({ context?: "subscribe" | "unsubscribe" | "cview"; conversionUrl?: string })[] }; etag?: string; id?: string; kind?: string; localizations?: { [key: string]: { description?: string; title?: string } | undefined }; snippet?: { country?: string; customUrl?: string; defaultLanguage?: string; description?: string; localized?: { description?: string; title?: string }; publishedAt?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; statistics?: { commentCount?: string; hiddenSubscriberCount?: boolean; subscriberCount?: string; videoCount?: string; viewCount?: string }; status?: { isLinked?: boolean; longUploadsStatus?: "longUploadsUnspecified" | "allowed" | "eligible" | "disallowed"; madeForKids?: boolean; privacyStatus?: "public" | "unlisted" | "private"; selfDeclaredMadeForKids?: boolean }; topicDetails?: { topicCategories?: (string)[]; topicIds?: (string)[] } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; prevPageToken?: string; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
80
|
+
/**
|
|
81
|
+
* Updates an existing resource.
|
|
82
|
+
* Tags: channels
|
|
83
|
+
* Access as: google/youtube.channelsUpdate(input)
|
|
84
|
+
*/
|
|
85
|
+
channelsUpdate: (input: { auditDetails?: { communityGuidelinesGoodStanding?: boolean; contentIdClaimsGoodStanding?: boolean; copyrightStrikesGoodStanding?: boolean }; brandingSettings?: { channel?: { country?: string; defaultLanguage?: string; defaultTab?: string; description?: string; featuredChannelsTitle?: string; featuredChannelsUrls?: (string)[]; keywords?: string; moderateComments?: boolean; profileColor?: string; showBrowseView?: boolean; showRelatedChannels?: boolean; title?: string; trackingAnalyticsAccountId?: string; unsubscribedTrailer?: string }; hints?: ({ property?: string; value?: string })[]; image?: { backgroundImageUrl?: { defaultLanguage?: { value?: string }; localized?: ({ language?: string; value?: string })[] }; bannerExternalUrl?: string; bannerImageUrl?: string; bannerMobileExtraHdImageUrl?: string; bannerMobileHdImageUrl?: string; bannerMobileImageUrl?: string; bannerMobileLowImageUrl?: string; bannerMobileMediumHdImageUrl?: string; bannerTabletExtraHdImageUrl?: string; bannerTabletHdImageUrl?: string; bannerTabletImageUrl?: string; bannerTabletLowImageUrl?: string; bannerTvHighImageUrl?: string; bannerTvImageUrl?: string; bannerTvLowImageUrl?: string; bannerTvMediumImageUrl?: string; largeBrandedBannerImageImapScript?: { defaultLanguage?: { value?: string }; localized?: ({ language?: string; value?: string })[] }; largeBrandedBannerImageUrl?: { defaultLanguage?: { value?: string }; localized?: ({ language?: string; value?: string })[] }; smallBrandedBannerImageImapScript?: { defaultLanguage?: { value?: string }; localized?: ({ language?: string; value?: string })[] }; smallBrandedBannerImageUrl?: { defaultLanguage?: { value?: string }; localized?: ({ language?: string; value?: string })[] }; trackingImageUrl?: string; watchIconImageUrl?: string }; watch?: { backgroundColor?: string; featuredPlaylistId?: string; textColor?: string } }; contentDetails?: { relatedPlaylists?: { favorites?: string; likes?: string; uploads?: string; watchHistory?: string; watchLater?: string } }; contentOwnerDetails?: { contentOwner?: string; timeLinked?: string }; conversionPings?: { pings?: ({ context?: "subscribe" | "unsubscribe" | "cview"; conversionUrl?: string })[] }; etag?: string; id?: string; kind?: string; localizations?: { [key: string]: { description?: string; title?: string } | undefined }; snippet?: { country?: string; customUrl?: string; defaultLanguage?: string; description?: string; localized?: { description?: string; title?: string }; publishedAt?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; statistics?: { commentCount?: string; hiddenSubscriberCount?: boolean; subscriberCount?: string; videoCount?: string; viewCount?: string }; status?: { isLinked?: boolean; longUploadsStatus?: "longUploadsUnspecified" | "allowed" | "eligible" | "disallowed"; madeForKids?: boolean; privacyStatus?: "public" | "unlisted" | "private"; selfDeclaredMadeForKids?: boolean }; topicDetails?: { topicCategories?: (string)[]; topicIds?: (string)[] }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; onBehalfOfContentOwner?: string }) => Promise<{ auditDetails?: { communityGuidelinesGoodStanding?: boolean; contentIdClaimsGoodStanding?: boolean; copyrightStrikesGoodStanding?: boolean }; brandingSettings?: { channel?: { country?: string; defaultLanguage?: string; defaultTab?: string; description?: string; featuredChannelsTitle?: string; featuredChannelsUrls?: (string)[]; keywords?: string; moderateComments?: boolean; profileColor?: string; showBrowseView?: boolean; showRelatedChannels?: boolean; title?: string; trackingAnalyticsAccountId?: string; unsubscribedTrailer?: string }; hints?: ({ property?: string; value?: string })[]; image?: { backgroundImageUrl?: { defaultLanguage?: { value?: string }; localized?: ({ language?: string; value?: string })[] }; bannerExternalUrl?: string; bannerImageUrl?: string; bannerMobileExtraHdImageUrl?: string; bannerMobileHdImageUrl?: string; bannerMobileImageUrl?: string; bannerMobileLowImageUrl?: string; bannerMobileMediumHdImageUrl?: string; bannerTabletExtraHdImageUrl?: string; bannerTabletHdImageUrl?: string; bannerTabletImageUrl?: string; bannerTabletLowImageUrl?: string; bannerTvHighImageUrl?: string; bannerTvImageUrl?: string; bannerTvLowImageUrl?: string; bannerTvMediumImageUrl?: string; largeBrandedBannerImageImapScript?: { defaultLanguage?: { value?: string }; localized?: ({ language?: string; value?: string })[] }; largeBrandedBannerImageUrl?: { defaultLanguage?: { value?: string }; localized?: ({ language?: string; value?: string })[] }; smallBrandedBannerImageImapScript?: { defaultLanguage?: { value?: string }; localized?: ({ language?: string; value?: string })[] }; smallBrandedBannerImageUrl?: { defaultLanguage?: { value?: string }; localized?: ({ language?: string; value?: string })[] }; trackingImageUrl?: string; watchIconImageUrl?: string }; watch?: { backgroundColor?: string; featuredPlaylistId?: string; textColor?: string } }; contentDetails?: { relatedPlaylists?: { favorites?: string; likes?: string; uploads?: string; watchHistory?: string; watchLater?: string } }; contentOwnerDetails?: { contentOwner?: string; timeLinked?: string }; conversionPings?: { pings?: ({ context?: "subscribe" | "unsubscribe" | "cview"; conversionUrl?: string })[] }; etag?: string; id?: string; kind?: string; localizations?: { [key: string]: { description?: string; title?: string } | undefined }; snippet?: { country?: string; customUrl?: string; defaultLanguage?: string; description?: string; localized?: { description?: string; title?: string }; publishedAt?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; statistics?: { commentCount?: string; hiddenSubscriberCount?: boolean; subscriberCount?: string; videoCount?: string; viewCount?: string }; status?: { isLinked?: boolean; longUploadsStatus?: "longUploadsUnspecified" | "allowed" | "eligible" | "disallowed"; madeForKids?: boolean; privacyStatus?: "public" | "unlisted" | "private"; selfDeclaredMadeForKids?: boolean }; topicDetails?: { topicCategories?: (string)[]; topicIds?: (string)[] } }>;
|
|
86
|
+
/**
|
|
87
|
+
* Deletes a resource.
|
|
88
|
+
* Tags: comments
|
|
89
|
+
* Access as: google/youtube.commentsDelete(input)
|
|
90
|
+
*/
|
|
91
|
+
commentsDelete: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: string }) => Promise<unknown>;
|
|
92
|
+
/**
|
|
93
|
+
* Inserts a new resource into this collection.
|
|
94
|
+
* Tags: comments
|
|
95
|
+
* Access as: google/youtube.commentsInsert(input)
|
|
96
|
+
*/
|
|
97
|
+
commentsInsert: (input: { etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: { value?: string }; authorChannelUrl?: string; authorDisplayName?: string; authorProfileImageUrl?: string; canRate?: boolean; channelId?: string; likeCount?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; parentId?: string; publishedAt?: string; textDisplay?: string; textOriginal?: string; updatedAt?: string; videoId?: string; viewerRating?: "none" | "like" | "dislike" }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[] }) => Promise<{ etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: { value?: string }; authorChannelUrl?: string; authorDisplayName?: string; authorProfileImageUrl?: string; canRate?: boolean; channelId?: string; likeCount?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; parentId?: string; publishedAt?: string; textDisplay?: string; textOriginal?: string; updatedAt?: string; videoId?: string; viewerRating?: "none" | "like" | "dislike" } }>;
|
|
98
|
+
/**
|
|
99
|
+
* Retrieves a list of resources, possibly filtered.
|
|
100
|
+
* Tags: comments
|
|
101
|
+
* Access as: google/youtube.commentsList(input)
|
|
102
|
+
*/
|
|
103
|
+
commentsList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; id?: (string)[]; maxResults?: number; pageToken?: string; parentId?: string; textFormat?: "textFormatUnspecified" | "html" | "plainText" }) => Promise<{ etag?: string; eventId?: string; items?: ({ etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: { value?: string }; authorChannelUrl?: string; authorDisplayName?: string; authorProfileImageUrl?: string; canRate?: boolean; channelId?: string; likeCount?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; parentId?: string; publishedAt?: string; textDisplay?: string; textOriginal?: string; updatedAt?: string; videoId?: string; viewerRating?: "none" | "like" | "dislike" } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
104
|
+
/**
|
|
105
|
+
* Expresses the caller's opinion that one or more comments should be flagged as spam.
|
|
106
|
+
* Tags: comments
|
|
107
|
+
* Access as: google/youtube.commentsMarkAsSpam(input)
|
|
108
|
+
*/
|
|
109
|
+
commentsMarkAsSpam: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: (string)[] }) => Promise<unknown>;
|
|
110
|
+
/**
|
|
111
|
+
* Sets the moderation status of one or more comments.
|
|
112
|
+
* Tags: comments
|
|
113
|
+
* Access as: google/youtube.commentsSetModerationStatus(input)
|
|
114
|
+
*/
|
|
115
|
+
commentsSetModerationStatus: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: (string)[]; moderationStatus: "published" | "heldForReview" | "likelySpam" | "rejected"; banAuthor?: boolean }) => Promise<unknown>;
|
|
116
|
+
/**
|
|
117
|
+
* Updates an existing resource.
|
|
118
|
+
* Tags: comments
|
|
119
|
+
* Access as: google/youtube.commentsUpdate(input)
|
|
120
|
+
*/
|
|
121
|
+
commentsUpdate: (input: { etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: { value?: string }; authorChannelUrl?: string; authorDisplayName?: string; authorProfileImageUrl?: string; canRate?: boolean; channelId?: string; likeCount?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; parentId?: string; publishedAt?: string; textDisplay?: string; textOriginal?: string; updatedAt?: string; videoId?: string; viewerRating?: "none" | "like" | "dislike" }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[] }) => Promise<{ etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: { value?: string }; authorChannelUrl?: string; authorDisplayName?: string; authorProfileImageUrl?: string; canRate?: boolean; channelId?: string; likeCount?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; parentId?: string; publishedAt?: string; textDisplay?: string; textOriginal?: string; updatedAt?: string; videoId?: string; viewerRating?: "none" | "like" | "dislike" } }>;
|
|
122
|
+
/**
|
|
123
|
+
* Inserts a new resource into this collection.
|
|
124
|
+
* Tags: commentThreads
|
|
125
|
+
* Access as: google/youtube.commentThreadsInsert(input)
|
|
126
|
+
*/
|
|
127
|
+
commentThreadsInsert: (input: { etag?: string; id?: string; kind?: string; replies?: { comments?: ({ etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: { value?: string }; authorChannelUrl?: string; authorDisplayName?: string; authorProfileImageUrl?: string; canRate?: boolean; channelId?: string; likeCount?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; parentId?: string; publishedAt?: string; textDisplay?: string; textOriginal?: string; updatedAt?: string; videoId?: string; viewerRating?: "none" | "like" | "dislike" } })[] }; snippet?: { canReply?: boolean; channelId?: string; isPublic?: boolean; topLevelComment?: { etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: { value?: string }; authorChannelUrl?: string; authorDisplayName?: string; authorProfileImageUrl?: string; canRate?: boolean; channelId?: string; likeCount?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; parentId?: string; publishedAt?: string; textDisplay?: string; textOriginal?: string; updatedAt?: string; videoId?: string; viewerRating?: "none" | "like" | "dislike" } }; totalReplyCount?: number; videoId?: string }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[] }) => Promise<{ etag?: string; id?: string; kind?: string; replies?: { comments?: ({ etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: { value?: string }; authorChannelUrl?: string; authorDisplayName?: string; authorProfileImageUrl?: string; canRate?: boolean; channelId?: string; likeCount?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; parentId?: string; publishedAt?: string; textDisplay?: string; textOriginal?: string; updatedAt?: string; videoId?: string; viewerRating?: "none" | "like" | "dislike" } })[] }; snippet?: { canReply?: boolean; channelId?: string; isPublic?: boolean; topLevelComment?: { etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: { value?: string }; authorChannelUrl?: string; authorDisplayName?: string; authorProfileImageUrl?: string; canRate?: boolean; channelId?: string; likeCount?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; parentId?: string; publishedAt?: string; textDisplay?: string; textOriginal?: string; updatedAt?: string; videoId?: string; viewerRating?: "none" | "like" | "dislike" } }; totalReplyCount?: number; videoId?: string } }>;
|
|
128
|
+
/**
|
|
129
|
+
* Retrieves a list of resources, possibly filtered.
|
|
130
|
+
* Tags: commentThreads
|
|
131
|
+
* Access as: google/youtube.commentThreadsList(input)
|
|
132
|
+
*/
|
|
133
|
+
commentThreadsList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; allThreadsRelatedToChannelId?: string; channelId?: string; id?: (string)[]; maxResults?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; order?: "orderUnspecified" | "time" | "relevance"; pageToken?: string; searchTerms?: string; textFormat?: "textFormatUnspecified" | "html" | "plainText"; videoId?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ etag?: string; id?: string; kind?: string; replies?: { comments?: ({ etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: { value?: string }; authorChannelUrl?: string; authorDisplayName?: string; authorProfileImageUrl?: string; canRate?: boolean; channelId?: string; likeCount?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; parentId?: string; publishedAt?: string; textDisplay?: string; textOriginal?: string; updatedAt?: string; videoId?: string; viewerRating?: "none" | "like" | "dislike" } })[] }; snippet?: { canReply?: boolean; channelId?: string; isPublic?: boolean; topLevelComment?: { etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: { value?: string }; authorChannelUrl?: string; authorDisplayName?: string; authorProfileImageUrl?: string; canRate?: boolean; channelId?: string; likeCount?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; parentId?: string; publishedAt?: string; textDisplay?: string; textOriginal?: string; updatedAt?: string; videoId?: string; viewerRating?: "none" | "like" | "dislike" } }; totalReplyCount?: number; videoId?: string } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
134
|
+
/**
|
|
135
|
+
* Retrieves a list of resources, possibly filtered.
|
|
136
|
+
* Tags: i18nLanguages
|
|
137
|
+
* Access as: google/youtube.i18NLanguagesList(input)
|
|
138
|
+
*/
|
|
139
|
+
i18NLanguagesList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; hl?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ etag?: string; id?: string; kind?: string; snippet?: { hl?: string; name?: string } })[]; kind?: string; visitorId?: string }>;
|
|
140
|
+
/**
|
|
141
|
+
* Retrieves a list of resources, possibly filtered.
|
|
142
|
+
* Tags: i18nRegions
|
|
143
|
+
* Access as: google/youtube.i18NRegionsList(input)
|
|
144
|
+
*/
|
|
145
|
+
i18NRegionsList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; hl?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ etag?: string; id?: string; kind?: string; snippet?: { gl?: string; name?: string } })[]; kind?: string; visitorId?: string }>;
|
|
146
|
+
/**
|
|
147
|
+
* Bind a broadcast to a stream.
|
|
148
|
+
* Tags: liveBroadcasts
|
|
149
|
+
* Access as: google/youtube.liveBroadcastsBind(input)
|
|
150
|
+
*/
|
|
151
|
+
liveBroadcastsBind: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: string; part: (string)[]; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string; streamId?: string }) => Promise<{ contentDetails?: { boundStreamId?: string; boundStreamLastUpdateTimeMs?: string; closedCaptionsType?: "closedCaptionsTypeUnspecified" | "closedCaptionsDisabled" | "closedCaptionsHttpPost" | "closedCaptionsEmbedded"; enableAutoStart?: boolean; enableAutoStop?: boolean; enableClosedCaptions?: boolean; enableContentEncryption?: boolean; enableDvr?: boolean; enableEmbed?: boolean; enableLowLatency?: boolean; latencyPreference?: "latencyPreferenceUnspecified" | "normal" | "low" | "ultraLow"; mesh?: string; monitorStream?: { broadcastStreamDelayMs?: number; embedHtml?: string; enableMonitorStream?: boolean }; projection?: "projectionUnspecified" | "rectangular" | "360" | "mesh"; recordFromStart?: boolean; startWithSlate?: boolean; stereoLayout?: "stereoLayoutUnspecified" | "mono" | "leftRight" | "topBottom" }; etag?: string; id?: string; kind?: string; monetizationDetails?: { cuepointSchedule?: { enabled?: boolean; pauseAdsUntil?: string; repeatIntervalSecs?: number; scheduleStrategy?: "scheduleStrategyUnspecified" | "concurrent" | "nonConcurrent" } }; snippet?: { actualEndTime?: string; actualStartTime?: string; channelId?: string; description?: string; isDefaultBroadcast?: boolean; liveChatId?: string; publishedAt?: string; scheduledEndTime?: string; scheduledStartTime?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; statistics?: { concurrentViewers?: string }; status?: { lifeCycleStatus?: "lifeCycleStatusUnspecified" | "created" | "ready" | "testing" | "live" | "complete" | "revoked" | "testStarting" | "liveStarting"; liveBroadcastPriority?: "liveBroadcastPriorityUnspecified" | "low" | "normal" | "high"; madeForKids?: boolean; privacyStatus?: "public" | "unlisted" | "private"; recordingStatus?: "liveBroadcastRecordingStatusUnspecified" | "notRecording" | "recording" | "recorded"; selfDeclaredMadeForKids?: boolean } }>;
|
|
152
|
+
/**
|
|
153
|
+
* Delete a given broadcast.
|
|
154
|
+
* Tags: liveBroadcasts
|
|
155
|
+
* Access as: google/youtube.liveBroadcastsDelete(input)
|
|
156
|
+
*/
|
|
157
|
+
liveBroadcastsDelete: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: string; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string }) => Promise<unknown>;
|
|
158
|
+
/**
|
|
159
|
+
* Inserts a new stream for the authenticated user.
|
|
160
|
+
* Tags: liveBroadcasts
|
|
161
|
+
* Access as: google/youtube.liveBroadcastsInsert(input)
|
|
162
|
+
*/
|
|
163
|
+
liveBroadcastsInsert: (input: { contentDetails?: { boundStreamId?: string; boundStreamLastUpdateTimeMs?: string; closedCaptionsType?: "closedCaptionsTypeUnspecified" | "closedCaptionsDisabled" | "closedCaptionsHttpPost" | "closedCaptionsEmbedded"; enableAutoStart?: boolean; enableAutoStop?: boolean; enableClosedCaptions?: boolean; enableContentEncryption?: boolean; enableDvr?: boolean; enableEmbed?: boolean; enableLowLatency?: boolean; latencyPreference?: "latencyPreferenceUnspecified" | "normal" | "low" | "ultraLow"; mesh?: string; monitorStream?: { broadcastStreamDelayMs?: number; embedHtml?: string; enableMonitorStream?: boolean }; projection?: "projectionUnspecified" | "rectangular" | "360" | "mesh"; recordFromStart?: boolean; startWithSlate?: boolean; stereoLayout?: "stereoLayoutUnspecified" | "mono" | "leftRight" | "topBottom" }; etag?: string; id?: string; kind?: string; monetizationDetails?: { cuepointSchedule?: { enabled?: boolean; pauseAdsUntil?: string; repeatIntervalSecs?: number; scheduleStrategy?: "scheduleStrategyUnspecified" | "concurrent" | "nonConcurrent" } }; snippet?: { actualEndTime?: string; actualStartTime?: string; channelId?: string; description?: string; isDefaultBroadcast?: boolean; liveChatId?: string; publishedAt?: string; scheduledEndTime?: string; scheduledStartTime?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; statistics?: { concurrentViewers?: string }; status?: { lifeCycleStatus?: "lifeCycleStatusUnspecified" | "created" | "ready" | "testing" | "live" | "complete" | "revoked" | "testStarting" | "liveStarting"; liveBroadcastPriority?: "liveBroadcastPriorityUnspecified" | "low" | "normal" | "high"; madeForKids?: boolean; privacyStatus?: "public" | "unlisted" | "private"; recordingStatus?: "liveBroadcastRecordingStatusUnspecified" | "notRecording" | "recording" | "recorded"; selfDeclaredMadeForKids?: boolean }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string }) => Promise<{ contentDetails?: { boundStreamId?: string; boundStreamLastUpdateTimeMs?: string; closedCaptionsType?: "closedCaptionsTypeUnspecified" | "closedCaptionsDisabled" | "closedCaptionsHttpPost" | "closedCaptionsEmbedded"; enableAutoStart?: boolean; enableAutoStop?: boolean; enableClosedCaptions?: boolean; enableContentEncryption?: boolean; enableDvr?: boolean; enableEmbed?: boolean; enableLowLatency?: boolean; latencyPreference?: "latencyPreferenceUnspecified" | "normal" | "low" | "ultraLow"; mesh?: string; monitorStream?: { broadcastStreamDelayMs?: number; embedHtml?: string; enableMonitorStream?: boolean }; projection?: "projectionUnspecified" | "rectangular" | "360" | "mesh"; recordFromStart?: boolean; startWithSlate?: boolean; stereoLayout?: "stereoLayoutUnspecified" | "mono" | "leftRight" | "topBottom" }; etag?: string; id?: string; kind?: string; monetizationDetails?: { cuepointSchedule?: { enabled?: boolean; pauseAdsUntil?: string; repeatIntervalSecs?: number; scheduleStrategy?: "scheduleStrategyUnspecified" | "concurrent" | "nonConcurrent" } }; snippet?: { actualEndTime?: string; actualStartTime?: string; channelId?: string; description?: string; isDefaultBroadcast?: boolean; liveChatId?: string; publishedAt?: string; scheduledEndTime?: string; scheduledStartTime?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; statistics?: { concurrentViewers?: string }; status?: { lifeCycleStatus?: "lifeCycleStatusUnspecified" | "created" | "ready" | "testing" | "live" | "complete" | "revoked" | "testStarting" | "liveStarting"; liveBroadcastPriority?: "liveBroadcastPriorityUnspecified" | "low" | "normal" | "high"; madeForKids?: boolean; privacyStatus?: "public" | "unlisted" | "private"; recordingStatus?: "liveBroadcastRecordingStatusUnspecified" | "notRecording" | "recording" | "recorded"; selfDeclaredMadeForKids?: boolean } }>;
|
|
164
|
+
/**
|
|
165
|
+
* Insert cuepoints in a broadcast
|
|
166
|
+
* Tags: liveBroadcasts
|
|
167
|
+
* Access as: google/youtube.liveBroadcastsInsertCuepoint(input, options)
|
|
168
|
+
*/
|
|
169
|
+
liveBroadcastsInsertCuepoint: (input: { cueType?: "cueTypeUnspecified" | "cueTypeAd"; durationSecs?: number; etag?: string; id?: string; insertionOffsetTimeMs?: string; walltimeMs?: string; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string; part?: (string)[] }, options?: { query?: { id?: string } }) => Promise<{ cueType?: "cueTypeUnspecified" | "cueTypeAd"; durationSecs?: number; etag?: string; id?: string; insertionOffsetTimeMs?: string; walltimeMs?: string }>;
|
|
170
|
+
/**
|
|
171
|
+
* Retrieve the list of broadcasts associated with the given channel.
|
|
172
|
+
* Tags: liveBroadcasts
|
|
173
|
+
* Access as: google/youtube.liveBroadcastsList(input)
|
|
174
|
+
*/
|
|
175
|
+
liveBroadcastsList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; broadcastStatus?: "broadcastStatusFilterUnspecified" | "all" | "active" | "upcoming" | "completed"; broadcastType?: "broadcastTypeFilterUnspecified" | "all" | "event" | "persistent"; id?: (string)[]; maxResults?: number; mine?: boolean; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string; pageToken?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ contentDetails?: { boundStreamId?: string; boundStreamLastUpdateTimeMs?: string; closedCaptionsType?: "closedCaptionsTypeUnspecified" | "closedCaptionsDisabled" | "closedCaptionsHttpPost" | "closedCaptionsEmbedded"; enableAutoStart?: boolean; enableAutoStop?: boolean; enableClosedCaptions?: boolean; enableContentEncryption?: boolean; enableDvr?: boolean; enableEmbed?: boolean; enableLowLatency?: boolean; latencyPreference?: "latencyPreferenceUnspecified" | "normal" | "low" | "ultraLow"; mesh?: string; monitorStream?: { broadcastStreamDelayMs?: number; embedHtml?: string; enableMonitorStream?: boolean }; projection?: "projectionUnspecified" | "rectangular" | "360" | "mesh"; recordFromStart?: boolean; startWithSlate?: boolean; stereoLayout?: "stereoLayoutUnspecified" | "mono" | "leftRight" | "topBottom" }; etag?: string; id?: string; kind?: string; monetizationDetails?: { cuepointSchedule?: { enabled?: boolean; pauseAdsUntil?: string; repeatIntervalSecs?: number; scheduleStrategy?: "scheduleStrategyUnspecified" | "concurrent" | "nonConcurrent" } }; snippet?: { actualEndTime?: string; actualStartTime?: string; channelId?: string; description?: string; isDefaultBroadcast?: boolean; liveChatId?: string; publishedAt?: string; scheduledEndTime?: string; scheduledStartTime?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; statistics?: { concurrentViewers?: string }; status?: { lifeCycleStatus?: "lifeCycleStatusUnspecified" | "created" | "ready" | "testing" | "live" | "complete" | "revoked" | "testStarting" | "liveStarting"; liveBroadcastPriority?: "liveBroadcastPriorityUnspecified" | "low" | "normal" | "high"; madeForKids?: boolean; privacyStatus?: "public" | "unlisted" | "private"; recordingStatus?: "liveBroadcastRecordingStatusUnspecified" | "notRecording" | "recording" | "recorded"; selfDeclaredMadeForKids?: boolean } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; prevPageToken?: string; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
176
|
+
/**
|
|
177
|
+
* Transition a broadcast to a given status.
|
|
178
|
+
* Tags: liveBroadcasts
|
|
179
|
+
* Access as: google/youtube.liveBroadcastsTransition(input)
|
|
180
|
+
*/
|
|
181
|
+
liveBroadcastsTransition: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; broadcastStatus: "statusUnspecified" | "testing" | "live" | "complete"; id: string; part: (string)[]; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string }) => Promise<{ contentDetails?: { boundStreamId?: string; boundStreamLastUpdateTimeMs?: string; closedCaptionsType?: "closedCaptionsTypeUnspecified" | "closedCaptionsDisabled" | "closedCaptionsHttpPost" | "closedCaptionsEmbedded"; enableAutoStart?: boolean; enableAutoStop?: boolean; enableClosedCaptions?: boolean; enableContentEncryption?: boolean; enableDvr?: boolean; enableEmbed?: boolean; enableLowLatency?: boolean; latencyPreference?: "latencyPreferenceUnspecified" | "normal" | "low" | "ultraLow"; mesh?: string; monitorStream?: { broadcastStreamDelayMs?: number; embedHtml?: string; enableMonitorStream?: boolean }; projection?: "projectionUnspecified" | "rectangular" | "360" | "mesh"; recordFromStart?: boolean; startWithSlate?: boolean; stereoLayout?: "stereoLayoutUnspecified" | "mono" | "leftRight" | "topBottom" }; etag?: string; id?: string; kind?: string; monetizationDetails?: { cuepointSchedule?: { enabled?: boolean; pauseAdsUntil?: string; repeatIntervalSecs?: number; scheduleStrategy?: "scheduleStrategyUnspecified" | "concurrent" | "nonConcurrent" } }; snippet?: { actualEndTime?: string; actualStartTime?: string; channelId?: string; description?: string; isDefaultBroadcast?: boolean; liveChatId?: string; publishedAt?: string; scheduledEndTime?: string; scheduledStartTime?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; statistics?: { concurrentViewers?: string }; status?: { lifeCycleStatus?: "lifeCycleStatusUnspecified" | "created" | "ready" | "testing" | "live" | "complete" | "revoked" | "testStarting" | "liveStarting"; liveBroadcastPriority?: "liveBroadcastPriorityUnspecified" | "low" | "normal" | "high"; madeForKids?: boolean; privacyStatus?: "public" | "unlisted" | "private"; recordingStatus?: "liveBroadcastRecordingStatusUnspecified" | "notRecording" | "recording" | "recorded"; selfDeclaredMadeForKids?: boolean } }>;
|
|
182
|
+
/**
|
|
183
|
+
* Updates an existing broadcast for the authenticated user.
|
|
184
|
+
* Tags: liveBroadcasts
|
|
185
|
+
* Access as: google/youtube.liveBroadcastsUpdate(input)
|
|
186
|
+
*/
|
|
187
|
+
liveBroadcastsUpdate: (input: { contentDetails?: { boundStreamId?: string; boundStreamLastUpdateTimeMs?: string; closedCaptionsType?: "closedCaptionsTypeUnspecified" | "closedCaptionsDisabled" | "closedCaptionsHttpPost" | "closedCaptionsEmbedded"; enableAutoStart?: boolean; enableAutoStop?: boolean; enableClosedCaptions?: boolean; enableContentEncryption?: boolean; enableDvr?: boolean; enableEmbed?: boolean; enableLowLatency?: boolean; latencyPreference?: "latencyPreferenceUnspecified" | "normal" | "low" | "ultraLow"; mesh?: string; monitorStream?: { broadcastStreamDelayMs?: number; embedHtml?: string; enableMonitorStream?: boolean }; projection?: "projectionUnspecified" | "rectangular" | "360" | "mesh"; recordFromStart?: boolean; startWithSlate?: boolean; stereoLayout?: "stereoLayoutUnspecified" | "mono" | "leftRight" | "topBottom" }; etag?: string; id?: string; kind?: string; monetizationDetails?: { cuepointSchedule?: { enabled?: boolean; pauseAdsUntil?: string; repeatIntervalSecs?: number; scheduleStrategy?: "scheduleStrategyUnspecified" | "concurrent" | "nonConcurrent" } }; snippet?: { actualEndTime?: string; actualStartTime?: string; channelId?: string; description?: string; isDefaultBroadcast?: boolean; liveChatId?: string; publishedAt?: string; scheduledEndTime?: string; scheduledStartTime?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; statistics?: { concurrentViewers?: string }; status?: { lifeCycleStatus?: "lifeCycleStatusUnspecified" | "created" | "ready" | "testing" | "live" | "complete" | "revoked" | "testStarting" | "liveStarting"; liveBroadcastPriority?: "liveBroadcastPriorityUnspecified" | "low" | "normal" | "high"; madeForKids?: boolean; privacyStatus?: "public" | "unlisted" | "private"; recordingStatus?: "liveBroadcastRecordingStatusUnspecified" | "notRecording" | "recording" | "recorded"; selfDeclaredMadeForKids?: boolean }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string }) => Promise<{ contentDetails?: { boundStreamId?: string; boundStreamLastUpdateTimeMs?: string; closedCaptionsType?: "closedCaptionsTypeUnspecified" | "closedCaptionsDisabled" | "closedCaptionsHttpPost" | "closedCaptionsEmbedded"; enableAutoStart?: boolean; enableAutoStop?: boolean; enableClosedCaptions?: boolean; enableContentEncryption?: boolean; enableDvr?: boolean; enableEmbed?: boolean; enableLowLatency?: boolean; latencyPreference?: "latencyPreferenceUnspecified" | "normal" | "low" | "ultraLow"; mesh?: string; monitorStream?: { broadcastStreamDelayMs?: number; embedHtml?: string; enableMonitorStream?: boolean }; projection?: "projectionUnspecified" | "rectangular" | "360" | "mesh"; recordFromStart?: boolean; startWithSlate?: boolean; stereoLayout?: "stereoLayoutUnspecified" | "mono" | "leftRight" | "topBottom" }; etag?: string; id?: string; kind?: string; monetizationDetails?: { cuepointSchedule?: { enabled?: boolean; pauseAdsUntil?: string; repeatIntervalSecs?: number; scheduleStrategy?: "scheduleStrategyUnspecified" | "concurrent" | "nonConcurrent" } }; snippet?: { actualEndTime?: string; actualStartTime?: string; channelId?: string; description?: string; isDefaultBroadcast?: boolean; liveChatId?: string; publishedAt?: string; scheduledEndTime?: string; scheduledStartTime?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; statistics?: { concurrentViewers?: string }; status?: { lifeCycleStatus?: "lifeCycleStatusUnspecified" | "created" | "ready" | "testing" | "live" | "complete" | "revoked" | "testStarting" | "liveStarting"; liveBroadcastPriority?: "liveBroadcastPriorityUnspecified" | "low" | "normal" | "high"; madeForKids?: boolean; privacyStatus?: "public" | "unlisted" | "private"; recordingStatus?: "liveBroadcastRecordingStatusUnspecified" | "notRecording" | "recording" | "recorded"; selfDeclaredMadeForKids?: boolean } }>;
|
|
188
|
+
/**
|
|
189
|
+
* Deletes a chat ban.
|
|
190
|
+
* Tags: liveChatBans
|
|
191
|
+
* Access as: google/youtube.liveChatBansDelete(input)
|
|
192
|
+
*/
|
|
193
|
+
liveChatBansDelete: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: string }) => Promise<unknown>;
|
|
194
|
+
/**
|
|
195
|
+
* Inserts a new resource into this collection.
|
|
196
|
+
* Tags: liveChatBans
|
|
197
|
+
* Access as: google/youtube.liveChatBansInsert(input)
|
|
198
|
+
*/
|
|
199
|
+
liveChatBansInsert: (input: { etag?: string; id?: string; kind?: string; snippet?: { banDurationSeconds?: string; bannedUserDetails?: { channelId?: string; channelUrl?: string; displayName?: string; profileImageUrl?: string }; liveChatId?: string; type?: "liveChatBanTypeUnspecified" | "permanent" | "temporary" }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[] }) => Promise<{ etag?: string; id?: string; kind?: string; snippet?: { banDurationSeconds?: string; bannedUserDetails?: { channelId?: string; channelUrl?: string; displayName?: string; profileImageUrl?: string }; liveChatId?: string; type?: "liveChatBanTypeUnspecified" | "permanent" | "temporary" } }>;
|
|
200
|
+
/**
|
|
201
|
+
* Deletes a chat message.
|
|
202
|
+
* Tags: liveChatMessages
|
|
203
|
+
* Access as: google/youtube.liveChatMessagesDelete(input)
|
|
204
|
+
*/
|
|
205
|
+
liveChatMessagesDelete: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: string }) => Promise<unknown>;
|
|
206
|
+
/**
|
|
207
|
+
* Inserts a new resource into this collection.
|
|
208
|
+
* Tags: liveChatMessages
|
|
209
|
+
* Access as: google/youtube.liveChatMessagesInsert(input)
|
|
210
|
+
*/
|
|
211
|
+
liveChatMessagesInsert: (input: { authorDetails?: { channelId?: string; channelUrl?: string; displayName?: string; isChatModerator?: boolean; isChatOwner?: boolean; isChatSponsor?: boolean; isVerified?: boolean; profileImageUrl?: string }; etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: string; displayMessage?: string; fanFundingEventDetails?: { amountDisplayString?: string; amountMicros?: string; currency?: string; userComment?: string }; giftMembershipReceivedDetails?: { associatedMembershipGiftingMessageId?: string; gifterChannelId?: string; memberLevelName?: string }; hasDisplayContent?: boolean; liveChatId?: string; memberMilestoneChatDetails?: { memberLevelName?: string; memberMonth?: number; userComment?: string }; membershipGiftingDetails?: { giftMembershipsCount?: number; giftMembershipsLevelName?: string }; messageDeletedDetails?: { deletedMessageId?: string }; messageRetractedDetails?: { retractedMessageId?: string }; newSponsorDetails?: { isUpgrade?: boolean; memberLevelName?: string }; pollDetails?: { metadata?: { options?: ({ optionText?: string; tally?: string })[]; questionText?: string }; status?: "unknown" | "active" | "closed" }; publishedAt?: string; superChatDetails?: { amountDisplayString?: string; amountMicros?: string; currency?: string; tier?: number; userComment?: string }; superStickerDetails?: { amountDisplayString?: string; amountMicros?: string; currency?: string; superStickerMetadata?: { altText?: string; altTextLanguage?: string; stickerId?: string }; tier?: number }; textMessageDetails?: { messageText?: string }; type?: "invalidType" | "textMessageEvent" | "tombstone" | "fanFundingEvent" | "chatEndedEvent" | "sponsorOnlyModeStartedEvent" | "sponsorOnlyModeEndedEvent" | "newSponsorEvent" | "memberMilestoneChatEvent" | "membershipGiftingEvent" | "giftMembershipReceivedEvent" | "messageDeletedEvent" | "messageRetractedEvent" | "userBannedEvent" | "superChatEvent" | "superStickerEvent" | "pollEvent"; userBannedDetails?: { banDurationSeconds?: string; banType?: "permanent" | "temporary"; bannedUserDetails?: { channelId?: string; channelUrl?: string; displayName?: string; profileImageUrl?: string } } }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[] }) => Promise<{ authorDetails?: { channelId?: string; channelUrl?: string; displayName?: string; isChatModerator?: boolean; isChatOwner?: boolean; isChatSponsor?: boolean; isVerified?: boolean; profileImageUrl?: string }; etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: string; displayMessage?: string; fanFundingEventDetails?: { amountDisplayString?: string; amountMicros?: string; currency?: string; userComment?: string }; giftMembershipReceivedDetails?: { associatedMembershipGiftingMessageId?: string; gifterChannelId?: string; memberLevelName?: string }; hasDisplayContent?: boolean; liveChatId?: string; memberMilestoneChatDetails?: { memberLevelName?: string; memberMonth?: number; userComment?: string }; membershipGiftingDetails?: { giftMembershipsCount?: number; giftMembershipsLevelName?: string }; messageDeletedDetails?: { deletedMessageId?: string }; messageRetractedDetails?: { retractedMessageId?: string }; newSponsorDetails?: { isUpgrade?: boolean; memberLevelName?: string }; pollDetails?: { metadata?: { options?: ({ optionText?: string; tally?: string })[]; questionText?: string }; status?: "unknown" | "active" | "closed" }; publishedAt?: string; superChatDetails?: { amountDisplayString?: string; amountMicros?: string; currency?: string; tier?: number; userComment?: string }; superStickerDetails?: { amountDisplayString?: string; amountMicros?: string; currency?: string; superStickerMetadata?: { altText?: string; altTextLanguage?: string; stickerId?: string }; tier?: number }; textMessageDetails?: { messageText?: string }; type?: "invalidType" | "textMessageEvent" | "tombstone" | "fanFundingEvent" | "chatEndedEvent" | "sponsorOnlyModeStartedEvent" | "sponsorOnlyModeEndedEvent" | "newSponsorEvent" | "memberMilestoneChatEvent" | "membershipGiftingEvent" | "giftMembershipReceivedEvent" | "messageDeletedEvent" | "messageRetractedEvent" | "userBannedEvent" | "superChatEvent" | "superStickerEvent" | "pollEvent"; userBannedDetails?: { banDurationSeconds?: string; banType?: "permanent" | "temporary"; bannedUserDetails?: { channelId?: string; channelUrl?: string; displayName?: string; profileImageUrl?: string } } } }>;
|
|
212
|
+
/**
|
|
213
|
+
* Retrieves a list of resources, possibly filtered.
|
|
214
|
+
* Tags: liveChatMessages
|
|
215
|
+
* Access as: google/youtube.liveChatMessagesList(input)
|
|
216
|
+
*/
|
|
217
|
+
liveChatMessagesList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; liveChatId: string; part: (string)[]; hl?: string; maxResults?: number; pageToken?: string; profileImageSize?: number }) => Promise<{ etag?: string; eventId?: string; items?: ({ authorDetails?: { channelId?: string; channelUrl?: string; displayName?: string; isChatModerator?: boolean; isChatOwner?: boolean; isChatSponsor?: boolean; isVerified?: boolean; profileImageUrl?: string }; etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: string; displayMessage?: string; fanFundingEventDetails?: { amountDisplayString?: string; amountMicros?: string; currency?: string; userComment?: string }; giftMembershipReceivedDetails?: { associatedMembershipGiftingMessageId?: string; gifterChannelId?: string; memberLevelName?: string }; hasDisplayContent?: boolean; liveChatId?: string; memberMilestoneChatDetails?: { memberLevelName?: string; memberMonth?: number; userComment?: string }; membershipGiftingDetails?: { giftMembershipsCount?: number; giftMembershipsLevelName?: string }; messageDeletedDetails?: { deletedMessageId?: string }; messageRetractedDetails?: { retractedMessageId?: string }; newSponsorDetails?: { isUpgrade?: boolean; memberLevelName?: string }; pollDetails?: { metadata?: { options?: ({ optionText?: string; tally?: string })[]; questionText?: string }; status?: "unknown" | "active" | "closed" }; publishedAt?: string; superChatDetails?: { amountDisplayString?: string; amountMicros?: string; currency?: string; tier?: number; userComment?: string }; superStickerDetails?: { amountDisplayString?: string; amountMicros?: string; currency?: string; superStickerMetadata?: { altText?: string; altTextLanguage?: string; stickerId?: string }; tier?: number }; textMessageDetails?: { messageText?: string }; type?: "invalidType" | "textMessageEvent" | "tombstone" | "fanFundingEvent" | "chatEndedEvent" | "sponsorOnlyModeStartedEvent" | "sponsorOnlyModeEndedEvent" | "newSponsorEvent" | "memberMilestoneChatEvent" | "membershipGiftingEvent" | "giftMembershipReceivedEvent" | "messageDeletedEvent" | "messageRetractedEvent" | "userBannedEvent" | "superChatEvent" | "superStickerEvent" | "pollEvent"; userBannedDetails?: { banDurationSeconds?: string; banType?: "permanent" | "temporary"; bannedUserDetails?: { channelId?: string; channelUrl?: string; displayName?: string; profileImageUrl?: string } } } })[]; kind?: string; nextPageToken?: string; offlineAt?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; pollingIntervalMillis?: number; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
218
|
+
/**
|
|
219
|
+
* Deletes a chat moderator.
|
|
220
|
+
* Tags: liveChatModerators
|
|
221
|
+
* Access as: google/youtube.liveChatModeratorsDelete(input)
|
|
222
|
+
*/
|
|
223
|
+
liveChatModeratorsDelete: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: string }) => Promise<unknown>;
|
|
224
|
+
/**
|
|
225
|
+
* Inserts a new resource into this collection.
|
|
226
|
+
* Tags: liveChatModerators
|
|
227
|
+
* Access as: google/youtube.liveChatModeratorsInsert(input)
|
|
228
|
+
*/
|
|
229
|
+
liveChatModeratorsInsert: (input: { etag?: string; id?: string; kind?: string; snippet?: { liveChatId?: string; moderatorDetails?: { channelId?: string; channelUrl?: string; displayName?: string; profileImageUrl?: string } }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[] }) => Promise<{ etag?: string; id?: string; kind?: string; snippet?: { liveChatId?: string; moderatorDetails?: { channelId?: string; channelUrl?: string; displayName?: string; profileImageUrl?: string } } }>;
|
|
230
|
+
/**
|
|
231
|
+
* Retrieves a list of resources, possibly filtered.
|
|
232
|
+
* Tags: liveChatModerators
|
|
233
|
+
* Access as: google/youtube.liveChatModeratorsList(input)
|
|
234
|
+
*/
|
|
235
|
+
liveChatModeratorsList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; liveChatId: string; part: (string)[]; maxResults?: number; pageToken?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ etag?: string; id?: string; kind?: string; snippet?: { liveChatId?: string; moderatorDetails?: { channelId?: string; channelUrl?: string; displayName?: string; profileImageUrl?: string } } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; prevPageToken?: string; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
236
|
+
/**
|
|
237
|
+
* Deletes an existing stream for the authenticated user.
|
|
238
|
+
* Tags: liveStreams
|
|
239
|
+
* Access as: google/youtube.liveStreamsDelete(input)
|
|
240
|
+
*/
|
|
241
|
+
liveStreamsDelete: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: string; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string }) => Promise<unknown>;
|
|
242
|
+
/**
|
|
243
|
+
* Inserts a new stream for the authenticated user.
|
|
244
|
+
* Tags: liveStreams
|
|
245
|
+
* Access as: google/youtube.liveStreamsInsert(input)
|
|
246
|
+
*/
|
|
247
|
+
liveStreamsInsert: (input: { cdn?: { format?: string; frameRate?: "30fps" | "60fps" | "variable"; ingestionInfo?: { backupIngestionAddress?: string; ingestionAddress?: string; rtmpsBackupIngestionAddress?: string; rtmpsIngestionAddress?: string; streamName?: string }; ingestionType?: "rtmp" | "dash" | "webrtc" | "hls"; resolution?: "240p" | "360p" | "480p" | "720p" | "1080p" | "1440p" | "2160p" | "variable" }; contentDetails?: { closedCaptionsIngestionUrl?: string; isReusable?: boolean }; etag?: string; id?: string; kind?: string; snippet?: { channelId?: string; description?: string; isDefaultStream?: boolean; publishedAt?: string; title?: string }; status?: { healthStatus?: { configurationIssues?: ({ description?: string; reason?: string; severity?: "info" | "warning" | "error"; type?: "gopSizeOver" | "gopSizeLong" | "gopSizeShort" | "openGop" | "badContainer" | "audioBitrateHigh" | "audioBitrateLow" | "audioSampleRate" | "bitrateHigh" | "bitrateLow" | "audioCodec" | "videoCodec" | "noAudioStream" | "noVideoStream" | "multipleVideoStreams" | "multipleAudioStreams" | "audioTooManyChannels" | "interlacedVideo" | "frameRateHigh" | "resolutionMismatch" | "videoCodecMismatch" | "videoInterlaceMismatch" | "videoProfileMismatch" | "videoBitrateMismatch" | "framerateMismatch" | "gopMismatch" | "audioSampleRateMismatch" | "audioStereoMismatch" | "audioCodecMismatch" | "audioBitrateMismatch" | "videoResolutionSuboptimal" | "videoResolutionUnsupported" | "videoIngestionStarved" | "videoIngestionFasterThanRealtime" })[]; lastUpdateTimeSeconds?: string; status?: "good" | "ok" | "bad" | "noData" | "revoked" }; streamStatus?: "created" | "ready" | "active" | "inactive" | "error" }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string }) => Promise<{ cdn?: { format?: string; frameRate?: "30fps" | "60fps" | "variable"; ingestionInfo?: { backupIngestionAddress?: string; ingestionAddress?: string; rtmpsBackupIngestionAddress?: string; rtmpsIngestionAddress?: string; streamName?: string }; ingestionType?: "rtmp" | "dash" | "webrtc" | "hls"; resolution?: "240p" | "360p" | "480p" | "720p" | "1080p" | "1440p" | "2160p" | "variable" }; contentDetails?: { closedCaptionsIngestionUrl?: string; isReusable?: boolean }; etag?: string; id?: string; kind?: string; snippet?: { channelId?: string; description?: string; isDefaultStream?: boolean; publishedAt?: string; title?: string }; status?: { healthStatus?: { configurationIssues?: ({ description?: string; reason?: string; severity?: "info" | "warning" | "error"; type?: "gopSizeOver" | "gopSizeLong" | "gopSizeShort" | "openGop" | "badContainer" | "audioBitrateHigh" | "audioBitrateLow" | "audioSampleRate" | "bitrateHigh" | "bitrateLow" | "audioCodec" | "videoCodec" | "noAudioStream" | "noVideoStream" | "multipleVideoStreams" | "multipleAudioStreams" | "audioTooManyChannels" | "interlacedVideo" | "frameRateHigh" | "resolutionMismatch" | "videoCodecMismatch" | "videoInterlaceMismatch" | "videoProfileMismatch" | "videoBitrateMismatch" | "framerateMismatch" | "gopMismatch" | "audioSampleRateMismatch" | "audioStereoMismatch" | "audioCodecMismatch" | "audioBitrateMismatch" | "videoResolutionSuboptimal" | "videoResolutionUnsupported" | "videoIngestionStarved" | "videoIngestionFasterThanRealtime" })[]; lastUpdateTimeSeconds?: string; status?: "good" | "ok" | "bad" | "noData" | "revoked" }; streamStatus?: "created" | "ready" | "active" | "inactive" | "error" } }>;
|
|
248
|
+
/**
|
|
249
|
+
* Retrieve the list of streams associated with the given channel. --
|
|
250
|
+
* Tags: liveStreams
|
|
251
|
+
* Access as: google/youtube.liveStreamsList(input)
|
|
252
|
+
*/
|
|
253
|
+
liveStreamsList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; id?: (string)[]; maxResults?: number; mine?: boolean; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string; pageToken?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ cdn?: { format?: string; frameRate?: "30fps" | "60fps" | "variable"; ingestionInfo?: { backupIngestionAddress?: string; ingestionAddress?: string; rtmpsBackupIngestionAddress?: string; rtmpsIngestionAddress?: string; streamName?: string }; ingestionType?: "rtmp" | "dash" | "webrtc" | "hls"; resolution?: "240p" | "360p" | "480p" | "720p" | "1080p" | "1440p" | "2160p" | "variable" }; contentDetails?: { closedCaptionsIngestionUrl?: string; isReusable?: boolean }; etag?: string; id?: string; kind?: string; snippet?: { channelId?: string; description?: string; isDefaultStream?: boolean; publishedAt?: string; title?: string }; status?: { healthStatus?: { configurationIssues?: ({ description?: string; reason?: string; severity?: "info" | "warning" | "error"; type?: "gopSizeOver" | "gopSizeLong" | "gopSizeShort" | "openGop" | "badContainer" | "audioBitrateHigh" | "audioBitrateLow" | "audioSampleRate" | "bitrateHigh" | "bitrateLow" | "audioCodec" | "videoCodec" | "noAudioStream" | "noVideoStream" | "multipleVideoStreams" | "multipleAudioStreams" | "audioTooManyChannels" | "interlacedVideo" | "frameRateHigh" | "resolutionMismatch" | "videoCodecMismatch" | "videoInterlaceMismatch" | "videoProfileMismatch" | "videoBitrateMismatch" | "framerateMismatch" | "gopMismatch" | "audioSampleRateMismatch" | "audioStereoMismatch" | "audioCodecMismatch" | "audioBitrateMismatch" | "videoResolutionSuboptimal" | "videoResolutionUnsupported" | "videoIngestionStarved" | "videoIngestionFasterThanRealtime" })[]; lastUpdateTimeSeconds?: string; status?: "good" | "ok" | "bad" | "noData" | "revoked" }; streamStatus?: "created" | "ready" | "active" | "inactive" | "error" } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; prevPageToken?: string; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
254
|
+
/**
|
|
255
|
+
* Updates an existing stream for the authenticated user.
|
|
256
|
+
* Tags: liveStreams
|
|
257
|
+
* Access as: google/youtube.liveStreamsUpdate(input)
|
|
258
|
+
*/
|
|
259
|
+
liveStreamsUpdate: (input: { cdn?: { format?: string; frameRate?: "30fps" | "60fps" | "variable"; ingestionInfo?: { backupIngestionAddress?: string; ingestionAddress?: string; rtmpsBackupIngestionAddress?: string; rtmpsIngestionAddress?: string; streamName?: string }; ingestionType?: "rtmp" | "dash" | "webrtc" | "hls"; resolution?: "240p" | "360p" | "480p" | "720p" | "1080p" | "1440p" | "2160p" | "variable" }; contentDetails?: { closedCaptionsIngestionUrl?: string; isReusable?: boolean }; etag?: string; id?: string; kind?: string; snippet?: { channelId?: string; description?: string; isDefaultStream?: boolean; publishedAt?: string; title?: string }; status?: { healthStatus?: { configurationIssues?: ({ description?: string; reason?: string; severity?: "info" | "warning" | "error"; type?: "gopSizeOver" | "gopSizeLong" | "gopSizeShort" | "openGop" | "badContainer" | "audioBitrateHigh" | "audioBitrateLow" | "audioSampleRate" | "bitrateHigh" | "bitrateLow" | "audioCodec" | "videoCodec" | "noAudioStream" | "noVideoStream" | "multipleVideoStreams" | "multipleAudioStreams" | "audioTooManyChannels" | "interlacedVideo" | "frameRateHigh" | "resolutionMismatch" | "videoCodecMismatch" | "videoInterlaceMismatch" | "videoProfileMismatch" | "videoBitrateMismatch" | "framerateMismatch" | "gopMismatch" | "audioSampleRateMismatch" | "audioStereoMismatch" | "audioCodecMismatch" | "audioBitrateMismatch" | "videoResolutionSuboptimal" | "videoResolutionUnsupported" | "videoIngestionStarved" | "videoIngestionFasterThanRealtime" })[]; lastUpdateTimeSeconds?: string; status?: "good" | "ok" | "bad" | "noData" | "revoked" }; streamStatus?: "created" | "ready" | "active" | "inactive" | "error" }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string }) => Promise<{ cdn?: { format?: string; frameRate?: "30fps" | "60fps" | "variable"; ingestionInfo?: { backupIngestionAddress?: string; ingestionAddress?: string; rtmpsBackupIngestionAddress?: string; rtmpsIngestionAddress?: string; streamName?: string }; ingestionType?: "rtmp" | "dash" | "webrtc" | "hls"; resolution?: "240p" | "360p" | "480p" | "720p" | "1080p" | "1440p" | "2160p" | "variable" }; contentDetails?: { closedCaptionsIngestionUrl?: string; isReusable?: boolean }; etag?: string; id?: string; kind?: string; snippet?: { channelId?: string; description?: string; isDefaultStream?: boolean; publishedAt?: string; title?: string }; status?: { healthStatus?: { configurationIssues?: ({ description?: string; reason?: string; severity?: "info" | "warning" | "error"; type?: "gopSizeOver" | "gopSizeLong" | "gopSizeShort" | "openGop" | "badContainer" | "audioBitrateHigh" | "audioBitrateLow" | "audioSampleRate" | "bitrateHigh" | "bitrateLow" | "audioCodec" | "videoCodec" | "noAudioStream" | "noVideoStream" | "multipleVideoStreams" | "multipleAudioStreams" | "audioTooManyChannels" | "interlacedVideo" | "frameRateHigh" | "resolutionMismatch" | "videoCodecMismatch" | "videoInterlaceMismatch" | "videoProfileMismatch" | "videoBitrateMismatch" | "framerateMismatch" | "gopMismatch" | "audioSampleRateMismatch" | "audioStereoMismatch" | "audioCodecMismatch" | "audioBitrateMismatch" | "videoResolutionSuboptimal" | "videoResolutionUnsupported" | "videoIngestionStarved" | "videoIngestionFasterThanRealtime" })[]; lastUpdateTimeSeconds?: string; status?: "good" | "ok" | "bad" | "noData" | "revoked" }; streamStatus?: "created" | "ready" | "active" | "inactive" | "error" } }>;
|
|
260
|
+
/**
|
|
261
|
+
* Retrieves a list of all pricing levels offered by a creator to the fans.
|
|
262
|
+
* Tags: membershipsLevels
|
|
263
|
+
* Access as: google/youtube.membershipsLevelsList(input)
|
|
264
|
+
*/
|
|
265
|
+
membershipsLevelsList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[] }) => Promise<{ etag?: string; eventId?: string; items?: ({ etag?: string; id?: string; kind?: string; snippet?: { creatorChannelId?: string; levelDetails?: { displayName?: string } } })[]; kind?: string; visitorId?: string }>;
|
|
266
|
+
/**
|
|
267
|
+
* Retrieves a list of members that match the request criteria for a channel.
|
|
268
|
+
* Tags: members
|
|
269
|
+
* Access as: google/youtube.membersList(input)
|
|
270
|
+
*/
|
|
271
|
+
membersList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; filterByMemberChannelId?: string; hasAccessToLevel?: string; maxResults?: number; mode?: "listMembersModeUnknown" | "updates" | "all_current"; pageToken?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ etag?: string; kind?: string; snippet?: { creatorChannelId?: string; memberDetails?: { channelId?: string; channelUrl?: string; displayName?: string; profileImageUrl?: string }; membershipsDetails?: { accessibleLevels?: (string)[]; highestAccessibleLevel?: string; highestAccessibleLevelDisplayName?: string; membershipsDuration?: { memberSince?: string; memberTotalDurationMonths?: number }; membershipsDurationAtLevels?: ({ level?: string; memberSince?: string; memberTotalDurationMonths?: number })[] } } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
272
|
+
/**
|
|
273
|
+
* Deletes a resource.
|
|
274
|
+
* Tags: playlistImages
|
|
275
|
+
* Access as: google/youtube.playlistImagesDelete(input)
|
|
276
|
+
*/
|
|
277
|
+
playlistImagesDelete: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id?: string; onBehalfOfContentOwner?: string }) => Promise<unknown>;
|
|
278
|
+
/**
|
|
279
|
+
* Inserts a new resource into this collection.
|
|
280
|
+
* Tags: playlistImages
|
|
281
|
+
* Access as: google/youtube.playlistImagesInsert(input)
|
|
282
|
+
*/
|
|
283
|
+
playlistImagesInsert: (input: { id?: string; kind?: string; snippet?: { height?: number; playlistId?: string; type?: "hero"; width?: number }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string; part?: (string)[] }) => Promise<{ id?: string; kind?: string; snippet?: { height?: number; playlistId?: string; type?: "hero"; width?: number } }>;
|
|
284
|
+
/**
|
|
285
|
+
* Retrieves a list of resources, possibly filtered.
|
|
286
|
+
* Tags: playlistImages
|
|
287
|
+
* Access as: google/youtube.playlistImagesList(input)
|
|
288
|
+
*/
|
|
289
|
+
playlistImagesList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; maxResults?: number; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string; pageToken?: string; parent?: string; part?: (string)[] }) => Promise<{ items?: ({ id?: string; kind?: string; snippet?: { height?: number; playlistId?: string; type?: "hero"; width?: number } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; prevPageToken?: string }>;
|
|
290
|
+
/**
|
|
291
|
+
* Updates an existing resource.
|
|
292
|
+
* Tags: playlistImages
|
|
293
|
+
* Access as: google/youtube.playlistImagesUpdate(input)
|
|
294
|
+
*/
|
|
295
|
+
playlistImagesUpdate: (input: { id?: string; kind?: string; snippet?: { height?: number; playlistId?: string; type?: "hero"; width?: number }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; onBehalfOfContentOwner?: string; part?: (string)[] }) => Promise<{ id?: string; kind?: string; snippet?: { height?: number; playlistId?: string; type?: "hero"; width?: number } }>;
|
|
296
|
+
/**
|
|
297
|
+
* Deletes a resource.
|
|
298
|
+
* Tags: playlistItems
|
|
299
|
+
* Access as: google/youtube.playlistItemsDelete(input)
|
|
300
|
+
*/
|
|
301
|
+
playlistItemsDelete: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: string; onBehalfOfContentOwner?: string }) => Promise<unknown>;
|
|
302
|
+
/**
|
|
303
|
+
* Inserts a new resource into this collection.
|
|
304
|
+
* Tags: playlistItems
|
|
305
|
+
* Access as: google/youtube.playlistItemsInsert(input)
|
|
306
|
+
*/
|
|
307
|
+
playlistItemsInsert: (input: { contentDetails?: { endAt?: string; note?: string; startAt?: string; videoId?: string; videoPublishedAt?: string }; etag?: string; id?: string; kind?: string; snippet?: { channelId?: string; channelTitle?: string; description?: string; playlistId?: string; position?: number; publishedAt?: string; resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string }; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string; videoOwnerChannelId?: string; videoOwnerChannelTitle?: string }; status?: { privacyStatus?: "public" | "unlisted" | "private" }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; onBehalfOfContentOwner?: string }) => Promise<{ contentDetails?: { endAt?: string; note?: string; startAt?: string; videoId?: string; videoPublishedAt?: string }; etag?: string; id?: string; kind?: string; snippet?: { channelId?: string; channelTitle?: string; description?: string; playlistId?: string; position?: number; publishedAt?: string; resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string }; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string; videoOwnerChannelId?: string; videoOwnerChannelTitle?: string }; status?: { privacyStatus?: "public" | "unlisted" | "private" } }>;
|
|
308
|
+
/**
|
|
309
|
+
* Retrieves a list of resources, possibly filtered.
|
|
310
|
+
* Tags: playlistItems
|
|
311
|
+
* Access as: google/youtube.playlistItemsList(input)
|
|
312
|
+
*/
|
|
313
|
+
playlistItemsList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; id?: (string)[]; maxResults?: number; onBehalfOfContentOwner?: string; pageToken?: string; playlistId?: string; videoId?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ contentDetails?: { endAt?: string; note?: string; startAt?: string; videoId?: string; videoPublishedAt?: string }; etag?: string; id?: string; kind?: string; snippet?: { channelId?: string; channelTitle?: string; description?: string; playlistId?: string; position?: number; publishedAt?: string; resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string }; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string; videoOwnerChannelId?: string; videoOwnerChannelTitle?: string }; status?: { privacyStatus?: "public" | "unlisted" | "private" } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; prevPageToken?: string; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
314
|
+
/**
|
|
315
|
+
* Updates an existing resource.
|
|
316
|
+
* Tags: playlistItems
|
|
317
|
+
* Access as: google/youtube.playlistItemsUpdate(input)
|
|
318
|
+
*/
|
|
319
|
+
playlistItemsUpdate: (input: { contentDetails?: { endAt?: string; note?: string; startAt?: string; videoId?: string; videoPublishedAt?: string }; etag?: string; id?: string; kind?: string; snippet?: { channelId?: string; channelTitle?: string; description?: string; playlistId?: string; position?: number; publishedAt?: string; resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string }; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string; videoOwnerChannelId?: string; videoOwnerChannelTitle?: string }; status?: { privacyStatus?: "public" | "unlisted" | "private" }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; onBehalfOfContentOwner?: string }) => Promise<{ contentDetails?: { endAt?: string; note?: string; startAt?: string; videoId?: string; videoPublishedAt?: string }; etag?: string; id?: string; kind?: string; snippet?: { channelId?: string; channelTitle?: string; description?: string; playlistId?: string; position?: number; publishedAt?: string; resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string }; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string; videoOwnerChannelId?: string; videoOwnerChannelTitle?: string }; status?: { privacyStatus?: "public" | "unlisted" | "private" } }>;
|
|
320
|
+
/**
|
|
321
|
+
* Deletes a resource.
|
|
322
|
+
* Tags: playlists
|
|
323
|
+
* Access as: google/youtube.playlistsDelete(input)
|
|
324
|
+
*/
|
|
325
|
+
playlistsDelete: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: string; onBehalfOfContentOwner?: string }) => Promise<unknown>;
|
|
326
|
+
/**
|
|
327
|
+
* Inserts a new resource into this collection.
|
|
328
|
+
* Tags: playlists
|
|
329
|
+
* Access as: google/youtube.playlistsInsert(input)
|
|
330
|
+
*/
|
|
331
|
+
playlistsInsert: (input: { contentDetails?: { itemCount?: number }; etag?: string; id?: string; kind?: string; localizations?: { [key: string]: { description?: string; title?: string } | undefined }; player?: { embedHtml?: string }; snippet?: { channelId?: string; channelTitle?: string; defaultLanguage?: string; description?: string; localized?: { description?: string; title?: string }; publishedAt?: string; tags?: (string)[]; thumbnailVideoId?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; status?: { privacyStatus?: "public" | "unlisted" | "private" }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string }) => Promise<{ contentDetails?: { itemCount?: number }; etag?: string; id?: string; kind?: string; localizations?: { [key: string]: { description?: string; title?: string } | undefined }; player?: { embedHtml?: string }; snippet?: { channelId?: string; channelTitle?: string; defaultLanguage?: string; description?: string; localized?: { description?: string; title?: string }; publishedAt?: string; tags?: (string)[]; thumbnailVideoId?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; status?: { privacyStatus?: "public" | "unlisted" | "private" } }>;
|
|
332
|
+
/**
|
|
333
|
+
* Retrieves a list of resources, possibly filtered.
|
|
334
|
+
* Tags: playlists
|
|
335
|
+
* Access as: google/youtube.playlistsList(input)
|
|
336
|
+
*/
|
|
337
|
+
playlistsList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; channelId?: string; hl?: string; id?: (string)[]; maxResults?: number; mine?: boolean; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string; pageToken?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ contentDetails?: { itemCount?: number }; etag?: string; id?: string; kind?: string; localizations?: { [key: string]: { description?: string; title?: string } | undefined }; player?: { embedHtml?: string }; snippet?: { channelId?: string; channelTitle?: string; defaultLanguage?: string; description?: string; localized?: { description?: string; title?: string }; publishedAt?: string; tags?: (string)[]; thumbnailVideoId?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; status?: { privacyStatus?: "public" | "unlisted" | "private" } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; prevPageToken?: string; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
338
|
+
/**
|
|
339
|
+
* Updates an existing resource.
|
|
340
|
+
* Tags: playlists
|
|
341
|
+
* Access as: google/youtube.playlistsUpdate(input)
|
|
342
|
+
*/
|
|
343
|
+
playlistsUpdate: (input: { contentDetails?: { itemCount?: number }; etag?: string; id?: string; kind?: string; localizations?: { [key: string]: { description?: string; title?: string } | undefined }; player?: { embedHtml?: string }; snippet?: { channelId?: string; channelTitle?: string; defaultLanguage?: string; description?: string; localized?: { description?: string; title?: string }; publishedAt?: string; tags?: (string)[]; thumbnailVideoId?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; status?: { privacyStatus?: "public" | "unlisted" | "private" }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; onBehalfOfContentOwner?: string }) => Promise<{ contentDetails?: { itemCount?: number }; etag?: string; id?: string; kind?: string; localizations?: { [key: string]: { description?: string; title?: string } | undefined }; player?: { embedHtml?: string }; snippet?: { channelId?: string; channelTitle?: string; defaultLanguage?: string; description?: string; localized?: { description?: string; title?: string }; publishedAt?: string; tags?: (string)[]; thumbnailVideoId?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; status?: { privacyStatus?: "public" | "unlisted" | "private" } }>;
|
|
344
|
+
/**
|
|
345
|
+
* Retrieves a list of search resources
|
|
346
|
+
* Tags: search
|
|
347
|
+
* Access as: google/youtube.searchList(input)
|
|
348
|
+
*/
|
|
349
|
+
searchList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; channelId?: string; channelType?: "channelTypeUnspecified" | "any" | "show"; eventType?: "none" | "upcoming" | "live" | "completed"; forContentOwner?: boolean; forDeveloper?: boolean; forMine?: boolean; location?: string; locationRadius?: string; maxResults?: number; onBehalfOfContentOwner?: string; order?: "searchSortUnspecified" | "date" | "rating" | "viewCount" | "relevance" | "title" | "videoCount"; pageToken?: string; publishedAfter?: string; publishedBefore?: string; q?: string; regionCode?: string; relevanceLanguage?: string; safeSearch?: "safeSearchSettingUnspecified" | "none" | "moderate" | "strict"; topicId?: string; type?: (string)[]; videoCaption?: "videoCaptionUnspecified" | "any" | "closedCaption" | "none"; videoCategoryId?: string; videoDefinition?: "any" | "standard" | "high"; videoDimension?: "any" | "2d" | "3d"; videoDuration?: "videoDurationUnspecified" | "any" | "short" | "medium" | "long"; videoEmbeddable?: "videoEmbeddableUnspecified" | "any" | "true"; videoLicense?: "any" | "youtube" | "creativeCommon"; videoPaidProductPlacement?: "videoPaidProductPlacementUnspecified" | "any" | "true"; videoSyndicated?: "videoSyndicatedUnspecified" | "any" | "true"; videoType?: "videoTypeUnspecified" | "any" | "movie" | "episode" }) => Promise<{ etag?: string; eventId?: string; items?: ({ etag?: string; id?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string }; kind?: string; snippet?: { channelId?: string; channelTitle?: string; description?: string; liveBroadcastContent?: "none" | "upcoming" | "live" | "completed"; publishedAt?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; prevPageToken?: string; regionCode?: string; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
350
|
+
/**
|
|
351
|
+
* Deletes a resource.
|
|
352
|
+
* Tags: subscriptions
|
|
353
|
+
* Access as: google/youtube.subscriptionsDelete(input)
|
|
354
|
+
*/
|
|
355
|
+
subscriptionsDelete: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: string }) => Promise<unknown>;
|
|
356
|
+
/**
|
|
357
|
+
* Inserts a new resource into this collection.
|
|
358
|
+
* Tags: subscriptions
|
|
359
|
+
* Access as: google/youtube.subscriptionsInsert(input)
|
|
360
|
+
*/
|
|
361
|
+
subscriptionsInsert: (input: { contentDetails?: { activityType?: "subscriptionActivityTypeUnspecified" | "all" | "uploads"; newItemCount?: number; totalItemCount?: number }; etag?: string; id?: string; kind?: string; snippet?: { channelId?: string; channelTitle?: string; description?: string; publishedAt?: string; resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string }; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; subscriberSnippet?: { channelId?: string; description?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[] }) => Promise<{ contentDetails?: { activityType?: "subscriptionActivityTypeUnspecified" | "all" | "uploads"; newItemCount?: number; totalItemCount?: number }; etag?: string; id?: string; kind?: string; snippet?: { channelId?: string; channelTitle?: string; description?: string; publishedAt?: string; resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string }; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; subscriberSnippet?: { channelId?: string; description?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string } }>;
|
|
362
|
+
/**
|
|
363
|
+
* Retrieves a list of resources, possibly filtered.
|
|
364
|
+
* Tags: subscriptions
|
|
365
|
+
* Access as: google/youtube.subscriptionsList(input)
|
|
366
|
+
*/
|
|
367
|
+
subscriptionsList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; channelId?: string; forChannelId?: string; id?: (string)[]; maxResults?: number; mine?: boolean; myRecentSubscribers?: boolean; mySubscribers?: boolean; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string; order?: "subscriptionOrderUnspecified" | "relevance" | "unread" | "alphabetical"; pageToken?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ contentDetails?: { activityType?: "subscriptionActivityTypeUnspecified" | "all" | "uploads"; newItemCount?: number; totalItemCount?: number }; etag?: string; id?: string; kind?: string; snippet?: { channelId?: string; channelTitle?: string; description?: string; publishedAt?: string; resourceId?: { channelId?: string; kind?: string; playlistId?: string; videoId?: string }; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; subscriberSnippet?: { channelId?: string; description?: string; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; prevPageToken?: string; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
368
|
+
/**
|
|
369
|
+
* Retrieves a list of resources, possibly filtered.
|
|
370
|
+
* Tags: superChatEvents
|
|
371
|
+
* Access as: google/youtube.superChatEventsList(input)
|
|
372
|
+
*/
|
|
373
|
+
superChatEventsList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; hl?: string; maxResults?: number; pageToken?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ etag?: string; id?: string; kind?: string; snippet?: { amountMicros?: string; channelId?: string; commentText?: string; createdAt?: string; currency?: string; displayString?: string; isSuperStickerEvent?: boolean; messageType?: number; superStickerMetadata?: { altText?: string; altTextLanguage?: string; stickerId?: string }; supporterDetails?: { channelId?: string; channelUrl?: string; displayName?: string; profileImageUrl?: string } } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
374
|
+
/**
|
|
375
|
+
* POST method.
|
|
376
|
+
* Tags: tests
|
|
377
|
+
* Access as: google/youtube.testsInsert(input)
|
|
378
|
+
*/
|
|
379
|
+
testsInsert: (input: { featuredPart?: boolean; gaia?: string; id?: string; snippet?: { [key: string]: unknown }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; externalChannelId?: string }) => Promise<{ featuredPart?: boolean; gaia?: string; id?: string; snippet?: { [key: string]: unknown } }>;
|
|
380
|
+
/**
|
|
381
|
+
* Deletes a resource.
|
|
382
|
+
* Tags: thirdPartyLinks
|
|
383
|
+
* Access as: google/youtube.thirdPartyLinksDelete(input)
|
|
384
|
+
*/
|
|
385
|
+
thirdPartyLinksDelete: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; linkingToken: string; type: "linkUnspecified" | "channelToStoreLink"; externalChannelId?: string; part?: (string)[] }) => Promise<unknown>;
|
|
386
|
+
/**
|
|
387
|
+
* Inserts a new resource into this collection.
|
|
388
|
+
* Tags: thirdPartyLinks
|
|
389
|
+
* Access as: google/youtube.thirdPartyLinksInsert(input)
|
|
390
|
+
*/
|
|
391
|
+
thirdPartyLinksInsert: (input: { etag?: string; kind?: string; linkingToken?: string; snippet?: { channelToStoreLink?: { billingDetails?: { billingStatus?: "billingStatusUnspecified" | "billingStatusPending" | "billingStatusActive" | "billingStatusInactive" }; merchantId?: string; storeName?: string; storeUrl?: string }; type?: "linkUnspecified" | "channelToStoreLink" }; status?: { linkStatus?: "unknown" | "failed" | "pending" | "linked" }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; externalChannelId?: string }) => Promise<{ etag?: string; kind?: string; linkingToken?: string; snippet?: { channelToStoreLink?: { billingDetails?: { billingStatus?: "billingStatusUnspecified" | "billingStatusPending" | "billingStatusActive" | "billingStatusInactive" }; merchantId?: string; storeName?: string; storeUrl?: string }; type?: "linkUnspecified" | "channelToStoreLink" }; status?: { linkStatus?: "unknown" | "failed" | "pending" | "linked" } }>;
|
|
392
|
+
/**
|
|
393
|
+
* Retrieves a list of resources, possibly filtered.
|
|
394
|
+
* Tags: thirdPartyLinks
|
|
395
|
+
* Access as: google/youtube.thirdPartyLinksList(input)
|
|
396
|
+
*/
|
|
397
|
+
thirdPartyLinksList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; externalChannelId?: string; linkingToken?: string; type?: "linkUnspecified" | "channelToStoreLink" }) => Promise<{ etag?: string; items?: ({ etag?: string; kind?: string; linkingToken?: string; snippet?: { channelToStoreLink?: { billingDetails?: { billingStatus?: "billingStatusUnspecified" | "billingStatusPending" | "billingStatusActive" | "billingStatusInactive" }; merchantId?: string; storeName?: string; storeUrl?: string }; type?: "linkUnspecified" | "channelToStoreLink" }; status?: { linkStatus?: "unknown" | "failed" | "pending" | "linked" } })[]; kind?: string }>;
|
|
398
|
+
/**
|
|
399
|
+
* Updates an existing resource.
|
|
400
|
+
* Tags: thirdPartyLinks
|
|
401
|
+
* Access as: google/youtube.thirdPartyLinksUpdate(input)
|
|
402
|
+
*/
|
|
403
|
+
thirdPartyLinksUpdate: (input: { etag?: string; kind?: string; linkingToken?: string; snippet?: { channelToStoreLink?: { billingDetails?: { billingStatus?: "billingStatusUnspecified" | "billingStatusPending" | "billingStatusActive" | "billingStatusInactive" }; merchantId?: string; storeName?: string; storeUrl?: string }; type?: "linkUnspecified" | "channelToStoreLink" }; status?: { linkStatus?: "unknown" | "failed" | "pending" | "linked" }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; externalChannelId?: string }) => Promise<{ etag?: string; kind?: string; linkingToken?: string; snippet?: { channelToStoreLink?: { billingDetails?: { billingStatus?: "billingStatusUnspecified" | "billingStatusPending" | "billingStatusActive" | "billingStatusInactive" }; merchantId?: string; storeName?: string; storeUrl?: string }; type?: "linkUnspecified" | "channelToStoreLink" }; status?: { linkStatus?: "unknown" | "failed" | "pending" | "linked" } }>;
|
|
404
|
+
/**
|
|
405
|
+
* As this is not an insert in a strict sense (it supports uploading/setting of a thumbnail for multiple videos, which doesn't result in creation of a single resource), I use a custom verb here.
|
|
406
|
+
* Tags: thumbnails
|
|
407
|
+
* Access as: google/youtube.thumbnailsSet(input)
|
|
408
|
+
*/
|
|
409
|
+
thumbnailsSet: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; videoId: string; onBehalfOfContentOwner?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } })[]; kind?: string; visitorId?: string }>;
|
|
410
|
+
/**
|
|
411
|
+
* Retrieves a list of resources, possibly filtered.
|
|
412
|
+
* Tags: videoAbuseReportReasons
|
|
413
|
+
* Access as: google/youtube.videoAbuseReportReasonsList(input)
|
|
414
|
+
*/
|
|
415
|
+
videoAbuseReportReasonsList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; hl?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ etag?: string; id?: string; kind?: string; snippet?: { label?: string; secondaryReasons?: ({ id?: string; label?: string })[] } })[]; kind?: string; visitorId?: string }>;
|
|
416
|
+
/**
|
|
417
|
+
* Retrieves a list of resources, possibly filtered.
|
|
418
|
+
* Tags: videoCategories
|
|
419
|
+
* Access as: google/youtube.videoCategoriesList(input)
|
|
420
|
+
*/
|
|
421
|
+
videoCategoriesList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; hl?: string; id?: (string)[]; regionCode?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ etag?: string; id?: string; kind?: string; snippet?: { assignable?: boolean; channelId?: string; title?: string } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; prevPageToken?: string; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
422
|
+
/**
|
|
423
|
+
* Deletes a resource.
|
|
424
|
+
* Tags: videos
|
|
425
|
+
* Access as: google/youtube.videosDelete(input)
|
|
426
|
+
*/
|
|
427
|
+
videosDelete: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: string; onBehalfOfContentOwner?: string }) => Promise<unknown>;
|
|
428
|
+
/**
|
|
429
|
+
* Retrieves the ratings that the authorized user gave to a list of specified videos.
|
|
430
|
+
* Tags: videos
|
|
431
|
+
* Access as: google/youtube.videosGetRating(input)
|
|
432
|
+
*/
|
|
433
|
+
videosGetRating: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: (string)[]; onBehalfOfContentOwner?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ rating?: "none" | "like" | "dislike"; videoId?: string })[]; kind?: string; visitorId?: string }>;
|
|
434
|
+
/**
|
|
435
|
+
* Inserts a new resource into this collection.
|
|
436
|
+
* Tags: videos
|
|
437
|
+
* Access as: google/youtube.videosInsert(input)
|
|
438
|
+
*/
|
|
439
|
+
videosInsert: (input: { ageGating?: { alcoholContent?: boolean; restricted?: boolean; videoGameRating?: "anyone" | "m15Plus" | "m16Plus" | "m17Plus" }; contentDetails?: { caption?: "true" | "false"; contentRating?: { acbRating?: "acbUnspecified" | "acbE" | "acbP" | "acbC" | "acbG" | "acbPg" | "acbM" | "acbMa15plus" | "acbR18plus" | "acbUnrated"; agcomRating?: "agcomUnspecified" | "agcomT" | "agcomVm14" | "agcomVm18" | "agcomUnrated"; anatelRating?: "anatelUnspecified" | "anatelF" | "anatelI" | "anatelI7" | "anatelI10" | "anatelI12" | "anatelR" | "anatelA" | "anatelUnrated"; bbfcRating?: "bbfcUnspecified" | "bbfcU" | "bbfcPg" | "bbfc12a" | "bbfc12" | "bbfc15" | "bbfc18" | "bbfcR18" | "bbfcUnrated"; bfvcRating?: "bfvcUnspecified" | "bfvcG" | "bfvcE" | "bfvc13" | "bfvc15" | "bfvc18" | "bfvc20" | "bfvcB" | "bfvcUnrated"; bmukkRating?: "bmukkUnspecified" | "bmukkAa" | "bmukk6" | "bmukk8" | "bmukk10" | "bmukk12" | "bmukk14" | "bmukk16" | "bmukkUnrated"; catvRating?: "catvUnspecified" | "catvC" | "catvC8" | "catvG" | "catvPg" | "catv14plus" | "catv18plus" | "catvUnrated" | "catvE"; catvfrRating?: "catvfrUnspecified" | "catvfrG" | "catvfr8plus" | "catvfr13plus" | "catvfr16plus" | "catvfr18plus" | "catvfrUnrated" | "catvfrE"; cbfcRating?: "cbfcUnspecified" | "cbfcU" | "cbfcUA" | "cbfcUA7plus" | "cbfcUA13plus" | "cbfcUA16plus" | "cbfcA" | "cbfcS" | "cbfcUnrated"; cccRating?: "cccUnspecified" | "cccTe" | "ccc6" | "ccc14" | "ccc18" | "ccc18v" | "ccc18s" | "cccUnrated"; cceRating?: "cceUnspecified" | "cceM4" | "cceM6" | "cceM12" | "cceM16" | "cceM18" | "cceUnrated" | "cceM14"; chfilmRating?: "chfilmUnspecified" | "chfilm0" | "chfilm6" | "chfilm12" | "chfilm16" | "chfilm18" | "chfilmUnrated"; chvrsRating?: "chvrsUnspecified" | "chvrsG" | "chvrsPg" | "chvrs14a" | "chvrs18a" | "chvrsR" | "chvrsE" | "chvrsUnrated"; cicfRating?: "cicfUnspecified" | "cicfE" | "cicfKtEa" | "cicfKntEna" | "cicfUnrated"; cnaRating?: "cnaUnspecified" | "cnaAp" | "cna12" | "cna15" | "cna18" | "cna18plus" | "cnaUnrated"; cncRating?: "cncUnspecified" | "cncT" | "cnc10" | "cnc12" | "cnc16" | "cnc18" | "cncE" | "cncInterdiction" | "cncUnrated"; csaRating?: "csaUnspecified" | "csaT" | "csa10" | "csa12" | "csa16" | "csa18" | "csaInterdiction" | "csaUnrated"; cscfRating?: "cscfUnspecified" | "cscfAl" | "cscfA" | "cscf6" | "cscf9" | "cscf12" | "cscf16" | "cscf18" | "cscfUnrated"; czfilmRating?: "czfilmUnspecified" | "czfilmU" | "czfilm12" | "czfilm14" | "czfilm18" | "czfilmUnrated"; djctqRating?: "djctqUnspecified" | "djctqL" | "djctq10" | "djctq12" | "djctq14" | "djctq16" | "djctq18" | "djctqEr" | "djctqL10" | "djctqL12" | "djctqL14" | "djctqL16" | "djctqL18" | "djctq1012" | "djctq1014" | "djctq1016" | "djctq1018" | "djctq1214" | "djctq1216" | "djctq1218" | "djctq1416" | "djctq1418" | "djctq1618" | "djctqUnrated"; djctqRatingReasons?: ("djctqRatingReasonUnspecified" | "djctqViolence" | "djctqExtremeViolence" | "djctqSexualContent" | "djctqNudity" | "djctqSex" | "djctqExplicitSex" | "djctqDrugs" | "djctqLegalDrugs" | "djctqIllegalDrugs" | "djctqInappropriateLanguage" | "djctqCriminalActs" | "djctqImpactingContent")[]; ecbmctRating?: "ecbmctUnspecified" | "ecbmctG" | "ecbmct7a" | "ecbmct7plus" | "ecbmct13a" | "ecbmct13plus" | "ecbmct15a" | "ecbmct15plus" | "ecbmct18plus" | "ecbmctUnrated"; eefilmRating?: "eefilmUnspecified" | "eefilmPere" | "eefilmL" | "eefilmMs6" | "eefilmK6" | "eefilmMs12" | "eefilmK12" | "eefilmK14" | "eefilmK16" | "eefilmUnrated"; egfilmRating?: "egfilmUnspecified" | "egfilmGn" | "egfilm18" | "egfilmBn" | "egfilmUnrated"; eirinRating?: "eirinUnspecified" | "eirinG" | "eirinPg12" | "eirinR15plus" | "eirinR18plus" | "eirinUnrated"; fcbmRating?: "fcbmUnspecified" | "fcbmU" | "fcbmPg13" | "fcbmP13" | "fcbm18" | "fcbm18sx" | "fcbm18pa" | "fcbm18sg" | "fcbm18pl" | "fcbmUnrated"; fcoRating?: "fcoUnspecified" | "fcoI" | "fcoIia" | "fcoIib" | "fcoIi" | "fcoIii" | "fcoUnrated"; fmocRating?: "fmocUnspecified" | "fmocU" | "fmoc10" | "fmoc12" | "fmoc16" | "fmoc18" | "fmocE" | "fmocUnrated"; fpbRating?: "fpbUnspecified" | "fpbA" | "fpbPg" | "fpb79Pg" | "fpb1012Pg" | "fpb13" | "fpb16" | "fpb18" | "fpbX18" | "fpbXx" | "fpbUnrated" | "fpb10"; fpbRatingReasons?: ("fpbRatingReasonUnspecified" | "fpbBlasphemy" | "fpbLanguage" | "fpbNudity" | "fpbPrejudice" | "fpbSex" | "fpbViolence" | "fpbDrugs" | "fpbSexualViolence" | "fpbHorror" | "fpbCriminalTechniques" | "fpbImitativeActsTechniques")[]; fskRating?: "fskUnspecified" | "fsk0" | "fsk6" | "fsk12" | "fsk16" | "fsk18" | "fskUnrated"; grfilmRating?: "grfilmUnspecified" | "grfilmK" | "grfilmE" | "grfilmK12" | "grfilmK13" | "grfilmK15" | "grfilmK17" | "grfilmK18" | "grfilmUnrated"; icaaRating?: "icaaUnspecified" | "icaaApta" | "icaa7" | "icaa12" | "icaa13" | "icaa16" | "icaa18" | "icaaX" | "icaaUnrated"; ifcoRating?: "ifcoUnspecified" | "ifcoG" | "ifcoPg" | "ifco12" | "ifco12a" | "ifco15" | "ifco15a" | "ifco16" | "ifco18" | "ifcoUnrated"; ilfilmRating?: "ilfilmUnspecified" | "ilfilmAa" | "ilfilm12" | "ilfilm14" | "ilfilm16" | "ilfilm18" | "ilfilmUnrated"; incaaRating?: "incaaUnspecified" | "incaaAtp" | "incaaSam13" | "incaaSam16" | "incaaSam18" | "incaaC" | "incaaUnrated"; kfcbRating?: "kfcbUnspecified" | "kfcbG" | "kfcbPg" | "kfcb16plus" | "kfcbR" | "kfcbUnrated"; kijkwijzerRating?: "kijkwijzerUnspecified" | "kijkwijzerAl" | "kijkwijzer6" | "kijkwijzer9" | "kijkwijzer12" | "kijkwijzer16" | "kijkwijzer18" | "kijkwijzerUnrated"; kmrbRating?: "kmrbUnspecified" | "kmrbAll" | "kmrb12plus" | "kmrb15plus" | "kmrbTeenr" | "kmrbR" | "kmrbUnrated"; lsfRating?: "lsfUnspecified" | "lsfSu" | "lsfA" | "lsfBo" | "lsf13" | "lsfR" | "lsf17" | "lsfD" | "lsf21" | "lsfUnrated"; mccaaRating?: "mccaaUnspecified" | "mccaaU" | "mccaaPg" | "mccaa12a" | "mccaa12" | "mccaa14" | "mccaa15" | "mccaa16" | "mccaa18" | "mccaaUnrated"; mccypRating?: "mccypUnspecified" | "mccypA" | "mccyp7" | "mccyp11" | "mccyp15" | "mccypUnrated"; mcstRating?: "mcstUnspecified" | "mcstP" | "mcst0" | "mcstC13" | "mcstC16" | "mcst16plus" | "mcstC18" | "mcstGPg" | "mcstUnrated"; mdaRating?: "mdaUnspecified" | "mdaG" | "mdaPg" | "mdaPg13" | "mdaNc16" | "mdaM18" | "mdaR21" | "mdaUnrated"; medietilsynetRating?: "medietilsynetUnspecified" | "medietilsynetA" | "medietilsynet6" | "medietilsynet7" | "medietilsynet9" | "medietilsynet11" | "medietilsynet12" | "medietilsynet15" | "medietilsynet18" | "medietilsynetUnrated"; mekuRating?: "mekuUnspecified" | "mekuS" | "meku7" | "meku12" | "meku16" | "meku18" | "mekuUnrated"; menaMpaaRating?: "menaMpaaUnspecified" | "menaMpaaG" | "menaMpaaPg" | "menaMpaaPg13" | "menaMpaaR" | "menaMpaaUnrated"; mibacRating?: "mibacUnspecified" | "mibacT" | "mibacVap" | "mibacVm6" | "mibacVm12" | "mibacVm14" | "mibacVm16" | "mibacVm18" | "mibacUnrated"; mocRating?: "mocUnspecified" | "mocE" | "mocT" | "moc7" | "moc12" | "moc15" | "moc18" | "mocX" | "mocBanned" | "mocUnrated"; moctwRating?: "moctwUnspecified" | "moctwG" | "moctwP" | "moctwPg" | "moctwR" | "moctwUnrated" | "moctwR12" | "moctwR15"; mpaaRating?: "mpaaUnspecified" | "mpaaG" | "mpaaPg" | "mpaaPg13" | "mpaaR" | "mpaaNc17" | "mpaaX" | "mpaaUnrated"; mpaatRating?: "mpaatUnspecified" | "mpaatGb" | "mpaatRb"; mtrcbRating?: "mtrcbUnspecified" | "mtrcbG" | "mtrcbPg" | "mtrcbR13" | "mtrcbR16" | "mtrcbR18" | "mtrcbX" | "mtrcbUnrated"; nbcRating?: "nbcUnspecified" | "nbcG" | "nbcPg" | "nbc12plus" | "nbc15plus" | "nbc18plus" | "nbc18plusr" | "nbcPu" | "nbcUnrated"; nbcplRating?: "nbcplUnspecified" | "nbcplI" | "nbcplIi" | "nbcplIii" | "nbcplIv" | "nbcpl18plus" | "nbcplUnrated"; nfrcRating?: "nfrcUnspecified" | "nfrcA" | "nfrcB" | "nfrcC" | "nfrcD" | "nfrcX" | "nfrcUnrated"; nfvcbRating?: "nfvcbUnspecified" | "nfvcbG" | "nfvcbPg" | "nfvcb12" | "nfvcb12a" | "nfvcb15" | "nfvcb18" | "nfvcbRe" | "nfvcbUnrated"; nkclvRating?: "nkclvUnspecified" | "nkclvU" | "nkclv7plus" | "nkclv12plus" | "nkclv16plus" | "nkclv18plus" | "nkclvUnrated"; nmcRating?: "nmcUnspecified" | "nmcG" | "nmcPg" | "nmcPg13" | "nmcPg15" | "nmc15plus" | "nmc18plus" | "nmc18tc" | "nmcUnrated"; oflcRating?: "oflcUnspecified" | "oflcG" | "oflcPg" | "oflcM" | "oflcR13" | "oflcR15" | "oflcR16" | "oflcR18" | "oflcUnrated" | "oflcRp13" | "oflcRp16" | "oflcRp18"; pefilmRating?: "pefilmUnspecified" | "pefilmPt" | "pefilmPg" | "pefilm14" | "pefilm18" | "pefilmUnrated"; rcnofRating?: "rcnofUnspecified" | "rcnofI" | "rcnofIi" | "rcnofIii" | "rcnofIv" | "rcnofV" | "rcnofVi" | "rcnofUnrated"; resorteviolenciaRating?: "resorteviolenciaUnspecified" | "resorteviolenciaA" | "resorteviolenciaB" | "resorteviolenciaC" | "resorteviolenciaD" | "resorteviolenciaE" | "resorteviolenciaUnrated"; rtcRating?: "rtcUnspecified" | "rtcAa" | "rtcA" | "rtcB" | "rtcB15" | "rtcC" | "rtcD" | "rtcUnrated"; rteRating?: "rteUnspecified" | "rteGa" | "rteCh" | "rtePs" | "rteMa" | "rteUnrated"; russiaRating?: "russiaUnspecified" | "russia0" | "russia6" | "russia12" | "russia16" | "russia18" | "russiaUnrated"; skfilmRating?: "skfilmUnspecified" | "skfilmG" | "skfilmP2" | "skfilmP5" | "skfilmP8" | "skfilmUnrated"; smaisRating?: "smaisUnspecified" | "smaisL" | "smais7" | "smais12" | "smais14" | "smais16" | "smais18" | "smaisUnrated"; smsaRating?: "smsaUnspecified" | "smsaA" | "smsa7" | "smsa11" | "smsa15" | "smsaUnrated"; tvpgRating?: "tvpgUnspecified" | "tvpgY" | "tvpgY7" | "tvpgY7Fv" | "tvpgG" | "tvpgPg" | "pg14" | "tvpgMa" | "tvpgUnrated"; ytRating?: "ytUnspecified" | "ytAgeRestricted" }; countryRestriction?: { allowed?: boolean; exception?: (string)[] }; definition?: "sd" | "hd"; dimension?: string; duration?: string; hasCustomThumbnail?: boolean; licensedContent?: boolean; projection?: "rectangular" | "360"; regionRestriction?: { allowed?: (string)[]; blocked?: (string)[] } }; etag?: string; fileDetails?: { audioStreams?: ({ bitrateBps?: string; channelCount?: number; codec?: string; vendor?: string })[]; bitrateBps?: string; container?: string; creationTime?: string; durationMs?: string; fileName?: string; fileSize?: string; fileType?: "video" | "audio" | "image" | "archive" | "document" | "project" | "other"; videoStreams?: ({ aspectRatio?: number; bitrateBps?: string; codec?: string; frameRateFps?: number; heightPixels?: number; rotation?: "none" | "clockwise" | "upsideDown" | "counterClockwise" | "other"; vendor?: string; widthPixels?: number })[] }; id?: string; kind?: string; liveStreamingDetails?: { activeLiveChatId?: string; actualEndTime?: string; actualStartTime?: string; concurrentViewers?: string; scheduledEndTime?: string; scheduledStartTime?: string }; localizations?: { [key: string]: { description?: string; title?: string } | undefined }; monetizationDetails?: { access?: { allowed?: boolean; exception?: (string)[] } }; player?: { embedHeight?: string; embedHtml?: string; embedWidth?: string }; processingDetails?: { editorSuggestionsAvailability?: string; fileDetailsAvailability?: string; processingFailureReason?: "uploadFailed" | "transcodeFailed" | "streamingFailed" | "other"; processingIssuesAvailability?: string; processingProgress?: { partsProcessed?: string; partsTotal?: string; timeLeftMs?: string }; processingStatus?: "processing" | "succeeded" | "failed" | "terminated"; tagSuggestionsAvailability?: string; thumbnailsAvailability?: string }; projectDetails?: { [key: string]: unknown }; recordingDetails?: { location?: { altitude?: number; latitude?: number; longitude?: number }; locationDescription?: string; recordingDate?: string }; snippet?: { categoryId?: string; channelId?: string; channelTitle?: string; defaultAudioLanguage?: string; defaultLanguage?: string; description?: string; liveBroadcastContent?: "none" | "upcoming" | "live" | "completed"; localized?: { description?: string; title?: string }; publishedAt?: string; tags?: (string)[]; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; statistics?: { commentCount?: string; dislikeCount?: string; favoriteCount?: string; likeCount?: string; viewCount?: string }; status?: { embeddable?: boolean; failureReason?: "conversion" | "invalidFile" | "emptyFile" | "tooSmall" | "codec" | "uploadAborted"; license?: "youtube" | "creativeCommon"; madeForKids?: boolean; privacyStatus?: "public" | "unlisted" | "private"; publicStatsViewable?: boolean; publishAt?: string; rejectionReason?: "copyright" | "inappropriate" | "duplicate" | "termsOfUse" | "uploaderAccountSuspended" | "length" | "claim" | "uploaderAccountClosed" | "trademark" | "legal"; selfDeclaredMadeForKids?: boolean; uploadStatus?: "uploaded" | "processed" | "failed" | "rejected" | "deleted" }; suggestions?: { editorSuggestions?: ("videoAutoLevels" | "videoStabilize" | "videoCrop" | "audioQuietAudioSwap")[]; processingErrors?: ("audioFile" | "imageFile" | "projectFile" | "notAVideoFile" | "docFile" | "archiveFile" | "unsupportedSpatialAudioLayout")[]; processingHints?: ("nonStreamableMov" | "sendBestQualityVideo" | "sphericalVideo" | "spatialAudio" | "vrVideo" | "hdrVideo")[]; processingWarnings?: ("unknownContainer" | "unknownVideoCodec" | "unknownAudioCodec" | "inconsistentResolution" | "hasEditlist" | "problematicVideoCodec" | "problematicAudioCodec" | "unsupportedVrStereoMode" | "unsupportedSphericalProjectionType" | "unsupportedHdrPixelFormat" | "unsupportedHdrColorMetadata" | "problematicHdrLookupTable")[]; tagSuggestions?: ({ categoryRestricts?: (string)[]; tag?: string })[] }; topicDetails?: { relevantTopicIds?: (string)[]; topicCategories?: (string)[]; topicIds?: (string)[] }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; autoLevels?: boolean; notifySubscribers?: boolean; onBehalfOfContentOwner?: string; onBehalfOfContentOwnerChannel?: string; stabilize?: boolean }) => Promise<{ ageGating?: { alcoholContent?: boolean; restricted?: boolean; videoGameRating?: "anyone" | "m15Plus" | "m16Plus" | "m17Plus" }; contentDetails?: { caption?: "true" | "false"; contentRating?: { acbRating?: "acbUnspecified" | "acbE" | "acbP" | "acbC" | "acbG" | "acbPg" | "acbM" | "acbMa15plus" | "acbR18plus" | "acbUnrated"; agcomRating?: "agcomUnspecified" | "agcomT" | "agcomVm14" | "agcomVm18" | "agcomUnrated"; anatelRating?: "anatelUnspecified" | "anatelF" | "anatelI" | "anatelI7" | "anatelI10" | "anatelI12" | "anatelR" | "anatelA" | "anatelUnrated"; bbfcRating?: "bbfcUnspecified" | "bbfcU" | "bbfcPg" | "bbfc12a" | "bbfc12" | "bbfc15" | "bbfc18" | "bbfcR18" | "bbfcUnrated"; bfvcRating?: "bfvcUnspecified" | "bfvcG" | "bfvcE" | "bfvc13" | "bfvc15" | "bfvc18" | "bfvc20" | "bfvcB" | "bfvcUnrated"; bmukkRating?: "bmukkUnspecified" | "bmukkAa" | "bmukk6" | "bmukk8" | "bmukk10" | "bmukk12" | "bmukk14" | "bmukk16" | "bmukkUnrated"; catvRating?: "catvUnspecified" | "catvC" | "catvC8" | "catvG" | "catvPg" | "catv14plus" | "catv18plus" | "catvUnrated" | "catvE"; catvfrRating?: "catvfrUnspecified" | "catvfrG" | "catvfr8plus" | "catvfr13plus" | "catvfr16plus" | "catvfr18plus" | "catvfrUnrated" | "catvfrE"; cbfcRating?: "cbfcUnspecified" | "cbfcU" | "cbfcUA" | "cbfcUA7plus" | "cbfcUA13plus" | "cbfcUA16plus" | "cbfcA" | "cbfcS" | "cbfcUnrated"; cccRating?: "cccUnspecified" | "cccTe" | "ccc6" | "ccc14" | "ccc18" | "ccc18v" | "ccc18s" | "cccUnrated"; cceRating?: "cceUnspecified" | "cceM4" | "cceM6" | "cceM12" | "cceM16" | "cceM18" | "cceUnrated" | "cceM14"; chfilmRating?: "chfilmUnspecified" | "chfilm0" | "chfilm6" | "chfilm12" | "chfilm16" | "chfilm18" | "chfilmUnrated"; chvrsRating?: "chvrsUnspecified" | "chvrsG" | "chvrsPg" | "chvrs14a" | "chvrs18a" | "chvrsR" | "chvrsE" | "chvrsUnrated"; cicfRating?: "cicfUnspecified" | "cicfE" | "cicfKtEa" | "cicfKntEna" | "cicfUnrated"; cnaRating?: "cnaUnspecified" | "cnaAp" | "cna12" | "cna15" | "cna18" | "cna18plus" | "cnaUnrated"; cncRating?: "cncUnspecified" | "cncT" | "cnc10" | "cnc12" | "cnc16" | "cnc18" | "cncE" | "cncInterdiction" | "cncUnrated"; csaRating?: "csaUnspecified" | "csaT" | "csa10" | "csa12" | "csa16" | "csa18" | "csaInterdiction" | "csaUnrated"; cscfRating?: "cscfUnspecified" | "cscfAl" | "cscfA" | "cscf6" | "cscf9" | "cscf12" | "cscf16" | "cscf18" | "cscfUnrated"; czfilmRating?: "czfilmUnspecified" | "czfilmU" | "czfilm12" | "czfilm14" | "czfilm18" | "czfilmUnrated"; djctqRating?: "djctqUnspecified" | "djctqL" | "djctq10" | "djctq12" | "djctq14" | "djctq16" | "djctq18" | "djctqEr" | "djctqL10" | "djctqL12" | "djctqL14" | "djctqL16" | "djctqL18" | "djctq1012" | "djctq1014" | "djctq1016" | "djctq1018" | "djctq1214" | "djctq1216" | "djctq1218" | "djctq1416" | "djctq1418" | "djctq1618" | "djctqUnrated"; djctqRatingReasons?: ("djctqRatingReasonUnspecified" | "djctqViolence" | "djctqExtremeViolence" | "djctqSexualContent" | "djctqNudity" | "djctqSex" | "djctqExplicitSex" | "djctqDrugs" | "djctqLegalDrugs" | "djctqIllegalDrugs" | "djctqInappropriateLanguage" | "djctqCriminalActs" | "djctqImpactingContent")[]; ecbmctRating?: "ecbmctUnspecified" | "ecbmctG" | "ecbmct7a" | "ecbmct7plus" | "ecbmct13a" | "ecbmct13plus" | "ecbmct15a" | "ecbmct15plus" | "ecbmct18plus" | "ecbmctUnrated"; eefilmRating?: "eefilmUnspecified" | "eefilmPere" | "eefilmL" | "eefilmMs6" | "eefilmK6" | "eefilmMs12" | "eefilmK12" | "eefilmK14" | "eefilmK16" | "eefilmUnrated"; egfilmRating?: "egfilmUnspecified" | "egfilmGn" | "egfilm18" | "egfilmBn" | "egfilmUnrated"; eirinRating?: "eirinUnspecified" | "eirinG" | "eirinPg12" | "eirinR15plus" | "eirinR18plus" | "eirinUnrated"; fcbmRating?: "fcbmUnspecified" | "fcbmU" | "fcbmPg13" | "fcbmP13" | "fcbm18" | "fcbm18sx" | "fcbm18pa" | "fcbm18sg" | "fcbm18pl" | "fcbmUnrated"; fcoRating?: "fcoUnspecified" | "fcoI" | "fcoIia" | "fcoIib" | "fcoIi" | "fcoIii" | "fcoUnrated"; fmocRating?: "fmocUnspecified" | "fmocU" | "fmoc10" | "fmoc12" | "fmoc16" | "fmoc18" | "fmocE" | "fmocUnrated"; fpbRating?: "fpbUnspecified" | "fpbA" | "fpbPg" | "fpb79Pg" | "fpb1012Pg" | "fpb13" | "fpb16" | "fpb18" | "fpbX18" | "fpbXx" | "fpbUnrated" | "fpb10"; fpbRatingReasons?: ("fpbRatingReasonUnspecified" | "fpbBlasphemy" | "fpbLanguage" | "fpbNudity" | "fpbPrejudice" | "fpbSex" | "fpbViolence" | "fpbDrugs" | "fpbSexualViolence" | "fpbHorror" | "fpbCriminalTechniques" | "fpbImitativeActsTechniques")[]; fskRating?: "fskUnspecified" | "fsk0" | "fsk6" | "fsk12" | "fsk16" | "fsk18" | "fskUnrated"; grfilmRating?: "grfilmUnspecified" | "grfilmK" | "grfilmE" | "grfilmK12" | "grfilmK13" | "grfilmK15" | "grfilmK17" | "grfilmK18" | "grfilmUnrated"; icaaRating?: "icaaUnspecified" | "icaaApta" | "icaa7" | "icaa12" | "icaa13" | "icaa16" | "icaa18" | "icaaX" | "icaaUnrated"; ifcoRating?: "ifcoUnspecified" | "ifcoG" | "ifcoPg" | "ifco12" | "ifco12a" | "ifco15" | "ifco15a" | "ifco16" | "ifco18" | "ifcoUnrated"; ilfilmRating?: "ilfilmUnspecified" | "ilfilmAa" | "ilfilm12" | "ilfilm14" | "ilfilm16" | "ilfilm18" | "ilfilmUnrated"; incaaRating?: "incaaUnspecified" | "incaaAtp" | "incaaSam13" | "incaaSam16" | "incaaSam18" | "incaaC" | "incaaUnrated"; kfcbRating?: "kfcbUnspecified" | "kfcbG" | "kfcbPg" | "kfcb16plus" | "kfcbR" | "kfcbUnrated"; kijkwijzerRating?: "kijkwijzerUnspecified" | "kijkwijzerAl" | "kijkwijzer6" | "kijkwijzer9" | "kijkwijzer12" | "kijkwijzer16" | "kijkwijzer18" | "kijkwijzerUnrated"; kmrbRating?: "kmrbUnspecified" | "kmrbAll" | "kmrb12plus" | "kmrb15plus" | "kmrbTeenr" | "kmrbR" | "kmrbUnrated"; lsfRating?: "lsfUnspecified" | "lsfSu" | "lsfA" | "lsfBo" | "lsf13" | "lsfR" | "lsf17" | "lsfD" | "lsf21" | "lsfUnrated"; mccaaRating?: "mccaaUnspecified" | "mccaaU" | "mccaaPg" | "mccaa12a" | "mccaa12" | "mccaa14" | "mccaa15" | "mccaa16" | "mccaa18" | "mccaaUnrated"; mccypRating?: "mccypUnspecified" | "mccypA" | "mccyp7" | "mccyp11" | "mccyp15" | "mccypUnrated"; mcstRating?: "mcstUnspecified" | "mcstP" | "mcst0" | "mcstC13" | "mcstC16" | "mcst16plus" | "mcstC18" | "mcstGPg" | "mcstUnrated"; mdaRating?: "mdaUnspecified" | "mdaG" | "mdaPg" | "mdaPg13" | "mdaNc16" | "mdaM18" | "mdaR21" | "mdaUnrated"; medietilsynetRating?: "medietilsynetUnspecified" | "medietilsynetA" | "medietilsynet6" | "medietilsynet7" | "medietilsynet9" | "medietilsynet11" | "medietilsynet12" | "medietilsynet15" | "medietilsynet18" | "medietilsynetUnrated"; mekuRating?: "mekuUnspecified" | "mekuS" | "meku7" | "meku12" | "meku16" | "meku18" | "mekuUnrated"; menaMpaaRating?: "menaMpaaUnspecified" | "menaMpaaG" | "menaMpaaPg" | "menaMpaaPg13" | "menaMpaaR" | "menaMpaaUnrated"; mibacRating?: "mibacUnspecified" | "mibacT" | "mibacVap" | "mibacVm6" | "mibacVm12" | "mibacVm14" | "mibacVm16" | "mibacVm18" | "mibacUnrated"; mocRating?: "mocUnspecified" | "mocE" | "mocT" | "moc7" | "moc12" | "moc15" | "moc18" | "mocX" | "mocBanned" | "mocUnrated"; moctwRating?: "moctwUnspecified" | "moctwG" | "moctwP" | "moctwPg" | "moctwR" | "moctwUnrated" | "moctwR12" | "moctwR15"; mpaaRating?: "mpaaUnspecified" | "mpaaG" | "mpaaPg" | "mpaaPg13" | "mpaaR" | "mpaaNc17" | "mpaaX" | "mpaaUnrated"; mpaatRating?: "mpaatUnspecified" | "mpaatGb" | "mpaatRb"; mtrcbRating?: "mtrcbUnspecified" | "mtrcbG" | "mtrcbPg" | "mtrcbR13" | "mtrcbR16" | "mtrcbR18" | "mtrcbX" | "mtrcbUnrated"; nbcRating?: "nbcUnspecified" | "nbcG" | "nbcPg" | "nbc12plus" | "nbc15plus" | "nbc18plus" | "nbc18plusr" | "nbcPu" | "nbcUnrated"; nbcplRating?: "nbcplUnspecified" | "nbcplI" | "nbcplIi" | "nbcplIii" | "nbcplIv" | "nbcpl18plus" | "nbcplUnrated"; nfrcRating?: "nfrcUnspecified" | "nfrcA" | "nfrcB" | "nfrcC" | "nfrcD" | "nfrcX" | "nfrcUnrated"; nfvcbRating?: "nfvcbUnspecified" | "nfvcbG" | "nfvcbPg" | "nfvcb12" | "nfvcb12a" | "nfvcb15" | "nfvcb18" | "nfvcbRe" | "nfvcbUnrated"; nkclvRating?: "nkclvUnspecified" | "nkclvU" | "nkclv7plus" | "nkclv12plus" | "nkclv16plus" | "nkclv18plus" | "nkclvUnrated"; nmcRating?: "nmcUnspecified" | "nmcG" | "nmcPg" | "nmcPg13" | "nmcPg15" | "nmc15plus" | "nmc18plus" | "nmc18tc" | "nmcUnrated"; oflcRating?: "oflcUnspecified" | "oflcG" | "oflcPg" | "oflcM" | "oflcR13" | "oflcR15" | "oflcR16" | "oflcR18" | "oflcUnrated" | "oflcRp13" | "oflcRp16" | "oflcRp18"; pefilmRating?: "pefilmUnspecified" | "pefilmPt" | "pefilmPg" | "pefilm14" | "pefilm18" | "pefilmUnrated"; rcnofRating?: "rcnofUnspecified" | "rcnofI" | "rcnofIi" | "rcnofIii" | "rcnofIv" | "rcnofV" | "rcnofVi" | "rcnofUnrated"; resorteviolenciaRating?: "resorteviolenciaUnspecified" | "resorteviolenciaA" | "resorteviolenciaB" | "resorteviolenciaC" | "resorteviolenciaD" | "resorteviolenciaE" | "resorteviolenciaUnrated"; rtcRating?: "rtcUnspecified" | "rtcAa" | "rtcA" | "rtcB" | "rtcB15" | "rtcC" | "rtcD" | "rtcUnrated"; rteRating?: "rteUnspecified" | "rteGa" | "rteCh" | "rtePs" | "rteMa" | "rteUnrated"; russiaRating?: "russiaUnspecified" | "russia0" | "russia6" | "russia12" | "russia16" | "russia18" | "russiaUnrated"; skfilmRating?: "skfilmUnspecified" | "skfilmG" | "skfilmP2" | "skfilmP5" | "skfilmP8" | "skfilmUnrated"; smaisRating?: "smaisUnspecified" | "smaisL" | "smais7" | "smais12" | "smais14" | "smais16" | "smais18" | "smaisUnrated"; smsaRating?: "smsaUnspecified" | "smsaA" | "smsa7" | "smsa11" | "smsa15" | "smsaUnrated"; tvpgRating?: "tvpgUnspecified" | "tvpgY" | "tvpgY7" | "tvpgY7Fv" | "tvpgG" | "tvpgPg" | "pg14" | "tvpgMa" | "tvpgUnrated"; ytRating?: "ytUnspecified" | "ytAgeRestricted" }; countryRestriction?: { allowed?: boolean; exception?: (string)[] }; definition?: "sd" | "hd"; dimension?: string; duration?: string; hasCustomThumbnail?: boolean; licensedContent?: boolean; projection?: "rectangular" | "360"; regionRestriction?: { allowed?: (string)[]; blocked?: (string)[] } }; etag?: string; fileDetails?: { audioStreams?: ({ bitrateBps?: string; channelCount?: number; codec?: string; vendor?: string })[]; bitrateBps?: string; container?: string; creationTime?: string; durationMs?: string; fileName?: string; fileSize?: string; fileType?: "video" | "audio" | "image" | "archive" | "document" | "project" | "other"; videoStreams?: ({ aspectRatio?: number; bitrateBps?: string; codec?: string; frameRateFps?: number; heightPixels?: number; rotation?: "none" | "clockwise" | "upsideDown" | "counterClockwise" | "other"; vendor?: string; widthPixels?: number })[] }; id?: string; kind?: string; liveStreamingDetails?: { activeLiveChatId?: string; actualEndTime?: string; actualStartTime?: string; concurrentViewers?: string; scheduledEndTime?: string; scheduledStartTime?: string }; localizations?: { [key: string]: { description?: string; title?: string } | undefined }; monetizationDetails?: { access?: { allowed?: boolean; exception?: (string)[] } }; player?: { embedHeight?: string; embedHtml?: string; embedWidth?: string }; processingDetails?: { editorSuggestionsAvailability?: string; fileDetailsAvailability?: string; processingFailureReason?: "uploadFailed" | "transcodeFailed" | "streamingFailed" | "other"; processingIssuesAvailability?: string; processingProgress?: { partsProcessed?: string; partsTotal?: string; timeLeftMs?: string }; processingStatus?: "processing" | "succeeded" | "failed" | "terminated"; tagSuggestionsAvailability?: string; thumbnailsAvailability?: string }; projectDetails?: { [key: string]: unknown }; recordingDetails?: { location?: { altitude?: number; latitude?: number; longitude?: number }; locationDescription?: string; recordingDate?: string }; snippet?: { categoryId?: string; channelId?: string; channelTitle?: string; defaultAudioLanguage?: string; defaultLanguage?: string; description?: string; liveBroadcastContent?: "none" | "upcoming" | "live" | "completed"; localized?: { description?: string; title?: string }; publishedAt?: string; tags?: (string)[]; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; statistics?: { commentCount?: string; dislikeCount?: string; favoriteCount?: string; likeCount?: string; viewCount?: string }; status?: { embeddable?: boolean; failureReason?: "conversion" | "invalidFile" | "emptyFile" | "tooSmall" | "codec" | "uploadAborted"; license?: "youtube" | "creativeCommon"; madeForKids?: boolean; privacyStatus?: "public" | "unlisted" | "private"; publicStatsViewable?: boolean; publishAt?: string; rejectionReason?: "copyright" | "inappropriate" | "duplicate" | "termsOfUse" | "uploaderAccountSuspended" | "length" | "claim" | "uploaderAccountClosed" | "trademark" | "legal"; selfDeclaredMadeForKids?: boolean; uploadStatus?: "uploaded" | "processed" | "failed" | "rejected" | "deleted" }; suggestions?: { editorSuggestions?: ("videoAutoLevels" | "videoStabilize" | "videoCrop" | "audioQuietAudioSwap")[]; processingErrors?: ("audioFile" | "imageFile" | "projectFile" | "notAVideoFile" | "docFile" | "archiveFile" | "unsupportedSpatialAudioLayout")[]; processingHints?: ("nonStreamableMov" | "sendBestQualityVideo" | "sphericalVideo" | "spatialAudio" | "vrVideo" | "hdrVideo")[]; processingWarnings?: ("unknownContainer" | "unknownVideoCodec" | "unknownAudioCodec" | "inconsistentResolution" | "hasEditlist" | "problematicVideoCodec" | "problematicAudioCodec" | "unsupportedVrStereoMode" | "unsupportedSphericalProjectionType" | "unsupportedHdrPixelFormat" | "unsupportedHdrColorMetadata" | "problematicHdrLookupTable")[]; tagSuggestions?: ({ categoryRestricts?: (string)[]; tag?: string })[] }; topicDetails?: { relevantTopicIds?: (string)[]; topicCategories?: (string)[]; topicIds?: (string)[] } }>;
|
|
440
|
+
/**
|
|
441
|
+
* Retrieves a list of resources, possibly filtered.
|
|
442
|
+
* Tags: videos
|
|
443
|
+
* Access as: google/youtube.videosList(input)
|
|
444
|
+
*/
|
|
445
|
+
videosList: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; chart?: "chartUnspecified" | "mostPopular"; hl?: string; id?: (string)[]; locale?: string; maxHeight?: number; maxResults?: number; maxWidth?: number; myRating?: "none" | "like" | "dislike"; onBehalfOfContentOwner?: string; pageToken?: string; regionCode?: string; videoCategoryId?: string }) => Promise<{ etag?: string; eventId?: string; items?: ({ ageGating?: { alcoholContent?: boolean; restricted?: boolean; videoGameRating?: "anyone" | "m15Plus" | "m16Plus" | "m17Plus" }; contentDetails?: { caption?: "true" | "false"; contentRating?: { acbRating?: "acbUnspecified" | "acbE" | "acbP" | "acbC" | "acbG" | "acbPg" | "acbM" | "acbMa15plus" | "acbR18plus" | "acbUnrated"; agcomRating?: "agcomUnspecified" | "agcomT" | "agcomVm14" | "agcomVm18" | "agcomUnrated"; anatelRating?: "anatelUnspecified" | "anatelF" | "anatelI" | "anatelI7" | "anatelI10" | "anatelI12" | "anatelR" | "anatelA" | "anatelUnrated"; bbfcRating?: "bbfcUnspecified" | "bbfcU" | "bbfcPg" | "bbfc12a" | "bbfc12" | "bbfc15" | "bbfc18" | "bbfcR18" | "bbfcUnrated"; bfvcRating?: "bfvcUnspecified" | "bfvcG" | "bfvcE" | "bfvc13" | "bfvc15" | "bfvc18" | "bfvc20" | "bfvcB" | "bfvcUnrated"; bmukkRating?: "bmukkUnspecified" | "bmukkAa" | "bmukk6" | "bmukk8" | "bmukk10" | "bmukk12" | "bmukk14" | "bmukk16" | "bmukkUnrated"; catvRating?: "catvUnspecified" | "catvC" | "catvC8" | "catvG" | "catvPg" | "catv14plus" | "catv18plus" | "catvUnrated" | "catvE"; catvfrRating?: "catvfrUnspecified" | "catvfrG" | "catvfr8plus" | "catvfr13plus" | "catvfr16plus" | "catvfr18plus" | "catvfrUnrated" | "catvfrE"; cbfcRating?: "cbfcUnspecified" | "cbfcU" | "cbfcUA" | "cbfcUA7plus" | "cbfcUA13plus" | "cbfcUA16plus" | "cbfcA" | "cbfcS" | "cbfcUnrated"; cccRating?: "cccUnspecified" | "cccTe" | "ccc6" | "ccc14" | "ccc18" | "ccc18v" | "ccc18s" | "cccUnrated"; cceRating?: "cceUnspecified" | "cceM4" | "cceM6" | "cceM12" | "cceM16" | "cceM18" | "cceUnrated" | "cceM14"; chfilmRating?: "chfilmUnspecified" | "chfilm0" | "chfilm6" | "chfilm12" | "chfilm16" | "chfilm18" | "chfilmUnrated"; chvrsRating?: "chvrsUnspecified" | "chvrsG" | "chvrsPg" | "chvrs14a" | "chvrs18a" | "chvrsR" | "chvrsE" | "chvrsUnrated"; cicfRating?: "cicfUnspecified" | "cicfE" | "cicfKtEa" | "cicfKntEna" | "cicfUnrated"; cnaRating?: "cnaUnspecified" | "cnaAp" | "cna12" | "cna15" | "cna18" | "cna18plus" | "cnaUnrated"; cncRating?: "cncUnspecified" | "cncT" | "cnc10" | "cnc12" | "cnc16" | "cnc18" | "cncE" | "cncInterdiction" | "cncUnrated"; csaRating?: "csaUnspecified" | "csaT" | "csa10" | "csa12" | "csa16" | "csa18" | "csaInterdiction" | "csaUnrated"; cscfRating?: "cscfUnspecified" | "cscfAl" | "cscfA" | "cscf6" | "cscf9" | "cscf12" | "cscf16" | "cscf18" | "cscfUnrated"; czfilmRating?: "czfilmUnspecified" | "czfilmU" | "czfilm12" | "czfilm14" | "czfilm18" | "czfilmUnrated"; djctqRating?: "djctqUnspecified" | "djctqL" | "djctq10" | "djctq12" | "djctq14" | "djctq16" | "djctq18" | "djctqEr" | "djctqL10" | "djctqL12" | "djctqL14" | "djctqL16" | "djctqL18" | "djctq1012" | "djctq1014" | "djctq1016" | "djctq1018" | "djctq1214" | "djctq1216" | "djctq1218" | "djctq1416" | "djctq1418" | "djctq1618" | "djctqUnrated"; djctqRatingReasons?: ("djctqRatingReasonUnspecified" | "djctqViolence" | "djctqExtremeViolence" | "djctqSexualContent" | "djctqNudity" | "djctqSex" | "djctqExplicitSex" | "djctqDrugs" | "djctqLegalDrugs" | "djctqIllegalDrugs" | "djctqInappropriateLanguage" | "djctqCriminalActs" | "djctqImpactingContent")[]; ecbmctRating?: "ecbmctUnspecified" | "ecbmctG" | "ecbmct7a" | "ecbmct7plus" | "ecbmct13a" | "ecbmct13plus" | "ecbmct15a" | "ecbmct15plus" | "ecbmct18plus" | "ecbmctUnrated"; eefilmRating?: "eefilmUnspecified" | "eefilmPere" | "eefilmL" | "eefilmMs6" | "eefilmK6" | "eefilmMs12" | "eefilmK12" | "eefilmK14" | "eefilmK16" | "eefilmUnrated"; egfilmRating?: "egfilmUnspecified" | "egfilmGn" | "egfilm18" | "egfilmBn" | "egfilmUnrated"; eirinRating?: "eirinUnspecified" | "eirinG" | "eirinPg12" | "eirinR15plus" | "eirinR18plus" | "eirinUnrated"; fcbmRating?: "fcbmUnspecified" | "fcbmU" | "fcbmPg13" | "fcbmP13" | "fcbm18" | "fcbm18sx" | "fcbm18pa" | "fcbm18sg" | "fcbm18pl" | "fcbmUnrated"; fcoRating?: "fcoUnspecified" | "fcoI" | "fcoIia" | "fcoIib" | "fcoIi" | "fcoIii" | "fcoUnrated"; fmocRating?: "fmocUnspecified" | "fmocU" | "fmoc10" | "fmoc12" | "fmoc16" | "fmoc18" | "fmocE" | "fmocUnrated"; fpbRating?: "fpbUnspecified" | "fpbA" | "fpbPg" | "fpb79Pg" | "fpb1012Pg" | "fpb13" | "fpb16" | "fpb18" | "fpbX18" | "fpbXx" | "fpbUnrated" | "fpb10"; fpbRatingReasons?: ("fpbRatingReasonUnspecified" | "fpbBlasphemy" | "fpbLanguage" | "fpbNudity" | "fpbPrejudice" | "fpbSex" | "fpbViolence" | "fpbDrugs" | "fpbSexualViolence" | "fpbHorror" | "fpbCriminalTechniques" | "fpbImitativeActsTechniques")[]; fskRating?: "fskUnspecified" | "fsk0" | "fsk6" | "fsk12" | "fsk16" | "fsk18" | "fskUnrated"; grfilmRating?: "grfilmUnspecified" | "grfilmK" | "grfilmE" | "grfilmK12" | "grfilmK13" | "grfilmK15" | "grfilmK17" | "grfilmK18" | "grfilmUnrated"; icaaRating?: "icaaUnspecified" | "icaaApta" | "icaa7" | "icaa12" | "icaa13" | "icaa16" | "icaa18" | "icaaX" | "icaaUnrated"; ifcoRating?: "ifcoUnspecified" | "ifcoG" | "ifcoPg" | "ifco12" | "ifco12a" | "ifco15" | "ifco15a" | "ifco16" | "ifco18" | "ifcoUnrated"; ilfilmRating?: "ilfilmUnspecified" | "ilfilmAa" | "ilfilm12" | "ilfilm14" | "ilfilm16" | "ilfilm18" | "ilfilmUnrated"; incaaRating?: "incaaUnspecified" | "incaaAtp" | "incaaSam13" | "incaaSam16" | "incaaSam18" | "incaaC" | "incaaUnrated"; kfcbRating?: "kfcbUnspecified" | "kfcbG" | "kfcbPg" | "kfcb16plus" | "kfcbR" | "kfcbUnrated"; kijkwijzerRating?: "kijkwijzerUnspecified" | "kijkwijzerAl" | "kijkwijzer6" | "kijkwijzer9" | "kijkwijzer12" | "kijkwijzer16" | "kijkwijzer18" | "kijkwijzerUnrated"; kmrbRating?: "kmrbUnspecified" | "kmrbAll" | "kmrb12plus" | "kmrb15plus" | "kmrbTeenr" | "kmrbR" | "kmrbUnrated"; lsfRating?: "lsfUnspecified" | "lsfSu" | "lsfA" | "lsfBo" | "lsf13" | "lsfR" | "lsf17" | "lsfD" | "lsf21" | "lsfUnrated"; mccaaRating?: "mccaaUnspecified" | "mccaaU" | "mccaaPg" | "mccaa12a" | "mccaa12" | "mccaa14" | "mccaa15" | "mccaa16" | "mccaa18" | "mccaaUnrated"; mccypRating?: "mccypUnspecified" | "mccypA" | "mccyp7" | "mccyp11" | "mccyp15" | "mccypUnrated"; mcstRating?: "mcstUnspecified" | "mcstP" | "mcst0" | "mcstC13" | "mcstC16" | "mcst16plus" | "mcstC18" | "mcstGPg" | "mcstUnrated"; mdaRating?: "mdaUnspecified" | "mdaG" | "mdaPg" | "mdaPg13" | "mdaNc16" | "mdaM18" | "mdaR21" | "mdaUnrated"; medietilsynetRating?: "medietilsynetUnspecified" | "medietilsynetA" | "medietilsynet6" | "medietilsynet7" | "medietilsynet9" | "medietilsynet11" | "medietilsynet12" | "medietilsynet15" | "medietilsynet18" | "medietilsynetUnrated"; mekuRating?: "mekuUnspecified" | "mekuS" | "meku7" | "meku12" | "meku16" | "meku18" | "mekuUnrated"; menaMpaaRating?: "menaMpaaUnspecified" | "menaMpaaG" | "menaMpaaPg" | "menaMpaaPg13" | "menaMpaaR" | "menaMpaaUnrated"; mibacRating?: "mibacUnspecified" | "mibacT" | "mibacVap" | "mibacVm6" | "mibacVm12" | "mibacVm14" | "mibacVm16" | "mibacVm18" | "mibacUnrated"; mocRating?: "mocUnspecified" | "mocE" | "mocT" | "moc7" | "moc12" | "moc15" | "moc18" | "mocX" | "mocBanned" | "mocUnrated"; moctwRating?: "moctwUnspecified" | "moctwG" | "moctwP" | "moctwPg" | "moctwR" | "moctwUnrated" | "moctwR12" | "moctwR15"; mpaaRating?: "mpaaUnspecified" | "mpaaG" | "mpaaPg" | "mpaaPg13" | "mpaaR" | "mpaaNc17" | "mpaaX" | "mpaaUnrated"; mpaatRating?: "mpaatUnspecified" | "mpaatGb" | "mpaatRb"; mtrcbRating?: "mtrcbUnspecified" | "mtrcbG" | "mtrcbPg" | "mtrcbR13" | "mtrcbR16" | "mtrcbR18" | "mtrcbX" | "mtrcbUnrated"; nbcRating?: "nbcUnspecified" | "nbcG" | "nbcPg" | "nbc12plus" | "nbc15plus" | "nbc18plus" | "nbc18plusr" | "nbcPu" | "nbcUnrated"; nbcplRating?: "nbcplUnspecified" | "nbcplI" | "nbcplIi" | "nbcplIii" | "nbcplIv" | "nbcpl18plus" | "nbcplUnrated"; nfrcRating?: "nfrcUnspecified" | "nfrcA" | "nfrcB" | "nfrcC" | "nfrcD" | "nfrcX" | "nfrcUnrated"; nfvcbRating?: "nfvcbUnspecified" | "nfvcbG" | "nfvcbPg" | "nfvcb12" | "nfvcb12a" | "nfvcb15" | "nfvcb18" | "nfvcbRe" | "nfvcbUnrated"; nkclvRating?: "nkclvUnspecified" | "nkclvU" | "nkclv7plus" | "nkclv12plus" | "nkclv16plus" | "nkclv18plus" | "nkclvUnrated"; nmcRating?: "nmcUnspecified" | "nmcG" | "nmcPg" | "nmcPg13" | "nmcPg15" | "nmc15plus" | "nmc18plus" | "nmc18tc" | "nmcUnrated"; oflcRating?: "oflcUnspecified" | "oflcG" | "oflcPg" | "oflcM" | "oflcR13" | "oflcR15" | "oflcR16" | "oflcR18" | "oflcUnrated" | "oflcRp13" | "oflcRp16" | "oflcRp18"; pefilmRating?: "pefilmUnspecified" | "pefilmPt" | "pefilmPg" | "pefilm14" | "pefilm18" | "pefilmUnrated"; rcnofRating?: "rcnofUnspecified" | "rcnofI" | "rcnofIi" | "rcnofIii" | "rcnofIv" | "rcnofV" | "rcnofVi" | "rcnofUnrated"; resorteviolenciaRating?: "resorteviolenciaUnspecified" | "resorteviolenciaA" | "resorteviolenciaB" | "resorteviolenciaC" | "resorteviolenciaD" | "resorteviolenciaE" | "resorteviolenciaUnrated"; rtcRating?: "rtcUnspecified" | "rtcAa" | "rtcA" | "rtcB" | "rtcB15" | "rtcC" | "rtcD" | "rtcUnrated"; rteRating?: "rteUnspecified" | "rteGa" | "rteCh" | "rtePs" | "rteMa" | "rteUnrated"; russiaRating?: "russiaUnspecified" | "russia0" | "russia6" | "russia12" | "russia16" | "russia18" | "russiaUnrated"; skfilmRating?: "skfilmUnspecified" | "skfilmG" | "skfilmP2" | "skfilmP5" | "skfilmP8" | "skfilmUnrated"; smaisRating?: "smaisUnspecified" | "smaisL" | "smais7" | "smais12" | "smais14" | "smais16" | "smais18" | "smaisUnrated"; smsaRating?: "smsaUnspecified" | "smsaA" | "smsa7" | "smsa11" | "smsa15" | "smsaUnrated"; tvpgRating?: "tvpgUnspecified" | "tvpgY" | "tvpgY7" | "tvpgY7Fv" | "tvpgG" | "tvpgPg" | "pg14" | "tvpgMa" | "tvpgUnrated"; ytRating?: "ytUnspecified" | "ytAgeRestricted" }; countryRestriction?: { allowed?: boolean; exception?: (string)[] }; definition?: "sd" | "hd"; dimension?: string; duration?: string; hasCustomThumbnail?: boolean; licensedContent?: boolean; projection?: "rectangular" | "360"; regionRestriction?: { allowed?: (string)[]; blocked?: (string)[] } }; etag?: string; fileDetails?: { audioStreams?: ({ bitrateBps?: string; channelCount?: number; codec?: string; vendor?: string })[]; bitrateBps?: string; container?: string; creationTime?: string; durationMs?: string; fileName?: string; fileSize?: string; fileType?: "video" | "audio" | "image" | "archive" | "document" | "project" | "other"; videoStreams?: ({ aspectRatio?: number; bitrateBps?: string; codec?: string; frameRateFps?: number; heightPixels?: number; rotation?: "none" | "clockwise" | "upsideDown" | "counterClockwise" | "other"; vendor?: string; widthPixels?: number })[] }; id?: string; kind?: string; liveStreamingDetails?: { activeLiveChatId?: string; actualEndTime?: string; actualStartTime?: string; concurrentViewers?: string; scheduledEndTime?: string; scheduledStartTime?: string }; localizations?: { [key: string]: { description?: string; title?: string } | undefined }; monetizationDetails?: { access?: { allowed?: boolean; exception?: (string)[] } }; player?: { embedHeight?: string; embedHtml?: string; embedWidth?: string }; processingDetails?: { editorSuggestionsAvailability?: string; fileDetailsAvailability?: string; processingFailureReason?: "uploadFailed" | "transcodeFailed" | "streamingFailed" | "other"; processingIssuesAvailability?: string; processingProgress?: { partsProcessed?: string; partsTotal?: string; timeLeftMs?: string }; processingStatus?: "processing" | "succeeded" | "failed" | "terminated"; tagSuggestionsAvailability?: string; thumbnailsAvailability?: string }; projectDetails?: { [key: string]: unknown }; recordingDetails?: { location?: { altitude?: number; latitude?: number; longitude?: number }; locationDescription?: string; recordingDate?: string }; snippet?: { categoryId?: string; channelId?: string; channelTitle?: string; defaultAudioLanguage?: string; defaultLanguage?: string; description?: string; liveBroadcastContent?: "none" | "upcoming" | "live" | "completed"; localized?: { description?: string; title?: string }; publishedAt?: string; tags?: (string)[]; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; statistics?: { commentCount?: string; dislikeCount?: string; favoriteCount?: string; likeCount?: string; viewCount?: string }; status?: { embeddable?: boolean; failureReason?: "conversion" | "invalidFile" | "emptyFile" | "tooSmall" | "codec" | "uploadAborted"; license?: "youtube" | "creativeCommon"; madeForKids?: boolean; privacyStatus?: "public" | "unlisted" | "private"; publicStatsViewable?: boolean; publishAt?: string; rejectionReason?: "copyright" | "inappropriate" | "duplicate" | "termsOfUse" | "uploaderAccountSuspended" | "length" | "claim" | "uploaderAccountClosed" | "trademark" | "legal"; selfDeclaredMadeForKids?: boolean; uploadStatus?: "uploaded" | "processed" | "failed" | "rejected" | "deleted" }; suggestions?: { editorSuggestions?: ("videoAutoLevels" | "videoStabilize" | "videoCrop" | "audioQuietAudioSwap")[]; processingErrors?: ("audioFile" | "imageFile" | "projectFile" | "notAVideoFile" | "docFile" | "archiveFile" | "unsupportedSpatialAudioLayout")[]; processingHints?: ("nonStreamableMov" | "sendBestQualityVideo" | "sphericalVideo" | "spatialAudio" | "vrVideo" | "hdrVideo")[]; processingWarnings?: ("unknownContainer" | "unknownVideoCodec" | "unknownAudioCodec" | "inconsistentResolution" | "hasEditlist" | "problematicVideoCodec" | "problematicAudioCodec" | "unsupportedVrStereoMode" | "unsupportedSphericalProjectionType" | "unsupportedHdrPixelFormat" | "unsupportedHdrColorMetadata" | "problematicHdrLookupTable")[]; tagSuggestions?: ({ categoryRestricts?: (string)[]; tag?: string })[] }; topicDetails?: { relevantTopicIds?: (string)[]; topicCategories?: (string)[]; topicIds?: (string)[] } })[]; kind?: string; nextPageToken?: string; pageInfo?: { resultsPerPage?: number; totalResults?: number }; prevPageToken?: string; tokenPagination?: { [key: string]: unknown }; visitorId?: string }>;
|
|
446
|
+
/**
|
|
447
|
+
* Adds a like or dislike rating to a video or removes a rating from a video.
|
|
448
|
+
* Tags: videos
|
|
449
|
+
* Access as: google/youtube.videosRate(input)
|
|
450
|
+
*/
|
|
451
|
+
videosRate: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; id: string; rating: "none" | "like" | "dislike" }) => Promise<unknown>;
|
|
452
|
+
/**
|
|
453
|
+
* Report abuse for a video.
|
|
454
|
+
* Tags: videos
|
|
455
|
+
* Access as: google/youtube.videosReportAbuse(input)
|
|
456
|
+
*/
|
|
457
|
+
videosReportAbuse: (input: { comments?: string; language?: string; reasonId?: string; secondaryReasonId?: string; videoId?: string; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; onBehalfOfContentOwner?: string }) => Promise<unknown>;
|
|
458
|
+
/**
|
|
459
|
+
* Updates an existing resource.
|
|
460
|
+
* Tags: videos
|
|
461
|
+
* Access as: google/youtube.videosUpdate(input)
|
|
462
|
+
*/
|
|
463
|
+
videosUpdate: (input: { ageGating?: { alcoholContent?: boolean; restricted?: boolean; videoGameRating?: "anyone" | "m15Plus" | "m16Plus" | "m17Plus" }; contentDetails?: { caption?: "true" | "false"; contentRating?: { acbRating?: "acbUnspecified" | "acbE" | "acbP" | "acbC" | "acbG" | "acbPg" | "acbM" | "acbMa15plus" | "acbR18plus" | "acbUnrated"; agcomRating?: "agcomUnspecified" | "agcomT" | "agcomVm14" | "agcomVm18" | "agcomUnrated"; anatelRating?: "anatelUnspecified" | "anatelF" | "anatelI" | "anatelI7" | "anatelI10" | "anatelI12" | "anatelR" | "anatelA" | "anatelUnrated"; bbfcRating?: "bbfcUnspecified" | "bbfcU" | "bbfcPg" | "bbfc12a" | "bbfc12" | "bbfc15" | "bbfc18" | "bbfcR18" | "bbfcUnrated"; bfvcRating?: "bfvcUnspecified" | "bfvcG" | "bfvcE" | "bfvc13" | "bfvc15" | "bfvc18" | "bfvc20" | "bfvcB" | "bfvcUnrated"; bmukkRating?: "bmukkUnspecified" | "bmukkAa" | "bmukk6" | "bmukk8" | "bmukk10" | "bmukk12" | "bmukk14" | "bmukk16" | "bmukkUnrated"; catvRating?: "catvUnspecified" | "catvC" | "catvC8" | "catvG" | "catvPg" | "catv14plus" | "catv18plus" | "catvUnrated" | "catvE"; catvfrRating?: "catvfrUnspecified" | "catvfrG" | "catvfr8plus" | "catvfr13plus" | "catvfr16plus" | "catvfr18plus" | "catvfrUnrated" | "catvfrE"; cbfcRating?: "cbfcUnspecified" | "cbfcU" | "cbfcUA" | "cbfcUA7plus" | "cbfcUA13plus" | "cbfcUA16plus" | "cbfcA" | "cbfcS" | "cbfcUnrated"; cccRating?: "cccUnspecified" | "cccTe" | "ccc6" | "ccc14" | "ccc18" | "ccc18v" | "ccc18s" | "cccUnrated"; cceRating?: "cceUnspecified" | "cceM4" | "cceM6" | "cceM12" | "cceM16" | "cceM18" | "cceUnrated" | "cceM14"; chfilmRating?: "chfilmUnspecified" | "chfilm0" | "chfilm6" | "chfilm12" | "chfilm16" | "chfilm18" | "chfilmUnrated"; chvrsRating?: "chvrsUnspecified" | "chvrsG" | "chvrsPg" | "chvrs14a" | "chvrs18a" | "chvrsR" | "chvrsE" | "chvrsUnrated"; cicfRating?: "cicfUnspecified" | "cicfE" | "cicfKtEa" | "cicfKntEna" | "cicfUnrated"; cnaRating?: "cnaUnspecified" | "cnaAp" | "cna12" | "cna15" | "cna18" | "cna18plus" | "cnaUnrated"; cncRating?: "cncUnspecified" | "cncT" | "cnc10" | "cnc12" | "cnc16" | "cnc18" | "cncE" | "cncInterdiction" | "cncUnrated"; csaRating?: "csaUnspecified" | "csaT" | "csa10" | "csa12" | "csa16" | "csa18" | "csaInterdiction" | "csaUnrated"; cscfRating?: "cscfUnspecified" | "cscfAl" | "cscfA" | "cscf6" | "cscf9" | "cscf12" | "cscf16" | "cscf18" | "cscfUnrated"; czfilmRating?: "czfilmUnspecified" | "czfilmU" | "czfilm12" | "czfilm14" | "czfilm18" | "czfilmUnrated"; djctqRating?: "djctqUnspecified" | "djctqL" | "djctq10" | "djctq12" | "djctq14" | "djctq16" | "djctq18" | "djctqEr" | "djctqL10" | "djctqL12" | "djctqL14" | "djctqL16" | "djctqL18" | "djctq1012" | "djctq1014" | "djctq1016" | "djctq1018" | "djctq1214" | "djctq1216" | "djctq1218" | "djctq1416" | "djctq1418" | "djctq1618" | "djctqUnrated"; djctqRatingReasons?: ("djctqRatingReasonUnspecified" | "djctqViolence" | "djctqExtremeViolence" | "djctqSexualContent" | "djctqNudity" | "djctqSex" | "djctqExplicitSex" | "djctqDrugs" | "djctqLegalDrugs" | "djctqIllegalDrugs" | "djctqInappropriateLanguage" | "djctqCriminalActs" | "djctqImpactingContent")[]; ecbmctRating?: "ecbmctUnspecified" | "ecbmctG" | "ecbmct7a" | "ecbmct7plus" | "ecbmct13a" | "ecbmct13plus" | "ecbmct15a" | "ecbmct15plus" | "ecbmct18plus" | "ecbmctUnrated"; eefilmRating?: "eefilmUnspecified" | "eefilmPere" | "eefilmL" | "eefilmMs6" | "eefilmK6" | "eefilmMs12" | "eefilmK12" | "eefilmK14" | "eefilmK16" | "eefilmUnrated"; egfilmRating?: "egfilmUnspecified" | "egfilmGn" | "egfilm18" | "egfilmBn" | "egfilmUnrated"; eirinRating?: "eirinUnspecified" | "eirinG" | "eirinPg12" | "eirinR15plus" | "eirinR18plus" | "eirinUnrated"; fcbmRating?: "fcbmUnspecified" | "fcbmU" | "fcbmPg13" | "fcbmP13" | "fcbm18" | "fcbm18sx" | "fcbm18pa" | "fcbm18sg" | "fcbm18pl" | "fcbmUnrated"; fcoRating?: "fcoUnspecified" | "fcoI" | "fcoIia" | "fcoIib" | "fcoIi" | "fcoIii" | "fcoUnrated"; fmocRating?: "fmocUnspecified" | "fmocU" | "fmoc10" | "fmoc12" | "fmoc16" | "fmoc18" | "fmocE" | "fmocUnrated"; fpbRating?: "fpbUnspecified" | "fpbA" | "fpbPg" | "fpb79Pg" | "fpb1012Pg" | "fpb13" | "fpb16" | "fpb18" | "fpbX18" | "fpbXx" | "fpbUnrated" | "fpb10"; fpbRatingReasons?: ("fpbRatingReasonUnspecified" | "fpbBlasphemy" | "fpbLanguage" | "fpbNudity" | "fpbPrejudice" | "fpbSex" | "fpbViolence" | "fpbDrugs" | "fpbSexualViolence" | "fpbHorror" | "fpbCriminalTechniques" | "fpbImitativeActsTechniques")[]; fskRating?: "fskUnspecified" | "fsk0" | "fsk6" | "fsk12" | "fsk16" | "fsk18" | "fskUnrated"; grfilmRating?: "grfilmUnspecified" | "grfilmK" | "grfilmE" | "grfilmK12" | "grfilmK13" | "grfilmK15" | "grfilmK17" | "grfilmK18" | "grfilmUnrated"; icaaRating?: "icaaUnspecified" | "icaaApta" | "icaa7" | "icaa12" | "icaa13" | "icaa16" | "icaa18" | "icaaX" | "icaaUnrated"; ifcoRating?: "ifcoUnspecified" | "ifcoG" | "ifcoPg" | "ifco12" | "ifco12a" | "ifco15" | "ifco15a" | "ifco16" | "ifco18" | "ifcoUnrated"; ilfilmRating?: "ilfilmUnspecified" | "ilfilmAa" | "ilfilm12" | "ilfilm14" | "ilfilm16" | "ilfilm18" | "ilfilmUnrated"; incaaRating?: "incaaUnspecified" | "incaaAtp" | "incaaSam13" | "incaaSam16" | "incaaSam18" | "incaaC" | "incaaUnrated"; kfcbRating?: "kfcbUnspecified" | "kfcbG" | "kfcbPg" | "kfcb16plus" | "kfcbR" | "kfcbUnrated"; kijkwijzerRating?: "kijkwijzerUnspecified" | "kijkwijzerAl" | "kijkwijzer6" | "kijkwijzer9" | "kijkwijzer12" | "kijkwijzer16" | "kijkwijzer18" | "kijkwijzerUnrated"; kmrbRating?: "kmrbUnspecified" | "kmrbAll" | "kmrb12plus" | "kmrb15plus" | "kmrbTeenr" | "kmrbR" | "kmrbUnrated"; lsfRating?: "lsfUnspecified" | "lsfSu" | "lsfA" | "lsfBo" | "lsf13" | "lsfR" | "lsf17" | "lsfD" | "lsf21" | "lsfUnrated"; mccaaRating?: "mccaaUnspecified" | "mccaaU" | "mccaaPg" | "mccaa12a" | "mccaa12" | "mccaa14" | "mccaa15" | "mccaa16" | "mccaa18" | "mccaaUnrated"; mccypRating?: "mccypUnspecified" | "mccypA" | "mccyp7" | "mccyp11" | "mccyp15" | "mccypUnrated"; mcstRating?: "mcstUnspecified" | "mcstP" | "mcst0" | "mcstC13" | "mcstC16" | "mcst16plus" | "mcstC18" | "mcstGPg" | "mcstUnrated"; mdaRating?: "mdaUnspecified" | "mdaG" | "mdaPg" | "mdaPg13" | "mdaNc16" | "mdaM18" | "mdaR21" | "mdaUnrated"; medietilsynetRating?: "medietilsynetUnspecified" | "medietilsynetA" | "medietilsynet6" | "medietilsynet7" | "medietilsynet9" | "medietilsynet11" | "medietilsynet12" | "medietilsynet15" | "medietilsynet18" | "medietilsynetUnrated"; mekuRating?: "mekuUnspecified" | "mekuS" | "meku7" | "meku12" | "meku16" | "meku18" | "mekuUnrated"; menaMpaaRating?: "menaMpaaUnspecified" | "menaMpaaG" | "menaMpaaPg" | "menaMpaaPg13" | "menaMpaaR" | "menaMpaaUnrated"; mibacRating?: "mibacUnspecified" | "mibacT" | "mibacVap" | "mibacVm6" | "mibacVm12" | "mibacVm14" | "mibacVm16" | "mibacVm18" | "mibacUnrated"; mocRating?: "mocUnspecified" | "mocE" | "mocT" | "moc7" | "moc12" | "moc15" | "moc18" | "mocX" | "mocBanned" | "mocUnrated"; moctwRating?: "moctwUnspecified" | "moctwG" | "moctwP" | "moctwPg" | "moctwR" | "moctwUnrated" | "moctwR12" | "moctwR15"; mpaaRating?: "mpaaUnspecified" | "mpaaG" | "mpaaPg" | "mpaaPg13" | "mpaaR" | "mpaaNc17" | "mpaaX" | "mpaaUnrated"; mpaatRating?: "mpaatUnspecified" | "mpaatGb" | "mpaatRb"; mtrcbRating?: "mtrcbUnspecified" | "mtrcbG" | "mtrcbPg" | "mtrcbR13" | "mtrcbR16" | "mtrcbR18" | "mtrcbX" | "mtrcbUnrated"; nbcRating?: "nbcUnspecified" | "nbcG" | "nbcPg" | "nbc12plus" | "nbc15plus" | "nbc18plus" | "nbc18plusr" | "nbcPu" | "nbcUnrated"; nbcplRating?: "nbcplUnspecified" | "nbcplI" | "nbcplIi" | "nbcplIii" | "nbcplIv" | "nbcpl18plus" | "nbcplUnrated"; nfrcRating?: "nfrcUnspecified" | "nfrcA" | "nfrcB" | "nfrcC" | "nfrcD" | "nfrcX" | "nfrcUnrated"; nfvcbRating?: "nfvcbUnspecified" | "nfvcbG" | "nfvcbPg" | "nfvcb12" | "nfvcb12a" | "nfvcb15" | "nfvcb18" | "nfvcbRe" | "nfvcbUnrated"; nkclvRating?: "nkclvUnspecified" | "nkclvU" | "nkclv7plus" | "nkclv12plus" | "nkclv16plus" | "nkclv18plus" | "nkclvUnrated"; nmcRating?: "nmcUnspecified" | "nmcG" | "nmcPg" | "nmcPg13" | "nmcPg15" | "nmc15plus" | "nmc18plus" | "nmc18tc" | "nmcUnrated"; oflcRating?: "oflcUnspecified" | "oflcG" | "oflcPg" | "oflcM" | "oflcR13" | "oflcR15" | "oflcR16" | "oflcR18" | "oflcUnrated" | "oflcRp13" | "oflcRp16" | "oflcRp18"; pefilmRating?: "pefilmUnspecified" | "pefilmPt" | "pefilmPg" | "pefilm14" | "pefilm18" | "pefilmUnrated"; rcnofRating?: "rcnofUnspecified" | "rcnofI" | "rcnofIi" | "rcnofIii" | "rcnofIv" | "rcnofV" | "rcnofVi" | "rcnofUnrated"; resorteviolenciaRating?: "resorteviolenciaUnspecified" | "resorteviolenciaA" | "resorteviolenciaB" | "resorteviolenciaC" | "resorteviolenciaD" | "resorteviolenciaE" | "resorteviolenciaUnrated"; rtcRating?: "rtcUnspecified" | "rtcAa" | "rtcA" | "rtcB" | "rtcB15" | "rtcC" | "rtcD" | "rtcUnrated"; rteRating?: "rteUnspecified" | "rteGa" | "rteCh" | "rtePs" | "rteMa" | "rteUnrated"; russiaRating?: "russiaUnspecified" | "russia0" | "russia6" | "russia12" | "russia16" | "russia18" | "russiaUnrated"; skfilmRating?: "skfilmUnspecified" | "skfilmG" | "skfilmP2" | "skfilmP5" | "skfilmP8" | "skfilmUnrated"; smaisRating?: "smaisUnspecified" | "smaisL" | "smais7" | "smais12" | "smais14" | "smais16" | "smais18" | "smaisUnrated"; smsaRating?: "smsaUnspecified" | "smsaA" | "smsa7" | "smsa11" | "smsa15" | "smsaUnrated"; tvpgRating?: "tvpgUnspecified" | "tvpgY" | "tvpgY7" | "tvpgY7Fv" | "tvpgG" | "tvpgPg" | "pg14" | "tvpgMa" | "tvpgUnrated"; ytRating?: "ytUnspecified" | "ytAgeRestricted" }; countryRestriction?: { allowed?: boolean; exception?: (string)[] }; definition?: "sd" | "hd"; dimension?: string; duration?: string; hasCustomThumbnail?: boolean; licensedContent?: boolean; projection?: "rectangular" | "360"; regionRestriction?: { allowed?: (string)[]; blocked?: (string)[] } }; etag?: string; fileDetails?: { audioStreams?: ({ bitrateBps?: string; channelCount?: number; codec?: string; vendor?: string })[]; bitrateBps?: string; container?: string; creationTime?: string; durationMs?: string; fileName?: string; fileSize?: string; fileType?: "video" | "audio" | "image" | "archive" | "document" | "project" | "other"; videoStreams?: ({ aspectRatio?: number; bitrateBps?: string; codec?: string; frameRateFps?: number; heightPixels?: number; rotation?: "none" | "clockwise" | "upsideDown" | "counterClockwise" | "other"; vendor?: string; widthPixels?: number })[] }; id?: string; kind?: string; liveStreamingDetails?: { activeLiveChatId?: string; actualEndTime?: string; actualStartTime?: string; concurrentViewers?: string; scheduledEndTime?: string; scheduledStartTime?: string }; localizations?: { [key: string]: { description?: string; title?: string } | undefined }; monetizationDetails?: { access?: { allowed?: boolean; exception?: (string)[] } }; player?: { embedHeight?: string; embedHtml?: string; embedWidth?: string }; processingDetails?: { editorSuggestionsAvailability?: string; fileDetailsAvailability?: string; processingFailureReason?: "uploadFailed" | "transcodeFailed" | "streamingFailed" | "other"; processingIssuesAvailability?: string; processingProgress?: { partsProcessed?: string; partsTotal?: string; timeLeftMs?: string }; processingStatus?: "processing" | "succeeded" | "failed" | "terminated"; tagSuggestionsAvailability?: string; thumbnailsAvailability?: string }; projectDetails?: { [key: string]: unknown }; recordingDetails?: { location?: { altitude?: number; latitude?: number; longitude?: number }; locationDescription?: string; recordingDate?: string }; snippet?: { categoryId?: string; channelId?: string; channelTitle?: string; defaultAudioLanguage?: string; defaultLanguage?: string; description?: string; liveBroadcastContent?: "none" | "upcoming" | "live" | "completed"; localized?: { description?: string; title?: string }; publishedAt?: string; tags?: (string)[]; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; statistics?: { commentCount?: string; dislikeCount?: string; favoriteCount?: string; likeCount?: string; viewCount?: string }; status?: { embeddable?: boolean; failureReason?: "conversion" | "invalidFile" | "emptyFile" | "tooSmall" | "codec" | "uploadAborted"; license?: "youtube" | "creativeCommon"; madeForKids?: boolean; privacyStatus?: "public" | "unlisted" | "private"; publicStatsViewable?: boolean; publishAt?: string; rejectionReason?: "copyright" | "inappropriate" | "duplicate" | "termsOfUse" | "uploaderAccountSuspended" | "length" | "claim" | "uploaderAccountClosed" | "trademark" | "legal"; selfDeclaredMadeForKids?: boolean; uploadStatus?: "uploaded" | "processed" | "failed" | "rejected" | "deleted" }; suggestions?: { editorSuggestions?: ("videoAutoLevels" | "videoStabilize" | "videoCrop" | "audioQuietAudioSwap")[]; processingErrors?: ("audioFile" | "imageFile" | "projectFile" | "notAVideoFile" | "docFile" | "archiveFile" | "unsupportedSpatialAudioLayout")[]; processingHints?: ("nonStreamableMov" | "sendBestQualityVideo" | "sphericalVideo" | "spatialAudio" | "vrVideo" | "hdrVideo")[]; processingWarnings?: ("unknownContainer" | "unknownVideoCodec" | "unknownAudioCodec" | "inconsistentResolution" | "hasEditlist" | "problematicVideoCodec" | "problematicAudioCodec" | "unsupportedVrStereoMode" | "unsupportedSphericalProjectionType" | "unsupportedHdrPixelFormat" | "unsupportedHdrColorMetadata" | "problematicHdrLookupTable")[]; tagSuggestions?: ({ categoryRestricts?: (string)[]; tag?: string })[] }; topicDetails?: { relevantTopicIds?: (string)[]; topicCategories?: (string)[]; topicIds?: (string)[] }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part: (string)[]; onBehalfOfContentOwner?: string }) => Promise<{ ageGating?: { alcoholContent?: boolean; restricted?: boolean; videoGameRating?: "anyone" | "m15Plus" | "m16Plus" | "m17Plus" }; contentDetails?: { caption?: "true" | "false"; contentRating?: { acbRating?: "acbUnspecified" | "acbE" | "acbP" | "acbC" | "acbG" | "acbPg" | "acbM" | "acbMa15plus" | "acbR18plus" | "acbUnrated"; agcomRating?: "agcomUnspecified" | "agcomT" | "agcomVm14" | "agcomVm18" | "agcomUnrated"; anatelRating?: "anatelUnspecified" | "anatelF" | "anatelI" | "anatelI7" | "anatelI10" | "anatelI12" | "anatelR" | "anatelA" | "anatelUnrated"; bbfcRating?: "bbfcUnspecified" | "bbfcU" | "bbfcPg" | "bbfc12a" | "bbfc12" | "bbfc15" | "bbfc18" | "bbfcR18" | "bbfcUnrated"; bfvcRating?: "bfvcUnspecified" | "bfvcG" | "bfvcE" | "bfvc13" | "bfvc15" | "bfvc18" | "bfvc20" | "bfvcB" | "bfvcUnrated"; bmukkRating?: "bmukkUnspecified" | "bmukkAa" | "bmukk6" | "bmukk8" | "bmukk10" | "bmukk12" | "bmukk14" | "bmukk16" | "bmukkUnrated"; catvRating?: "catvUnspecified" | "catvC" | "catvC8" | "catvG" | "catvPg" | "catv14plus" | "catv18plus" | "catvUnrated" | "catvE"; catvfrRating?: "catvfrUnspecified" | "catvfrG" | "catvfr8plus" | "catvfr13plus" | "catvfr16plus" | "catvfr18plus" | "catvfrUnrated" | "catvfrE"; cbfcRating?: "cbfcUnspecified" | "cbfcU" | "cbfcUA" | "cbfcUA7plus" | "cbfcUA13plus" | "cbfcUA16plus" | "cbfcA" | "cbfcS" | "cbfcUnrated"; cccRating?: "cccUnspecified" | "cccTe" | "ccc6" | "ccc14" | "ccc18" | "ccc18v" | "ccc18s" | "cccUnrated"; cceRating?: "cceUnspecified" | "cceM4" | "cceM6" | "cceM12" | "cceM16" | "cceM18" | "cceUnrated" | "cceM14"; chfilmRating?: "chfilmUnspecified" | "chfilm0" | "chfilm6" | "chfilm12" | "chfilm16" | "chfilm18" | "chfilmUnrated"; chvrsRating?: "chvrsUnspecified" | "chvrsG" | "chvrsPg" | "chvrs14a" | "chvrs18a" | "chvrsR" | "chvrsE" | "chvrsUnrated"; cicfRating?: "cicfUnspecified" | "cicfE" | "cicfKtEa" | "cicfKntEna" | "cicfUnrated"; cnaRating?: "cnaUnspecified" | "cnaAp" | "cna12" | "cna15" | "cna18" | "cna18plus" | "cnaUnrated"; cncRating?: "cncUnspecified" | "cncT" | "cnc10" | "cnc12" | "cnc16" | "cnc18" | "cncE" | "cncInterdiction" | "cncUnrated"; csaRating?: "csaUnspecified" | "csaT" | "csa10" | "csa12" | "csa16" | "csa18" | "csaInterdiction" | "csaUnrated"; cscfRating?: "cscfUnspecified" | "cscfAl" | "cscfA" | "cscf6" | "cscf9" | "cscf12" | "cscf16" | "cscf18" | "cscfUnrated"; czfilmRating?: "czfilmUnspecified" | "czfilmU" | "czfilm12" | "czfilm14" | "czfilm18" | "czfilmUnrated"; djctqRating?: "djctqUnspecified" | "djctqL" | "djctq10" | "djctq12" | "djctq14" | "djctq16" | "djctq18" | "djctqEr" | "djctqL10" | "djctqL12" | "djctqL14" | "djctqL16" | "djctqL18" | "djctq1012" | "djctq1014" | "djctq1016" | "djctq1018" | "djctq1214" | "djctq1216" | "djctq1218" | "djctq1416" | "djctq1418" | "djctq1618" | "djctqUnrated"; djctqRatingReasons?: ("djctqRatingReasonUnspecified" | "djctqViolence" | "djctqExtremeViolence" | "djctqSexualContent" | "djctqNudity" | "djctqSex" | "djctqExplicitSex" | "djctqDrugs" | "djctqLegalDrugs" | "djctqIllegalDrugs" | "djctqInappropriateLanguage" | "djctqCriminalActs" | "djctqImpactingContent")[]; ecbmctRating?: "ecbmctUnspecified" | "ecbmctG" | "ecbmct7a" | "ecbmct7plus" | "ecbmct13a" | "ecbmct13plus" | "ecbmct15a" | "ecbmct15plus" | "ecbmct18plus" | "ecbmctUnrated"; eefilmRating?: "eefilmUnspecified" | "eefilmPere" | "eefilmL" | "eefilmMs6" | "eefilmK6" | "eefilmMs12" | "eefilmK12" | "eefilmK14" | "eefilmK16" | "eefilmUnrated"; egfilmRating?: "egfilmUnspecified" | "egfilmGn" | "egfilm18" | "egfilmBn" | "egfilmUnrated"; eirinRating?: "eirinUnspecified" | "eirinG" | "eirinPg12" | "eirinR15plus" | "eirinR18plus" | "eirinUnrated"; fcbmRating?: "fcbmUnspecified" | "fcbmU" | "fcbmPg13" | "fcbmP13" | "fcbm18" | "fcbm18sx" | "fcbm18pa" | "fcbm18sg" | "fcbm18pl" | "fcbmUnrated"; fcoRating?: "fcoUnspecified" | "fcoI" | "fcoIia" | "fcoIib" | "fcoIi" | "fcoIii" | "fcoUnrated"; fmocRating?: "fmocUnspecified" | "fmocU" | "fmoc10" | "fmoc12" | "fmoc16" | "fmoc18" | "fmocE" | "fmocUnrated"; fpbRating?: "fpbUnspecified" | "fpbA" | "fpbPg" | "fpb79Pg" | "fpb1012Pg" | "fpb13" | "fpb16" | "fpb18" | "fpbX18" | "fpbXx" | "fpbUnrated" | "fpb10"; fpbRatingReasons?: ("fpbRatingReasonUnspecified" | "fpbBlasphemy" | "fpbLanguage" | "fpbNudity" | "fpbPrejudice" | "fpbSex" | "fpbViolence" | "fpbDrugs" | "fpbSexualViolence" | "fpbHorror" | "fpbCriminalTechniques" | "fpbImitativeActsTechniques")[]; fskRating?: "fskUnspecified" | "fsk0" | "fsk6" | "fsk12" | "fsk16" | "fsk18" | "fskUnrated"; grfilmRating?: "grfilmUnspecified" | "grfilmK" | "grfilmE" | "grfilmK12" | "grfilmK13" | "grfilmK15" | "grfilmK17" | "grfilmK18" | "grfilmUnrated"; icaaRating?: "icaaUnspecified" | "icaaApta" | "icaa7" | "icaa12" | "icaa13" | "icaa16" | "icaa18" | "icaaX" | "icaaUnrated"; ifcoRating?: "ifcoUnspecified" | "ifcoG" | "ifcoPg" | "ifco12" | "ifco12a" | "ifco15" | "ifco15a" | "ifco16" | "ifco18" | "ifcoUnrated"; ilfilmRating?: "ilfilmUnspecified" | "ilfilmAa" | "ilfilm12" | "ilfilm14" | "ilfilm16" | "ilfilm18" | "ilfilmUnrated"; incaaRating?: "incaaUnspecified" | "incaaAtp" | "incaaSam13" | "incaaSam16" | "incaaSam18" | "incaaC" | "incaaUnrated"; kfcbRating?: "kfcbUnspecified" | "kfcbG" | "kfcbPg" | "kfcb16plus" | "kfcbR" | "kfcbUnrated"; kijkwijzerRating?: "kijkwijzerUnspecified" | "kijkwijzerAl" | "kijkwijzer6" | "kijkwijzer9" | "kijkwijzer12" | "kijkwijzer16" | "kijkwijzer18" | "kijkwijzerUnrated"; kmrbRating?: "kmrbUnspecified" | "kmrbAll" | "kmrb12plus" | "kmrb15plus" | "kmrbTeenr" | "kmrbR" | "kmrbUnrated"; lsfRating?: "lsfUnspecified" | "lsfSu" | "lsfA" | "lsfBo" | "lsf13" | "lsfR" | "lsf17" | "lsfD" | "lsf21" | "lsfUnrated"; mccaaRating?: "mccaaUnspecified" | "mccaaU" | "mccaaPg" | "mccaa12a" | "mccaa12" | "mccaa14" | "mccaa15" | "mccaa16" | "mccaa18" | "mccaaUnrated"; mccypRating?: "mccypUnspecified" | "mccypA" | "mccyp7" | "mccyp11" | "mccyp15" | "mccypUnrated"; mcstRating?: "mcstUnspecified" | "mcstP" | "mcst0" | "mcstC13" | "mcstC16" | "mcst16plus" | "mcstC18" | "mcstGPg" | "mcstUnrated"; mdaRating?: "mdaUnspecified" | "mdaG" | "mdaPg" | "mdaPg13" | "mdaNc16" | "mdaM18" | "mdaR21" | "mdaUnrated"; medietilsynetRating?: "medietilsynetUnspecified" | "medietilsynetA" | "medietilsynet6" | "medietilsynet7" | "medietilsynet9" | "medietilsynet11" | "medietilsynet12" | "medietilsynet15" | "medietilsynet18" | "medietilsynetUnrated"; mekuRating?: "mekuUnspecified" | "mekuS" | "meku7" | "meku12" | "meku16" | "meku18" | "mekuUnrated"; menaMpaaRating?: "menaMpaaUnspecified" | "menaMpaaG" | "menaMpaaPg" | "menaMpaaPg13" | "menaMpaaR" | "menaMpaaUnrated"; mibacRating?: "mibacUnspecified" | "mibacT" | "mibacVap" | "mibacVm6" | "mibacVm12" | "mibacVm14" | "mibacVm16" | "mibacVm18" | "mibacUnrated"; mocRating?: "mocUnspecified" | "mocE" | "mocT" | "moc7" | "moc12" | "moc15" | "moc18" | "mocX" | "mocBanned" | "mocUnrated"; moctwRating?: "moctwUnspecified" | "moctwG" | "moctwP" | "moctwPg" | "moctwR" | "moctwUnrated" | "moctwR12" | "moctwR15"; mpaaRating?: "mpaaUnspecified" | "mpaaG" | "mpaaPg" | "mpaaPg13" | "mpaaR" | "mpaaNc17" | "mpaaX" | "mpaaUnrated"; mpaatRating?: "mpaatUnspecified" | "mpaatGb" | "mpaatRb"; mtrcbRating?: "mtrcbUnspecified" | "mtrcbG" | "mtrcbPg" | "mtrcbR13" | "mtrcbR16" | "mtrcbR18" | "mtrcbX" | "mtrcbUnrated"; nbcRating?: "nbcUnspecified" | "nbcG" | "nbcPg" | "nbc12plus" | "nbc15plus" | "nbc18plus" | "nbc18plusr" | "nbcPu" | "nbcUnrated"; nbcplRating?: "nbcplUnspecified" | "nbcplI" | "nbcplIi" | "nbcplIii" | "nbcplIv" | "nbcpl18plus" | "nbcplUnrated"; nfrcRating?: "nfrcUnspecified" | "nfrcA" | "nfrcB" | "nfrcC" | "nfrcD" | "nfrcX" | "nfrcUnrated"; nfvcbRating?: "nfvcbUnspecified" | "nfvcbG" | "nfvcbPg" | "nfvcb12" | "nfvcb12a" | "nfvcb15" | "nfvcb18" | "nfvcbRe" | "nfvcbUnrated"; nkclvRating?: "nkclvUnspecified" | "nkclvU" | "nkclv7plus" | "nkclv12plus" | "nkclv16plus" | "nkclv18plus" | "nkclvUnrated"; nmcRating?: "nmcUnspecified" | "nmcG" | "nmcPg" | "nmcPg13" | "nmcPg15" | "nmc15plus" | "nmc18plus" | "nmc18tc" | "nmcUnrated"; oflcRating?: "oflcUnspecified" | "oflcG" | "oflcPg" | "oflcM" | "oflcR13" | "oflcR15" | "oflcR16" | "oflcR18" | "oflcUnrated" | "oflcRp13" | "oflcRp16" | "oflcRp18"; pefilmRating?: "pefilmUnspecified" | "pefilmPt" | "pefilmPg" | "pefilm14" | "pefilm18" | "pefilmUnrated"; rcnofRating?: "rcnofUnspecified" | "rcnofI" | "rcnofIi" | "rcnofIii" | "rcnofIv" | "rcnofV" | "rcnofVi" | "rcnofUnrated"; resorteviolenciaRating?: "resorteviolenciaUnspecified" | "resorteviolenciaA" | "resorteviolenciaB" | "resorteviolenciaC" | "resorteviolenciaD" | "resorteviolenciaE" | "resorteviolenciaUnrated"; rtcRating?: "rtcUnspecified" | "rtcAa" | "rtcA" | "rtcB" | "rtcB15" | "rtcC" | "rtcD" | "rtcUnrated"; rteRating?: "rteUnspecified" | "rteGa" | "rteCh" | "rtePs" | "rteMa" | "rteUnrated"; russiaRating?: "russiaUnspecified" | "russia0" | "russia6" | "russia12" | "russia16" | "russia18" | "russiaUnrated"; skfilmRating?: "skfilmUnspecified" | "skfilmG" | "skfilmP2" | "skfilmP5" | "skfilmP8" | "skfilmUnrated"; smaisRating?: "smaisUnspecified" | "smaisL" | "smais7" | "smais12" | "smais14" | "smais16" | "smais18" | "smaisUnrated"; smsaRating?: "smsaUnspecified" | "smsaA" | "smsa7" | "smsa11" | "smsa15" | "smsaUnrated"; tvpgRating?: "tvpgUnspecified" | "tvpgY" | "tvpgY7" | "tvpgY7Fv" | "tvpgG" | "tvpgPg" | "pg14" | "tvpgMa" | "tvpgUnrated"; ytRating?: "ytUnspecified" | "ytAgeRestricted" }; countryRestriction?: { allowed?: boolean; exception?: (string)[] }; definition?: "sd" | "hd"; dimension?: string; duration?: string; hasCustomThumbnail?: boolean; licensedContent?: boolean; projection?: "rectangular" | "360"; regionRestriction?: { allowed?: (string)[]; blocked?: (string)[] } }; etag?: string; fileDetails?: { audioStreams?: ({ bitrateBps?: string; channelCount?: number; codec?: string; vendor?: string })[]; bitrateBps?: string; container?: string; creationTime?: string; durationMs?: string; fileName?: string; fileSize?: string; fileType?: "video" | "audio" | "image" | "archive" | "document" | "project" | "other"; videoStreams?: ({ aspectRatio?: number; bitrateBps?: string; codec?: string; frameRateFps?: number; heightPixels?: number; rotation?: "none" | "clockwise" | "upsideDown" | "counterClockwise" | "other"; vendor?: string; widthPixels?: number })[] }; id?: string; kind?: string; liveStreamingDetails?: { activeLiveChatId?: string; actualEndTime?: string; actualStartTime?: string; concurrentViewers?: string; scheduledEndTime?: string; scheduledStartTime?: string }; localizations?: { [key: string]: { description?: string; title?: string } | undefined }; monetizationDetails?: { access?: { allowed?: boolean; exception?: (string)[] } }; player?: { embedHeight?: string; embedHtml?: string; embedWidth?: string }; processingDetails?: { editorSuggestionsAvailability?: string; fileDetailsAvailability?: string; processingFailureReason?: "uploadFailed" | "transcodeFailed" | "streamingFailed" | "other"; processingIssuesAvailability?: string; processingProgress?: { partsProcessed?: string; partsTotal?: string; timeLeftMs?: string }; processingStatus?: "processing" | "succeeded" | "failed" | "terminated"; tagSuggestionsAvailability?: string; thumbnailsAvailability?: string }; projectDetails?: { [key: string]: unknown }; recordingDetails?: { location?: { altitude?: number; latitude?: number; longitude?: number }; locationDescription?: string; recordingDate?: string }; snippet?: { categoryId?: string; channelId?: string; channelTitle?: string; defaultAudioLanguage?: string; defaultLanguage?: string; description?: string; liveBroadcastContent?: "none" | "upcoming" | "live" | "completed"; localized?: { description?: string; title?: string }; publishedAt?: string; tags?: (string)[]; thumbnails?: { high?: { height?: number; url?: string; width?: number }; maxres?: { height?: number; url?: string; width?: number }; medium?: { height?: number; url?: string; width?: number }; standard?: { height?: number; url?: string; width?: number } }; title?: string }; statistics?: { commentCount?: string; dislikeCount?: string; favoriteCount?: string; likeCount?: string; viewCount?: string }; status?: { embeddable?: boolean; failureReason?: "conversion" | "invalidFile" | "emptyFile" | "tooSmall" | "codec" | "uploadAborted"; license?: "youtube" | "creativeCommon"; madeForKids?: boolean; privacyStatus?: "public" | "unlisted" | "private"; publicStatsViewable?: boolean; publishAt?: string; rejectionReason?: "copyright" | "inappropriate" | "duplicate" | "termsOfUse" | "uploaderAccountSuspended" | "length" | "claim" | "uploaderAccountClosed" | "trademark" | "legal"; selfDeclaredMadeForKids?: boolean; uploadStatus?: "uploaded" | "processed" | "failed" | "rejected" | "deleted" }; suggestions?: { editorSuggestions?: ("videoAutoLevels" | "videoStabilize" | "videoCrop" | "audioQuietAudioSwap")[]; processingErrors?: ("audioFile" | "imageFile" | "projectFile" | "notAVideoFile" | "docFile" | "archiveFile" | "unsupportedSpatialAudioLayout")[]; processingHints?: ("nonStreamableMov" | "sendBestQualityVideo" | "sphericalVideo" | "spatialAudio" | "vrVideo" | "hdrVideo")[]; processingWarnings?: ("unknownContainer" | "unknownVideoCodec" | "unknownAudioCodec" | "inconsistentResolution" | "hasEditlist" | "problematicVideoCodec" | "problematicAudioCodec" | "unsupportedVrStereoMode" | "unsupportedSphericalProjectionType" | "unsupportedHdrPixelFormat" | "unsupportedHdrColorMetadata" | "problematicHdrLookupTable")[]; tagSuggestions?: ({ categoryRestricts?: (string)[]; tag?: string })[] }; topicDetails?: { relevantTopicIds?: (string)[]; topicCategories?: (string)[]; topicIds?: (string)[] } }>;
|
|
464
|
+
/**
|
|
465
|
+
* Allows upload of watermark image and setting it for a channel.
|
|
466
|
+
* Tags: watermarks
|
|
467
|
+
* Access as: google/youtube.watermarksSet(input)
|
|
468
|
+
*/
|
|
469
|
+
watermarksSet: (input: { imageBytes?: string; imageUrl?: string; position?: { cornerPosition?: "topLeft" | "topRight" | "bottomLeft" | "bottomRight"; type?: "corner" }; targetChannelId?: string; timing?: { durationMs?: string; offsetMs?: string; type?: "offsetFromStart" | "offsetFromEnd" }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; channelId: string; onBehalfOfContentOwner?: string }) => Promise<unknown>;
|
|
470
|
+
/**
|
|
471
|
+
* Allows removal of channel watermark.
|
|
472
|
+
* Tags: watermarks
|
|
473
|
+
* Access as: google/youtube.watermarksUnset(input)
|
|
474
|
+
*/
|
|
475
|
+
watermarksUnset: (input: { "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; channelId: string; onBehalfOfContentOwner?: string }) => Promise<unknown>;
|
|
476
|
+
/**
|
|
477
|
+
* Updates an existing resource.
|
|
478
|
+
* Tags: youtube
|
|
479
|
+
* Access as: google/youtube.youtubeV3UpdateCommentThreads(input)
|
|
480
|
+
*/
|
|
481
|
+
youtubeV3UpdateCommentThreads: (input: { etag?: string; id?: string; kind?: string; replies?: { comments?: ({ etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: { value?: string }; authorChannelUrl?: string; authorDisplayName?: string; authorProfileImageUrl?: string; canRate?: boolean; channelId?: string; likeCount?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; parentId?: string; publishedAt?: string; textDisplay?: string; textOriginal?: string; updatedAt?: string; videoId?: string; viewerRating?: "none" | "like" | "dislike" } })[] }; snippet?: { canReply?: boolean; channelId?: string; isPublic?: boolean; topLevelComment?: { etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: { value?: string }; authorChannelUrl?: string; authorDisplayName?: string; authorProfileImageUrl?: string; canRate?: boolean; channelId?: string; likeCount?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; parentId?: string; publishedAt?: string; textDisplay?: string; textOriginal?: string; updatedAt?: string; videoId?: string; viewerRating?: "none" | "like" | "dislike" } }; totalReplyCount?: number; videoId?: string }; "$.xgafv"?: "1" | "2"; access_token?: string; alt?: "json" | "media" | "proto"; callback?: string; fields?: string; key?: string; oauth_token?: string; prettyPrint?: boolean; quotaUser?: string; upload_protocol?: string; uploadType?: string; part?: (string)[] }) => Promise<{ etag?: string; id?: string; kind?: string; replies?: { comments?: ({ etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: { value?: string }; authorChannelUrl?: string; authorDisplayName?: string; authorProfileImageUrl?: string; canRate?: boolean; channelId?: string; likeCount?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; parentId?: string; publishedAt?: string; textDisplay?: string; textOriginal?: string; updatedAt?: string; videoId?: string; viewerRating?: "none" | "like" | "dislike" } })[] }; snippet?: { canReply?: boolean; channelId?: string; isPublic?: boolean; topLevelComment?: { etag?: string; id?: string; kind?: string; snippet?: { authorChannelId?: { value?: string }; authorChannelUrl?: string; authorDisplayName?: string; authorProfileImageUrl?: string; canRate?: boolean; channelId?: string; likeCount?: number; moderationStatus?: "published" | "heldForReview" | "likelySpam" | "rejected"; parentId?: string; publishedAt?: string; textDisplay?: string; textOriginal?: string; updatedAt?: string; videoId?: string; viewerRating?: "none" | "like" | "dislike" } }; totalReplyCount?: number; videoId?: string } }>;
|
|
482
|
+
};
|