Reference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::LivestreamService::Rest::ServiceStub.
REST service stub for the LivestreamService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_asset
def create_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_asset REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::CreateAssetRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_channel
def create_channel(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_channel REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::CreateChannelRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_clip
def create_clip(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_clip REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::CreateClipRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_event
def create_event(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Video::LiveStream::V1::Event
Baseline implementation for the create_event REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::CreateEventRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Video::LiveStream::V1::Event)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Video::LiveStream::V1::Event) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_input
def create_input(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_input REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::CreateInputRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_asset
def delete_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_asset REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::DeleteAssetRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_channel
def delete_channel(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_channel REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::DeleteChannelRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_clip
def delete_clip(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_clip REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::DeleteClipRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_event
def delete_event(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_event REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::DeleteEventRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_input
def delete_input(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_input REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::DeleteInputRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#get_asset
def get_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Video::LiveStream::V1::Asset
Baseline implementation for the get_asset REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::GetAssetRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Video::LiveStream::V1::Asset)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Video::LiveStream::V1::Asset) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_channel
def get_channel(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Video::LiveStream::V1::Channel
Baseline implementation for the get_channel REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::GetChannelRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Video::LiveStream::V1::Channel)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Video::LiveStream::V1::Channel) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_clip
def get_clip(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Video::LiveStream::V1::Clip
Baseline implementation for the get_clip REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::GetClipRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Video::LiveStream::V1::Clip)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Video::LiveStream::V1::Clip) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_event
def get_event(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Video::LiveStream::V1::Event
Baseline implementation for the get_event REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::GetEventRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Video::LiveStream::V1::Event)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Video::LiveStream::V1::Event) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_input
def get_input(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Video::LiveStream::V1::Input
Baseline implementation for the get_input REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::GetInputRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Video::LiveStream::V1::Input)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Video::LiveStream::V1::Input) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_pool
def get_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Video::LiveStream::V1::Pool
Baseline implementation for the get_pool REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::GetPoolRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Video::LiveStream::V1::Pool)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Video::LiveStream::V1::Pool) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_assets
def list_assets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Video::LiveStream::V1::ListAssetsResponse
Baseline implementation for the list_assets REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::ListAssetsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Video::LiveStream::V1::ListAssetsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Video::LiveStream::V1::ListAssetsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_channels
def list_channels(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Video::LiveStream::V1::ListChannelsResponse
Baseline implementation for the list_channels REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::ListChannelsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Video::LiveStream::V1::ListChannelsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Video::LiveStream::V1::ListChannelsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_clips
def list_clips(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Video::LiveStream::V1::ListClipsResponse
Baseline implementation for the list_clips REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::ListClipsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Video::LiveStream::V1::ListClipsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Video::LiveStream::V1::ListClipsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_events
def list_events(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Video::LiveStream::V1::ListEventsResponse
Baseline implementation for the list_events REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::ListEventsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Video::LiveStream::V1::ListEventsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Video::LiveStream::V1::ListEventsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_inputs
def list_inputs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Video::LiveStream::V1::ListInputsResponse
Baseline implementation for the list_inputs REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::ListInputsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Video::LiveStream::V1::ListInputsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Video::LiveStream::V1::ListInputsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#start_channel
def start_channel(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the start_channel REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::StartChannelRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#stop_channel
def stop_channel(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the stop_channel REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::StopChannelRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_channel
def update_channel(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_channel REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::UpdateChannelRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_input
def update_input(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_input REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::UpdateInputRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_pool
def update_pool(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_pool REST call
- request_pb (::Google::Cloud::Video::LiveStream::V1::UpdatePoolRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)