public class YouTube.ChannelSections
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
YouTube.ChannelSections.Delete |
class |
YouTube.ChannelSections.Insert |
class |
YouTube.ChannelSections.List |
class |
YouTube.ChannelSections.Update |
Constructor and Description |
---|
YouTube.ChannelSections() |
Modifier and Type | Method and Description |
---|---|
YouTube.ChannelSections.Delete |
delete(java.lang.String id)
Deletes a channelSection.
|
YouTube.ChannelSections.Insert |
insert(java.lang.String part,
ChannelSection content)
Adds a channelSection for the authenticated user's channel.
|
YouTube.ChannelSections.List |
list(java.lang.String part)
Returns channelSection resources that match the API request criteria.
|
YouTube.ChannelSections.Update |
update(java.lang.String part,
ChannelSection content)
Update a channelSection.
|
public YouTube.ChannelSections.Delete delete(java.lang.String id) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.id
- The id parameter specifies the YouTube channelSection ID for the resource that is being deleted. In
a channelSection resource, the id property specifies the YouTube channelSection ID.java.io.IOException
public YouTube.ChannelSections.Insert insert(java.lang.String part, ChannelSection content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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
java.io.IOException
public YouTube.ChannelSections.List list(java.lang.String part) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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.java.io.IOException
public YouTube.ChannelSections.Update update(java.lang.String part, ChannelSection content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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
java.io.IOException