target.apidocs.com.google.api.services.youtube.YouTube.CommentThreads.html Maven / Gradle / Ivy
YouTube.CommentThreads (YouTube Data API v3 v3-rev20240414-2.0.0)
com.google.api.services.youtube
Class YouTube.CommentThreads
- java.lang.Object
-
- com.google.api.services.youtube.YouTube.CommentThreads
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
YouTube.CommentThreads.Insert
class
YouTube.CommentThreads.List
-
Constructor Summary
Constructors
Constructor and Description
CommentThreads()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
YouTube.CommentThreads.Insert
insert(List<String> part,
CommentThread content)
Inserts a new resource into this collection.
YouTube.CommentThreads.List
list(List<String> part)
Retrieves a list of resources, possibly filtered.
-
-
Method Detail
-
insert
public YouTube.CommentThreads.Insert insert(List<String> part,
CommentThread content)
throws IOException
Inserts a new resource into this collection.
Create a request for the method "commentThreads.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 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.
content
- the CommentThread
- Returns:
- the request
- Throws:
IOException
-
list
public YouTube.CommentThreads.List list(List<String> part)
throws IOException
Retrieves a list of resources, possibly filtered.
Create a request for the method "commentThreads.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:
part
- The *part* parameter specifies a comma-separated list of one or more commentThread resource
properties that the API response will include.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy