Class LiveChatBansResource
The "liveChatBans" collection of methods.
Inherited Members
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class LiveChatBansResource
Constructors
LiveChatBansResource(IClientService)
Constructs a new resource.
Declaration
public LiveChatBansResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string)
Deletes a chat ban.
Declaration
public virtual LiveChatBansResource.DeleteRequest Delete(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id |
|
Returns
Type | Description |
---|---|
LiveChatBansResource.DeleteRequest |
Insert(LiveChatBan, Repeatable<string>)
Inserts a new resource into this collection.
Declaration
public virtual LiveChatBansResource.InsertRequest Insert(LiveChatBan body, Repeatable<string> part)
Parameters
Type | Name | Description |
---|---|---|
LiveChatBan | body | The body of the request. |
Repeatable<string> | part | The part parameter serves two purposes in this operation. It identifies the properties that the write operation will set as well as the properties that the API response returns. Set the parameter value to snippet. |
Returns
Type | Description |
---|---|
LiveChatBansResource.InsertRequest |