target.apidocs.com.google.api.services.youtube.YouTube.LiveChatModerators.html Maven / Gradle / Ivy
YouTube.LiveChatModerators (YouTube Data API v3 v3-rev20240417-2.0.0)
com.google.api.services.youtube
Class YouTube.LiveChatModerators
- java.lang.Object
-
- com.google.api.services.youtube.YouTube.LiveChatModerators
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
YouTube.LiveChatModerators.Delete
class
YouTube.LiveChatModerators.Insert
class
YouTube.LiveChatModerators.List
-
Constructor Summary
Constructors
Constructor and Description
LiveChatModerators()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
YouTube.LiveChatModerators.Delete
delete(String id)
Deletes a chat moderator.
YouTube.LiveChatModerators.Insert
insert(List<String> part,
LiveChatModerator content)
Inserts a new resource into this collection.
YouTube.LiveChatModerators.List
list(String liveChatId,
List<String> part)
Retrieves a list of resources, possibly filtered.
-
-
Method Detail
-
delete
public YouTube.LiveChatModerators.Delete delete(String id)
throws IOException
Deletes a chat moderator.
Create a request for the method "liveChatModerators.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.LiveChatModerators.Insert insert(List<String> part,
LiveChatModerator content)
throws IOException
Inserts a new resource into this collection.
Create a request for the method "liveChatModerators.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 LiveChatModerator
- Returns:
- the request
- Throws:
IOException
-
list
public YouTube.LiveChatModerators.List list(String liveChatId,
List<String> part)
throws IOException
Retrieves a list of resources, possibly filtered.
Create a request for the method "liveChatModerators.list".
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:
liveChatId
- The id of the live chat for which moderators should be returned.
part
- The *part* parameter specifies the liveChatModerator resource parts that the API response will
include. Supported values are id and snippet.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy