target.apidocs.com.google.api.services.youtube.YouTube.CommentThreads.html Maven / Gradle / Ivy
YouTube.CommentThreads (YouTube Data API v3 v3-rev20200618-1.30.9)
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
class
YouTube.CommentThreads.Update
-
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.
YouTube.CommentThreads.Update
update(List<String> part,
CommentThread content)
Updates an existing resource.
-
-
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
-
update
public YouTube.CommentThreads.Update update(List<String> part,
CommentThread content)
throws IOException
Updates an existing resource.
Create a request for the method "commentThreads.update".
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 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.
content
- the CommentThread
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy