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(BaseClientService.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 |
|---|---|
| System.String |
Properties
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 |
|---|---|
| System.String |
Overrides
BaseUri
Gets the service base URI.
Declaration
public override string BaseUri { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
BatchPath
Gets the batch base path; null if unspecified.
Declaration
public override string BatchPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
BatchUri
Gets the batch base URI; null if unspecified.
Declaration
public override string BatchUri { get; }
Property Value
| Type | Description |
|---|---|
| System.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 |
Channels
Gets the Channels resource.
Declaration
public virtual ChannelsResource Channels { get; }
Property Value
| Type | Description |
|---|---|
| ChannelsResource |
ChannelSections
Gets the ChannelSections resource.
Declaration
public virtual ChannelSectionsResource ChannelSections { get; }
Property Value
| Type | Description |
|---|---|
| ChannelSectionsResource |
Comments
Gets the Comments resource.
Declaration
public virtual CommentsResource Comments { get; }
Property Value
| Type | Description |
|---|---|
| CommentsResource |
CommentThreads
Gets the CommentThreads resource.
Declaration
public virtual CommentThreadsResource CommentThreads { get; }
Property Value
| Type | Description |
|---|---|
| CommentThreadsResource |
Features
Gets the service supported features.
Declaration
public override IList<string> Features { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> |
Overrides
GuideCategories
Gets the GuideCategories resource.
Declaration
public virtual GuideCategoriesResource GuideCategories { get; }
Property Value
| Type | Description |
|---|---|
| GuideCategoriesResource |
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 |
Name
Gets the service name.
Declaration
public override string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
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 |
Sponsors
Gets the Sponsors resource.
Declaration
public virtual SponsorsResource Sponsors { get; }
Property Value
| Type | Description |
|---|---|
| SponsorsResource |
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 |
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 |
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 |