public class YouTube.LiveBroadcasts.Bind extends YouTubeRequest<LiveBroadcast>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
YouTube.LiveBroadcasts.Bind(java.lang.String id,
java.lang.String part)
Binds a YouTube broadcast to a stream or removes an existing binding between a broadcast and a
stream.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
The id parameter specifies the unique ID of the broadcast that is being bound to a video stream.
|
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.
|
java.lang.String |
getStreamId()
The streamId parameter specifies the unique ID of the video stream that is being bound to a
broadcast.
|
YouTube.LiveBroadcasts.Bind |
set(java.lang.String parameterName,
java.lang.Object value) |
YouTube.LiveBroadcasts.Bind |
setAlt(java.lang.String alt)
Data format for the response.
|
YouTube.LiveBroadcasts.Bind |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.LiveBroadcasts.Bind |
setId(java.lang.String id)
The id parameter specifies the unique ID of the broadcast that is being bound to a video
stream.
|
YouTube.LiveBroadcasts.Bind |
setKey(java.lang.String key)
API key.
|
YouTube.LiveBroadcasts.Bind |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.LiveBroadcasts.Bind |
setOnBehalfOfContentOwner(java.lang.String onBehalfOfContentOwner)
Note: This parameter is intended exclusively for YouTube content partners.
|
YouTube.LiveBroadcasts.Bind |
setOnBehalfOfContentOwnerChannel(java.lang.String onBehalfOfContentOwnerChannel)
This parameter can only be used in a properly authorized request.
|
YouTube.LiveBroadcasts.Bind |
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.Bind |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.LiveBroadcasts.Bind |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
YouTube.LiveBroadcasts.Bind |
setStreamId(java.lang.String streamId)
The streamId parameter specifies the unique ID of the video stream that is being bound to a
broadcast.
|
YouTube.LiveBroadcasts.Bind |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysprotected YouTube.LiveBroadcasts.Bind(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 unique ID of the broadcast that is being bound to a video stream.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.Bind setAlt(java.lang.String alt)
YouTubeRequestsetAlt in class YouTubeRequest<LiveBroadcast>public YouTube.LiveBroadcasts.Bind setFields(java.lang.String fields)
YouTubeRequestsetFields in class YouTubeRequest<LiveBroadcast>public YouTube.LiveBroadcasts.Bind setKey(java.lang.String key)
YouTubeRequestsetKey in class YouTubeRequest<LiveBroadcast>public YouTube.LiveBroadcasts.Bind setOauthToken(java.lang.String oauthToken)
YouTubeRequestsetOauthToken in class YouTubeRequest<LiveBroadcast>public YouTube.LiveBroadcasts.Bind setPrettyPrint(java.lang.Boolean prettyPrint)
YouTubeRequestsetPrettyPrint in class YouTubeRequest<LiveBroadcast>public YouTube.LiveBroadcasts.Bind setQuotaUser(java.lang.String quotaUser)
YouTubeRequestsetQuotaUser in class YouTubeRequest<LiveBroadcast>public YouTube.LiveBroadcasts.Bind setUserIp(java.lang.String userIp)
YouTubeRequestsetUserIp in class YouTubeRequest<LiveBroadcast>public java.lang.String getId()
public YouTube.LiveBroadcasts.Bind setId(java.lang.String id)
public java.lang.String getPart()
public YouTube.LiveBroadcasts.Bind setPart(java.lang.String part)
public java.lang.String getOnBehalfOfContentOwner()
public YouTube.LiveBroadcasts.Bind setOnBehalfOfContentOwner(java.lang.String onBehalfOfContentOwner)
public java.lang.String getOnBehalfOfContentOwnerChannel()
public YouTube.LiveBroadcasts.Bind setOnBehalfOfContentOwnerChannel(java.lang.String onBehalfOfContentOwnerChannel)
public java.lang.String getStreamId()
public YouTube.LiveBroadcasts.Bind setStreamId(java.lang.String streamId)
public YouTube.LiveBroadcasts.Bind set(java.lang.String parameterName, java.lang.Object value)
set in class YouTubeRequest<LiveBroadcast>