Class protos.google.cloud.video.livestream.v1.LivestreamService (1.0.2)

Represents a LivestreamService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.video.livestream.v1.LivestreamService

Package

@google-cloud/livestream

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new LivestreamService service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): LivestreamService;

Creates new LivestreamService service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
LivestreamService

RPC service. Useful where requests and/or responses are streamed.

createAsset(request, callback)

public createAsset(request: google.cloud.video.livestream.v1.ICreateAssetRequest, callback: google.cloud.video.livestream.v1.LivestreamService.CreateAssetCallback): void;

Calls CreateAsset.

Parameters
NameDescription
request ICreateAssetRequest

CreateAssetRequest message or plain object

callback CreateAssetCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createAsset(request)

public createAsset(request: google.cloud.video.livestream.v1.ICreateAssetRequest): Promise<google.longrunning.Operation>;

Calls CreateAsset.

Parameter
NameDescription
request ICreateAssetRequest

CreateAssetRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createChannel(request, callback)

public createChannel(request: google.cloud.video.livestream.v1.ICreateChannelRequest, callback: google.cloud.video.livestream.v1.LivestreamService.CreateChannelCallback): void;

Calls CreateChannel.

Parameters
NameDescription
request ICreateChannelRequest

CreateChannelRequest message or plain object

callback CreateChannelCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createChannel(request)

public createChannel(request: google.cloud.video.livestream.v1.ICreateChannelRequest): Promise<google.longrunning.Operation>;

Calls CreateChannel.

Parameter
NameDescription
request ICreateChannelRequest

CreateChannelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

createEvent(request, callback)

public createEvent(request: google.cloud.video.livestream.v1.ICreateEventRequest, callback: google.cloud.video.livestream.v1.LivestreamService.CreateEventCallback): void;

Calls CreateEvent.

Parameters
NameDescription
request ICreateEventRequest

CreateEventRequest message or plain object

callback CreateEventCallback

Node-style callback called with the error, if any, and Event

Returns
TypeDescription
void

createEvent(request)

public createEvent(request: google.cloud.video.livestream.v1.ICreateEventRequest): Promise<google.cloud.video.livestream.v1.Event>;

Calls CreateEvent.

Parameter
NameDescription
request ICreateEventRequest

CreateEventRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.livestream.v1.Event>

Promise

createInput(request, callback)

public createInput(request: google.cloud.video.livestream.v1.ICreateInputRequest, callback: google.cloud.video.livestream.v1.LivestreamService.CreateInputCallback): void;

Calls CreateInput.

Parameters
NameDescription
request ICreateInputRequest

CreateInputRequest message or plain object

callback CreateInputCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createInput(request)

public createInput(request: google.cloud.video.livestream.v1.ICreateInputRequest): Promise<google.longrunning.Operation>;

Calls CreateInput.

Parameter
NameDescription
request ICreateInputRequest

CreateInputRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteAsset(request, callback)

public deleteAsset(request: google.cloud.video.livestream.v1.IDeleteAssetRequest, callback: google.cloud.video.livestream.v1.LivestreamService.DeleteAssetCallback): void;

Calls DeleteAsset.

Parameters
NameDescription
request IDeleteAssetRequest

DeleteAssetRequest message or plain object

callback DeleteAssetCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteAsset(request)

public deleteAsset(request: google.cloud.video.livestream.v1.IDeleteAssetRequest): Promise<google.longrunning.Operation>;

Calls DeleteAsset.

Parameter
NameDescription
request IDeleteAssetRequest

DeleteAssetRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteChannel(request, callback)

public deleteChannel(request: google.cloud.video.livestream.v1.IDeleteChannelRequest, callback: google.cloud.video.livestream.v1.LivestreamService.DeleteChannelCallback): void;

Calls DeleteChannel.

Parameters
NameDescription
request IDeleteChannelRequest

DeleteChannelRequest message or plain object

callback DeleteChannelCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteChannel(request)

public deleteChannel(request: google.cloud.video.livestream.v1.IDeleteChannelRequest): Promise<google.longrunning.Operation>;

Calls DeleteChannel.

Parameter
NameDescription
request IDeleteChannelRequest

DeleteChannelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteEvent(request, callback)

public deleteEvent(request: google.cloud.video.livestream.v1.IDeleteEventRequest, callback: google.cloud.video.livestream.v1.LivestreamService.DeleteEventCallback): void;

Calls DeleteEvent.

Parameters
NameDescription
request IDeleteEventRequest

DeleteEventRequest message or plain object

callback DeleteEventCallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

deleteEvent(request)

public deleteEvent(request: google.cloud.video.livestream.v1.IDeleteEventRequest): Promise<google.protobuf.Empty>;

Calls DeleteEvent.

Parameter
NameDescription
request IDeleteEventRequest

DeleteEventRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteInput(request, callback)

public deleteInput(request: google.cloud.video.livestream.v1.IDeleteInputRequest, callback: google.cloud.video.livestream.v1.LivestreamService.DeleteInputCallback): void;

Calls DeleteInput.

Parameters
NameDescription
request IDeleteInputRequest

DeleteInputRequest message or plain object

callback DeleteInputCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteInput(request)

public deleteInput(request: google.cloud.video.livestream.v1.IDeleteInputRequest): Promise<google.longrunning.Operation>;

Calls DeleteInput.

Parameter
NameDescription
request IDeleteInputRequest

DeleteInputRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getAsset(request, callback)

public getAsset(request: google.cloud.video.livestream.v1.IGetAssetRequest, callback: google.cloud.video.livestream.v1.LivestreamService.GetAssetCallback): void;

Calls GetAsset.

Parameters
NameDescription
request IGetAssetRequest

GetAssetRequest message or plain object

callback GetAssetCallback

Node-style callback called with the error, if any, and Asset

Returns
TypeDescription
void

getAsset(request)

public getAsset(request: google.cloud.video.livestream.v1.IGetAssetRequest): Promise<google.cloud.video.livestream.v1.Asset>;

Calls GetAsset.

Parameter
NameDescription
request IGetAssetRequest

GetAssetRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.livestream.v1.Asset>

Promise

getChannel(request, callback)

public getChannel(request: google.cloud.video.livestream.v1.IGetChannelRequest, callback: google.cloud.video.livestream.v1.LivestreamService.GetChannelCallback): void;

Calls GetChannel.

Parameters
NameDescription
request IGetChannelRequest

GetChannelRequest message or plain object

callback GetChannelCallback

Node-style callback called with the error, if any, and Channel

Returns
TypeDescription
void

getChannel(request)

public getChannel(request: google.cloud.video.livestream.v1.IGetChannelRequest): Promise<google.cloud.video.livestream.v1.Channel>;

Calls GetChannel.

Parameter
NameDescription
request IGetChannelRequest

GetChannelRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.livestream.v1.Channel>

Promise

getEvent(request, callback)

public getEvent(request: google.cloud.video.livestream.v1.IGetEventRequest, callback: google.cloud.video.livestream.v1.LivestreamService.GetEventCallback): void;

Calls GetEvent.

Parameters
NameDescription
request IGetEventRequest

GetEventRequest message or plain object

callback GetEventCallback

Node-style callback called with the error, if any, and Event

Returns
TypeDescription
void

getEvent(request)

public getEvent(request: google.cloud.video.livestream.v1.IGetEventRequest): Promise<google.cloud.video.livestream.v1.Event>;

Calls GetEvent.

Parameter
NameDescription
request IGetEventRequest

GetEventRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.livestream.v1.Event>

Promise

getInput(request, callback)

public getInput(request: google.cloud.video.livestream.v1.IGetInputRequest, callback: google.cloud.video.livestream.v1.LivestreamService.GetInputCallback): void;

Calls GetInput.

Parameters
NameDescription
request IGetInputRequest

GetInputRequest message or plain object

callback GetInputCallback

Node-style callback called with the error, if any, and Input

Returns
TypeDescription
void

getInput(request)

public getInput(request: google.cloud.video.livestream.v1.IGetInputRequest): Promise<google.cloud.video.livestream.v1.Input>;

Calls GetInput.

Parameter
NameDescription
request IGetInputRequest

GetInputRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.livestream.v1.Input>

Promise

getPool(request, callback)

public getPool(request: google.cloud.video.livestream.v1.IGetPoolRequest, callback: google.cloud.video.livestream.v1.LivestreamService.GetPoolCallback): void;

Calls GetPool.

Parameters
NameDescription
request IGetPoolRequest

GetPoolRequest message or plain object

callback GetPoolCallback

Node-style callback called with the error, if any, and Pool

Returns
TypeDescription
void

getPool(request)

public getPool(request: google.cloud.video.livestream.v1.IGetPoolRequest): Promise<google.cloud.video.livestream.v1.Pool>;

Calls GetPool.

Parameter
NameDescription
request IGetPoolRequest

GetPoolRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.livestream.v1.Pool>

Promise

listAssets(request, callback)

public listAssets(request: google.cloud.video.livestream.v1.IListAssetsRequest, callback: google.cloud.video.livestream.v1.LivestreamService.ListAssetsCallback): void;

Calls ListAssets.

Parameters
NameDescription
request IListAssetsRequest

ListAssetsRequest message or plain object

callback ListAssetsCallback

Node-style callback called with the error, if any, and ListAssetsResponse

Returns
TypeDescription
void

listAssets(request)

public listAssets(request: google.cloud.video.livestream.v1.IListAssetsRequest): Promise<google.cloud.video.livestream.v1.ListAssetsResponse>;

Calls ListAssets.

Parameter
NameDescription
request IListAssetsRequest

ListAssetsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.livestream.v1.ListAssetsResponse>

Promise

listChannels(request, callback)

public listChannels(request: google.cloud.video.livestream.v1.IListChannelsRequest, callback: google.cloud.video.livestream.v1.LivestreamService.ListChannelsCallback): void;

Calls ListChannels.

Parameters
NameDescription
request IListChannelsRequest

ListChannelsRequest message or plain object

callback ListChannelsCallback

Node-style callback called with the error, if any, and ListChannelsResponse

Returns
TypeDescription
void

listChannels(request)

public listChannels(request: google.cloud.video.livestream.v1.IListChannelsRequest): Promise<google.cloud.video.livestream.v1.ListChannelsResponse>;

Calls ListChannels.

Parameter
NameDescription
request IListChannelsRequest

ListChannelsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.livestream.v1.ListChannelsResponse>

Promise

listEvents(request, callback)

public listEvents(request: google.cloud.video.livestream.v1.IListEventsRequest, callback: google.cloud.video.livestream.v1.LivestreamService.ListEventsCallback): void;

Calls ListEvents.

Parameters
NameDescription
request IListEventsRequest

ListEventsRequest message or plain object

callback ListEventsCallback

Node-style callback called with the error, if any, and ListEventsResponse

Returns
TypeDescription
void

listEvents(request)

public listEvents(request: google.cloud.video.livestream.v1.IListEventsRequest): Promise<google.cloud.video.livestream.v1.ListEventsResponse>;

Calls ListEvents.

Parameter
NameDescription
request IListEventsRequest

ListEventsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.livestream.v1.ListEventsResponse>

Promise

listInputs(request, callback)

public listInputs(request: google.cloud.video.livestream.v1.IListInputsRequest, callback: google.cloud.video.livestream.v1.LivestreamService.ListInputsCallback): void;

Calls ListInputs.

Parameters
NameDescription
request IListInputsRequest

ListInputsRequest message or plain object

callback ListInputsCallback

Node-style callback called with the error, if any, and ListInputsResponse

Returns
TypeDescription
void

listInputs(request)

public listInputs(request: google.cloud.video.livestream.v1.IListInputsRequest): Promise<google.cloud.video.livestream.v1.ListInputsResponse>;

Calls ListInputs.

Parameter
NameDescription
request IListInputsRequest

ListInputsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.video.livestream.v1.ListInputsResponse>

Promise

startChannel(request, callback)

public startChannel(request: google.cloud.video.livestream.v1.IStartChannelRequest, callback: google.cloud.video.livestream.v1.LivestreamService.StartChannelCallback): void;

Calls StartChannel.

Parameters
NameDescription
request IStartChannelRequest

StartChannelRequest message or plain object

callback StartChannelCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

startChannel(request)

public startChannel(request: google.cloud.video.livestream.v1.IStartChannelRequest): Promise<google.longrunning.Operation>;

Calls StartChannel.

Parameter
NameDescription
request IStartChannelRequest

StartChannelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

stopChannel(request, callback)

public stopChannel(request: google.cloud.video.livestream.v1.IStopChannelRequest, callback: google.cloud.video.livestream.v1.LivestreamService.StopChannelCallback): void;

Calls StopChannel.

Parameters
NameDescription
request IStopChannelRequest

StopChannelRequest message or plain object

callback StopChannelCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

stopChannel(request)

public stopChannel(request: google.cloud.video.livestream.v1.IStopChannelRequest): Promise<google.longrunning.Operation>;

Calls StopChannel.

Parameter
NameDescription
request IStopChannelRequest

StopChannelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateChannel(request, callback)

public updateChannel(request: google.cloud.video.livestream.v1.IUpdateChannelRequest, callback: google.cloud.video.livestream.v1.LivestreamService.UpdateChannelCallback): void;

Calls UpdateChannel.

Parameters
NameDescription
request IUpdateChannelRequest

UpdateChannelRequest message or plain object

callback UpdateChannelCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateChannel(request)

public updateChannel(request: google.cloud.video.livestream.v1.IUpdateChannelRequest): Promise<google.longrunning.Operation>;

Calls UpdateChannel.

Parameter
NameDescription
request IUpdateChannelRequest

UpdateChannelRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateInput(request, callback)

public updateInput(request: google.cloud.video.livestream.v1.IUpdateInputRequest, callback: google.cloud.video.livestream.v1.LivestreamService.UpdateInputCallback): void;

Calls UpdateInput.

Parameters
NameDescription
request IUpdateInputRequest

UpdateInputRequest message or plain object

callback UpdateInputCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateInput(request)

public updateInput(request: google.cloud.video.livestream.v1.IUpdateInputRequest): Promise<google.longrunning.Operation>;

Calls UpdateInput.

Parameter
NameDescription
request IUpdateInputRequest

UpdateInputRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updatePool(request, callback)

public updatePool(request: google.cloud.video.livestream.v1.IUpdatePoolRequest, callback: google.cloud.video.livestream.v1.LivestreamService.UpdatePoolCallback): void;

Calls UpdatePool.

Parameters
NameDescription
request IUpdatePoolRequest

UpdatePoolRequest message or plain object

callback UpdatePoolCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updatePool(request)

public updatePool(request: google.cloud.video.livestream.v1.IUpdatePoolRequest): Promise<google.longrunning.Operation>;

Calls UpdatePool.

Parameter
NameDescription
request IUpdatePoolRequest

UpdatePoolRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise