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_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_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_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_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)
#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_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)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#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_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)
#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)
#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)