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, Repeatable<String>)
Inserts a new resource into this collection.
Declaration
public virtual CommentThreadsResource.InsertRequest Insert(CommentThread body, Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
CommentThread | body | The body of the request. |
Repeatable<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(Repeatable<String>)
Retrieves a list of resources, possibly filtered.
Declaration
public virtual CommentThreadsResource.ListRequest List(Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
Repeatable<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, Repeatable<String>)
Updates an existing resource.
Declaration
public virtual CommentThreadsResource.UpdateRequest Update(CommentThread body, Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
CommentThread | body | The body of the request. |
Repeatable<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 |