Class CommentThreadsResource
The "commentThreads" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class CommentThreadsResource
Constructors
CommentThreadsResource(IClientService)
Constructs a new resource.
Declaration
public CommentThreadsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Insert(CommentThread, String)
Creates a new top-level comment. To add a reply to an existing comment, use the comments.insert method instead.
Declaration
public virtual CommentThreadsResource.InsertRequest Insert(CommentThread body, string part)
Parameters
| Type | Name | Description |
|---|---|---|
| CommentThread | body | The body of the request. |
| System.String | 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. |
Returns
| Type | Description |
|---|---|
| CommentThreadsResource.InsertRequest |
List(String)
Returns a list of comment threads that match the API request parameters.
Declaration
public virtual CommentThreadsResource.ListRequest List(string part)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | part | The part parameter specifies a comma-separated list of one or more commentThread resource properties that the API response will include. |
Returns
| Type | Description |
|---|---|
| CommentThreadsResource.ListRequest |
Update(CommentThread, String)
Modifies the top-level comment in a comment thread.
Declaration
public virtual CommentThreadsResource.UpdateRequest Update(CommentThread body, string part)
Parameters
| Type | Name | Description |
|---|---|---|
| CommentThread | body | The body of the request. |
| System.String | part | The part parameter specifies a comma-separated list of commentThread resource properties that the API response will include. You must at least include the snippet part in the parameter value since that part contains all of the properties that the API request can update. |
Returns
| Type | Description |
|---|---|
| CommentThreadsResource.UpdateRequest |