Modifier and Type | Class and Description |
---|---|
class |
YouTube.Activities.Insert |
class |
YouTube.Activities.List |
Constructor and Description |
---|
YouTube.Activities() |
Modifier and Type | Method and Description |
---|---|
YouTube.Activities.Insert |
insert(String part,
Activity content)
Posts a bulletin for a specific channel.
|
YouTube.Activities.List |
list(String part)
Returns a list of channel activity events that match the request criteria.
|
public YouTube.Activities.Insert insert(String part, Activity content) throws 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 Activity
IOException
public YouTube.Activities.List list(String part) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.part
- The part parameter specifies a comma-separated list of one or more activity 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
activity resource, the snippet property contains other properties that identify the type
of activity, a display title for the activity, and so forth. If you set part=snippet, the
API response will also contain all of those nested properties.IOException