public class YouTube.Activities
extends java.lang.Object
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(java.lang.String part,
Activity content)
Posts a bulletin for a specific channel.
|
YouTube.Activities.List |
list(java.lang.String part)
Returns a list of channel activity events that match the request criteria.
|
public YouTube.Activities.Insert insert(java.lang.String part, Activity 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.content
- the Activity
java.io.IOException
public YouTube.Activities.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 activity resource properties that
the API response will include.
If the parameter identifies a property that contains child
properties, the child properties will be included in the response. For example, in an
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.java.io.IOException