target.apidocs.com.google.api.services.youtube.YouTube.LiveChatBans.html Maven / Gradle / Ivy
YouTube.LiveChatBans (YouTube Data API v3 v3-rev20210410-1.31.0)
com.google.api.services.youtube
Class YouTube.LiveChatBans
- java.lang.Object
-
- com.google.api.services.youtube.YouTube.LiveChatBans
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
YouTube.LiveChatBans.Delete
class
YouTube.LiveChatBans.Insert
-
Constructor Summary
Constructors
Constructor and Description
LiveChatBans()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
YouTube.LiveChatBans.Delete
delete(String id)
Deletes a chat ban.
YouTube.LiveChatBans.Insert
insert(List<String> part,
LiveChatBan content)
Inserts a new resource into this collection.
-
-
Method Detail
-
delete
public YouTube.LiveChatBans.Delete delete(String id)
throws IOException
Deletes a chat ban.
Create a request for the method "liveChatBans.delete".
This request holds the parameters needed by the youtube server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
id
-
- Returns:
- the request
- Throws:
IOException
-
insert
public YouTube.LiveChatBans.Insert insert(List<String> part,
LiveChatBan content)
throws IOException
Inserts a new resource into this collection.
Create a request for the method "liveChatBans.insert".
This request holds the parameters needed by the youtube server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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.
content
- the LiveChatBan
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2021 Google. All rights reserved.