target.apidocs.com.google.api.services.youtube.YouTube.ChannelSections.html Maven / Gradle / Ivy
YouTube.ChannelSections (YouTube Data API v3 v3-rev20210410-1.31.0)
com.google.api.services.youtube
Class YouTube.ChannelSections
- java.lang.Object
-
- com.google.api.services.youtube.YouTube.ChannelSections
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
YouTube.ChannelSections.Delete
class
YouTube.ChannelSections.Insert
class
YouTube.ChannelSections.List
class
YouTube.ChannelSections.Update
-
Constructor Summary
Constructors
Constructor and Description
ChannelSections()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
YouTube.ChannelSections.Delete
delete(String id)
Deletes a resource.
YouTube.ChannelSections.Insert
insert(List<String> part,
ChannelSection content)
Inserts a new resource into this collection.
YouTube.ChannelSections.List
list(List<String> part)
Retrieves a list of resources, possibly filtered.
YouTube.ChannelSections.Update
update(List<String> part,
ChannelSection content)
Updates an existing resource.
-
-
Method Detail
-
delete
public YouTube.ChannelSections.Delete delete(String id)
throws IOException
Deletes a resource.
Create a request for the method "channelSections.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.ChannelSections.Insert insert(List<String> part,
ChannelSection content)
throws IOException
Inserts a new resource into this collection.
Create a request for the method "channelSections.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 will include. The
part names that you can include in the parameter value are snippet and contentDetails.
content
- the ChannelSection
- Returns:
- the request
- Throws:
IOException
-
list
public YouTube.ChannelSections.List list(List<String> part)
throws IOException
Retrieves a list of resources, possibly filtered.
Create a request for the method "channelSections.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 channelSection resource
properties that the API response will include. The part names that you can include in the
parameter value are id, snippet, and contentDetails. If the parameter identifies a
property that contains child properties, the child properties will be included in the
response. For example, in a channelSection resource, the snippet property contains other
properties, such as a display title for the channelSection. If you set *part=snippet*, the
API response will also contain all of those nested properties.
- Returns:
- the request
- Throws:
IOException
-
update
public YouTube.ChannelSections.Update update(List<String> part,
ChannelSection content)
throws IOException
Updates an existing resource.
Create a request for the method "channelSections.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 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 will include. The
part names that you can include in the parameter value are snippet and contentDetails.
content
- the ChannelSection
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2021 Google. All rights reserved.