Show / Hide Table of Contents

Class CommentsResource.ListRequest

Retrieves a list of resources, possibly filtered.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<CommentListResponse>
YouTubeBaseServiceRequest<CommentListResponse>
CommentsResource.ListRequest
Implements
IClientServiceRequest<CommentListResponse>
IClientServiceRequest
Inherited Members
YouTubeBaseServiceRequest<CommentListResponse>.Xgafv
YouTubeBaseServiceRequest<CommentListResponse>.AccessToken
YouTubeBaseServiceRequest<CommentListResponse>.Alt
YouTubeBaseServiceRequest<CommentListResponse>.Callback
YouTubeBaseServiceRequest<CommentListResponse>.Fields
YouTubeBaseServiceRequest<CommentListResponse>.Key
YouTubeBaseServiceRequest<CommentListResponse>.OauthToken
YouTubeBaseServiceRequest<CommentListResponse>.PrettyPrint
YouTubeBaseServiceRequest<CommentListResponse>.QuotaUser
YouTubeBaseServiceRequest<CommentListResponse>.UploadType
YouTubeBaseServiceRequest<CommentListResponse>.UploadProtocol
ClientServiceRequest<CommentListResponse>.Execute()
ClientServiceRequest<CommentListResponse>.ExecuteAsStream()
ClientServiceRequest<CommentListResponse>.ExecuteAsync()
ClientServiceRequest<CommentListResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<CommentListResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<CommentListResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<CommentListResponse>.CreateRequest(bool?)
ClientServiceRequest<CommentListResponse>.GenerateRequestUri()
ClientServiceRequest<CommentListResponse>.GetBody()
ClientServiceRequest<CommentListResponse>.GetDefaultETagAction(string)
ClientServiceRequest<CommentListResponse>.ETagAction
ClientServiceRequest<CommentListResponse>.ModifyRequest
ClientServiceRequest<CommentListResponse>.ValidateParameters
ClientServiceRequest<CommentListResponse>.ApiVersion
ClientServiceRequest<CommentListResponse>.RequestParameters
ClientServiceRequest<CommentListResponse>.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.ListRequest : YouTubeBaseServiceRequest<CommentListResponse>, IClientServiceRequest<CommentListResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, Repeatable<string>)

Constructs a new List request.

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

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<CommentListResponse>.HttpMethod

Id

Returns the comments with the given IDs for One Platform.

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

MaxResults

The maxResults parameter specifies the maximum number of items that should be returned in the result set.

Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual long? MaxResults { get; set; }
Property Value
Type Description
long?

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<CommentListResponse>.MethodName

PageToken

The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

ParentId

Returns replies to the specified comment. Note, currently YouTube features only one level of replies (ie replies to top level comments). However replies to replies may be supported in the future.

Declaration
[RequestParameter("parentId", RequestParameterType.Query)]
public virtual string ParentId { get; set; }
Property Value
Type Description
string

Part

The part parameter specifies a comma-separated list of one or more comment resource properties that the API response will include.

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
ClientServiceRequest<CommentListResponse>.RestPath

TextFormat

The requested text format for the returned comments.

Declaration
[RequestParameter("textFormat", RequestParameterType.Query)]
public virtual CommentsResource.ListRequest.TextFormatEnum? TextFormat { get; set; }
Property Value
Type Description
CommentsResource.ListRequest.TextFormatEnum?

Methods

InitParameters()

Initializes List parameter list.

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

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX