public class YouTube.LiveBroadcasts.Control extends YouTubeRequest<LiveBroadcast>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Control(String id,
String part)
Controls the settings for a slate that can be displayed in the broadcast stream.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getDisplaySlate()
The displaySlate parameter specifies whether the slate is being enabled or disabled.
|
String |
getId()
The id parameter specifies the YouTube live broadcast ID that uniquely identifies the broadcast in
which the slate is being updated.
|
BigInteger |
getOffsetTimeMs()
The offsetTimeMs parameter specifies a positive time offset when the specified slate change will
occur.
|
String |
getOnBehalfOfContentOwner()
Note: This parameter is intended exclusively for YouTube content partners.
|
String |
getOnBehalfOfContentOwnerChannel()
This parameter can only be used in a properly authorized request.
|
String |
getPart()
The part parameter specifies a comma-separated list of one or more liveBroadcast resource
properties that the API response will include.
|
DateTime |
getWalltime()
The walltime parameter specifies the wall clock time at which the specified slate change will
occur.
|
YouTube.LiveBroadcasts.Control |
set(String parameterName,
Object value) |
YouTube.LiveBroadcasts.Control |
setAlt(String alt)
Data format for the response.
|
YouTube.LiveBroadcasts.Control |
setDisplaySlate(Boolean displaySlate)
The displaySlate parameter specifies whether the slate is being enabled or disabled.
|
YouTube.LiveBroadcasts.Control |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.LiveBroadcasts.Control |
setId(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(String key)
API key.
|
YouTube.LiveBroadcasts.Control |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.LiveBroadcasts.Control |
setOffsetTimeMs(BigInteger offsetTimeMs)
The offsetTimeMs parameter specifies a positive time offset when the specified slate change
will occur.
|
YouTube.LiveBroadcasts.Control |
setOnBehalfOfContentOwner(String onBehalfOfContentOwner)
Note: This parameter is intended exclusively for YouTube content partners.
|
YouTube.LiveBroadcasts.Control |
setOnBehalfOfContentOwnerChannel(String onBehalfOfContentOwnerChannel)
This parameter can only be used in a properly authorized request.
|
YouTube.LiveBroadcasts.Control |
setPart(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(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.LiveBroadcasts.Control |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
YouTube.LiveBroadcasts.Control |
setUserIp(String userIp)
Deprecated.
|
YouTube.LiveBroadcasts.Control |
setWalltime(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, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Control(String id, 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(String alt)
YouTubeRequestsetAlt in class YouTubeRequest<LiveBroadcast>public YouTube.LiveBroadcasts.Control setFields(String fields)
YouTubeRequestsetFields in class YouTubeRequest<LiveBroadcast>public YouTube.LiveBroadcasts.Control setKey(String key)
YouTubeRequestsetKey in class YouTubeRequest<LiveBroadcast>public YouTube.LiveBroadcasts.Control setOauthToken(String oauthToken)
YouTubeRequestsetOauthToken in class YouTubeRequest<LiveBroadcast>public YouTube.LiveBroadcasts.Control setPrettyPrint(Boolean prettyPrint)
YouTubeRequestsetPrettyPrint in class YouTubeRequest<LiveBroadcast>public YouTube.LiveBroadcasts.Control setQuotaUser(String quotaUser)
YouTubeRequestsetQuotaUser in class YouTubeRequest<LiveBroadcast>public YouTube.LiveBroadcasts.Control setUserIp(String userIp)
YouTubeRequestsetUserIp in class YouTubeRequest<LiveBroadcast>public String getId()
public YouTube.LiveBroadcasts.Control setId(String id)
public String getPart()
public YouTube.LiveBroadcasts.Control setPart(String part)
public Boolean getDisplaySlate()
public YouTube.LiveBroadcasts.Control setDisplaySlate(Boolean displaySlate)
public BigInteger getOffsetTimeMs()
public YouTube.LiveBroadcasts.Control setOffsetTimeMs(BigInteger offsetTimeMs)
public String getOnBehalfOfContentOwner()
public YouTube.LiveBroadcasts.Control setOnBehalfOfContentOwner(String onBehalfOfContentOwner)
public String getOnBehalfOfContentOwnerChannel()
public YouTube.LiveBroadcasts.Control setOnBehalfOfContentOwnerChannel(String onBehalfOfContentOwnerChannel)
public DateTime getWalltime()
public YouTube.LiveBroadcasts.Control setWalltime(DateTime walltime)
public YouTube.LiveBroadcasts.Control set(String parameterName, Object value)
set in class YouTubeRequest<LiveBroadcast>Copyright © 2011–2019 Google. All rights reserved.