Class YouTubeService
The YouTube Service.
Inherited Members
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class YouTubeService : BaseClientService, IClientService, IDisposable
Constructors
YouTubeService()
Constructs a new service.
Declaration
public YouTubeService()
YouTubeService(Initializer)
Constructs a new service.
Declaration
public YouTubeService(BaseClientService.Initializer initializer)
Parameters
| Type | Name | Description |
|---|---|---|
| BaseClientService.Initializer | initializer | The service initializer. |
Fields
DiscoveryVersionUsed
The discovery version used to generate this service.
Declaration
public static DiscoveryVersion DiscoveryVersionUsed
Field Value
| Type | Description |
|---|---|
| DiscoveryVersion |
Version
The API version.
Declaration
public const string Version = "v3"
Field Value
| Type | Description |
|---|---|
| string |
Properties
AbuseReports
Gets the AbuseReports resource.
Declaration
public virtual AbuseReportsResource AbuseReports { get; }
Property Value
| Type | Description |
|---|---|
| AbuseReportsResource |
Activities
Gets the Activities resource.
Declaration
public virtual ActivitiesResource Activities { get; }
Property Value
| Type | Description |
|---|---|
| ActivitiesResource |
BasePath
Gets the service base path.
Declaration
public override string BasePath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
BaseUri
Gets the service base URI.
Declaration
public override string BaseUri { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
BatchPath
Gets the batch base path; null if unspecified.
Declaration
public override string BatchPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
BatchUri
Gets the batch base URI; null if unspecified.
Declaration
public override string BatchUri { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Captions
Gets the Captions resource.
Declaration
public virtual CaptionsResource Captions { get; }
Property Value
| Type | Description |
|---|---|
| CaptionsResource |
ChannelBanners
Gets the ChannelBanners resource.
Declaration
public virtual ChannelBannersResource ChannelBanners { get; }
Property Value
| Type | Description |
|---|---|
| ChannelBannersResource |
ChannelSections
Gets the ChannelSections resource.
Declaration
public virtual ChannelSectionsResource ChannelSections { get; }
Property Value
| Type | Description |
|---|---|
| ChannelSectionsResource |
Channels
Gets the Channels resource.
Declaration
public virtual ChannelsResource Channels { get; }
Property Value
| Type | Description |
|---|---|
| ChannelsResource |
CommentThreads
Gets the CommentThreads resource.
Declaration
public virtual CommentThreadsResource CommentThreads { get; }
Property Value
| Type | Description |
|---|---|
| CommentThreadsResource |
Comments
Gets the Comments resource.
Declaration
public virtual CommentsResource Comments { get; }
Property Value
| Type | Description |
|---|---|
| CommentsResource |
Features
Gets the service supported features.
Declaration
public override IList<string> Features { get; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Overrides
I18nLanguages
Gets the I18nLanguages resource.
Declaration
public virtual I18nLanguagesResource I18nLanguages { get; }
Property Value
| Type | Description |
|---|---|
| I18nLanguagesResource |
I18nRegions
Gets the I18nRegions resource.
Declaration
public virtual I18nRegionsResource I18nRegions { get; }
Property Value
| Type | Description |
|---|---|
| I18nRegionsResource |
LiveBroadcasts
Gets the LiveBroadcasts resource.
Declaration
public virtual LiveBroadcastsResource LiveBroadcasts { get; }
Property Value
| Type | Description |
|---|---|
| LiveBroadcastsResource |
LiveChatBans
Gets the LiveChatBans resource.
Declaration
public virtual LiveChatBansResource LiveChatBans { get; }
Property Value
| Type | Description |
|---|---|
| LiveChatBansResource |
LiveChatMessages
Gets the LiveChatMessages resource.
Declaration
public virtual LiveChatMessagesResource LiveChatMessages { get; }
Property Value
| Type | Description |
|---|---|
| LiveChatMessagesResource |
LiveChatModerators
Gets the LiveChatModerators resource.
Declaration
public virtual LiveChatModeratorsResource LiveChatModerators { get; }
Property Value
| Type | Description |
|---|---|
| LiveChatModeratorsResource |
LiveStreams
Gets the LiveStreams resource.
Declaration
public virtual LiveStreamsResource LiveStreams { get; }
Property Value
| Type | Description |
|---|---|
| LiveStreamsResource |
Members
Gets the Members resource.
Declaration
public virtual MembersResource Members { get; }
Property Value
| Type | Description |
|---|---|
| MembersResource |
MembershipsLevels
Gets the MembershipsLevels resource.
Declaration
public virtual MembershipsLevelsResource MembershipsLevels { get; }
Property Value
| Type | Description |
|---|---|
| MembershipsLevelsResource |
Name
Gets the service name.
Declaration
public override string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
PlaylistImages
Gets the PlaylistImages resource.
Declaration
public virtual PlaylistImagesResource PlaylistImages { get; }
Property Value
| Type | Description |
|---|---|
| PlaylistImagesResource |
PlaylistItems
Gets the PlaylistItems resource.
Declaration
public virtual PlaylistItemsResource PlaylistItems { get; }
Property Value
| Type | Description |
|---|---|
| PlaylistItemsResource |
Playlists
Gets the Playlists resource.
Declaration
public virtual PlaylistsResource Playlists { get; }
Property Value
| Type | Description |
|---|---|
| PlaylistsResource |
Search
Gets the Search resource.
Declaration
public virtual SearchResource Search { get; }
Property Value
| Type | Description |
|---|---|
| SearchResource |
Subscriptions
Gets the Subscriptions resource.
Declaration
public virtual SubscriptionsResource Subscriptions { get; }
Property Value
| Type | Description |
|---|---|
| SubscriptionsResource |
SuperChatEvents
Gets the SuperChatEvents resource.
Declaration
public virtual SuperChatEventsResource SuperChatEvents { get; }
Property Value
| Type | Description |
|---|---|
| SuperChatEventsResource |
Tests
Gets the Tests resource.
Declaration
public virtual TestsResource Tests { get; }
Property Value
| Type | Description |
|---|---|
| TestsResource |
ThirdPartyLinks
Gets the ThirdPartyLinks resource.
Declaration
public virtual ThirdPartyLinksResource ThirdPartyLinks { get; }
Property Value
| Type | Description |
|---|---|
| ThirdPartyLinksResource |
Thumbnails
Gets the Thumbnails resource.
Declaration
public virtual ThumbnailsResource Thumbnails { get; }
Property Value
| Type | Description |
|---|---|
| ThumbnailsResource |
VideoAbuseReportReasons
Gets the VideoAbuseReportReasons resource.
Declaration
public virtual VideoAbuseReportReasonsResource VideoAbuseReportReasons { get; }
Property Value
| Type | Description |
|---|---|
| VideoAbuseReportReasonsResource |
VideoCategories
Gets the VideoCategories resource.
Declaration
public virtual VideoCategoriesResource VideoCategories { get; }
Property Value
| Type | Description |
|---|---|
| VideoCategoriesResource |
VideoTrainability
Gets the VideoTrainability resource.
Declaration
public virtual VideoTrainabilityResource VideoTrainability { get; }
Property Value
| Type | Description |
|---|---|
| VideoTrainabilityResource |
Videos
Gets the Videos resource.
Declaration
public virtual VideosResource Videos { get; }
Property Value
| Type | Description |
|---|---|
| VideosResource |
Watermarks
Gets the Watermarks resource.
Declaration
public virtual WatermarksResource Watermarks { get; }
Property Value
| Type | Description |
|---|---|
| WatermarksResource |
Youtube
Gets the Youtube resource.
Declaration
public virtual YoutubeResource Youtube { get; }
Property Value
| Type | Description |
|---|---|
| YoutubeResource |