Class ChannelSectionsResource
The "channelSections" collection of methods.
Inherited Members
Namespace: Google.Apis.YouTube.v3
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class ChannelSectionsResource
Constructors
ChannelSectionsResource(IClientService)
Constructs a new resource.
Declaration
public ChannelSectionsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Delete(string)
Deletes a resource.
Declaration
public virtual ChannelSectionsResource.DeleteRequest Delete(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id |
|
Returns
| Type | Description |
|---|---|
| ChannelSectionsResource.DeleteRequest |
Insert(ChannelSection, Repeatable<string>)
Inserts a new resource into this collection.
Declaration
public virtual ChannelSectionsResource.InsertRequest Insert(ChannelSection body, Repeatable<string> part)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelSection | body | The body of the request. |
| Repeatable<string> | 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. |
Returns
| Type | Description |
|---|---|
| ChannelSectionsResource.InsertRequest |
List(Repeatable<string>)
Retrieves a list of resources, possibly filtered.
Declaration
public virtual ChannelSectionsResource.ListRequest List(Repeatable<string> part)
Parameters
| Type | Name | Description |
|---|---|---|
| Repeatable<string> | 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
| Type | Description |
|---|---|
| ChannelSectionsResource.ListRequest |
Update(ChannelSection, Repeatable<string>)
Updates an existing resource.
Declaration
public virtual ChannelSectionsResource.UpdateRequest Update(ChannelSection body, Repeatable<string> part)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelSection | body | The body of the request. |
| Repeatable<string> | 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. |
Returns
| Type | Description |
|---|---|
| ChannelSectionsResource.UpdateRequest |