Show / Hide Table of Contents

Class CommentsResource.InsertRequest

Inserts a new resource into this collection.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<Comment>
YouTubeBaseServiceRequest<Comment>
CommentsResource.InsertRequest
Implements
IClientServiceRequest<Comment>
IClientServiceRequest
Inherited Members
YouTubeBaseServiceRequest<Comment>.Xgafv
YouTubeBaseServiceRequest<Comment>.AccessToken
YouTubeBaseServiceRequest<Comment>.Alt
YouTubeBaseServiceRequest<Comment>.Callback
YouTubeBaseServiceRequest<Comment>.Fields
YouTubeBaseServiceRequest<Comment>.Key
YouTubeBaseServiceRequest<Comment>.OauthToken
YouTubeBaseServiceRequest<Comment>.PrettyPrint
YouTubeBaseServiceRequest<Comment>.QuotaUser
YouTubeBaseServiceRequest<Comment>.UploadType
YouTubeBaseServiceRequest<Comment>.UploadProtocol
ClientServiceRequest<Comment>.Execute()
ClientServiceRequest<Comment>.ExecuteAsStream()
ClientServiceRequest<Comment>.ExecuteAsync()
ClientServiceRequest<Comment>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Comment>.ExecuteAsStreamAsync()
ClientServiceRequest<Comment>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Comment>.CreateRequest(bool?)
ClientServiceRequest<Comment>.GenerateRequestUri()
ClientServiceRequest<Comment>.GetDefaultETagAction(string)
ClientServiceRequest<Comment>.ETagAction
ClientServiceRequest<Comment>.ModifyRequest
ClientServiceRequest<Comment>.ValidateParameters
ClientServiceRequest<Comment>.RequestParameters
ClientServiceRequest<Comment>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class CommentsResource.InsertRequest : YouTubeBaseServiceRequest<Comment>, IClientServiceRequest<Comment>, IClientServiceRequest

Constructors

InsertRequest(IClientService, Comment, Repeatable<string>)

Constructs a new Insert request.

Declaration
public InsertRequest(IClientService service, Comment body, Repeatable<string> part)
Parameters
Type Name Description
IClientService service
Comment body
Repeatable<string> part

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTube.v3.Data.Comment>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTube.v3.Data.Comment>.MethodName

Part

The part parameter identifies the properties that the API response will include. Set the parameter value to snippet. The snippet part has a quota cost of 2 units.

Declaration
[RequestParameter("part", RequestParameterType.Query)]
public virtual Repeatable<string> Part { get; }
Property Value
Type Description
Repeatable<string>

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTube.v3.Data.Comment>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.YouTube.v3.Data.Comment>.GetBody()

InitParameters()

Initializes Insert parameter list.

Declaration
protected override void InitParameters()
Overrides
YouTubeBaseServiceRequest<Comment>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top Generated by DocFX