public class YouTube.LiveBroadcasts.Control extends YouTubeRequest<LiveBroadcast>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
YouTube.LiveBroadcasts.Control(java.lang.String id,
java.lang.String part)
Controls the settings for a slate that can be displayed in the broadcast stream.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getDisplaySlate()
The displaySlate parameter specifies whether the slate is being enabled or disabled.
|
java.lang.String |
getId()
The id parameter specifies the YouTube live broadcast ID that uniquely identifies the broadcast in
which the slate is being updated.
|
java.math.BigInteger |
getOffsetTimeMs()
The offsetTimeMs parameter specifies a positive time offset when the specified slate change will
occur.
|
java.lang.String |
getOnBehalfOfContentOwner()
Note: This parameter is intended exclusively for YouTube content partners.
|
java.lang.String |
getOnBehalfOfContentOwnerChannel()
This parameter can only be used in a properly authorized request.
|
java.lang.String |
getPart()
The part parameter specifies a comma-separated list of one or more liveBroadcast resource
properties that the API response will include.
|
com.google.api.client.util.DateTime |
getWalltime()
The walltime parameter specifies the wall clock time at which the specified slate change will
occur.
|
YouTube.LiveBroadcasts.Control |
set(java.lang.String parameterName,
java.lang.Object value) |
YouTube.LiveBroadcasts.Control |
setAlt(java.lang.String alt)
Data format for the response.
|
YouTube.LiveBroadcasts.Control |
setDisplaySlate(java.lang.Boolean displaySlate)
The displaySlate parameter specifies whether the slate is being enabled or disabled.
|
YouTube.LiveBroadcasts.Control |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.LiveBroadcasts.Control |
setId(java.lang.String id)
The id parameter specifies the YouTube live broadcast ID that uniquely identifies the
broadcast in which the slate is being updated.
|
YouTube.LiveBroadcasts.Control |
setKey(java.lang.String key)
API key.
|
YouTube.LiveBroadcasts.Control |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.LiveBroadcasts.Control |
setOffsetTimeMs(java.math.BigInteger offsetTimeMs)
The offsetTimeMs parameter specifies a positive time offset when the specified slate change
will occur.
|
YouTube.LiveBroadcasts.Control |
setOnBehalfOfContentOwner(java.lang.String onBehalfOfContentOwner)
Note: This parameter is intended exclusively for YouTube content partners.
|
YouTube.LiveBroadcasts.Control |
setOnBehalfOfContentOwnerChannel(java.lang.String onBehalfOfContentOwnerChannel)
This parameter can only be used in a properly authorized request.
|
YouTube.LiveBroadcasts.Control |
setPart(java.lang.String part)
The part parameter specifies a comma-separated list of one or more liveBroadcast resource
properties that the API response will include.
|
YouTube.LiveBroadcasts.Control |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.LiveBroadcasts.Control |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
YouTube.LiveBroadcasts.Control |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
YouTube.LiveBroadcasts.Control |
setWalltime(com.google.api.client.util.DateTime walltime)
The walltime parameter specifies the wall clock time at which the specified slate change
will occur.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
protected YouTube.LiveBroadcasts.Control(java.lang.String id, java.lang.String part)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
YouTube.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
id
- The id parameter specifies the YouTube live broadcast ID that uniquely identifies the broadcast in
which the slate is being updated.part
- The part parameter specifies a comma-separated list of one or more liveBroadcast resource properties
that the API response will include. The part names that you can include in the parameter
value are id, snippet, contentDetails, and status.public YouTube.LiveBroadcasts.Control setAlt(java.lang.String alt)
YouTubeRequest
setAlt
in class YouTubeRequest<LiveBroadcast>
public YouTube.LiveBroadcasts.Control setFields(java.lang.String fields)
YouTubeRequest
setFields
in class YouTubeRequest<LiveBroadcast>
public YouTube.LiveBroadcasts.Control setKey(java.lang.String key)
YouTubeRequest
setKey
in class YouTubeRequest<LiveBroadcast>
public YouTube.LiveBroadcasts.Control setOauthToken(java.lang.String oauthToken)
YouTubeRequest
setOauthToken
in class YouTubeRequest<LiveBroadcast>
public YouTube.LiveBroadcasts.Control setPrettyPrint(java.lang.Boolean prettyPrint)
YouTubeRequest
setPrettyPrint
in class YouTubeRequest<LiveBroadcast>
public YouTube.LiveBroadcasts.Control setQuotaUser(java.lang.String quotaUser)
YouTubeRequest
setQuotaUser
in class YouTubeRequest<LiveBroadcast>
public YouTube.LiveBroadcasts.Control setUserIp(java.lang.String userIp)
YouTubeRequest
setUserIp
in class YouTubeRequest<LiveBroadcast>
public java.lang.String getId()
public YouTube.LiveBroadcasts.Control setId(java.lang.String id)
public java.lang.String getPart()
public YouTube.LiveBroadcasts.Control setPart(java.lang.String part)
public java.lang.String getOnBehalfOfContentOwner()
public YouTube.LiveBroadcasts.Control setOnBehalfOfContentOwner(java.lang.String onBehalfOfContentOwner)
public java.lang.Boolean getDisplaySlate()
public YouTube.LiveBroadcasts.Control setDisplaySlate(java.lang.Boolean displaySlate)
public java.lang.String getOnBehalfOfContentOwnerChannel()
public YouTube.LiveBroadcasts.Control setOnBehalfOfContentOwnerChannel(java.lang.String onBehalfOfContentOwnerChannel)
public java.math.BigInteger getOffsetTimeMs()
public YouTube.LiveBroadcasts.Control setOffsetTimeMs(java.math.BigInteger offsetTimeMs)
public com.google.api.client.util.DateTime getWalltime()
public YouTube.LiveBroadcasts.Control setWalltime(com.google.api.client.util.DateTime walltime)
public YouTube.LiveBroadcasts.Control set(java.lang.String parameterName, java.lang.Object value)
set
in class YouTubeRequest<LiveBroadcast>