Class MediaResource.UploadRequest
Inserts a new AudioTrack for a video.
Inheritance
MediaResource.UploadRequest
Inherited Members
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class MediaResource.UploadRequest : YouTubeBaseServiceRequest<AudioTrack>, IClientServiceRequest<AudioTrack>, IClientServiceRequest
Constructors
UploadRequest(IClientService, AudioTrack)
Constructs a new Upload request.
Declaration
public UploadRequest(IClientService service, AudioTrack body)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| AudioTrack | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Language
Required. The BCP-47 language code of the AudioTrack (e.g., "es-ES").
Declaration
[RequestParameter("language", RequestParameterType.Query)]
public virtual string Language { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Part
Optional. The part parameter specifies the AudioTrack resource parts that the API response will
include. The part names that you can include in the parameter value are id and snippet.
Declaration
[RequestParameter("part", RequestParameterType.Query)]
public virtual Repeatable<string> Part { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<string> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
VideoId
Required. The external YouTube video ID.
Declaration
[RequestParameter("videoId", RequestParameterType.Query)]
public virtual string VideoId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Upload parameter list.
Declaration
protected override void InitParameters()